Skip to main content

Questions tagged [ogr]

The OGR Simple Features Library is a C++ open source library (and command line tools) providing access to vector file formats.

3 votes
2 answers
266 views

With GDAL 3.12.0dev-c93ac7701e7c5b3b5537598f2dea1e8a382cc81a, released 2025/08/08 I can extract some invalid unclosed rings in a shapefile, but I cannot get GeoPandas to extract them. In order to play ...
swiss_knight's user avatar
  • 11.4k
1 vote
0 answers
31 views

I'm trying to connect QGIS 3.22 to Netezza using ODBC. Methodology: Confirm appropriate Netezza Drivers are installed Create both file and system DSN for 64 bit ODBC connection. Connection test works ...
Ben F.'s user avatar
  • 11
1 vote
0 answers
58 views

I use GDAL v.3.9.2 and poppler v.24.04 to read GeoPDF files. But when I try to read GeoPDF with vector objects, style strings for the most vector objects are not correct. This style string I get using ...
Peter's user avatar
  • 21
3 votes
1 answer
82 views

The question is in a NodeJS context execution environment I'm trying to get a GeoJSON output from gdal.vectorTranslate as a string/object to reuse it directly within my code without intermediate file ...
ThomasG77's user avatar
  • 31.8k
1 vote
0 answers
95 views

After update the version of QGIS to QGIS 3.40.7 I cannot load gpkg-files. Other file formats like shape, SQLite, WMS, ... works fine. The update process was interupted due to a technical failure, so I ...
Andreas's user avatar
  • 11
2 votes
1 answer
139 views

I am following this post and they use the code: ogr.Layer.Clip(inLayer, inClipLayer, outLayer) I have attempted to recreate the code as they have it, however I have a TypeError returned to me ...
tds's user avatar
  • 296
2 votes
1 answer
127 views

I want to merge multiple overlaying GPKGs in the way, that only the uppermost is included. It is possible to achieve this by iteratively applying the algorithms Difference and Merge with the Model ...
Marcel Gangwisch's user avatar
1 vote
2 answers
149 views

This LIKE works as expected: $ ogrinfo :memory: -q -al -dialect SQLite -sql \ "SELECT \"8145\" AS name WHERE name LIKE \"%8%\"" Layer name: SELECT OGRFeature(SELECT):0 ...
Dan Jacobson's user avatar
1 vote
1 answer
78 views

Trying to reproject points from EPSG:31259 to EPSG:4326 adds displacement to them. As someone can see in the picture the sample points designated with [+] symbol are in EPSG:31259 projection while ...
akatran's user avatar
  • 121
0 votes
0 answers
105 views

I have just installed QGIS and I am trying to import AutoCAD files into the software. I have converted the files into DXF format, however when I try to import the file (Project > Import/ Export >...
Ben Hartland's user avatar
0 votes
0 answers
218 views

I am trying to export a single selected feature (one polygon) from a layer as an ESRI shapefile. I right click on the layer, go to Export then Save selected features as... Choose ESRI Shapefile, make ...
Arden's user avatar
  • 1
1 vote
0 answers
61 views

I have a .map file that contains two layers: The anchorage layer, the polygon along the border of which I draw symbols. LAYER NAME "ACHARE_6" GROUP "Berthing" METADATA ...
bobr's user avatar
  • 41
-1 votes
2 answers
81 views

Here I asked ogr2ogr to -simplify my data. But no, it just pretty much hands me back what I gave it. $ ogr2ogr i.csv h.csv -simplify .001 $ wc --chars --total=never h.csv i.csv 9357 h.csv 9361 i.csv ...
Dan Jacobson's user avatar
2 votes
2 answers
170 views

Due to tetraphobia in Taiwan we are not allowed to have streets whose names end in "4". My mission is to reconstruct where 14th Street would have gone. I shall use GDAL/OGR, pretending the ...
Dan Jacobson's user avatar
2 votes
2 answers
136 views

In https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html#global there are the SpatiaLite Global settings per connection. In particular SetDecimalPrecision(). How might I use that with ogr2ogr -...
Dan Jacobson's user avatar

15 30 50 per page
1
2 3 4 5
75