William, The correct formlation appears to be:
<FID>Fieldname</FID> 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. Best regards, Frank On Mon, Apr 23, 2012 at 9:09 AM, William Kyngesburye <[email protected]> wrote: > 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 >> >> <FID>feature_id</FID> >> >> and >> >> <FID name="feature_id" /> >> >> but ogrinfo will not show the FID column info. >> > > ----- > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com> > http://www.kyngchaos.com/ > > "I ache, therefore I am. Or in my case - I am, therefore I ache." > > - Marvin > > > _______________________________________________ > gdal-dev mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, [email protected] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush | Geospatial Software Developer _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
