<br><font size=2 face="sans-serif">SOLVEd, just found this</font>
<br><font size=2 face="sans-serif">https://github.com/mapserver/basemaps/issues/9</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Steve.Toutant@inspq.qc.ca@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2014-02-20 09:11</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[mapserver-users] OSM mapfile</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
I imported osm to postgis using osm2pgsql and created the mapfile using
this procedure.</font><font size=3> </font><font size=2 face="sans-serif"><br>
https://github.com/mapserver/mapserver/wiki/RenderingOsmDataWindows#wiki-map-gen</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
I have problem loading placesX layers, I get this error:</font><font size=3>
</font><font size=2 face="sans-serif"><br>
[Thu Feb 20 08:59:32 2014].216997 msAddLabel(): General error message.
msAddLabel error: missing style definition for layer 'places5'</font><font size=3>
</font><font size=2 face="sans-serif"><br>
[Thu Feb 20 08:59:32 2014].217065 msDrawMap(): Image handling error. Failed
to draw layer named 'places5'.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
I know that the mapfile generated is for mapserver 6.4 and I'm using 6.1-dev.
<br>
But the LABEL tags used in the mapfile are valid for mapserv 6.1.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
LAYER</font><font size=3> </font><font size=2 face="sans-serif"><br>
...</font><font size=3> </font><font size=2 face="sans-serif"><br>
LABELITEM 'name'</font><font size=3> </font><font size=2 face="sans-serif"><br>
CLASSITEM 'type'</font><font size=3> </font><font size=2 face="sans-serif"><br>
CLASS</font><font size=3> </font><font size=2 face="sans-serif"><br>
EXPRESSION 'country'</font><font size=3> </font><font size=2 face="sans-serif"><br>
LABEL</font><font size=3> </font><font size=2 face="sans-serif"><br>
FONT scb</font><font size=3> </font><font size=2 face="sans-serif"><br>
TYPE TRUETYPE</font><font size=3> </font><font size=2 face="sans-serif"><br>
ENCODING "utf-8"</font><font size=3> </font><font size=2 face="sans-serif"><br>
SIZE 8</font><font size=3> </font><font size=2 face="sans-serif"><br>
COLOR 100 100 100</font><font size=3> </font><font size=2 face="sans-serif"><br>
OUTLINECOLOR -1 -1 -1</font><font size=3> </font><font size=2 face="sans-serif"><br>
OUTLINEWIDTH 2</font><font size=3> </font><font size=2 face="sans-serif"><br>
WRAP ' '</font><font size=3> </font><font size=2 face="sans-serif"><br>
MAXLENGTH 8</font><font size=3> </font><font size=2 face="sans-serif"><br>
ALIGN CENTER</font><font size=3> </font><font size=2 face="sans-serif"><br>
BUFFER 4</font><font size=3> </font><font size=2 face="sans-serif"><br>
PARTIALS FALSE</font><font size=3> </font><font size=2 face="sans-serif"><br>
POSITION cc</font><font size=3> </font><font size=2 face="sans-serif"><br>
END</font><font size=3> </font><font size=2 face="sans-serif"><br>
END</font><font size=3> </font><font size=2 face="sans-serif"><br>
</font><font size=3> </font><font size=2 face="sans-serif"><br>
Any idea why it doesn't work?</font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
Thanks for your help</font><font size=3> </font><font size=2 face="sans-serif"><br>
steve</font><font size=3> </font><tt><font size=2>_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users</font></tt>
<br>
<br>
<br>