POST
|
The print service you are using only uses the default print layouts and none of them has the option for an overview map. You will need to set up a custom print template MXD (for each page size) that contains an additional data frame for the overview map, copy the new templates to your print templates folder (C:\Program Files (x86)\ArcGIS\Desktop10.2\Templates\ExportWebMapTemplates or create/select another folder which your ArcGIS Server has access to) and then republish the print service again with the Export Web Map tool. You should then be able to use one of the new print templates with an overview map as part of your print service. Check out my very basic jsFiddle example. You will have to decide on a background image service for your overview map's data frame in the new print template MXD - this cannot be changed when calling the print task unfortunately. Also, the overview map's extent indicator cannot be set transparent in ArcGIS.
... View more
02-23-2015
10:09 PM
|
2
|
4
|
1590
|
POST
|
Just for clarification, must the overview map display in the app in a separate container or in the printout map?
... View more
02-23-2015
12:47 AM
|
0
|
6
|
1590
|
POST
|
I don't think you can manipulate a print template dynamically, therefore I would set up 2 different print templates for each page size: one with an overview map data frame and one without. Then if the user ticks the option for including an overview map, select print template 1, otherwise print template 2 without the overview map.
... View more
02-19-2015
10:12 PM
|
0
|
8
|
1590
|
POST
|
For a start, open access to your example links would be nice. I could get the CSV to import and show like this: AGO Map: http://arcg.is/1vMzs33 The county data was added as an address type with the county name specified as "City" and state name as "State" and then symbolized on POP_2013. Not sure if you can actually link or join the CSV data to another layer on ArcGIS Online. You might have to join the data to the counties before you upload to AGO.
... View more
02-19-2015
10:00 PM
|
0
|
0
|
238
|
POST
|
I have found that the missing legend classes in the print export map are a result of the active dataset that does not contain any values in the specific class range and hence the "empty" class gets dropped from the legend. I would still like to see the full range for the class breaks in the print export map legend, because sometimes the missing class breaks are for values in the middle of the data range.
... View more
02-19-2015
05:27 AM
|
0
|
1
|
943
|
POST
|
The Tabulate Intersection tool in the Analysis->Statistics toolbox is probably what you are looking for.
... View more
02-18-2015
10:39 PM
|
0
|
0
|
529
|
POST
|
I've had limited success with applying client-side raster function rendering rules to an image service. I've successfully applied the Mask function, but now I want to combine it with a Colormap rendering rule, preferably with a Color Ramp visualisation. I'm testing with the Image Service's Export Image page of my server directory on a single band raster. My Mask rendering rule, showing values between 200 and 500, looks like this: { "rasterFunction" : "Mask", "rasterFunctionArguments" : { "IncludedRanges" : [200,500], "NoDataValues" : [], "Raster":"Raster" }, "variableName" : "Raster" } Now I would like to combine it with the Colormap rendering rule with a Color Ramp.
... View more
02-18-2015
04:47 AM
|
0
|
1
|
5160
|
POST
|
Your code snippet would not create the map to add any layer to it, so yes my code will not work in that case. I think the best would be for you to work through the API reference and samples. You can start here: https://developers.arcgis.com/javascript/jshelp/intro_firstmap_amd.html No need for me to repeat what has been explained in many good samples.
... View more
02-17-2015
10:22 PM
|
1
|
1
|
873
|
POST
|
Are you using Legacy or AMD style class referencing? You add the World reference layer as a Dynamic Map Service layer to your map. The Javascript API reference is here: https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer.html The code for the constructor will look like this: var worldDMS = new esri.ArcGISDynamicMapServiceLayer(""http://server.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer");
map.addLayer(worldDMS);
... View more
02-17-2015
05:46 AM
|
0
|
3
|
873
|
POST
|
You can navigate to a specific web service page e.g. http://server.arcgisonline.com/arcgis/rest/services/Reference/World_Boundaries_and_Places_Alternate/MapServer and at the top of the page there are a couple of "View In" options. For ArcGIS Desktop you can click on the ArcMap link, which will allow you to download a layer file (*.lyr) for ArcGIS Desktop.
... View more
02-17-2015
05:25 AM
|
0
|
0
|
873
|
POST
|
You could use the Esri sample data that is standard with the installation disks or the Esri Web services here: http://server.arcgisonline.com/arcgis/rest/services/Reference
... View more
02-17-2015
05:02 AM
|
0
|
6
|
873
|
POST
|
Check out ArcGIS Data Driven Pages. Basically you can generate a series of maps based on a unique identifier for a layer with multiple features.
... View more
02-16-2015
02:34 AM
|
1
|
1
|
2010
|
POST
|
A combo of Greg's and Darren's answer worked for me: import arcpy, os, string
rootFolder = 'C:\\test'
ctr = 1
for root, dirs, files in os.walk(rootFolder):
for name in files:
if name.endswith(".shp"):
# shapefile name without extension
shpName = os.path.splitext(name)[0]
# absolute file path
absFile = os.path.abspath(os.path.join(root,name))
# output file path
output_layer = rootFolder + '\\buffer_' + shpName + '_' + str(ctr) + '.shp'
# buffer
arcpy.Buffer_analysis(absFile, output_layer, "1 Kilometers", "FULL", "ROUND", "ALL", "")
ctr = ctr + 1
... View more
02-16-2015
12:23 AM
|
0
|
1
|
7895
|
POST
|
As steve way says, you can use a custom panel CSS size class. In "js/main.js" when the tool is created with toolbar.createTool(tool, panelClass), replace panelClass with your own custom class, which you also define in "css/styles.css". So in main.js => var mytool = toolbar.createTool(tool, "myPanel") and in styles.css => .myPanel{height:200px /*custom height*/}
... View more
02-13-2015
02:00 AM
|
1
|
1
|
1843
|