OpenHistoricalMap / issues

File your issues here, regardless of repo until we get all our repos squared away; we don't want to miss anything.
Creative Commons Zero v1.0 Universal
18 stars 1 forks source link

Use OHM slippy map on OHM nominatim #157

Closed jeffreyameyer closed 2 years ago

jeffreyameyer commented 3 years ago

Bug description

What is happening?: when I visit nominatim.openhistoricalmap.org, I see the openstreetmap slippy map and not the OHM slippy map.

What should be happening? I should be able to see the results of the nominatim search, which list what is in OHM, but the display doesn't show this.

Repro Steps Steps to reproduce the behavior:

  1. Go to nominatim.openhistoricalmap.org
  2. Search on 'Kehl"
  3. Click on any of the results
  4. Note that you cannot see anything on the basemap.

Screenshots & URL image

geohacker commented 3 years ago

@jeffreyameyer this is true. We ticketed this a while ago when we setup nominatim https://github.com/OpenHistoricalMap/ohm-nominatim/issues/8

What's needed here is to fork the nominatim front-end code, and update the tile URL. But it's not super straightforward as we don't have a raster tile endpoint like the default OSM tiles. Though, we could replace the slippy map on nominatim website with a mapbox gl js and then use our vector tiles.

@danrademacher what do you think?

danrademacher commented 3 years ago

The Leaflet timeslider demo we have might provide relatively readymade code to swap in GL inside Leaflet as the least invasive approach. I'll take a look

danrademacher commented 3 years ago

Hmm, OK, I looked into this some more, and here's my take:

I do find myself wondering a bit how important nominatim.openhistoricalmap.org is as a separate website. We need the service and application running to get search on openhistoricalmap.org, and it's nice to have this specific search and display system, but it also seems like Yet Another Thing to try to keep a fork aligned with upstream code.

jeffreyameyer commented 3 years ago

Well... I think the important thing is something we haven't really mentioned, which is including some sense of time in the search results.

That might argue for a different geocoder altogether... let's hold off on this thread for a bit.

On Sat, Oct 31, 2020 at 9:54 PM Dan Rademacher notifications@github.com wrote:

Hmm, OK, I looked into this some more, and here's my take:

I do find myself wondering a bit how important nominatim.openhistoricalmap.org is as a separate website. We need the service and application running to get search on openhistoricalmap.org, and it's nice to have this specific search and display system, but it also seems like Yet Another Thing to try to keep a fork aligned with upstream code.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OpenHistoricalMap/issues/issues/157#issuecomment-720028039, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALM4ETZ6MMIKSSVEXSTJGLSNTSYRANCNFSM4TEH5JKQ .

-- Jeff Meyer 206-676-2347 osm: Open Historical Map (OHM) http://wiki.openstreetmap.org/wiki/Open_Historical_Map / my OSM user page http://www.openstreetmap.org/user/jeffmeyer t: @OpenHistMap

danrademacher commented 3 years ago

I just remembered that we talked a long time ago (2018?) about trying to handle date-specific results client-side within openhistoricalmap.org — so ask Nominatim for all results, and then filter them on OHM.org.

So aim for an approach that reworks this Sidebar with JS to layer on date filtering to these results: image

This approach would build on other sidebar work we have to do, and focus our code changes still on the website codebase. But it would still leave us with a nominatim.openhistoricalmap.org that's an incomplete OSM-ish experience, with OSM maptiles and no date filtering...

jeffreyameyer commented 2 years ago

Closing per decision not to set up standalone nominatim.ohm.org in #378 - but, we still need to turn off the hyperlink in search results - new ticket coming for that.