|
POST
|
Identifying a Terrain/TIN layer via a map service is planned to be supported in 10.1 SP1.
... View more
10-03-2012
02:28 PM
|
0
|
0
|
621
|
|
POST
|
Thanks Susan. If it were TIN/Terrain layer, then it was never supported by a map service. It is planned to be supported in 10.1 SP1 though.
... View more
10-03-2012
02:22 PM
|
0
|
0
|
1013
|
|
POST
|
Please contact Esri Tech Suport - we need to look into the issue with the data & map. In general it should work. Thanks.
... View more
09-28-2012
07:56 AM
|
0
|
0
|
1013
|
|
POST
|
Sorry about the inconvenience. The reason it is failing is because the json does not have "geometryType" defined in the "featureSet" element. here is the correct one (please see the attachment for the entire json)
...
"featureSet": {
"geometryType": "esriGeometryPolyline",
"features": [
{
...
Apparently it was missing from the help. We will update the help as well as put an example. Thanks for your comment. Quick question: may I ask why are you constructing the JSON manually instead of relying on PrintTask of any of Web APIs?
... View more
09-26-2012
08:41 AM
|
0
|
0
|
1882
|
|
POST
|
Alex, hmm... here is a classic response -- "it works for me" :). Another thing that I tried was assigned "10" to the "id" inside the layerDefinition and that worked as well. Give that a shot. It is very hard to debug something when the setups etc. is completely unknown. Could you please contact our Tech Support? Someone should be able to help you out with this. We will look into why the additional "id" is getting added by JS.
... View more
09-17-2012
08:58 AM
|
0
|
0
|
1668
|
|
POST
|
Thanks Alex, Found issues in the JSON: It is recommend that you should have a unique "id" assigned to each dynamic-layer. In your case, you are assigning the same "id" that is already assigned to an existing layer in the mapservice. I see the json contains another "id" property in layerDefinition. please get rid of that. Finally to get it working for you in 10.1, you need to remove the sublayerIds array from legendOptions.operationalLayers. This is a bug that should get fixed with 10.1 SP1. I have attached the correct JSON here as well.
... View more
09-14-2012
02:19 PM
|
0
|
0
|
1668
|
|
POST
|
Thanks Alex, Since all layers in the JSON use your mapservice, unfortunately I could try the JSON out. Can you please try with this mapservice to check whether you can still run into the same issue? if so, please send me the json. http://sampleserver6.arcgisonline.com/arcgis/rest/services/Census/MapServer Thanks
... View more
09-13-2012
03:26 PM
|
0
|
0
|
1668
|
|
POST
|
it should be supported in 10.1 SP1 only for layer/table whose supportsAdvancedQueries property returns true.
... View more
09-13-2012
02:05 PM
|
0
|
0
|
428
|
|
POST
|
Sorry for a long silence from my side. In case you have not figured out this yet, the following seems like a good solution to your problem.... Seems like with ArcGIS API for Silverlight, you may have a luck of using ArcGIS Server 10.1's Printing Service with Web API's Print Task without having a map on your web application. Apparently the API has an overloaded constructor for PrintParameters class that allows you to create a PrintParameters object only with layers and extent, no map is needed. Once you get that you can pass that as a parameter to Execute() function of Print Task to get the output.
PrintTask printTask = new PrintTask("http://myServer/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export Web Map Task");
ArcGISDynamicMapServiceLayer lyr = new ArcGISDynamicMapServiceLayer();
lyr.Url = "http://myServer/arcgis/rest/services/myMapService/MapServ1er";
ObservableCollection<Layer> colLayers = new ObservableCollection<Layer>();
colLayers.Add(lyr);
Envelope extent = new Envelope(<xmin>, <ymin>, <xmax>, <ymax>);
PrintParameters PrintParams = new PrintParameters(colLayers, extent);
... // set layoutOptions [optional]
... // set exportOptions [optional]
printTask.ExecuteAsync(PrintParams);
This will prevent you from: coming up your own set of classes or manual construction of json string in your code Please let me know if that works for you.
... View more
09-13-2012
01:58 PM
|
0
|
0
|
744
|
|
POST
|
You cannot - no longer supported as local/DCOM connection is dropped at 10.1
... View more
09-12-2012
10:49 AM
|
0
|
0
|
333
|
|
POST
|
did you consider the Printing Service, new at 10.1, to get your map in PDF format? http://resources.arcgis.com/en/help/main/10.1/index.html#/Printing_in_web_applications/0154000004w5000000/
... View more
09-12-2012
10:47 AM
|
0
|
0
|
956
|
|
POST
|
Alex, It seems like you are hitting a bug that is supposed to get fixed in 10.1 SP1. In general the legends of a dynamicLayer is supported by Print Service. Could you please attach the JSON that your web app sends to the print service? Thanks
... View more
09-12-2012
10:06 AM
|
0
|
0
|
1668
|
|
POST
|
do you happen to have Feature Access capability turned on? here is the help on the error message: http://resources.arcgis.com/en/help/main/10.1/index.html#//00sq0000009v000000
... View more
09-12-2012
07:58 AM
|
0
|
0
|
1536
|
|
POST
|
Jason, Any reason why you can't use client-side graphics layer supported by all ArcGIS Web APIs to draw graphics on top of map? why do you need to need to burn the graphics in the image returned by mapservice's export operation? Thanks.
... View more
08-30-2012
09:42 AM
|
0
|
1
|
935
|
|
POST
|
This is a known limit at 10.1 that SpatialFilter does not get used while querying for stats off a mapserver, only attribute query is supported. We have this in 10.1 SP1 list of enhancements to be supported. In the meantime, here are workarounds: what valvag proposed as #2. It will not perform well since you need to make two requests you can also use 'OBJECTID in (1,2,3...)' instead of 'OBJECTID = 1 or OBJECTID = 2 ...' as a whereclause OR, if your underlying RDBMS supports Spatial data natively, then store geometries/shapes in DB's native storage type in your web app, construct a SQL Statement that includes a spatial operation and geometry (conformed to their specs) pass that sql as a where clause to query operation.
... View more
08-30-2012
09:35 AM
|
0
|
0
|
1111
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | 10-23-2025 03:46 PM | |
| 1 | 08-21-2025 11:11 AM | |
| 1 | 07-30-2025 01:43 PM | |
| 1 | 07-02-2025 11:07 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|