Using OpenStreetMap osmosis extract street names from polygon on map for display in RShiny table

preview_player
Показать описание
Osmosis tool from OpenStreetMap (OSM) is used to extract the name of streets within a catchment polygon shaped area on a map. Uses .poly, .osm, and .pbf files. Street names gathered for an ongoing project in an RShiny app.

There are a number of steps taken to extract the names. Timings:
00:00 Introduction
02:15 Step 1 - extract polygon coordinates from geoJSON file in RShiny
06:56 Step 2 - save coordinates in .poly file
10:24 Step 3 - download .pbf file
12:25 Step 4 - install and use osmosis
18:14 Step 5 - create .osm file
22:44 Step 6 - filter .osm file
28:22 Step 7 - display street names in RShiny table

Links to webpages mentioned in video:

The video providing more information on data tables can be found at

The GeoJSON file used in this video can now be found at
(previously at:
The data was provided under an Open Government License v3.0 - attribution “Copyright Aberdeen City Council, contains Ordnance Survey data © Crown copyright and database right (insert year)”

Note: As 3rd party data and 3rd party tools are used in this project, I can accept no responsibility for the quality or accuracy of the data and/or resulting output from the code.

** SUBSCRIBE **

** PLAYLISTS **

#extractstreetnames #osmosis #osm #openstreetmap #rshiny #polygons #data #map
Рекомендации по теме
Комментарии
Автор

Thank you, I'm completely new to OSM, you help a lot.

lordtanatoskmkn
Автор

Thanks! That was very useful and very easy to follow.

carlosvillarrubia
Автор

This is amazing! thanks! do u know who and how often data refresh? I saw same streets or places arent from now.

JuanTocho-fovj
Автор

Hi, thank you for this very interesting video! If possible can you help me, I would like to read a Geojson file of type polygons from my disk in a shiny application and Leaflet. I already have a leaflet map that works well. Thank you very much 👍👏

djibrillouabdoulaye