Skip to content

Commit

Permalink
Extend OSM tags to identify residential buildings
Browse files Browse the repository at this point in the history
  • Loading branch information
nesnoj committed Dec 17, 2024
1 parent 53f304d commit cd7265d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ CREATE TABLE openstreetmap.osm_buildings_filtered as
or bld.building like 'semidetached_house'
or bld.building like 'static_caravan'
or bld.building like 'terrace'
or bld.building like 'terraced_house'
or bld.building like 'commercial'
or bld.building like 'industrial'
or bld.building like 'kiosk'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ CREATE TABLE openstreetmap.osm_buildings_residential as
or bld.building like 'farm'
or bld.building like 'house'
or bld.building like 'residential'
or bld.building like 'semidetached_house';
or bld.building like 'semidetached_house'
or bld.building like 'terrace'
or bld.building like 'dormitory'
or bld.building like 'terraced_house';

ALTER TABLE openstreetmap.osm_buildings_residential
ADD CONSTRAINT osm_buildings_residential_id_pkey PRIMARY KEY (id);
Expand Down

0 comments on commit cd7265d

Please sign in to comment.