[Mapserver-dev] OGR and GetFeatureInfo
Frank Warmerdam
warmerdam at pobox.com
Mon Sep 27 12:54:31 EDT 2004
Ross Elliott wrote:
> Is there an undocumented way of mapserver telling OGR what column to
> use as the FID? This could be quite useful for people like me who are
> accessing a 420m row oracle database and don't want to add the OGR_FIDS column.
Ross,
Whew! Thats a quite a table.
No, there is currently no way to request a particular column be used as
the FID but it wouldn't be hard to add some sort of a hack. The
decision rule currently is implemented circa line 204 of ogrocitablelayer.cpp.
This could easiliy be altered to check for an environment variable or some
other configuration means to indicate a field name.
I would like to spend some time working on the Oracle driver but currently my
partition with Oracle is inaccessable (damn Fedora Core 2 bootloader
screwer-upper).
So, if you are in a position to recompile your binaries from source I could make
a small adjustment to the code for you.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list