Re: [Qgis-developer] Lidar data into QGIS (Another topic: Mosaicking Aerial Photos from UAV (Drone), Georef PLY binary tins, SfM output into QGIS)

2014-01-31 Thread Noli Sicad
Hi Roberto,

I think we have to separate these topics:

- support for georef PLY binary tins, that begins to be the standard
output from SfM Structure from Motion drone aerial video and photo low
cost surveys.

- SfM output into QGIS

Structure from Motion - A Visual Approach
http://ccwu.me/vsfm/

Tim has also this example in Mosaicking Aerial Photos with GDAL

Image Mosaicking with GDAL
http://linfiniti.com/2009/09/image-mosaicking-with-gdal/

It might be good to have QGIS plugin for Mosaicking Aerial Photos from UAV.

Open source UAV (ArduPilotMega (APM2.x), Mission Planner and APM
Planner 2.0)  are gaining traction in UAV Technology and Aerial Photo
Mapping.

We are using APM2.x UAV for forestry plantation aerial photos.

APM 2.x UAVs are discussed in this site.
http://diydrones.com/

Thanks.

Regards, Noli





On 1/31/14, Geodrinx geodr...@gmail.com wrote:
 Larry,

 it's a mid-term goal to make LAS data
 available in QGIS.

 and I also would insert the support for georef PLY binary tins, that begins
 to be the standard output from SfM Structure from Motion drone aerial video
 and photo low cost surveys.


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

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


[Qgis-developer] point displacement style

2014-01-31 Thread Luca Lanteri
Hi to all,

I'm using the point diplacement style. I noticed that it doesn't use the
new label engine for labelling the diplaced simbol, so the collision engine
doesnt' work.
There's in plain to migrate it to the new label engine? It could be useful
if I open a ticket ?

I also have some visualization problem, because at some scale the point
displaced symbols disappear (tested on qgis 2.10 Master - Ubuntu
13.04-64bit). Anyone can confirm this problem ?

Thanks in advance
Luca
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Lidar data into QGIS

2014-01-31 Thread Stefan Keller
Hi,

2014/1/31 A Huarte ahuart...@yahoo.es:
 Although I know you're going to try it in Vienna, I would like to recover
 the idea of creating a new type of layer (eg QgsPointCloudLayer) that

I usually also tend towards just doing - but this time, with LIDAR
it's probably a good advice to think and discuss first
It's really a tricky thing. See e.g. Paul Ramsey's Talk at FOSS4G
2013, Birmingham:
http://elogeo.nottingham.ac.uk/xmlui/bitstream/handle/url/186/pgpointcloud-foss4-2013.pdf

2014/1/29 Howard Butler wrote:
 I think the first question to answer for a QGIS point cloud capability is to 
 define
 what it will do. Is it a renderer/viewer? Product processing pipeline? 
 Everything?
 I think it is important to keep the scope limited for the first few attempts 
 to
 feel out the problem.

Exactly.

--Stefan

P.S. BTW there is another battle field over at the format definition
side which currently needs some attention:
LIDAR Format Wars... http://boundlessgeo.com/2014/01/lidar-format-wars-2/


2014/1/31 A Huarte ahuart...@yahoo.es:
 Although I know you're going to try it in Vienna, I would like to recover
 the idea of creating a new type of layer (eg QgsPointCloudLayer) that
 inherits from QgsVectorLayer to provide all the basic vector functionality
 (including a new simplification of proximity to fast rendering), and add
 extra capabilities for these data types: output rasters, 3D profiles, 3D
 visualization in plugins ...

 Best Regards
 Alvaro

 
 De: Paolo Cavallini cavall...@faunalia.it
 Para: Larry Shaffer lar...@dakotacarto.com
 CC: qgis-developer qgis-developer@lists.osgeo.org
 Enviado: Viernes 31 de enero de 2014 7:53

 Asunto: Re: [Qgis-developer] Lidar data into QGIS

 Il 30/01/2014 18:41, Larry Shaffer ha scritto:

 To revisit your original immediate need, does the output from Howard's
 Hexer tool visualize what you are looking for?

 https://github.com/hobu/hexer

 Hi Larry,
 we do not have immediate needs, it's a mid-term goal to make LAS data
 available in QGIS.
 Thanks anyway for the suggestion, interesting; probably it would be good
 to check if there is something we can integrate or reuse.
 All the best.
 --
 Paolo Cavallini - www.faunalia.eu
 QGIS  PostGIS courses: http://www.faunalia.eu/training.html
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



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


