reorder
This commit is contained in:
parent
2f63f15aef
commit
99a8dbc63b
@ -9,6 +9,19 @@
|
||||
## - Make geometries table have coordinates (load_coordinates.sh) - DONE
|
||||
## - <mastermap download>= release_geometries
|
||||
|
||||
###############
|
||||
### CHECK 1 ###
|
||||
###############
|
||||
|
||||
# for building in buildings
|
||||
|
||||
# if building.TOID not in new release_geometries
|
||||
# buildings.dynamics_has_demolished_buildings = TRUE
|
||||
|
||||
###############
|
||||
### CHECK 2 ###
|
||||
###############
|
||||
|
||||
# for geometry in geometries
|
||||
|
||||
# if geometry.TOID not in builings
|
||||
@ -26,11 +39,6 @@ psql -c "INSERT INTO new_geometries *
|
||||
FROM geometries
|
||||
WHERE source_id NOT IN ( SELECT ref_toid FROM buildings);"
|
||||
|
||||
# for building in buildings
|
||||
|
||||
# if building.TOID not in new release_geometries
|
||||
# buildings.dynamics_has_demolished_buildings = TRUE
|
||||
|
||||
# secondarily, if building.coordinates <10m away from any new_geometry.coordinates
|
||||
# older_building.dynamics_has_demolished_buildings = TRUE
|
||||
# link new_geometry TOID in the geometries table to old building and delete duplicate building we just created for new_geometry
|
Loading…
Reference in New Issue
Block a user