Re: [Qgis-user] Help reusing QGIS action

2015-06-02 Thread Bernd Vogelgesang

Hi Brent,

as far as I can see, the action for a layer is stored in the style file,  
when you store it as qml from the layer properties - style - save style.

You can see the action when you open the qml with a text editor.
So theoretically, you should be able to load this style with the action  
for every layer.

Or doesn't that work? Then you should maybe file a ticket.
Cheers
Bernd


Am 02.06.2015, 01:06 Uhr, schrieb Brent Wood pcr...@pcreso.com:


Hi,

I can create an action on a biodatabase: the site data is shown on the  
map, and an action created that will retrieve and dispaly a sorted list  
of the species identified at that site. This works well, as a bash  
script for Linux or a batch file for Windows.


What I'd like to be able to do is save an action, much like a style, to  
be applied to multiple layers.


The use case is: open a layer filtered to show species a, then other  
layers for species b  c. I then want to see the full list of species  
caught from individual stations, by clicking on the map. Currently I  
need to create the action separately for each species - when I have  
hundreds of species, this gets very cumbersome - so storing  re-using  
the action would be useful, just as I can reuse a style for each  
species layer with catch size based symbology.


Is there a way to do this now that I don't know? Do I need to file a  
ticket for this?


Any suggestions appreciated!

Thanks

Brent Wood




--
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] SAGA Mac OSX in QGIS 2.8.2

2015-06-02 Thread Olav Peeters

Hi,
I'm having issues with the SAGA modules in Qgis 2.8.2. Performing an 
analysis ends with:


Oooops! The following output layers could not be open
Grid: 
/var/folders/g4/__hdq_jj7fb095y56hsbprzhgn/T/processing/e60cad6f141643fa9d38f85fc7e74aef/USERGRID.tif
The above files could not be opened, which probably indicates that they 
were not correctly produced by the executed algorithm
Checking the log information might help you see why those layers were 
not created as expected


