Re: [Qgis-user] nodata color in rasters

2014-03-10 Thread Paolo Cavallini
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 09/03/2014 21:23, Carol Kraemer ha scritto:
 Antonio,
 
 I also don't see a way of making nodata a different color, however, there may 
 be a
 way to trick it by redefining nodata to be a pixel value then using*Singleband
 Psuedocolors* under /Properties  Styles  Band Rendering/ as shown below.

Nodata has a value: you can use a custom palette and asign a colour to that 
valure.
All the best.

- -- 
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/

iEYEARECAAYFAlMdcegACgkQ/NedwLUzIr42dQCeNZdqU5ZW9Vj5c9vkomcNLYNO
+G0AnArkarU/NsUV40EJUh2U0kDwTHM2
=OFOW
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] nodata color in rasters

2014-03-10 Thread Lens Paul


Nodata has a value: you can use a custom palette and asign a colour 
to that value.


I suppose the Nodata value is the value automatically set as transparent 
under the tab Transparency in the raster's Layer Properties.


In my case, this value is: -3.40282e+38. (other possible values? 255, 
-32768, , ... ?)


Paul

Le 10/03/2014 9:03, Paolo Cavallini a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 09/03/2014 21:23, Carol Kraemer ha scritto:

Antonio,

I also don't see a way of making nodata a different color, however, there may 
be a
way to trick it by redefining nodata to be a pixel value then using*Singleband
Psuedocolors* under /Properties  Styles  Band Rendering/ as shown below.

Nodata has a value: you can use a custom palette and asign a colour to that 
valure.
All the best.

- -- 
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/

iEYEARECAAYFAlMdcegACgkQ/NedwLUzIr42dQCeNZdqU5ZW9Vj5c9vkomcNLYNO
+G0AnArkarU/NsUV40EJUh2U0kDwTHM2
=OFOW
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user



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


[Qgis-user] Symbology Export

2014-03-10 Thread Jonathan Moules
Hi List,
General curiosity question.
When using Save Vector Layer as to save a vector layer, there's an
optioon:
Symbology Export

This in turn has three options:
No Symbology
Feature symbology
Symbol layer symbology

What does this do? I've tried exporting to both KML and TAB files using
these options but they don't appear to keep the symbology.

Cheers,
Jonathan

-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Beginner: How to find duplicate points with the Topology Checker plug-in

2014-03-10 Thread Jonathan Moules
Hi Robert,
There's also the SAGA extension which has a Remove duplicate Points tool.
Open the processing toolbox and set t to advanced interface and search for
Duplicate should find it.
Hopefully that'll work for you.
Cheers,

Jonathan



On 7 March 2014 12:48, Robert Harris harris_rob...@windstream.net wrote:

  Hello All,

 I am a beginner using 2.0.1-Dufour on Ubuntu 12.04.

 I digitized a poly line into a shapefile that represents a water feature.
 I used Vector/Extract Nodes to create a point shapefile. I added fields to
 the attribute table with longitude and latitude of each point with the
 Field Calculator. I imported the attribute table into an MS Access database
 and used the Find Duplicates query wizard to find 11 pairs of duplicate
 points in 2052 total points. The points are needed for use with the Google
 Maps API.

 I tried the Vector/Topology Checker plug-in with a must not have
 duplicates rule to find the duplicate points and received a 0 errors were
 found message.

 What am I missing when using the Topology Checker plug-in?

 Thank you.

 Robert Harris, Volunteer
 Georgia River Network
 http://www.garivers.org/




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


-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Symbology Export

2014-03-10 Thread Andreas Neumann
Hi Jonathan,

This was originally introduced for DXF export to keep symbology as good
as it can - which is now in its separate function (Project - DXF
Export) and not in the save layer as anymore.

It uses the OGR feature styling, which in itself is rather limiting.
This isn't widely implemented and tested. Would be nice if some devs or
interested customers/users could give it some love.

Andreas

Am 10.03.2014 13:45, schrieb Jonathan Moules:
 Hi List,
 General curiosity question.
 When using Save Vector Layer as to save a vector layer, there's an
 optioon:
 Symbology Export
 
 This in turn has three options:
 No Symbology
 Feature symbology
 Symbol layer symbology
 
 What does this do? I've tried exporting to both KML and TAB files using
 these options but they don't appear to keep the symbology.
 
 Cheers,
 Jonathan
 
 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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


