I found some further issues in my development with it: the features are displayed even if when the scale is beyond "Min. Scale",
and not all the polygons get displayed when there are too many polygons in the layer.
The problem is that services with WKT on a 9.31 are readonly. When you try to send data with WKT to a 9.31 service it does not know how to process the request. The ability to process WKT was added to version 10.0 of ArcGIS Server. So this service is really not useable for the Web API. If it is the routing you are after here is a 10.0 service that has routing.http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/MapServerbut if you were just trying to figure out how to use WKT correctly then my previous post should work for you.Here are some additional servers you can look at as wellhttp://sampleserver2.arcgisonline.com/ArcGIS/rest/services/Network/USA/MapServerhttp://services.arcgisonline.com/ArcGIS/rest/services/Network/USA/MapServerHope this helps
You cannot use WKT in a projection definition with a 9.x server (only WKID supported). You need at least v10.0 to support WKT
Hi, In one of your attachments the xaml is wrong when declaring the WKT. You have to add a namespace so that you can declare a string in xaml.Namespace xmlns:sys="clr-namespace:System;assembly=mscorlib"Xaml <esri:Map> <esri:Map.Extent> <esri:Envelope XMin="" XMax="" YMin="" YMax=""> <esri:Envelope.SpatialReference> <esri:SpatialReference WKID="0"> <esri:SpatialReference.WKT> <sys:String>your custom projection goes between these tags</sys:String> </esri:SpatialReference.WKT> </esri:SpatialReference> </esri:Envelope.SpatialReference> </esri:Envelope> </esri:Map.Extent> </esri:Map>
xmlns:sys="clr-namespace:System;assembly=mscorlib"
<esri:Map> <esri:Map.Extent> <esri:Envelope XMin="" XMax="" YMin="" YMax=""> <esri:Envelope.SpatialReference> <esri:SpatialReference WKID="0"> <esri:SpatialReference.WKT> <sys:String>your custom projection goes between these tags</sys:String> </esri:SpatialReference.WKT> </esri:SpatialReference> </esri:Envelope.SpatialReference> </esri:Envelope> </esri:Map.Extent> </esri:Map>
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.