[mapserver-users] Newbie problem: mapfile for wgs84 based on epsg:28992
Fawcett, David (MNIT)
David.Fawcett at state.mn.us
Wed Mar 25 07:12:14 PDT 2015
Have you tried
http://localhost/cgi-bin/mapserv?map=eham.map&mode=map&layer= groenvoorziening
-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of TallDragon
Sent: Wednesday, March 25, 2015 8:53 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Newbie problem: mapfile for wgs84 based on epsg:28992
Sorry, but after weeks of reading and trying solutions, I really need some help. I have a shapefile in RD New Amersfoort. I understand that there are a lot of problems with the conversion, however my mapserver output is empty and stays empty for weeks now.
Can someone please get me in the right direction for this? My map file is MAP
NAME EHAM
IMAGETYPE PNG
EXTENT 4.70774 52.28803 4.80941 52.36267
SIZE 1400 900
SHAPEPATH "/var/maps/eham"
IMAGECOLOR 255 255 255
PROJECTION
"init=epsg:4326"
END
# TRANSPARENT ON
CONFIG "MS_ERRORFILE" "/home/andre/log/mapserv.txt"
LAYER # Groen
NAME groenvoorziening
DATA groen
STATUS ON
TYPE POLYGON
PROJECTION
"init=epsg:28992"
END
METADATA
"wms_srs" "EPSG:28992 EPSG:4326"
END
# PROJECTION
# "proj=sterea"
# "lat_0=52.15616055555555"
# "lon_0=5.38763888888889"
# "k=0.9999079"
# "x_0=155000"
# "y_0=463000"
# "ellps=bessel"
# "units=m"
#
"towgs84=565.2369,50.0087,465.658,-0.406857330322398,0.350732676542563,-1.8703473836068,4.0812"
# "no_defs"
# END
CLASS
NAME GROEN
STYLE
COLOR 232 232 232
OUTLINECOLOR 32 32 32
END
END
END # States polygon layer ends here
END
the call to
http://localhost/cgi-bin/mapserv?map=eham.map&mode=map&layer=groen gives an empty map
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Newbie-problem-mapfile-for-wgs84-based-on-epsg-28992-tp5195384.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list