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

I just set up a Piwigo (http://piwigo.org/) instance on my shared server account to store photos with. I really would like the ability to show viewers on a map where the photos were taken. Piwigo has extensions that use Bing (http://piwigo.org/ext/extension_view.php?eid=603) and Google (http://piwigo.org/ext/extension_view.php?eid=122) but I was wondering how I could use OpenStreetMap or OpenStreetMap data to do something similar.

asked 18 Dec '12, 23:07

XinJeisan's gravatar image

XinJeisan
11112
accept rate: 0%


In principle there is no problem using the tiles served by OSM as a background on a low volume site, you will naturally need to provide attribution (see http://www.openstreetmap.org/copyright ). If you expect more than a trivial amount of traffic you should either arrange for such a service from a commercial map tile provider or set up your own tile server (see switch2osm.org ).

To actually display the tiles you will need to code or extend a Piwigo plugin, but I suspect that you can reuse code from either the google or bing one.

permanent link

answered 19 Dec '12, 22:58

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 20 Dec '12, 12:59

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866

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:

×27
×1

question asked: 18 Dec '12, 23:07

question was seen: 24,165 times

last updated: 20 Dec '12, 12:59

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