Re: [Qgis-developer] point displacement style

2014-01-31 Thread Andreas Neumann
Hi Luca,

I can't help with the labeling. At the time the point displacement
renderer was developed (about 5 years ago), the labeling engine wasn't
as advanced as it is today. So it wasn't an option and also not
necessary to the project.

I would not regard this as a bug request, but as a feature request and I
guess it would a substantial bit of work to integrate the new labeling
engine with the point displacement renderer.

Do you have an idea how it should behave? I guess, depending on how many
points there are there isn't a solution to perfectly label all points.

-

The point displacement renderer could also be improved to display points
in a cluster, not just around the circle, but also inside the circle.
This would be more complex to implement, but it would save map/screen
space and would visually more pleasing.

If you have funds available - please consider hiring a developer.

-

Regarding the second issue: this may be a bug. Or in extreme cases - if
you have many points at a single location - the circle could be so big
that it is rendered outside of the visible rendered map area.

I am also a user of the point-displacement renderer - so I would like to
see improvments in this feature!

Thank you for bringing this up.

Andreas

Am 31.01.2014 09:14, schrieb Luca Lanteri:
 Hi to all,
 
 I'm using the point diplacement style. I noticed that it doesn't use the
 new label engine for labelling the diplaced simbol, so the collision engine
 doesnt' work.
 There's in plain to migrate it to the new label engine? It could be useful
 if I open a ticket ?
 
 I also have some visualization problem, because at some scale the point
 displaced symbols disappear (tested on qgis 2.10 Master - Ubuntu
 13.04-64bit). Anyone can confirm this problem ?
 
 Thanks in advance
 Luca
 
 
 
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer
 

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


Re: [Qgis-developer] Lidar data into QGIS

2014-01-31 Thread Geo DrinX
Hello Alvaro,

I just writed a program that displays in real time LiDAR point cloud data.

That program, named LaserDrink reads quickly TerraSolid Laser BIN format
( the father of LAS ... )  and writes a temporary WRL file that the Coin3D
viewer, then,  displays.
My temp WRL  contains the point cloud class, or the RGB photo color, or
the color by height.   Also, the point aspect can be set, and it is
possible to display them greater or smaller, to realize a 3D photo like
visualization.

OK, this was LaserDrink.BTW, with it, I could insert TODAY the support
in QGis of LiDAR poin cloud real time display.

Someone is interested ?

:)

Ciao

Roberto


2014-01-31 A Huarte ahuart...@yahoo.es:

 Although I know you're going to try it in Vienna, I would like to recover
 the idea of creating a new type of layer (eg QgsPointCloudLayer) that
 inherits from QgsVectorLayer to provide all the basic vector functionality
 (including a new simplification of proximity to fast rendering), and add
 extra capabilities for these data types: output rasters, 3D profiles, 3D
 visualization in plugins ...

 Best Regards
 Alvaro

   --
  *De:* Paolo Cavallini cavall...@faunalia.it
 *Para:* Larry Shaffer lar...@dakotacarto.com
 *CC:* qgis-developer qgis-developer@lists.osgeo.org
 *Enviado:* Viernes 31 de enero de 2014 7:53

 *Asunto:* Re: [Qgis-developer] Lidar data into QGIS

 Il 30/01/2014 18:41, Larry Shaffer ha scritto:

  To revisit your original immediate need, does the output from Howard's
  Hexer tool visualize what you are looking for?
 
  https://github.com/hobu/hexer

 Hi Larry,
 we do not have immediate needs, it's a mid-term goal to make LAS data
 available in QGIS.
 Thanks anyway for the suggestion, interesting; probably it would be good
 to check if there is something we can integrate or reuse.
 All the best.
 --
 Paolo Cavallini - www.faunalia.eu
 QGIS  PostGIS courses: http://www.faunalia.eu/training.html
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer



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

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

