Browse Source

initial commit

master
emile 5 months ago
commit
b964b3105c
Signed by: emile <hanemile@protonmail.com> GPG Key ID: 4D8DD313A751DED7
100 changed files with 2443 additions and 0 deletions
  1. +7
    -0
      README.md
  2. +22
    -0
      make-tiles.rb
  3. +2414
    -0
      sonnenstr58-v0.11.svg
  4. BIN
      tiles/1/0/0.jpg
  5. BIN
      tiles/1/0/1.jpg
  6. BIN
      tiles/1/1/0.jpg
  7. BIN
      tiles/1/1/1.jpg
  8. BIN
      tiles/2/0/0.jpg
  9. BIN
      tiles/2/0/1.jpg
  10. BIN
      tiles/2/0/2.jpg
  11. BIN
      tiles/2/0/3.jpg
  12. BIN
      tiles/2/1/0.jpg
  13. BIN
      tiles/2/1/1.jpg
  14. BIN
      tiles/2/1/2.jpg
  15. BIN
      tiles/2/1/3.jpg
  16. BIN
      tiles/2/2/0.jpg
  17. BIN
      tiles/2/2/1.jpg
  18. BIN
      tiles/2/2/2.jpg
  19. BIN
      tiles/2/2/3.jpg
  20. BIN
      tiles/2/3/0.jpg
  21. BIN
      tiles/2/3/1.jpg
  22. BIN
      tiles/2/3/2.jpg
  23. BIN
      tiles/2/3/3.jpg
  24. BIN
      tiles/3/0/0.jpg
  25. BIN
      tiles/3/0/1.jpg
  26. BIN
      tiles/3/0/2.jpg
  27. BIN
      tiles/3/0/3.jpg
  28. BIN
      tiles/3/0/4.jpg
  29. BIN
      tiles/3/0/5.jpg
  30. BIN
      tiles/3/0/6.jpg
  31. BIN
      tiles/3/0/7.jpg
  32. BIN
      tiles/3/1/0.jpg
  33. BIN
      tiles/3/1/1.jpg
  34. BIN
      tiles/3/1/2.jpg
  35. BIN
      tiles/3/1/3.jpg
  36. BIN
      tiles/3/1/4.jpg
  37. BIN
      tiles/3/1/5.jpg
  38. BIN
      tiles/3/1/6.jpg
  39. BIN
      tiles/3/1/7.jpg
  40. BIN
      tiles/3/2/0.jpg
  41. BIN
      tiles/3/2/1.jpg
  42. BIN
      tiles/3/2/2.jpg
  43. BIN
      tiles/3/2/3.jpg
  44. BIN
      tiles/3/2/4.jpg
  45. BIN
      tiles/3/2/5.jpg
  46. BIN
      tiles/3/2/6.jpg
  47. BIN
      tiles/3/2/7.jpg
  48. BIN
      tiles/3/3/0.jpg
  49. BIN
      tiles/3/3/1.jpg
  50. BIN
      tiles/3/3/2.jpg
  51. BIN
      tiles/3/3/3.jpg
  52. BIN
      tiles/3/3/4.jpg
  53. BIN
      tiles/3/3/5.jpg
  54. BIN
      tiles/3/3/6.jpg
  55. BIN
      tiles/3/3/7.jpg
  56. BIN
      tiles/3/4/0.jpg
  57. BIN
      tiles/3/4/1.jpg
  58. BIN
      tiles/3/4/2.jpg
  59. BIN
      tiles/3/4/3.jpg
  60. BIN
      tiles/3/4/4.jpg
  61. BIN
      tiles/3/4/5.jpg
  62. BIN
      tiles/3/4/6.jpg
  63. BIN
      tiles/3/4/7.jpg
  64. BIN
      tiles/3/5/0.jpg
  65. BIN
      tiles/3/5/1.jpg
  66. BIN
      tiles/3/5/2.jpg
  67. BIN
      tiles/3/5/3.jpg
  68. BIN
      tiles/3/5/4.jpg
  69. BIN
      tiles/3/5/5.jpg
  70. BIN
      tiles/3/5/6.jpg
  71. BIN
      tiles/3/5/7.jpg
  72. BIN
      tiles/3/6/0.jpg
  73. BIN
      tiles/3/6/1.jpg
  74. BIN
      tiles/3/6/2.jpg
  75. BIN
      tiles/3/6/3.jpg
  76. BIN
      tiles/3/6/4.jpg
  77. BIN
      tiles/3/6/5.jpg
  78. BIN
      tiles/3/6/6.jpg
  79. BIN
      tiles/3/6/7.jpg
  80. BIN
      tiles/3/7/0.jpg
  81. BIN
      tiles/3/7/1.jpg
  82. BIN
      tiles/3/7/2.jpg
  83. BIN
      tiles/3/7/3.jpg
  84. BIN
      tiles/3/7/4.jpg
  85. BIN
      tiles/3/7/5.jpg
  86. BIN
      tiles/3/7/6.jpg
  87. BIN
      tiles/3/7/7.jpg
  88. BIN
      tiles/4/0/0.jpg
  89. BIN
      tiles/4/0/1.jpg
  90. BIN
      tiles/4/0/10.jpg
  91. BIN
      tiles/4/0/11.jpg
  92. BIN
      tiles/4/0/12.jpg
  93. BIN
      tiles/4/0/13.jpg
  94. BIN
      tiles/4/0/14.jpg
  95. BIN
      tiles/4/0/15.jpg
  96. BIN
      tiles/4/0/2.jpg
  97. BIN
      tiles/4/0/3.jpg
  98. BIN
      tiles/4/0/4.jpg
  99. BIN
      tiles/4/0/5.jpg
  100. BIN
      tiles/4/0/6.jpg

