Tag Info

New answers tagged

0

The arcpy.AddMessage is bread and butter for adding your own messages in ArcToolbox Scripts tools. Also you can get the geoprocessing messages with arcpy.GetMessage/s. These are very powerful when used in: if else and try statements. Adding A Script Tool import arcpy import os arcpy.AddMessage(" ") ...


1

I'm going to assume that you are using ArcPy from ArcGIS for Desktop to write a Python script tool. To send any messages to the geoprocessing progress dialog you can use arcpy.AddMessage() For example: arcpy.AddMessage("abc.shp") or: fc = "abc.shp" arcpy.AddMessage(fc)


0

You don't need a map to construct the JSON. You can make it yourself, then POST or GET to the REST service here (or at your ArcServer): http://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task/execute See my example below for drawing a basemap: "World_Topo_Map", adding a layer with Definition ...


0

I think what you are asking is that you want to know how you can have your output shapefile name include the tool name. I think you can accomplish this by using a model only tool called Calculate Value. (Right click in the model builder window and select model only tools then calculate value.) Here you can set the data type to string, and use a small python ...


1

Not only does a registered rowid column need to be INTEGER (32-bit), POSITIVE, NON-ZERO, NOT NULL and UNIQUE, it also needs to be reproducible on subsequent invocations. It is not possible to manufacture a field on the fly which meets this reproducibility requirement. Therefore the only way to generate a rowid for such a non-unique view is to populate a ...


0

Possible solution, however you should provide a lot more detail in your question if you really want to narrow things down (license level available, formats of the data involved, what else you have besides parcel polygons, etc.): Buffer street centerlines by something more than the width of the road. This may require multiple centerline selections and ...


0

I ended up creating a temporary unique id and doing a tabular join (Join Field) between the table I created via zonal statistics and the original polygon layer.



Top 50 recent answers are included