[mapserver-users] MapServer v. 4.10.0 featureid problem

Brian Mixon mixon at waterstoneinc.com
Thu Apr 17 10:06:41 PDT 2008


No problem. We are using shapefiles and have tried both gml_featureid
'fid' and gml_featureid 'FID' in the metadata for the layer in the map
file. We still get the <!--  WARNING: FeatureId
> item 'fid' not found in typename 'senate_districts'.   --> or <!--
WARNING: FeatureId
> item 'FID' not found in typename 'senate_districts'.   -->

I'm not sure if that gml_featureid metadata tag is really necessary
anyway. I think it is a fix for an earlier bug???

Thanks,
Brian

-----Original Message-----
From: Stephen Woodbridge [mailto:woodbri at swoodbridge.com] 
Sent: Thursday, April 17, 2008 11:53 AM
To: Brian Mixon
Cc: Kralidis,Tom [Burlington]; mapserver-users at lists.osgeo.org; Brenton
Wonders; Russell Huff
Subject: Re: [mapserver-users] MapServer v. 4.10.0 featureid problem

Sorry to repeat the question, but does fid exist in your data?
or is it really FID, mapserver is case sensitive and if you are using
shapefiles if is probably FID but if you are using postGIS is would
likely be fid.

-Steve W

Brian Mixon wrote:
> Hi Tom,
> 
> Yes, it does. It's an Arc field that is present in all our data.
> 
> Thanks,
> Brian
> 
> -----Original Message-----
> From: Kralidis,Tom [Burlington] [mailto:Tom.Kralidis at ec.gc.ca]
> Sent: Thursday, April 17, 2008 10:11 AM
> To: Brian Mixon; mapserver-users at lists.osgeo.org
> Cc: Brenton Wonders; Russell Huff
> Subject: RE: [mapserver-users] MapServer v. 4.10.0 featureid problem
> 
>  
> Does the column/field "fid" exist in your data?
> 
> ..Tom
> 
> 
> 
> ________________________________
> 
> 	From: mapserver-users-bounces at lists.osgeo.org
> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Brian 
> Mixon
> 	Sent: 17 April, 2008 11:51 AM
> 	To: mapserver-users at lists.osgeo.org
> 	Cc: Brenton Wonders; Russell Huff
> 	Subject: [mapserver-users] MapServer v. 4.10.0 featureid problem
> 	
> 	
> 	Hello,
> 	 
> 	I'm a MapServer newbie and am having trouble with a WFS v. 1.0.0

> request. I'm trying to have all the features for a particular layer 
> returned (which happens successfully) with the fid (feature id) 
> included as well (does not happen). I've included the gml_featureid 
> 'fid' tag in the layer's metadata section of the mapfile but only
receive the
> following warning the the xml/gml response:    <!--  WARNING:
FeatureId
> item 'fid' not found in typename 'senate_districts'.   -->
> 	 
> 	I've searched and read the various tickets that claim this
problem is 
> fixed so I'm wondering what I'm doing wrong?
> 	 
> 	Any information to point me in the right direction would be
greatly 
> appreciated.
> 	 
> 	Regards,
> 	Brian Mixon
> 
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users






More information about the MapServer-users mailing list