[mapserver-users] Shapefile with first FID = 0 not showing..

Michelle Douvil mrdouville at shaw.ca
Mon Jul 20 13:35:48 EDT 2009


Hi Jeff, thanks for the quick reply.. I haven't tried the shp2img..
My tests are through WMS only..




Jeff McKenna wrote:
> 
> 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/
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: http://n2.nabble.com/Shapefile-with-first-FID-%3D-0-not-showing..-tp3289974p3290374.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


More information about the mapserver-users mailing list