According to the readme (dmg from 
http://www.kyngchaos.com/software/qgis) I should temporarily move all 
files in:

/Library/Application Support/GDAL/1.11/PlugIns
to elsewhere or rename the PlugIns directory. But this directory is empty.

I did install the recent GDAL 1.11 Complete [39.3 MiB] 2015-5-18 from:
http://www.kyngchaos.com/software/frameworks#gdal_complete

The path as specified in the options of the processing plugin in QGIS is:
/Applications/QGIS.app/Contents/MacOS/lib/saga/
And indeed all SAGA modules are there..

Does anyone have any pointers?
I also tried uninstalling, deleting ~/.qgis2, deleting the plist's of 
QGIS, reinstalling both 2.8.1 and 2.8.2.. no luck.


Cheers,
Olav

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


Re: [Qgis-user] Help reusing QGIS action

2015-06-02 Thread Brent Wood
Cheers Bernhard,
Yes, I can do that, but creating the action for each layer is the repetitive 
task I want to simplify. Instead of typing the the command line for the action, 
I could just select  apply. This is less of an issue for me as for the users 
less familiar with QGIS that I'm working with.  

Like I can create a symbology once, then save it  apply it to new layers, I'd 
prefer not to have to create the action for every layer - instead I could 
create it once then save  reuse as appropriate. 
As an institutional resource, I can create a set of QGIS styles (symbologies) 
that users can copy  apply to layers, without having t go through the complex 
operation of creating it themselves. It would be great to be able to do the 
same thing with actions - create a library of actions for institutional WFS 
services that users can re-use - which is where your suggestion of Python is a 
good one - being platform independent.

Thanks,
  Brent

  From: Bernhard Ströbl bernhard.stro...@jena.de
 To: qgis-user@lists.osgeo.org 
 Sent: Tuesday, June 2, 2015 5:36 PM
 Subject: Re: [Qgis-user] Help reusing QGIS action
   
Hi Brent,

I hope I got the intention of what you want to achieve
Talking about layer actions you could define the same action for each of 
your layers calling the batch script and passing the point's id. Or you 
could create a Python action (functionality provided by a plugin) that 
lists all species for each point. This would be platform independent, too.

Bernhard

Am 02.06.2015 um 01:06 schrieb Brent Wood:
 Hi,
 I can create an action on a biodatabase: the site data is shown on the map, 
 and an action created that will retrieve and dispaly a sorted list of the 
 species identified at that site. This works well, as a bash script for Linux 
 or a batch file for Windows.
 What I'd like to be able to do is save an action, much like a style, to be 
 applied to multiple layers.
 The use case is: open a layer filtered to show species a, then other layers 
 for species b  c. I then want to see the full list of species caught from 
 individual stations, by clicking on the map. Currently I need to create the 
 action separately for each species - when I have hundreds of species, this 
 gets very cumbersome - so storing  re-using the action would be useful, just 
 as I can reuse a style for each species layer with catch size based symbology.
 Is there a way to do this now that I don't know? Do I need to file a ticket 
 for this?
 Any suggestions appreciated!
 Thanks
 Brent Wood



 __ Information from ESET Mail Security, version of virus signature 
 database 11719 (20150601) __

 The message was checked by ESET Mail Security.
 http://www.eset.com



 Hi,

 I can create an action on a biodatabase: the site data is shown on the
 map, and an action created that will retrieve and dispaly a sorted list
 of the species identified at that site. This works well, as a bash
 script for Linux or a batch file for Windows.

 What I'd like to be able to do is save an action, much like a style, to
 be applied to multiple layers.

 The use case is: open a layer filtered to show species a, then other
 layers for species b  c. I then want to see the full list of species
 caught from individual stations, by clicking on the map. Currently I
 need to create the action separately for each species - when I have
 hundreds of species, this gets very cumbersome - so storing  re-using
 the action would be useful, just as I can reuse a style for each species
 layer with catch size based symbology.

 Is there a way to do this now that I don't know? Do I need to file a
 ticket for this?

 Any suggestions appreciated!

 Thanks

 Brent Wood


 __ Information from ESET Mail Security, version of virus
 signature database 11719 (20150601) __

 The message was checked by ESET Mail Security.
 http://www.eset.com


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


 __ Information from ESET Mail Security, version of virus signature 
 database 11719 (20150601) __

 The message was checked by ESET Mail Security.
 http://www.eset.com




__ Information from ESET Mail Security, version of virus signature 
database 11720 (20150602) __

The message was checked by ESET Mail Security.
http://www.eset.com




___
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] QGIS 2.8.1 Plugin Loading Problems

2015-06-02 Thread Russell Steele
Please help, I am a new user of QGIS. When loading QGIS 2.8.2 Wien on my Mac 
Pro with IOS 10.7.5 I get the following message: Could not load plugin 
processing due to error when calling its intGui() method.
What corrective action do I need to take to fix the QGIS load?  Some of the 
plugins do not seem to be working properly, or at least what I anticipated as a 
new user reading Learning QGIS - Second Edition

Thanks in advance for your assistance 

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


[Qgis-user] Dimensioning Plug-in

2015-06-02 Thread Springfield Harrison

Resending after sign up . . . .


Hello,

	I have installed the plug-in but unable to select two points with 
the provided tool.


What is the trick for this?

Thanks, cheers . . . .   Springfield Harrison

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


Re: [Qgis-user] different QGIS behavior between windows and lubuntu

2015-06-02 Thread Fernando M. Roxo da Motta
On Sun, 31 May 2015 14:23:13 +0200, Giacomo Fontanelli
giacomofontanell...@gmail.com wrote:


 Dear folks
 Fernando was right.
 
 as I lounch   LC_ALL=C  qgis
 I find a correct result.
 
 
 Now I have to find the way to set point as decimal separator on my OS
 set with Italian settings.

  Sorry for the long delay.

  There are a number of options, I think that the worse of all is block
the i18n (internationalization) and l10n (localization) in your
computer.

  You can just for qgis alter the driver script (/usr/bin/qgis in my
machine) and inser a line :

export LC_ALL=C

But this would cripple your qgis for Italian language.

  I would suggest you to try first to call qgis as:

  LC_NUMERIC=en_US.UTF-8  qgis

  If it results, you can change the drive script inserting a line:

export LC_NUMERIC=en_US.UTF-8

in some place at the start of the script.

  If you use a launcher somewhere, for example an icon in desktop or on
a panel, you can customise it changing the the launch command, as
above, to:

