plepe / OpenStreetBrowser

An application to ‘browse’ the information in the displayed part of the map. Similar to common Wikis and also the main page of http://www.openstreetmap.org the website shows a narrow menu on the left side, most of the page is used for the display of the map. In contrast to most Wikis the menu is not static, but rather the content of the map can be browsed in categories. For the map a special style has been developed (sorry guys, I neither like the default Mapnik nor Osmarender styles), and special overlays are displayed to support the current browsed categories. When you click on an object (either from the list or directly on the map) informations on this object are displayed.
http://www.openstreetbrowser.org
GNU General Public License v3.0
86 stars 20 forks source link

No Wikipedia images in some popups #85

Closed Cybereric closed 4 years ago

Cybereric commented 5 years ago

On some Wikipedia articles the first image of the article does not appear in the popup

Example: https://www.openstreetbrowser.org/#tourism_attractions/n3610328592/details&map=19/47.21450/-1.55834&categories=tourism_attractions

The article : https://fr.wikipedia.org/wiki/Place_Royale_(Nantes)

The file : https://commons.wikimedia.org/wiki/File:Nantes_-_fontaine_de_la_Place_Royale.jpg

I've found that it's because of the small seal present at the top right corner of the Wikimedia Commons page This one : https://upload.wikimedia.org/wikipedia/commons/thumb/d/d7/Valued_image_seal.svg/20px-Valued_image_seal.svg.png

It's the same for all wikipedia articles having a valued image as first image.

Is there any solution , a filter ?

plepe commented 5 years ago

I will look into it, there should be a solution. In this example I noticed another problem with the wikipedia integration: the artist:wikipedia tag has multiple values (separated by ;). This is not supported yet.

plepe commented 5 years ago

Just fixed all of the problems :-)

Also, I took the liberty to add some images to nearby objects: https://www.openstreetmap.org/changeset/74656446

If you notice more problems, please report them!