flux-labs / flux-site-extractor

Capture site features to use in your workflow.
9 stars 6 forks source link

How about use type? #12

Open jamiefarrell opened 7 years ago

jamiefarrell commented 7 years ago

What are your thoughts on adding OSM usage value to the data tables output? My only concern is that the OSM data isn't always reliable depending on geographic region, however it is certainly structured and set up to have accurate usage values for each footprint/building. This would be useful for energy modeling and site analysis and my thesis : )

javiz commented 7 years ago

I've added some metadata attributes to the building profiles, let me know if this solves your needs.

jamiefarrell commented 7 years ago

Without building a node from the master branch, running from https://labs.flux.io/site-extractor/ I see that each building profile feature comes with a type attribute in the json. Is this what you mean?

Granted 82% of the data is useless and value is "yes" instead of house, commercial, church ect... Perhaps adding the tag value for use type is not worth it now, but it could be soon.

http://taginfo.openstreetmap.org/keys/?key=building#values

{ "primitive": "polyline", "points": [ [ 284.3949279187826, 430.03706260166314, 2.9190980156516417 ], [ 283.629639633851, 466.583251429052, 2.5849745831434805 ], [ 301.371161590542, 466.96173769742626, 2.7221928517072493 ], [ 302.14467878127283, 430.40441692082806, 3.064909786965596 ], [ 284.3949279187826, 430.03706260166314, 2.9190980156516417 ] ], "units": { "points": "meters" }, "type": "building", "attributes": { "materialProperties": { "color": "#ff0000", "linewidth": 2 }, "latitude": 42.33539201133927, "longitude": -71.04005564771734 } }

My end goal. sometime before september, is to tie the site extractor directly into energy simulations. The most sensitive variable for that is "use type"

javiz commented 7 years ago

Ok, I'll see if I can get some more useful tags into the building profile attributes by next week.