Re: [Qgis-user] Symbology Export

2014-03-10 Thread Jonathan Moules
Hi Andreas,
Thanks for the information. I'd suggest it should probably be removed
until/unless it is fleshed out as you note. Either that or changed to be a
Datasource option specific for DXF.
Should I open a ticket for this?

Cheers,
Jonathan



On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 This was originally introduced for DXF export to keep symbology as good
 as it can - which is now in its separate function (Project - DXF
 Export) and not in the save layer as anymore.

 It uses the OGR feature styling, which in itself is rather limiting.
 This isn't widely implemented and tested. Would be nice if some devs or
 interested customers/users could give it some love.

 Andreas

 Am 10.03.2014 13:45, schrieb Jonathan Moules:
  Hi List,
  General curiosity question.
  When using Save Vector Layer as to save a vector layer, there's an
  optioon:
  Symbology Export
 
  This in turn has three options:
  No Symbology
  Feature symbology
  Symbol layer symbology
 
  What does this do? I've tried exporting to both KML and TAB files using
  these options but they don't appear to keep the symbology.
 
  Cheers,
  Jonathan
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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


-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Symbology Export

2014-03-10 Thread Andreas Neumann
Hi,

Actually it is not tied to DXF, but DXF was the reason why it was
introduced. It is just generic OGR feature styling.

Maybe it should be removed/hidden/disabled because DXF now has its
separate export. Maybe assign Marco Hugentobler to this ticket as he
worked on this.

Unless someone wants to work on it and improve it.

Does it not work at all with KML? Not even a simple line color?

Andreas

Am 10.03.2014 14:49, schrieb Jonathan Moules:
 Hi Andreas,
 Thanks for the information. I'd suggest it should probably be removed
 until/unless it is fleshed out as you note. Either that or changed to be a
 Datasource option specific for DXF.
 Should I open a ticket for this?
 
 Cheers,
 Jonathan
 
 
 
 On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:
 
 Hi Jonathan,

 This was originally introduced for DXF export to keep symbology as good
 as it can - which is now in its separate function (Project - DXF
 Export) and not in the save layer as anymore.

 It uses the OGR feature styling, which in itself is rather limiting.
 This isn't widely implemented and tested. Would be nice if some devs or
 interested customers/users could give it some love.

 Andreas

 Am 10.03.2014 13:45, schrieb Jonathan Moules:
 Hi List,
 General curiosity question.
 When using Save Vector Layer as to save a vector layer, there's an
 optioon:
 Symbology Export

 This in turn has three options:
 No Symbology
 Feature symbology
 Symbol layer symbology

 What does this do? I've tried exporting to both KML and TAB files using
 these options but they don't appear to keep the symbology.

 Cheers,
 Jonathan



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


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

 

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


Re: [Qgis-user] Symbology Export

2014-03-10 Thread Jonathan Moules
Hi Andreas,
I don't believe QGIS exports any KML styling. I was interested in doing a
full style KML export and got this -
http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
seems not to be possible.

I'll open a ticket for removing/hiding it. I'd suggest you open a ticket
for expanding it - you know more about it so will be able to write a better
ticket about it. :-)

Regards,
Jonathan



