[mapserver-users] msAddLabel(): General error message. msAddLabel error: missing style definition

Jeff McKenna jmckenna at gatewaygeomatics.com
Wed Feb 13 11:00:55 PST 2013


On 13-02-13 2:40 PM, Hishan Melanga wrote:
> I am a complete newbie to map server. Currently I am trying to
> generate a map by looking at this article.
> https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#wiki-map-gen
> in there in the 10th step I have to use "shp2img -m osm-google.map -o
> output.png -map_debug 3" command. After that it shows the following
> error and stops working.
> 
> msDrawMap(): Layer 70 (borders11), 0.000s
> msAddLabel(): General error message. msAddLabel error: missing style definition
> for layer 'places11'
> msDrawMap(): Image handling error. Failed to draw layer named 'places11'.
> msDrawMap(): Image handling error. Failed to draw layer named 'places11'. <br>
> msAddLabel(): General error message. msAddLabel error: missing style definition
> for layer 'places11' <br>
> 
> Please help me to find some answer to this problem.

Hmmm I am not sure.  Maybe verify that you installed the latest MS4W
version (see the first 3 bullets at
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#wiki-ms4w).

-jeff



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



More information about the MapServer-users mailing list