This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

other Projection in OpenLayers

1
3

Hi. I want to show an WMS Server in Openlayers, that only understands Gauss-Krueger (EPSG:31467). But i want to show OSM as well. so i have make an example with OSM in EPSG:31467 : http://josias.polchau.de/maps/index.html

but it doesn't work: The map section should show Hamburg.

the GK-Coordinate (3573999;5940000) is in WGS84: (10.1162776;53.586219) but if i go to the area of hamburg the map above shows the GK-coordinate (7097619;1114867). That is wrong.

asked 07 Mar '11, 15:29

josias's gravatar image

josias
59871523
accept rate: 33%

edited 07 Mar '11, 21:17

The answer was a missing pro4js-lib

(12 Jul '11, 11:29) josias

2 Answers:

3

This sounds like a question for OpenLayers not OpenStreetMap.

answered 11 Nov '11, 21:22

ChrisH's gravatar image

ChrisH
4.1k134262
accept rate: 15%

0

This sounds like something MapProxy may be able to fix.

answered 07 Mar '11, 19:19

Baloo%20Uriza's gravatar image

Baloo Uriza
3.2k143061
accept rate: 9%

hm i don't think so. i think the error is at the OSM-layer.

(07 Mar '11, 21:09) josias

MapProxy can re-project imagery garnered from other sources, hence the suggestion.

(07 Mar '11, 21:10) Baloo Uriza

Source code available on GitHub .