On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:

 Hi,

 Actually it is not tied to DXF, but DXF was the reason why it was
 introduced. It is just generic OGR feature styling.

 Maybe it should be removed/hidden/disabled because DXF now has its
 separate export. Maybe assign Marco Hugentobler to this ticket as he
 worked on this.

 Unless someone wants to work on it and improve it.

 Does it not work at all with KML? Not even a simple line color?

 Andreas

 Am 10.03.2014 14:49, schrieb Jonathan Moules:
  Hi Andreas,
  Thanks for the information. I'd suggest it should probably be removed
  until/unless it is fleshed out as you note. Either that or changed to be
 a
  Datasource option specific for DXF.
  Should I open a ticket for this?
 
  Cheers,
  Jonathan
 
 
 
  On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi Jonathan,
 
  This was originally introduced for DXF export to keep symbology as good
  as it can - which is now in its separate function (Project - DXF
  Export) and not in the save layer as anymore.
 
  It uses the OGR feature styling, which in itself is rather limiting.
  This isn't widely implemented and tested. Would be nice if some devs or
  interested customers/users could give it some love.
 
  Andreas
 
  Am 10.03.2014 13:45, schrieb Jonathan Moules:
  Hi List,
  General curiosity question.
  When using Save Vector Layer as to save a vector layer, there's an
  optioon:
  Symbology Export
 
  This in turn has three options:
  No Symbology
  Feature symbology
  Symbol layer symbology
 
  What does this do? I've tried exporting to both KML and TAB files using
  these options but they don't appear to keep the symbology.
 
  Cheers,
  Jonathan
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 



-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Symbology Export

2014-03-10 Thread Andreas Neumann
Hi Jonathan,

The thread you are quoting is from 2011. The OGR feature styling was
introduced later (in late 2012 or early 2013 I think).

So did you really test KML export with Feature symbology or symbol
layer symbology?

I just tested it with QGIS master and with line features and different
line colors. It worked. What did you do that it did not work? What
steps? Do you have project/data to share?

Andreas

Am 10.03.2014 15:07, schrieb Jonathan Moules:
 Hi Andreas,
 I don't believe QGIS exports any KML styling. I was interested in doing a
 full style KML export and got this -
 http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
 seems not to be possible.
 
 I'll open a ticket for removing/hiding it. I'd suggest you open a ticket
 for expanding it - you know more about it so will be able to write a better
 ticket about it. :-)
 
 Regards,
 Jonathan
 
 
 
 On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:
 
 Hi,

 Actually it is not tied to DXF, but DXF was the reason why it was
 introduced. It is just generic OGR feature styling.

 Maybe it should be removed/hidden/disabled because DXF now has its
 separate export. Maybe assign Marco Hugentobler to this ticket as he
 worked on this.

 Unless someone wants to work on it and improve it.

 Does it not work at all with KML? Not even a simple line color?

 Andreas

 Am 10.03.2014 14:49, schrieb Jonathan Moules:
 Hi Andreas,
 Thanks for the information. I'd suggest it should probably be removed
 until/unless it is fleshed out as you note. Either that or changed to be
 a
 Datasource option specific for DXF.
 Should I open a ticket for this?

 Cheers,
 Jonathan



 On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 This was originally introduced for DXF export to keep symbology as good
 as it can - which is now in its separate function (Project - DXF
 Export) and not in the save layer as anymore.

 It uses the OGR feature styling, which in itself is rather limiting.
 This isn't widely implemented and tested. Would be nice if some devs or
 interested customers/users could give it some love.

 Andreas

 Am 10.03.2014 13:45, schrieb Jonathan Moules:
 Hi List,
 General curiosity question.
 When using Save Vector Layer as to save a vector layer, there's an
 optioon:
 Symbology Export

 This in turn has three options:
 No Symbology
 Feature symbology
 Symbol layer symbology

 What does this do? I've tried exporting to both KML and TAB files using
 these options but they don't appear to keep the symbology.

 Cheers,
 Jonathan



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


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




 

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


Re: [Qgis-user] Symbology Export

2014-03-10 Thread Jonathan Moules
Hi Andreas,
I'm testing with a simple polygon that's using the default style QGIS gave
it (so basically black border and a random fill colour).
I've exported using both options - all I get in the KML file is a black
border, no fill.
I can change the colour of the border in QGIS and it changes in the KML
file. So I guess that's a very partial implementation.

*However* - If I set it to no symbology I still get the coloured
boundary. So changing the value appears to do absolutely nothing which is I
guess what I saw when I first tested it (a while back). Hence my wondering
what it actually did.

Can you confirm this behaviour? It seems superfluous to have an option that
is ignored.

Cheers,
Jonathan



