Zoom level when searching / Hostel overlay

46 views
Skip to first unread message

Mo

unread,
Mar 13, 2015, 5:20:09 PM3/13/15
to osm-android...@googlegroups.com
Hey Norbert,

thank you for the great piece of software! I use in instead of Garmin / OSM routing due to the variety of the profiles (i.e. safety), and I really enjoy the tours as I can relax an just follow the gpx track!

If you plan to implement some more features, I'd have two suggestions:
1) When searching (i.e. my home address inclucing street), the zoom level is usually to low to set a waymark accurately. It would be perfect if the map would zoom closer, so that a waypoint can be set.
2) This might be a Germany-specific topic: When planning multi-day trips, we usually stay in youth hostels / Jugendherbergen. As far as I know, there is even a OSM tag "hostel". It would be perfect, if these could also be displayed on the map to plan the trips more easily.

So far, thank you, and best wishes!
Mo

broutertry

unread,
Mar 16, 2015, 3:56:04 AM3/16/15
to osm-android...@googlegroups.com
You must be in the wrong group. Brouter is only routing. Brouter does not have a mapview or POI-Search.

Norbert Renner

unread,
Mar 16, 2015, 4:24:15 AM3/16/15
to osm-android...@googlegroups.com
> You must be in the wrong group. Brouter is only routing. Brouter does not have a mapview or POI-Search.

It's about BRouter-Web [1], I refer to this group for contact, because often the questions are about BRouter itself.

Will try to answer later today.

[1] http://www.brouter.de/brouter-web/

Norbert Renner

unread,
Mar 17, 2015, 9:10:07 AM3/17/15
to osm-android...@googlegroups.com
Hi Mo,
 
1) When searching (i.e. my home address inclucing street), the zoom level is usually to low to set a waymark accurately. It would be perfect if the map would zoom closer, so that a waypoint can be set.

Search zoom is currently fix at zoom 12. There is another search plugin that zooms depending on the result's bounding box [1]. I need to see if I can extend or switch the current search plugin.

As for the home address, you can bookmark the "Permalink" (bottom right).

2) This might be a Germany-specific topic: When planning multi-day trips, we usually stay in youth hostels / Jugendherbergen. As far as I know, there is even a OSM tag "hostel". It would be perfect, if these could also be displayed on the map to plan the trips more easily.

Yes, there is a tag "tourism=hostel", which is shown on the main "OpenStreetMap" map on high zooms (>=17) [2]. Don't know if there is a base map that shows these more prominently. But what you probably want is some specific markers for hostels like on Unterkunftskarte [3]? I fear that would be out of scope right now, unless there is some easy to integrate Leaflet plugin (haven't found one).

Norbert

[1] http://www.liedman.net/leaflet-control-geocoder/
[2] http://wiki.openstreetmap.org/wiki/DE:Tag:tourism%3Dhostel#Beispiel
[3] http://unterkunftskarte.de

Mo

unread,
Mar 17, 2015, 9:20:33 AM3/17/15
to osm-android...@googlegroups.com
Hi Norbert,


thank you for your answer!


Search zoom is currently fix at zoom 12. There is another search plugin that zooms depending on the result's bounding box [1]. I need to see if I can extend or switch the current search plugin.

The plugin you cited looks perfect. Since I posted the original post, I found a workaround when planning trips, and this brought up more issues. After searching a location, I can not use the "q" key to stop mapping (cursor isn't in the search field anymore). Unfortunally, in order to zoom in, I need to click the map first, which moves the focus, so I can't zoom to the location I wanted anymore. The workaround is to click the "data" textfield, then press q, then it works with pressing "+" to zoom in. This might be a minor bug, but it seems that the "map" is loosing focus of the keyboard.

Yes, there is a tag "tourism=hostel", which is shown on the main "OpenStreetMap" map on high zooms (>=17) [2]. Don't know if there is a base map that shows these more prominently. But what you probably want is some specific markers for hostels like on Unterkunftskarte [3]? I fear that would be out of scope right now, unless there is some easy to integrate Leaflet plugin (haven't found one).

The "unterkunftskarte" looks great, thank's so far. It uses "lyrc"  [1] as base mape, which has a free community edition. Not sure if that would fit brouter? However, I understand that this is not an important feature.

Again, thanks for the great routing service, used it several times for biking and gpx tracks are great!

Best, Mo

[1] https://geodienste.lyrk.de/pakete

Norbert Renner

unread,
Mar 17, 2015, 10:10:02 AM3/17/15
to osm-android...@googlegroups.com

The plugin you cited looks perfect. Since I posted the original post, I found a workaround when planning trips, and this brought up more issues. After searching a location, I can not use the "q" key to stop mapping (cursor isn't in the search field anymore). Unfortunally, in order to zoom in, I need to click the map first, which moves the focus, so I can't zoom to the location I wanted anymore. The workaround is to click the "data" textfield, then press q, then it works with pressing "+" to zoom in. This might be a minor bug, but it seems that the "map" is loosing focus of the keyboard.
 
There is an issue with the keys and map focus, I haven't looked into it yet. I wasn't aware of the case you describe, so thanks for reporting.
 
The "unterkunftskarte" looks great, thank's so far. It uses "lyrc"  [1] as base mape, which has a free community edition. Not sure if that would fit brouter? However, I understand that this is not an important feature.

The markers/POIs on Unterkunftskarte are a separate vector overlay which seems not to be open source (data is from Overpass API). The Lyrc base map is nice, but I find less suitable for outdoor routing.
Reply all
Reply to author
Forward
0 new messages