Tag Info

Hot answers tagged

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

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

This can be done using a text/string field. You can limit the length to 11 characters. Alternatively, if you're using ArcGIS, you can set up a range domain. The minimum value would be 10000000000 and the maximum would be 99999999999.


2

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:


1

It's quite easy to do with a small python script. You can paste the following snippet to the python console. To initialize the layer variable you can select it in the TOC and run layer = iface.activeLayer() befor running the code. layer.startEditing() for f in layer.getFeatures(): # Create X-1 new features since we already have the original for i in ...


1

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


1

Directly export to Excel file using the Table To Excel (Conversion) tool. No field name truncation and no formatting issue with numbers: Table To Excel (Conversion) Then you can easily export to a correct csv(txt) file from excel


1

Well of course you can... Using the Editor toolbar!


1

The data opens with no issue in QGIS 2.8.1. The raster contains only the coded values 1-6. These coded values are described in the metadata: Six values of ownership: 1 = Federal (Public): Owned by the federal government. FIA Codes 11-13, 21-25. 2 = State (Public): Owned by a state government. FIA Code 31. 3 = Local (Public): Owned by a ...


1

The .adf file is one component of an Esri GRID 'file', much like the .shp is one component of a shapefile. The other component files generally aren't or don't need to be accessed individually. If you can load that w0001.adf file and see the raster image, I suspect you're seeing all the data. I opened/added the file in Arc with no issue. In looking at the ...


1

Based on the screenshot you've provided, it looks like you can do this really easily by using the OID field. Those integers match the photo numbers. code block: def makeName(oid): n = 4 - len(str(oid)) return "PHOTO_{0}{1}.jpg".format(n*"0",str(oid)) expression: makeName(!OID!) Test this on a new string field to make sure it works, because it ...



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