<div dir="ltr">Yep, qgis ressource sharing + a blog post (I have a bunch of them to write on many topics) is the way to go . <div><div>About ressource sharing, do we have a centralized repo somewhere. I  don't want to create one for only a few styles..</div><div> </div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-03 11:40 GMT+01:00 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi all<br><br></div><div>This is indeed awesome !<br></div>Régis, you really should pass this kind of snippet to a broad audience (if you have time, of course). I do not know if the new QGIS sharing tool is the right target, or a quick blog post ?<br><br></div>Cheers,<br></div>Michaël<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2017-01-03 11:31 GMT+01:00 Régis Haubourg <span dir="ltr"><<a href="mailto:regis.haubourg@gmail.com" target="_blank">regis.haubourg@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>2017-01-03 5:44 GMT+01:00 Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="m_5610547785082325716m_-6232808661138207888gmail-m_-1628049579890260691m_-7123669694400636135gmail-"><br>
<br>
</span>I'd say the preferred solution would be a 3d viewer using the Qt 3d<br>
framework (<a href="http://doc.qt.io/qt-5/qt3d-examples.html" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/qt3d-ex<wbr>amples.html</a>). Then it could be<br>
built in as core functionality instead of as a python plugin (or<br>
relying on a js framework). We'd gain lots of benefits to this<br>
approach, including:<br>
- could be used with a multi-canvas view, with a mix of 2d/3d views<br>
- could potentially reuse existing symbology as surface materials<br>
- could do nifty things like embedding an interactive 3d view in a composer<br>
- could potentially replace the globe plugin</blockquote><div><br></div></span><div>Yes I forgot to mention Qt3D. That would be good to know if someone has already played with it. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So something like:<br>
z(point_n($geometry,@geometry_<wbr>point_num))</blockquote><div><br></div><div>Thanks for the pointer, That works with that expression on a Marker Line easily to draw vertical edges. See the screenshot here </div><div><a href="http://imgur.com/RPtOjMg" target="_blank">http://imgur.com/RPtOjMg</a> <br></div><span><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Throw that inside some type of data defined override and you can style<br>
a geometry's nodes based on their z value.<br>
<br>
A geometry generator using  segments_to_lines and geometry_n can style<br>
a geometries segments based on their z/m values too.<br></blockquote><div><br></div></span><div>Wow I just realized that you can combine a geometry generator inside a marker line. Win!!! </div><div> </div><div>I used that expression, creating a line for each marker with a y translation using z value: </div><div><br></div><div>make_line( translate(point_n(  $geometry,  @geometry_point_num ), 0 , -z(point_n($geometry,@geometry<wbr>_point_num)) ), translate( point_n(  $geometry,  @geometry_point_num +1  ), 0 , -z(point_n($geometry,@geometry<wbr>_point_num+1)) ) ) <br></div><div><br></div><div>See <a href="http://imgur.com/TlCN7zf" target="_blank">http://imgur.com/TlCN7zf</a></div><div><br></div><div><br></div><div>and a video just to underline the immediate feedback when editing :)</div><div><br></div><div><a href="https://youtu.be/o_lAeKJhRkg" target="_blank">https://youtu.be/o_lAeKJhRkg</a> <br></div><div><br></div><div><br></div><div><br></div><div>Thanks again Nyall, QGIS always allows a lot more than we think. So great....</div><div><br></div></div></div></div>
<br></div></div><span class="">______________________________<wbr>_________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-developer</a><br></span></blockquote></div><br></div>
</blockquote></div><br></div>