skip to Main Content

Prepopulating PostGIS with OSM data works with Docker Desktop, but not with Azure pipeline

When I build the Dockerfile below by running the command manually at a Windows notebook docker build -f Dockerfile --no-cache --tag my-postgis:16-3.4 --build-arg DOWNLOAD_URLS="https://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf https://download.geofabrik.de/europe/germany/hamburg-latest.osm.pbf" --build-arg OSM_PASSWORD=osm_password --build-arg POSTGIS_TAG=16-3.4 . then it works as expected and the prefilled PostgreSQL database…

VIEW QUESTION

Postgresql – could not determine data type of parameter $1 (geometry)

CASE A SELECT ST_DistanceSphere( ST_GeomFromText('POINT(127.058923 37.242621)', 4326), "geometryType")as distance FROM "MyTable" WHERE ST_DistanceSphere( ST_GeomFromText('POINT(127.058923 37.242621)', 4326), "geometryType") < 500; CASE B SELECT ST_DistanceSphere( ST_GeomFromText('POINT(${longitude} ${latitude})', 4326), "geometryType")as distance FROM "MyTable" WHERE ST_DistanceSphere( ST_GeomFromText('POINT(${longitude} ${latitude})', 4326), "geometryType") < 500; When performing…

VIEW QUESTION
Back To Top
Search