Tag Info

New answers tagged

0

It appears as others experience similar issues with Multipatches and Extrude between. Unfortunately, without 3D Analyst license, I can only add comment to this question, not specifically provide an answer. From ESRI Geonet Nov. 2013: the enclose multipatch tool unfortunately yields bad results. I have a multipatch FC created from an extrusion between ...


2

I suggest you use the line feature as the "observer" input for the Viewshed tool. I think this is a simpler method than trying to generate points 10m offset from the line feature and then use Viewshed on that set of points. If an observer can see part of the line, then that point on the line can see the observer, and so we can use them interchangeably. The ...


2

You are coming up against an ArcPy software limitation. Although you cannot create a GraphicElement from scratch, as long as you have one graphic element present in your layout (even if it is placed off the page), then: Existing graphic elements can be cloned and deleted. This capability was initially added to support the creation of dynamic graphic ...


0

You seem to be encountering NIM099128: Converting a Map or Layer to Key Markup Language (KML) when a layer has a formatted label expression; the expression displayed in the KML is not what is labeled. The only workaround listed is to: Format the labels through the standard label symbology, and not by using an expression. The problem seems ...


1

ArcMap is not comparing each geometry with every geometry, just those identified by the spatial index as being "nearby," but that's enough. There does not appear to be any way to control how the program flow operates from outside the tool. I whipped up a shapefile with 100k circles 1.0 degrees in diameter and randomly distributed, snapped to a 0.25 degree ...


3

If you have spatial or 3D analyst, you can interpolate between your contour lines, using topo to raster or TIN (TIN is only available with 3D analyst). Then you run "extract value to point". If you don't, I recommend you to try with another software (e.g. QGIS, GRASS...), but if you need a quick and dirty solution you can use spatial join to extract the ...


2

as much as I noticed from working with GIS data I noticed that CPU speed seems not to be the limiting factor (I have a AMD Phenom II X6), but the I/O performance of the disks (currently WD Blue) as well as working memory (i have 16 GB). What I'm doing mostly is importing OSM-data to a PostgreSQL database and use this data for simulation purposes. The ...


1

Clip (Data Management) preserves the raster attributes. You can specify the bounding box in a scripting environment too. For example, from the ESRI documentation: import arcpy ws = r'C:\temp' #workspace fc = r'C:\path\to\featureclass inRaster = r':\path\to\raster.tif' outRaster = os.path.join(ws, "outRaster.tif") # Create bounding box from polygon ...


1

If I have understood your question correctly you have created a raster which is an NDVI of your area of interest and you want to create a graph of area versus NDVI value, is this correct? Your NDVI raster will be of type float and with therefore not have an attribute table. You could multiple this up by say 1000 to move the decimal place and convert to an ...


3

There's a workflow that I sometimes use for this, but it's not that straight-forward. Create a point FC and, with the use of F6 manually enter coordinates for the points where you want to extract values from your raster. Run Extract values to Point on your points and raster (requires Spatial Analyst). Extracts the cell values of a raster based on a ...


0

Create string field STRX=int (shape.centroid.x*100) Similar STRY NEWSTRINGFIELD=STRX &STRY & COA Summary statistics on FID - first, NEWSTRINGFIELD as case field Join summry table to parent using NEWSTRINGFIELD Query FID does not equal first.fid. Selected records highly likely duplicates


0

What I worked out was: Create a multipart feature made up of all the buildings in each area. Buffer around these features and dissolve to create blobs around the buildings Union with the original boundaries each blob now has two boundary id values (its originating area, and its location) Delete blobs were the boundary id values are not equal This method ...


0

Once you've done your edits, you could run a model with the following tools: 1.Copy Features. Copy your shapefile to a feature class. This will allow you to use the Alter Field tool in step 3. And it will leave your input intact so you don't have to be afraid of modifying it, and won't bother deleting the fields added in the steps below. 2.Add Geometry ...


1

You can do with arcgis project(Data Management) tool . It will convert from one coordinate system to any other. Go to arc tools and search for Project tool in Data management and give in put your vector file and give output coordinate system whatever you want based on your your requirements.


0

I don't think that interpolation between points, unless you have really good coverage will work for minerals age. It seems that proximity polygons inside individual areas will do better job. With spare coverage it is worth to consider methods developed by Hutchinson (Australian university), where cotinious raster of something helps interpolate values at XY ...


3

