This project has moved and is read-only. For the latest updates, please go here.

WMS-Layer with SRID=25832 will not display data

Topics: SharpMap Project, SharpMap v0.9 / v1.x
Apr 27, 2016 at 1:22 PM
I implemented the SharpMap-tutorial with my own URL. Everything works fine with srid=4326 (WGS84). but that was not the right projection. The data will appear in the mapbox but it was not the right scale. Trying to Switch to the right srid (25832) the mapbox will stay blanc. I tryed several srid but only srid=4326 will Display the data. What can I do to Change the projetction to srid=25832.

SharpMap.Layers.WmsLayer wmsLayerTopo = new SharpMap.Layers.WmsLayer("Topografische Karte", "http://localhost:64609/intra-mapserv.vkv.niedersachsen.de/intra_grau_dyn?Version=1.1.1");
wmsLayerTopo.SetImageFormat("image/png");
wmsLayerTopo.Version = "1.1.1";
wmsLayerTopo.SRID=25832
wmsLayerTopo.AddLayer("grau_dynamisch");
mapBox1.Map.Layers.Add(wmsLayerTopo);

mapBox1.Map.ZoomToExtents();
mapBox1.Refresh();
Apr 28, 2016 at 1:35 PM
Edited Apr 28, 2016 at 1:46 PM
What happens if you comment out this line...

wmsLayerTopo.AddLayer("grau_dynamisch");