[mapserver-users] RE Inconsistance between display and data

Brent Fraser bfraser at geoanalytic.com
Wed Feb 17 07:22:31 PST 2016


Jean,

    I see that Jeff has given some good debugging techniques.  A method 
I've used is to make an Identify Template showing the "COUCHE"  
attribute value and any unique id value then doing an Identify on the 
feature (the value shown may give some insight into why it is being 
rendered as a railway).   Another method is to use an output format of 
GML and output the area using shp2img then examine the output values.

Best Regards,
Brent Fraser

On 2/17/2016 3:40 AM, Jean Somers wrote:
> The classification of the polyline base map data depends on the LAYER 
> field, and for the concerned department ( french county data, this 
> field has no FER attribute (FER  french equivalent for RAIL).
>
> I'm just mailing you the corresponding  Layer of the Mapfile:
>
> LAYER
> TILEINDEX "./******/generic/index/_polyline_idx"
> TILEITEM "LOCATION"
> METADATA
> INCLUDE './*******/basemap_cache.cfg'
> "GI_DO_NOT_CONSULT""1"
> END
> PROJECTION
>  "init=epsg:2154"
> END
> PROCESSING 'CLOSE_CONNECTION=DEFER'
> NAME "@@FDP/generic/Lineaires"
> SIZEUNITS PIXELS
> STATUS ON
> TOLERANCEUNITS PIXELS
> TYPE LINE
> UNITS METERS
> CLASSITEM "COUCHE"

> CLASS
> MAXSCALEDENOM 49000
> NAME "Voies ferrées"
> EXPRESSION "FER"
> STYLE
> ANTIALIAS TRUE
> COLOR 102 102 102
> WIDTH 4
> SYMBOL 0
> END
> STYLE
> ANTIALIAS TRUE
> COLOR 240 240 240
> SIZE 2
> SYMBOL 'rectangle-railway'
> WIDTH 1
> END
> END
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160217/5228f997/attachment-0001.html>


More information about the mapserver-users mailing list