Skip to content

Ahlzen/lonely_buildings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

lonely_buildings

PostGIS scripts to find clusters of buildings in OSM with no nearby road. This is common, for example, in areas with recent building imports where roads mapping has not caught up with new developments.

Prerequisites

  • PostGIS database with OSM data (osm2pgsql schema)
  • Pystache (pip install pystache)

To Run

  • Edit the config section of generate_sql.py to match your database/preferences.

  • Create SQL from template: python ./generate_sql.py

  • Run the SQL script: psql -f find_buildings.sql gis

  • Results are in the _points table

Author

Lars Ahlzen

[email protected]

About

Finds clusters of buildings in OSM with no road nearby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages