As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [drivers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
44 views

How to specify GDAL driver to use for Processing INPUT?

How can I specify a specific driver to be used by GDAL/OGR when running a tool via Processing? GDAL/OGR calls them prefixes to the connection string, e.g. https://gdal.org/drivers/vector/gmlas.html#...
bugmenot123's user avatar
  • 10.3k
0 votes
1 answer
44 views

GDAL processing - save as multiple formats

I am using the gdal_retile.py script, but this question can translate to other gdal processes. I am wondering if there is a work around to where a user could select a list of drivers, to save as ...
Binx's user avatar
  • 1,248
1 vote
0 answers
16 views

Connect QGIS to a database in MS SQL server [duplicate]

I have to link QGIS to MS server using my credentials. Everything seems to go well (I have access to the server and I get the list of all the databases inside) but when comes the time to access to one ...
J.Claude's user avatar
2 votes
1 answer
305 views

Get file extension based on GDAL/OGR Driver

I'm wondering if there is any way of retrieving the correct file extension for GDAL/OGR drivers. For example, if I do something like from osgeo import ogr driver = ogr.GetDriverByName('ESRI Shapefile')...
s6hebern's user avatar
  • 1,196
3 votes
2 answers
982 views

Getting available GDAL raster drivers in Python

How to fetch the available GDAL raster drivers in Python? (The equivalent of gdal_translate --formats using the command line utilities.)
matt wilkie's user avatar
2 votes
2 answers
133 views

Query a GDALDriverH or GDALDriver without a dataset to find out if it is raster or vector?

Is there any way to query a GDALDriverH (in C) or GDALDriver (in C++) to determine if it works for vector formats or raster formats (or with both, such as fGDB)? In my iOS app utilising GDAL 2.2, I am ...
Son of a Beach's user avatar
1 vote
1 answer
187 views

GDAL CSV Driver with "GEOMETRY=AS_XYZ" option not creating X Y columns

I have an iOS GIS app written in Swift that relies heavily on GDAL 2.2 for the spatial data management. I've written Swift wrappers around the parts of the standard-C GDAL that I want to use. I'm ...
Son of a Beach's user avatar
3 votes
1 answer
563 views

Converting ESRI File Geodatabase (FileGDB) to PostGIS

I am trying to convert ESRI FileGDB to PostGIS I created a new database: 'newkelibia' with pgAdmin 4 using OSGeo4W shell I executed this: ogr2ogr, -f "PostgreSQL" PG:"host=localhost ...
Rihab Bouallagui's user avatar
3 votes
1 answer
194 views

Blank spaces in large format plotter prints

I keep getting a blank swath when printing large format PDF files to my plotter. I am trying to plot a single page that is 42" (maximum width of roll for this plotter) by up to 120" in ...
JoBestFo2's user avatar
-1 votes
1 answer
93 views

Suppress the list of drivers when ogr2ogr fails

I'm quite sick of seeing this spammy output when ogr2ogr fails: FAILURE: Unable to open datasource `foo.csv' with the following drivers. -> `PCIDSK' -> `netCDF' -> `JPEG2000' -> `...
Steve Bennett's user avatar