This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drop view view_osm_polygon; | |
create view view_osm_polygon as | |
select | |
osm_id, | |
"access", | |
tags->'addr:housename' as "addr:housename", | |
"addr:housenumber", | |
"addr:interpolation", | |
admin_level, | |
tags->'aerialway' as aerialway, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a modification of the default osm2pgsql .style file that comes with osm2pgsql. | |
# | |
# A .style file has 4 columns that define how OSM objects end up in tables in | |
# the database and what columns are created. It interacts with the command-line | |
# hstore options. | |
# | |
# Columns | |
# ======= | |
# | |
# OsmType: This is either "node", "way" or "node,way" and indicates if this tag |