اوپن سٹریٹ میپ لوگو OpenStreetMap

Fixing split buildings in LA

9 August 2016 کوں English وچ manings دی طرفوں پوسٹ کیتا ڳیا. آخری واری 10 August 2016 کوں اپڈیٹ کیتا ڳیا.

Last time, we talked about how we imported over 1 million buildings in LA. Watch this video from our SOTM-US talk. In this post, we’ll talk about our ongoing cleanup.

No data is perfect, the quality of what we imported in OpenStreetMap was generally good, but in all things data, there will always be unexpected cases.

During the import trials, we discovered that the LA City data was split to the parcel boundaries resulting to small polygons that should be part of the larger building (see: #71). We fix this during the import by using the Auto-tools plugin in JOSM but there were cases when it wasn’t fixed.

screen shot 2016-07-21 at 11 47 25

Detecting split buildings

We ran a detection for split buildings by analyzing size and shapes of buildings using OSM-QA-tiles, turf and tilereduce. A sample output looks like this:

screen shot 2016-08-04 at 15 07 21

The general idea is that:

  • small buildings are more compact (low area, high shape value);
  • large buildings are complex and wiggly (high area, low shape value).

The reverse is true for invalid/split buildings.

After several trials, we came up with an acceptable threshold for split buildings in LA.

Here are some examples of valid detection:

valid_small_splits

valid_large_split
Thin/narrow rectangles

valid_traingles
Triangles

valid_diagonal
Diagonal cuts

Fixing with Maproulette

The script detected ~4K buildings and is available as a task in Maproulette: http://maproulette.org/map/419/460642

Workflow for JOSM

  1. Go to http://maproulette.org/map/419/460642 and login with your OpenStreetMap account.
  2. Open JOSM and activate Remote Control tool.
  3. Download the Auto-tools plugin.
  4. Start fixing by merging the split building to the adjacent larger building using Auto-tools.

fix_split_josm

For ideas how to do this in iD, let me know.

We are continuously improving how we detect split buildings, if you have ideas, comment here or directly in the ticket.

Thank you for fixing!

محل وقوع: Nevin, Central-Alameda, Los Angeles, Los Angeles County, California, 90011, United States
ای میل آئیکان بلو سکائی دا آئیکن فیس بُک دا آئیکن لنکڈ اِن دا آئیکن میسٹوڈون دا آئیکن ٹیلی گرام دا آئیکن ایکس دا آئیکن

بحث مباحثہ

9 August 2016تے 14:25دے بارے mvexel دی رائے

Cool that you’re using MapRoulette for this!

9 August 2016تے 14:29دے بارے manings دی رائے

@mvexel, Yes! Maproulette is awesome! And I have issues ;) https://github.com/osmlab/labuildings/issues/104#issuecomment-238489764

کمنٹ کرݨ کیتے لاگ ان تھیوو