Re: [QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-07 Thread Martin Dobias
Hi Jakob

On Fri, Jan 5, 2018 at 3:31 PM, Jakob Lanstorp  wrote:
>>>M values are ignored as their meaning is application specific. How
>>>would you like to use M values in the 3D view?
>
> M values is not for rendering in 3D, but just residing as part of my
> existing 4D data. When the M value is present the Z value is reset to 0 -
> and not rendered correct. Right now I would have to strip the M value from
> my data before rendering in the QGIS 3D map.

Looks like you have found a bug in postgres provider - I have filed it
here: https://issues.qgis.org/issues/17814


> It could actually be useful rendering the M value as a label in the 3D map.
> It could be age or velocity of a particle in groundwater particle flowmodel.

Indeed - support for labels in 3D view would be nice to have. The kind
of labels like place names in Google Earth where they are always
facing the camera and their size does not change as the camera moves.


> You 3D terrain model work with 2D draping works just fine. As I stated in
> the qgis issue log - having rendering of negative Z values could be fine for
> subsurface data.

There are already people interested in working with subsurface data in
the 3D view, so hopefully we will get some improvements in that
direction in the following releases.

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Jakob Lanstorp
>>M values are ignored as their meaning is application specific. How 
>>would you like to use M values in the 3D view? 

M values is not for rendering in 3D, but just residing as part of my
existing 4D data. When the M value is present the Z value is reset to 0 -
and not rendered correct. Right now I would have to strip the M value from
my data before rendering in the QGIS 3D map. 

It could actually be useful rendering the M value as a label in the 3D map.
It could be age or velocity of a particle in groundwater particle flowmodel.

You 3D terrain model work with 2D draping works just fine. As I stated in
the qgis issue log - having rendering of negative Z values could be fine for
subsurface data.

Anyways a very good job done yet.



-
Jakob Lanstorp
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Martin Dobias
Hi Jakob

On Fri, Jan 5, 2018 at 2:31 PM, Jakob Lanstorp  wrote:
> Is it correct that the 3D engine currently does not understand measurement
> values in 3DM format.

M values are ignored as their meaning is application specific. How
would you like to use M values in the 3D view?

> When having four numbers in a coordinate the z (and m) value is skipped
> rendering the geometry af terrain = 0 meter (any 2d layer in 3D map is
> default rendered at z=0).

All visible layers are rendered as a 2D map image for the terrain 3D
entity. Here the Z coordinate is ignored. But if you enable 3D
renderer for your layer, it will create a 3D entity that will respect
Z values. If you do not want your layer to be displayed on the
terrain's texture, you can set layer's symbology to "no symbols" and
that will disable rendering of it in 2D map.

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS 3D: Support for 3DM (x,y,z,m)

2018-01-05 Thread Jakob Lanstorp
Is it correct that the 3D engine currently does not understand measurement
values in 3DM format.
When having four numbers in a coordinate the z (and m) value is skipped
rendering the geometry af terrain = 0 meter (any 2d layer in 3D map is
default rendered at z=0).

Example:

/SELECT 
1 AS id, 
ST_GeomFromText('MULTIPOINT(505105 6305783 100 111, 504809 6305233 200
222)', 25832) AS geom/





-
Jakob Lanstorp
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer