Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

New answers tagged

0

Bing, Google,HERE, mapbox, openmap tiles, are available as XYZ tile layers (URL/z/x/y.extension) if you use ArcBruTile in ARCGIS you can add standard tile servers and not just OGC WMTS TILE servers.Oherwise use mapproxy to Transform data as WMTS or WMS


0

I suppose even if there are significant changes, you can still find some common things such as river, or architecture etc which remains over the years so try to add control points. If you find common things you can easily follow: https://mdl.library.utoronto.ca/technology/tutorials/how-georeference-images-arcgis and georeference. Furthermore, also check: ...


0

You could convert your forest to vector (if it is currently raster data) and run the Erase geoprocessing tool, using your plots as the input and the forest as the erase coverage. Then, just recalculate the geometry of you plots on the output to get the area. One caveat though... this tool requires an Advanced license.


1

If you right click your layer in the table of contents, you can choose to Join data by spatial location. Alternatively, you can use the Spatial Join tool. http://desktop.arcgis.com/en/arcmap/10.3/manage-data/tables/about-joining-the-attributes-of-features-by-their-location.htm


0

So I figured it out... kinda. Seems like a work-around but nonetheless I got the result I was looking for. I performed a Union between the county layers and then created a new field in the resulting layer's attribute table. I used the field calculator and added the 3 NAMELSAD fields together. The Union operation generated some polygon slivers where the ...


3

You can use selection and Python. This may be faster. Make sure your edited feature is selected. Then use the below code in the Python window. if arcpy.Describe ("layer").FIDSet: with arcpy.da.UpdateCursor ("layer", "update_field") as curs: for row in curs: row = ("U",) curs.updateRow (row) else: print "no selection" ...


0

A better option is to change the .csv to .xls (not .xlsx) file and then add it as data. Join them by right click on the shapefile. Select the same data column from both datasets. It will join both the data, and you can visualize the data using existing shapefile.


0

If you cannot change your group policy and are using 10.5 or earlier a temporary workaround is to expand out the symbology for any single band rasters that have a stretched ramp. See ESRI BUG-000102749 here. This fixed the crashing for four of my users.


1

You need to re-run Point Density and in the tool environment setting, set the output extent and snap raster to "Raster A":


1

The answers proposed are really time consuming. If you want to transform the symbology of several rasters, I strongly encourage you to try the following toolbox. It works like a charm! https://github.com/USGS-Astrogeology/ArcGIS_Plugins/tree/master/CopyPasteRasterSymbology_toolbox


1

If it is not already a separate layer, separate Current Inventory from Previous Inventory using definition queries to create 2 layers. Use the Labeling toolbar, Label weights button to give the Current Inventory layer weights of a big number like 1000. That should push the other label away, however, it may have trouble placing it. It is hard to duplicate ...


0

If you can handle a tiny bit of inaccuracy on the boundaries defined by existing lines, you could use the following method. Note that the boundaries defined by existing polygons would remain perfectly accurate. There is also some potential to "fix" the inaccuracies afterwards (see the note at the bottom). Create a feature class containing all of the ...


1

If there are no overlaps between the two feature classes, then you can use merge. However, there could be some cases where features of A are covered by B. Then the easiest way is to use the "Update" tool (updating B with A) but it is only available with an advanced licence. Alternatively, this can be done with the "union" tool and then you will need to clean ...


1

You want to "Package Map". This will bundle up all the layers into a single file you can send someone and they can then open that and work on it, essentially from the same state you left it when you made the package. There is both a Geoprocessing Tool and from the File Menu > Share as > Map Package option. You can read more about it in the Help page on ...


0

Take a look in your project properties and check if there is a ellipsoid set (different from None/Planimetric). In case there is, all the calculations will be made using it.


0

If you're not doing any analysis with the raster after erasing or clipping out the section covered coincident with the polygons you can just cover/hide it by layering it all correctly in your table of contents. I assume the background color of your dataframe is white (if not, just check what it is in the data frame properties). Make your polygons white (...


1

