org.openstreetmap.atlas.geography.sharding.preparation.tileDownload.sh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atlas Show documentation
Show all versions of atlas Show documentation
"Library to load OSM data into an Atlas format"
#!/bin/bash
# Once the tiles have been counted in the database, use this to download them.
: ${1:?"Make sure to pass the database user name to the script"}
psql -U $1 -d osm_planet -c "\copy sharding.counts TO ./counts.csv WITH DELIMITER ',' CSV"