POST
|
In addition to the copyright issue, we have an issue with printing. The layer does not showed on the downloaded image. Any help would be greatly appreciated!
... View more
03-02-2017
01:50 PM
|
0
|
1
|
570
|
POST
|
Hi, We use ArcGIS Server 10.4 Visual Studio 2013 If anyone could provide an example of use of HttpWebRequest in Visual Basic for POST with printing service How we call it in Visual Basic? The example of the service: http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute?Web_Map_as_JSON=%7B%0D%0A++++%22operationalLayers%22%3A+%5B%5D%2C%0D%0A++++%22baseMap%22%3A+%7B%0D%0A++++++++%22baseMapLayers%22%3A+%5B%0D%0A++++++++++++%7B%0D%0A++++++++++++++++%22id%22%3A+%22defaultBasemap%22%2C%0D%0A++++++++++++++++%22opacity%22%3A+1%2C%0D%0A++++++++++++++++%22visibility%22%3A+true%2C%0D%0A++++++++++++++++%22url%22%3A+%22http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Topo_Map%2FMapServer%22%0D%0A++++++++++++%7D%0D%0A++++++++%5D%2C%0D%0A++++++++%22title%22%3A+%22Topographic%22%0D%0A++++%7D%2C%0D%0A++++%22exportOptions%22%3A+%7B%0D%0A++++++++%22dpi%22%3A+300%2C%0D%0A++++++++%22outputSize%22%3A+%5B%0D%0A++++++++++++1280%2C%0D%0A++++++++++++1024%0D%0A++++++++%5D%0D%0A++++%7D%0D%0A%7D&Format=&Layout_Template=&env%3AoutSR=&env%3AprocessSR=&returnZ=false&returnM=false&f=html Any help will be greatly appreciated!!!
... View more
02-27-2017
11:53 AM
|
0
|
0
|
1233
|
POST
|
I have found how to do it. But how to show the copyright. I included "copyright" (copyright: "Sources: USGS",) as BasemapLayer attribute - no effect I found The attribution information for the layer. NOTE: This property is only applicable to layers of type WebTiledLayer. var landsatLayer = new BasemapLayer({ url: "https://landsat2.arcgis.com/arcgis/rest/services/Landsat8_PanSharpened/ImageServer", copyright: "Sources: USGS" }); var landsatBaseMap = new Basemap({ layers: [landsatLayer], title: "Landsat 8", id: "landsat", thumbnailUrl: "/Resources/Image/basemap7.png" }); basemapGallery = new BasemapGallery({ showArcGISBasemaps: true, map: app.map }, "basemapGallery"); basemapGallery.startup(); basemapGallery.on("load", function () { basemapGallery.add(landsatBaseMap); });
... View more
02-26-2017
08:52 PM
|
0
|
0
|
570
|
POST
|
Hi, We use ArcGIS Server 10.4, Javascript API 3.17 We need to add Landsat 8 as a basemap layer to the standard basemap Gallery. app.basemapGallery = new BasemapGallery({ showArcGISBasemaps: true, map: app.map }, "basemapGallery"); How to do it? I know that it is ImageServer service. Landsat8_PanSharpened (ImageServer) Any help please!
... View more
02-26-2017
07:21 PM
|
0
|
3
|
1573
|
POST
|
Hi, We use ArcGIS for Server 10.4 We have published an additional service for web map printing . We only see the "Supported Operations: Submit Job" How to add "Supported Operations: Execute Task"? Any help please
... View more
02-22-2017
03:43 PM
|
0
|
2
|
1377
|
POST
|
Hi, We created additional printing service for web map. We try to set parameter for file output name. We cannot figure out how to use a parameter found in ArcGIS REST Services Directory: Parameter: Output_File Data Type: GPDataFile Display Name Output File Description: Output file name. The extension of the file depends on the output file format. Direction: esriGPParameterDirectionOutput Default Value: Parameter Type: esriGPParameterTypeRequired Category: in Javascript we do var params = new PrintParameters(); params.extraParameters = [{ "Output_File": "C:\\arcgisserver\\directories\\arcgisjobs\\OUR_PRINTING_SERVICE_GP_NAME\\Test123.png" }]; It has no effect - output file has a random uniq name. Any help will be greatly appreciated!
... View more
02-21-2017
01:51 PM
|
0
|
0
|
620
|
POST
|
Thank you, FC Basson. We already have a geoprocessing service, we can see the parameter "Output_File" in the ArcGIS REST Services Directory page for the print service. How to use it? Do we use "extraParameters"? PrintParameters | API Reference | ArcGIS API for JavaScript 3.19 We tried to use it like params.extraParameters = [{ "Output_File": "Test123.pdf"}];
... View more
02-21-2017
01:40 PM
|
0
|
2
|
1025
|
POST
|
Can we call this script from Javascript on the client?
... View more
02-20-2017
11:43 PM
|
0
|
4
|
1025
|
POST
|
Thank you for your response, FC Basson. We want the service saves the file on the server in directory C:\arcgisserver\directories\arcgisjobs\OUR_EXPORT_SERVICENAME\Test123.pdf Currently, it saves in random directory with random name: C:\arcgisserver\directories\arcgisjobs\OUR_EXPORT_SERVICENAME\jfcaa84301209481aaacf4b7aba400719\scratch\random_name.pdf
... View more
02-20-2017
10:59 PM
|
0
|
6
|
1025
|
POST
|
Hi, We try to find way to create a file with specific name ("Test123.pdf") using additional service for printing on ArcGIS Server. ArcGIS Server 10.4 Any help will be greatly appreciated.
... View more
02-20-2017
08:22 PM
|
0
|
8
|
1865
|
POST
|
I saw only layer level filtering examples: ArcObjects Help for .NET developers Could we filter the data on layer level? Meaning apply some SQL filter /layer definition for the layer in a map service like Export Map (Operation) .layerDefs ?? But we do not "Export Map" - we need a "life" layer with applied filter. Any help will be greatly appreciated.
... View more
02-09-2017
08:50 PM
|
0
|
0
|
613
|
POST
|
Yes. You are right. Not a problem to do the filter on the client side (JavaScript). We need the server filter. Do you think it is possible to do with file geodatabase on the server side?
... View more
02-09-2017
01:51 PM
|
0
|
2
|
613
|
POST
|
Thank you, thejus kambi We are looking for filtering by ID (field in a feature class) - PersonID on a ArcGIS Server services (on a server side). We have one service For example, user01 can see the service but only PersonID [5-10] user02 can see the service but only PersonID [11-20] Very simple. Please give answer.
... View more
02-08-2017
07:37 PM
|
0
|
4
|
613
|
Title | Kudos | Posted |
---|---|---|
1 | 11-22-2016 08:03 PM | |
1 | 10-27-2016 04:55 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|