问题描述
ArcGISServer10.1发布wms服务:如下图所示上图EPSG:101为自定义本地坐标系(ArcGISServer默认发布为EPSG:4326坐标系)Skyline加载的MPT坐标系与WMS一致:如下图所示通过TEPro加载自定义服务,经测试显示正常:但是通过代码加载就显示不出来,希望各位大侠能帮个忙,代码如下:doublexul=483368.115723;doubleyul=3572658.091919;doublexlr=509584.872925;doubleylr=3557745.511292;//微调后配置stringwmsStr="[INFO]"+"n"+"MPP=2.68220901489258E-06"+"n"+"Url="+"http://localhost:6080/arcgis/services/MyMapService/MapServer/WmsServer?request=GetMap&Version=1.1.1&Service=WMS&SRS=EPSG:101&BBOX=483368.11572300002,3557745.5112919998,509584.87292499997,3572658.0919189998&HEIGHT=256&WIDTH=256&Layers=0&Styles=default&Format=image/png"+"n"+"xul="+"483368.115723"+"n"+"ylr="+"3557745.511292"+"n"+"xlr="+"509584.872925"+"n"+"yul="+"3572658.091919"+"n";ITerrainRasterLayer65imgLayer=sgworld.Creator.CreateImageryLayer("WMSTest",xul,yul,xlr,ylr,"<EXT><ExtInfo><![CDATA["+wmsStr+"]]></ExtInfo><ExtType>wms</ExtType></EXT>","gisplg.rct","","WMSTest");imgLayer.CoordinateSystem=sgworld.Terrain.CoordinateSystem;//ICoordinateSystem65coords=imgLayer.CoordinateSystem;测试结果图像如下:请求帮助~~非常感谢的
解决方案
解决方案二:
好吧,自己已经解决,就不劳烦各位啦。
解决方案三:
怎么解决的呀?分享一下吧,我的在代码里也加载不上啊,还有这个白色的底能去掉么??