[Mapserver-dev] OGR and GetFeatureInfo
Ross Elliott
ross.elliott at infoterra-global.com
Tue Sep 28 03:05:20 EDT 2004
Thanks for the offer. I'd be more than willing to re-compile from source :-)
Ross
-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam at pobox.com]
Sent: 27 September 2004 17:55
To: Ross Elliott
Cc: 'Mapserver-Dev (E-mail)
Subject: Re: [Mapserver-dev] OGR and GetFeatureInfo
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
The information in this e-mail and any attachment is confidential and may be privileged. If you have received this e-mail in error, please delete it immediately and destroy any copies on your system. You should not retain, copy or use this e-mail for any purpose, nor disclose all or any part of its content to any other person.
Opinions expressed in this e-mail may not be endorsed by the company and unless explicitly indicated, this e-mail shall not form part of any binding agreement.
More information about the mapserver-dev
mailing list