Tag Info

New answers tagged

0

Network Analyst will automatically snap points (incidents or facilities) to the nearest network edge when you add them if configured to do so; there's no need to do so beforehand. If you want to force it, Snap could be used (requires Standard or Advanced license, directly modifies data so run it on a copy). If you actually want to draw a new line to ...


0

Through SQL You will need access to the data and access to a SQL db, you can derive the information via a simple SQL query. This example was written for SQL Server in TSQL. The query will list the Hydrant (Layer A) and Fire District (Layer B) IDs along with common identifiers and the geometry definition of each. Because it has the geometry defined, if ...


1

Per @matt wilkie Suggestions, you should use python toolbox (.pyt) instead of a custom (.tbx) toolbox. However with python toolboxes you cannot have models. So if you have any models in your custom toolbox, then you have two options: to export those models to python script tools. to call tools in other toolboxes from within the Python toolbox code Here ...


1

If you create a model in the model builder function, you can see the % completed bar. I like to do this when processing large amounts of data so I can monitor the progress. Results Window should do the same thing but doesn't.


2

The following script can do what you are asking. There are some catches though... This will not change the original feature class, it makes a copy with reordered fields. There is a limit of twenty fields. This could be adjusted by adding more lines of code for each additional field beyond twenty. This is kind of a dirty way of doing things. It isn't ...


2

When you say embedding, I'm presuming you mean this approach? http://resources.arcgis.com/en/help/main/10.2/index.html#//005700000017000000 If so, short answer is no. Embedding scripts is a nice way to minimize the number of files you have to pass around or just to hide/encrypt your work. You could embed your utilities as long as your utility functions ...


1

In the past I've had to distribute a toolbox (.tbx) with many tools, each with their own script but many of which shared the same functions. I believe this is the same issue you are dealing with. In my case I solved the packaging issue with this file structure: top_folder/ tools.tbx scripts/ tool1.py module_name/ ...


0

Just as with most GIS professionals, I do NOT condone the use of ObjectID as a unique ID. Unfortunately, I have been to numerous facilities where they STILL do this. In turn I have had to come up with a work around myself. To answer your direct question, if you COPY the feature class whether it be to an "_1" and then renamed or to another geodatabase, or in ...



Top 50 recent answers are included