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

Hi, apologies if this is redundant but i'm new to coding. I'm trying to download amenity features (motorcycle parking and fuel) for a leaflet map of the UK, but I cannot find a tutorial. So far I've downloaded the British Isle file from geofabrik. And I've found the github tutorial https://github.com/openstreetmap/leaflet-osm but I don't know how to find the url? Any advice would be appreciated, thanks.

asked 22 Apr '19, 11:04

morgan04's gravatar image

morgan04
11112
accept rate: 0%

2

instead of downloading the data to your computer, I think it would be better to use Leaflet in combination with Overpass. In that way you always have the latest data in your application. An example library to do that is https://github.com/GuillaumeAmat/leaflet-overpass-layer

(22 Apr '19, 11:21) escada

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:

×710
×74
×3

question asked: 22 Apr '19, 11:04

question was seen: 1,358 times

last updated: 22 Apr '19, 11:21

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