Tag Info

New answers tagged

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


0

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


1

This code is pretty simple, but it should work for what you want to do. Again, in the time it took to write the code, you could rename the featureclasses by yourself, but the logic works if you need to scale it up to a larger number. import arcpy from arcpy import env # Set Output Geodatabase Name outgdb = "C:/workspace/outfc.gdb" #Set Range to cycle ...


0

the geodatabase is composed of feature classes. your mxd (which is your map) is simply a visual representation of the geodatabase with symbology, extents, labels, etc. if you want to create a copy of your GDB there are several options but the easiest is to just go into arc catalog and create a new gdb, then load your feature classes into it. there are ...


1

This is a broad question. Here is my generic answer for ESRI (sounds like you are using ESRI with a FGDB): find an ArcGIS tutorial. Best place for (structured) ArcGIS tutorials You do not have to start with a GDB at all, in-fact if you are using ESRI then a shapefile is easy enough to start with. And yes, one MXD can and usually will have data from ...


0

You can not store feature classes outside of a Geodatabase, feature classes/databases can only exist within a geodatabase. You can store layer files independent of a gdb, but a Layer file does not hold any spatial data, it is only a reference to a featureclass/shapefile, usually used to store the symbology that you have assigned to one such feature. If you ...


0

The right answer is here: I forgot points 3 and 4. support_esri_33027


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)


0

There is a solution to this referenced using a python script to run this bulk conversion: Conversion Solution Using Python For the most part this looks outlined fairly well, and for any bulk processes (which it seems like you are doing a lot of bulk processes with bouncing between GIS and other software) python is very useful. I would look into this any ...


1

Below is the code you require: import arcpy xls = r"C:\Scratch\Book1.xls" table =r"C:\Scratch\tempxls.dbf" arcpy.ExcelToTable_conversion(xls,table) with arcpy.da.SearchCursor(table,["Feature"]) as cursor: for row in cursor: fd = row[0] print "Creating FeatureDataset: " + fd ...


2

County and Parish are no longer part of legal descriptions of land. The do still feature on survey plans and property contracts, but more so for historical reference purposes. Parish boundaries were drawn on Parish Maps which were fairly small scale and paid little (if any) attention to features outside the boundary. Here's a sample. You can find others ...


2

After taking @PolyGo's suggestion, I contacted QSpatial regarding if a parish boundary dataset exists for Queensland (Australia) - this was the response: "Parish names and boundaries are actually historical information. Parish mapping and the parish information in the DCDB has not been maintained for many years. Unfortunately as the parish boundaries are ...


2

You should be able to get this from the Queensland Spatial Catalogue (QSpatial). The Cadastral (DCDB) datasets, at least for each Local Government Area (LGA), have a field for PARISH, which can be used to dissolve them out. The only catch is that there will be gaps in the dissolved parishes that represent the roads. I think that it is quite likely that ...


1

File geodatabase dates are actually numbers in the underlying database, with days being the basis for whole numbers. Therefore the expression would simply be for event date field values that are greater than or equal to the current date minus 2 days or for event date field values that are greater than the current date minus 3 days. DATE >= CURRENT_DATE - 2 ...



Top 50 recent answers are included