bash -c LC_NUMERIC=en_US.UTF-8 /usr/bin/qgis %F


  Hope this helps.


 
 Thanx
 
 On Sun, May 31, 2015 at 2:19 PM, Giacomo Fontanelli 
 giacomofontanell...@gmail.com wrote:
 
  Dear Fernando it works
 
  as I lounch   LC_ALL=C  qgis
  I find a correct result.
 
  Now the question is: How can set the point as decimal separator as
  default on my PC?
 
  Thank you very much
 
  Giacomo
 
  On Fri, May 29, 2015 at 11:16 PM, Fernando M. Roxo da Motta 
  pe...@roxo.org wrote:
 
  On Fri, 29 May 2015 16:42:15 -0300, George Silva
  georger.si...@gmail.com wrote:
 
 
   No this is not a localization problem. I just tested this.
  
   Raster calculator makes expressions with ',' invalid. At least,
   on my machine (Mint 14)
  
   This is the output of my locales:
 
Pretty much like mine, except that I don't have any
  en_US.UTF-8.  ;)
 
  
   LANG=en_US.UTF-8
   LANGUAGE=
   LC_CTYPE=en_US.UTF-8
   LC_NUMERIC=pt_BR.UTF-8
   LC_TIME=en_US.UTF-8
   LC_COLLATE=en_US.UTF-8
   LC_MONETARY=pt_BR.UTF-8
   LC_MESSAGES=en_US.UTF-8
   LC_PAPER=pt_BR.UTF-8
   LC_NAME=pt_BR.UTF-8
   LC_ADDRESS=pt_BR.UTF-8
   LC_TELEPHONE=pt_BR.UTF-8
   LC_MEASUREMENT=pt_BR.UTF-8
   LC_IDENTIFICATION=pt_BR.UTF-8
   LC_ALL=
  
   I just retried this. Grabbed a raster with floating point values
   and added 1.1 - the result is just an add by 1, without the 0.1.
   Giovanni was right about this, something is truncating these
   values in Raster Calculator to integers, and my input was 3.1,
   and the output 4.1 (added just 1, instead of 1.1) when it should
   be 4.2.
 
I still think it can have some relation with locale, perhaps in
  another sense.  I don't know if I will be able to explain myself
  here.
 
I have noticed some inconsistency in qgis on this aspect.  I
  already stumbled on at least one situation where the comma
  separator weren't accepted and I tried to divide by the inverse.
  It was with qgis 2.6 (I am using 2.8.2 in [Xu|U]buntu), at the
  time I was trying to convert the line length from meters to
  kilometres multiplying by 0.001, IIRC everything turned into
  zero.  After that, just in case, I tried to divide by 1000 and I
  got the amount of meters I expected.
 
There seems to exist some dark place between the keyboard (Qt?)
  and the code where the localization seems to be mixed up and
  completely screwed up.
 
