Just to add my 2 cents on this. I've done this sort of thing in the
past by using gdal_rasterize to set all pixels which are outside the
polygon(s) of interest to nodata. Then I use a very simplistic Python
script to dump all of the pixel values to STDOUT and redirect to a csv
file. It would be p
Thanks, that helped. Actually, it turned out the problem was that the
SR I was using wasn't being recognized. I'm not sure why this caused
the particular error that it did.
Mano Marks
Geo Developer Advocate
http://twitter.com/ManoMarks
On Fri, Oct 23, 2009 at 2:20 PM, Jamie Adams wrote:
> I h
I have it working for KML output like this:
*projection = dataset.GetProjection()*
*in_projection = osr.SpatialReference()
in_projection.ImportFromWkt(projection)*
*
out_projection = osr.SpatialReference()
out_projection.ImportFromEPSG(4326)
coortran = osr.CoordinateTransformation(in_projection,
Developing in Python, I've tried a number of inputs for
TransformPoint, and can't seem to figure out how to get this right.
And web searches reveal several people asking similar questions
without an answer. Anyone?
Here's the error I get:
NotImplementedError: Wrong number of arguments for overloa
Even Rouault wrote:
> Selon Russell McOrmond :
>
> I tried ogr2ogr -f KML with the 2008 data and it works for me.
Thank you!
> fixed since then in GDAL, but I'm not sure if they patched their packages with
> the fix (from a quick review, no they didn't).
I've since found these related bugs.
Selon Russell McOrmond :
I tried ogr2ogr -f KML with the 2008 data and it works for me.
I could not access your bug report in ubuntu launchpad. Blind guess : I'm
wondering if you're not affected by a bug that has affected a few linux distro,
including fedora & ubuntu, because of a compilation opt
I downloaded some ESRI shapefiles from
http://geogratis.cgdi.gc.ca/geogratis/en/option/select.do?id=1169
These are shapefiles which represent the electoral districts of
Canada, for election years 2000, 2004, 2006 and 2008.
What I'm wondering is if someone with better knowledge of shapefile
Selon Harsh Govind :
cpl_minizip_* is just a copy&paste from the corresponding files from the zlib
source package. So you'll probably find ressources/examples on their site. In
GDAL, we use zlib (gzip) compression & uncompression and zip (pkzip)
uncompression, but not zip compression, which is req
I see a Zip/Unzip API in GDAL cpl_minizip_ioapi.h and cpl_minizip_unzip inside
port directory and would like to use it for purpose of creating kmz. Has anyone
used those for zip/unzip? Any example/literature that someone can point me to
would really help.
I would prefer going through the API ra
2009/10/23 Frank Warmerdam [via OSGeo.org]
:
> alfreale wrote:
>> Hi,
>>
>> When I import a HDF file with gdal, I've this error:
>>
>> A dataset opened by GDALOpenShared should have the same filename.
>>
>> -
>>
>> GRASS 6.4.0RC5 (wgs84_lat_long)
Simon Greener wrote:
Frank,
What sort of SQL are you using when you query Oracle and SQL Server?
Simon,
The OGR ODBC driver does not directly use SQL to fetch back the
table list. It issues an ODBC SQLTables command:
SQLTables( m_hStmt,
(SQLCHAR *) pszCatalog, SQL_NTS,
alfreale wrote:
Hi,
When I import a HDF file with gdal, I've this error:
A dataset opened by GDALOpenShared should have the same filename.
-
GRASS 6.4.0RC5 (wgs84_lat_long):~ > i.in.spotvgt -a --overwrite --verbose
file=/media/Archivio_Ester
Hi,
When I import a HDF file with gdal, I've this error:
A dataset opened by GDALOpenShared should have the same filename.
-
GRASS 6.4.0RC5 (wgs84_lat_long):~ > i.in.spotvgt -a --overwrite --verbose
file=/media/Archivio_Esterno/DE_archivio/ca
13 matches
Mail list logo