Tag Info

New answers tagged

3

Have you installed IE11? There is a bug registered as NIM097058 - The 'Simplification Tolerance' option disappears from the Simplify Line and Simplify Polygon geoprocessing tools after installing Internet Explorer (IE) 11. It's solved in 10.3. See bug description for workarounds in 10.2.


0

I've personally had little experience in using a Python AddIn as I would have approached this problem using ArcObjects and VB .Net. You specifically mention editing and not liking debugging in Python. You could create an extension that would listen out for the starting and stopping of an edition session. Once started it could log the tracking of your ...


6

If memory use is your prime concern, then lots of little (low vertex count) features is probably going to be more to your liking than a few very large (high vertex count) features. But you may find that "too many features" may eventually overwhelm even "too many vertices" for processing speed. If you think about how the algorithms must be structured to ...


6

A Dissolve operation will usually reduce the number of features, arcs and nodes within a layer, particularly for layers with significant lengths of shared boundaries. Since the time spent during a Buffering operation is highly dependent on the number of nodes, pre-processing with Dissolve may significantly reduce the running time (and memory requirements). ...


1

The simplest solution I have found thanks to GISGe's hint is modifying only the updateParameter() method in validationtool class, adding this code. if self.params[0].value: self.params[4].value = "output" This will generate a string with the default workspace with basename, "output". I dont have to modify the python script at all. Thanks to all!!!


1

You should use arcpy.Describe() and/or the os.path Python module. For example: import arcpy, os input = arcpy.GetParameterAsText(0) output_workspace = arcpy.Describe(input).path # the file path, or geodatabase for geodatabase datasets suffix = 1 output_name = arcpy.Describe(input).baseName + "_" + suffix # the file base name + a suffix ...


1

Not sure what you mean. The only options are to "derive" a parameter, ie. when you select a featureclass as a first parameter, one of the derived parameters could be a list of fields for the second input parameter. Alternately, you can provide defaults for any parameter so that when a tool is opened, it will appear as the default option.


7

You can accomplish this in batch mode, in ModelBuilder and with Python. Batch Mode: First delete your old XY fields using Delete Fields in batch mode. Right click on the tool and select "batch". Drag the files you want to process into the dialog box. The rows will automatically update to include all of the files you are processing. Choose the XY ...


0

If I understand your question correctly, the following workflow could be an alternative. Create sets of non-overlapping polygon either by code (see this discussion) or manually (run 'zonal statistics as table', identify the zones that have not been calculated and separate them into a new layer. Repeat with the separated layer to find more potential ...


1

You should not need to write the temporary rasters on disks. arcpy optimization is quite obscure to me, but not writing the feature class should help. In fact, you should be able to use geometry object directly for the clip for row in rows: # Execute ExtractByMask outExtractByMask = ExtractByMask(inRaster, row.getValue(shapefieldname)) ...


-2

I think this post may help you http://www.arceyessoft.com/bbs/thread-14-1-1.html


0

The problem appears to be that you're attempting to insert values from your SELECT into a string, but instead are specifying the columns as part of the string literal, rather than constructing the string from the selected values. Try this: UPDATE addresses SET nearest_node_id=(SELECT gid FROM roads ORDER BY geom <-> ST_GeometryFromText('POINT(' || ...


1

I just opened the same Package Layer (Data Management) tool using ArcGIS 10.2.2 for Desktop and when I browsed to locate a place to create my Output File it set the name to C:\temp\testFolder\test.lpk as expected. Consequently, so I cannot reproduce what you are describing. I think the cause of your ERROR 000814: Invalid file type is that you have not ...


0

It depends on the type of analysis you are planning and how irregular your cells are. Anytime pixels are forced to become square, some amount of resampling and deformation is going to take place. You would need to provide more information about the satellite sensor your data originated from and what you're going to be doing with it in ArcGIS before I could ...


1

The short answer is no - the question is basically about automated feature extraction from imagery. Some of the data that goes into the quad sheets is available as vector data. The National Hydrography Dataset is where you'd start looking. You can grab the point layer, which has stream guages, dams, and 'other' (including seeps/springs) from the National ...


2

If the extension were installed but not enabled you'd see a padlock symbol, not a red cross. If a model or script tool has lost its reference you would see such a symbol and you'd need to fix the reference to the tool/model location. See the 10.2 Desktop Help article: Repairing a model


4

You can easily achieve this using the spatial query plugin. First you select all polygon features that intersect the lines layer. Then you can delete the selection


1

The step-by-step answer can be found on pages 11 - 12 of the tutorial pdf found in the template. A new toolbox has to be created manually, with the tools added from the main tools list.


2

Use the Select Data tool on the result of the Solve tool. It will allow you to get at what you need: The Select Data tool selects data in a parent data element such as a folder, geodatabase, feature dataset, or coverage. The tool allows access to the data stored inside a parent container, such as feature classes or tables inside a geodatabase. ...


1

I'd add my answer as a comment, but since I can't comment (no reputation enough), I'll add as an answer. It seems that you are trying to add centroid connectors to feed into a traffic assignment algorithm. Right? I should say that doing it automatically is not considered best practice in this industry, but it you are going to do it, I'd like to suggest you ...


1

The problem could be that you are defining gdbSuccessCount inside of a conditional statement if GDB: gdbSuccessCount = 0 By doing so, if GDB evaluates to false and you keep moving down the script, the variable name gdbSuccessCount will not be set. When you get down to the line if merge and gdbSuccessCount > 1:, the variable gdbSuccessCount has not ...



Top 50 recent answers are included