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

I'm using Viking and it buffers OSM tiles in ~/.viking-maps

Does anyone know if, and how, to use this map data to render a (big) image file

Viking itself is limited to image generation of 5000 * 5000 pixels, which is too small, the alternative is too stitch smaller images, which is tedious, and not so accurate

asked 28 May '12, 17:10

JohnD's gravatar image

JohnD
16111
accept rate: 0%

Currently there is no way for the end user to change this.

However if you can compile the source code then you can adjust the 5000 to the values you want in the code file vikwindow.c (see https://sourceforge.net/tracker/index.php?func=detail&aid=2831256&group_id=83870&atid=570954)

Note there is also some work to make this bounding box visible on the screen, configurable and save-able - see https://github.com/evanbattaglia/viking/tree/imageboxlayer

This may get reworked and included in the next version of Viking.

(01 Jun '12, 23:28) robbieonsea
1

Viking 1.4 has upped the limit to 50000x50000 pixels.

Although in practise (due the to the implementation) it is limited by (I think) the video cards display capability. So for instance I can only get it to work at 20000x20000 reliably, which takes several seconds to generate.

(03 Mar '13, 15:12) robbieonsea

One hint I can give you is Bigmap

permanent link

answered 30 May '12, 20:20

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Vikings max for 1 image files is 5000x5000. But you can also export a directory of images with a 10x10 matrix of 5000x5000 images. From there, you might be able to use GIMP to stitch them. Not sure if 50000 x 50000 is enough for you.

permanent link

answered 30 May '12, 20:24

jwernerny's gravatar image

jwernerny
4013414
accept rate: 0%

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:

×287
×60
×33
×1

question asked: 28 May '12, 17:10

question was seen: 9,441 times

last updated: 03 Mar '13, 15:12

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