[mapserver-users] Layer Vector Hatching MS5.2

Jeff McKenna jmckenna at gatewaygeomatics.com
Fri Jul 18 11:56:21 PDT 2008


On 18-Jul-08, at 2:31 PM, Nolte, Tim wrote:

> Just upgraded to MapServer 5.2.0 yesterday. One problem that cropped  
> up
> is that I now no longer get any type of cross hatching of layers. I  
> had
> the following setup in MS5.0:
>
> symbols.sym:
>
> 	SYMBOL
> 		NAME "double-hatch"
> 		TYPE vector
> 		POINTS
> 			0 0
> 			1 0
> 			1 1
> 		END
> 	END
>
>
> default.map:
>
>  LAYER
>    GROUP "Coverage"
>    NAME "Sprint EVDO Coverage"
>    TYPE POLYGON
>    STATUS OFF
>    DATA "contours/Sprint_EVDO_region"
>    METADATA
>      "static_legend" "1"
>    END
>    # --------------------------------------------------
>    # Class: Sprint EVDO Coverage
>    # --------------------------------------------------
>    CLASS
>      NAME "Sprint EVDO Coverage"
>      STYLE
>        SYMBOL "double-hatch"
>        COLOR 240 204 0
> 	  ANGLE 45
>      END
>    END
>  END
>
>
> What has changed in layer CLASS->STYLE that has broken my layer style?
>

I think you're missing a SIZE parameter (the distance between the  
hatched lines) in your STYLE object.

---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/






More information about the MapServer-users mailing list