New answers tagged

0 votes
Accepted

Insert a waypoint into a POSTGIS table with psycopg2 and ST_GeographyFromText

You need to enclose your Point into single quotes: SELECT ST_GeographyFromText('POINT(48.07093 11.19797)') -> vs SELECT ST_GeographyFromText(POINT(48.07093 11.19797)) ERROR: syntax error at or ...
user avatar
  • 6,698
1 vote
Accepted

Trying to use GDAL in Windows Apache WSGI with Python 3.9.5 from OSGeo4W

After many hours of trial and error, before giving up, I made one last attempt that finally solved the problem. I removed the OSGeo4W GDAL installation from C:\OSGeo4W64\apps\Python39\Lib\site-...
user avatar
  • 3,623
1 vote

Debugging Error: Algorithm gdal:dissolve not found in PyQGIS

To check whether PyQGIS has a certain algorithm one can use the following code: from qgis import processing for alg in QgsApplication.processingRegistry().algorithms(): if 'dissolve' in alg.id(): ...
user avatar
  • 22.6k

Top 50 recent answers are included