New answers tagged

0

The ability to preserve attachments has been added as a new feature for many tools. This is planned to be in the 10.5 release, but is currently in the 1.3 release of Pro! Pro 1.3 - http://pro.arcgis.com/en/pro-app/get-started/whats-new-in-arcgis-pro-1-3.htm A new environment, Maintain Attachments, allows you to enable and disable the transfer of ...


0

Using it as-is (other than a different path to GDB) I had no issues running your code. import arcpy as arc #arc.env.workspace = r"I:\\folder\\FGDB.gdb\\" arc.env.workspace = r"D:\\temp\\SE\\Time.gdb\\" for fc in arc.ListFeatureClasses(): #outfc = "I:\\folder\\FGDB.gdb\\" outfc = "D:\\temp\\SE\\Time.gdb\\" arc.ConvertTimeField_management(fc,"...


1

Click the "Add Layers" button, browse to your shapefile, select it and click "Ok".


0

There is a great article on GIS Stack Exchange regarding this. It takes you step by step as to how to extract the spatial reference in XML. The title of the document is "Exporting Data to a File Geodatabase using Trimble GPS Pathfinder Office". Basically using ArcCatalog, right click on the geodatabase with the spatial reference you desire, export to XML ...


2

Unfortunately ArcMap doesn't work the way you describe. To create points using X/Y values you probably have three options: Create another table in your File Geodatabase (including the XY column) and populate that table with the records you want to add, then you can use the Add from X/Y function to create a new events layer. This could also be done from ...


3

I do not know of a way to do so directly. If you only a few points, enter to editor, start editing, click "Create Features", select point, then right click on the map and select "Absolute XY". You can then input the coordinates, hit enter, and it will create the point location. You can then enter the table and input other attributes. If you have a lot ...


1

Check with which version of AutoCAD the DWG file was saved. Generally ArcGIS is not compatible with latest versions of AutoCAD, e.g. 2014, 2015. Try to save the DWG file to an older versions like 2010 or 2011 and then open that file in ArcMap. if changing version of AutoCAD is not working, It is possible that your CAD drawing ( DWG format) have a coordinate ...


3

From @Hornbydd's link above, the key section would be Attribute index names which says: In ArcSDE: Must be unique in the database Must start with a letter Cannot contain spaces Cannot contain reserved words but in File Geodatabases: There are no restrictions on how you can name an attribute index in a file geodatabase.


1

I think your code is almost there, however there are some escape character issues associated with your use of the paths to your data. Perhaps try the following: import arcpy import os from arcpy import env env.overwriteOutput = True env.workspace = "C:\\EsriPress\\Python\\Data\\Exercise06\\Results\\NM.gdb" #env.workspace = r"C:\EsriPress\Python\Data\...


0

This did not work for me for OS X 10.11. Glad I found this: The gist of it: brew tap osgeo/osgeo4mac Download FileGDB API for http://appsforms.esri.com/products/download/#File_Geodatabase_API_1.3 and place it in Homebrew Cache Directory brew install gdal-filegdb



Top 50 recent answers are included