bopjesvla / hitch

https://hitchmap.com
GNU Affero General Public License v3.0
8 stars 2 forks source link

another report option to collect links between hitchwiki spot descritions and the corresponding hitchmap spot #75

Closed tillwenke closed 1 month ago

tillwenke commented 3 months ago

review after #73

tillwenke commented 3 months ago

odd behavior, could not figure out why: after viewing a spot that has a hitchwiki link, this link displays as well for all other spots even if they do not have a hitchwiki link. @bopjesvla do you have an idea why this happens?

bopjesvla commented 2 months ago

I don't know, but ideally we'd do the linking automatically. Many Hitchwiki articles have lat lon information we can parse. The database is freely available.

tillwenke commented 2 months ago

I don't see how we could link automatically. I checked Berlin, Amsterdam, Paris for which no coordinates are available for "Hitching out spots".

bopjesvla commented 1 month ago

Amsterdam has coordinates: <map lat='52.38278242102423' lng='4.90844612121582' zoom='11' view='3'/>

Ideally, we'd provide this map.

bopjesvla commented 1 month ago

To link to Hitchwiki pages from Hitchmap: download the Hitchwiki db dump and extract all of the coordinates. Then, for every spot near one of those coordinates, link the page.

tillwenke commented 1 month ago

This does not reflect what I am trying to achieve.

There are specific spots that are described in the hitchwiki. usually for a city there are main directions. each direction can have various options. like https://hitchwiki.org/en/Dresden#Option_1 - this mentions 2 particular spots that (in this case) are kindly liked to hitchmap spots. So there is a whole high quality detailed description of those spots on hitchwiki that we currently do not make available to hitchmap users. this pr is a first step towards leveraging this information and connecting map and wiki.