SharpMap as WMS Server

Oct 3, 2006 at 12:56 AM
Im trying to implement a WMS (server) with SharpMap, but things are not clear..

Did anybody have done this before?

Any example?

Best regards,

Oct 3, 2006 at 9:45 PM

PLease navigate to the "Release" tab amd download the
WebDemo. There is a sample Wms server included.

Oct 3, 2006 at 10:42 PM

I already tested those demos... they were running and I can access all those examples I'm able to get the capabilities and the map with the example...

But, using my client (a sharpmap-based project), I get no map on the requests.

My request:
SharpMap.Layers.WmsLayer layerCities = new SharpMap.Layers.WmsLayer("Cities", "http://localhost:1441/WebSite2/wms.ashx");

When I call myMap.ZoomToExtents(), it returns the following exception:
"Object reference not set to an instance of an object."
So, my map is null.

Do I need any other parameter to call this MapServer?

Does SharpMap WMSLayer support WMS Version 1.3.0?

Thank You,

Oct 5, 2006 at 10:18 PM