Re: [Qgis-developer] point displacement style

2014-01-31 Thread Luca Lanteri
Hi Andreas,

thanks for your prompt reply !
I start to use this useful function for a project ant it resolve to me a
lot of problem.


2014-01-31 Andreas Neumann a.neum...@carto.net:

 Hi Luca,

 I can't help with the labeling. At the time the point displacement
 renderer was developed (about 5 years ago), the labeling engine wasn't
 as advanced as it is today. So it wasn't an option and also not
 necessary to the project.

 I would not regard this as a bug request, but as a feature request and I
 guess it would a substantial bit of work to integrate the new labeling
 engine with the point displacement renderer.

 Ok, I thought that it was due to this problem. I can open a request
feature ticket, just to keep track of it.


 Do you have an idea how it should behave? I guess, depending on how many
 points there are there isn't a solution to perfectly label all points.


I have at least 4-5 point in the circle. My points stay in a layer,
geographically linked with another point layer (all point have the same
coord) that contain only 1 point. I have 2 kind of problem:
- the first one is when I have just 1 point in the first layer, so the
point is not drawn in a circle and  the two layer are overlapping. On kind
solution is to allow to displace point in a circle also when there is just
one point in a place.

- the second one is when I have more than 1 point and the label of the
displaced point overlapping with the second layer label.


-

 The point displacement renderer could also be improved to display points
 in a cluster, not just around the circle, but also inside the circle.
 This would be more complex to implement, but it would save map/screen
 space and would visually more pleasing.

 If you have funds available - please consider hiring a developer.


I can try to put this requests in my next commitment to qgis developers.




-

 Regarding the second issue: this may be a bug. Or in extreme cases - if
 you have many points at a single location - the circle could be so big
 that it is rendered outside of the visible rendered map area.

 I am also a user of the point-displacement renderer - so I would like to
 see improvments in this feature!


I noticed this bug also with 2 point and a small circle. I can investigate
deeper and try it also with 2.0 qgis version.


Thank you for bringing this up.


Thanks to you Andreas
Luca
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Lidar data into QGIS

2014-01-31 Thread A Huarte
very interesting!, but as Stefan says, first devs+users must define to do



 De: Geo DrinX geodr...@gmail.com
Para: A Huarte ahuart...@yahoo.es 
CC: Larry Shaffer lar...@dakotacarto.com; qgis-developer 
qgis-developer@lists.osgeo.org 
Enviado: Viernes 31 de enero de 2014 10:08
Asunto: Re: [Qgis-developer] Lidar data into QGIS
 


Hello Alvaro,

I just writed a program that displays in real time LiDAR point cloud data.

That program, named LaserDrink reads quickly TerraSolid Laser BIN format ( 
the father of LAS ... )  and writes a temporary WRL file that the Coin3D 
viewer, then,  displays.
My temp WRL  contains the point cloud class, or the RGB photo color, or 
the color by height.   Also, the point aspect can be set, and it is possible 
to display them greater or smaller, to realize a 3D photo like visualization.

OK, this was LaserDrink.    BTW, with it, I could insert TODAY the support in 
QGis of LiDAR poin cloud real time display.

Someone is interested ?

:)

Ciao

Roberto




2014-01-31 A Huarte ahuart...@yahoo.es:

Although I know you're going to try it in Vienna, I would like to recover the 
idea of creating a new type of layer (eg QgsPointCloudLayer) that inherits 
from QgsVectorLayer to provide all the basic vector functionality (including a 
new simplification of proximity to fast rendering), and add extra capabilities 
for these data types: output rasters, 3D profiles, 3D visualization in plugins 
...


Best Regards
Alvaro




 De: Paolo Cavallini cavall...@faunalia.it
Para: Larry Shaffer lar...@dakotacarto.com 
CC: qgis-developer qgis-developer@lists.osgeo.org 
Enviado: Viernes 31 de enero de 2014 7:53