If you don't get any geographic/datum transformations, that usually means we couldn't recognize either the input or output geographic coordinate reference system. The geographic/datum transformations contain the input/output geographic coordinate reference systems. While a person can tell it's WGS 1984 being used by Web Mercator or that the state plane zone ...


1

Add a field to your polygon attribute table Select the features/rows you want to be 0 Calculate as 0 using Field Calculator Switch selection and calculate as 1 Clear selection and convert to raster using Polygon to Raster tool


0

Right-click the layer in the ArcMap Table of Contents and choose Properties. Then click the Symbology tab. Then follow the instructions here: Using Unique values to display categories This will visually display the data categories in the data frame.


0

The ObjectID wasn't found in my feature, because when querying the featureclass prior to viewing the features, I removed the objectid from the subfields list. Added it back in and it worked fine.


0

Ok, so I got it working arcpy.SelectLayerByAttribute_management("buffcut", "SWITCH_SELECTION") I needed to wrap buffcut with "". I thought setting it earlier on was the correct method but apparently not!


0

The model I posted in my original post now works. Originally it just the Add Field tools that caused it to crash. For whatever reason it now works. It must have been a network issue. The other solutions provided in this thread were a big help. Below are the parameters for my Fishnet tool. I only fill out output feature class (the fishnet) and the extent ...


0

The method suggested in the comments by csk works for cleaning the geometries I created the errors in the below image using ArcMap 10.6 by simply moving vertices and placing them back on their original location. In QGIS the topology checker reports these overlaps. Using snap geometries to layer from the processing toolbox resulted in a shapefile without ...


0

create a buffer around each point then use spatial analyst with the buffers. If you want a square (but I think that a circle is better anyway), then you can use "minimum bounding rectangle" around your circle. On the other hand, your field moisture values seem very heterogeneous, so taking the average would not be very useful. I would rather try to make sure ...


0

What worked for me was setting the primary display field to the field I wanted to classify values by, then removing and re-loading the raster to the map.


3

Looking at your image you are accessing the geodatabase from within MS Access? That is a real no-no! You can easily (if you have not already done it) corrupt the database. You must only interact with a personal geodatabase from within ArcMap to ensure data integrity. You create personal geodatabases from within Arcmap, you cannot simply convert an existing ...


0

I changed the method finally; I found out that relational databases are not the most adequate and appropriate solution on ArcGIS (in my case at least). I created a large table combining the data of all my previous tables (with arcpy.Merge_management()) and added the dates with the arcpy.AddField_management(). It's much easier and it's feasible in one python ...


0

NCAT contains several countrywide transformation files between NAD83 (1986) and HARN because it's using NADCON5 files. The files in ArcGIS are the older NADCON files which were built for individual states or a small group of states. NCAT/NADCON5 also differentiates between different HARN re-adjustments that were done in the various states. The older ...


1

