SharpMap as WMS Server

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

Did anybody have done this before?

Any example?

Best regards,

Evandro
Coordinator
Oct 3, 2006 at 10:45 PM
Hi,

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

BR
/Christian
Oct 3, 2006 at 11:42 PM
Hi..

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,

Evandro
Oct 5, 2006 at 11:18 PM
nobody??