Questions tagged [file-geodatabase]
File geodatabases are a proprietary data format created by ESRI.
994
questions
1
vote
0
answers
16
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
19
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
26
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
26
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
34
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
42
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
53
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
43
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
27
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 ...
0
votes
1
answer
68
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
53
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
174
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
125
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
56
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
64
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
123
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
103
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
33
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
625
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
125
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
0
answers
28
views
How to copy a table to multiple tables using ArcGIS Pro ModelBuilder
I have a template table in my geodatabase that contains all the columns and formatting - the table contains no data though.
I need to make multiple copies of that template table and the multiple ...
0
votes
0
answers
24
views
Table not showing up in Catalog pane after processing through ModelBuilder
I have a model in ArcGIS Pro 3 that iterates through a point feature dataset. I am performing a near function with the selected features with another point dataset. The model runs through the ...
0
votes
1
answer
25
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
0
answers
214
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
106
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
60
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 ...
0
votes
0
answers
33
views
Clipping .gdb then exporting as .kml issue
I am new to QGIS.
Not all contour lines are appearing after a convert a clipped .gdb to .kml and open in Google Earth. Most appear, but some do not, including the ones that are critical to my project.
...
0
votes
0
answers
357
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
123
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
183
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
63
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
54
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
48
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
158
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
31
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
158
views
Writing from file geodatabase to SQL Server 2017 instance using ogr2ogr
I'm attempting to import a large feature class from a file geodatabase to my SQL Server 2017 instance using GDAL. I have tried many different options on the ogr2ogr command and nothing seems to work. ...
0
votes
0
answers
39
views
Trying to intersect a geodatabase with a line string using ogr2ogr
I would like to output the features of a geodatabase that intersect a line string using ogr2ogr.
ogr2ogr -sql "SELECT geometry, FULL_NAME FROM input WHERE ST_Intersects(ST_GeomFromText('...
0
votes
0
answers
12
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?
[
0
votes
1
answer
87
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
46
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
267
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
526
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 ...
1
vote
1
answer
431
views
Exporting multiple Photo Attachments from single feature and renaming them using ArcPy
I have a file geodatabase with survey data regarding waterbodies. Each point/waterbody has 2 to 4 photo attachments that correspond to the specific point.
I found a script online that will connect the ...
0
votes
0
answers
58
views
Utilise more cores for ArcPy script
Trying to optimise a script that I’ve made up to run a simple process of converting a cadastre (polygon) in a file geodatabase to a line feature class and then run some further processing on it. It’s ...
0
votes
1
answer
66
views
Exporting shp in geodatabase using ArcPy
I have different data layers and I want to create a function that takes the name of the region as a parameter and generate a database with the different layers of the region in it.
I made this code ...
2
votes
1
answer
371
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, ...
0
votes
0
answers
448
views
ogr2ogr Multi Surface, Multi Polygon
estoy tratando de migrar una GDB a una base de datos en postgist con OGR2OGR de la siguiente manera
ogr2ogr -f "PostgreSQL" PG:"host=localhost port=5432 user='postgres'
password='...
1
vote
0
answers
70
views
Maximum Likelihood Classification with No Output using ArcMap
I'm working on a project in ArcMap 10.7.1 and I'm having trouble with the Maximum Likelihood Classification function. I created four classes in my training sample manager (25 samples for 3 of the ...
0
votes
0
answers
77
views
Creating Multiple Feature Classes as Views on Standalone Table in ArcGIS Pro .NET SDK
I'm developing an ArcGIS Pro 2.9 plugin using the .NET SDK. I have a set of data that contains fields describing points and ellipses to display on the map. I would like to create two FeatureClass ...
2
votes
1
answer
212
views
How to dynamically name the output file in ogr2ogr
I am using ogr2ogr to convert my huge geodatabase file (mygdb.gdb) into multiple shapefiles using one of the attributes (myattr). I have 100s of unique values for this attributes, so I am gonna do ...