wavded / ogre

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

Setting up local environment on Windows #56

Closed nivemaham closed 3 years ago

nivemaham commented 8 years ago

Hi there, I found out ogre is provided interesting features to support geo formats. I want to run ogre locally, to do some experiments and developments.

As the first step i tried to set up local environment. I am working on Windows. With no surprises, i got a lot of installation issues.

1) Does npm install ogre is enough to do or should i also install gdal packages for windows. There are many choices available for windows, which is confusing.

2) I tried to build a docker image for ogre using provided Dockerfile. It doesn't seem helpful either. The

homme.gdal:v1.11.1

doesn't get pulled completely. I tried to pull

latest

tag. It works fine. But again my confusion is does it install gdal or ogre?

How can i run this service on docker?

3)Overall, What would be the easier solution to setup a local environment to run ogre locally on a windows machine?

wavded commented 8 years ago

hey @nivemaham did you try this?

https://github.com/wavded/ogre/wiki/Running-Ogre-on-Windows

nivemaham commented 8 years ago

Hi @wavded , Thanks a lot. It helped. I was missing proper gdal installations guidelines.

nivemaham commented 8 years ago

Hi @wavded , this installation works, on Windows. Despite, i would like to build a docker image for this service. Currently available Dockerfile doesn't work. I tried with something like below,

FROM homme/gdal:latest
MAINTAINER Marc Harter <wavded@gmail.com

FROM node:6-onbuild
EXPOSE 3005 

I am running my service on 3005. Seems, the service is running. However i get spawn ogr2ogr ENOENT Error. when i try to convert a file Since you mentioned in other posts, that you use Docker for ogre, could you advice how to run image of this service on Docker.

Nivethika

wavded commented 8 years ago

I haven't Docker on Windows, I usually use Docker just for development on my Mac. That said, I want to get something more concrete for production but haven't thought about it enough.

github-actions[bot] commented 3 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 3 years ago

This issue was closed because it has been stalled for 5 days with no activity.