How To access Object (Feature) ID in a template file?

Timkin mizerkin at WIRZ-KOELN.DE
Wed Mar 15 09:11:47 PST 2006


Hi!
I'm trying to make it possible to access Object ID values of the features of
a shape file in a template file placing it between square brackets (which is
the only way for me to identify objects). It seems that it's not as simple
as with the other feature fields. Apparently, ArcMap application, which I
use to convert a database table into a shape file, renames the ID-field or
applies a protection level to it, so the information cannot be retrieved. 
The ID-column name in the database is OBJECTID. If I try to import the
shapefile into ArcMap after the conversion, this field has a new name (FID
as it can be seen in the infobox of a feature), however, MapServer can't
retrieve values using any of these names.
As far as ArcMap is concerned, it doesn't seem to have any problems with
accessing it, so I assume that the issue can be solved.
Could enyone help me out with it?
Thanks in advance!
Dmitri
--
View this message in context: http://www.nabble.com/How-To-access-Object-%28Feature%29-ID-in-a-template-file--t1285887.html#a3419740
Sent from the Mapserver - User forum at Nabble.com.



More information about the MapServer-users mailing list