OpenStreetMap

karitotp's diary

Recent diary entries

Enriching the map of Peru with health centers data

Posted by karitotp on 13 January 2020 in English (English)

During the last months, DevSeed data team, as active members of the OSM community in Peru, along the support of other members of the community, imported around 7,933 health centers throughout Peru between health centers of different categories and from different operator institutions both public and private.

Once the importation was completed, about 6,200 new health centers were added to the map, and to those already existing on the map we added more details, such as; operator, telephone, address, category, among others. This was possible by the data found in the Peru’s National Open Data Portal, so, thanks to the open data, we were able to add new health centers to OSM and improve the map in Peru, especially in the rural areas where this type of information was poor and in many other areas they simply did not exist. But currently, after this importation, there are more than 8,600 health centers across Peru, in comparison to the 2,400 that were on the map.

healthperu_importation_new The before and after of the importation - The yellow dots are the existing health centers before the importation, the turqouse dots are the new health centers added at the end of the import.

Recently, the Peru’s president declared the official name of the year 2020, as; “Year of the universalization of health”, that shows to the health as one of the government’s priorities, since it is a basic service in which each government must set its eyes to improve the population’s opportunities access to health services.

With this, we can have a detailed map of existing health centers in the country, to see where the institutions are located and have information that is available to the population and to the decision-making government institutions on health issues, in order to expand health services to the entire population, through the implementation of new health centers where there is not or the improvement of the existing ones.

The process of the data cleaning for the importation is documented in the health-centers-import repo and the wiki.

Peru’s response to redaction

Posted by karitotp on 2 May 2018 in English (English)

On January 16 of this year, the Peruvian company Guiacalles requested to delete private data that was added in OpenStreetMap without considering the copyright.

This copyright infringement was due to an import of data by TELCOM IP that was carried out in Peru 7 years ago. Since it was impossible to verify the original license of the imported data, the DWG did a redaction to delete the original data. This affected 28 cities of the country, removing everything from main streets to pedestrian streets, and loosing all the edits of the OSM community that were made on top of that data in the last 7 years.

Post redaction view - JOSM editor

Our workflow during and after the redaction

The #osmPe channel on telegram was the main communication channel for coordination of the whole redaction process, as well as tickets in the repository of osm-peru-redaction.

As soon the redaction finished, DWG posted a task with the affected areas. Based on this, the community documented a workflow that allowed us to coordinate the mapping and restore the map to its old state.

Task to review and map the removed highways from Peru

In addition to restoring the geometries of the roads, the road names were added using a data source from the government which was incorporated into JOSM as a WMS layer.

Mapping workflow to restore and add highways name

What should we keep on mind?

OpenStreetMap is a collaborative project that any user can contribute to, but we should always make sure that all the added data has a license compatible with the Open Databases License. These reversions are detrimental to all those who contribute and use OpenStreetMap. Many data was lost which leaves our maps in bad condition.

On a more positive note, it does speak to the strength of OpenStreetMap that we were able to recover from this redaction in such a short time. The community came together to add and modify 96,000 highways throughout the country, leaving the map in a better place than it was before.

Responding to the collaborative mapping in Peru

Posted by karitotp on 27 January 2018 in English (English)

Natural disasters happen at anytime and anywhere in the world. Unfortunately on this occasion, an 6.8 magnitude earthquake affected the southwest Peru that mainly hit the Arequipa and Ayacucho departments.

Given this, the OSM Peru community called for a #MapeoColaborativo, where Development Seed’s data team as part of the community has participated actively in mapping and validation of the 6 tasks that were opened for the affected provinces, in which more than 7000 objects between buildings and roads were mapped. screenshot from 2018-01-27 15-20-23 Incuyo province 100% mapped and validated

These data are important to bring humanitarian aid and give immediate response to the affected places and are available for use by Government institutions such as National Emergency Operations Center (COEN), National Institute of Civil Defense (INDECI), and any organization or initiative that responds to emergency events.

Mapping bus route in Ayacucho - Perú

Posted by karitotp on 10 January 2017 in English (English)

As part of the goal of making Ayacucho the best-mapped city in Latin America, the OSM community of Ayacucho, along with the Mapbox Perú team, added 20 bus routes relations to OpenStreetMap of 22 public transport services that there are in the city.

bus1 Bus routes added in Ayacucho

During the mapping, 41 public_transport = stop_position and 15 public_transport = platform has been added/updated in downtown.

public Stop_positions and platforms of public transport added in Ayacucho

Our local knowledge was fundamental to this mapping, however, many of the added relations are still incomplete because we do not know the complete route of some buses, such routes are being completed by using tools such as Osmtracker.

Improvement of OSM data quality using osmlint and to-fix

Posted by karitotp on 28 September 2016 in English (English)

Improvement of OSM data quality using osmlint and to-fix

To help make it easier for mappers to clean up various quality issues OSM, we have used osmlint to detect dmap ata issues using javascript validators and automatically publish them as tasks daily into To-fix.

In this way mappers are solving thousands of connectivity errors, overlapping ways, unclosed ways, incorrect tags or adding missing tags on the data using satellite imagery daily. Most issues are caused by inexperienced users who may be unaware of how to use the map editor and tags correctly and can be easily fixed by experienced remote mappers. Task descriptions and instructions to fix are provided in the Github repository.

JOSM integration

Fixing issues using To-Fix JOSM plugin

To make it even easier to cycle through a task of interest, experienced mappers can solve issues much faster using the To-Fix JOSM plugin.

Progress of fixes

The community along with the data team at Mapbox has helped cleanup many thousands of issues in the last 2 years.

report To-Fix errors fixed in the last two years

During the course of making these fixes remotely, our team has tried to minimize making incorrect fixes by montioring all changeset comments and taking appropriate steps to improve the algorithm and processing. Now countries with active mapping communities are ignored, changeset comments more descriptive and we recently made a fix to prevent the creation of large changesets that clutter the history view on OSM.

Our workflow to solve to-fix issues

The data team constantly monitors and fixes to-fix errors every day to clean up OpenStreetMap data.

tofix Issues solved in July

A task is assigned to one specific data team member after its completion so that it is constantly monitored for new errors. These new errors are detected and fixed immediately thus reducing the response time to fixing bad edits on the map. Every week, the corresponding tracker on Github is updated with total detected errors and total resolved errors to monitor and document any sudden spikes in issues.

Keeping OSM data error free

The goal is to have a community made map which is constantly growing at the best possible quality. Reaching this goal requires a lot of work to improve the map editors, better validation tools, and the contribution of more experienced mappers. If you are a javascript developer, you can help improve osmlint to catch even more complex data issues or contribute to the development of to-fix, and if you are an experienced mapper you can help fix issues on to-fix.

From the data team at Mapbox

Location: Centro Histórico Ayacucho, Ayacucho, Province of Huamanga, Ayacucho, 05001, Peru