Re: [gdal-dev] OGR2OGR seem lost the field with primary key . ex [OGR2OGR seem last ...]

2012-01-22 Thread aperi2007
Hi, Even thx for you full explanation . :) It is really useful for me. Andrea. Il 21/01/2012 12:28, Even Rouault ha scritto: Andrea, Several points : 1) in the OGR data model, there is the concept of feature ID. According to http://gdal.org/ogr/ogr_arch.html : The feature id (FID) of a

[gdal-dev] How create a spatial index for shapefiles

2012-01-22 Thread aperi2007
Hi, I'm try-ing to export from spatialite to shapefile using ogr2ogr. it work but I like to procude also the spatial-index file .qix. I don't find any option to do this for shapefile. Is this possible ? Thx, Andrea. ___ gdal-dev mailing list

Re: [gdal-dev] How create a spatial index for shapefiles

2012-01-22 Thread Even Rouault
Le dimanche 22 janvier 2012 11:14:22, aperi2007 a écrit : Hi, I'm try-ing to export from spatialite to shapefile using ogr2ogr. it work but I like to procude also the spatial-index file .qix. I don't find any option to do this for shapefile. Is this possible ? Yes, see the Spatial and

[gdal-dev] Different result from GML with .xsd and .gfs

2012-01-22 Thread Jukka Rahkonen
Hi, I have been doing conversions from Mapinfo files with iso-8859-1 encoding into Spatialite by using GML format as an interim format. I have noticed that in I let ogr2ogr to create .xsd file the conversion of attribute names with non-ascii characterd does not go in a righ way even if I edit

Re: [gdal-dev] How create a spatial index for shapefiles

2012-01-22 Thread Chaitanya kumar CH
The SQL command to create a spatial index can be given through ogrinfo. ogrinfo -sql CREATE SPATIAL INDEX ON file1 [DEPTH N] file1.shp On Sun, Jan 22, 2012 at 3:48 PM, Even Rouault even.roua...@mines-paris.orgwrote: Le dimanche 22 janvier 2012 11:14:22, aperi2007 a écrit : Hi, I'm

Re: [gdal-dev] Different result from GML with .xsd and .gfs

2012-01-22 Thread Even Rouault
Le dimanche 22 janvier 2012 12:03:02, Jukka Rahkonen a écrit : Hi, I have been doing conversions from Mapinfo files with iso-8859-1 encoding into Spatialite by using GML format as an interim format. I have noticed that in I let ogr2ogr to create .xsd file the conversion of attribute names

Re: [gdal-dev] How create a spatial index for shapefiles

2012-01-22 Thread aperi2007
thx for hint. I wrongly try to use the ogr2ogr. :) Andrea. Il 22/01/2012 12:04, Chaitanya kumar CH ha scritto: The SQL command to create a spatial index can be given through ogrinfo. ogrinfo -sqlCREATE SPATIAL INDEX ON file1 [DEPTH N] file1.shp On Sun, Jan 22, 2012 at 3:48 PM, Even

[gdal-dev] Re: Different result from GML with .xsd and .gfs

2012-01-22 Thread Jukka Rahkonen
Even Rouault even.rouault at mines-paris.org writes: ... Yes, this is due to the XML mini parser directly integrated to GDAL that is used to parse the .xsd. It doesn't understand the XML encoding header, so assumes the content to be always utf-8. As suggested by someone in a previous

Re: [gdal-dev] Re: Different result from GML with .xsd and .gfs

2012-01-22 Thread Even Rouault
Perhaps worth mentioning this in the GML driver document? Done. Thanks. I've also filed http://trac.osgeo.org/gdal/ticket/4461 because the current situation isn't really ideal. -Jukka Rahkonen- ___ gdal-dev mailing list

[gdal-dev] Support for VPF (vector product format) files with OGDI

2012-01-22 Thread Billy Newman
I am trying to read VPF files like VMAP0 and having some problems. Far as I can tell the only way to read VPF using gdal is to compile OGDI. I compiled on Redhat EL version 5.6 64 bit, gcc 4.2.x When trying to run ogrinfo (pulled directly from examples). VMAP files are on my local box. ogrinfo

Re: [gdal-dev] Support for VPF (vector product format) files with OGDI

2012-01-22 Thread Martin Spott
Billy Newman wrote: I compiled on Redhat EL version 5.6 64 bit, gcc 4.2.x Last time I tried direct access to VMap0 I reverted back to a 32 bit platform from my 64 bit setup (both Linux Debian). I don't remember the exact reason but your message sounds somewhat familiar. The first thing I did