mapbox / mapping

OpenStreetMap contributions from the data team at Mapbox
https://wiki.openstreetmap.org/wiki/Mapbox#Mapbox_Data_Team
244 stars 51 forks source link

Project Mapbox linters #426

Open yuliyarazukevichus opened 6 months ago

yuliyarazukevichus commented 6 months ago

Introduction

Mapbox Linters is a division inside Mapbox that reviews errors with OSM data and fixes it where there’s the possibility for improving the road network, concentrating on road mistakes to improve map conditions. We get issues by an internal automated process made by our developers which is based on the open source tool OSMLint.

Types of Activity

The goal of the Mapbox Linters team is to improve OSM data by using the following linters:

We use internal Mapbox data validation jobs that search OSM data for errors. The process is completely switched to automatic uploading and searching for data errors. Automation of the process was achieved with an internal algorithm which detects mistakes on OSM and divides these issues by categories we have. Our plan is to review the detected issues manually, and fix all invalid cases in OSM.

Link to the page with more detailed info about types of issues, how do we get them and how they can be viewed.

Geographical Scope

The Mapbox Linters initiative conducted for the following countries: Italy, France, Belgium, Canada, Spain, Denmark, Greece, Hungary, Slovak Republic, Ireland, Switzerland, Croatia, Bulgaria, Brazil, USA, UK, Germany, Netherlands, Poland, Czech Republic, Sweden, Portugal, Norway, Finland, Austria, Singapore, Romania, Slovenia, Australia.

Hashtags

All edits made by our team in this project have the hashtag #mapbox_linters. Editing Team All members of the Linters team went through the onboarding process before starting editing on OpenStreetMap and are familiar with the principles of editing. All team members can be found here: link.

Sources

For OpenStreetMap edits we use sources that are integrated in the OpenStreetMap tool:

For some OSM map edits Mapbox will use proprietary sources for support. These will typically be in situations where there is not sufficient evidence using the available sources in OSM editors. The proprietary sources will be ground-level imagery and GPS traces, collected by our drivers during testing.

Workflow

The processing of features goes by this way: at first we find sources for fixes (it can be searched through aerial photos or street level photos). We use only sources that are allowed in OSM ID. Then we choose a source with the best quality of the picture and the newest one. On chosen sources should be seen features that we want to map. Also we can watch OSM history to understand what changes were done with the feature, compare dates of changing.

Timeframe

This project is ongoing and will be continuously active without any time constraints.

Results

The results of our review made by our team in OpenStreetMap will be displayed quarterly in the /mapping repository in this project ticket.

Contact

We welcome feedback from local mappers as local knowledge always prevails. If you have any questions about a specific edit done by the Mapbox team or want to suggest some improvements in the editing process you can contact osm-edit-escalations@mapbox.com or post a comment in a changeset.

More information about team : Wiki page

Natasha96-Zhouner commented 5 months ago

We would like to notify everyone of minor changes to this project. Previously, the project used a separate tag for a separate country (for example, mbx_linters_usa, mbx_linters_it and etc), but now we decided to simplify this point and, for the convenience of tracking all the edits we made on this project, we created one tag, without specifying the country - #mapbox_linters.

Also in the "Linters" project we have additionally added two categories of errors related to roundabouts:

- roundabout-common-node - these are cases, where ways from/to roundabout connect in a single node. To-do: fixing incorrect geometry. image

- roundabout-missed-name - cases, where there is a name / ref tag on the main road and no name / ref tag on oneways. To-do: applying tag name=/ref= to exiting/entering oneways of the roundabout. image

Antoni-KL commented 4 months ago

We’ve made 3021 changesets between January 1st and June 30th.

111 By country: Italy - 462, France - 426, Belgium - 35, Canada - 101, Spain - 391, Denmark - 4, Greece - 12, Hungary - 6, Slovak Republic - 16, Ireland - 22, Switzerland - 18, Croatia - 9, Bulgaria - 8, Brazil - 153, USA - 688, UK - 137, Germany - 198, Netherlands - 27, Poland - 69, Czech Republic - 29, Sweden - 30, Portugal - 24, Norway - 12, Finland - 43, Austria - 11, Singapore - 1, Romania - 20, Slovenia - 5, Australia - 64.

222 Examples:
 
before after
crossing_highways  Screenshot 2024-07-12 at 6 00 30 PM  Screenshot 2024-07-12 at 6 02 51 PM
roundabout-common-node Screenshot 2024-07-12 at 6 04 10 PM   Screenshot 2024-07-12 at 6 04 50 PM
impossibleoneways  Screenshot 2024-07-12 at 6 06 31 PM  Screenshot 2024-07-12 at 6 07 27 PM