Tag Info

New answers tagged

1

It looks like it is complaining about a path name to the table that contains a file geodatabase name shell_ele.gdb twice. It seems unlikely that you would store a file geodabase inside a file geodatabase folder so I would say that either the message that it does not exist is accurate, or if it does exist at that location then it is an unsupported pathname.


1

Assuming that you are using a recent version of ArcGIS for Desktop, and I have not tested, but you should be able to use the Excel To Table tool to do this: Converts Microsoft Excel files into a table. I frequently use fields of 4,000 characters in file geodatabase tables and feature classes.


0

Technology: A combination of GeoServer, Openlayers & Oracle-spatial should work for you. If you want to cut-off licence cost, then PostgreSQL is a good option. Functioning For different-2 needs of spatial analysis, you can create functions/procedures in Oracle-spatial and then display data in browser using Openlayers. Geoserver works as GIS server, ...


2

A BLOB field is simply a field that stores data in binary. From Wikipedia: A Binary Large OBject (BLOB) is a collection of binary data stored as a single entity in a database management system. Blobs are typically images, audio or other multimedia objects, though sometimes binary executable code is stored as a blob. Database support for blobs is ...


4

You can access the feature extent of a feature class by using the Describe function import arcpy, os fc = r'C:\path\to\your.gdb\fc' desc = arcpy.Describe(fc) xmin = desc.extent.XMin xmax = desc.extent.XMax ymin = desc.extent.YMin ymax = desc.extent.YMax print "xmin: %s \nxmax: %s \nymin: %s \nymax: %s" % (xmin, xmax, ymin, ymax) You can change the ...


4

There is a GeoProcessing tool called Compact that will compact file or personal geodatabases and can be used within a model or called by an arcpy script.


3

I have assumed following: For your feature-classes in mdb, "_ATTACH" suffix is used for only attachment table. You can further customize this code. This code needs to be run after all featureclasses (except attachment tables- this script will create attachment table and load relationship classes from the respective table from the mdb into gdb) are moved ...


3

That is strange, your code should work. I can get this info just like you tried: >>> gdb = r'E:\HamiltonCo\Soil_Library\AgLand_Adjustment\CSR_AgLand.gdb' >>> desc = arcpy.Describe(gdb) >>> desc.release u'3,0,0' >>> desc.currentRelease True >>> If you are still having issues here, there is another Python ...


0

I have created a tool (Multiple Field Key to Single Field Key Tool - Relate Two Layers Based on More than One Field) that will match multiple fields where each field in one table/feature class has a corresponding match field in the other table/feature class. It creates a new Long field in each with a number that represents each unique value in the set of ...


2

You are not giving a whole lot of information here... What version of the ArcGIS Editor for OpenStreetMap are you using? The latest version has seen some major improvements in terms of processing speed, and added much better multipolygon handling, meaning you get more accurate and better polygon output, close to what osm2pgsql achieves. Still, especially ...


2

The following script converts all of the feature datasets and feature classes of a personal geodatabase to a new file geodatabase. import arcpy, os # Set the in and out workspaces inws = r'C:\temp' outws = r'C:\temp\outws' # List the Access Databases arcpy.env.workspace = inws mdbs = arcpy.ListWorkspaces(workspace_type = "Access") count = 1 for m in ...


3

Assuming that your code is working OK to create file geodatabases with the same names as your personal geodatabases, I think your next steps should be to: use ListDatasets to produce a list of feature datasets in your Personal Geodatabase, and then use Create Feature Dataset to create new ones with the same names in your File Geodatabase.


0

If you do have access to ArcSDE, then all of your conversion can be done within the ArcGIS Desktop/Arcpy kit of tools. For example, in ArcCatalog you simply right-click the feature class in your file GDB and select Export/Geodatabase (single or multiple items). If you are not afraid of scripting, I would recommend pyodbc. You can use a da.SearchCursor to ...


1

i had a related problem/question some 3 months ago (see: qgis 2.8.1 arcgis filegdb incomplete list in win-version) a few days ago i've switched from 2.8.x to 2.10.1-Pisa hoping to get rid of the file geodatabase issues discribed in my question. unfortunately without beeing successfully. what i've figured out since then is: there still seems to be a ...


0

As said above it is possible to use a script method. One note of cautious though . Are you sure the data is not being used by any other Mxds That are outside the folder you run the script on . If you re point the data to a new guy and then delete the old one . This will cause broken links


3

You could use python/arcpy for this. Use os.walk method to find all .mxd files within directories/sub directories. Next, iterate through mxd and generate a list of layers (using for lyr in arcpy.mapping.ListLayers(mxd)). Use dataSource property to list source paths of layers and .find method to find old database name in path string. Use if conditional ...



Top 50 recent answers are included