On 10 March 2014 15:30, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 The thread you are quoting is from 2011. The OGR feature styling was
 introduced later (in late 2012 or early 2013 I think).

 So did you really test KML export with Feature symbology or symbol
 layer symbology?

 I just tested it with QGIS master and with line features and different
 line colors. It worked. What did you do that it did not work? What
 steps? Do you have project/data to share?

 Andreas

 Am 10.03.2014 15:07, schrieb Jonathan Moules:
  Hi Andreas,
  I don't believe QGIS exports any KML styling. I was interested in doing a
  full style KML export and got this -
 
 http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
  seems not to be possible.
 
  I'll open a ticket for removing/hiding it. I'd suggest you open a ticket
  for expanding it - you know more about it so will be able to write a
 better
  ticket about it. :-)
 
  Regards,
  Jonathan
 
 
 
  On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi,
 
  Actually it is not tied to DXF, but DXF was the reason why it was
  introduced. It is just generic OGR feature styling.
 
  Maybe it should be removed/hidden/disabled because DXF now has its
  separate export. Maybe assign Marco Hugentobler to this ticket as he
  worked on this.
 
  Unless someone wants to work on it and improve it.
 
  Does it not work at all with KML? Not even a simple line color?
 
  Andreas
 
  Am 10.03.2014 14:49, schrieb Jonathan Moules:
  Hi Andreas,
  Thanks for the information. I'd suggest it should probably be removed
  until/unless it is fleshed out as you note. Either that or changed to
 be
  a
  Datasource option specific for DXF.
  Should I open a ticket for this?
 
  Cheers,
  Jonathan
 
 
 
  On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi Jonathan,
 
  This was originally introduced for DXF export to keep symbology as
 good
  as it can - which is now in its separate function (Project - DXF
  Export) and not in the save layer as anymore.
 
  It uses the OGR feature styling, which in itself is rather limiting.
  This isn't widely implemented and tested. Would be nice if some devs
 or
  interested customers/users could give it some love.
 
  Andreas
 
  Am 10.03.2014 13:45, schrieb Jonathan Moules:
  Hi List,
  General curiosity question.
  When using Save Vector Layer as to save a vector layer, there's an
  optioon:
  Symbology Export
 
  This in turn has three options:
  No Symbology
  Feature symbology
  Symbol layer symbology
 
  What does this do? I've tried exporting to both KML and TAB files
 using
  these options but they don't appear to keep the symbology.
 
  Cheers,
  Jonathan
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
 
 



-- 
This transmission is intended for the named addressee(s) only and may 
contain sensitive or protectively marked material up to RESTRICTED and 
should be handled accordingly. Unless you are the named addressee (or 
authorised to receive it for the addressee) you may not copy or use it, or 
disclose it to anyone else. If you have received this transmission in error 
please notify the sender immediately. All email traffic sent to or from us, 
including without limitation all GCSX traffic, may be subject to recording 
and/or monitoring in accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Symbology Export

2014-03-10 Thread Andreas Neumann
Hi Jonathan,

I can only partially confirm what you describe.

I agree that for area feature the feature styling does not work for KML.
However, for line features, it works fine and there is a difference
between the three options. The no symbology only exports a single line
color, the feature symbology correctly exports the colors assigned to
the categories and the symbol layer symbology exports line features
multiple times in case of multiple levels in the line symbology.

So I'd rather improve this than remove it. If someone could work on the
area feature styling it would be great. Or maybe hook up with the OGR
project if things don't work as expected.

Andreas

