New answers tagged

1

What if I wanted to export the new spatial join to a table .dbf file but I want a parameter for an attribute form the polygon such as a zip code boundary. Then when I use the model it prompts me to input which zip code I want and then export only that data to .dbf.


1

Two options - If you are doing a global correlation (between all points or cells in your study area) then extract values to points and you can use the OLS tools in the Spatial Statistics toolbox. Then you can plot the residuals. You can view this as deviation from the line of fit. If, on the otherhand, you are interested in performing the correlation ...


1

You can use the Make Route Event Layer Tool to create points along the polyline. http://desktop.arcgis.com/en/arcmap/10.3/tools/linear-ref-toolbox/make-route-event-layer.htm Or with arcpy you can use positionAlongLine method on a Polyline. positionAlongLine (value, {use_percentage}). ...


0

Accidentally deleted a set of tools in my personal toolbox and just about had a myocardial infarction. IT couldn't do anything because the file was not on the network but on my C-drive. Finally settled down enough to read this and found the link posted by johns and Mapperz for HowtoGeek solution. Saved my sizzling bacon!


-1

follow this link it is helpful http://www.tzgis.blogspot.com/2016/02/how-to-avoid-arcgis-crashing-during.html


2

Try using &amp; instead of & <BOL>Country Y</BOL><FNT name="ESRI Environmental &amp; Icons"> )</FNT> Disease X Total Avian Cases: 12,345 <FNT size="8">Since: 01 JAN 2016 </FNT>


0

Find high-resolution imagery and start digitizing.


1

Also have this problem. Fiddling around with the pdf export options has no effect, problem also shows up with export to jpeg, gif & bmp. The objects that get filled with thin white lines are picture marker symbols.


1

The answer in Use Get Field Value tool to calculate field? shows how you can accomplish this. In short, use the Get Field Value help (modelbuilder only tool) on the featureclass in question. Using its output variable name, supply that as an inline variable in your output featureclass parameter. If the GFV param name was called fieldValue, your output FC ...


0

When I use Tabulate area tool in raster with resolutin 5 x 5m per pixel (EPSG: 5514 - Czech rep. Krovak East North coordinate system), the result is in square meters per zone. So it means in zone with only one pixel, result will be 25 square meters.


0

The field mapping is persisted (stored) in the mxd. If you transfer the mxd to another machine and repair data sources, the field mapping may not be picked up.


1

You might try creating a very large feature (larger than the entire layer) and then deleting it. That worked for me recently but if you can't create that large feature (because of the same error) try these steps. You may also try to do your editing in a new MXD (surprisingly this has fixed editing issues for me recently). Here was the (somewhat unrelated) ...


0

i know this is not a full on answer to your problem but maybe look into the following posts, and try the solutions given there: ArcGIS Raster Calculator fails with Error 000539 http://support.esri.com/ja/knowledgebase/techarticles/detail/41859 it seems to me that you're experiencing the exact same problem. good luck.


0

As of version 10.1 AlterAliasName() can be used to re-alias tables: table = r"C:\path\to\connection.sde\OWNER.TABLE" arcpy.AlterAliasName(table, "table_alias") As of version 10.3 Alter Field can be used to re-alias fields: table = r"C:\path\to\connection.sde\OWNER.TABLE" arcpy.AlterField_management(table, "FIELD_NAME", new_field_alias="field_alias")


2

Script based pseudocode tested 10k+ times. Go through lines and create dictionary from their end points Go through points and select ones that on the ends GUI untested Calculte points x and y Use snap editing tool to end points of the line Calculate newx newy and compare to old


2

Edit: My opinion to the question: I do not think there is a quicker way because you have to tell the computer to ignore any points that fall on the line endpoints then select intersecting lines with the remaining points. No generic tool that I know of does that function. I think you are using the simplest solution. Perhaps I'm wrong though and that is why ...


1

Just had a problem similar to the one described above. I used the buffer tool, but only buffered by a 1 inch, DISSOLVED FIELDS by "LIST" then I checked the field I needed dissolved. It worked like a charm with only a few topology errors. I know its an odd way to go about it, but it is works quickly!


1

In ArcGIS you can Erase without the exorbitantly priced License by activating ETGeoWizards in a standard ArcView license. If you right-click on your toolbar you will get a list of tools, click on "ETGeoWizards" and it will activate that tool. After opening ETGeoWizards tool, on the left hand side there are a number of categories choose the "Overlay" cat. ...


2

