[gdal-dev] Re: Is it possible to convert shapefile from PointZ to Point?

2010-10-12 Thread Jukka Rahkonen
Stephen Woodbridge swoodbridge.com> writes: > > Hi all, > > Is it possible to convert shapefile from type PointZ to Point using > ogr2ogr? and how? Have you tried with -lco SHPT=POINT? See http://gdal.org/ogr/drv_shapefile.html -Jukka Rahkonen- __

[gdal-dev] Is it possible to convert shapefile from PointZ to Point?

2010-10-12 Thread Stephen Woodbridge
Hi all, Is it possible to convert shapefile from type PointZ to Point using ogr2ogr? and how? I can't use shp2pgsql to load the file because it is attempting to free an invalid pointer for some reason (which I will report to that list). The file has already be reprojected using ogr2ogr and w

Re: [gdal-dev] Geomedia mdb files

2010-10-12 Thread Frank Warmerdam
Moskovitz, Bob wrote: Frank, I'm also interested in seeing a Geomedia driver for gdal. Btw, gvSIG has a Geomedia plugin (see https://code.google.com/p/extmdb ). This might help you figure out how to make a driver for gdal. Bob, Interesting. Using the extmdb MDBGeometryAdapter.java code it

RE: [gdal-dev] Geomedia mdb files

2010-10-12 Thread Moskovitz, Bob
Frank, I'm also interested in seeing a Geomedia driver for gdal. Btw, gvSIG has a Geomedia plugin (see https://code.google.com/p/extmdb ). This might help you figure out how to make a driver for gdal. Bob Moskovitz Seismic Hazards Mapping Program California Geological Survey -Original M

Re: [gdal-dev] kmlsuperoverlay nodata support

2010-10-12 Thread Jamie Adams
The FORMAT=PNG flag worked fine, I just couldn't figure out what -co options were available. I tried "gdalinfo --format KMLSUPEROVERLAY", but it doesn't return much info. Ideally I'd like to have hybrid output, where tiles with transparancy are PNG and the rest are JPG. Newer versions of gdal2ti

Re: [gdal-dev] combine shapefiles?

2010-10-12 Thread Frank Warmerdam
Wendell Turner wrote: Is there a utility that will combine multiple shapefiles into one shapefile? I tried ogr2ogr with several combinations of arguments (overwrite, append, update) but it didn't work. Is there another utility that will will combine them? (mapserver queries don't seem to work

[gdal-dev] combine shapefiles?

2010-10-12 Thread Wendell Turner
Is there a utility that will combine multiple shapefiles into one shapefile? I tried ogr2ogr with several combinations of arguments (overwrite, append, update) but it didn't work. Is there another utility that will will combine them? (mapserver queries don't seem to work right on layers with mul

Re: [gdal-dev] Geomedia mdb files

2010-10-12 Thread Frank Warmerdam
Zoltan Szecsei wrote: Hi, Is there an opensource read/write capability for Geomedia Access MDB files? If not, are there any "work in progress" attempts? I see they are "Standard Jet DBs", but the geometry coordinates seem to be in a BLOB field. zoltan, I am not aware of an open source geomed

Re: [gdal-dev] Efficiency question for using the OGR API

2010-10-12 Thread Frank Warmerdam
Peter J Halls wrote: Dear All, when needing to have multiple output channels open through OGR to the same location, is it generally more efficient to open a new datasource / OGR instance for each channel / output layer, or to open one datasource / Ogr instance and maintain a list of layer

RE: [gdal-dev] kmlsuperoverlay nodata support

2010-10-12 Thread Harsh Govind
What is the command line that you are using? Please try the following and let me know: Gdal_translate.exe -of KMLSUPEROVERLAY c:\my.tif c:\myResult.kmz -co FORMAT=PNG Regards, Harsh Govind From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jamie Adams

[gdal-dev] Efficiency question for using the OGR API

2010-10-12 Thread Peter J Halls
Dear All, when needing to have multiple output channels open through OGR to the same location, is it generally more efficient to open a new datasource / OGR instance for each channel / output layer, or to open one datasource / Ogr instance and maintain a list of layer handles for each of th

Re: [gdal-dev] Sortshp and corrupted output with 3D polygon input

2010-10-12 Thread Frank Warmerdam
Jukka Rahkonen wrote: Hi, I was sorting a shapefile with sortshp (Windows 2003 Server, GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24, from FWTools 2.4.2). ... However, I have a feeling that perhaps it is not 3D Polygon layer but a normal Polygon layer with wrong headers or something. I did

[gdal-dev] Geomedia mdb files

2010-10-12 Thread Zoltan Szecsei
Hi, Is there an opensource read/write capability for Geomedia Access MDB files? If not, are there any "work in progress" attempts? I see they are "Standard Jet DBs", but the geometry coordinates seem to be in a BLOB field. TIA, Zoltan -- === Zoltan Sze

Re: [gdal-dev] import georaster using gdal java api

2010-10-12 Thread Matuszak Marcin
I did not read javadoc with sufficient attention. Calling delete on dataset solve the problem. Thanks. On Tue, 12 Oct 2010 05:53:49 -0500, "Ivan Lucena" wrote: > Hi, > > The is nothing especial in calling the GeoRaster driver's CreateCopy > from C or Java but can you try to use the same > Java c

Re: [gdal-dev] import georaster using gdal java api

2010-10-12 Thread Ivan Lucena
Hi, The is nothing especial in calling the GeoRaster driver's CreateCopy from C or Java but can you try to use the same Java code to CreateCopy other formats, like GTIFF to HFA, for example? Just to see if there is anything missing. Regards, Ivan > ---Original Message--- > From: mm

[gdal-dev] Sortshp and corrupted output with 3D polygon input

2010-10-12 Thread Jukka Rahkonen
Hi, I was sorting a shapefile with sortshp (Windows 2003 Server, GDAL 1.7.0dev, FWTools 2.4.2, released 2009/06/24, from FWTools 2.4.2). Sorting went OK well and it looks like the resulting sorted shapefile works with Mapserver. However, I noticed that the file size of .shp file decreased from 30

[gdal-dev] Re: gdal-dev Digest, Vol 77, Issue 20

2010-10-12 Thread Hannes Reuter
Dear greg, yes i'm aware of this site.. -> thats the reason I'm asking as the link to http://pypi.python.org/pypi/GDAL/ points only to source and not to the executable python binding binaries anymore for anything greater than version 1.6. Are we supposed to install python bindings via easy ins

Re: [gdal-dev] import georaster using gdal java api

2010-10-12 Thread Even Rouault
Selon mmatus...@rootnode.net: I'm not sure if this will solve your problem but according to http://gdal.org/java/org/gdal/gdal/Driver.html#CreateCopy(java.lang.String,%20org.gdal.gdal.Dataset) , you should explicitely call .delete() on the returned dataset to ensure that everything gets properly c

[gdal-dev] import georaster using gdal java api

2010-10-12 Thread mmatuszak
Hi, I am facing problem which I am not able to jump over:) I created georaster table using instruction from oracle website http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14254/geor_operations.htm Using gdal_translate and pl/sql I am able to import geotiff into Oracle. Then using gdal t