Am 10.03.2014 15:47, schrieb Jonathan Moules:
 Hi Andreas,
 I'm testing with a simple polygon that's using the default style QGIS gave
 it (so basically black border and a random fill colour).
 I've exported using both options - all I get in the KML file is a black
 border, no fill.
 I can change the colour of the border in QGIS and it changes in the KML
 file. So I guess that's a very partial implementation.
 
 *However* - If I set it to no symbology I still get the coloured
 boundary. So changing the value appears to do absolutely nothing which is I
 guess what I saw when I first tested it (a while back). Hence my wondering
 what it actually did.
 
 Can you confirm this behaviour? It seems superfluous to have an option that
 is ignored.
 
 Cheers,
 Jonathan
 
 
 
 On 10 March 2014 15:30, Andreas Neumann a.neum...@carto.net wrote:
 
 Hi Jonathan,

 The thread you are quoting is from 2011. The OGR feature styling was
 introduced later (in late 2012 or early 2013 I think).

 So did you really test KML export with Feature symbology or symbol
 layer symbology?

 I just tested it with QGIS master and with line features and different
 line colors. It worked. What did you do that it did not work? What
 steps? Do you have project/data to share?

 Andreas

 Am 10.03.2014 15:07, schrieb Jonathan Moules:
 Hi Andreas,
 I don't believe QGIS exports any KML styling. I was interested in doing a
 full style KML export and got this -

 http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
 seems not to be possible.

 I'll open a ticket for removing/hiding it. I'd suggest you open a ticket
 for expanding it - you know more about it so will be able to write a
 better
 ticket about it. :-)

 Regards,
 Jonathan



 On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:

 Hi,

 Actually it is not tied to DXF, but DXF was the reason why it was
 introduced. It is just generic OGR feature styling.

 Maybe it should be removed/hidden/disabled because DXF now has its
 separate export. Maybe assign Marco Hugentobler to this ticket as he
 worked on this.

 Unless someone wants to work on it and improve it.

 Does it not work at all with KML? Not even a simple line color?

 Andreas

 Am 10.03.2014 14:49, schrieb Jonathan Moules:
 Hi Andreas,
 Thanks for the information. I'd suggest it should probably be removed
 until/unless it is fleshed out as you note. Either that or changed to
 be
 a
 Datasource option specific for DXF.
 Should I open a ticket for this?

 Cheers,
 Jonathan



 On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 This was originally introduced for DXF export to keep symbology as
 good
 as it can - which is now in its separate function (Project - DXF
 Export) and not in the save layer as anymore.

 It uses the OGR feature styling, which in itself is rather limiting.
 This isn't widely implemented and tested. Would be nice if some devs
 or
 interested customers/users could give it some love.

 Andreas

 Am 10.03.2014 13:45, schrieb Jonathan Moules:
 Hi List,
 General curiosity question.
 When using Save Vector Layer as to save a vector layer, there's an
 optioon:
 Symbology Export

 This in turn has three options:
 No Symbology
 Feature symbology
 Symbol layer symbology

 What does this do? I've tried exporting to both KML and TAB files
 using
 these options but they don't appear to keep the symbology.

 Cheers,
 Jonathan



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


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







 

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


Re: [Qgis-user] Symbology Export

2014-03-10 Thread Jonathan Moules
Hi Andreas,
Thanks for further testing. I figured if something as simple as a fill
wasn't implemented then catogorisation probably wouldn't be.

A further thought - not all vector formats support styling (shapefile being
the most notable exception). Should it remain a general option or be moved
to Datasource Options for any supported style?
I lean towards the later option myself.

Cheers,

Jonathan