While in your description you put quotes around USFS, you don't in your actual code If the field "STATUS" is "USFS", I want "Label" to equal "USFS". If the field "STATUS" is not "USFS", I want the "Label" to equal "Other". USFS should be in double-quotes. The elseif fires every time because nothing equals USFS (without quotes) which is why they ...


1

I got some workaround for this question: Make a separate neatline for your data frame; make sure it's not grouped with the data frame. Modify your data frame's grid that it will have long enough ticks that'll reach the neatline. Convert your grid into graphics; all the grid's features (ticks, labels, grids etc) comes as element group - ungroup it. Now ...


3

In ArcGIS Desktop, you can access them via the Identify window:


2

Before ArcGIS 10.2 you could not rename a field using the Alter Field-tool. With 10.2. upwards is much easier to get this to work. You have to add a new field with the desired precision to your shapefile and copy all the values from the one column to the next one using fieldcalculator. Then you can delete the original column and rename the new one to the ...


0

I have this when I am working with dual screens in the office and the dialog appears on the second screen. I unplug, go home and work off my laptop screen and the dialog is still on the second screen in the ether... To get around this issue I have to delete my normal.mxt and restart ArcMap. This re-creates the mxt file with the vanilla ArcMap settings, ...


2

With most softwares, the RMSE is computed either in input coordinates or in output coordinates. For on screen georeferencing, input coordinates are usually expressed in pixels. If the pixels are used, you need to multiply this value with the size of your pixel in meter (which can be found in your image properties). In the article that you mention, this ...


5

Try to use Zonal statistic (or Zonal statistic as table if you want to have table as an output) tool with parameter MEAN if your cities are polygons. If your cities are point, you could make Buffer around them and then use Zonal statistic.


1

The bottom image has filename 'untitled' which leads me to think the user hasn't opened the existing MXD on the second computer. Symbology is stored in the MXD or in layer files, not in the geodatabase.


2

The LAS Dataset toolbar in ArcMap does not provide any automated classification solutions. The classification that is available through the Profile viewer was meant solely for the facilitation of supervised classification, where you would make a selection and assign the appropriate class code. In ArcGIS Desktop 10.4 and ArcGIS Pro 1.2, 3D Analyst provides ...


4

Esri has its own projection engine. Most projections and geographic/datum transformations methods are well-behaved when used in an appropriate area of interest. If you get too far outside of a UTM zone, transverse Mercator doesn't always 'inverse' (convert to latitude-longitude) exactly. Projections used for the whole world may have some issues at or ...


1

Some things to think about. If your example is any indicator, you are going to have over 5 million records when you are finished. Neither shapefiles or personal geodatabases will handle that very well, so you should use either a file geodatabase or SDE. Processing 48 million records won't be quick, especially when it involves a spatial selection. Perhaps ...


2

Ok, so the statement you are using in Raster Calculator simply adds up all the cell values in order to create the new raster. Example: Raster 1 = 1, Raster 2 = 2, Raster 3 = 0, Raster 4 = 0 and Raster 5 = 7 the cell value in your new raster becomes 1 + 2 + 0 + 0 + 7 = 10 I would recommend using the Mosaic to new raster tool within the Data Management ...


0

You'll need to design your workflow first, before you start model design. You'll need to figure out how to do your task before you can determine how to automate it. You'll need to post individual, specific questions. That all said, below is a proposed workflow that I came up with. It is not the only way, but it should get you started thinking. Export ...


3

Try splitting your raster into smaller parts. It seems to be really big. I just found this post: http://forums.esri.com/Thread.asp?c=93&f=995&t=225045, someone had a similar problem as you: Quote from link above: Any count exceeding 2^31-1 will therefore "roll over" into the most negative numbers; for instance, (2^31-1) + 1 will appear as ...


1

An easier but also dirtier solution that has worked for me. Don't forget to create a backup of your original data. Open the Attribute Table and Start Editing Edit any two values manually so the minimum and the maximum value you want your classification to be based on are included (remember the original values) Save and Stop Editing Classify based on the ...


1

Some idea...You can work around the problem by creating a Python add-in. Do job when Tool is clicked (or onKeyDown(self, keycode, shift) ). Next tool are triggered and do: #get extend mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd)[0] XMIN = df.extent.XMin YMIN = df.extent.YMin XMAX = df.extent.XMax YMAX = df.extent.YMax ...


0

