OpenStreetMap 로고 OpenStreetMap

Fixing split buildings in LA

manings님이 English로 2016년 8월 9일에 게시함. 최근 2016년 8월 10일에 업데이트됨.

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
이메일 아이콘 Bluesky 아이콘 Facebook 아이콘 LinkedIn 아이콘 마스토돈 아이콘 텔레그램 아이콘 X 아이콘

토론

2016년 8월 9일 14:25mvexel님의 의견

Cool that you’re using MapRoulette for this!

2016년 8월 9일 14:29manings님의 의견

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

댓글을 남기려면 로그인하세요