Re: [Qgis-user] delimited text point cloud color attribute ?

2014-06-22 Thread friedtj
fantastic, that did it, I was not aware of the color_rgb() functionnality
in the Expression Builder.

Thanks a lot.

JM

- Mail original -
De: Chris Crook ccr...@linz.govt.nz
À: frie...@free.fr, Qgis-user@lists.osgeo.org
Envoyé: Dimanche 22 Juin 2014 10:04:57
Objet: RE: [Qgis-user] delimited text point cloud color attribute ?

You can do this by using a data defined properties.

Go in to layer properties
Select the Style tab
Pick a single symbol as the marker type
In the bottom left of the dialog is the symbol layers panel.
Click the Simple marker
Then in the panel to the right click Data defined properties
This will bring up the data defined properties dialog box
Click the fill color check box, and then click the [...] button to the right of 
it (expression)
This will get you into the Expression string builder
Click on the Color group to expand it out, then enter the following in the 
Expression box

color_rgb(R,G,B)


Then click Ok as many times as necessary to get out .. this should do it.

Sounds complicated, but makes more sense when you do it than when you try to 
write it down!

CHeers
Chris





From: frie...@free.fr [frie...@free.fr]
Sent: 21 June 2014 19:32
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] delimited text point cloud color attribute ?

I am sure this is a trivial question by I am unable to locate the solution on 
the
web after a couple of days of searching :
I have a point cloud defined with coordinates and RGB color attributes, ie a 
file with

XYZR   G   B
508.71444702 255.17164612 316.63302612 254 254 254
508.85519409 255.27404785 316.73541260 254 254 254
508.86724854 255.21253967 316.71292114 252 254 254
508.92807007 255.21278381 316.73757935 247 251 253

I can load this file using the Add Delimited Text Layer tool, and at the moment 
I
use the Z elevation attribute to color my point cloud in QGis (Properties - 
Graduated
in Symbol option and Column = Z). I would like now each point to be colored by 
the RGB
attribute: how can I do this ? I know this is trivial for raster layers, but I 
cannot
find the solution for a vector layer.

Thanks, Jean-Michel


This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] delimited text point cloud color attribute ?

2014-06-22 Thread Chris Crook
You can do this by using a data defined properties.

Go in to layer properties
Select the Style tab
Pick a single symbol as the marker type
In the bottom left of the dialog is the symbol layers panel.
Click the Simple marker
Then in the panel to the right click Data defined properties
This will bring up the data defined properties dialog box
Click the fill color check box, and then click the [...] button to the right of 
it (expression)
This will get you into the Expression string builder
Click on the Color group to expand it out, then enter the following in the 
Expression box

color_rgb(R,G,B)


Then click Ok as many times as necessary to get out .. this should do it.

Sounds complicated, but makes more sense when you do it than when you try to 
write it down!

CHeers
Chris





From: frie...@free.fr [frie...@free.fr]
Sent: 21 June 2014 19:32
To: Qgis-user@lists.osgeo.org
Subject: [Qgis-user] delimited text point cloud color attribute ?

I am sure this is a trivial question by I am unable to locate the solution on 
the
web after a couple of days of searching :
I have a point cloud defined with coordinates and RGB color attributes, ie a 
file with

XYZR   G   B
508.71444702 255.17164612 316.63302612 254 254 254
508.85519409 255.27404785 316.73541260 254 254 254
508.86724854 255.21253967 316.71292114 252 254 254
508.92807007 255.21278381 316.73757935 247 251 253

I can load this file using the Add Delimited Text Layer tool, and at the moment 
I
use the Z elevation attribute to color my point cloud in QGis (Properties - 
Graduated
in Symbol option and Column = Z). I would like now each point to be colored by 
the RGB
attribute: how can I do this ? I know this is trivial for raster layers, but I 
cannot
find the solution for a vector layer.

Thanks, Jean-Michel


This message contains information, which may be in confidence and may be 
subject to legal privilege. If you are not the intended recipient, you must not 
peruse, use, disseminate, distribute or copy this message. If you have received 
this message in error, please notify us immediately (Phone 0800 665 463 or 
i...@linz.govt.nz) and destroy the original message. LINZ accepts no 
responsibility for changes to this email, or for any attachments, after its 
transmission from LINZ. Thank You.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Extract Projection Hangs

2014-06-22 Thread Rebecca Bennett
Thanks for the tips on using gdalsrsinfo Andre.


I can confirm that the tifs do have a projection assigned (see output below), 
but that the extract projection tool still hangs when I attempt to create the 
world file:


C:\Users\Rebecca\Desktopgdalsrsinfo 
C:\Users\Rebecca\Documents\DTM_MULTI-HS_D8_H25.tif

