Re: [mapserver-users] Newbie problem: mapfile for wgs84 based on epsg:28992

2015-03-25 Thread Fawcett, David (MNIT)
Have you tried 

http://localhost/cgi-bin/mapserv?map=eham.mapmode=maplayer= groenvoorziening



-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of TallDragon
Sent: Wednesday, March 25, 2015 8:53 AM
To: mapserver-users@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.156160
#  lon_0=5.387639
#  k=0.079
#  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
COLOR232 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.mapmode=maplayer=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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Newbie problem: mapfile for wgs84 based on epsg:28992

2015-03-25 Thread TallDragon
 Yep that works. Staring blind for weeks you miss the simplest thing.

So for the real conversion, can anyone advice what projection I should use,
the simple epsg:28992 or the complex transformation. Seems there is a
standard 100m shift in the epsg:28992





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Newbie-problem-mapfile-for-wgs84-based-on-epsg-28992-tp5195384p5195406.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users