Files

353 B

The Birdcage

This is a simple tool to cache OSM queries into PostgreSQL.

Setup

You need these packages installed:

  • Node.js
  • curl
  • ogr2ogr (part of the GDAL suite)

Usage

  1. Configure your .env file with the appropriate OSM query, PostgreSQL connection details, and layer name. The OSM query must be url encoded!
  2. Run the cache script