[mapserver-users] Projection problems
Milo van der Linden
milo at dogodigi.net
Fri Jan 7 06:22:03 PST 2011
Funny,
Everytime I read "projection problems" on this list I think: Hey, this might
be someone from the Netherlands.
You mean you would really like to have your bedrijventerreinen like this?
http://www.locatiemonitor.nl/LocationDetails2.aspx?lid=1437
(please wait for the bedrijventerreinen wms to appear)
I created the wms service for locatiemonitor and as I can see, we are
"fishing in the same vijver"
Please read my blog post at
http://blog.dogodigi.net/2010/08/19/dutch-coordinate-system-ellipsoid-correction/
And write a small thank you comment if it helped you solve your issue
;-)
Kind regards,
Milo van der Linden
2011/1/7 basvmrs <bas at cipix.nl>
>
> Hi,
>
> I've created a map server in which I try to output data that was entered
> using Google Maps V2 (drawing polygons). I used openlayers to display the
> results over a Bing layer.
>
> There seems to be a problem in the projection, which is best described
> using
> an image and a link:
>
> http://bir.cipixtest.nl/resources/gis/demo.html Demo
> http://osgeo-org.1803224.n2.nabble.com/file/n5898717/forum.png
>
> Notice how the areas seem to 'shift' when zooming in.
>
> My mapfile looks like this:
>
>
> #
> # Start of map file
> #
> MAP
> NAME BIR
> STATUS ON
> SIZE 600 600
> EXTENT 4.4 51.85 4.6 51.95
> UNITS METERS
>
> IMAGETYPE PNG
>
> PROJECTION
> "init=epsg:900913"
> END
>
> TRANSPARENT ON
>
> LAYER
> NAME bedrijventerreinen
> TYPE POLYGON
> STATUS DEFAULT
> CONNECTIONTYPE OGR
> CONNECTION
> "MySQL:bir,host=XXXXX,user=XXXXX,password=XXXXXXX,port=3306"
> DATA "SELECT * from gis_object"
> DUMP TRUE
> CLASS
> NAME 'Bedrijventerreinen'
> STYLE
> OUTLINECOLOR 0 0 0
> COLOR 200 200 200
> END
> END
> TEMPLATE "object.html"
>
> METADATA
> gml_include_items "all"
> WMS_TITLE "Bedrijventerreinen"
> WMS_ABSTRACT "Bedrijventerreinen in de Regio
> Rotterdam; de gebieden zijn
> een benadering en er kunnen geen rechten aan worden ontleend."
> WMS_SRS "EPSG:28992 EPSG:900913 EPSG:4326"
> END
> END
>
> END # Map File
>
> I don't have a clue why this is happening. I hope that someone can explain
> to me why this is happening and how to fix it.
>
> Kind regards,
> Bas
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Projection-problems-tp5898717p5898717.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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110107/8a55b0f0/attachment.htm>
More information about the MapServer-users
mailing list