Last active
August 29, 2015 14:07
-
-
Save matiskay/20e1ac156287630f0790 to your computer and use it in GitHub Desktop.
Using DataMaps.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ops@osm-db:~/learning$ mb-util tiles/planet planet.mbtiles | |
INFO:mbutil.util:Importing disk to MBTiles | |
DEBUG:mbutil.util:tiles/planet --> planet.mbtiles | |
INFO:mbutil.util:metadata from metadata.json restored | |
DEBUG:mbutil.util: Read tile from Zoom (z): 0 Col (x): 0 Row (y): 0 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 2 Col (x): 1 Row (y): 2 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 1 Col (x): 0 Row (y): 1 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 8 Col (x): 75 Row (y): 159 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 5 Col (x): 9 Row (y): 19 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 6 Col (x): 18 Row (y): 39 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 4 Col (x): 4 Row (y): 9 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 3 Col (x): 2 Row (y): 4 | |
DEBUG:mbutil.util: Read tile from Zoom (z): 7 Col (x): 37 Row (y): 79 | |
DEBUG:mbutil.util:tiles inserted. | |
DEBUG:mbutil.util:analyzing db | |
DEBUG:mbutil.util:cleaning db |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40.711017,-74.011017 :0 | |
40.710933,-74.011250 :85 | |
40.710867,-74.011400 :170 | |
40.710783,-74.011483 :0 | |
40.710650,-74.011500 :85 | |
40.710517,-74.011483 :170 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/ericfischer/datamaps | |
cat data/points.txt | ./datamaps/encode -o planet.dm -z 16 -m8 | |
./datamaps/enumerate -z8 planet.dm | xargs -L1 -P8 ./datamaps/render -C256 -o tiles/planet | |
mb-util tiles/planet planet.mbtiles |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-77.59,-11.95 :170 | |
-77.13,-12.04 :170 | |
-76.47,-13.69 :170 | |
-71.83,-13.84 :170 | |
-71.89,-13.81 :170 | |
-70.60,-16.79 :170 | |
-77.31,-12.49 :170 | |
-74.03,-15.65 :170 | |
-76.35,-6.15 :170 | |
-70.15,-18.82 :170 | |
-78.50,-10.46 :170 | |
-71.74,-16.96 :170 | |
-71.47,-16.83 :170 | |
-79.16,-8.95 :170 | |
-80.35,-4.26 :170 | |
-75.47,-10.52 :170 | |
-75.47,-10.48 :170 | |
-75.42,-14.82 :170 | |
-74.56,-16.23 :170 | |
-75.30,-15.21 :170 | |
-72.52,-13.32 :170 | |
-76.41,-11.07 :170 | |
-78.42,-10.38 :170 | |
-73.41,-16.38 :170 | |
-73.74,-14.70 :170 | |
-69.11,-20.17 :170 | |
-76.22,-13.98 :170 | |
-70.94,-18.35 :170 | |
-77.96,-11.42 :170 | |
-75.16,-10.78 :170 | |
-71.57,-13.52 :170 | |
-76.44,-13.65 :170 | |
-78.87,-9.03 :170 | |
-77.67,-11.81 :170 | |
-75.88,-6.22 :170 | |
-81.00,-4.07 :170 | |
-80.97,-4.11 :170 | |
-81.05,-4.05 :170 | |
-81.03,-4.10 :170 | |
-81.19,-4.05 :170 | |
-81.18,-4.01 :170 | |
-81.11,-4.00 :170 | |
-77.00,-6.33 :170 | |
-71.43,-16.68 :170 | |
-78.03,-11.55 :170 | |
-79.53,-4.97 :170 | |
-75.00,-13.39 :170 | |
-68.70,-20.24 :170 | |
-80.97,-5.65 :170 | |
-77.56,-11.82 :170 | |
-71.81,-16.78 :170 | |
-71.00,-17.39 :170 | |
-77.45,-12.17 :170 | |
-75.40,-12.91 :170 | |
-71.84,-15.75 :170 | |
-73.63,-17.94 :170 | |
-75.65,-15.44 :170 | |
-71.87,-16.87 :170 | |
-73.60,-16.43 :170 | |
-71.37,-14.49 :170 | |
-77.55,-11.96 :170 | |
-75.76,-8.91 :170 | |
-69.92,-17.88 :170 | |
-71.69,-16.99 :170 | |
-73.27,-11.29 :170 | |
-74.36,-15.83 :170 | |
-75.45,-9.51 :170 | |
-75.98,-13.93 :170 | |
-74.85,-16.09 :170 | |
-79.16,-9.16 :170 | |
-76.43,-13.95 :170 | |
-80.91,-5.19 :170 | |
-81.05,-5.52 :170 | |
-74.90,-15.80 :170 | |
-73.12,-16.64 :170 | |
-74.36,-15.31 :170 | |
-75.09,-13.25 :170 | |
-81.00,-4.77 :170 | |
-76.36,-8.44 :170 | |
-77.37,-12.59 :170 | |
-78.83,-5.28 :170 | |
-78.80,-5.29 :170 | |
-80.98,-5.39 :170 | |
-72.26,-16.49 :170 | |
-81.14,-4.03 :170 | |
-81.19,-5.85 :170 | |
-73.96,-15.39 :170 | |
-71.19,-17.20 :170 | |
-74.52,-8.92 :170 | |
-74.36,-16.15 :170 | |
-74.40,-16.04 :170 | |
-71.48,-17.46 :170 | |
-79.68,-7.62 :170 | |
-74.49,-14.17 :170 | |
-81.01,-4.73 :170 | |
-81.02,-5.60 :170 | |
-76.25,-8.37 :170 | |
-73.15,-16.53 :170 | |
-80.46,-4.21 :170 | |
-75.47,-9.81 :170 | |
-77.06,-12.63 :170 | |
-76.89,-12.45 :170 | |
-75.96,-13.34 :170 | |
-76.33,-14.03 :170 | |
-79.28,-8.86 :170 | |
-77.61,-9.89 :170 | |
-74.53,-8.90 :170 | |
-76.70,-12.82 :170 | |
-76.84,-13.18 :170 | |
-77.63,-12.57 :170 | |
-71.69,-16.77 :170 | |
-79.28,-9.49 :170 | |
-74.95,-15.74 :170 | |
-77.68,-8.93 :170 | |
-77.66,-11.87 :170 | |
-76.19,-13.01 :170 | |
-75.17,-12.76 :170 | |
-79.21,-8.92 :170 | |
-76.03,-11.17 :170 | |
-77.20,-12.36 :170 | |
-78.22,-6.90 :170 | |
-75.23,-12.47 :170 | |
-79.17,-9.04 :170 | |
-70.78,-18.52 :170 | |
-71.92,-15.63 :170 | |
-73.41,-16.16 :170 | |
-81.19,-3.93 :170 | |
-74.17,-16.51 :170 | |
-70.81,-19.64 :170 | |
-71.70,-16.38 :170 | |
-74.54,-15.27 :170 | |
-76.45,-13.53 :170 | |
-75.94,-11.85 :170 | |
-74.25,-13.18 :170 | |
-72.16,-15.72 :170 | |
-75.04,-8.59 :170 | |
-70.81,-17.80 :170 | |
-81.00,-5.57 :170 | |
-71.28,-17.08 :170 | |
-76.31,-14.01 :170 | |
-70.03,-18.76 :170 | |
-80.83,-5.43 :170 | |
-78.92,-8.63 :170 | |
-76.13,-11.89 :170 | |
-75.24,-15.74 :170 | |
-77.05,-12.86 :170 | |
-70.63,-18.02 :170 | |
-81.00,-5.69 :170 | |
-81.13,-5.66 :170 | |
-76.99,-14.42 :170 | |
-76.28,-14.11 :170 | |
-75.92,-14.41 :170 | |
-78.75,-5.45 :170 | |
-76.94,-12.67 :170 | |
-73.59,-15.47 :170 | |
-73.09,-15.97 :170 | |
-72.10,-17.10 :170 | |
-79.76,-4.50 :170 | |
-75.98,-14.43 :170 | |
-75.87,-14.41 :170 | |
-76.63,-13.72 :170 | |
-79.02,-9.44 :170 | |
-77.11,-11.19 :170 | |
-77.51,-12.06 :170 | |
-76.99,-12.83 :170 | |
-75.57,-14.10 :170 | |
-76.13,-14.56 :170 | |
-69.41,-18.54 :170 | |
-77.87,-11.47 :170 | |
-77.00,-12.25 :170 | |
-75.06,-10.63 :170 | |
-74.41,-16.16 :170 | |
-76.39,-13.79 :170 | |
-72.78,-15.58 :170 | |
-69.93,-18.66 :170 | |
-81.39,-3.77 :170 | |
-72.60,-16.99 :170 | |
-76.63,-12.25 :170 | |
-71.97,-15.19 :170 | |
-72.12,-15.63 :170 | |
-76.43,-13.74 :170 | |
-78.71,-5.75 :170 | |
-80.72,-5.40 :170 | |
-78.67,-5.32 :170 | |
-80.03,-5.06 :170 | |
-80.69,-4.76 :170 | |
-77.86,-10.11 :170 | |
-72.00,-13.45 :170 | |
-75.64,-10.17 :170 | |
-78.42,-11.19 :170 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat data/sismos.txt | ./datamaps/encode -o sismos.dm -z 16 -m8 | |
./datamaps/enumerate -z16 sismos.dm | xargs -L1 -P8 ./datamaps/render -C256 -w -o tiles/sismos | |
mb-util tiles/sismos sismos.mbtiles |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment