[Qgis-user] Raster calculator question

2014-04-23 Thread Andreas Neumann
Hi,

I have a hard time understanding the raster calculator syntax.

I would like to merge two rasters: DTM and lake mask. Let's call the one
dtm and the other lake_mask.

When the lake_mask has a value > 0 then I would like to take the value
of the lake_mask, otherwise the value of the dtm.

What would an appropriate syntax look like?

I tried something along

((lake_mask > 0) * lake_mask) OR dtm

But all I get in the resulting grid are values of 1. I guess it is
because it always evaluates to true?

Thanks for your help.

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


Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Etienne Tourigny
I don't understand... the permissions of the /usr/share/qgis folder was the
problem or the solution?
If it was the solution, that should never be necessary... you should file a
bug report for this. /usr should never be owned by a regular user.
Etienne


On Wed, Apr 23, 2014 at 5:33 PM, Filipe Dias  wrote:

> Hi, thanks for the tips
> Actually it was not the ever present ~/.qgis2 permissions bug.
> I went to /usr/share/qgis and changed the permissions on that folder to my
> user name. I have no idea how this happened but I write here solution in
> case anyone else comes across this.
> Regards
>
>
> On Wed, Apr 23, 2014 at 7:35 PM, Etienne Tourigny  > wrote:
>
>> probably the persistent yet spurius bug with ubuntu that creates a
>> $HOME/.qgis2 folder as root after install...
>>
>>
>> On Wed, Apr 23, 2014 at 2:32 PM, Filipe Dias wrote:
>>
>>> Well, this is weird:
>>>
>>> I run "sudo qgis" and now Processing shows up and I don't get the
>>> metadata error
>>>
>>> Any ideas on why this happened?
>>>
>>>
>>> On Wed, Apr 23, 2014 at 6:19 PM, Filipe Dias wrote:
>>>
 I just did clean installation of QGIS Master from ubuntugis nightly and
 it still get this message. Am I missing something?

 *This plugin is broken*
 Missing metadata file



 On Wed, Apr 23, 2014 at 6:01 PM, Filipe Dias wrote:

> Ok
> I'm on Ubuntu 12.04
>
>
> On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:
>
>> FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.
>>
>> 2014-04-23 12:49 GMT+02:00 Filipe Dias :
>> > Hi,
>> > I downloaded today's QGIS Master and Processing is still
>> unavailable due to
>> > the metadata bug. Anyone else confirms?
>> > regards
>> > F.
>> >
>> >
>> > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho <
>> werner.ma...@gmail.com>
>> > wrote:
>> >>
>> >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
>> >> everything works again and is compiling fluently ..
>> >> thanks everyone!
>> >>
>> >> regards
>> >> Werner
>> >>
>> >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias <
>> filipesd...@gmail.com>
>> >> wrote:
>> >> > Hi
>> >> > I tried copying the most recent version of Processing to its
>> respective
>> >> > folder inside /usr/share/qgis/python/plugins and I still get the
>> >> > metadata
>> >> > error. Do I have to wait for another compilation or should it
>> work now?
>> >> > cheers
>> >> > F.
>> >> >
>> >> >
>> >> >
>> >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya <
>> vola...@gmail.com>
>> >> > wrote:
>> >> >>
>> >> >> My fault, sorry. I restructured the folders in Processing to
>> have a
>> >> >> clearer structure, but forgot to update the make files. Hope is
>> fixed
>> >> >> now.
>> >> >>
>> >> >> sorry again
>> >> >>
>> >> >> Victor
>> >> >>
>> >> >>
>> >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho > >:
>> >> >>
>> >> >>> -BEGIN PGP SIGNED MESSAGE-
>> >> >>> Hash: SHA1
>> >> >>>
>> >> >>> confirmed..
>> >> >>>
>> >> >>> trying to compile master the first error I get is:
>> >> >>>
>> >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
>> >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
>> >> >>> (ADD_SUBDIRECTORY):
>> >> >>>   add_subdirectory given source "admintools" which is not an
>> existing
>> >> >>>   directory.
>> >> >>>
>> >> >>> followed by a lot of messages in this style .. basically all
>> external
>> >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
>> >> >>>
>> >> >>>
>> >> >>> - -- Ctest Binary Directory  set to:
>> >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
>> >> >>> - -- Configuring incomplete, errors occurred!
>> >> >>>
>> >> >>> CMakeList missconfiguration?
>> >> >>>
>> >> >>> regards
>> >> >>> Werner
>> >> >>>
>> >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
>> >> >>> > Hi
>> >> >>> >
>> >> >>> > I just did a clean installation of QGIS Master on Ubuntu
>> 12.04
>> >> >>> > (also deleted ./qgis2) and Processing is broken. In the
>> plugin
>> >> >>> > manager this message shows up:
>> >> >>> >
>> >> >>> > *This plugin is broken* Missing metadata file
>> >> >>> >
>> >> >>> > Installed version: ? (in
>> >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
>> >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
>> >> >>> >
>> >> >>> > However, in /usr/share/qgis/python/plugins/processing
>>  there's an
>> >> >>> > apparently normal metadata.txt file:
>> >> >>> >
>> >> >>> > [general] name=Processing description=Spatial data processing
>> >> >>> > framework for QGIS category=Analysis version=2.0
>> >> >>> > qgisMinimumVersion=2.0

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Filipe Dias
Hi, thanks for the tips
Actually it was not the ever present ~/.qgis2 permissions bug.
I went to /usr/share/qgis and changed the permissions on that folder to my
user name. I have no idea how this happened but I write here solution in
case anyone else comes across this.
Regards


On Wed, Apr 23, 2014 at 7:35 PM, Etienne Tourigny
wrote:

> probably the persistent yet spurius bug with ubuntu that creates a
> $HOME/.qgis2 folder as root after install...
>
>
> On Wed, Apr 23, 2014 at 2:32 PM, Filipe Dias wrote:
>
>> Well, this is weird:
>>
>> I run "sudo qgis" and now Processing shows up and I don't get the
>> metadata error
>>
>> Any ideas on why this happened?
>>
>>
>> On Wed, Apr 23, 2014 at 6:19 PM, Filipe Dias wrote:
>>
>>> I just did clean installation of QGIS Master from ubuntugis nightly and
>>> it still get this message. Am I missing something?
>>>
>>> *This plugin is broken*
>>> Missing metadata file
>>>
>>>
>>>
>>> On Wed, Apr 23, 2014 at 6:01 PM, Filipe Dias wrote:
>>>
 Ok
 I'm on Ubuntu 12.04


 On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:

> FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.
>
> 2014-04-23 12:49 GMT+02:00 Filipe Dias :
> > Hi,
> > I downloaded today's QGIS Master and Processing is still unavailable
> due to
> > the metadata bug. Anyone else confirms?
> > regards
> > F.
> >
> >
> > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho <
> werner.ma...@gmail.com>
> > wrote:
> >>
> >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
> >> everything works again and is compiling fluently ..
> >> thanks everyone!
> >>
> >> regards
> >> Werner
> >>
> >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias  >
> >> wrote:
> >> > Hi
> >> > I tried copying the most recent version of Processing to its
> respective
> >> > folder inside /usr/share/qgis/python/plugins and I still get the
> >> > metadata
> >> > error. Do I have to wait for another compilation or should it
> work now?
> >> > cheers
> >> > F.
> >> >
> >> >
> >> >
> >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya  >
> >> > wrote:
> >> >>
> >> >> My fault, sorry. I restructured the folders in Processing to
> have a
> >> >> clearer structure, but forgot to update the make files. Hope is
> fixed
> >> >> now.
> >> >>
> >> >> sorry again
> >> >>
> >> >> Victor
> >> >>
> >> >>
> >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho  >:
> >> >>
> >> >>> -BEGIN PGP SIGNED MESSAGE-
> >> >>> Hash: SHA1
> >> >>>
> >> >>> confirmed..
> >> >>>
> >> >>> trying to compile master the first error I get is:
> >> >>>
> >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
> >> >>> (ADD_SUBDIRECTORY):
> >> >>>   add_subdirectory given source "admintools" which is not an
> existing
> >> >>>   directory.
> >> >>>
> >> >>> followed by a lot of messages in this style .. basically all
> external
> >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
> >> >>>
> >> >>>
> >> >>> - -- Ctest Binary Directory  set to:
> >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
> >> >>> - -- Configuring incomplete, errors occurred!
> >> >>>
> >> >>> CMakeList missconfiguration?
> >> >>>
> >> >>> regards
> >> >>> Werner
> >> >>>
> >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
> >> >>> > Hi
> >> >>> >
> >> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
> >> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
> >> >>> > manager this message shows up:
> >> >>> >
> >> >>> > *This plugin is broken* Missing metadata file
> >> >>> >
> >> >>> > Installed version: ? (in
> >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
> >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
> >> >>> >
> >> >>> > However, in /usr/share/qgis/python/plugins/processing
>  there's an
> >> >>> > apparently normal metadata.txt file:
> >> >>> >
> >> >>> > [general] name=Processing description=Spatial data processing
> >> >>> > framework for QGIS category=Analysis version=2.0
> >> >>> > qgisMinimumVersion=2.0
> >> >>> >
> >> >>> > author=Victor Olaya email=vola...@gmail.com website=
> www.qgis.org
> >> >>> >
> >> >>> > icon=images/alg.png
> >> >>> >
> >> >>> > class_name=ProcessingPlugin
> >> >>> >
> >> >>> > Does anyone else have problems with Processing?
> >> >>> >
> >> >>> > Cheers F.
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > ___ Qgis-user
> mailing
> >> >>> > list Qgis-user@lists.osgeo.org
> >> >>> >

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Etienne Tourigny
probably the persistent yet spurius bug with ubuntu that creates a
$HOME/.qgis2 folder as root after install...


On Wed, Apr 23, 2014 at 2:32 PM, Filipe Dias  wrote:

> Well, this is weird:
>
> I run "sudo qgis" and now Processing shows up and I don't get the metadata
> error
>
> Any ideas on why this happened?
>
>
> On Wed, Apr 23, 2014 at 6:19 PM, Filipe Dias wrote:
>
>> I just did clean installation of QGIS Master from ubuntugis nightly and
>> it still get this message. Am I missing something?
>>
>> *This plugin is broken*
>> Missing metadata file
>>
>>
>>
>> On Wed, Apr 23, 2014 at 6:01 PM, Filipe Dias wrote:
>>
>>> Ok
>>> I'm on Ubuntu 12.04
>>>
>>>
>>> On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:
>>>
 FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.

 2014-04-23 12:49 GMT+02:00 Filipe Dias :
 > Hi,
 > I downloaded today's QGIS Master and Processing is still unavailable
 due to
 > the metadata bug. Anyone else confirms?
 > regards
 > F.
 >
 >
 > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho >>> >
 > wrote:
 >>
 >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
 >> everything works again and is compiling fluently ..
 >> thanks everyone!
 >>
 >> regards
 >> Werner
 >>
 >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
 >> wrote:
 >> > Hi
 >> > I tried copying the most recent version of Processing to its
 respective
 >> > folder inside /usr/share/qgis/python/plugins and I still get the
 >> > metadata
 >> > error. Do I have to wait for another compilation or should it work
 now?
 >> > cheers
 >> > F.
 >> >
 >> >
 >> >
 >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
 >> > wrote:
 >> >>
 >> >> My fault, sorry. I restructured the folders in Processing to have
 a
 >> >> clearer structure, but forgot to update the make files. Hope is
 fixed
 >> >> now.
 >> >>
 >> >> sorry again
 >> >>
 >> >> Victor
 >> >>
 >> >>
 >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
 >> >>
 >> >>> -BEGIN PGP SIGNED MESSAGE-
 >> >>> Hash: SHA1
 >> >>>
 >> >>> confirmed..
 >> >>>
 >> >>> trying to compile master the first error I get is:
 >> >>>
 >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
 >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
 >> >>> (ADD_SUBDIRECTORY):
 >> >>>   add_subdirectory given source "admintools" which is not an
 existing
 >> >>>   directory.
 >> >>>
 >> >>> followed by a lot of messages in this style .. basically all
 external
 >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
 >> >>>
 >> >>>
 >> >>> - -- Ctest Binary Directory  set to:
 >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
 >> >>> - -- Configuring incomplete, errors occurred!
 >> >>>
 >> >>> CMakeList missconfiguration?
 >> >>>
 >> >>> regards
 >> >>> Werner
 >> >>>
 >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
 >> >>> > Hi
 >> >>> >
 >> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
 >> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
 >> >>> > manager this message shows up:
 >> >>> >
 >> >>> > *This plugin is broken* Missing metadata file
 >> >>> >
 >> >>> > Installed version: ? (in
 >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
 >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
 >> >>> >
 >> >>> > However, in /usr/share/qgis/python/plugins/processing  there's
 an
 >> >>> > apparently normal metadata.txt file:
 >> >>> >
 >> >>> > [general] name=Processing description=Spatial data processing
 >> >>> > framework for QGIS category=Analysis version=2.0
 >> >>> > qgisMinimumVersion=2.0
 >> >>> >
 >> >>> > author=Victor Olaya email=vola...@gmail.com website=
 www.qgis.org
 >> >>> >
 >> >>> > icon=images/alg.png
 >> >>> >
 >> >>> > class_name=ProcessingPlugin
 >> >>> >
 >> >>> > Does anyone else have problems with Processing?
 >> >>> >
 >> >>> > Cheers F.
 >> >>> >
 >> >>> >
 >> >>> >
 >> >>> > ___ Qgis-user
 mailing
 >> >>> > list Qgis-user@lists.osgeo.org
 >> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
 >> >>> >
 >> >>> -BEGIN PGP SIGNATURE-
 >> >>> Version: GnuPG v1.4.15 (GNU/Linux)
 >> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
 >> >>>
 >> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
 >> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
 >> >>> =JxWh
 >> >>> -END PGP SIGNATURE-
 >> >>
 >> >>
 >> >
 >
 >
 >
 > ___
>>>

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Filipe Dias
Well, this is weird:

I run "sudo qgis" and now Processing shows up and I don't get the metadata
error

Any ideas on why this happened?


On Wed, Apr 23, 2014 at 6:19 PM, Filipe Dias  wrote:

> I just did clean installation of QGIS Master from ubuntugis nightly and it
> still get this message. Am I missing something?
>
> *This plugin is broken*
> Missing metadata file
>
>
>
> On Wed, Apr 23, 2014 at 6:01 PM, Filipe Dias wrote:
>
>> Ok
>> I'm on Ubuntu 12.04
>>
>>
>> On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:
>>
>>> FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.
>>>
>>> 2014-04-23 12:49 GMT+02:00 Filipe Dias :
>>> > Hi,
>>> > I downloaded today's QGIS Master and Processing is still unavailable
>>> due to
>>> > the metadata bug. Anyone else confirms?
>>> > regards
>>> > F.
>>> >
>>> >
>>> > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho 
>>> > wrote:
>>> >>
>>> >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
>>> >> everything works again and is compiling fluently ..
>>> >> thanks everyone!
>>> >>
>>> >> regards
>>> >> Werner
>>> >>
>>> >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
>>> >> wrote:
>>> >> > Hi
>>> >> > I tried copying the most recent version of Processing to its
>>> respective
>>> >> > folder inside /usr/share/qgis/python/plugins and I still get the
>>> >> > metadata
>>> >> > error. Do I have to wait for another compilation or should it work
>>> now?
>>> >> > cheers
>>> >> > F.
>>> >> >
>>> >> >
>>> >> >
>>> >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
>>> >> > wrote:
>>> >> >>
>>> >> >> My fault, sorry. I restructured the folders in Processing to have a
>>> >> >> clearer structure, but forgot to update the make files. Hope is
>>> fixed
>>> >> >> now.
>>> >> >>
>>> >> >> sorry again
>>> >> >>
>>> >> >> Victor
>>> >> >>
>>> >> >>
>>> >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
>>> >> >>
>>> >> >>> -BEGIN PGP SIGNED MESSAGE-
>>> >> >>> Hash: SHA1
>>> >> >>>
>>> >> >>> confirmed..
>>> >> >>>
>>> >> >>> trying to compile master the first error I get is:
>>> >> >>>
>>> >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
>>> >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
>>> >> >>> (ADD_SUBDIRECTORY):
>>> >> >>>   add_subdirectory given source "admintools" which is not an
>>> existing
>>> >> >>>   directory.
>>> >> >>>
>>> >> >>> followed by a lot of messages in this style .. basically all
>>> external
>>> >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
>>> >> >>>
>>> >> >>>
>>> >> >>> - -- Ctest Binary Directory  set to:
>>> >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
>>> >> >>> - -- Configuring incomplete, errors occurred!
>>> >> >>>
>>> >> >>> CMakeList missconfiguration?
>>> >> >>>
>>> >> >>> regards
>>> >> >>> Werner
>>> >> >>>
>>> >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
>>> >> >>> > Hi
>>> >> >>> >
>>> >> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
>>> >> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
>>> >> >>> > manager this message shows up:
>>> >> >>> >
>>> >> >>> > *This plugin is broken* Missing metadata file
>>> >> >>> >
>>> >> >>> > Installed version: ? (in
>>> >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
>>> >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
>>> >> >>> >
>>> >> >>> > However, in /usr/share/qgis/python/plugins/processing  there's
>>> an
>>> >> >>> > apparently normal metadata.txt file:
>>> >> >>> >
>>> >> >>> > [general] name=Processing description=Spatial data processing
>>> >> >>> > framework for QGIS category=Analysis version=2.0
>>> >> >>> > qgisMinimumVersion=2.0
>>> >> >>> >
>>> >> >>> > author=Victor Olaya email=vola...@gmail.com website=
>>> www.qgis.org
>>> >> >>> >
>>> >> >>> > icon=images/alg.png
>>> >> >>> >
>>> >> >>> > class_name=ProcessingPlugin
>>> >> >>> >
>>> >> >>> > Does anyone else have problems with Processing?
>>> >> >>> >
>>> >> >>> > Cheers F.
>>> >> >>> >
>>> >> >>> >
>>> >> >>> >
>>> >> >>> > ___ Qgis-user
>>> mailing
>>> >> >>> > list Qgis-user@lists.osgeo.org
>>> >> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> >> >>> >
>>> >> >>> -BEGIN PGP SIGNATURE-
>>> >> >>> Version: GnuPG v1.4.15 (GNU/Linux)
>>> >> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>>> >> >>>
>>> >> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
>>> >> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
>>> >> >>> =JxWh
>>> >> >>> -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

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Filipe Dias
I just did clean installation of QGIS Master from ubuntugis nightly and it
still get this message. Am I missing something?

*This plugin is broken*
Missing metadata file



On Wed, Apr 23, 2014 at 6:01 PM, Filipe Dias  wrote:

> Ok
> I'm on Ubuntu 12.04
>
>
> On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:
>
>> FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.
>>
>> 2014-04-23 12:49 GMT+02:00 Filipe Dias :
>> > Hi,
>> > I downloaded today's QGIS Master and Processing is still unavailable
>> due to
>> > the metadata bug. Anyone else confirms?
>> > regards
>> > F.
>> >
>> >
>> > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho 
>> > wrote:
>> >>
>> >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
>> >> everything works again and is compiling fluently ..
>> >> thanks everyone!
>> >>
>> >> regards
>> >> Werner
>> >>
>> >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
>> >> wrote:
>> >> > Hi
>> >> > I tried copying the most recent version of Processing to its
>> respective
>> >> > folder inside /usr/share/qgis/python/plugins and I still get the
>> >> > metadata
>> >> > error. Do I have to wait for another compilation or should it work
>> now?
>> >> > cheers
>> >> > F.
>> >> >
>> >> >
>> >> >
>> >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
>> >> > wrote:
>> >> >>
>> >> >> My fault, sorry. I restructured the folders in Processing to have a
>> >> >> clearer structure, but forgot to update the make files. Hope is
>> fixed
>> >> >> now.
>> >> >>
>> >> >> sorry again
>> >> >>
>> >> >> Victor
>> >> >>
>> >> >>
>> >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
>> >> >>
>> >> >>> -BEGIN PGP SIGNED MESSAGE-
>> >> >>> Hash: SHA1
>> >> >>>
>> >> >>> confirmed..
>> >> >>>
>> >> >>> trying to compile master the first error I get is:
>> >> >>>
>> >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
>> >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
>> >> >>> (ADD_SUBDIRECTORY):
>> >> >>>   add_subdirectory given source "admintools" which is not an
>> existing
>> >> >>>   directory.
>> >> >>>
>> >> >>> followed by a lot of messages in this style .. basically all
>> external
>> >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
>> >> >>>
>> >> >>>
>> >> >>> - -- Ctest Binary Directory  set to:
>> >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
>> >> >>> - -- Configuring incomplete, errors occurred!
>> >> >>>
>> >> >>> CMakeList missconfiguration?
>> >> >>>
>> >> >>> regards
>> >> >>> Werner
>> >> >>>
>> >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
>> >> >>> > Hi
>> >> >>> >
>> >> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
>> >> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
>> >> >>> > manager this message shows up:
>> >> >>> >
>> >> >>> > *This plugin is broken* Missing metadata file
>> >> >>> >
>> >> >>> > Installed version: ? (in
>> >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
>> >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
>> >> >>> >
>> >> >>> > However, in /usr/share/qgis/python/plugins/processing  there's an
>> >> >>> > apparently normal metadata.txt file:
>> >> >>> >
>> >> >>> > [general] name=Processing description=Spatial data processing
>> >> >>> > framework for QGIS category=Analysis version=2.0
>> >> >>> > qgisMinimumVersion=2.0
>> >> >>> >
>> >> >>> > author=Victor Olaya email=vola...@gmail.com website=www.qgis.org
>> >> >>> >
>> >> >>> > icon=images/alg.png
>> >> >>> >
>> >> >>> > class_name=ProcessingPlugin
>> >> >>> >
>> >> >>> > Does anyone else have problems with Processing?
>> >> >>> >
>> >> >>> > Cheers F.
>> >> >>> >
>> >> >>> >
>> >> >>> >
>> >> >>> > ___ Qgis-user mailing
>> >> >>> > list Qgis-user@lists.osgeo.org
>> >> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>> >> >>> >
>> >> >>> -BEGIN PGP SIGNATURE-
>> >> >>> Version: GnuPG v1.4.15 (GNU/Linux)
>> >> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>> >> >>>
>> >> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
>> >> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
>> >> >>> =JxWh
>> >> >>> -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

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Filipe Dias
Ok
I'm on Ubuntu 12.04


On Wed, Apr 23, 2014 at 5:08 PM, Goyo  wrote:

> FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.
>
> 2014-04-23 12:49 GMT+02:00 Filipe Dias :
> > Hi,
> > I downloaded today's QGIS Master and Processing is still unavailable due
> to
> > the metadata bug. Anyone else confirms?
> > regards
> > F.
> >
> >
> > On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho 
> > wrote:
> >>
> >> with the latest changes from Jürgen in 5f0151cee in CMakeFile
> >> everything works again and is compiling fluently ..
> >> thanks everyone!
> >>
> >> regards
> >> Werner
> >>
> >> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
> >> wrote:
> >> > Hi
> >> > I tried copying the most recent version of Processing to its
> respective
> >> > folder inside /usr/share/qgis/python/plugins and I still get the
> >> > metadata
> >> > error. Do I have to wait for another compilation or should it work
> now?
> >> > cheers
> >> > F.
> >> >
> >> >
> >> >
> >> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
> >> > wrote:
> >> >>
> >> >> My fault, sorry. I restructured the folders in Processing to have a
> >> >> clearer structure, but forgot to update the make files. Hope is fixed
> >> >> now.
> >> >>
> >> >> sorry again
> >> >>
> >> >> Victor
> >> >>
> >> >>
> >> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
> >> >>
> >> >>> -BEGIN PGP SIGNED MESSAGE-
> >> >>> Hash: SHA1
> >> >>>
> >> >>> confirmed..
> >> >>>
> >> >>> trying to compile master the first error I get is:
> >> >>>
> >> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> >> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
> >> >>> (ADD_SUBDIRECTORY):
> >> >>>   add_subdirectory given source "admintools" which is not an
> existing
> >> >>>   directory.
> >> >>>
> >> >>> followed by a lot of messages in this style .. basically all
> external
> >> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
> >> >>>
> >> >>>
> >> >>> - -- Ctest Binary Directory  set to:
> >> >>> /home/macho/dev/cpp/QGIS/build/output/bin
> >> >>> - -- Configuring incomplete, errors occurred!
> >> >>>
> >> >>> CMakeList missconfiguration?
> >> >>>
> >> >>> regards
> >> >>> Werner
> >> >>>
> >> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
> >> >>> > Hi
> >> >>> >
> >> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
> >> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
> >> >>> > manager this message shows up:
> >> >>> >
> >> >>> > *This plugin is broken* Missing metadata file
> >> >>> >
> >> >>> > Installed version: ? (in
> >> >>> > /usr/share/qgis/python/plugins/processing) Available version:
> >> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
> >> >>> >
> >> >>> > However, in /usr/share/qgis/python/plugins/processing  there's an
> >> >>> > apparently normal metadata.txt file:
> >> >>> >
> >> >>> > [general] name=Processing description=Spatial data processing
> >> >>> > framework for QGIS category=Analysis version=2.0
> >> >>> > qgisMinimumVersion=2.0
> >> >>> >
> >> >>> > author=Victor Olaya email=vola...@gmail.com website=www.qgis.org
> >> >>> >
> >> >>> > icon=images/alg.png
> >> >>> >
> >> >>> > class_name=ProcessingPlugin
> >> >>> >
> >> >>> > Does anyone else have problems with Processing?
> >> >>> >
> >> >>> > Cheers F.
> >> >>> >
> >> >>> >
> >> >>> >
> >> >>> > ___ Qgis-user mailing
> >> >>> > list Qgis-user@lists.osgeo.org
> >> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> >>> >
> >> >>> -BEGIN PGP SIGNATURE-
> >> >>> Version: GnuPG v1.4.15 (GNU/Linux)
> >> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >> >>>
> >> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
> >> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
> >> >>> =JxWh
> >> >>> -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

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Goyo
FWIW version 2.3.0+git20140423+6fa26cf~trusty1 is working here.

2014-04-23 12:49 GMT+02:00 Filipe Dias :
> Hi,
> I downloaded today's QGIS Master and Processing is still unavailable due to
> the metadata bug. Anyone else confirms?
> regards
> F.
>
>
> On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho 
> wrote:
>>
>> with the latest changes from Jürgen in 5f0151cee in CMakeFile
>> everything works again and is compiling fluently ..
>> thanks everyone!
>>
>> regards
>> Werner
>>
>> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
>> wrote:
>> > Hi
>> > I tried copying the most recent version of Processing to its respective
>> > folder inside /usr/share/qgis/python/plugins and I still get the
>> > metadata
>> > error. Do I have to wait for another compilation or should it work now?
>> > cheers
>> > F.
>> >
>> >
>> >
>> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
>> > wrote:
>> >>
>> >> My fault, sorry. I restructured the folders in Processing to have a
>> >> clearer structure, but forgot to update the make files. Hope is fixed
>> >> now.
>> >>
>> >> sorry again
>> >>
>> >> Victor
>> >>
>> >>
>> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
>> >>
>> >>> -BEGIN PGP SIGNED MESSAGE-
>> >>> Hash: SHA1
>> >>>
>> >>> confirmed..
>> >>>
>> >>> trying to compile master the first error I get is:
>> >>>
>> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
>> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
>> >>> (ADD_SUBDIRECTORY):
>> >>>   add_subdirectory given source "admintools" which is not an existing
>> >>>   directory.
>> >>>
>> >>> followed by a lot of messages in this style .. basically all external
>> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
>> >>>
>> >>>
>> >>> - -- Ctest Binary Directory  set to:
>> >>> /home/macho/dev/cpp/QGIS/build/output/bin
>> >>> - -- Configuring incomplete, errors occurred!
>> >>>
>> >>> CMakeList missconfiguration?
>> >>>
>> >>> regards
>> >>> Werner
>> >>>
>> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
>> >>> > Hi
>> >>> >
>> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
>> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
>> >>> > manager this message shows up:
>> >>> >
>> >>> > *This plugin is broken* Missing metadata file
>> >>> >
>> >>> > Installed version: ? (in
>> >>> > /usr/share/qgis/python/plugins/processing) Available version:
>> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
>> >>> >
>> >>> > However, in /usr/share/qgis/python/plugins/processing  there's an
>> >>> > apparently normal metadata.txt file:
>> >>> >
>> >>> > [general] name=Processing description=Spatial data processing
>> >>> > framework for QGIS category=Analysis version=2.0
>> >>> > qgisMinimumVersion=2.0
>> >>> >
>> >>> > author=Victor Olaya email=vola...@gmail.com website=www.qgis.org
>> >>> >
>> >>> > icon=images/alg.png
>> >>> >
>> >>> > class_name=ProcessingPlugin
>> >>> >
>> >>> > Does anyone else have problems with Processing?
>> >>> >
>> >>> > Cheers F.
>> >>> >
>> >>> >
>> >>> >
>> >>> > ___ Qgis-user mailing
>> >>> > list Qgis-user@lists.osgeo.org
>> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>> >>> >
>> >>> -BEGIN PGP SIGNATURE-
>> >>> Version: GnuPG v1.4.15 (GNU/Linux)
>> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>> >>>
>> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
>> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
>> >>> =JxWh
>> >>> -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

Re: [Qgis-user] Layer Offset

2014-04-23 Thread mflue
Hi Ralf,

thank you very much!
That solves my problem and tells me I'm not totally dumb concerning crs and
stuff ;-)

Great work!

THX mflue



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Layer-Offset-tp5136446p5136710.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Hachure construction

2014-04-23 Thread venerio giuseppe anardu

I don't think this task can be accomplished automatically, but if it could be 
possible it will be awesome!
Anyway, I've found this article:
http://mike.teczno.com/notes/hachures.html
Greetings
Il Mercoledì 23 Aprile 2014 14:43, Frank Broniewski  ha 
scritto:
 
Hey,

thank you for your answer. I will definitely try that out, Although I am
not yet convinced that automatic hachure generation is doable in QGIS.
I've seen more possibilites for doing this in a Autocad extension/
plugin (Quvadis).

Frank

Am 2014-04-21 02:58, schrieb maning sambale:
> Another approach would be from a DEM, generate slope and aspect.  Add
> the values to a point vector layer and follow Imhof's rules.
> 
> I made a similar experiment many moons ago.  Check the last two photos
> in this post:
> http://epsg4253.wordpress.com/2012/05/14/alternatives-to-relief-shading/
> 
> "The arrows depicts the direction of the surface (aspect) while the
> line thickness depicts the steepness of the gradient (slope)."
> 
> On Fri, Apr 18, 2014 at 3:36 PM, Frank Broniewski  wrote:
>> Hi,
>>
>> I'd like to construct manually some hachures in order to show the
>> terrain form, like in ye olde maps
>> (http://en.wikipedia.org/wiki/Hachure_map)
>>
>> I am working with contours that I have available. Using the snapping
>> options I can already draw lines between two contour lines just fine,
>> but a hachure line is usually drawn in the direction of the steepest
>> slope. So it would be useful to have a length indicator, just like with
>> the measurement tool, when digitizing lines. Because the shortest
>> distance between two points would represent the steepest slope and that
>> is what I want to know.
>>
>> So how can I get the current line length while digitizing? Is there some
>> plugin? I am also not afraid of using Python to achieve this, but I've
>> never done any QGIS modding so far ...
>>
>> Many thanks,
>>
>> Frank
>>
>>
>> --
>> Frank BRONIEWSKI
>>
>> METRICO s.à r.l.
>> géomètres
>> technologies d'information géographique
>> rue des Romains 36
>> L-5433 NIEDERDONVEN
>>
>> tél.: +352 26 74 94 - 28
>> fax.: +352 26 74 94 99
>> http://www.metrico.lu
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user

> 
> 
> 


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu
___
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] Hachure construction

2014-04-23 Thread Frank Broniewski
Hey,

thank you for your answer. I will definitely try that out, Although I am
not yet convinced that automatic hachure generation is doable in QGIS.
I've seen more possibilites for doing this in a Autocad extension/
plugin (Quvadis).

Frank

Am 2014-04-21 02:58, schrieb maning sambale:
> Another approach would be from a DEM, generate slope and aspect.  Add
> the values to a point vector layer and follow Imhof's rules.
> 
> I made a similar experiment many moons ago.  Check the last two photos
> in this post:
> http://epsg4253.wordpress.com/2012/05/14/alternatives-to-relief-shading/
> 
> "The arrows depicts the direction of the surface (aspect) while the
> line thickness depicts the steepness of the gradient (slope)."
> 
> On Fri, Apr 18, 2014 at 3:36 PM, Frank Broniewski  wrote:
>> Hi,
>>
>> I'd like to construct manually some hachures in order to show the
>> terrain form, like in ye olde maps
>> (http://en.wikipedia.org/wiki/Hachure_map)
>>
>> I am working with contours that I have available. Using the snapping
>> options I can already draw lines between two contour lines just fine,
>> but a hachure line is usually drawn in the direction of the steepest
>> slope. So it would be useful to have a length indicator, just like with
>> the measurement tool, when digitizing lines. Because the shortest
>> distance between two points would represent the steepest slope and that
>> is what I want to know.
>>
>> So how can I get the current line length while digitizing? Is there some
>> plugin? I am also not afraid of using Python to achieve this, but I've
>> never done any QGIS modding so far ...
>>
>> Many thanks,
>>
>> Frank
>>
>>
>> --
>> Frank BRONIEWSKI
>>
>> METRICO s.à r.l.
>> géomètres
>> technologies d'information géographique
>> rue des Romains 36
>> L-5433 NIEDERDONVEN
>>
>> tél.: +352 26 74 94 - 28
>> fax.: +352 26 74 94 99
>> http://www.metrico.lu
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> 


-- 
Frank BRONIEWSKI

METRICO s.à r.l.
géomètres
technologies d'information géographique
rue des Romains 36
L-5433 NIEDERDONVEN

tél.: +352 26 74 94 - 28
fax.: +352 26 74 94 99
http://www.metrico.lu
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Processing broken in Master

2014-04-23 Thread Filipe Dias
Hi,
I downloaded today's QGIS Master and Processing is still unavailable due to
the metadata bug. Anyone else confirms?
regards
F.


On Sun, Apr 20, 2014 at 5:33 PM, Werner Macho wrote:

> with the latest changes from Jürgen in 5f0151cee in CMakeFile
> everything works again and is compiling fluently ..
> thanks everyone!
>
> regards
> Werner
>
> On Sun, Apr 20, 2014 at 6:31 PM, Filipe Dias 
> wrote:
> > Hi
> > I tried copying the most recent version of Processing to its respective
> > folder inside /usr/share/qgis/python/plugins and I still get the metadata
> > error. Do I have to wait for another compilation or should it work now?
> > cheers
> > F.
> >
> >
> >
> > On Sun, Apr 20, 2014 at 10:33 AM, Victor Olaya 
> wrote:
> >>
> >> My fault, sorry. I restructured the folders in Processing to have a
> >> clearer structure, but forgot to update the make files. Hope is fixed
> now.
> >>
> >> sorry again
> >>
> >> Victor
> >>
> >>
> >> 2014-04-20 11:06 GMT+02:00 Werner Macho :
> >>
> >>> -BEGIN PGP SIGNED MESSAGE-
> >>> Hash: SHA1
> >>>
> >>> confirmed..
> >>>
> >>> trying to compile master the first error I get is:
> >>>
> >>> - -- Found GSL: -L/usr/lib -lgsl -lgslcblas -lm
> >>> CMake Error at python/plugins/processing/CMakeLists.txt:3
> >>> (ADD_SUBDIRECTORY):
> >>>   add_subdirectory given source "admintools" which is not an existing
> >>>   directory.
> >>>
> >>> followed by a lot of messages in this style .. basically all external
> >>> tools like gdal, grass, grass7, taudem, saga, otb, r, lidar
> >>>
> >>>
> >>> - -- Ctest Binary Directory  set to:
> >>> /home/macho/dev/cpp/QGIS/build/output/bin
> >>> - -- Configuring incomplete, errors occurred!
> >>>
> >>> CMakeList missconfiguration?
> >>>
> >>> regards
> >>> Werner
> >>>
> >>> On 04/20/2014 10:32 AM, Filipe Dias wrote:
> >>> > Hi
> >>> >
> >>> > I just did a clean installation of QGIS Master on Ubuntu 12.04
> >>> > (also deleted ./qgis2) and Processing is broken. In the plugin
> >>> > manager this message shows up:
> >>> >
> >>> > *This plugin is broken* Missing metadata file
> >>> >
> >>> > Installed version: ? (in
> >>> > /usr/share/qgis/python/plugins/processing) Available version:
> >>> > 2.2.0-1 (in QGIS Official Plugin Repository)
> >>> >
> >>> > However, in /usr/share/qgis/python/plugins/processing  there's an
> >>> > apparently normal metadata.txt file:
> >>> >
> >>> > [general] name=Processing description=Spatial data processing
> >>> > framework for QGIS category=Analysis version=2.0
> >>> > qgisMinimumVersion=2.0
> >>> >
> >>> > author=Victor Olaya email=vola...@gmail.com website=www.qgis.org
> >>> >
> >>> > icon=images/alg.png
> >>> >
> >>> > class_name=ProcessingPlugin
> >>> >
> >>> > Does anyone else have problems with Processing?
> >>> >
> >>> > Cheers F.
> >>> >
> >>> >
> >>> >
> >>> > ___ Qgis-user mailing
> >>> > list Qgis-user@lists.osgeo.org
> >>> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >>> >
> >>> -BEGIN PGP SIGNATURE-
> >>> Version: GnuPG v1.4.15 (GNU/Linux)
> >>> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> >>>
> >>> iEYEARECAAYFAlNTjfAACgkQDAH1YiCxBgmLAgCfb9xmT2biZPNxGWmvUo1ZoSqm
> >>> QXQAnA85hOKBTrkmtrtYZHu+oIzPz5cG
> >>> =JxWh
> >>> -END PGP SIGNATURE-
> >>
> >>
> >
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] How to get rid of the rest of the World?

2014-04-23 Thread Murkor
"how to make a rectangular area of longitude and latitude
coordinates that enables to cut away the area not needed in other layers?"

In QGIS 2.2 (and just about any GIS that has geoprocessing tools) there are
two ways to "extract data".

The first is to "clip" the data from the existing file using another polygon
file:
1.  on the "manage layers" toolbar click "New Shapefile Layer";
2.  enter info on file geometry (polygon), name, and coordinate system
(don't need to worry about attributes);
3.  click 'OK";
4.  name file and choose storage location;
5.  click "Save";
6.  name of new file appears in 'Layers List";
7.  click on name of new file to highlight it;
8.  on the "digitising" toolbar click "Toggle Editing" (little pencil
button);
9.  click "Add Feature" button;
10.  click in map window to create your polygon (left click for each corner
and right click to finish);
11.  click "Save Layer Edits" button;
12.  click 'Toggle Editing" button;
13.  in menu click "Processing... Toolbox";
14.  in toolbox (simplified view) search "clip";
15.  double click "geoalgorithms... vector... overlay... clip";
16.  input layer is the layer you want to clip (make smaller);
17.  clip layer is the polygon you just made;
18.  clipped output is what and where you wish;
19.  click "Run"

NOTES:
-You can turn on any toolbars that you don't see in the menu under
"Settings... Toolbars"
-If you load the layer you want to clip into the map window before clipping
it means you don't have to navigate to it; you can just pick it from a
dropdown.
-MAKE SURE THE COORDINATE REFERENCE SYSTEM (CRS) FOR THE PROJECT (Setting...
Project Properties... CRS) AND EACH OF THE FILES (input and clip) ARE THE
SAME!
-If you want to be more accurate with your corners than a quick and dirty
hand digitised job then you can import the coordinates for the corners you
want using the 'XYtools" plugin to import spreadsheet files with xy
coordinate fields/columns; make a point file and then snap your polygon file
to the points when you create the polygon feature.
-You can also create a polygon with accurate coordinates for corners using
Python code here:
https://code.google.com/p/pyshp/

The second way is to run a SQL query on the attribute table (or manually
select the polygons you want to extract) for the polygons you want and then
:
1.  right click the filename in the layer list;
2.  click "Save as";
3.  name and locate file and choose CRS;
4.  click "OK".

This won't give you a rectangular extent (unless you have unusual data), but
will give you exactly the polygons you want.

To clip the raster you can use the Toolbox again:
"Geoalgorithms... Raster - vector... Raster - vector operations... Clip grid
with polygon"

YOU MUST HAVE SAGA INSTALLED ON YOUR MACHINE TO USE THIS TOOL (standard with
Osgeo4w install of QGIS)
You can also use the command line shell installed when you install FWTools
to run "gdal_translate" to clip rasters - 
Like so:
http://www.surfaces.co.il/clipping-a-raster-with-gdal/

"I repeat just want a specified area that easily can be determined by
longitude and latitude
coordinates."

Then use the spreadsheet import or python scripting approaches to create a
clipping polygon with the desired coordinates. Using the clip tools this is
simple as after you get your clipping polygon created.

Cheers,
Mike

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





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/How-to-get-rid-of-the-rest-of-the-World-tp5136462p5136667.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user