Asunto: Re: [Qgis-developer] Lidar data into QGIS



Il 30/01/2014 18:41, Larry Shaffer ha scritto:

 To revisit your original immediate need, does the output from Howard's
 Hexer tool visualize what you are looking for?
 
 https://github.com/hobu/hexer

Hi Larry,
we do not have immediate needs, it's a mid-term goal to make LAS data
available in QGIS.
Thanks anyway for the suggestion, interesting; probably it would be good
to check if there is
 something we can integrate or reuse.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer





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




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

Re: [Qgis-developer] Labeling toolbar activating signals?

2014-01-31 Thread Régis Haubourg
Thanks Denis, this is close but not totally related.
I finally managed to activate the buttons but this is like vaudou magic to
me:

I create a memory layer, and triggers actionToggleEditing once, and then a
second time but only after having refreshed the canvas.. :


self.iface.setActiveLayer(labelMapLayer )
labelLayer.startEditing()
self.iface.actionToggleEditing().trigger()


   
# connects label layer attributes values changed to
labelLayerModified function 
labelLayer.attributeValueChanged.connect(self.labelLayerModified)

 #redraws registry and mapcanvas.
if hasattr(labelMapLayer, setCacheImage ):
labelMapLayer.setCacheImage(None )

labelMapLayer.triggerRepaint()
self.iface.legendInterface().refreshLayerSymbology( labelMapLayer )
self.iface.actionToggleEditing().trigger()




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Labeling-toolbar-activating-signals-tp5100666p5101140.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] EditCommand (UndoAction) mandatory?

2014-01-31 Thread Matthias Kuhn

Hi,

Yesterday I added some signals to QgsVectorLayer which are emitted in 
calls to beginEditCommand, endEditCommand and destroyEditCommand. This 
makes it possible for consumers of edit signals (attributeValueChanged 
etc.) to wait for a batch operation to finish and update once at the 
end. Example: In the case of the attribute table and an update to all 
columns from the field calculator it results in an enormous speed boost, 
if it is updated only once at the end of an operation and not for every 
single feature.


What I am doing now is to cache the bounds (min/max column/row) of 
changed attributes and when the next endEditCommand is made update 
everything within.


Now the question is: Can I rely on endEditCommand being called for every 
operation? Or do I have to check for out-of-edit-command changes and 
update immediately in this case?


Regards,
Matthias
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] scale bar in print composer template problem

2014-01-31 Thread Matteo Ghetta
Hi Jorge,
I'm on a debian 7.3 with QGIS 2.1 master

Cheers

Matteo


2014-01-30 Jorge Tornero jtorlis...@gmail.com:

 Hello Matteo,

 Which version of QGIS are you working with?

 Best regards,

 Jorge Tornero


 2014-01-30 Matteo Ghetta matteo.ghe...@gmail.com:

 Hi all,
 I'm creating a print template and I noticed that the bar scale doesn't
 update when loading layer with different extent. So scale bar results
 extremely huge or small depending on the new layer uploaded in the print
 composer.

 Any hint?

 Cheers

 Matteo

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



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

[Qgis-developer] Enable snapping on intersections

2014-01-31 Thread Paolo Cavallini
Hi all.
What is the actual meaning and use of the above mentioned snapping
option? I tried, but cannot see any change enabling it.
Thanks.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS  PostGIS courses: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [postgis-users] QGis 2.0 Copy/Paste from shapefile to Postgis issue if the primary key is a string

2014-01-31 Thread Denis Rouzaud

Hi,

QGIS prevent to overwrite the primary key field when it copies/pastes, 
this is why it leaves the field empty.
One way would be to add the constraint after the copy/paste if it's for 
a single shot.
Otherwise, just add a unique constraint on f1 and add a serial as 
primary key.


Cheers,

Denis

On 31. 01. 14 15:02, F T wrote:

Hello

We have a pb with copy/paste from a shapefile to postgis if the 
primary key is a string.

The primary key is left NULL and no commit is possible.

To reproduce the pb :

Create *table1 *with a string primary key

