OpenGeofiction

Directions / search box?

Posted by AustinofOketia on 5 September 2021 in English (English).

On the old OGF we had directions and a search box. Unfortunately, we don’t have that anymore. Directions didn’t work on the old OGF but search did.

Now that the new server is up, could we possibly get street directions working? It would be a cool addition to see our maps come to life in that form.

Comment from Luciano on 5 September 2021 at 13:39

On the old OGF, it is true that we had directions and search boxes. But they never worked properly, except for a few months in 2016 or around then, that I recall. The functions were hosted, briefly, off-site by a user who since left OGF.

I took out the functions since they didn’t work.

I do hope and intend to eventually get these things working. But nominatim (the name search utility) is a huge and complex application - see this:

https://nominatim.org/release-docs/latest/appendix/Install-on-Ubuntu-20/

Routing is equally complex, and yet another application. Each require their own separate servers, and so with respect to OGF, they are off on the far future horizon.

If a user with the ability to finance the server rental and who has the coding chops to build a nominatim server wants to do so, I’d be very pleased to turn on the search box and point it at their server.

Comment from Taka on 6 September 2021 at 05:47

If memory serves correctly, the search function did indeed work, barely, using overpass on the old server, with the current view marking the bounding box for your search. That’s probably also your best bet for searching things now (Query button on the OGF page). If you need help with some basic queries to search with in Overpass, let me know, I’ll be able to copy paste some of my own later today.

As for directions, one thing you could do, is install the directions plugin on jos. It’s not nearly as interactive,but for the purpose of making sure your road network is connected, it could work.

Comment from poweikao on 8 September 2021 at 04:07

I joined Opengeofiction three years ago in 2018, and never had I seen the search box working.

Comment from héedaná on 7 October 2021 at 02:01

Taka, I’d be interested in your Overpass Turbo queries.

Luciano, is installing taginfo equally a pain? I know that’s been most helpful to me in OSM for understanding the database as a whole.

Comment from Luciano on 7 October 2021 at 12:45

@héedaná

taginfo is a great little tool, but I would consider it merely “nice to have”, and lower priority than quite a few other add-ons I’d like to have for OGF.

My highest priority is to get the contours working again properly - the ogf-topo layer. My interest in this feature is a primary reason for taking over hosting for OGF - because it was clear Thilo was no longer able to support it.

My second priority is nominatim. I think it would be popular and useful to the mapping community, though I personally find Overpass-Turbo to be functionally similar and adequate for the most part.

My third priority would be routing. Again, I don’t much use this myself, but in a geofiction context it could be a lot of fun.

My fourth priority would be something akin to the OpenGlobus (3D map-view for topo layer) demo that Thilo had running a few years ago.

That puts the taginfo app pretty far down the list, unfortunately. Based on reading the site, it would require quite a bit of server capacity, too, which is also a consideration.

Comment from héedaná on 7 October 2021 at 19:10

I see. That seems to me a sensible priority list; looking forward to following a tutorial to contribute to the topo layer :)

Comment from Taka on 8 October 2021 at 08:04

Hi héedaná, I missed your message yesterday, and today I’m at work, so once I’m home I’ll be sure to send a pastebin with the queries in a new comment (as the queries are saved locally on my personal laptop, rather than on my work laptop). I must say though, I use them mostly as skeletons, into which I cast whatever I need to find or download, so a little bit of knowledge on the overpass query language is a necessity, but I suppose I could include the bare minimum of what is needed with the queries. Is there anything in particular that you are looking to do with overpass?


Login to leave a comment