I would use the Advanced symbology tool Symbol Levels as discussed a bit here: [How to force polygons to the bottom, without compromizing drawing speed? Go to Symbology tab, Advanced, Symbol Levels. Click on the use symbol levels box, then move the polygons up and down to control drawing order. However, if you have a lots of ones needing to go back because ...


1

You'll want to extract the raster value for each corresponding point. You can use the Extract Values to Points tool. From the documentation: Extracts the cell values of a raster based on a set of point features and records the values in the attribute table of an output feature class. If you want to create a scatterplot in ArcMap, you can go to View > ...


1

If snapping to an existing vertex is you problem than you want the snapping toolbar and enable vertex snapping. There are three ways to do right angle line segments. Use the right angle tool from the editing toolbar. You can just use the perpandicular constraint Or you can use the angle and length


2

I would not class this as an advantage of using a feature dataset over other types of workspace. When you Start Editing in ArcMap what becomes available for you to edit is everything in a single workspace. A workspace may be a folder (of shapefiles), a geodatabase or a feature dataset within a geodatabase. This is documented in About edit sessions where ...


1

This workflow will create mid points of edges between polygons and delete outer ones called "LINKS": arcpy.FeatureToLine_management(in_features="PGONS", out_feature_class="C:/SCRATCH/OUTLINES.shp", cluster_tolerance="", attributes="NO_ATTRIBUTES") arcpy.Dissolve_management(in_features="OUTLINES", out_feature_class="C:/SCRATCH/edges.shp", dissolve_field="", ...


1

When the same thing happen with excel file (seem to be most of the time...) my solution is to export the excel to a geodatabase table then do the join with this table. If there is something wrong with your DBF the export will fail (with excel it's usually the field name that are problematic : contain forbidden characters or reserved name or start with a ...


1

You are correct. The If Field Exists tool is a tool that is in ArcGIS Pro but not available for ArcMap. If you need to do something similar then a workaround is documented in the ArcMap help as Using If-Then-Else logic for branching, and it is the subject of at least one Q&A here: Using Python Script tool in ModelBuilder to check if field exists, if ...


0

This turned out to be trivially simple to do by adding a combo-box to my existing Python Add-In (as suggested in comments by @user2856). The combo-box gets initialised to contain the names of whatever tools are currently in the toolbox. Here's my initial simple implementation: class ToolSelector(object): """Implementation for CustomStuff_addin....


1

I recommend that you train your users to use the Search window to find and access tools. As documented in A quick tour of creating custom tools: Tools you create are called custom tools and become an integral part of geoprocessing, just like system tools. You can open and run any tool from the Search or Catalog window, use it in ModelBuilder and the ...


2

For a many to many relationship you will need 3 table, the firs with the parcel info, the second with the owner info, the third one list all parcel ID / owner ID relation. This third table need only two column one with the parcel ID, the other with the owner ID. This page from ESRI has a short explanation on how to set it up. More info on the third table ...


1

If you have the Spatial Analyst extension, you could use the Flow Length tool to create a flow length raster. Then calculate the difference between the flow lengths of each pair of points based on which cell of the flow length raster they coincide with. (Of course you would need to be sure that both points in the pair are on the same stream).


2

I suggest you use the AddFieldDelimiters function to build your where clause, as according to the data source you're using, the way you build your clause might differ. Try using something unambiguous like: Min_Speeds = 100.0 arcpy.SelectLayerByAttribute_management(Phase2+"_layer", "NEW_SELECTION", """{0} > {1}""".format(arcpy.AddFieldDelimiters(Phase2, "...


2

You are trying to treat a spatial dataset as if it is a normal file so you are accessing properties that are not appropriate (i.e. os.path.basename). I would use the Calculate value tool but you could easily adapt your existing script if you wish. The Calculate value tool is set up as: You would change the parameter highlighted in red to what every you are ...


2

In the ArcGIS toolbox, go to Data Management --> General --> Merge. For the inputs, select your two previously clipped shapefiles, and they will merge as one layer. This merged layer will appear on the legend. Make sure you remove the two clipped files from the legend to avoid overlap.


1

I use 10.6 and export as *.txt file. When I go to the file with explorer, I have a prj-file with the same name which contains the projection-information. My ArcMap also recognizes the *.txt as raster with projection. I am not sure if that is new in 10.6


0

@user143232 assuming you are running a script tool which it sounds like you are. Once you get your script to work in the python window you need to very carefully design the front end. I just had the same problem. Make sure you order them in the front end the with the same reference number in the script. Make sure the data type is the same.


3

The following model runs perfectly fine: The output fishnet contains the field needed:


2

It seems that you're trying to replace the Normal.mxt file with something customized, similar to this question. Normal.mxt is what you see as "Blank Map" upon opening ArcMap, and is the default template chosen if you cancel out of the Getting Started window. Unfortunately, creating and editing .mxt files has been disabled since the update to version 10.x. ...


2

You've described a system that is working exactly as designed. Replication works within the geodatabase versioning framework to identify changes that have occurred within the parent, and to push those changes down to the child. The problem is that you are not using the system as designed. When you make manual edits to the Oracle enterprise geodatabase via ...


Top 50 recent answers are included