Tag Info

Hot answers tagged

4

To add a custom toolbox, in ArcMap or ArcCatalog, open ArcToolbox and right click in the white space and go to Add Toolbox: To see the script, right click on the tool, and go to Edit or Export Script. If you use Export Script, create a new text file and select it when exporting. You might need to go into the Geoprocessing menu, and go to Geoprocessing ...


3

To do this I would use two tools: Intersect (Analysis): Computes a geometric intersection of the input features. Features or portions of features which overlap in all layers and/or feature classes will be written to the output feature class. then Summary Statistics (Analysis) Calculates summary statistics for field(s) in a table.


2

So I got it to work finally. The image was read only so I couldn't define spatial reference. Having fixed that the only work to be done with the available image was to define its coordinates and projection. So had to create a custom coordinate system with GCS Moon 2000 and Mercator projection (sphere). And voila no need for tedious georeference or Project ...


2

The Correct form of your code is : def FindLabel ( [amenity], [osm_english_32_name], [osm_name_58_en] ): if not ([osm_name_58_en] is None): return [osm_name_58_en] elif not([osm_english_32_name] is None): return [osm_english_32_name] + '\n' + [amenity] else: return [amenity] The semicolon in the last line is removed. ...


2

If you are running the tool outside of ArcGIS session, in Python (or when in the Python window and the extension has not already been enabled), you will need to check out an ArcGIS Spatial Analyst extension license before running a tool. You do it with: arcpy.CheckOutExtension("Spatial")


1

The code presented in your question doesn't match what is asked for in the question. "I'm trying to label certain features using a specific field (osm_name_58_en). However, when this field is null, I want to label the feature with (som_english_32_name). If both are null then I want to label with the (amenity) field." This sentence implies that you only ...


1

If you specifically want a single elevation (or specific elevations) as lines you can use Contour List (3d analyst, Spatial analyst). Unlike Contour (3d analyst, Spatial analyst) which creates contours at a specific interval the contour list tool produces contour isolines at specific elevation values.. for this example you would supply the value 0 for ...


1

I would recommend to build a simple model to iterate through all rasters in your workspace and then convert each of them to Polygon. To add an iterator, In model builder go to: Insert > Iterators > Rasters You final model should look like this: and your Calculate Value Should look like this: The code block: def t(s): return ...


1

As far i can recall, you can select all table from this batch tool and copy into microsoft excel and modify input parameters of the tool in excel (apply some excel formula to change the output to lessen manual labor). After that you can select all in the tool and paste this excel rows back into the tool.


1

The problem you have apparently run into here is character encoding. Particularly when moving between programs and fonts as your Excel > Word > Arc pasting does, and single quotes are one of the worst characters for this issue. ` (upper left standard keyboard) and ' (next to Enter standard keyboard) are two different characters. Likely your 'shorter' quotes ...


1

For anyone who is interested, I just learned a really quick way to do this. Zoom into the area / extent you are working with > open image analysis window > click the clip tool under processing. A layer will be added to the map of the area in the extent when you performed the clip function.


1

I want to offer an alternative solution following up on your last paragraph, which is easily accomplished in a single analysis without the need for iteration or even Model Builder unless you wish to repeat it many times. You cannot use the Near tool in this case, as that only returns the closest feature. You could use the Generate Near Table tool with an ...



Only top voted, non community-wiki answers of a minimum length are eligible