Tag Info

Hot answers tagged

6

I ran ArcGIS Desktop 10.3 on the Windows 10 Technical Preview for a couple months, over several different builds of Windows, and everything worked fine (I was on the "Fast" ring). I wasn't using it intensively but I didn't encounter any problems. However, I stopped using the Windows 10 Tech Preview around July 1 and went back to Windows 7, so I have not run ...


6

Here is the arcpy version of zoom to next feature. You may run this in your ArcMap python window: mxd = arcpy.mapping.MapDocument("CURRENT") # currently opened map doc df = arcpy.mapping.ListDataFrames(mxd, "Layers") [0] # define layer you want to iterate and zoom on for lyr in arcpy.mapping.ListLayers(mxd): if lyr.name == 'myTOCLayerNameHere': ...


5

A bit explanation why the OP's function is not working: f1 = a string list= a list When you are iterating over the list, for each member of list you will get either positive or negative response. So your list has nine members; you will get nine responses(+ and -). Then what the calc function will return, whole nine responses or one? Of-course python ...


5

First part is the AddIn, the real work is done on a form: Inherits ESRI.ArcGIS.Desktop.AddIns.Button Private pForm As fFeatureInspector Public Shared IsFormLoaded As Boolean = False Public Sub New() End Sub Protected Overrides Sub OnClick() 'My.ArcMap.Application.CurrentTool = Nothing If Not IsFormLoaded Then pForm = New fFeatureInspector ...


4

Thanks to Chris W., we were able to find a solution to the problem. In ArcGIS Pro, the coordinate system in ArcGIS Pro for scenes does not initially conform to the layer coordinate system as it does in ArcGIS for Desktop. In ArcGIS Pro you have to specify a coordinate system manually. When a new map or scene is created, the default coordinate system is WGS ...


3

Use the Right Function Right( [textField], n ) (where n is the number of characters) eg: Right(“abcdefg”, 3) = “efg” This is pretty handy for learning how to use the field calculator http://www.esri.com/news/arcuser/0405/files/fieldcalc_1.pdf


3

This is a reasonably simple problem to solve in ArcGIS. Open the Shapefile (it's not a "raster shapefile" btw; there's no such thin). Add two fields to your shapefile. One for Lat, one for Lon. Both should be of type Float or double. Populate one of these fields with the X, and one with the Y value for the point. (Using "calculate geometry"). Now, create ...


3