I recommend that you try using the Intersect (Analysis) tool with one input. According to How Intersect works (with my bolding): Intersect can run with a single input. In this case, instead of discovering intersections between the features from the different feature classes or layers, it will discover the intersections between features within ...


3

EDIT Sept. 1, 2014: I have modified the code so that it would work with any field of any type where the typical blank values for each respective type are replaced. Testing for Null values is done first and separate from other tests, since a Null will cause any of the other conditional statements to throw an error. I left out a test for a blank currency ...


1

Here's a quick script I've thrown together.. it assumes that all the data is in one feature class though it wouldn't be much to modify it to accomodate counting over multiple feature classes. import os, sys, arcpy IndexField = "RefID" # name of field to calculate ValueField = "Category" # name of field to base classes on InFC = sys.argv[1] # the ...


1

I finally figured that the culprit was my scipy installation and its incompatibilities with the numpy inlcuded with arcpy, etc. Solution: a repair put everything back in order and database connections work perfect. Now my problem is to find a working 64-bit numpy-scipy stack that does plays well with ArcGIS. For 32-bit, the official 32-bit release from here ...


3

Add an overlapping Marker Symbol line and make the Template as shown. For the marker symbol I used the Dimension Style set Solid Triangle 2 which points to the right. I resized it down from 18 points to 12 points. Now I have a question for you. For the line ends marker I tried using the dual arrows and a green circle with a dot like you showed, but the ...


0

I think that you should split the string variable in order to get a list: myList = arcpy.GetParameterAsText(0).split(";") A thread at the ESRI forum here reports that spaces in the path can produce an error, so you can .strip("'") the extra single quotes around the file path. myList = [x.strip("'") for x in myList] In addition, check the Union_analysis ...


4

Try using the .split Python function in the field calculator. If, for example, you have dog|cat, the .split("|") function splits the string by | into two parts ['dog', 'cat']. The [0] at the end of the function states that you want the first of the two items in the list. Finally, to be sure there are no remaining spaces in the rows, use .strip()


1

I don't think any GIS can globally compare to ArcGIS. But it all depends on the amount of money you are willing to spend, how/ for what purpose you will be using the GIS and the amount of data to be handled by the GIS.


0

Create 1 big rectangular polygon = extent of 1st ( no roads ) Union it with 1st layer, delete ones with FIDfirst!=-1 Explode result to single part polygon = BLANKS Calculate centroids of 2nd layer to create point shapefile with attributes of the parent, e.g. 'lake','road'. = PNTS Spatial join PNTS with BLANKS, keeping unique BLANKS id of blank ...


0

I think what you are looking for is the DROPLINE functionality which did not survive the ArcInfo Workstation to ArcGIS Desktop transition. There is currently an ArcGIS Idea to have that restored: It would be nice to have the option to drop the lines between polygons that have the same values for a specified field. This functionality used to be ...


1

This doesn't sound like an application for the raster datatype. I think what you really want is to use Create Fishnet (Data Management) to generate a vector which will overlay the other data. I would caution you about the use of such a tiny fishnet size. Unless your data is of submillimeter precision over a small area (as in an archeology dig), five ...


2

Ok, so I found the answer to my question. I could try to go on in length as to how to accomplish this task, but I would rather let ESRI do it. If you go to this link, http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s500000025000000 you will be given very specific instructions on how to do this from start to finish. It is actually a bit ...


1

It sounds like you want to read up on advanced symbology options using Join and Merge symbology options (different from Join and Merge editing, table visualization, and geoprocessing tools). Check out the article at http://resources.arcgis.com/en/help/main/10.2/index.html#/What_is_symbol_level_drawing/00s500000039000000/ I have personally never used this ...


8

Maksim already provided the answer with ArcGIS, so here is the (very similar) QGIS solution right click on your shapefile to open its attribute table click "toggle edit mode" button (a pencil) (or ctrl+E) on the right, click the icon for field calculator (an abacus) (or ctrl + I) write sqrt(name_of_field) Note that you can check "create in a new field" ...


4

Using Field Calculator, either VB Script Sqr([FIELDNAME]) or Python math.sqrt(!FIELDNAME!) under the Number Type will yield square roots. You can either calculate into a new field, or on the field itself.


1

PROJ.4 uses the position vector method for its 7 parameter transformations. The ArcGIS transformation that you're referring to uses the coordinate frame method. They use different conventions for the rotation values, so switch the signs on the rotation values and retry. General information: To change the direction of a 7-parameter transformation ...


