https://github.com/systemed/forest_roads
Stylesheet for US Forest Service data.
https://github.com/systemed/forest_roads
Last synced: 11 months ago
JSON representation
Stylesheet for US Forest Service data.
- Host: GitHub
- URL: https://github.com/systemed/forest_roads
- Owner: systemed
- License: other
- Created: 2015-01-09T12:32:29.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-09T12:39:05.000Z (over 11 years ago)
- Last Synced: 2025-03-26T11:47:04.037Z (about 1 year ago)
- Language: CartoCSS
- Size: 876 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A stylesheet for generating tiles using Mapnik and Kosmtik/Tilemill from US Forest Service data.
Importing
=========
First download the data from http://data.fs.usda.gov/geodata/edw/datasets.php. You want the National Forest System Roads shapefile which is currently at http://data.fs.usda.gov/geodata/edw/edw_resources/shp/S_USA.RoadCore_FS.zip.
Then import it into a Postgres database, changing the database name and username accordingly:
shp2pgsql -I -W LATIN1 S_USA.RoadCore_FS.shp forest_roads | psql -d forest_roads -q -U richard
shp2pgsql -I -W LATIN1 S_USA.AdministrativeForest/S_USA.AdministrativeForest.shp forest_boundaries | psql -d forest_roads -q -U richard
shp2pgsql -I -W LATIN1 S_USA.RecFacility_X.shp forest_recreation | psql -d forest_roads -q -U richard
Set the projection:
select updategeometrysrid('forest_roads','geom',4326);
select updategeometrysrid('forest_boundaries','geom',4326);
select updategeometrysrid('forest_recreation','geom',4326);
Then fire up Kosmtik.