Hello,
Help me pls to decide such problem. I have geography data, stored in MSSQL database in WGS84. I need display these data in UTM zone 36 projection.
In WMSLayerPlugin extension I override methods:
protected override System.Collections.ObjectModel.Collection<string> GetProjectionsCore()
{
return new System.Collections.ObjectModel.Collection<string> { "EPSG:32636" };
}
protected override RectangleShape GetBoundingBoxCore(string crs)
{
return new RectangleShape(346253.683491, 5688626.793658, 451518.313067, 5080783.042678);
}
In desktop client:
map.MapUnit = GeographyUnit.Meter;
map.CurrentExtent = new RectangleShape(346253.683491, 5688626.793658, 451518.313067, 5080783.042678);
TiledWmsOverlay staticOverlay = new TiledWmsOverlay(new Uri("localhost:62626/WmsHandler.axd"));
staticOverlay.TileCache = null;
staticOverlay.Parameters.Add("SRS", "EPSG:32636");
staticOverlay.ActiveLayerNames.Add("MyMap");
staticOverlay.ActiveStyleNames.Add("DEFAULT");
map.Overlays.Add("TiledWmsOverlay", staticOverlay);
When application started, I get message "This CRS not supported in WMS server:"...
Tell me pls, what I must add for display UTM projection?
Thanks.