Skip to content
This is my experimental respository for a dynamic GIS data fusion system.
JavaScript CSS Python Other
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data
doc
examples
foldbeam
sample-output
tests
webui
webutils
.gitignore
.hgignore
.lvimrc
HACKING.txt
LICENSE-2.0.txt
MANIFEST.in
NEWS.txt
README.rst
run_tests_with_coverage.sh
setup.py

README.rst

An experiment in dynamic re-projection

This is my experimental respository for dynamic re-projection work based on the TileStache project.

Examples

After building with buildout, you should have the bin/foldbeam-render script. Some examples:

# Generate a world map using equirectangular projection
$ bin/foldbeam-render --output world-equirectangular.png -w 1280 \
    -l -180 -r 180 -t 84 -b -84
# Generate a world map using mercator projection
$ bin/foldbeam-render --output world-mercator.png -w 1000 \
    -l -20000000 -t 16000000 -r 20000000 -b -14000000 --epsg 3395
# Generate the US National Atlas equal area projection
$ bin/foldbeam-render --output us.png -w 1280 \
    -l -3000000 -t 2500000 -r 3600000 -b -4700000 --epsg 2163
# Generate a UK OS national grid map with 1 pixel == 1 km
$ bin/foldbeam-render --output uk.png -w 700 \
    -l 0 -r 700000 -t 1300000 -b 0 --epsg 27700
# Generate a UK OS national grid map centred on Big Ben
$ bin/foldbeam-render --output bigben.png -w 800 \
    -l 530069 -t 179830 -r 530469 -b 179430 --epsg 27700
# Generate a Lambert conformal conic projection
$ bin/foldbeam-render --output lambert-conformal-conic.png -w 1024 \
    -l -8000000 -r 8000000 -t 6000000 -b -4000000 --epsg 2062

These examples (and those in the sample-output/gen_samples.sh file) generate the output displayed below. Data, imagery and map information provided by MapQuest, Open Street Map and contributors, CC-BY-SA.

https://github.com/rjw57/foldbeam/raw/master/sample-output/world-equirectangular.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/world-mercator.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/us.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/us-aerial.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/uk.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/uk-aerial.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/bigben.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/lambert-conformal-conic.jpg
https://github.com/rjw57/foldbeam/raw/master/sample-output/lambert-conformal-conic-aerial.jpg

License

See the LICENSE-2.0.txt file.

Credits

Something went wrong with that request. Please try again.