Re: [gdal-dev] MSSQL Spatial and 3D issue

2012-06-11 Thread ngarel
Hi Tamas, How is the progress going on that issue? Please let me know. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-MSSQL-Spatial-and-3D-issue-tp4892552p4980634.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

Re: [gdal-dev] Accuracy of OGRLayer:SetSpatialFilter() API

2012-06-11 Thread Frank Warmerdam
On Mon, Jun 11, 2012 at 4:48 PM, kedardeshpande87 wrote: > > Frank Warmerdam wrote >> >> There is no externally defined ordering, though the implementation in >> each driver will presumably have some implicit ordering. >> > I am reading a TIGER shapefile provided by US Census Bureau: > ... > ogr.R

Re: [gdal-dev] Accuracy of OGRLayer:SetSpatialFilter() API

2012-06-11 Thread kedardeshpande87
Frank Warmerdam wrote > > There is no externally defined ordering, though the implementation in > each driver will presumably have some implicit ordering. > I am reading a TIGER shapefile provided by US Census Bureau: ... ogr.RegisterAll(); DataSource ds = ogr.open("path/to/shapefil"); if(ds ==

Re: [gdal-dev] Accuracy of OGRLayer:SetSpatialFilter() API

2012-06-11 Thread Frank Warmerdam
On Fri, Jun 8, 2012 at 3:28 PM, Kedar Deshpande wrote: > Thanks Frank, > > Even if it returns the multiple feature, is there a specific order in which > the features get retrieved on calling layer->GetNextFeature() ? > For example, if the given spatial filter matched 4 features, when we iterate >

Re: [gdal-dev] [NEW] Multi-threaded warping

2012-06-11 Thread Even Rouault
Le lundi 11 juin 2012 00:22:36, Etienne Tourigny a écrit : > Even - good stuff! > > Can you comment on the usage of openmp for multi-threading? Is the > multi-threading in gdal entirely based on pthreads (in linux)? Yes, using the mutex, condition and thread API in cpl_multiproc.h that mimics p

Re: [gdal-dev] Gdal pdf driver and ogr_datasource with automatic -spat

2012-06-11 Thread Even Rouault
Le lundi 11 juin 2012 14:47:32, Jukka Rahkonen a écrit : > Hi, > > Could it be possible to make GDAL PDF driver > (http://gdal.org/frmt_pdf.html) to apply automatically -spat filter for > the OGR_DATASOURCE layers which are to be drawn on top of raster layers? > The values for the filter could be

Re: [gdal-dev] Using Java bindings of GDAL library : UnsatisfiedLinkError

2012-06-11 Thread Even Rouault
> /rhel5pdi/home/kdeshpan/gdal_java/swig/java/libogrjni.so: wrong ELF class: > ELFCLASS64 (Possible cause: architecture word width mismatch) That's pretty informative, isn't it ? Sounds like you are mixing a 64bit Java with a 32bit GDAL build, or the reverse _

Re: [gdal-dev] Accuracy of OGRLayer:SetSpatialFilter() API

2012-06-11 Thread Kedar Deshpande
Is there a specific order in which the features get retrieved on calling layer->GetNextFeature() ? For example, if the given spatial filter matched 4 features, when we iterate over the feature in a loop by calling layer->GetNextFeature() , is there a predefined order in which these feature are ret

Re: [gdal-dev] Using Java bindings of GDAL library : UnsatisfiedLinkError

2012-06-11 Thread Kedar Deshpande
I am still getting the same exception. Even export env variable is not working. The entire exception I am getting is : kdeshpan.desktop% java -classpath `pwd`/gdal.jar:`pwd`:`pwd`/apps apps/TestClass Native library load failed. java.lang.UnsatisfiedLinkError: /rhel5pdi/home/kdeshpan/gdal_java/swig

[gdal-dev] gdalwarp incomplete output with geostationary satellite projection

2012-06-11 Thread Marcel Derrien
Hi all, I am using gdalwarp (1.9.0, Linux x86_64) to reproject data from Plate carre projection to the target Geostationary Satellite projection (proj.4 definition) in an image defined by its georeferenced extent and resolution (target georeferenced units, metres). The output image is as exp

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-11 Thread Etienne Tourigny
On Mon, Jun 11, 2012 at 11:27 AM, Rutger wrote: > Hey, > > I installed the latest OSGeo4W version (as mentioned in the quickstart at > the website: http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe). > During installation i unchecked every package except GDAL. The OSGeo4W shell > mentions "GDAL

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-11 Thread Rutger
Hey, I installed the latest OSGeo4W version (as mentioned in the quickstart at the website: http://download.osgeo.org/osgeo4w/osgeo4w-setup.exe). During installation i unchecked every package except GDAL. The OSGeo4W shell mentions "GDAL 1.9.1, released 2012/05/16" as the version. I should have

[gdal-dev] Gdal pdf driver and ogr_datasource with automatic -spat

2012-06-11 Thread Jukka Rahkonen
Hi, Could it be possible to make GDAL PDF driver (http://gdal.org/frmt_pdf.html) to apply automatically -spat filter for the OGR_DATASOURCE layers which are to be drawn on top of raster layers? The values for the filter could be captured from the raster layer extents. Now by default all the feat

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-11 Thread Etienne Tourigny
On Mon, Jun 11, 2012 at 4:54 AM, Rutger wrote: > Hey Etienne, > > Thanks alot for the suggestions, here's are my results: > > I made a minimal install of osgeo4w and tried to run the earlier script, it > results in the same error. I didnt notice anything different. > > I have tried it with the att

Re: [gdal-dev] how to store a shapefile afterobtaining from intersection of two different shapeFiles

2012-06-11 Thread Chaitanya kumar CH
Siva, Please go through the OGR Architecture tutorial and the OGR API pages. http://www.gdal.org/ogr/ogr_arch.html http://www.gdal.org/ogr/ogr_apitut.html On Mon, Jun 11, 2012 at 1:54 PM, SIVA RAMA KRISHNA wrote: > DEAR Chaitanya, > > HOW TO CREATE A SHAPEFILE USING POGEOMETRY OBJECT > > > > >

Re: [gdal-dev] Reading a NetCDF file with python (not recognised as a supported dataset name

2012-06-11 Thread Rutger
Hey Etienne, Thanks alot for the suggestions, here's are my results: I made a minimal install of osgeo4w and tried to run the earlier script, it results in the same error. I didnt notice anything different. I have tried it with the attached file, which also results in the same error. Creating

[gdal-dev] How to Get metadata of HDF5 Cosmo-Skymed file ?

2012-06-11 Thread 劳小敏
Hi,all I am working on visual studio 2010 in C# using gdal dotnet dll. I have a problem to read the metadata of hdf5 file of Cosmo-skymed. I want to get some metadata item from the hdf5 dataset, the method like "GetMetadataItem(string pszName, string pszDomainName)", when I work as "G