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

Wms Server

Topics: SharpMap Project
Apr 23, 2008 at 1:14 PM

I want to use sharpmap as a wms server. I have a problem when layers are not in the same projection system.
My wms client call the wms service using WGS84 coordinate but if I had a layer in Lambert projection for example, it never shows me the layer.

Is there a way to force the sharpmap WMSServer to project the bbox to the projection system of the layers?
Apr 23, 2008 at 4:10 PM
You must define the projection (srs code) of each layer:

VectorLayer layCountries = new VectorLayer("Countries");
layCountries.SRID = 4326; // Insert the correct srid here!

This should be the only openation you need.