[mapserver-users] mapserver user can not make the point layer show ,
李杨
gisyangli at gmail.com
Wed Aug 29 11:00:27 PDT 2012
I have a question.
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.
for example :
my mapfile is like this:
-------------------------------------------
MAP
NAME places
STATUS ON
SIZE 800 800
EXTENT -8013001.590032 5036601.758317 -7907306.249345 5178361.105787
#EXTENT -8006189.467511 5068117.258598 -7920667.499041 5175889.025208
UNITS METERS
IMAGECOLOR 100 100 100
WEB
IMAGEPATH "/var/www/output/"
IMAGEURL "/output/"
END
PROJECTION
"init=epsg:3857"
END
LAYER
STATUS ON
TYPE POINT
CONNECTIONTYPE postgis
CONNECTION "host=localhost dbname=osm user=osm password=osm port=5432"
NAME "places0"
DATA "geometry from osm_new_places using unique osm_id using SRID=3857"
CLASS
COLOR 100 255 80
END
END
LAYER
STATUS on
TYPE Line
CONNECTIONTYPE postgis
CONNECTION "host=localhost dbname=osm user=osm password=osm port=5432"
NAME "railways"
DATA "geometry from osm_new_railways using unique osm_id using SRID=3857"
CLASS
COLOR 255 100 80
-------------------------------------------
railways can show but the places0 not show.
--
Yang Li
GIS Developer
P.R.China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120830/d0d5abbf/attachment.htm>
More information about the MapServer-users
mailing list