<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Vector Data</title><link>https://sourceforge.net/p/biosphere3d/wiki/Vector%2520Data/</link><description>Recent changes to Vector Data</description><atom:link href="https://sourceforge.net/p/biosphere3d/wiki/Vector%20Data/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 24 Oct 2022 09:24:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/biosphere3d/wiki/Vector%20Data/feed" rel="self" type="application/rss+xml"/><item><title>Vector Data modified by Steffen Ernst</title><link>https://sourceforge.net/p/biosphere3d/wiki/Vector%2520Data/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steffen Ernst</dc:creator><pubDate>Mon, 24 Oct 2022 09:24:41 -0000</pubDate><guid>https://sourceforge.nete4160b57aeb431d567db5117e35ef63c179f3e7d</guid></item><item><title>Vector Data modified by Steffen Ernst</title><link>https://sourceforge.net/p/biosphere3d/wiki/Vector%2520Data/</link><description>&lt;div class="markdown_content"&gt;&lt;div class="toc"&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="#water-surfaces"&gt;Water surfaces&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#create-building-from-footprints"&gt;Create building from footprints&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="#arrows"&gt;Arrows&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;p&gt;Expects a polygon shapefile with certain attributes. Depending on the given attributes geometry is created and rendered in Biosphere.&lt;/p&gt;
&lt;p&gt;In the layer properties, an &lt;strong&gt;altitude offset&lt;/strong&gt; can be set, to place the geometry higher or lower.&lt;/p&gt;
&lt;p&gt;The colors-strings that are used below are comma-separated rgb-triples to specify the red, green and blue color part, each in the range from 0 to 255. Some examples:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;red&lt;/strong&gt;: 255,0,0&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;yellow&lt;/strong&gt;: 255,255,0&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;white&lt;/strong&gt;: 255,255,255&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;black&lt;/strong&gt;: 0,0,0&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;dark gray&lt;/strong&gt;: 50,50,50&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="water-surfaces"&gt;Water surfaces&lt;/h3&gt;
&lt;p&gt;This layer type uses shapefile polygons to create water surfaces. The following attributes are available:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;B3DLaTyp&lt;/strong&gt; – an optional string attribute with the value "water" makes sure Biosphere recognizes this polygon as a water surface&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;waveLen&lt;/strong&gt; - a double value for the wave length, useful values lie between 0.1 and 10&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;waveHgt&lt;/strong&gt; - a double value for the wave height, useful values lie between 0.001 and 0.1&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;color&lt;/strong&gt; - a string to specify the water color, see examples above; to animate the color, use the second attribute &lt;strong&gt;colorTo&lt;/strong&gt; to blend between the two attributes&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;evelation&lt;/strong&gt; – a double value to set the altitude absolute to sea level in meter, if it’s a 2,5D Shapefile, the attribute value is added to the existing z-values&lt;/li&gt;
&lt;li&gt;the water height can be animated with the two double attributes &lt;strong&gt;heightFrom&lt;/strong&gt; and &lt;strong&gt;heightTo&lt;/strong&gt;, if elevation is set, it is added to those two values&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the attributes "waveLen" and "waveHgt" don't exist or if the entries are zero, the values from the global water surface will be used instead.&lt;/p&gt;
&lt;p&gt;Water specific layer options in the "&lt;strong&gt;configure vector data&lt;/strong&gt;" dialog are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;water animation length&lt;/strong&gt;: with smaller values, the waves move slower with active animation&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;disable reflection&lt;/strong&gt;: compute no reflection for a faster rendering&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;disable rotation&lt;/strong&gt;: compute reflection as if this surface is a flat one, for small surfaces this may show no visible artifacts, while the computed reflection may be reused for other surfaces which speeds up render times&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="./attachment/addWaterSurfacesFromShapefile.png"/&gt;&lt;/p&gt;
&lt;h3 id="create-building-from-footprints"&gt;Create building from footprints&lt;/h3&gt;
&lt;p&gt;This layer type takes polygons from shapefiles. After placing the polygons on the ground, blocks are created by extruding the polygons upward and downward. Downward extrusion is useful to fill the gap between the polygon and the ground in uneven terrain.&lt;/p&gt;
&lt;p&gt;The amount can be controlled with the sliders for the height and negative height in the layer settings. This values effect all polygons in a shapefile, that have no such value specified in its attributes. There are four attributes to customize single polygon:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;B3DLaTyp&lt;/strong&gt; – an optional string attribute with the value "building" makes sure Biosphere recognizes this polygon as a building footprint&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;height&lt;/strong&gt; - a double value for the upward extrusion&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;negheight&lt;/strong&gt; - a double value for the downward extrusion&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;wallcolor&lt;/strong&gt; - a string to specify the wall color, see examples above&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;roofcolor&lt;/strong&gt; - a string to specify the roof color, see examples above&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="./attachment/blocksFromFootprints.png"/&gt;&lt;/p&gt;
&lt;h3 id="arrows"&gt;Arrows&lt;/h3&gt;
&lt;p&gt;This layer type uses point shape files to show arrows in a horizontal plane starting at point location. The following attributes are used:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;B3DLaTyp&lt;/strong&gt; - an optional string attribute with the value "arrow2D" makes sure Biosphere recognizes points as arrows&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;u&lt;/strong&gt; - holds the x component of the arrow direction and length&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;v&lt;/strong&gt; - holds the y component of the arrow direction and length&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;u1, v1, u2, v2, …&lt;/strong&gt; - optional further numbered uv- column pairs to create an arrow animation, time between the columns is set in the layer properties&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Arrow specific layer options in the "&lt;strong&gt;configure vector data&lt;/strong&gt;" dialog are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;arrow length factor&lt;/strong&gt;: a scale factor for the given arrow length&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;time between columns&lt;/strong&gt;: if multiple uv-columns are given, the time used to blend between each column pair can be set&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;single state animation style&lt;/strong&gt;: if just one uv-column pair is given, an animation mode can be set&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;none&lt;/strong&gt; means no animation&lt;/li&gt;
&lt;li&gt;with &lt;strong&gt;move&lt;/strong&gt;, the whole arrow is moved a bit in arrow direction&lt;/li&gt;
&lt;li&gt;with &lt;strong&gt;pulse&lt;/strong&gt;, a small band moves over the arrow&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;single state animation pulse color&lt;/strong&gt;: select a color for the small animated band&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;single state animation length&lt;/strong&gt;: set animation speed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;color mapping&lt;/strong&gt; to color the arrows, as described here &lt;a class="alink" href="/p/biosphere3d/wiki/Configure%20Color%20Map/"&gt;[Configure Color Map]&lt;/a&gt;, the numeric value in that case is the arrow length as given in the shape file&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steffen Ernst</dc:creator><pubDate>Mon, 24 Oct 2022 09:23:26 -0000</pubDate><guid>https://sourceforge.net859780ccd89aa9d0ffec34ee5435bd74707dcd0b</guid></item></channel></rss>