User:IanVG/UGA/Bicycle Parking
Short summary of my process:
I will be using Overpass Turbo to export a geojson from OpenStreetMap (OSM). Based on querying any point within the University of Georgia on OSM, I found that the relation ID for the University of Georgia is 7301023. This encompasses all the different UGA campuses (not just the main campus).
On Overpass Turbo I ran the following code to query and export the bicycle parking data:
rel(7301023);
out;
map_to_area -> .a;
node(area.a)[amenity=bicycle_parking];
out geom;
The first line, rel(7301023), calls for the relation object that we hardcoded to refer to the University of Georgia.
The second line outputs that object.
The third line, uses the currently saved output, calls the function map_to_area to assign that object to the variable a. This map_to_area function will assign all the closed areas that are contained within the relation previously outputted.
The fourth line calls the node function to search for all nodes that include the tag amenity=bicycle_parking that are contained within any of the closed areas that comprise the University of Georgia campus.
The fifth line outputs the geometry of the nodes with the out geom; .
If you have any questions, please let me know! Hopefully, you can use this as is. I checked and found that not all of the bicycle parking nodes are completely mapped, but I would say that a very good portion of them have the capacity mapped onto the node.