On 10 March 2014 16:04, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 I can only partially confirm what you describe.

 I agree that for area feature the feature styling does not work for KML.
 However, for line features, it works fine and there is a difference
 between the three options. The no symbology only exports a single line
 color, the feature symbology correctly exports the colors assigned to
 the categories and the symbol layer symbology exports line features
 multiple times in case of multiple levels in the line symbology.

 So I'd rather improve this than remove it. If someone could work on the
 area feature styling it would be great. Or maybe hook up with the OGR
 project if things don't work as expected.

 Andreas

 Am 10.03.2014 15:47, schrieb Jonathan Moules:
  Hi Andreas,
  I'm testing with a simple polygon that's using the default style QGIS
 gave
  it (so basically black border and a random fill colour).
  I've exported using both options - all I get in the KML file is a black
  border, no fill.
  I can change the colour of the border in QGIS and it changes in the KML
  file. So I guess that's a very partial implementation.
 
  *However* - If I set it to no symbology I still get the coloured
  boundary. So changing the value appears to do absolutely nothing which
 is I
  guess what I saw when I first tested it (a while back). Hence my
 wondering
  what it actually did.
 
  Can you confirm this behaviour? It seems superfluous to have an option
 that
  is ignored.
 
  Cheers,
  Jonathan
 
 
 
  On 10 March 2014 15:30, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi Jonathan,
 
  The thread you are quoting is from 2011. The OGR feature styling was
  introduced later (in late 2012 or early 2013 I think).
 
  So did you really test KML export with Feature symbology or symbol
  layer symbology?
 
  I just tested it with QGIS master and with line features and different
  line colors. It worked. What did you do that it did not work? What
  steps? Do you have project/data to share?
 
  Andreas
 
  Am 10.03.2014 15:07, schrieb Jonathan Moules:
  Hi Andreas,
  I don't believe QGIS exports any KML styling. I was interested in
 doing a
  full style KML export and got this -
 
 
 http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
  seems not to be possible.
 
  I'll open a ticket for removing/hiding it. I'd suggest you open a
 ticket
  for expanding it - you know more about it so will be able to write a
  better
  ticket about it. :-)
 
  Regards,
  Jonathan
 
 
 
  On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi,
 
  Actually it is not tied to DXF, but DXF was the reason why it was
  introduced. It is just generic OGR feature styling.
 
  Maybe it should be removed/hidden/disabled because DXF now has its
  separate export. Maybe assign Marco Hugentobler to this ticket as he
  worked on this.
 
  Unless someone wants to work on it and improve it.
 
  Does it not work at all with KML? Not even a simple line color?
 
  Andreas
 
  Am 10.03.2014 14:49, schrieb Jonathan Moules:
  Hi Andreas,
  Thanks for the information. I'd suggest it should probably be removed
  until/unless it is fleshed out as you note. Either that or changed to
  be
  a
  Datasource option specific for DXF.
  Should I open a ticket for this?
 
  Cheers,
  Jonathan
 
 
 
  On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:
 
  Hi Jonathan,
 
  This was originally introduced for DXF export to keep symbology as
  good
  as it can - which is now in its separate function (Project - DXF
  Export) and not in the save layer as anymore.
 
  It uses the OGR feature styling, which in itself is rather limiting.
  This isn't widely implemented and tested. Would be nice if some devs
  or
  interested customers/users could give it some love.
 
  Andreas
 
  Am 10.03.2014 13:45, schrieb Jonathan Moules:
  Hi List,
  General curiosity question.
  When using Save Vector Layer as to save a vector layer, there's
 an
  optioon:
  Symbology Export
 
  This in turn has three options:
  No Symbology
  Feature symbology
  Symbol layer symbology
 
  What does this do? I've tried exporting to both KML and TAB files
  using
  these options but they don't appear to keep the symbology.
 
  Cheers,
  Jonathan
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  

Re: [Qgis-user] Symbology Export

2014-03-10 Thread Andreas Neumann
Hi Jonathan,

I think this option should be disabled if a format does not support
feature styling. I don't know if OGR provides this information?

http://www.gdal.org/ogr/drv_kml.html
says about KML:
Limited support is available for fills, line color and other styling
attributes. Please try a few sample files to get a better sense of
actual behavior.

Andreas

