New answers tagged

2

Comparisons of floating point numbers with high precision are uncertain because of rounding errors. For example it in not possible to store decimal number 95330918.98604 accurately as double precision floating point number but it converts into value, that is 95330918.98603999614715576171875 when converted back to decimal (result calculated with https://www....


2

There are couple of issues in the original command. The ogr2ogr utility converts vector data from source format into target format. It is possible to use ogr2ogr but then both datasource and target must be defined. However, ogrinfo might be better tool for making the metadata query. The syntax of the two "SQL requests" which are special for the ...


1

You cannot append new data into existing by just copy/paste or conversions. It will try to replace you existing table. If you have updated your table previously and you want to replace you existing table, all you have to do is to insert this line after importing arcpy. arcpy.env.overwriteOutput = True However you should take a look to append tool. Pay ...


3

You have to specify the layer (feature class) name in the path string. layer_name = "countries" layer = QgsVectorLayer("path.gdb|layername=" + layer_name, "Countries", "ogr") QgsProject.instance().addMapLayer(layer)


0

It turns out, when you create a a feature dataset within a file geodatabase, you have to define the coordinate system of the feature dataset to which you will import data at the time of the creation of the feature dataset (you cannot assign later), regardless of whether or not the data that you will import has a defined coordinate system.


0

okay, DatabaseUpdater Transformer is the answer of the question, but it my case it worked only with FME version 2021 and NOT 2020. In DatabaseUpdater you connect shapefile which in this case is updater, and for the matching columns you choose x and y and for the column to be updated you choose z.


1

The FeatureWriter is a good transformer for this type of work. Here is an example: There is a shapefile of pois's and atms are cashpoints - so in this case used a tester to pull atms and renamed them. These are then written back to the original geodatabase but this time it has been set to update on just the 108 records changed by the id. You can control if ...


1

There are a few ways you can achieve this. Probably, what I would do is to add another reader to your workspace to read the file geodatabase data. Then, connect both inputs to GeometryExtractors. This will create an attribute which embeds the geometry. You can then use a FeatureMerger to merge the attributes of the shapefile to the file geodatabase feature ...


0

You are trying to load the geodatabase into the project not the layers themselves. You need to browse inside of the geodatabase and add the layers from there. Also, only extract the .gdb folders, do not move or mess with the folders/files within the .gdb folder you've extracted.


2

Domains will be supported in GDAL 3.3 and they are already available in the current development version (the "main" branch). See https://gdal.org/drivers/vector/openfilegdb.html#vector-openfilegdb Field domains (GDAL >= 3.3) Coded and range field domains are supported. The domain support has been added into FileGDB and OpenFileGDB drivers and ...


Top 50 recent answers are included