I did this using a python script and numpy to help me with the matrix algebra for rotation and translation of every point. Here is the key function. You have to unpack the vertices from the feature, transform and reassemble the feature. import arcpy import math import numpy def trans(px,py,tx,ty,angle): ''' Rotate a point px,py around origin ...


0

Assuming that you are using ArcGIS 10.1 SP1 (or later) for Desktop I think you are better to look past os.walk and glob because arcpy.da.Walk is more spatial data aware and can: Generate data names in a directory/database structure by walking the tree top-down or bottom-up. Each directory/workspace yields a tuple of three: directory path, directory ...


4

It sounds like what you are after is Background Geoprocessing, which was introduced at ArcGIS Desktop 10.0. However, I think ArcPy only became "Background Geoprocessing aware" with the introduction of Python Toolboxes at 10.1 - see Setting "Always run in foreground" within ArcPy code?


1

What you are describing sounds to me like a Spatial Definition Query which is currently at the ArcGIS Idea stage for ArcMap. I suggest that you add your vote to it, if you have not already. You may want to submit a new ArcGIS Idea in case the existing one, which is more elaborate, does not cover the simpler Filter by Map Extent that you envisage.


2

I believe your second solution is way slower that the first one, since Clip has an inner Selection By Location plus other geometrical operations. So I suggest some improvements to your first algorithm: As per @artwork21 comment, merge the shapefiles if possible. e.g. they share the same schema. This procedure removes an extra loop over the shapefiles, ...


9

I don't know which projection engine ArcGis uses, but a very interesting question also for proj.4. So I give it a try to test the proj.4 projection engine within the GNU-R environment. I use the NAD 83 - UTM 17 corners and EPSG 26917 and reproject it 10000 and 1000000 times recursivly and calculate the difference to the start values. Here are the results: ...


7

I think the speed problem you are having is looping around each feature and using geoprocessing tools inside the loop. They are not designed for that. They expect to process the whole dataset at once. So restructure your script to avoid the loop and it should complete "within the time to drink a cup of coffee". The data is in my opinion so small that it ...


0

http://proceedings.esri.com/library/userconf/proc14/tech-workshops/tw_471.pdf Running multiple renditions of slide # 5 might be your only option if you have 20 folders and then press play. I had Bare Earth / First Returns and ARCMAP only ran them one at a time taking 2 hours for over 800 tiles. A lesson learned if you move the datasets around and see a \ ...


3

I think this is a case where you need to test your proposed workflow against some test point features, which are easy to add XY coordinate fields to. Compare the XY values of your initial points with those that you have projected/transformed (however many times), and you will have quantified the difference.


0

You might try the Editor, Copy Parallel tool to create lines the same distance apart. This would be a Polyline feature class. The Advanced Editing Tool bar has Split Polygon tool. First, Select the lines overlapping your polygon, then execute the tool. Your Polygon will be cut by each line. The lines need to extend beyond the edges of your polygon.


3

A simple model can achieve this as shown below. Note the output of the get raster property was connected to the Buffer tool using the Connect tool. Usually you would do an in-line substitution but that does not seem to work for some reason, but a manual connect does...


0

If you want to cut up your polygon into squares, one thing you could try is: get minimum bounding geometry (envelope, something with a rectangular/square result) create grid from minimum bounding geometry (check out Ian Broad's custom grid tool http://ianbroad.com/creating-quarter-quarter-section-grid-python/) convert your polygon to line merge polygon ...


0

No need to export to single bands, there are a couple of ways of adding bands to the tool directly from the original multiband dataset: double click on the raster dataset in the file dialog. click on the + symbol next to the raster name in the Catalog window in ArcMap (or ArcCatalog). If you can't see any + symbols in the Catalog window tree, click the ...


1

You can add individual raster bands to ArcGIS and process them individually. You can also break a raster into its individual bands. This questions has instructions for both: How to extract one band from a three band raster in ArcMap?


0

This answer applies to 10.3. Have you tried using the Editing tool "Split" for all these tasks? Start editing your line, select the relevant section, and then go to the Editor dropdown and select "Split". This lets you split a line or line segment into parts based on distance from start or end of the line, into equal parts, or by a percentage. You don't need ...


2

Ok, so I found a solution to my problem. I basically don't change the method described in the question. However, I add a step before step 1: Clipped the buffered river polygon layer (with a "cliff area" polygon layer, which I derived from the DEM's slope I created with the slope tool) so that cliffs have no influence on step 2 Clipped the buffered river ...



Top 50 recent answers are included