Questions tagged [file-geodatabase]
File geodatabases are a proprietary data format created by ESRI.
198
questions with no upvoted or accepted answers
7
votes
2
answers
2k
views
Adding support to Esri's FileGDB driver when fiona/gdal/osgeo were installed through Anaconda
Is there a way to tweak the fiona/gdal/osgeo packages installed through Anaconda so that they can be used to read/write GDB files using the ESRI FileGDB driver? The main thing I'm actually trying to ...
6
votes
0
answers
2k
views
Adding file geodatabase attachments to features using QGIS
Is it possible to add attachments (PDFs, Word documents, etc) to features in QGIS (and not via a hyperlink)?
An attachment, as in a binary file that is stored in a file geodatabase, rather than a ...
6
votes
0
answers
1k
views
How to set Vertical Coordinate system when creating a 3D shapefile?
I'm working with GDAL v1.11 and am seeing the vertical CS stripped when exporting a 3D shapefile (from oracle spatial). This is the command I'm running:
ogr2ogr -f "ESRI Shapefile" B_POINT.shp (...
5
votes
1
answer
231
views
Retaining subsecond time precision in date/time field in Geodatabase
I have a set of points (essentially tracks) with subsecond time precision, that would be useful to visualise/analyse. I have tried the "Convert Time Field" tool from string, float and double field ...
5
votes
0
answers
1k
views
Clipping file geodatabase vector layer using QGIS
I have a Vector layer loaded from a .gdb (geodatabase directory). I'm seeing my contour lines fine.
I've drawn a polygon on top of the area I want to crop on a new
layer.
I select Geoprocessing Tools ...
4
votes
0
answers
208
views
Why does arcpy.da.Walk work differently when used with file geodatabase (gdb) and personal geodatabase (mdb)?
Why does arcpy.da.Walk give different output with identical File (GDB) and Personal (MDB) Geodatabases?
Example:
I am using ArcMap 10.4.1
r'D:\SCRipt\New.mdb' is a copy of r'D:\SCRipt\New.gdb'
db =...
4
votes
0
answers
2k
views
How to install filegdb driver with GDAL in linux?
I have been working on GDAL with windows platform but now I require to shift to linux.
I have installed GDAL using
apt-get install gdal-bin libgdal-dev
pip3 install GDAL
Now i require support for ...
4
votes
0
answers
225
views
rename table/feature class in filegdb using ogr or qgis
According to the OGR SQL docs, it doesn't appear that it is possible to use and ALTER statement to rename an existing table (featureclass) inside of a file geodatabase. RENAME statements can be run on ...
4
votes
0
answers
746
views
How to delete empty feature classes in FME at the end of executing a workbench?
I have an FME workbench which uses a python parameter to copy an existing file geodatabase from one location to another and uses the copy as the writer. This geodatabase has about 50 empty feature ...
3
votes
0
answers
970
views
Duplicate Global IDs within same feature class
I received a geodatabase from a contractor and I observed there are multiple feature classes with column of Global ID type.
These Global ID type columns, when I checked data i realized there are ...
3
votes
0
answers
1k
views
Possible to drop NA geomType in readOGR?
I have a gdb file which is giving me trouble.
f = '/path/to/folder.gdb'
layers = ogrListLayers(f)
geom_list = lapply(layers, readOGR, dsn = f)
Gives an error on one of the layers:
Source: "f&...
3
votes
0
answers
243
views
Error Compiling GDAL with ESRI FileGeodatabase Support On Ubuntu 16.04
I am attempting to build GDAL in Docker/Ubuntu 16.04 for use in Postgis2.2/OGR_FDW on Postgres 9.6 beta3 using the travis.yml of the 2.1_gcc5.2_sanitize coverage branch as a guide -as there is oddly ...
3
votes
0
answers
109
views
Rename the output file ArcGIS
I am copying a tons of features from a file geodatabase to a database server. First I created an enterprise geodatabase connenction and after a database connection. In the first step I added a ...
3
votes
0
answers
345
views
Memory issue inserting a large dataset in GDB with ArcObjects
I am using the ArcObjects API for Java to load a very large dataset in a File Geodatabase in one feature class.
The whole dataset I have to load is composed of 200 datasets of 30k polygons, and I ...
3
votes
0
answers
1k
views
SAFE FME: How to iterate through Featureclasses in a GDB and write their Filename to an attribute in a separate featureclass
I have a GDB which contains raster datasets and Vector featureclasses .
Each Featureclass contains only one polygon. The Polygon represents project areas whose name is also the title of the ...
3
votes
0
answers
636
views
Using FME to extract and store data in geodatabase in different feature datasets to create seamless dataset?
Original data structure as supplied is 124 folders with identical feature data sets:
There is a common attribute in all datasets (metadata) that I need to inspect and extract the data flow for ...
3
votes
0
answers
213
views
How to update a field in one geodatabase table via a join to another geodatabase table?
I have 2 tables in a file geodatabase and I need to update a field (via ArcObjects) in the first table with a field in the first. Basically, the equivalent to SQL Server's update statement:
UPDATE t1
...
3
votes
0
answers
1k
views
Symbolizing File Geodatabase feature class with Layer File created from AutoCAD drawing?
I received an autocad drawing file which I converted into feature classes with the CAD to Geodatabase tool.
I would like to symbolize the exported data in ArcMap the same way it was symbolized in ...
3
votes
0
answers
2k
views
Why does compressed & zipped/unzipped file geodatabase give Open Failed Error opening feature class Cannot access secured data?
In ArcGIS 10.2 for Desktop, a colleague compressed a file geodatabase and then zipped it and sent it to me via email.
I unzipped it and was unable to add any of the feature classes into my map ...
2
votes
0
answers
22
views
QGIS: Create New Relationship gdb vs. gpkg
I'm looking for an option to store different relationships directly in the database. When I add the gdb/gpkg into a project the relationships should be loaded automatically too.
For a gdb I can choose ...
2
votes
0
answers
40
views
Does ArcGIS Pro have a tool like PostGIS ST_ReducePrecision?
Is there a tool in ArcGIS Pro to reduce the precision of a geometry in a dataset, similar to https://postgis.net/docs/manual-dev/ST_ReducePrecision.html?
I want to use it on a file geodatabase dataset ...
2
votes
1
answer
432
views
"The operation would change the geometry type"
I want to edit polygon features within a ESRI gdb using QGIS 3.26.2 and the FileGDB driver. When I use the Vertex Tool to e.g. move a vertex I often get the message:
The operation would change the ...
2
votes
1
answer
672
views
load gdb directory into R using simple features package
I am trying to work in R with the NYC 3D building models, specifically http://maps.nyc.gov/download/3dmodel/DA_WISE_Multipatch.zip. This is the package I use:
> library(sf)
Linking to GEOS 3.9.1, ...
2
votes
0
answers
102
views
Keep date and timestamp when converting from PostgreSQL/PostGIS to Esri File-Geodatabase using Spatialite
I use ogr2ogr to export geodata from PostGIS to SpatiaLite like follows:
ogr2ogr -f SQLite -dsco SPATIALITE=yes C:/target.sqlite PG:"connectionstring" -sql "select * from blabla"
...
2
votes
0
answers
820
views
What is function of .horizon files in file geodatabase?
What is the function of the .horizon files that are present whenever a file geodatabase is created in ArcMap, I understand it is all proprietary formats for Esri, but is there any explanation?
I have ...
2
votes
0
answers
2k
views
Prepopulating Survey123 form field inputs from related tables in file geodatabase
I have a Survey123 survey. I am trying to prepopulate fields for from ArcGIS Collector and am having great difficulty.
To explain, I created a file geodatabase in ArcGIS 10.X, (relationship classes ...
2
votes
0
answers
479
views
Create Esri File GDB from DataTable .Net Core?
I have data stored in a database in PostgreSQL created and handled via EF with dbContext in .Net Core. I need to export some tables into FileGDB using opensource libraries (I don't want to restrict ...
2
votes
0
answers
193
views
Is it possible to prevent ogr2ogr from generating a shapefile if no records are returned from the given intersection?
I am generating shapefiles from a geodatabase file with ogr2ogr via the spatialite dialect using the following command:
ogr2ogr -f "ESRI Shapefile" ./clipped.shp -dialect sqlite -sql "...
2
votes
0
answers
782
views
Writing to file geodatabase in R on Windows?
The title above basically states the question. I have looked around but haven't quite found anything yet. I see this driver:
https://gdal.org/drivers/vector/filegdb.html
I haven't seen any R ...
2
votes
0
answers
707
views
Using Compressed Data Files (.cdf) from a Geodatabase in QGIS?
I am using QGIS3 for a file geodatabase that was created on ArcMap. I can only access a few of the layers in the QGIS browser because most of them are stored using a compressed data file (.cdf). When ...
2
votes
0
answers
67
views
Same data displayed in different locations in ArcGIS Explorer and QGIS
I've been working on some GIS data in middle eastern countries.
A client gave me the data in .gdb format. So I thought it could be loaded in QGIS.
However, when I load the data with QGIS, they are ...
2
votes
0
answers
344
views
Exporting more than 1 layer to GDB file type
Is there any way in QGIS to export more than 1 file layer/type to GDB?
The only way I can see is to right-click the particular layer and save as GDB file type, but that only allow individual layers ...
2
votes
0
answers
612
views
What characters are not acceptable in an ArcGIS text field (File Geodatabase)?
Trying to join a table to my feature and it keeps leaving out a field. The field is a legal description of a property, it has all sorts of funky characters:
:
;
/
\
()
'
"
and more
The field is ...
2
votes
0
answers
335
views
create am Empty GDB using ogr2ogr
I guess no one has not asked this question yet.
Let's say if I want to store my CSV to GDB feature table then the code below works just fine
ogr2ogr -f "filegdb" test.gdb my.csv
and I thought just ...
2
votes
0
answers
54
views
Why I can use geodatabase created by 10.5.1 in ArcMap 10.1
According to http://desktop.arcgis.com/en/arcmap/10.5/manage-data/geodatabases/client-geodatabase-compatibility.htm, if the client is using 10.1, he can open geodasebase up to 10.4.
But, when I save ...
2
votes
0
answers
788
views
"Save As" truncating string fields to 255 characters
I'm trying to convert a postgis table to an ESRI FileGeodatabase with a nightly build of QGIS, using Save As which utilises OGR.
One of the fields is a text field with > 255 characters. I have ...
2
votes
0
answers
364
views
What is *.gdb.fm file that appears to be associated with geometric network of ArcFM Water?
I have been doing some work with a file geodatabase (test.gdb) which has a geometric network that I copied (using ArcCatalog or the Catalog window of ArcMap) from an ArcFM managed water network stored ...
2
votes
0
answers
196
views
Finding a GeoDatabase for assisting mobile clients (offline) to sync with Host DB
We have a current system that uses a combination of SAFE FME and PostGIS data (raster and feature) to create download packages for mobile clients. The clients are typically offline web technology (e.g....
2
votes
0
answers
601
views
Reading TIGER/Line gdb file into R
I am using the following instructions to read a TIGER/Line gdb into R.
The first commands work correctly and print out the feature classes:
fgdb <- "ACS_2014_5YR_BG_48_TEXAS.gdb"
subset(...
2
votes
0
answers
871
views
converting shp to fileGDB with ogr2ogr changes geometry type?
I'm converting a shapefile to file geodatabase with GDAL 1.11.3 and the ESRI FileGDB driver.
ogrinfo on the .shp gives:
$ ogrinfo NED1_Index.shp
INFO: Open of `NED1_Index.shp'
using driver `ESRI ...
2
votes
0
answers
61
views
Combining multiple DEMs into one file geodatabase
I have multiple file geodatabases (approximately 240) each contain a DEM. My issue is taking the DEM from each and putting it into a single file geodatabase without alot of mind numbing work. ...
2
votes
0
answers
412
views
What is the reason for the very poor performance of ESRI's file geodatabases on network drives?
I am asking this question because I am at a loss and dont have a good enough understanding of all the underlying operations going on 'under the hood' of Windows/Arcgis.
What is the root cause of fgdb ...
2
votes
0
answers
371
views
Importing dgn geometry into empty file geodatabase feature class?
I have an empty geodatabase in arcgis for certain domain application. It has several feature datasets each containing related feature classes.
for example : feature dataset - NATURE, it has a ...
2
votes
0
answers
1k
views
Read GDB from C#
I am trying to read .gdb file using osgeo API I go for following code but can't read, please suggest to me a solution.
string File= @"D:\GDB File\Demo.gdb";
public IConnection ...
2
votes
0
answers
148
views
How to query a bunch of tables/feature classes which linked together by relationships
I have one feature class and 3 tables which linked together by relationship classes.
The feature class, called "buildings", has the fellowing feilds:
(1) FID: Feature ID
and (2) ID: My own ID
This ...
2
votes
0
answers
266
views
ogr2ogr fileGDB translating points
I am converting data from spatialite to fileGDB (and reverse) for a project using QGIS and ArcGIS. When I convert using ogr2ogr (or QGIS) from spatialite to fileGDB, the points are translated ...
2
votes
0
answers
597
views
What is causing invalid spatial reference error using ogr2ogr converting PostGIS to FileGDB in a Feature Dataset?
I am trying to use ogr2ogr to convert a layer from PostGIS to a FileGDB. I want the layer to be created inside a Feature Dataset.
The spatial reference of the source layer is EPSG:3500. The spatial ...
2
votes
0
answers
1k
views
Script to unzip a file geodatabase fails with Memory Leak
Hijacked the ESRI script to unzip. After research I found there is a memory leak. There are three zip files I download on a regular basis. Each .zip contains one (1) .gdb.
The largest is 2 GB zipped, ...
2
votes
0
answers
442
views
Exporting feature class from Geodatabase to shapefile, shortens/abbreviates field values in resultant file?
I'm exporting feature class (File Geodatabase) to shapefile, after exporting the field values in resultant shapefile is shortening, like if a field value is Andhra Pradesh then in Feature class ...
2
votes
0
answers
807
views
Images exported from ArcGIS Online as File Geodatabase inaccessible to ArcGIS for Desktop?
I am a new user of ArcGIS Online.
I have a system that includes features and images of the objects and I use Esri ArcGIS for Desktop to perform data collecting.
Before exporting the whole database ...