Try changing the key that you’ve typed in the Panel plugged into K of the generic OSM to explore the other data in your file. You can go through the same process for V (values) to get subsets of data from each K (key).ĬONGRATULATIONS! You should now have displayed all of the highway data in your OSM file. If you don’t use the exact Key that is in the OSM file, it won’t work. If you use the wrong capitalization, it won’t work. If you spell highways incorrectly, it won’t work. Then, within the Panel, type in “highway”. Keys and Values are indicators within OSM files that allow you select different types of data from the OSM file to be visualized.Ĭreate a Panel and connect it to the K of the GenericOSM component. Within the GenericOSM component, there is a K and V field. In order to use the definition, you must have an understanding of the data structure of an OSM file. There error should mention that “K” has collected no values.Ģ0. You should have an error in the GenericOSM component. At this point, you are missing one piece to make the definition visualize data. Connect the P output of the GenericOSM component to the V input of the Polyline component.ġ9.
Then connect the O and the X output of the Location component to the O and the X input of the GenericOSM component.ġ8. Connect the Panel to the P input of the location component.ġ7. In the Panel you’ve created, enter the file path for your OSM file.ġ6. Place a GenericOSM, Location, and Panel component in the Grasshopper definition window.ġ5. Save the new Grasshopper file in the same location as the OSM and Rhino files using the naming protocol indicated.ġ4. Type “Grasshopper” into the command line.ġ2. Save it with the naming protocol indicated.ġ1. YOU MUST HAVE A MINIMUM OF A RHINO FILE, GRASSHOPPER FILE, AND OSM FILE IN YOUR WORKING FOLDER.ġ0. Please use the same naming protocol that I’ve used in the sample folder that I’ve uploaded. Create a working folder wherever you keep your lcabcn2014 data.
#Grasshopper rhino 6 download#
You will get a file download called “map.osm”.ĩ. Once the size is set, click on the blue “Export” button on the left.Ĩ. Change the size of the area of interest box in the map navigation box to suit your needs.ħ. On the left, find and click on some blue text that says “Manually select a different area”.Ħ. Once at, use the map to find the area of interest for which you want to grab data.ĥ. Elk = animal with antlers and GIS plug-in for Grasshopperģ.Grasshopper = parametric design\analysis\awesome plug-in for Rhino.This is the website where you will acquire the base data file that you will use in Rhino + Grasshopper + Elk. Through your own data mapping exercises, you can already begin to appreciate the implications of the open data gathering process, both in data richness and in challenges.ġ. Inherently, that means that there is a large community of individuals contributing data to this GIS resource and creating the repository 24/7/365. Keep in mind that OpenStreetMap is OPEN SOURCE. This will get you to a good starting point for having a base layer of GIS data that is available from OpenStreetMap. OpenStreetMaps → Rhino → Grasshopper → Elk
The general workflow you will get used to is roughly summarized as follows: This post will walk you through a simple workflow of bringing OSM data into Rhino using the plugins Grasshopper and Elk.