Questions tagged [file-geodatabase]

File geodatabases are a proprietary data format created by ESRI.

Filter by
Sorted by
Tagged with
158
votes
6answers
148k views

Installing File Geodatabase (*.gdb) support in QGIS?

I have spent around 2 days to find the way to open GDB (Esri geodatabase) in QGIS (or any other open source software) but still without success. I have downloaded the newest OSGeo4W installer and ...
12
votes
1answer
5k views

Creating table containing all filenames (and possibly metadata) in File Geodatabase?

I need to create a metadata-table for all files in a File Geodatabase. Is it possible to automatically be updated with new filenames, and possibly even metadata (as created in the ArcGIS metadata ...
20
votes
6answers
6k views

How to make a GIS inventory?

My office will be seeing a big change in its GIS section. This section has been operational since the 1980's and has a huge collection of GIS data (i.e., shapefiles, raster files, data, etc) but never ...
43
votes
7answers
37k views

Choosing File Geodatabase (*.gdb), Personal Geodatabase (*.mdb) or shapefile format?

Previously, I have used geodatabases as an easy way to keep all files together rather than having dozens of shapefiles all over the place, and it is easier when finally exporting all the relevant data ...
10
votes
6answers
8k views

Working with File Geodatabase in QGIS for MAC OSX?

I understand there are programs like OSGeo4W that allow windows users to work with Esri File Geodatabases, but is there something similar for Mac OSX 10.6?
27
votes
2answers
16k views

Reading feature class in file geodatabase using R?

I have a feature contained in a geodatabase that is larger than 2GB as an exported shapefile. I need to run an extract function in R to attribute the polygons with data from a raster file. Exporting ...
18
votes
7answers
16k views

Recalculating full extent of File Geodatabase feature class?

I have a featureclass in an Esri file geodatabase. When I edit the features using the editor in ArcMap, and I delete most of my features and keeping only the ones in the middle, the zoom to layer ...
10
votes
1answer
1k views

Accessing file geodatabase (.gdb) rasters with GDAL?

I'm working on a tool that converts raster layers to arrays for processing with NumPy, and ideally I would like to be able to work with rasters that come packaged in a .gdb without exporting them all (...
2
votes
2answers
3k views

Using File Geodatabase with Null values in Field Calculator of ArcGIS Desktop 10.0?

I want to use the field calculator to get the sum of a couple of columns. The problem is that some of them has Null Values. I am not able to find a solution. I tried this Python functions: stack( !...
9
votes
2answers
9k views

Why Intersect gives ERROR 999999: Error executing function Invalid Topology [Too many lineseg endpoints]?

I am trying to run an Intersect process in arcgis 10 sp 3 with 2 file sets (aspect and slope) from up to a 1m DEM across an area of 65,000sq km. The aspect has 9,930,384 records and the slope has 31,...
8
votes
5answers
8k views

Copy file geodatabase using Python?

I am trying to copy fgdb from one path to another using Python. copy(base.gdb,dest) And got the message: Error Info: [Errno 13] Permission denied: How to fix it?
37
votes
10answers
31k views

Open Source Tool capable of reading Esri File Geodatabase (.gdb)?

I have an ESRI File Geodatabase (.gdb) file that I would like to convert to shapefile (or any other non-proprietary format). Are there any Open Source tools to do so?
22
votes
1answer
6k views

How to get size of file geodatabase feature class on disk?

Is there a simple way to determine the amount of hard drive space a feature class takes up? I feel like I'm missing something simple, but I don't recall a method that does so. You would think that ...
16
votes
2answers
14k views

How to Import ESRI Geodatabase format .gdb into PostGIS

I ran into a problem when loading a ESRI Geodatabase format .gdb into PostGIS. I have data 2.5GB GDB file. I followed some tutorials on the internet, but it seems that doesn't work out. I created a ...
6
votes
2answers
4k views

Using File Geodatabase coded domain with ArcGIS Online?

I created a File GDB and set up a domain, and the domain was assigned to a field in a feature class. The domain behaves as expected on ArcGIS Desktop (dropdown list when editing the content of that ...
18
votes
7answers
11k views

Listing feature classes with active domains?

I have an Esri file geodatabase with attribute domains defined. I need to delete some of the attribute domains but can't because "The domain is used by an attribute rule.". How might I discover which ...
10
votes
2answers
2k views

How to unit test ArcObjects with Mocking?

I'm a huge fan of unit testing, but still make use of a FGDB to grab features for running unit tests against when using the ArcObjects framework. Is anyone successfully using mocking against thinks ...
7
votes
3answers
38k views

Using String Functions (LEFT, RIGHT, MID) in Select By Attributes against a File Geodatabase using ArcMap 10

I finally (albeit reluctantly) made the switch from a personal geodatabase (pGDB) to a file geodatabse (fGDB) not too long ago. The main reason it took so long to switch has to do with how Select by ...
8
votes
1answer
9k views

Converting ArcGIS date value to string reading in mm/dd/yyyy format using ArcPy?

I am writing an arcpy tool script in ArcGIS 10.0. In a fGDB feature class, I have a Date type field. I gather that the values in the Date field are stored as long integer dates, but they display in ...
1
vote
2answers
613 views

Setting default gdb from ArcPy?

I created a new gdb by arcpy.CreateFileGDB_management('e:/Rstack', 'new.gdb') arcpy.env.workspace = 'e:/Rstack/new.gdb' But how to set this new gdb as my default gdb by arcpy, without opening ArcGIS ...
16
votes
7answers
8k views

Bulk field renaming in file geodatabase? [duplicate]

I have a file geodatabase with several hundred feature classes in it. Some feature classes have a field that got named incorrectly, and it got named "SCHEMA_FEATURECLASS_ENTITY" instead of just ...
19
votes
5answers
12k views

Read a table from an ESRI file geodatabase (.gdb) using R

I am trying to read a table directly from an ESRI file geodatabase into R. An example data file can be downloaded here. The database contains a point feature class (Zone9_2014_01_Broadcast) and two ...
6
votes
2answers
6k views

Reading Esri File Geodatabase (FileGDB) with OGR?

I have a file ending with *.gdb. I don't know what it actually is. I also don't know what to expect inside the file. I am trying to access it with ogr. I tried with ogrinfo: ogrinfo test.gdb ERROR ...
5
votes
4answers
20k views

How to replace null values in attribute table ArcGIS 10.2

I have a string field 'Oneway' with three values '+' '-' and Null showing a street accessibility, I would like to replace them with values 'F' 'T' and null as the script for Network dataset expect ...
12
votes
2answers
3k views

Is it possible to edit layers from a FGDB - File Geodatabse in QGIS?

I think I've found the answer (you can't edit FGDB's) but there seem to be few reports around that it is possible to edit FGDB files in QGIS. Can anyone advise if it's possible to setup QGIS (...
11
votes
2answers
4k views

How to get FGDB support in GDAL 1.9 without compiling?

I was hoping that I could use the 'master' (nightly-build) version of QGIS to get fgdb support without compiliing (I'm not a developer and frankly have wasted days of productive time trying to get ...
11
votes
2answers
3k views

Using Dropbox to Sync File GeoDatabases?

I've been able to accumulate a large free dropbox account and use it to Sync my GIS databases across several different PC's. I've just started doing this and havent had any problems thus far. But I am ...
6
votes
2answers
2k views

ESRI GDB Support in GDAL / ogr2ogr on Mac OS X 10.8

How do you incorporate support for ESRI's fgdb format into GDAL / ogr2ogr on Mac OS X 10.8?
4
votes
3answers
4k views

Can MapInfo Professional use data direct from a File Geodatabase?

Esri released its File Geodatabase API in mid 2011, and it seems that QGIS via GDAL's OGR FileGDB Driver added support for the File Geodatabase within about a year. By support, I mean simply being ...
3
votes
1answer
911 views

Scaling DA UpdateCursor to large datasets?

I am currently having what appears to be a scaling issue with arcpy, da update cursors, and large file geodatabases. I have a piece of code that iterates through every feature in a feature class and ...
9
votes
2answers
6k views

How to convert GDB data to shapefiles without ArcGIS?

We've got some data (supposedly it's a simple collection of points--or at least that is all we need to extract) from a 3rd party in a GDB folder (I don't know how to tell what version) but we don't ...
4
votes
4answers
2k views

How to distinguish between File and Personal Geodb workspace?

I am looking for a way - given an IWorkspace object - to check if it was created from a Personal-GDB or a File-GDB. I tried using IWorkspace.WorkspaceFactory to check if it's an instance of e.g. ...
2
votes
1answer
5k views

Assigning field value based on location without join

I'm interested in updating a field in geodatabase feature classes based on their location in relation to another feature class in the geodatabase, but without having to perform a join (and therefore ...
1
vote
1answer
2k views

Importing file geodatabase (GDB) to table of contents (TOC) of ArcMap?

I have a geodatabase with several feature dataset and feature classes associated with it respectively. I would like to create a .mxd where the Table of contents consist of group layer and each group ...
4
votes
1answer
1k views

ogr2ogr / GDAL remove features in FileGDB while in use by ArcGIS Server map service

I'm using ogr2ogr to pull features out of Oracle and put them into a File GeoDatabase. The FGDB is being used by an active ArcGIS Server map service. This is all done for performance / reducing DB ...
3
votes
1answer
126 views

Automatically updating column in feature class when another column is changed?

I have a feature class in a file geodatabase and it contains a field called [curing] in short integer type and another field called [IsPopulated] in short integer as well. What I want to achieve is ...
3
votes
1answer
1k views

QGIS OpenFileGDB compatibility with File Geodatabase?

I am trying to view an ESRI FileGDB in QGIS 2.8.1. Do I have to use "add vector layer" - "directory" - "OpenFileGDB" in order to open and view the data? Is there a way to specifically open the ...
2
votes
2answers
723 views

Split By Attributes creates no Shapefiles?

I want to create for each polygon of a shapefile a separate shapefile with the Split By Attributes tool. Input is a polygon shapefile and as split field I choose the ID. This tool works fine but in ...
2
votes
2answers
2k views

Moving all shapefiles (SHP) in MXD to new File Geodatabase (*. gdb) using ArcGIS Desktop?

What I need to do is to move all the shapefiles in an mxd into a newly created gdb, checking prj, and update mxd reference. I have ArcGIS 10 SP4, license ArcView. I studied a bit of Python and get ...
1
vote
1answer
239 views

Controlling XY Resolution on file geodatabase feature class output from Append?

This question arises from research into Appending polygon feature classes with already repaired geometry => WARNING 000442: self intersections from Check Geometry? Before running the code snippet ...
1
vote
1answer
407 views

How to Compact geodatabases in multiple directories using ArcPy?

I am trying to write a script to walk through all folders in my workspace and find and compact all geodatabases in my workspace. I feel like I'm on the right track but I am stuck. import acrpy, os ...
0
votes
1answer
331 views

Is it possible to edit a layer from Esri Personal Geodatabase in QGIS 3? [duplicate]

After a lot of research and effort I have successfully made a connection to my Esri Personal Geodatabase (.mdb file). Now I want to edit some attribute data in the attribute table of a layer... BUT I ...
31
votes
9answers
25k views

ArcCatalog says spatial references don't match between feature dataset and feature class with same coordinate system?

I have a feature dataset that is using the GCS_WGS_1984 as the geographic coordinate system. It includes a few feature classes. This feature dataset is itself in a file geodatabase that contains a ...
13
votes
2answers
26k views

How to convert data from a .gdb into a shapefile without ArcMap?

I have a .gdb folder with LOCK Files, FREELIST Files, ATX Files, GDBINDEXES Files, GDBTABLE Files, GDBTABLEX Files and, SPX Files. I want to convert the parcel data within this folder into a ...
11
votes
4answers
1k views

Performance of ArcGIS Engine using multiple file geodatabases as opposed to one?

I'm trying to decide the best way to organize my data for an ArcGIS Engine application. I am particularly interested in map display and query speed. Currently I have all of my data separated into ...
6
votes
2answers
4k views

Seeking Esri tools to design geodatabase?

There is a confusing multitude of tools written by Esri and others (some supported, some unsupported) for designing and diagramming a geodatabase. Here is an attempt at creating a definitive list of ...
11
votes
1answer
2k views

Copying file geodatabase on ftp site to local disk using Python?

There is a file geodatabase sitting on an ftp site that I would like to download with a Python script. Right now I'm thinking one way to do this is to copy the ftp geodatabase to a geodatabase on my ...
12
votes
3answers
8k views

Reading File Geodatabase using R?

File geodatabase (fgdb) includes numerous file geodatabase tables. As far as I know they exist as dbf files, but are within a Database.gdb. In ArcCatalog, the file pathway resembles C:\Users\...\...
9
votes
2answers
2k views

Building FGDB support for GDAL 1.10 on Ubuntu

Because data.gc.ca is now distributing some of its data in FGDB format (example: Plant Hardiness Zones), I would like to be able to use it with gdal/QGIS. The compile/install is not going as planned, ...
8
votes
1answer
25k views

Extracting specific values to new raster in ArcGIS Desktop?

I have a map with data stored in file geodatabase (gdb) format. As I opened it in ArcGIS 10, I see that it has data for 12 years, each year encoded in different color. How do I create 12 different ...