Am 10.03.2014 16:10, schrieb Jonathan Moules:
 Hi Andreas,
 Thanks for further testing. I figured if something as simple as a fill
 wasn't implemented then catogorisation probably wouldn't be.
 
 A further thought - not all vector formats support styling (shapefile being
 the most notable exception). Should it remain a general option or be moved
 to Datasource Options for any supported style?
 I lean towards the later option myself.
 
 Cheers,
 
 Jonathan
 
 
 
 
 On 10 March 2014 16:04, Andreas Neumann a.neum...@carto.net wrote:
 
 Hi Jonathan,

 I can only partially confirm what you describe.

 I agree that for area feature the feature styling does not work for KML.
 However, for line features, it works fine and there is a difference
 between the three options. The no symbology only exports a single line
 color, the feature symbology correctly exports the colors assigned to
 the categories and the symbol layer symbology exports line features
 multiple times in case of multiple levels in the line symbology.

 So I'd rather improve this than remove it. If someone could work on the
 area feature styling it would be great. Or maybe hook up with the OGR
 project if things don't work as expected.

 Andreas

 Am 10.03.2014 15:47, schrieb Jonathan Moules:
 Hi Andreas,
 I'm testing with a simple polygon that's using the default style QGIS
 gave
 it (so basically black border and a random fill colour).
 I've exported using both options - all I get in the KML file is a black
 border, no fill.
 I can change the colour of the border in QGIS and it changes in the KML
 file. So I guess that's a very partial implementation.

 *However* - If I set it to no symbology I still get the coloured
 boundary. So changing the value appears to do absolutely nothing which
 is I
 guess what I saw when I first tested it (a while back). Hence my
 wondering
 what it actually did.

 Can you confirm this behaviour? It seems superfluous to have an option
 that
 is ignored.

 Cheers,
 Jonathan



 On 10 March 2014 15:30, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 The thread you are quoting is from 2011. The OGR feature styling was
 introduced later (in late 2012 or early 2013 I think).

 So did you really test KML export with Feature symbology or symbol
 layer symbology?

 I just tested it with QGIS master and with line features and different
 line colors. It worked. What did you do that it did not work? What
 steps? Do you have project/data to share?

 Andreas

 Am 10.03.2014 15:07, schrieb Jonathan Moules:
 Hi Andreas,
 I don't believe QGIS exports any KML styling. I was interested in
 doing a
 full style KML export and got this -


 http://osgeo-org.1560.x6.nabble.com/styling-a-KML-KMZ-file-using-QGIS-td4125929.html-
 seems not to be possible.

 I'll open a ticket for removing/hiding it. I'd suggest you open a
 ticket
 for expanding it - you know more about it so will be able to write a
 better
 ticket about it. :-)

 Regards,
 Jonathan



 On 10 March 2014 14:59, Andreas Neumann a.neum...@carto.net wrote:

 Hi,

 Actually it is not tied to DXF, but DXF was the reason why it was
 introduced. It is just generic OGR feature styling.

 Maybe it should be removed/hidden/disabled because DXF now has its
 separate export. Maybe assign Marco Hugentobler to this ticket as he
 worked on this.

 Unless someone wants to work on it and improve it.

 Does it not work at all with KML? Not even a simple line color?

 Andreas

 Am 10.03.2014 14:49, schrieb Jonathan Moules:
 Hi Andreas,
 Thanks for the information. I'd suggest it should probably be removed
 until/unless it is fleshed out as you note. Either that or changed to
 be
 a
 Datasource option specific for DXF.
 Should I open a ticket for this?

 Cheers,
 Jonathan



 On 10 March 2014 14:35, Andreas Neumann a.neum...@carto.net wrote:

 Hi Jonathan,

 This was originally introduced for DXF export to keep symbology as
 good
 as it can - which is now in its separate function (Project - DXF
 Export) and not in the save layer as anymore.

 It uses the OGR feature styling, which in itself is rather limiting.
 This isn't widely implemented and tested. Would be nice if some devs
 or
 interested customers/users could give it some love.

 Andreas

 Am 10.03.2014 13:45, schrieb Jonathan Moules:
 Hi List,
 General curiosity question.
 When using Save Vector Layer as to save a vector layer, there's
 an
 optioon:
 Symbology Export

 This in turn has three options:
 No Symbology
 Feature symbology
 Symbol layer symbology

 What does this do? I've tried exporting to both KML and TAB files
 using
 these options but they don't appear to 

[Qgis-user] Symbology Export

2014-03-10 Thread Joris HINTJENS
I use the plugin GEarthview for KML-KMZ export. It keeps the styling for 
polygones and attributes


Joris


Hi List,
General curiosity question.
When using Save Vector Layer as to save a vector layer, there's an optioon:
Symbology Export

This in turn has three options:
No Symbology
Feature symbology
Symbol layer symbology

What does this do? I've tried exporting to both KML and TAB files using these 
options but they don't appear to keep the symbology.

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain 
sensitive or protectively marked material up to RESTRICTED and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All email traffic sent to or from us, including without 
limitation all GCSX traffic, may be subject to recording and/or monitoring in 
accordance with relevant legislation.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Labelling expressions: how to select the 'last' row in a csv dataset

2014-03-10 Thread Basques, Bob (CI-StPaul)
Gavin,

Set up the CSV file creation to append to the top of the file instead of the 
bottom, then just read the first line for the special cartography.

