pelias / docker

Run the Pelias geocoder in docker containers, including example projects.
MIT License
336 stars 226 forks source link

Support a simple web interface #10

Open orangejulius opened 6 years ago

orangejulius commented 6 years ago

It would be really handy for users of Pelias to be able to experiment with geocoding on a map when using the docker setup. Being able to actually use an autocomplete interface is especially nice.

There is a very basic webmap using nextzen/leaflet-geocoder in the South Africa project, which we should polish a tiny bit and bring into all the projects.

Some things to do:

(Hat tip to @xamanu for the request to get this going)

bfreeds commented 5 years ago

Hey @orangejulius! It seems like the nextzen/leaflet-geocoder demo above isn't working. But can see the gist of where the geocoder input would be, with a full-page map beneath.

Do you think it would be helpful to have a results pane, similar to how Planning Labs implemented NYC GeoSearch's?

orangejulius commented 5 years ago

Hey @bfreeds!

In what way do you say it's not working? It's so simple I doubt it could break. It does require a functional local pelias installation though, and it might not do a good job of configuring the ports, but it shouldn't break.

I do like the Planning Labs' interface though. It might be worth looking at.

bfreeds commented 5 years ago

Sorry, I should have been more specific / helpful. When clicking on the link above at nextzen/leaflet-geocoder. Looks to just be a broken reference to the Tangram library (Tangram is not defined).

Once I have a chance to explore this repo and get a local Pelias running, I'd love to help out here to at least get a simple web map as a demo (and potentially trying to make something like the NYC GeoSearch, if you don't think that would be overkill / would be helpful).

orangejulius commented 5 years ago

Oh I see. It's the link at the top of the repository, which takes you to the github.io page. That page still uses all old mapzen URLs, so it's no wonder it's broken. One of us should put in a PR to update everything!

jimmylevell commented 3 years ago

If it is helpful I have created a simple pelisa frontend and used it as opportunity to learn react. So feedback is welcome :) https://github.com/Institute-FVV/peliasFrontend