2

I hate to be the bringer of bad news, but your current workflow is probably an inefficient way of reaching your goal. What you should check out is the Spatial Join Tool http://resources.arcgis.com/en/help/main/10.1/index.html#//00080000000q000000. It should do, I think, everything you are asking to accomplish if you set up the options right. You'll just ...


0

'Table to Table' tool will accomplish the task, as it 'Converts an input table to a dBASE or geodatabase table'.


2

If you already have some programming background then after you install Visual Studio (check ESRI documentation for the correct version of VS and .Net framework as latest version are NOT supported.) completing the Building Add-Ins with ArcGIS Decktop walk-trough is a good start. After you successfully complete this, you can start building simple add-ins by ...


1

when working at such a large scale, you should check that you are not exceeding the precision of storage of your vertices. You would not see any difference when you snap a vertex (where the stored coordinates are already "rounded"), but an edge can have positions which falls between two possible coordinates. If you are going to use this in another software ...


5

What you need to do to create a continuous surface representing precipitation is a process called interpolation. ArcMap has a number of tools to do this, based on a variety of statistical and sampling approaches. I'd recommend inverse distance weighting (IDW) as a starting point, because it's one of the simplest to use. The input for IDW is a single feature ...


1

You have almost the whole process. After selecting the features you want to have in a separate shapefile (so that they are colored like in the picture), right-click the layer in Table of contents (the list to the left), --> Data --> Export data. Choose where to save the file. To save the rest to a different shapefile, use the highlighted button (switch ...


1

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

after you buffer and dissolve with a positive buffer value, as you say, you can buffer once again with a negative buffer value and you have your background polygon. EDIT : to avoid using a large buffer (that could remove some details that you want to keep), you can first union and dissolve with the "black" layer of the streets : only small holes will ...


4

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.


2

Problem solved. I was ignorant to the fact that they're cascading so I completely trusted those auto-generated .slds. The most general rule had to come first. Thanks everybody. By the way, if someone is interested how I extracted the SLDs - I did it with the trial version of Arc2Earth. It only allows you to do that layer by layer, but at least it's ...


1

The best documentation that I have found on how to pin, dock and stack windows in the ArcMap GUI came in the What's New section of the ArcGIS Desktop 10.0 help on a page called What's new in ArcMap 10 basics in a section called New dockable window controls make it easy to arrange and organize your display: With ArcGIS 10, you can arrange the windows in ...


4

It would be better to remove the layer using arcpy.mapping.RemoveLayer. The parameters are the data frame to remove the layer from (possibly a group layer if you are trying to remove from a group) and the layer itself, this alleviates any chance of confusion: def onClick(self): mxd = arcpy.mapping.MapDocument("CURRENT") df = ...


2

Well, the answer to that really is "It depends". Both options are very viable solutions for your problem and would likely fully be able to meet your needs. However, some things you should consider when making this decision: Model Builder uses the graphic user interface of the geoprocessing tools you are likely already used to using and the parameters in ...


1

The two ways which usually works quite well for me are Histogram graphs which you can create from View menu > Graphs. Tutorial on that. Statistics window which can be opened from the attribute table. Right-click the column name and choose Statistics. If you want to create a more professional histogram, you could use external libraries such as Python ...


0

My suggestion would be to use the Raster to Polygon (Conversion) tool on each of the two rasters, using non-simplified output. You could then use each of the resulting feature classes to erase the overlap from the original line features calculate the length of the remaining end portions.


2

his will take multiple steps: Get a cursor from you selection set public static IList<IFeature> GetSelectedFeatures(IFeatureLayer featureLayer) { if (featureLayer == null) return null; IFeatureSelection fSel = (IFeatureSelection)featureLayer; ISelectionSet selSet = (ISelectionSet)fSel.SelectionSet; ICursor cursor = null; ...


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 ...


2

I recommend you complete the Building Add-ins for ArcGIS Desktop walk-through then look at some of the code snippets that are availalbe to developoers. To address your question; You need to first isolate the geometry of the feature you want to use to do the selection, locate and set the destination feature class, create a spatial filter set the initial ...


5

The maximum accuracy you can get is that of the lowest cell resolution (or largest cell size), and splitting your cells won't increase the accuracy. That's why ArcGIS uses by default the largest cell size when combining rasters. Combining rasters using the lowest cell size is misleading, it lets you think your accuracy is higher than what it actually is. ...



Top 50 recent answers are included