On 8/2/2010 10:30 AM, geo3d wrote:
Looking for some insight to further troubleshoot my problem;
pulling my parcels shapefile locally does not render my shapefile:
Mapfile
DATA 'parcels'
Projection
init=epsg:2240
END
However, pulling the data directly from postgresql does render; with the
same projection used
NAME 'Parcels'
TYPE POLYGON
CONNECTIONTYPE postgis
CONNECTION "dbname='********' host=***** port=5432 user='***'
password='***' sslmode=prefer"
DATA 'the_geom FROM "parcels" using unique gid using srid=2240'
Can anyone suggest any ideas?
Thanks
Your example is a little small, so its hard to tell. My first guess is
SHAPEPATH is not set.
The mapfile should be like:
MAP
SHAPEPATH '/data/maps/...'
LAYER
NAME 'Parcels'
TYPE POLYGON
-Andy
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users