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

I want to make a custom map of data that's in open street map. e.g. I want to show all the electric car charging stations mapped, or all the shops in a city that sell halal food, or all the fabric shops in a city, or all the pubs without TVs (these are all use cases). This data can be added to the OSM database. Is there a web site/app/service that will allow non-technical users to just put in the basics (like "includ all nodes tagged amenity=charging_point") and then there'll be a nice slippy map showing main OSM mapnik but with lots of JS popups. This new map can be shared around to the public so that they can see what's where. It would automatically update every day or so, so that if you map new POIs, that would seamlessly show up on your map.

I know OpenStreetBrowser can do this, but (a) that's really hard to use, and (b) No popups.

If this doesn't exist, I'll create it myself, but don't want to re-invent the wheel

asked 13 Jun '12, 10:37

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%


There's a multitude of special-use POI maps like the ones you mention, but I'm not aware of any generic solution where anyone can simply create their own POI map.

The main technical hurdle with that is that you have to keep a reasonably current database of all POIs, and if you want to do it right, you'll not only look at nodes but also at ways (e.g. a shop need not be a node - it could be a building outline way as well). There are some community-operated databases that support thematic queries (e.g. XAPI, Overpass) but building a map where every zoom an pan action sends a new request to them would likely bring them to their knees and would not make for a nice map browsing experience either.

It's not an unsolvable problem but it does require a decent server to run the database on; it cannot be solved by Javascript hacking alone.

permanent link

answered 13 Jun '12, 11:13

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

edited 13 Jun '12, 11:13

In addition to what Frederik wrote to you, it is possible to do this if with low resources (read cheap webspace) if you do the data processing beforehand. This is a possible approach if there is not much data you want to filter (i.e. it is either a key/combination that is not very much in use or you are satisfied with a small extract like a city) and you don't care that the data is some days old (dependent how old your data is, of course you can also recreate and upload this every day).

With osmconvert and the --all-to-nodes option you can convert all ways and some kind of relations into node-objects. In a second pass you would filter the desired stuff out, e.g. with osmfilter. The resulting files would then be converted again and used in Openlayers or similar for display.

If you want to do it generically (for all tags that are in OSM) you will have to get a database copy of all the data.

permanent link

answered 13 Jun '12, 16:57

dieterdreist's gravatar image

dieterdreist
3.7k113567
accept rate: 3%

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:

×59
×15
×13
×6

question asked: 13 Jun '12, 10:37

question was seen: 6,031 times

last updated: 13 Jun '12, 16:57

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