|
POST
|
yes, it works with the printing service hosted by arcgisonline. try with this request: http://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?Web_Map_as_JSON={+%22mapOptions%22%3A+{+%22extent%22%3A+{+%22xmin%22%3A+-11906049.67132352%2C+%22ymin%22%3A+4401879.312892295%2C+%22xmax%22%3A+-11885488.110714834%2C+%22ymax%22%3A+4415790.852040179%2C+%22spatialReference%22%3A+{+%22wkid%22%3A+102100+}+}%2C+%22spatialReference%22%3A+{+%22wkid%22%3A+102100+}%2C+%22scale%22%3A+72223.8192860011+}%2C+%22operationalLayers%22%3A+%5B+{+%22id%22%3A+%22census%22%2C+%22title%22%3A+%22Census_3222%22%2C+%22opacity%22%3A+1%2C+%22minScale%22%3A+0%2C+%22maxScale%22%3A+0%2C+%22url%22%3A+%22http%3A%2F%2Fsampleserver6.arcgisonline.com%2Farcgis%2Frest%2Fservices%2FCensus%2FMapServer%22+}+%5D%2C+%22layoutOptions%22%3A+{+%22legendOptions%22%3A+{+%22operationalLayers%22%3A+%5B+{+%22id%22%3A+%22census%22+}+%5D+}+}+}&Format=png8&Layout_Template=a4+landscape&env%3AoutSR=&env%3AprocessSR=&returnZ=false&returnM=false&f=html here is the output:
... View more
02-06-2015
11:23 AM
|
0
|
0
|
354
|
|
POST
|
There is another strategy you can consider (since you have 10.1+ server). This solves the problem when you want to draw from a cached map service at smaller scale and draw dynamically at larger scale. This involves making some changes on both client and server side. Server Enable ‘dynamicLayers’ on the cached map service. Client app: Add two service-layers an ArcGISTiledMapServiceLayer an ArcGISDynamicMapserviceLayer both of them pointing to the same cached map service set mutually exclusive scale dependencies to those layers That should do the trick… What will happen is that as you zoom in to larger scale and the ArcGISDynamicMapServiceLayer becomes visible, you web app will send ‘export’ calls (instead of pulling tiles) to the map service. Since the map service is dynamicLayers enabled, it will draw the image from scratch by reading features from the data, drawing etc. (as if it were a dynamic map service) instead of merging and cropping pre-cooked tiles. Hope this helps.
... View more
02-04-2015
09:30 AM
|
1
|
0
|
3029
|
|
POST
|
i see the following error message coming back from your printing service. " Unable to connect to map server at http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer " is some kind of firewall or internal network changes happened since Friday last week that makes your printing service not to access map service from arcgisonline? one simple way to check is to log on to your server machine as 'ArcGIS Server Account' user and try to access the above link using your browser.
... View more
02-03-2015
12:41 PM
|
2
|
1
|
2288
|
|
POST
|
Thanks Filip. Yes, as suspected, legend swatches are getting pixelated because map service returns those legends at 96 dpi. There is no workaround that I can think of as of now. pls note this issue is completely different that the known bug that you mentioned at the very beginning of this post. I'd appreciate if could contact Esri Tech Support and submit an enhancement request for this. Thanks.
... View more
01-29-2015
12:47 PM
|
1
|
1
|
1595
|
|
POST
|
I tried the JSON posted by Kelly with my printing service and my templates. I got the output in couple of secs. Brandon, do you have any layers in your template mxd? Did you try recreating the template from scratch? can you share your template with me? i can take a look. Thanks.
... View more
01-29-2015
12:41 PM
|
4
|
1
|
7392
|
|
POST
|
Filip, The printing service asks for legends swatches from the map service and they are always returned as picture symbols and in 96 dpi. May be that is why you are seeing them pixelated in the high dpi output. If possible, can you please share your JSON and I will look into that.
... View more
01-22-2015
09:19 AM
|
1
|
1
|
1595
|
|
POST
|
Just wondering whether you checked out "JSON to Features" GP tool? If you are using ArcObjects, then I believe you can use some of JSON classes and interfaces (like JSONConverterGeometry (ArcObjects Java API)) to do the job.
... View more
01-22-2015
09:12 AM
|
0
|
0
|
3329
|
|
POST
|
Joe Borgione wrote: At 10.1 and later versions, edits made to the source data (such as feature classes displayed in a map) should be immediately visible in the service as long as a copy of the data was not placed on the server when publishing Joe, lets see whether I can explain it clearly. Unlike pre-10.1 server, starting at 10.1 (put that in very simple way), you can publish a service (a) by referencing the original data and (b) by copying data on the server along. As you may have noticed that the publishing process is different at 10.1 and depending on your workflow (which seems like the case for you) you may want to 'register' the FileGDB / SDE/ folders etc. (that layers in your mxd pointing to) to the 'data store'. If you don't do that you will see an analyzer warning and if you accept, your data get copied to the server; and the service starts to use that version of data (off a server's managed location) instead of the workspace layers in your source mxd referring to. Option (a): this is like pre-10.1 server. you create a map document in ArcMap, you add bunch of layers e.g. from a FileGDB, you register the workspace and you publish... in this scenario, as you update you data in the workspace, every map refresh or query operation call will give you the updated data. No service restart, no overwrite needed. Option (b): this is when you do not register the workspace to the data-store and right before publishing process starts, you accept to copy data on the server. In this case, layers in that map/feature service will *no* longer refer to the workspace that the layers in the source mxd refer to... instead they refer to a managed workspace on the server... In this particular scenario, if you data get updated, yes, you need to overwrite the map/feature service so that the data on server get updated as well. Hope this help. Sorry about the lengthy reply.
... View more
01-20-2015
12:04 PM
|
1
|
1
|
1254
|
|
POST
|
Thanks Pato. Quick question: Is '186.47.xx.xx' the IP address of the arcgis server machine? or is this the IP address that you use to access the machine from outside the firewall?
... View more
01-20-2015
11:40 AM
|
0
|
0
|
2904
|
|
POST
|
I'm not sure why/how the email on this thread showed up in my inbox today. Anyways, I think it is a good thing that happened I probably understand what you mean this time around. You meant the 'layer names' are not showing up in the legend element for "class breaks" and "unique value" renderers, no job failure or error right? and because of that you'd not know which layer a legend patch belongs too. If i understood the issue correctly, then there is a good news that the bug got fixed in 10.3.
... View more
01-16-2015
12:36 PM
|
0
|
1
|
2063
|
|
POST
|
Are both map and printing services running on the same machine/network? Can you please check whether the machine and the process that runs the printing service has access to the map service?
... View more
01-16-2015
12:19 PM
|
0
|
2
|
2904
|
|
POST
|
the bug (http://support.esri.com/en/bugs/nimbus/TklNMDg5NDg2) is fixed in 10.3
... View more
01-16-2015
12:15 PM
|
0
|
0
|
928
|
|
POST
|
At 10.3, two new parameters (resultOffset and resultRecordCount) are added to query operation to support pagination. http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Query_Map_Service_Layer/02r3000000p1000000/ pls note: before you execute query operation to page through, pls check the layer's resource to find out whether it supports pagination (e.g. at 10.3, layers/tables off a FileGDB or shape files etc. don't support pagination; should work for enterprise databases). Look for 'supportsPagination' flag inside 'advancedQueryCapabilities'.
... View more
01-15-2015
09:29 AM
|
1
|
3
|
7770
|
|
POST
|
In ArcCatalog or ArcMap's Catalog window, you can right click on a map service and select 'Service Workspaces...' which will bring up a dialog to all workspaces referenced in the mxd In Manager (may not be available in 10.1x), there is a database icon next to each service name, click on it to view all database referenced by the service. hope this helps
... View more
01-15-2015
09:21 AM
|
2
|
1
|
1894
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:42 PM | |
| 1 | 05-11-2026 04:59 PM | |
| 1 | 04-16-2026 01:37 PM | |
| 1 | 03-06-2026 04:33 PM | |
| 1 | 03-05-2026 03:22 PM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|