This is how you can use raster calculator to find "safe area" (note: basic analysis) using ArcGIS 10.2. Load your DEM into ArcGIS Desktop [] Open Raster Calculator and enter the conditions that you want to find. In the example below, I want to find areas of elevation from the DEM that are equal to or greater than 186m (186 is the level that my flood ...


3

There is no minimize button and I think it is not necessary. At 10, dockable panels were introduced. Once you dock the dockable window, there is an autohide button (which emulates minimize button) to let you hide or show the dockable windows on demand. Update To address Micheal's comment:


3

You could just check if your field value is in the remove list: def remove_zero(field): remove_list = ['01ST', '02ND', '03RD', '04TH', '05TH', '06TH', '07TH', '08TH', '09TH'] if field in remove_list: field = field.replace('0','') return field else: return field Then you'll want to do: remove_zero(!FIELDNAME!)


3

In this case, the same thing could be accomplished with !FieldName!.lstrip("0").


3

You can force all labels to display by changing the placement properties. Go to layer properties > Labels Tab > Placement Properties > Conflict Detection and tick on Place overlapping labels It will look a mess when you zoom out but then you get all labels.


3

The EPSG: 3857, WGS 84 / Pseudo Mercator in QGIS is called WGS84 Web Mercator (Auxiliary Sphere) in ArcGIS. You are simply not using the right projection.


3

You can try the Sort Tool. It can be used to sort by attribute, or more importantly for you, spatially. It allows you to pick which corner (i.e. upper right) to give priority when sorting.


3

Yes. Data Driven Pages were introduced at ArcGIS Desktop 10.0: Data Driven Pages allow you to quickly and easily create a series of layout pages from a single map document. A feature layer, or index layer, divides the map into sections based on each index feature in the layer and generates one page per index feature. arcpy.mapping was also ...


3

here is an intro to geodatabases http://www.acct2day.org/wp-content/uploads/2014/04/Geodatabase-an-Introduction.pdf http://help.arcgis.com/En/Arcgisdesktop/10.0/Help/index.html#//00050000000r000000 and to answer the final question, no you do not make a new one each time you make a new file (if i understand your question correctly)


3

An .mxd file specifies one particular way of rendering some data. The .mxd file references your data (by file name, by IP address, by URL, etc, depending on the data). But it does not contain the data. In the ArcGIS world, an .mxd file is often simply called "a map". (The acronym "MXD" stands for "map document".) And yes, you can create as many ...


3

One way of doing this is cloning the layer, using definition queries and labelling them separately, using upper-left only label position for the first layer and lower-left for second. Add THEFIELD type integer to layer and populate it using expression below: aList=[] def FirstOrOthers(shp): global aList key='%s%s' ...


3

Below is a partial solution, I'm sure some whizzy person can step in and finish this? This goes into the Advance label expression. Its not very efficient hence me asking about the number of points in your dataset. So for each row that gets labeled it builds 2 dictionaries d where the key is the XY and the value is the text and d2 which is the objectID and ...


3

The topic that I think you are looking for is Linear Referencing and, to perform line-on-line overlay, the tool to use is Overlay Route Events. I recommend reviewing About overlaying event data: Overlaying events is another way to create new event data. This process combines two input event tables to create a single output event table. The new ...


2

It only took ESRI five years to realize that killing off ArcScripts was one of their more stupid decisions....ArcScripts was easy, simple and just searched for what you wanted...it was one of the things that made ESRI products the best. Trying to find anything on ArcGIS Resource Center was always a nightmare. Now it's back! New Beta here: ...


2

I would recommend using an image classification algorithm such as Maximum Liklihood rather than thresholding a single spectral band. This way, you will be able to leverage the information in all of the spectral bands, rather than a single band--thus increasing the accuracy of your classification. If you are working with 4-band NAIP, I would recommend ...


2

To simply state your problem, you have one set of points with a value but those points/values apply to both ends of a line; you want to add two different point values as separate attributes to one line. There are (at least) two ways to do this. The first is to extract the start and end nodes of all your lines as points. Since you have an Advanced license, ...


2

Yes, the location central meridian will change the pattern of distortions in most map projections. In the polyconic projection the length of the central meridian is correct, and also along latitude lines (which are not straight). The latitude of origin doesn't affect the pattern of distortions, but only sets the Y (Northing) = 0 location. For China, if your ...


2

Arc2Earth Arc2Earth was designed to provide a “bridge” between ArcGIS Desktop and other GIS solutions—such as those from Google, MapBox and CartoDB, as well as other Esri solutions. Arc2Earth is simple to install, simple to use and simple to integrate with your existing GIS. However there is pricing, but its a good integration between the two. ...


2

Thanks for your feedback. I solved this by creating a second polygon around the entire raster extent, to which I assigned a value of zero. Previously, the shapefile only contained a single polygon, hence the cells outside of it had no value. Thus, the new shapefile and raster contain a value of 7.5 at the polygon and 0 elsewhere. (PS I am relatively new to ...


2

I think another way of doing this is to just add the text file to ArcMap, display by x,y coordinates, and join to your to your original shapefile. You can then export the resulting shapefile (or just the table) as whatever you want.


2

This error seems to occur with a variety of processes and tools, usually involving larger datasets, from what I have seen on some esri forum threads. the help file for the error suggests turning off background processing, as this is where the problem occurs (http://resources.arcgis.com/EN/HELP/MAIN/10.1/index.html#//00vp00000024001143).


2

Do you have the Data Reviewer extension? The Data Reviewer allows you to "Browse" through all features with the simple click of the "Next" button (zooms to both spatial location and attribute table record). There's a lot more functionality to Data Reviewer aside from this (such as flagging errors as "fixed", "marked" etc. and running batch jobs). Just an ...


2

I set the data frame projection to WGS84 Web Mercator (Auxiliary Sphere) as suggested by Nahas and this didn't change the end result. However looking at the previous thread supplied by Vince (QPJ files on ESRI software) the answer at the bottom suggested deleting the prj. and .qpjs files then bringing the data in. I did this, assigned projection to WGS84 ...



Only top voted, non community-wiki answers of a minimum length are eligible