Questions tagged [file-geodatabase]
File geodatabases are a proprietary data format created by ESRI.
1,002
questions
0
votes
1
answer
35
views
Updating the source geodatabase for select layers in ArcGIS Pro (multiple geodatabases used in one map)
I have a map that uses shapefiles from several geodatabases. I need to re-source several layers from one specific geodatabase to another. They are the exact same geodatabase; Geodatabase X was copied ...
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 ...
0
votes
1
answer
42
views
How to write more than one layer to an existing file geodatabase
Background:
At 3.28.10 I have installed the ESRI FileGDB driver, using the advanced OSGEO4W install. This allows me to write a vector layer to a new ESRI File Geodatabase (FGDB), using Export > ...
1
vote
1
answer
51
views
Converting GPKG to GDB-Feature Class with gdal.VectorTranslate [closed]
I am trying to convert a geopackage (GPKG) to a ESRI GDB feature class using gdal.VectorTranslate(). My code is like:
translate_options = gdal.VectorTranslateOptions(format="OpenFileGDB", ...
0
votes
0
answers
26
views
Python OGR error when intesecting line by polygon
When I try to find the intersection of a line gdb layer with a polygon layer I get the following error: Can only insert a LineString/MultiLineString/CircularString/CompoundCurve/MultiCurve in a ...
1
vote
1
answer
38
views
FME issue while updating AND inserting data in Esri Geodatabase (File Geodb) writer
I have a geodatabase file to update with FME Desktop : some features must be updated, et some new features must be inserted in that geodatabase file. Those features are polygons with several ...
1
vote
0
answers
39
views
QGIS changes the value of Decimal (double) Float32 field [closed]
I loaded a layer from a ESRI GDB into QGIS 3.32.1
When I enter a value in a Decimal (double) Float32 field, after saving the edits, the value changes (the change is shown after closing and reopening ...
0
votes
1
answer
42
views
Python OGR: NoneType Error only when writing to OpenFileGDB, reading works fine
I have a peculiar situation when trying to write to a .gdb using OGR. I get a NoneType error following any OGR function after ogr.Open() when I specify the data source as writable. From previous ...
1
vote
2
answers
64
views
Use geodatabase (GDB) file in Extract/Clip by Extent tool in QGIS
I want to run Extract/Clip by Extent tool on a file geodatabase (GDB), without opening it in QGIS (3.30.1).
However, when I open up the interface, and select "Select file...", there's no ...
0
votes
1
answer
24
views
Joining CSV to feature class in oracle dB and writing out matched records to feature class in file geodatabase on local machine using FME
I'm currently using a CSV reader, Database Joiner and ESRI Geodatabase Writer. The join is working perfectly:
But when I connect the joined output to the geodatabase writer no records are written to ...
0
votes
0
answers
46
views
Accessing File Geodatabase Files without ArcMap
I was working on a project last night on ArcMap but the license provided by my university expired. I was using a local ArcGIS toolbox to process some data to get the local getis ord and local moran's ...
1
vote
0
answers
98
views
Perform a Network Analysis in ArcGIS Pro using data from Geofabrik shapefile
I am trying to perform a Network Analysis in ArcGIS Pro for the state of Goiás (Brazil), and want to use as the base map a shapefile from Geofabrik. I have downloaded the shapefile for "centro-...
1
vote
1
answer
98
views
Checking topological errors in Esri geodatabase feature class using ArcPy
I am using PyScripter and ArcMap
import arcpy
# set up workspace and input feature class
arcpy.env.workspace = r"H:\Data_Processing\Work\PL07\Mygdb.gdb"
fc = "County"
# create a ...
0
votes
0
answers
144
views
Comparing two GeoDataFrames that are written using different drivers
I'm trying to write one of the GeoDataFrames available with the GeoPandas package to a File GeoDataBase, read this back into memory, and then measure equality across these two GeoDataFrames. For some ...
0
votes
0
answers
27
views
Cannot use Near() due to schema lock
I have recently been able to add 2 layers to the Table of Contents is ArcGIS Pro using ArcPy. It uses code like this:
ResultPath1 = r"*DirectFilePath*.gdb\GeocodedDonationLocations"
# ...
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 ...
1
vote
0
answers
204
views
Seeing modified dates of feature classes in geodatabases from ArcGIS Desktop
I would like to see the modified date of each layers in the geodatabases. For some reason I can't see them in ArcGIS Desktop 10.8.2. However, they appear under File explorer. As the layer are into ...
1
vote
0
answers
93
views
Java GDAL: Permission denied when trying to open an file geodatabase (gdb)
I'm trying to get the layers of a file geodatabase (.gdb), but I'm having problems with permissions. My Java code is like this:
import org.gdal.gdal.gdal;
public static void main(String[] args) {
...
1
vote
0
answers
110
views
Using GDAL 3.6 to convert file geodatabases domains, subtypes and relatioship classes into PostGIS
I am using GDAL 3.6.0, with the OpenFileGDB driver, to read a file geodatabase with domains, subtypes and relationship classes and need to convert them to PostGIS.
In the GDAL documentation, it is ...
1
vote
1
answer
139
views
OGR Field Types to FileGDB
I am trying to convert from PostGIS to FileGDB using GDAL (ogr2ogr). One of my fields is an integer field and declared in PostGIS as an int4. However when I do a standard ogr2ogr export looking at the ...
0
votes
1
answer
110
views
How to display recently created layers in GDB?
This is cross posted here.
What I've done is split a layer by attributes into a recently created GDB. Depending on the layer it will create a multitude of layers in the GDB. What I want to do is add ...
0
votes
0
answers
52
views
Showing and editing .gdb layers on QWC2
I am developing a react.js based GIS website to use various map tools such as measuring distances and adding layers. One problem I have is I would like to manipulate and display .gdb layers on the ...
-1
votes
1
answer
257
views
Converting geodatabase into Geopackage in FME
I have never used FME and need to convert some geodatabase files into Geopackages. So the data can be stored in a GeoServer and published online.
0
votes
1
answer
210
views
List all layers within an .aprx and export all to a .gdb
I would like to export all layers within an .aprx to a .gdb.
This is the script:
# Set the .aprx file as the workspace
aprx = arcpy.mp.ArcGISProject(r"B:\XXX000\XXX35219_BCG\Workspaces\EIAR\...
2
votes
1
answer
974
views
Exporting shapefile to Esri file geodatabase in QGIS
Is it possible to export a shapefile as a file geodatabase in QGIS?
I have been trying to do so, but its not giving me the options in the format dropdown box when I 'save as' the shapefile.
0
votes
1
answer
308
views
Cannot overwrite feature class file in gdb while occupied by ArcGIS Pro (Python script and ArcPy package)
I wrote the following piece of code that loops over a map features and buffer them. new buffer layers are saved to a different gdb with in this project.
If I run the code from IDLE while that project ...
2
votes
1
answer
84
views
Adding geometry to a db table using ArcPy from an existing points dataset
I am attempting to write an ArcPy script to add the geometries of a points data set to records in a db table. Each record in the db table has a field containing a date, and an associated numeric value ...
0
votes
1
answer
87
views
Install and run GDBee file geodatabase SQL tool
GDBee is a Python tool for querying file geodatabases using SQL (outside of ArcGIS): https://github.com/AlexArcPy/GDBee
I want to install and run GDBee in Windows 10 (64-bit). As a novice, here's what ...
3
votes
1
answer
177
views
File Geodatabase SQL expression to get greatest n per group
I have a RoadInsp FC in a FGDB in ArcGIS Pro 2.6.8.
Using an SQL expression in the Select by Attributes tool, I want to select the greatest n per group.
In other words, for a given ASSET_ID, I want ...
1
vote
3
answers
408
views
Listing feature classes from multiple feature datasets in GDB
I am trying to list all feature classes from multiple datasets with single GDB. I have tried with below code
import arcpy
from arcpy import env
env.workspace = r"C:\GDB\Base.gdb"
fdlist = ...
0
votes
1
answer
97
views
Exporting FileGeodatabase Subtypes to Excel
I'm working with a large file-geodatabase(100 layers) and need to create an excel spreadsheet listing all the subtypes with values and labels extracted. Is there a way to do with this task with out of ...
0
votes
2
answers
841
views
Error reading layer from geodatabase into R
I am attempting to read a layer from a geodatabase into R. The error given is:
#> Error in CPL_get_z_range(obj, 2): z error - expecting three columns;
There is only one layer in the geodatabase. ...
1
vote
2
answers
251
views
Verify feature class path in file geodatabase using GDAL with Python
Suppose I have a geodatabase in C:/MyDir/MyGDB.gdb. I am working outside of the Esri/ArcPy environment, primarily using gdal and os libraries. I want to retrieve and verify the file path of a feature ...
0
votes
1
answer
28
views
Using ModelBuilder to select identical attributes in all other file geodatabase features
I have several datasets that all have the same reference number in them (this is an as-built CAD number). These can be points, lines and polygons. I am attempting to build a model that would select ...
2
votes
1
answer
440
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 ...
1
vote
2
answers
309
views
Extract field details for all layers in a geodatabase
I have inherited a file geodatabase containing a number of feature classes (points, lines and polygons), where many fields are common. For example all feature classes contain the following fields, and ...
4
votes
1
answer
149
views
Switch between FileGDB and OpenFileGDB
I am using ArcGIS GDBs in QGIS (3.26.2 installed via OSGeoaW on Windows 10). As I want to edit features, I recently installed FileGDB in addition to OpenFileGDB which can only read the GDBs. Now ...
1
vote
0
answers
860
views
Retaining primary symbology in gdb file in ArcGIS Pro
After importing my feature class into a gdb file for sharing, its primary symbology was changed back to default (i.e single symbol).
Is there a way to retain the intended primary symbology (i.e unique ...
0
votes
1
answer
188
views
ArcPy TableToNumPyArray TypeError
I have a geodatabase table that I want to convert to a numpy array to create a Pandas dataframe. Using the arcpy TableToNumPyArray function on the table object fails.
import arcpy, numpy
# `tbls` is ...
-1
votes
1
answer
370
views
Batch exporting files from one gdb to another with source file name as exported name
Is it possible to batch export these files from one geodatabase (test.gdb) into another and name them as the source file name even though the feature layer name is not the same as the source file name?...
0
votes
0
answers
91
views
How to change the coordinate value of point feature in gdb using GDAL?
After installing the FileGDB API plugin, I tried to modify the coordinate values of the vector point features in GDB, but the modified results could not be saved after the modification.In other words,...
0
votes
0
answers
60
views
Merging ValueTable to geodatabase using ArcPy
I'm using a script a colleague put together a couple of years ago and there is an error when I try to run it. I know some Python but not much ArcPy. I've been fiddling with this for a couple of days ...
0
votes
1
answer
58
views
Can't open Garmin gdb file on Ubuntu-mate 22.04 and QGIS 3.26
I recently installed Ubuntu-mate 22.04 and QGIS 3.26 on a new PC. Now, I can't open my old Garmin *.gdb files. I have no problem opening them on Windows 10, though. And I find no problem opening them ...
4
votes
1
answer
349
views
Can I organize a Geopackage similarly to the structure of a geodatabase?
I've been looking all over the Internet if there is a way to organize a geopackage similar to a geodatabase, that is, to create multiple groups (similar to feature datasets in a gdb) within the ...
0
votes
1
answer
32
views
Creating Geodatabase Script Creator using ArcPy [closed]
I have been working on and compiling different code snippets to create a GDB Generator. Most of the code logic I understand, but there is some that I can't grasp. Below is the code.
Code:
#import ...
0
votes
0
answers
13
views
Opening.gbdindexes, gbdtable, atx, and freelist files in ArcMap or ArcGIS Online [duplicate]
I was sent these files in a zip folder, but I am not sure how to open them in ArcMap or ArcGIS Online.
Do I need to create a database or is it already there?
[
1
vote
1
answer
155
views
How can I use the values of a GDB coded value domain in QGIS
In a GDB the attribute size contains a coded value domain {0: small, 1:medium, 2: big}.
How can I access the value of a domain of a GDB in QGIS? I want to use the value in an expression or a field ...
0
votes
1
answer
89
views
Seeing size on disc of raster in file geodatabase
I am trying to determine the size of the individual raster layers that I have within a file geodatabase while viewing the GDB in ArcCatalog. I have enabled the size column, but that only displays the ...
1
vote
2
answers
433
views
Copy feature class with the same name from different gdbs/datasets into one gdb
I have 200 gdbs, with the same structure: one dataset with five features (see below)
I need to copy the feature named "GSUP_USO_Vegetacao" from all 200 gdbs to another gdb, also, name the ...
1
vote
1
answer
993
views
Features from a feature class do not display when zooming beyond 1:3000 scale
I am running ArcGIS Pro 2.9.2 on a Windows 10 computer.
Points from a feature class in a file geodatabase are not displaying beyond 1:3000 scale on a layer with no visibility range limits set. At ...