If you are running on Linux, there are a whole bunch of options with AWK/GREP, 
etc to get the data outputting in a more favorable fashion for reading.

My first thought was to suggest the SQL path though, this gives you lots of 
options for archiving and looking at the path/trail over time . . .

I've just completed doing something similar for a AVL tracking system.

Bobb



-Original Message-
From: qgis-user-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Gavin Macaulay
Sent: Monday, March 10, 2014 3:18 PM
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] Labelling expressions: how to select the 'last' row in a 
csv dataset

Hi,

I have a csv file that looks like this:

datetime, latitude, longitude, speed
2014-03-07T06:11:56.794000, 69.6930, 19.0321, 0.0 2014-03-07T06:12:56.791000, 
69.6904, 19.0291, 10.0 2014-03-07T06:13:56.787000, 69.6879, 19.0257, 10.0

A new row gets added to the file every second or so. I load this file into QGIS 
as a csv file with the watch option turned on so that every time the map is 
refreshed, the map plots any new points that have been added to the file.

I would like to have the most recent line in the file plotted with a different 
symbol to the rest (the data represents realtime data from a moving ship so 
it's good to highlight the latest position). I can almost do this using the 
expression based labelling, but not quite (I can get a row number, but not the 
total number of rows, so can't do something obvious like: $rownum == $numrows, 
or $id == max($id)).

Any suggestions on how I can achieve this? I could move the data into a 
SQL-based layer and choose the last row using an SQL statement, but the 
simplicity of generating the csv files is attractive.

Thanks

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


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


[Qgis-user] diagrams and labels in the same map

2014-03-10 Thread Szabo Szilard
Hi All,

I would like to create a map with diagrams and, in the same time, labels
displayed on it. I have tried several ways but when I put the labels on the
map, diagrams always move to another place. Is there a possibility to fix
their places? And, later when I add the labels to move them to a proper
place?

A not too elegant solution was to save the map with the diagrams as a
raster with a world file and than use it as a background, next step I added
the labels and move them where they looked fine. But is there a normal
way?

I am using QGIS 2.2 32 bit on Win7

Thanks in advance,
Szilard
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Labelling expressions: how to select the 'last' row in a csv dataset

2014-03-10 Thread Brent Wood
Hi Gavin,

Can you have the row written to two files concurrently? One as an append  one 
overwrite.
Both watched in QGIS  have the overwrite as the upper layer on the map with a 
different symbol, thus overwriting the trackline point in the append csv file.

Not as elegant as an SQL solution, but csv's are not really reknowned for their 
elegance in data management :-)


I haven't really thought this through, but you might try using a named pipe 
(see mkfifo on Linux, Windows has something along these lines too),  run tail 
-n 1 -f myfile.csv into the named pipe, then open this in QGIS. This is such a 
horrible solution it's almost certain not to work, but you never know :-) 



Cheers,

   Brent



 From: Gavin Macaulay ga...@macaulay.co.nz
To: qgis-user@lists.osgeo.org 
Sent: Tuesday, March 11, 2014 9:18 AM
Subject: [Qgis-user] Labelling expressions: how to select the 'last' row in 
a csv dataset
 

Hi,

I have a csv file that looks like this:

datetime, latitude, longitude, speed
2014-03-07T06:11:56.794000, 69.6930, 19.0321, 0.0
2014-03-07T06:12:56.791000, 69.6904, 19.0291, 10.0
2014-03-07T06:13:56.787000, 69.6879, 19.0257, 10.0

A new row gets added to the file every second or so. I load this file 
into QGIS as a csv file with the watch option turned on so that every 
time the map is refreshed, the map plots any new points that have been 
added to the file.

I would like to have the most recent line in the file plotted with a 
different symbol to the rest (the data represents realtime data from a 
moving ship so it's good to highlight the latest position). I can almost 
do this using the expression based labelling, but not quite (I can get a 
row number, but not the total number of rows, so can't do something 
obvious like: $rownum == $numrows, or $id == max($id)).

Any suggestions on how I can achieve this? I could move the data into a 
SQL-based layer and choose the last row using an SQL statement, but the 
simplicity of generating the csv files is attractive.

Thanks

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