CREATE TABLE table1
(
  f1 character varying(10) NOT NULL,
  f2 character varying(10),
  geom geometry,
*CONSTRAINT t1_pkey PRIMARY KEY (f1),*
CONSTRAINT enforce_dims_geom CHECK (st_ndims(geom) = 2),
CONSTRAINT enforce_geotype_geom CHECK (geometrytype(geom) =
'POINT'::text),
CONSTRAINT enforce_srid_geom CHECK (st_srid(geom) = 2154)
)


*table2* is the same as table 1 but it has no primary key

CREATE TABLE table2
(
  f1 character varying(10) NOT NULL,
  f2 character varying(10),
  geom geometry,
  CONSTRAINT enforce_dims_geom CHECK (st_ndims(geom) = 2),
  CONSTRAINT enforce_geotype_geom CHECK (geometrytype(geom) =
'POINT'::text),
  CONSTRAINT enforce_srid_geom CHECK (st_srid(geom) = 2154)
)


*shapes.shp* is a shapefile that contains the points I would like to 
copy/paste in the Postgis tables

(see attached zip file)

1) if I copy/paste the points from shapes.shp to table1, the key field 
stays NULL and the commit is impossible.

2) if I copy/paste the points from shapes.shp to table2, everything is ok.

Have you ever seen this bug?

Thanks

Fabrice




___
postgis-users mailing list
postgis-us...@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users


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

Re: [Qgis-developer] Enable snapping on intersections

2014-01-31 Thread Jakob Lanstorp
Snap to intersection makes you snap to just that intersection point. Did a
test with two polygon layers and a point layer. Adding a point to the point
layer, while within the snap tolerance, made the point appear right on the
intersection between the two polygon layers. Removing the 'Enable snapping
on intersection' made the point not snap to the intersection.

I have set snapping settings to both polygon layers, prehaps you missed that
in the snap options.



-
Jakob Lanstorp
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Enable-snapping-on-intersections-tp5101200p5101219.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Enable snapping on intersections

2014-01-31 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 31/01/2014 15:46, Jakob Lanstorp ha scritto:
 Snap to intersection makes you snap to just that intersection point. Did a
 test with two polygon layers and a point layer. Adding a point to the point
 layer, while within the snap tolerance, made the point appear right on the
 intersection between the two polygon layers. Removing the 'Enable snapping
 on intersection' made the point not snap to the intersection.
 
 I have set snapping settings to both polygon layers, prehaps you missed that
 in the snap options.

Hi Jakob,
I tried as you described, in various combinations, but could not see a 
difference
between activating and deactivating the option.
All the best, and thanks.

- -- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlLrzhEACgkQ/NedwLUzIr7IvACguomLoiYG/ZVTZqkgjZ3vYFWp
rdQAn3CN9twILYCuLwo/FJjloZ0IkTDt
=ILCh
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] EasyCustomLabeling ported to QGIS 2.0

2014-01-31 Thread Régis Haubourg
Hi there, 
I ported EasyCustomLabeling to new API so that it should be very few clicks
to make such maps in a few clicks:


http://osgeo-org.1560.x6.nabble.com/file/n5101254/EasyCustomLabelin0.5.png 
https://www.dropbox.com/s/6ru3javeedl3urg/EasyCustomLabelin0.5.png
https://www.dropbox.com/s/6ru3javeedl3urg/EasyCustomLabelin0.5.png  

I would be pleased to get some feedback on it, from either users or dev's.

*Still here are some issues and one blocker I encountered:*

- Memory Layer Saver plugin can save the labeling layers BUT* can't restore
correctly unpinned labels* (free labels). It seems related to NULL - None -
PyQtNullVariant stuff. If someone has an idea, the plugin could then be
totally usefull. see http://hub.qgis.org/issues/9148. Help !

- Signals attributeValueChanged seem sends floats values in string type when
manual editions are done in attribute table. Need a ticket? 

- There is no attributeValueChanged signal emitted when using field
calculator.. So some Callouts won't be updated if user choose to edit a
bunch of labels (to get them aligned for instance). 

Cheers!
Régis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/EasyCustomLabeling-ported-to-QGIS-2-0-tp5101254.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer