digitalglobe tile service in GE 4.5.1 service error
Hi,
Attempting to add DigitalGlobes imagery tiles as a service connection but GE is raising a service error. This tile service works fine in an Arcgis Online web map.
Service Error
There was an error connecting to the service.
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Geocortex.Gis.Services.ArcGisServer.Rest.Proxy.DataContracts.AgsLayerDetailsList`1[Geocortex.Gis.Services.ArcGisServer.Rest.Proxy.DataContracts.AgsMapServiceLayerDetails]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.
The JSON returned by the service is:
{"currentVersion":10.2,"serviceDescription":"DigitalGlobe:ImageryTileService","mapName":"DigitalGlobeImageryTileService","description":"Geoservices interface for DigitalGlobe","copyrightText":"Copyright DigitalGlobe Inc.","supportsDynamicLayers":false,"layers":[{"id":0,"name":"DigitalGlobeImageryTileService","parentLayerId":-1,"defaultVisibility":true,"subLayerIds":null,"minScale":0,"maxScale":0}],"tables":[],"spatialReference":{"wkid":102100,"latestWkid":3857},"singleFusedMapCache":true,"tileInfo":{"rows":256,"cols":256,"dpi":96,"format":"JPEG","compressionQuality":0,"origin":{"x":-2.003750834E7,"y":2.0037508E7},"spatialReference":{"wkid":102100,"latestWkid":3857},"lods":[{"level":0,"resolution":156543.033928,"scale":5.91657527591555E8},{"level":1,"resolution":78271.5169639999,"scale":2.95828763795777E8},{"level":2,"resolution":39135.7584820001,"scale":1.47914381897889E8},{"level":3,"resolution":19567.8792409999,"scale":7.3957190948944E7},{"level":4,"resolution":9783.93962049996,"scale":3.6978595474472E7},{"level":5,"resolution":4891.96981024998,"scale":1.8489297737236E7},{"level":6,"resolution":2445.98490512499,"scale":9244648.868618},{"level":7,"resolution":1222.99245256249,"scale":4622324.434309},{"level":8,"resolution":611.49622628138,"scale":2311162.217155},{"level":9,"resolution":305.748113140558,"scale":1155581.108577},{"level":10,"resolution":152.874056570411,"scale":577790.554289},{"level":11,"resolution":76.4370282850732,"scale":288895.277144},{"level":12,"resolution":38.2185141425366,"scale":144447.638572},{"level":13,"resolution":19.1092570712683,"scale":72223.819286},{"level":14,"resolution":9.55462853563415,"scale":36111.909643},{"level":15,"resolution":4.77731426794937,"scale":18055.954822},{"level":16,"resolution":2.38865713397468,"scale":9027.977411},{"level":17,"resolution":1.19432856678963,"scale":4513.9887055},{"level":18,"resolution":0.597164283394814,"scale":2256.99435275},{"level":19,"resolution":0.298582141697407,"scale":1128.497176375}]},"initialExtent":{"xmin":-2.0037508342789E7,"ymin":-2.0037508342789E7,"xmax":2.0037508342789E7,"ymax":2.0037508342789E7,"spatialReference":{"wkid":3857}},"fullExtent":{"xmin":-2.0037508342789E7,"ymin":-2.0037508342789E7,"xmax":2.0037508342789E7,"ymax":2.0037508342789E7,"spatialReference":{"wkid":3857}},"timeInfo":null,"minScale":0.0,"maxScale":0.0,"units":"esriMeters","supportedImageFormatTypes":"PNG,JPEG","documentInfo":{"Title":"DigitalGlobeImageryTileService.mxd","Author":"DigitalGlobe Inc.","Comments":"","Subject":"DigitalGlobe:ImageryTileService","Category":"Imagery","Keywords":"DigitalGlobe:ImageryTileService","AntialiasingMode":"None","TextAntialiasingMode":"Force"},"capabilities":"map,query,data,image"}
0
-
Did you solve this issue? I am evaluating Digital Globe and want to see how it works in Geocortex. I have GE 2.6.1 and get this error when I plug the following URL in the add map service....fyi I removed my conneciton string from the link at the bottom, my link also works in AGO.
David
There was an error connecting to the service.
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'Geocortex.Gis.Services.ArcGisServer.Rest.Proxy.DataContracts.AgsLayerDetailsList`1[Geocortex.Gis.Services.ArcGisServer.Rest.Proxy.DataContracts.AgsMapServiceLayerDetails]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array. Path '', line 1, position 1.
https://services.digitalglobe.com/earthservice/gis/<my connection string>/rest/services/DigitalGlobe:ImageryTile0 -
No yet David. I am using WMTS with some success though. The problem with that though is the basic authentication is not working for some tile requests. Haven't tried WMS. The authentication problem may be solvable with a proxy page but I haven't gotten there yet. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
2 Kommentare