Re: [gdal-dev] FID in a vrt

2012-04-24 Thread Even Rouault
Selon William Kyngesburye : > As I worked on a test case and fiddled around with a few other ideas, I think > I found the error of my ways. > > The computer I was doing the conversion from vrt to PostGIS has GDAL 1.8. In > my test case, GDAL 1.9 correctly preserves the FIDs. Was -preserve_fid >

Re: [gdal-dev] FID in a vrt

2012-04-23 Thread William Kyngesburye
As I worked on a test case and fiddled around with a few other ideas, I think I found the error of my ways. The computer I was doing the conversion from vrt to PostGIS has GDAL 1.8. In my test case, GDAL 1.9 correctly preserves the FIDs. Was -preserve_fid broken in 1.8? I see the option list

Re: [gdal-dev] FID in a vrt

2012-04-23 Thread Frank Warmerdam
William, The correct formlation appears to be: Fieldname There are a few examples in: autotest/ogr/data/vrt_test.vrt Given that you already seem to have tried this I don't know why it isn't working. If you can construct a simple case and file a ticket it could perhaps be investigated. Be

Re: [gdal-dev] FID in a vrt

2012-04-23 Thread William Kyngesburye
Any ideas on how I can get this to work? Or is it a limitation of the source csv format? On Apr 17, 2012, at 12:47 PM, William Kyngesburye wrote: > I'm having trouble getting the FID option to work in a vrt. The help is not > clear on how to do this. I've tried > > feature_id > > and > >

[gdal-dev] FID in a vrt

2012-04-17 Thread William Kyngesburye
I'm having trouble getting the FID option to work in a vrt. The help is not clear on how to do this. I've tried feature_id and but ogrinfo will not show the FID column info. - William Kyngesburye http://www.kyngchaos.com/ "We are at war with them. Neither in hatred nor revenge and wi