[Brazil] Reviewing osmlint-osmium and osmlint data issues

Open
#419 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
data

Research direction

Start with the linked OpenStreetMap workflow pages and the OSMLint and osmlint-osmium documentation to understand the proposed Brazil review process. The issue mentions a future weekly review and GeoJSON or JSON outputs, but no output files or specific change are currently provided, so completion criteria are not defined.

Written by the indexing model from the issue text.

Description

Linting issues are errors in OpenStreetMap data, which is identified by data validators. The project was created to review errors with OSM data and fix it where there’s possibility for improving the road network. We’re concentrating on road mistakes to improve map condition. We get issues by an internal automated process made by our developers which is based on the open source tool OSMLint.

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.

In cases of lack of up to date satellite or imagery the team doesn’t make any edits. And always taking care about local sources, which are the most relevant and unique for each country.

In Brazil we plan to upload data once a week to see and fix the latest mistakes in mapping after reviewing the 1st iteration.

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

Examples of linters in OSM

As soon as we process issues, we'll update this ticket with geojson files, which will contain exact items we're going to review.

Screenshot from 2022-06-07 16-33-08

Now, we have a very small amount of fixes for turn restrictions, we discussed it with Andy (DWG) and Communities previously and decided not to fix it as it’s the most difficult type of investigation for not-locals, so we post the detections and ask the local community to carry out the fixes themselves.

Background

As part of on-going work to improve the quality of OpenStreetMap data, we use internal Mapbox data validation jobs that search OSM data for errors for detecting issues related to road network data in Brazil. In total, we are going to review issues in 9 categories. Our plan is to review all detected issues and fix it in OpenStreetMap. There's a link to the OSM Wiki page.

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 internal algorithm which detects mistakes on OSM and divides these issues by categories we have. Our plan is to review a subset of the detected issues manually, and fix any valid issues in OpenStreetMap.

Currently we are using the approach described below, the only difference is that we have an internal automated process by our developers.

Generally the process is:

First, we download fresh data from https://download.geofabrik.de/ .Then convert data from *.osm.pbf into geojson format for further packing into *.mbtiles. Use tippecanoe to make *.mbtiles. After that we use osmlint and osmlint-osmium which help us to spread linters by their types. Then received files come through our improvement algorithm, after which we get only needed linters for us. On this step we cut off footways, cycleways, golf carthpathes, aeroways, etc.

Timeframe

1st iteration (June 2022): We plan to start reviewing detected issues in the June 2022, and editing OpenStreetMap data to fix valid issues.

Tools

We will use existing OpenStreetMap editing tools, and using the hashtag #mapbox_linters_brazil
Editor: iD Satellite Imagery: Bing, Maxar, Esri
Street Level Imagery: Mapillary, Other open sources if available

Contact Person

We welcome feedback, suggestions, and insights from local mappers. If you have questions about this work, or a specific edit by our team, please reach out to Natallia (natallia.zhouner@mapbox.com). Also you can leave a comment in a changesets.

Linter Output for Brazil

As soon as we process issues, we'll update this page with json files, which will contain exact items we're going to review.

Dominant language
JavaScript
Stars
254
Forks
46
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/mapping

All issues in mapbox/mapping

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.