If I can suggest a test to Giacomo and George, in your Linux
  installation open a terminal emulator (don't matter which one) and
  try to execute qgis the following way:
 
LC_ALL=C  qgis
 
  This should remove the localization support and work with dot as
  the decimal separator.   If it still gets the wrong result with the
  expression  band@map * 0.1, I think that the problem can be
  intrinsic to the code.   If it works correctly I think the problem
  is somewhat related to the interface with Qt.
 
I don't normally work with raster layers, but if you have a
  (very) small example with floating point attribute I can try it
  here.
 
 
Best regards.
 
 
 
 
  
   George
  
   On Fri, May 29, 2015 at 4:27 PM, Fernando M. Roxo da Motta
   pe...@roxo.org wrote:
  
On Fri, 29 May 2015 10:20:05 +0200, Giacomo Fontanelli
giacomofontanell...@gmail.com wrote:
   
   
 I used to work with qgis 2.8.1 in Lubuntu and in windows7.

 Each time I try to multiplicate a map for a number comprise
 between 0 and 1 (i.e. 0.1) I get a good results on windows
 OS, but I get a map with only 0 and NaN on Linux.

 Further, I get a correct result on Lubuntu if I divide by 10
 instead of multiplicate by 0.1.
   
  It looks very much like a localization problem.  I guess
that with this name you are using a platform with Italian
language.   I think that the standard there is the same I have
in Brazil, that is the decimal separator is comma (,) instead
of dot (.).   Try to use:
   
   
   band@map * 0,1
   
   
  Hope this helps.
   
   

 

Re: [Qgis-user] different QGIS behavior between windows and lubuntu

2015-06-02 Thread Fernando M. Roxo da Motta
On Tue, 2 Jun 2015 11:49:46 -0300, George Silva
georger.si...@gmail.com wrote:


 Just tested on 2.8.2.
 
 Still wrong results.

  George,

  What exactly is your platform?  What distribution and version.

  How did you install qgis in your machine?  Just downloaded and
installed  the install package from qgis.org?

  What is the response of gdalinfo command for this raster layer?

  Did you try to start qgis with the command:

  LC_ALL=C  qgis

This environment variable (LC_ALL) is case sensitive.



 
 On Fri, May 29, 2015 at 7:26 PM, George Silva
 georger.si...@gmail.com wrote:
 
  Did the calculations come out correct?
 
  I'll definitely try this, but I'm on 2.6 yet.
 
  On Fri, May 29, 2015 at 6:37 PM, Fernando M. Roxo da Motta
  pe...@roxo.org
   wrote:
 
  On Fri, 29 May 2015 18:16:37 -0300, Fernando M. Roxo da Motta
  pe...@roxo.org wrote:
 
 
   On Fri, 29 May 2015 16:42:15 -0300, George Silva
   georger.si...@gmail.com wrote:
  
 
 
Sorry to answer myself.   I just found a raster layer that
  gdalinfo reports :
 
Band 1 Block=256x4 Type=Float64, ColorInterp=Gray
 
Tried the raster calculator.  It did not accept the comma as
  decimal separator and worked flawlessly using dot as the
  separator.  I didn't changed the locales:
 
  $ locale
  LANG=pt_BR.UTF-8
  LANGUAGE=pt_BR:en
  LC_CTYPE=pt_BR.UTF-8
  LC_NUMERIC=pt_BR.UTF-8
  LC_TIME=pt_BR.UTF-8
  LC_COLLATE=pt_BR.UTF-8
  LC_MONETARY=pt_BR.UTF-8
  LC_MESSAGES=pt_BR.UTF-8
  LC_PAPER=pt_BR.UTF-8
  LC_NAME=pt_BR.UTF-8
  LC_ADDRESS=pt_BR.UTF-8
  LC_TELEPHONE=pt_BR.UTF-8
  LC_MEASUREMENT=pt_BR.UTF-8
  LC_IDENTIFICATION=pt_BR.UTF-8
  LC_ALL=
 
I am using qgis 2.8.2 from the qgis-stable(?) repository:
 
  deb http://qgis.org/debian trusty main
 
 
Best regards.
 
 
Roxo
 
  --
   Non luctari, ludare ---+ WYSIWYG
  Fernando M. Roxo da Motta pe...@roxo.org  | Editor?
  Except where explicitly stated I speak on my own behalf.|  VI !!
( Usuário Linux registrado #39505 )   | I see
  text,  Quis custodiet ipsos custodes?-+ I
  get text!
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
 
  --
  George R. C. Silva
  Sigma Geosistemas LTDA
  
  http://www.sigmageosistemas.com.br/
 
 
 
 








  Roxo

-- 
 Non luctari, ludare ---+ WYSIWYG
Fernando M. Roxo da Motta pe...@roxo.org  | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
  ( Usuário Linux registrado #39505 )   | I see text,
 Quis custodiet ipsos custodes?-+ I get text!
 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Logical or boolean column

2015-06-02 Thread CHind

Hi

I would like to add a new column to a linked MS SQL table within QGIS via
the Layer Properties, Fields, Add column.

I am not sure what option to use within the Type to select as I only want
to retain boolean values or either 0 or 1,  Y or N, or T or F.

What is the best practice here?

Kind Regards


Chrissie Hind
Senior GIS Analyst
Bayside City Council


T:  03 9599 4792
F:  03 9598 4474
M:  0409 938 697

Email:ch...@bayside.vic.gov.au
Web:  
www.bayside.vic.gov.au**
 Please consider the environment before you print this email. This email, 
including all attachments, is confidential. Any personal or sensitive 
information contained in this email and attachments must be handled in 
accordance with the Victorian Information Privacy Act 2000 and the Health 
Records Act 2001. If you are not the intended recipient, you must not disclose, 
distribute, copy or use the information contained in this email or attachments. 
Any confidentiality or privilege is not waived or lost because this email has 
been sent to you in error. If you have received it in error, please advise the 
sender by return email, delete it from your system and destroy any copies. The 
sender gives no warranty that any attachments to this email are free from 
viruses or other defects. 

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

Re: [Qgis-user] Help reusing QGIS action

2015-06-02 Thread Bernhard Ströbl

hi Brent,

the action is saved in the qml, too (not independently from style, though)

elaborating the Python-plugin thought you can create an action for the 
active layer like that:

layer = self.iface.activeLayer()
layer.actions().addAction(1, #actionType 1 = Python action
show species, Python code)

if you put that into a slot connected to a menu or button you are set. 
Users can create this action for any of their layers (won't make sense 
for all of them, I am sure but that's the user's responibility)


Bernhard

Am 02.06.2015 um 22:12 schrieb Brent Wood:

Cheers Bernhard,
Yes, I can do that, but creating the action for each layer is the repetitive task I 
want to simplify. Instead of typing the the command line for the action, I could 
just select  apply. This is less of an issue for me as for the users less 
familiar with QGIS that I'm working with.

Like I can create a symbology once, then save it  apply it to new layers, I'd 
prefer not to have to create the action for every layer - instead I could create it 
once then save  reuse as appropriate.
As an institutional resource, I can create a set of QGIS styles (symbologies) that 
users can copy  apply to layers, without having t go through the complex 
operation of creating it themselves. It would be great to be able to do the same 
thing with actions - create a library of actions for institutional WFS services 
that users can re-use - which is where your suggestion of Python is a good one - 
being platform independent.

Thanks,
   Brent

   From: Bernhard Ströbl bernhard.stro...@jena.de
  To: qgis-user@lists.osgeo.org
  Sent: Tuesday, June 2, 2015 5:36 PM
  Subject: Re: [Qgis-user] Help reusing QGIS action

Hi Brent,

I hope I got the intention of what you want to achieve
Talking about layer actions you could define the same action for each of
your layers calling the batch script and passing the point's id. Or you
could create a Python action (functionality provided by a plugin) that
lists all species for each point. This would be platform independent, too.

Bernhard

Am 02.06.2015 um 01:06 schrieb Brent Wood:

Hi,
I can create an action on a biodatabase: the site data is shown on the map, and 
an action created that will retrieve and dispaly a sorted list of the species 
identified at that site. This works well, as a bash script for Linux or a batch 
file for Windows.
What I'd like to be able to do is save an action, much like a style, to be 
applied to multiple layers.
The use case is: open a layer filtered to show species a, then other layers for species 
b  c. I then want to see the full list of species caught from individual stations, 
by clicking on the map. Currently I need to create the action separately for each 
species - when I have hundreds of species, this gets very cumbersome - so storing  
re-using the action would be useful, just as I can reuse a style for each species layer 
with catch size based symbology.
Is there a way to do this now that I don't know? Do I need to file a ticket for 
this?
Any suggestions appreciated!
Thanks
Brent Wood



__ Information from ESET Mail Security, version of virus signature 
database 11719 (20150601) __

The message was checked by ESET Mail Security.
http://www.eset.com



Hi,

I can create an action on a biodatabase: the site data is shown on the
map, and an action created that will retrieve and dispaly a sorted list
of the species identified at that site. This works well, as a bash
script for Linux or a batch file for Windows.

What I'd like to be able to do is save an action, much like a style, to
be applied to multiple layers.

The use case is: open a layer filtered to show species a, then other
layers for species b  c. I then want to see the full list of species
caught from individual stations, by clicking on the map. Currently I
need to create the action separately for each species - when I have
hundreds of species, this gets very cumbersome - so storing  re-using
the action would be useful, just as I can reuse a style for each species
layer with catch size based symbology.

Is there a way to do this now that I don't know? Do I need to file a
ticket for this?

Any suggestions appreciated!

Thanks

Brent Wood


__ Information from ESET Mail Security, version of virus
signature database 11719 (20150601) __

The message was checked by ESET Mail Security.
http://www.eset.com


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


__ Information from ESET Mail Security, version of virus signature 
database 11719 (20150601) __

The message was checked by ESET Mail Security.
http://www.eset.com





__ Information from ESET Mail Security, version of virus signature 
database 11720 (20150602) __

The message was checked by ESET Mail Security.
http://www.eset.com




___
Qgis-user

Re: [Qgis-user] RE wfs usage for big data

2015-06-02 Thread Steve . Toutant
http://mapserver.org/fr/ogc/wfs_server.html#mapserver-wfs-extensions
But I don't know how to use these parameters with qgis

Also, WFS has been improve with Mapserver7, much much faster when using 
filter on a postgis database. If you plan to use WFS I suggest you update 
to MS7, if you have any control on the server of course.




Michael Werner Maur michael.m...@vermkv.rlp.de 
2015-06-02 01:51
Veuillez répondre à
Michael Werner Maur michael.m...@vermkv.rlp.de


A
steve.toutant steve.tout...@inspq.qc.ca
cc

Objet
Re: RE [Qgis-user] wfs usage for big data








It is almost POINT Geometry. The datasource is a Postgis Database. The 
server
ist the UMN Mapserver.

Is there perhaps a posibility to customize the request in QGis, so that 
you for
examle take the first 5000 object, and after this the next 5000 and so on 
?

 steve.tout...@inspq.qc.ca hat am 1. Juni 2015 um 16:18 geschrieben:
 
 
 That is a lot of features to retrieve and render...and lead to 
problem 
 with any tool (browser, qgis or other gis)
 Do you know the datasource format? (shp, postgis, .)
 Do you know what is the WFS server?
 
 getfeature request with a filter to query 7 milions features could work 
 well, but retrieving all or many data and rendering them is probably to 
 much, not only for qgis
 
 What is the need for a WFS? That could help to propose a better 
solution?
 
 
 
 
 Michael Werner Maur michael.m...@vermkv.rlp.de@lists.osgeo.org 
 Envoyé par : qgis-user-boun...@lists.osgeo.org
 2015-06-01 09:31
 Veuillez répondre à
 Michael Werner Maur michael.m...@vermkv.rlp.de
 
 
 A
 qgis-user qgis-user@lists.osgeo.org
 cc
 
 Objet
 [Qgis-user] wfs usage for big data
 
 
 
 
 
 
 
 
 Hello,
 
 we try to connect a wfs in QGIS 2.8 in Ubuntu an as alternativ  in QGIS 
 2.4 in
 SUSE.
 The wfs has at least 7 million objects and we want to load and cache 
them 
 in
 QGIS. 
 
 When we check that, QGIS just loads the first delivered object or it 
says, 
 that
 the process crashes.
 
 Is there any chance to use such big data volumes via wfs ?
 
 Best Regards
 
 Michael Maur
 ___
 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] Qgis Map composer scale distorted in hard copy (printout)

2015-06-02 Thread Sashikumar N
Hi Andreas,
Thankyou for the reply, I had similar thoughts on the projection, your mail
made me to go for it. I removed the 4326 OTF projection in the layers and
applied it only for the grid.  Tested it for a A4 sheet for the scale and
went for an A0 full color sheet.  I verified the measurements on the sheet,
its very close to the real distance. Thankyou very much for sharing your
thoughts on the problem.

Regards
Sashi

On Tue, 2 Jun 2015 09:31 Andreas Neumann a.neum...@carto.net wrote:

  Hi Sashi,

 First when I read your mail I thought - ok, this guy did not print out the
 PDF on  a 100% scale. Forgive me, but I lot of people ignore this option
 and then complain.

 But your case seems to be a bit more complex.

 What I propose is that you do not use EPSG 4326. Keep using your meter
 based projection and use a different CRS (e.g. EPSG 4326) just for your map
 grid. Since 2.6 (I believe), it is possible to define the CRS for the map
 grid separately and even have multiple grids on the same map. Please use
 this approach and see if it works better.

 Getting a correct map scale for CRS 4326 (Plate Caree projection) is hard
 - since at every latitude the scale is different.

 Hope this helps,
 Andreas


 On 01.06.2015 22:49, Sashikumar N wrote:

 Dear All,
 This is my first post to the forum as a new member. I seemed to be jinxed
 by a scale distortion problem. I am using windows 8.1 version, Qgis 2.8.1,
 installed as standalone version.

  Here is my problem, I am setting the scale in the Map composer as
 1:250,000 for a test print of A4 size sheet. i know the  straight line
 distance of two points in the vector layers of map view. The distance is
 52.5 km approximately. For the above scale it means 1cm = 2500 m (2.5 km).
 For the distance between the known points it should measure as 21 cm in a
 printout. I exported the map composer sheet to pdf file and then printed
 it. Now when i measure the distance between the known points, it measures
 only 17.8 cm instead of 21 cm or the distance on ground is calculated as
 only
 44.5 km. So for the printed map, the scale is not 1:250,000 as fixed in
 the map composer, but 1:295000

  While printing i have taken care that, auto scaling / fit to page etc
 from printer setting is disabled. So i guess i print as it came out of the
 map composer.

  My question in simple terms: does the map composer scale and printed map
 scale match in a normal course? What is the mistake i am doing. Am i
 ignoring the projection effects or any other basic criteria in creating the
 map composition? How do i make sure that the scale in the printout is same
 as the map composer scale?


  Thanks for your help

  ps: All my layers CRS is EPSG 24343 (Kalainpur 1975 / UTM zone 43 N), I
 am using EPSG 4326 OTF to get lat long to be printed on the map. The
 distance between points is measured horizontally across the map.

  --
 Thankyou
 regards
 sashi


 ___
 Qgis-user mailing 
 listQgis-user@lists.osgeo.orghttp://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] different QGIS behavior between windows and lubuntu

2015-06-02 Thread George Silva
Just tested on 2.8.2.

Still wrong results.

On Fri, May 29, 2015 at 7:26 PM, George Silva georger.si...@gmail.com
wrote:

 Did the calculations come out correct?

 I'll definitely try this, but I'm on 2.6 yet.

 On Fri, May 29, 2015 at 6:37 PM, Fernando M. Roxo da Motta pe...@roxo.org
  wrote:

 On Fri, 29 May 2015 18:16:37 -0300, Fernando M. Roxo da Motta
 pe...@roxo.org wrote:


  On Fri, 29 May 2015 16:42:15 -0300, George Silva
  georger.si...@gmail.com wrote:
 


   Sorry to answer myself.   I just found a raster layer that gdalinfo
 reports :

   Band 1 Block=256x4 Type=Float64, ColorInterp=Gray

   Tried the raster calculator.  It did not accept the comma as decimal
 separator and worked flawlessly using dot as the separator.  I didn't
 changed the locales:

 $ locale
 LANG=pt_BR.UTF-8
 LANGUAGE=pt_BR:en
 LC_CTYPE=pt_BR.UTF-8
 LC_NUMERIC=pt_BR.UTF-8
 LC_TIME=pt_BR.UTF-8
 LC_COLLATE=pt_BR.UTF-8
 LC_MONETARY=pt_BR.UTF-8
 LC_MESSAGES=pt_BR.UTF-8
 LC_PAPER=pt_BR.UTF-8
 LC_NAME=pt_BR.UTF-8
 LC_ADDRESS=pt_BR.UTF-8
 LC_TELEPHONE=pt_BR.UTF-8
 LC_MEASUREMENT=pt_BR.UTF-8
 LC_IDENTIFICATION=pt_BR.UTF-8
 LC_ALL=

   I am using qgis 2.8.2 from the qgis-stable(?) repository:

 deb http://qgis.org/debian trusty main


   Best regards.


   Roxo

 --
  Non luctari, ludare ---+ WYSIWYG
 Fernando M. Roxo da Motta pe...@roxo.org  | Editor?
 Except where explicitly stated I speak on my own behalf.|  VI !!
   ( Usuário Linux registrado #39505 )   | I see text,
  Quis custodiet ipsos custodes?-+ I get text!

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




 --
 George R. C. Silva
 Sigma Geosistemas LTDA
 
 http://www.sigmageosistemas.com.br/




-- 
George R. C. Silva
Sigma Geosistemas LTDA

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