I have a question. <br><br>I set the mapfile to load postgis data. but I found that the layers of points can not show but lines layer can show. I don 't know why.<br><br>for example :<br><br>my mapfile is like this:<br>
-------------------------------------------<br><pre><div class="line" id="LC1">MAP</div><div class="line" id="LC2">NAME places</div><div class="line" id="LC3">STATUS ON</div><div class="line" id="LC4">SIZE 800 800</div><div class="line" id="LC5">
EXTENT -8013001.590032 5036601.758317 -7907306.249345 5178361.105787</div><div class="line" id="LC6">#EXTENT -8006189.467511 5068117.258598 -7920667.499041 5175889.025208</div><div class="line" id="LC7">UNITS METERS</div>
<div class="line" id="LC8">IMAGECOLOR 100 100 100</div><div class="line" id="LC9"> </div><div class="line" id="LC10">WEB</div><div class="line" id="LC11">IMAGEPATH "/var/www/output/"</div><div class="line" id="LC12">
IMAGEURL "/output/"</div><div class="line" id="LC13">END</div><div class="line" id="LC14"> </div><div class="line" id="LC15"><br></div><div class="line" id="LC16">PROJECTION</div><div class="line" id="LC17"> "init=epsg:3857"</div>
<div class="line" id="LC18">END</div><div class="line" id="LC19"><br></div><div class="line" id="LC20">LAYER</div><div class="line" id="LC21"> STATUS ON</div><div class="line" id="LC22"> TYPE POINT</div><div class="line" id="LC23">
CONNECTIONTYPE postgis</div><div class="line" id="LC24"> CONNECTION "host=localhost dbname=osm user=osm password=osm port=5432"</div><div class="line" id="LC25"> NAME "places0"</div><div class="line" id="LC26">
DATA "geometry from osm_new_places using unique osm_id using SRID=3857"</div><div class="line" id="LC27"> CLASS</div><div class="line" id="LC28"> COLOR 100 255 80</div><div class="line" id="LC29"> END</div><div class="line" id="LC30">
END</div><div class="line" id="LC31"><br></div><div class="line" id="LC32">LAYER</div><div class="line" id="LC33"> STATUS on</div><div class="line" id="LC34"> TYPE Line</div><div class="line" id="LC35"> CONNECTIONTYPE postgis</div>
<div class="line" id="LC36"> CONNECTION "host=localhost dbname=osm user=osm password=osm port=5432"</div><div class="line" id="LC37"> NAME "railways"</div><div class="line" id="LC38"> DATA "geometry from osm_new_railways using unique osm_id using SRID=3857"</div>
<div class="line" id="LC39"> CLASS</div><div class="line" id="LC40"> COLOR 255 100 80</div></pre>-------------------------------------------<br><pre>railways can show but the places0 not show. </pre>
<br><br clear="all"><br>-- <br><div style="text-align:left"><span style="text-align:-webkit-auto">Yang Li</span><div>GIS Developer</div><div>P.R.China</div><div><br></div></div><br>