[gdal-dev] gdal_contour failes after creating 4gig+ file

2014-04-28 Thread Reaves, Timothy
I am attempting to import contour information into a PostGIS-enabled database. I am trying to follow the information on this site: http://wiki.openstreetmap.org/wiki/Contours#Importing_the_SRTM3_data_.28deprecated.29 and am using the script. The page states that srtm_generate_hdr.sh is no longer ne

[gdal-dev] Experimental git branch for OGR unification

2014-04-28 Thread Even Rouault
Hi, Just to make you aware of the existence of my experimental branch for OGR unification with GDAL + other bonus that will go with it : https://github.com/rouault/gdal2/commits/unification Still some(a lot?) of work to be done... but if some of you are curious and want to review, etc... This

Re: [gdal-dev] shapefile enhancements

2014-04-28 Thread Even Rouault
Le lundi 28 avril 2014 23:39:34, Jan Heckman a écrit : > Hi, > > I've used and maintained an offshoot shapefile library (thanks, Frank), and > added bits of functionality when needed. There are two that I think might > be of wider interest. > > 1) possibility to have shapefiles up to 8 GB (instea

[gdal-dev] shapefile enhancements

2014-04-28 Thread Jan Heckman
Hi, I've used and maintained an offshoot shapefile library (thanks, Frank), and added bits of functionality when needed. There are two that I think might be of wider interest. 1) possibility to have shapefiles up to 8 GB (instead of 4 GB in ogr or 2 GB elsewhere); 2) implementing deletes. ad 1) t

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-28 Thread Joaquim Luis
On 28-04-2014 19:50, Even Rouault wrote: Le lundi 28 avril 2014 20:40:05, Joaquim Luis a écrit : Even, I don't need it badly but it would be nice to have, so I will try to see how far I'll be able to reach. But do you mention the HDF4 lib? The issue happened with netCDF. Did you mean HDF5? Ah

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-28 Thread Even Rouault
Le lundi 28 avril 2014 20:40:05, Joaquim Luis a écrit : > Even, > > I don't need it badly but it would be nice to have, so I will try to see > how far I'll be able to reach. > But do you mention the HDF4 lib? The issue happened with netCDF. Did you > mean HDF5? Ah sorry I got confused with anothe

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-28 Thread Joaquim Luis
Even, I don't need it badly but it would be nice to have, so I will try to see how far I'll be able to reach. But do you mention the HDF4 lib? The issue happened with netCDF. Did you mean HDF5? Le lundi 28 avril 2014 15:34:02, Joaquim Luis a écrit : Thanks for the remainder Etienne, ... but

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-28 Thread Even Rouault
Le lundi 28 avril 2014 15:34:02, Joaquim Luis a écrit : > Thanks for the remainder Etienne, ... but the "Linux only" is a killing > feature for me. Well, if you really badly need it and are ready to do some development effort, you could still edit the HDF4 sources and basically add some #ifdef's

Re: [gdal-dev] postgis to esri shape slow

2014-04-28 Thread Even Rouault
Le lundi 28 avril 2014 16:47:49, Mario Jurcevic a écrit : > Hi, > I try to export postgis tables ( 200 ) to shape; It seems ogr2ogr is > much more slow than "pgsql2shp" from postgis. > > ogr2ogr: about 15 minutes > pgsql2shp: about 2 minutes > > Any known reason for that? Interesting. I don't ha

Re: [gdal-dev] Undefined reference with GDAL and netCDF support

2014-04-28 Thread Even Rouault
Le lundi 28 avril 2014 17:33:04, henry wasker a écrit : > Hello, > > I try to use a simple test program which must use GDAL and netcdf support. > This test is for constraints and specifications. Here's this code > (main.cpp) > > #include "gdal_priv.h" > #include "netcdfdataset.h" > > using names

Re: [gdal-dev] Boundary issues

2014-04-28 Thread Jukka Rahkonen
Tan Hao Feng hsr.ch> writes: > Dear GDAL developers, > > I'm trying to display the boundary out from QGIS from the following steps. > > Add Vector Layer. > Select Protocol and > insert the URL with Type as GeoJSON and select Open. > > > > The URL is  http://tools.wmflabs.org/wiwosm/osmjso

[gdal-dev] Undefined reference with GDAL and netCDF support

2014-04-28 Thread henry wasker
Hello, I try to use a simple test program which must use GDAL and netcdf support. This test is for constraints and specifications. Here's this code (main.cpp) #include "gdal_priv.h" #include "netcdfdataset.h" using namespace std; int main() { netCDFDataset child; } For this, I have built

[gdal-dev] Boundary issues

2014-04-28 Thread Tan Hao Feng
Dear GDAL developers, I'm trying to display the boundary out from QGIS from the following steps. Add Vector Layer. Select Protocol and insert the URL with Type as GeoJSON and select Open. The URL is http://tools.wmflabs.org/wiwosm/osmjson/getGeoJSON.php?lang=en&article=Singapore which has bot

[gdal-dev] postgis to esri shape slow

2014-04-28 Thread Mario Jurcevic
Hi, I try to export postgis tables ( 200 ) to shape; It seems ogr2ogr is much more slow than "pgsql2shp" from postgis. ogr2ogr: about 15 minutes pgsql2shp: about 2 minutes Any known reason for that? Thanks for any suggestion. -- Mario Jurcevic ___

Re: [gdal-dev] accessing netCDF files with /vsicurl fails

2014-04-28 Thread Joaquim Luis
Thanks for the remainder Etienne, ... but the "Linux only" is a killing feature for me. Joaquim Even is right - it never worked with the netcdf driver. But - it works if you use the vsipreload mechanism e.g. http://lists.osgeo.org/pipermail/gdal-dev/2013-May/036359.html On Sun, Apr 27, 201

Re: [gdal-dev] HDF4 python add band

2014-04-28 Thread Even Rouault
Luca, > > Ok, so I could create a MEM dataset and fill it and at the end of my > process CreateCopy() to a new HDF4Image. (I'm merging several HDF in > one) Hum, no. There's actually no specialized implementation of CreateCopy() in the HDF4Image driver, so the generic CreateCopy() implementation