atx-osg / atx-buildings

Importing Austin buildings and address data into OpenStreetMap
13 stars 2 forks source link

fix mistakes in import #31

Closed wilsaj closed 8 years ago

wilsaj commented 8 years ago

I jumped the gun on the import and a few bad datas made their way into the import datasets and ultimately OSM, so now we need to fix those. Logistically, we can mark these 33 tasks as invalid in the task manager, and run some cleanup on them before marking them as done again.

We'll need to run through a small checklist for each of those:

wilsaj commented 8 years ago

Overpass QL query to identify bad heights:

[out:xml][timeout:25];
(
  way[~"^height$"~"\."]
    - way[~"^height$"~"[\.][0-9]?[0-9]?$"];
);
out meta;
>;
out meta qt;
wilsaj commented 8 years ago

Overpass QL query to identify bad addresses:

[out:xml][timeout:25];
(
  node[~"^addr:street$"~",[0-9]{4}$"];
  way[~"^addr:street$"~",[0-9]{4}$"];
);
out meta;
>;
out meta qt;
wilsaj commented 8 years ago

Not many bad addresses (only 147) so these can be done in one shot.

The building heights need to be done and per census block.

wilsaj commented 8 years ago

addresses are fixed now

wilsaj commented 8 years ago

This can be combined with adding missing building heights, since we can do both in the same step by conflate with a node that has correct height=* tag