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

I would like to create several (200/day) map images of max size 400x400.

Those images will be served online -to anyone- using Django.

The desired contents and properties of each image include:

  • Road names
  • Zoom 17 or 18
  • A marker at the center which represents the coordinates of interest.
  • Max size 400x400
  • svg format (jpg -at least- for smaller filesize compared to png)

A static map image seems not to be an option because the services that may provide it either:

  • Are not free after a number of requests
  • Do not provide svg or jpg formats
  • Do not provide a marker

The most realistic idea might be to create the images on my server(s)(or home box somehow) with a call to a script, for the first time, and then serve the created file while keep runing a task of updating the older images.

Searching around for such a setup, I find that I have to use mapnik on a postgis installation.

Supposing that svg is the prefered format due to its quality of display on retina images:

  • Is there a simpler or more capable solution for this task?

If not, I have scatterly read the following issues for svg images and mapnik:

Are the above difficult to resolve on a self-hosted setup?

Some help or a different approach is very much appreciated.

asked 19 Jul '16, 16:13

raratiru's gravatar image

raratiru
11113
accept rate: 0%

edited 26 Jul '16, 23:19

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

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:

×341
×98
×47
×9

question asked: 19 Jul '16, 16:13

question was seen: 3,430 times

last updated: 26 Jul '16, 23:19

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