I imported osm to postgis using osm2pgsql and created the mapfile using this procedure. https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#wiki-map-gen
I have problem loading placesX layers, I get this error: [Thu Feb 20 08:59:32 2014].216997 msAddLabel(): General error message. msAddLabel error: missing style definition for layer 'places5' [Thu Feb 20 08:59:32 2014].217065 msDrawMap(): Image handling error. Failed to draw layer named 'places5'. I know that the mapfile generated is for mapserver 6.4 and I'm using 6.1-dev. But the LABEL tags used in the mapfile are valid for mapserv 6.1. LAYER ... LABELITEM 'name' CLASSITEM 'type' CLASS EXPRESSION 'country' LABEL FONT scb TYPE TRUETYPE ENCODING "utf-8" SIZE 8 COLOR 100 100 100 OUTLINECOLOR -1 -1 -1 OUTLINEWIDTH 2 WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION cc END END Any idea why it doesn't work? Thanks for your help steve
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users