PROJ.4 : '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40 +y_0=-1000
00 +datum=OSGB36 +units=m +no_defs '

OGC WKT :
PROJCS[OSGB 1936 / British National Grid,
    GEOGCS[OSGB 1936,
    DATUM[OSGB_1936,
    SPHEROID[Airy 1830,6377563.396,299.324964644,
    AUTHORITY[EPSG,7001]],
    AUTHORITY[EPSG,6277]],
    PRIMEM[Greenwich,0],
    UNIT[degree,0.0174532925199433],
    AUTHORITY[EPSG,4277]],
    PROJECTION[Transverse_Mercator],
    PARAMETER[latitude_of_origin,49],
    PARAMETER[central_meridian,-2],
    PARAMETER[scale_factor,0.9996012717],
    PARAMETER[false_easting,40],
    PARAMETER[false_northing,-10],
    UNIT[metre,1,
    AUTHORITY[EPSG,9001]],
    AUTHORITY[EPSG,27700]]

Does anyone have another way to create worldfiles from the embedded geotiff 
data? I suppose I could do this by hand for each file but ideally I'd like a 
neat solution for batch creation across a directory (like extract projection 
used to offer!).

Many thanks,
Rebecca
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Extract Projection Hangs

2014-06-22 Thread Saber Razmjooei
You can use listgeo command in OSGEO shell:

 

listgeo -tfw DTM_MULTI-HS_D8_H25.tif
 
 

 

From: qgis-user-boun...@lists.osgeo.org
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Rebecca Bennett
Sent: 22 June 2014 12:13
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Extract Projection Hangs

 

Thanks for the tips on using gdalsrsinfo Andre.

 

I can confirm that the tifs do have a projection assigned (see output
below), but that the extract projection tool still hangs when I attempt to
create the world file:

 

C:\Users\Rebecca\Desktopgdalsrsinfo
C:\Users\Rebecca\Documents\DTM_MULTI-HS_D8_H25.tif

PROJ.4 : '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 +x_0=40
+y_0=-1000
00 +datum=OSGB36 +units=m +no_defs '

OGC WKT :
PROJCS[OSGB 1936 / British National Grid,
GEOGCS[OSGB 1936,
DATUM[OSGB_1936,
SPHEROID[Airy 1830,6377563.396,299.324964644,
AUTHORITY[EPSG,7001]],
AUTHORITY[EPSG,6277]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4277]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,49],
PARAMETER[central_meridian,-2],
PARAMETER[scale_factor,0.9996012717],
PARAMETER[false_easting,40],
PARAMETER[false_northing,-10],
UNIT[metre,1,
AUTHORITY[EPSG,9001]],
AUTHORITY[EPSG,27700]]

 

Does anyone have another way to create worldfiles from the embedded geotiff
data? I suppose I could do this by hand for each file but ideally I'd like a
neat solution for batch creation across a directory (like extract projection
used to offer!).

 

Many thanks,

Rebecca



--
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager. This 
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately
by e-mail if you have received this e-mail by mistake and delete this e-mail 
from your system. If you are not the intended recipient you are notified
that disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.

Whilst reasonable care has been taken to avoid virus transmission, no 
responsibility for viruses is taken and it is your responsibility to carry out
such checks as you feel appropriate.

If this email contains a quote or offer to sell products, carry out work or 
perform services then our standard terms and conditions (which can be found at 
http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf
 shall apply unless explicitly stated otherwise.

Saber Razmjooei and Peter Wells trading as Lutra Consulting.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] DEM in QGIS and ArcGIS

2014-06-22 Thread john.polo
I have DEMs I got from USDA. In QGIS, the range of values for one of the 
DEMs is 112.661 to 158.197. In Arc, the same DEM has a range 109.206 to 
178.305. Why is this?


The CRS is the same for both, NAD83 UTM 15 N. I am using QGIS 2.2 and 
Arc 10.1.


John
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] DEM in QGIS and ArcGIS

2014-06-22 Thread Andrea Peri
AFAIK,
qgis use by default the Load min/max values with cumulative count-cut 2% - 98%

You should try to change to min/max (don't forget click on load.

Regards,

Andrea.


2014-06-22 21:19 GMT+02:00 john.polo jp...@mail.usf.edu:
 I have DEMs I got from USDA. In QGIS, the range of values for one of the
 DEMs is 112.661 to 158.197. In Arc, the same DEM has a range 109.206 to
 178.305. Why is this?

 The CRS is the same for both, NAD83 UTM 15 N. I am using QGIS 2.2 and Arc
 10.1.

 John
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user