+ 7
- 0
README.md View File

@@ -0,0 +1,7 @@
# Map of chaosdorf

Copy of this project from blinry: https://github.com/blinry/map.recurse.com

(might fork later and put the code into the forked repository, this is just a test)



+ 22
- 0
make-tiles.rb View File

@@ -0,0 +1,22 @@
# This script will create tiles of different zoom levels.

target_dir = "./tiles"
min_zoom = 1
max_zoom = 5

min_zoom.upto(max_zoom) do |z|
`rm -rf #{target_dir}/#{z}`

# Create the required directories.
0.upto(2**z-1) do |x|
`mkdir -p #{target_dir}/#{z}/#{x}`
end

# Render the raster graphics using Inkscape.
puts "Rendering zoom level #{z}..."
`inkscape -z -e /tmp/map-of-rc-#{z}.png -w #{256*2**z} -h #{256*2**z} sonnenstr58-v0.11.svg`

# Cut the raster graphics into tiles using ImageMagick.
`convert -density 1200 /tmp/map-of-rc-#{z}.png -crop 256x256 -set filename:tile "%[fx:page.x/256]/%[fx:page.y/256]" +repage +adjoin "#{target_dir}/#{z}/%[filename:tile].jpg"`
`rm /tmp/map-of-rc-#{z}.png`
end

+ 2414
- 0
sonnenstr58-v0.11.svg
File diff suppressed because it is too large
View File


BIN
tiles/1/0/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/1/0/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 5.1 KiB

BIN
tiles/1/1/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/1/1/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 7.2 KiB

BIN
tiles/2/0/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/0/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 13 KiB

BIN
tiles/2/0/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.1 KiB

BIN
tiles/2/0/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/1/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/1/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/2/1/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.3 KiB

BIN
tiles/2/1/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/2/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/2/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 13 KiB

BIN
tiles/2/2/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 8.8 KiB

BIN
tiles/2/2/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/3/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/2/3/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 14 KiB

BIN
tiles/2/3/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 7.3 KiB

BIN
tiles/2/3/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/0/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/0/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/0/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 5.8 KiB

BIN
tiles/3/0/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 9.1 KiB

BIN
tiles/3/0/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 5.5 KiB

BIN
tiles/3/0/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/0/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/0/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/1/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/1/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/1/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 8.0 KiB

BIN
tiles/3/1/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/3/1/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 7.3 KiB

BIN
tiles/3/1/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/1/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/1/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/2/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/2/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/2/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 7.0 KiB

BIN
tiles/3/2/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 9.4 KiB

BIN
tiles/3/2/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 4.4 KiB

BIN
tiles/3/2/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/2/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/2/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/3/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/3/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/3/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.2 KiB

BIN
tiles/3/3/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.3 KiB

BIN
tiles/3/3/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 8.6 KiB

BIN
tiles/3/3/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/3/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/3/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/4/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/4/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/4/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.7 KiB

BIN
tiles/3/4/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 4.6 KiB

BIN
tiles/3/4/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.1 KiB

BIN
tiles/3/4/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 4.3 KiB

BIN
tiles/3/4/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/4/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/5/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/5/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/5/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/3/5/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 9.9 KiB

BIN
tiles/3/5/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 9.2 KiB

BIN
tiles/3/5/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 2.7 KiB

BIN
tiles/3/5/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/5/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/6/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/6/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/6/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 8.2 KiB

BIN
tiles/3/6/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 11 KiB

BIN
tiles/3/6/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.2 KiB

BIN
tiles/3/6/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 3.7 KiB

BIN
tiles/3/6/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/6/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/7/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/7/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/7/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 6.6 KiB

BIN
tiles/3/7/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 8.5 KiB

BIN
tiles/3/7/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 5.3 KiB

BIN
tiles/3/7/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 3.0 KiB

BIN
tiles/3/7/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/3/7/7.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/0.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/1.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/10.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/11.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/12.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/13.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/14.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/15.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/2.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/3.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 417 B

BIN
tiles/4/0/4.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 552 B

BIN
tiles/4/0/5.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 703 B

BIN
tiles/4/0/6.jpg View File

Before After
Width: 256  |  Height: 256  |  Size: 776 B

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save