Comments (9)
A 953m tree compared to normal trees
from streets-gl.
A 953m tree compared to normal trees
It's the mana tree from Secret of Mana! ;-)
Anyway, I compiled a small list of tags interesting for rendering in streets-gl from the information in the wiki in the hopes that this summary will be useful:
Size
Your tree models are roughly 1:2, i.e. double as high as wide. So:
- use
height
, if not setest_height
for height - use
diameter_crown
for width (height ~= width * 2)
circumference
of the trunk is set on a lot of trees, because it is easy to measure on foot (may even be a StreetComplete quest one day). diameter
also exists. diameter = circumference / PI. A very rough estimate would be diameter_crown
= diameter
* 30. Hence:
- otherwise use
diameter
to estimate width - otherwise use
circumference
to estimate width
- Trees in
natural=orchard
andlanduse=plant_nursery
+plant=<various>
are always rather small and have mostly identical size. - Trees in
natural=tree_row
have very similar sizes - Trees in unmanaged woods have very very uneven sizes:
natural=woods
(and/ormanaged=no
) - Trees in managed forests have quite even sizes, sometimes even planted in rows
landuse=forest
, espially withproduce
oroperator
.natural=woods
withmanaged=yes
also possible
Type of tree
- for basic appearence:
leaf_type=needleleaved
orleaf_type=broadleaved
- use
leaf_cycle
to havve deciduous trees not have leaves in winter - use
leaf_cycle
to fall back to a best guess ifleaf_type
is not specified
Specific models for specific trees
(Over the top / blue sky:)
For certain (families of) trees with specific appearance that are often used as , I guess you need to look in any of genus
, species
, species:wikidata
, taxon
and even species:<language>
, genus:<language>
to find which tree is which with best coverage. Examples of trees with a special look and that are used often in cities from the top of my head:
- palm trees
- cherry trees (pink blossom in spring)
- apple trees (white blossom in spring)
- orange, lemon trees (etc.) (quite distinct due to the many fruits in the tree)
However, I think such detection would warrant a separate library project that heavily makes use of wikidata data best written in a language that can compile to various targets (JS, native, ...), e.g. in Kotlin or Rust. Such a library project could then maybe also make predictions on the width, height, relation to trunk diameter etc.
from streets-gl.
Who actually maps trees and rows with (estimated) heights and diameters? I don't, never ever, not encountered a natural / monumental tree that warrants the effort. Species could tell a little, orchard olives are 5-6m at best. Those street side certainly are pruned, all branches chopped to at least 5m from ground. Pines in the city usually have only the crown and in fact the Riserva Naturale Pineta here shows old to very old, only crown. Just added levels to apartment blocks on Via del Santuario, 7 at left, 5 at right, the pines lining the streets are reaching the top of the 4th floor.
PS for the exercize added height 13 to the pine tree rows to see the effect,
Edit: Change after adding estim.heights and solar panels on left bottom church roof, mapped as areas, tagged with location=roof (would be nice if those rendered).
from streets-gl.
Is the height - value on trees evaluated in streets.gl?
from streets-gl.
Is the height - value on trees evaluated in streets.gl?
Yes, it is supported for individual trees and tree rows.
from streets-gl.
I think that most tree height are integrated from opendata bases (for exemple in Paris: this tree comes probably from this database)
Another funny example nearby:
https://www.openstreetmap.org/node/5234550067#map=19/48.89506/2.31063
key | value |
---|---|
height | 60 |
leaf_type | broadleaved |
min_height | 57 |
natural | tree |
It has probably been tagged so to look fine in f4map. but it's probably a pretty rare case
I think location=roof+height=3
would be a better tagging and that it should give the same result.
About sekerob comment on solar panel, I think location=roof
should be used to put whatever (trees, pools, pitches,solarpanels?) on top of roofs (should it be a separate issue)?
from streets-gl.
Units of measurement seem to be ignored
diameter=15 cm
https://www.openstreetmap.org/node/6788395443
https://streets.gl/#59.43304,24.75283,29.75,132.25,1319.15
from streets-gl.
Units of measurement seem to be ignored
diameter=15 cm
Thank you for reporting this. I've added support for "cm" units, it's fine now.
from streets-gl.
Seems fixed, thanks!
from streets-gl.
Related Issues (20)
- Glacier rendering
- Gabled roofs became hipped HOT 5
- building:min_level is ignored
- Mangrove forest rendering
- Render mini roundabout HOT 2
- area:highway=traffic_island renders as road area HOT 1
- show render times in rendergraph
- Rendering roof parts without volumes HOT 1
- Small elements not rendering HOT 4
- Crane on brownfield HOT 1
- Performance improvement HOT 2
- Add data version date on loading screen? HOT 2
- something's broken HOT 6
- How can I use it in an offline env? HOT 2
- Render of traffic signs HOT 2
- area:highway=* appears to ignore surface=*
- Render the round_row roof shape
- Tar1090 and streets-gl?
- Map does not render on Tor Browser HOT 4
- Switch to Github-Project and add other maintainers to continue development HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streets-gl.