NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I am trying to use the BigMaps to download an image of the entire state of Arkansas at zoom 16. If I am lucky enough to get it to actually not crash my browser, I click the "Perl" link which downloads a "mkmap.pl" file. When I run it in CMD with Perl, I get this: - GD Warning: product of memory allocation multiplication would exceed INT_MAX, failing operation - gracefully - Can't call method "colorAllocate" on an undefined value at /perl_tests/arkansas.pl line 11. Line 11 in that file reads: - my $white = $img->colorAllocate(248,248,248); Why is this causing an error? I would think that with this file being directly from BigMaps, it would work immediately. Am I doing something wrong, or is the file causing the error?

asked 14 Aug '17, 10:57

BobGrey's gravatar image

BobGrey
11112
accept rate: 0%


The bounding box for Arkansas is roughly from longitude -94.61787 to -89.64224 and latitude 33.00412 to 36.49951. According to slippy map tilenames and Tilesname Webcalc this would lead to about 906*774 = 701244 tiles for zoom level 16. Each tile is 256x256 large. The resulting image would have a size of 179518464 x 179518464 pixels. I doubt this is what you really want.

Also, BigMap and BigMap2 are essentially performing a bulk download and thus violating the tile usage policy.

Maybe you want to tell us what you are trying to achieve. There might be better solutions, for example rendering your own tiles.

permanent link

answered 14 Aug '17, 13:32

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

I am trying to recreate Arkansas on a 1:1 scale. I want to find an image that is can show EVERY road and street in Arkansas, which is only possible on high zoom levels (I found Zoom 15 to be the lowest zoom that still shows the desired detail, but it causes roads close to each other to merge together, such as roads with medians or freeways and their service roads...) If there is a better way to do this, please let me know! How do I go about rendering my own tiles? This seems like it will be a good idea, I just don't know what it actually is or how it works... Thank you for the reply and pointing out the tile usage policy issue with it. Perhaps downloading 700,000 tiles is actually not a good idea! Sorry about that...

(15 Aug '17, 10:22) BobGrey

You can take a look at https://switch2osm.org/serving-tiles/ and https://wiki.openstreetmap.org/wiki/Rendering. However it depends on what you want to achieve with this image. Do you want to print it? Do you just want to view it on your desktop computer or on a smartphone?

(15 Aug '17, 11:33) scai ♦
1

I certainly hope they aren't planning on printing it out. A 1:1 scale map of Arkansas would take up an area the size of... well... Arkansas! :D http://blogs.ubc.ca/clanki/files/2007/04/on-the-impossibility.pdf

(15 Aug '17, 16:47) alester

No problem - just print it on the inside of an appropriate fractal shape and everything will be fine!

(15 Aug '17, 17:05) SomeoneElse ♦

I just want to download it for viewing. I have no intentions on printing.

(16 Aug '17, 01:57) BobGrey

Are you trying to download the rendered map, or the satellite photos?

(16 Aug '17, 07:34) dsh4

Downloading/viewing such a single big image isn't really useful. You won't be able to orientate yourself, you won't be able to zoom (because everything will just get blurry when zooming out), you won't be able to search for addresses, calculate routes etc. If you are looking for a desktop software for OSM then take a look at Marble. However it requires an Internet connection (except for some cached tiles, or if you have your own tile server). Unfortunately I can't suggest a good desktop software with offline OSM maps.

(16 Aug '17, 07:52) scai ♦

I don't need maps as of being able to find places, that is what I use Google Maps for. I want a single, large image that can cover ALL of Arkansas on zoom 16. I use such image as a reference base for a project I am working on to re-create the entire state in a virtual environment on a 1:1 scale...

(16 Aug '17, 08:20) BobGrey
showing 5 of 8 show 3 more comments

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×535
×275
×60
×5
×2

question asked: 14 Aug '17, 10:57

question was seen: 5,548 times

last updated: 16 Aug '17, 08:20

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum