Better-osm-org: a script that adds useful little things to osm.org

Let’s take a break from the heated discussions on the forum. For this, I’ll even release 1.0.0 ahead of time (:

:no_entry: Render type=restriction

I don’t know about you, but I’ve always had a hard time figuring out how does turn restriction work.

The script also shows if the relation is broken. Did you know that 2% of all such relations are broken? Here is an Overpass request that will find relations where one of the required roles is missing.

If the relation is too large, then press shift + Z to get closer to the point with the via role.

:globe_with_meridians: In defense of the free web

TLDR; :+1: this Proposal: Consider allowing CSS injection irrespective of CSP · Issue #839 · w3c/webextensions · GitHub

About CSP on websites like osm.org or GitHub

CSP on websites like osm.org or GitHub makes it very difficult to develop browser extensions.

For example, on GitHub you can’t add new fonts to a page. For osm.org, it took me a long time to add support for satellite images and even more to add custom backgrounds. I miraculously managed to bypass CSP in Safari so that the script started working minimally. The developer of FireMonkey made a proposal to give extensions an adequate API for adding styles and images on such sites.

:ghost: Information about deleted profiles

It has become popular for vandals to delete their profiles. But now you can see more information about the deleted user:

And on the user page you can now copy his ID in one click. The username is now also copied in one click

:mag: Notes filtering

The right panel now has a search by note text and author. Hashtags in notes are now clickable.

And clicking by hashtag with ctrl pressed will open osm-note-viewer

:straight_ruler: Ruler

The context menu now includes a simple ruler for measuring distances. And I have an argument for why cartographers need it!

I once noticed that in OSM, buildings in my area are located too close to each other. But I didn’t have a quick way to find out the distance between them in OSM at hand. Who dares to resurrect an issue in openstreetmap-website? (:

:round_pushpin: Moving POI

Did you notice another item in the context menu? Yes, you can now move node POIs.

Other

  • Taginfo key values page for each value now has a button to quickly open Overpass Tubro.

  • In GPX tracks for points, their name and description are now shown. Let me remind you that you can simply drag and drop the .gpx file onto the map.

  • shift + Z also works for changeset. The first press ignores the modified bbox relations. A second press now ignores ways as well. It is convenient if someone accidentally changes a railway route or a long road.

So I decided to use StarVer, my plan for version 1.0.0 failed :)) I’ll put them off until 2.0.0 :wink:


update URL

15 Likes