wavded / ogre

ogr2ogr geojson-focused web client
http://ogre.adc4gis.com
MIT License
266 stars 79 forks source link

spawn ogr2ogr ENOENT #110

Closed pcace closed 1 year ago

pcace commented 1 year ago

Hi there, i am trying to get ogre to run in a docker container, with lets say limited success:

i am trying to get this running by this simple Dockerfile:

FROM node:18-alpine
RUN npm -g install
RUN npm install -g ogre
RUN apk add --update wget gdal
EXPOSE 3000
CMD [ "ogre", "-p 3000" ]

the webinterface runs, but whenever i try to convert something, i get this errormessage: {"error":true,"message":"spawn ogr2ogr ENOENT"}

can someone point me to a direction how to fix this issue?

Thank you so much!

pcace commented 1 year ago

never mind! i have not added the right packages. this fixes it: RUN apk add --update wget gdal gdal-tools