[mapserver-users] Shapefile with first FID = 0 not showing..
Jeff McKenna
jmckenna at gatewaygeomatics.com
Mon Jul 20 09:58:00 PDT 2009
Douville, Michelle R ILMB:EX wrote:
> Hello List,
>
> I am currently using Mapserver 5.2 on Windows Server 2003.
>
> (<!-- MapServer version 5.2.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=FASTCGI
> SUPPORTS=THREADS INPUT=JPEG INPUT=SDE INPUT=ORACLESPATIAL INPUT=OGR
> INPUT=GDAL INPUT=SHAPEFILE -->)
>
> We have just observed, that when we publish a shapefile that has two
> features..
>
> With FID = 0 and FID =1, it only displays the feature with FID = 1..
> (for other Shapefiles it is all features greater than 0 only)
>
> For some reason it seems to skip the feature if FID = 0
>
> Has anyone else come across this before?
>
> Is there a work around? (Other than editing the Shapefile),
>
> Many thanks,
>
Hello Michelle,
I have never seen your issue before. Test your mapfile with a shp2img
command - does your problem still occur (in the resulting map image)?
Or are you saying that this only occurs when you consume your mapfile
through a WMS client?
-jeff
--
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the MapServer-users
mailing list