POST
|
I have a template for a USNG grid map utilizing the MGRS Grid Lines and the mxd is set to use UTM and works perfect, however, after publishing it to the ArcGIS Server and use the ExportWebMap specification using a map service in NAD83 Harn, I cannot get the labels on the template to populate correctly. Anyone else have this issue? I attached a pdf showing the grid lines and the coordinates, but, they do not match the correct USNG grids as shown in the map itself
... View more
10-19-2016
06:40 AM
|
0
|
0
|
897
|
POST
|
You can use the ArcGIS Server REST API to upload / remove photos. Here is the link to the Help: ArcGIS REST API
... View more
12-18-2015
08:58 AM
|
0
|
1
|
436
|
POST
|
You might need to put in a help ticket with ESRI then - I'm completely stumped
... View more
04-06-2015
01:36 PM
|
0
|
1
|
657
|
POST
|
Can you try generating the token using the server's IP address instead of it's server name / domain name? ie., http://192.168.1.1.egisqa/tokens/generateToken instead of: http://servername/egisqa/tokens/generateToken Generally speaking, an error code of 498 indicates either an expired token (so, you might also need to look at the server's timeout settings for tokens) or an invalid token
... View more
04-02-2015
05:23 AM
|
0
|
5
|
657
|
POST
|
It's true - no SDEGDBREPAIR tool. I am running 10.2.2 now and purposely chose NOT to install the command line utilities because ESRI is no longer supporting them. I am having an issue with intermittent rights / privileges and the first thing they told me to do was run the SDEGDBREPAIR tool.... I told them I did not install it, nor, was I going to install it. I hope they add the option in ArcCatalog!
... View more
04-01-2015
08:51 AM
|
1
|
3
|
974
|
POST
|
The error you're getting is because you need to test it doing an http "post", not a "get". If you make a test web page with a form and a submit button, you should be able to get it to work: <form action="http://youproxyurl/" method="post"> <input type="hidden" name="Format" value="PDF" /> <input type="hidden" name="token" value="token value here" /> <input type="hidden" name="f" value="pjson" /> <input type="hidden name="Web_Map_as_JSON" value="{'layoutOptions':{'authorText':'GERI','titleText':'sg','legendOptions':{'operationalLayers':[{'id':'Others'},{'id':'Clouds Over Time'},{'id':'GEOSPACE'},{'id':'Geometric Network (Network Trace)'},{'id':'CWD Notification System'},{'id':'Drainage Map (DIMS)'},{'id':'Water Quality & Contract Boundary'},{'id':'Planning Boundary'},{'id':'WRN Notification Map'},{'id':'Sewerage Map (SIMS)'},{'id':'Potable Water Supply Zones'},{'id':'Demand Zones'},{' id':'BQ Segment'},{'id':'HDB Dwellings & Water Efficiency'}]},'copyrightText':'Copyright ©2015 Public Utilities Board (PUB). All rights reserved.'},'exportOptions':{'dpi':96},'mapOptions':{'extent':{'spatialReference':{'wkid':3414},'xmax':71930.5746856367,'ymin':23128.63091815375,'xmin':-18424.81435847472,'ymax':45750.55116199424}},'operationalLayers':[{'id':'Street View','maxScale':250,'title':'Street View','url':'http://gisdevqa1/egisqa/rest/services/GERI_Geospace/streetdirectorycache/MapServer','minScale':250000},{'id':'Water Property Critical','visibleLayers':[0],'maxScale':0,'title':'Water Property Critical','url':'http://gisdevqa1/egisqa/rest/services/GERI_WSN/wsnwaterpropertycritical/MapServer','minScale':0}]}" /> <input type="submit" value="Submit" /> </form> ** Note: Make sure you replace the double quotes in the JSON with a single quote like I did above **
... View more
04-01-2015
07:05 AM
|
1
|
7
|
1052
|
POST
|
I wrote my own code using javascript, but, all I am doing is "POST"ing through my own proxy (very similar to the ESRI proxy). My proxy is: http://my.domain.com/media/feed.jsp and if you look at my previous reply, you'll see what I am posting. the "url" parameter is the GP service for printing my secure map services. I have created my own JavaScript library for getting / storing the token (using cookies). So, my post literally looks like this: http://my.domain.com/media/feed.jsp?url=http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer&Format=PDF&f=pjson&token= &dXTfSB7wlOUezjLVyAoEHm6kkGP0CUgrng77jdKM34ATLGQHyOMx-VpK3w4HxBo0wChP9zAuCdIhLsqvqg5bjA..&Web_Map_As_JSON= {"layoutOptions":{"customTextElements":[{"mapTitle":"Map Test"}]},"operationalLayers":[{"url":"http: //10.1.2.87:6080/arcgis/rest/services/water-resources/utility_basemap_manual_layers/MapServer","visibility" :true,"visibleLayers":[0,12,21,24,25,26,27,28,29,30,31,32,33,34,35,36]},null],"exportOptions":{"dpi" :96},"mapOptions":{"extent":{"xmin":393829.38643702905,"ymin":1559480.6243272335,"xmax":621170.6135629709 ,"ymax":1730519.3756727665},"scale":"227341.23"}}
... View more
04-01-2015
05:13 AM
|
0
|
9
|
1052
|
POST
|
Here is what I post to my secure printing service through a proxy url: Format PDF Web_Map_as_JSON {"layoutOptions":{"customTextElements":[{"mapTitle":"Map Test"}]},"operationalLayers":[{"url":"http: //10.1.2.87:6080/arcgis/rest/services/water-resources/utility_basemap_manual_layers/MapServer","visibility" :true,"visibleLayers":[0,12,21,24,25,26,27,28,29,30,31,32,33,34,35,36]},null],"exportOptions":{"dpi" :96},"mapOptions":{"extent":{"xmin":393829.38643702905,"ymin":1559480.6243272335,"xmax":621170.6135629709 ,"ymax":1730519.3756727665},"scale":"227341.23"}} f pjson token dXTfSB7wlOUezjLVyAoEHm6kkGP0CUgrng77jdKM34ATLGQHyOMx-VpK3w4HxBo0wChP9zAuCdIhLsqvqg5bjA.. url http://10.1.2.87:6080/arcgis/rest/services/secure-print-services/SecureBOCCLandscapeTemplate/GPServer /Export Web Map/execute
... View more
03-31-2015
07:52 AM
|
0
|
11
|
1052
|
POST
|
It appears to be a problem with both the proxy url and the fact that I do not see the token being passed to the gp service. Whenever you use a secured service, you have to pass the token to the GP service.
... View more
03-31-2015
07:46 AM
|
0
|
12
|
1052
|
POST
|
In ArcCatalog, copy the "Export Web Map" tool and paste in a new toolbox with a name like "Secure Printing". Right-click on the copied tool and select "Edit". Click the "Add" (the plus sign) and choose an ArcGIS Server connection that has the rights / privileges to the secure service you're wanting to print from. Click "OK". Now, run the tool and leave the "Web Map as JSON" blank, select your template and layout (if you want). When the tool is completed, in the "Geoprocessing Results" window, right-click the "Export Web Map" result and choose "Share As" --> Geoprocessing Service. When you're finished uploading that service, it can now be used to print from the secured web map / service.
... View more
03-26-2015
07:45 AM
|
0
|
14
|
1052
|
POST
|
Thanks! There are no JavaDocs, so, I was having a tough time finding anything for custom tokens --
... View more
03-10-2015
12:07 PM
|
0
|
0
|
380
|
POST
|
I have an SOE with a dependency on Oracle (ojdbc6.jar). I created a "lib" folder with the jar in it, added a manifest, create the SOE (and the jar is included in the .soe file). After uploading / enabling the extension, I keep getting a ClassNotFoundException -- is there any other location that I can drop the ojdbc6.jar file on the server?
... View more
08-30-2013
12:51 PM
|
0
|
0
|
382
|
Title | Kudos | Posted |
---|---|---|
1 | 04-01-2015 08:51 AM | |
1 | 04-01-2015 07:05 AM |
Online Status |
Offline
|
Date Last Visited |
10-06-2023
05:50 AM
|