Re: [Qgis-user] TimeManager question

2015-11-18 Thread Neumann, Andreas
 

Hi Anita, 

Thanks - I will file a feature request. 

I don't know what's easier: 

1) either have a boolean variable to see if TimeManager is active or not
(this would allow authors to have CASE statements) 

2) or introduce a new function called "now_or_animation_datetime()" (or
a similar name, maybe shorter) which would be automagically be replaced
when TimeManager is running. When timemanager is active, it would be
animation_datetime(), when timemanager is inactive, it would be now(). I
wouldn't propose to automatically replace now() with
animation_datetime() when TimeManager is active, as there might be rules
that require now() also in the context of TimeManager running. 

The first would be easier to implement, the second easier to be used by
the users - I assume. 

Andreas 

On 2015-11-18 16:39, Anita Graser wrote: 

> Hi Andreas, 
> 
> On Wed, Nov 18, 2015 at 3:50 PM, Neumann, Andreas  
> wrote: 
> 
>> Is there a way to find out when time manager is active and when not
> 
> ​I'm not sure if there would be a workaround right now. We certainly never 
> tested this idea but it makes sense. I guess the easiest approach might be to 
> add a function which returns whether Time Manager is currently active or 
> inactive (like the status of the on/off button in the panel). Please file a 
> feature request or pull request ;-) 
> 
> Best wishes, 
> 
> Anita​

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

Re: [Qgis-user] TimeManager question

2015-11-18 Thread Anita Graser
Hi Andreas,

On Wed, Nov 18, 2015 at 3:50 PM, Neumann, Andreas 
wrote:
>
> Is there a way to find out when time manager is active and when not
>

​I'm not sure if there would be a workaround right now. We certainly never
tested this idea but it makes sense. I guess the easiest approach might be
to add a function which returns whether Time Manager is currently active or
inactive (like the status of the on/off button in the panel). Please file a
feature request or pull request ;-)

Best wishes,
Anita​
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GRASS7 Plugin for QGIS 2.12 on Ubuntu

2015-11-18 Thread Jürgen E . Fischer
Hi Micha,

On Wed, 18. Nov 2015 at 16:18:54 +0200, Micha Silver wrote:
>No libgrassplugin7.so. Instead I have :
> 
>micha@work-vm ~ $ locate libgrassplugin
>/usr/lib/qgis/plugins/libgrassplugin6.so
> 
>And libgrass_gis.so is located in:
> 
>micha@work-vm ~ $ ll /usr/lib/grass70/lib/libgrass_gis*  -rw-r--r-- 1 root
>root 240736 Aug 7 01:00 /usr/lib/grass70/lib/libgrass_gis.7.0.1.so
>lrwxrwxrwx 1 root root 21 Aug 7 00:59 /usr/lib/grass70/lib/libgrass_gis.so
>-> libgrass_gis.7.0.1.so
> 
>Do I need a different qgis-plugin-grass with libgrassplugin7.so ??


# dpkg -S libgrassplugin7.so
qgis-plugin-grass: /usr/lib/qgis/plugins/libgrassplugin7.so

# apt-cache policy qgis-plugin-grass 
qgis-plugin-grass:
  Installed: 1:2.12.0-1+20trusty-ubuntugis
  Candidate: 1:2.12.0-1+20trusty-ubuntugis
  Version table:
 *** 1:2.12.0-1+20trusty-ubuntugis 0
500 http://qgis.org/ubuntugis/ trusty/main i386 Packages
100 /var/lib/dpkg/status
 1:2.8.1-0+20trusty6 0
500 http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/ 
trusty/main i386 Packages
 2.0.1-2build2 0
500 http://approx:/ubuntu/ trusty/universe i386 Packages


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Blumentrath, Stefan
Same here. Took the liberty to open a ticket:
https://hub.qgis.org/issues/13849

Yet, older versions of QGIS (2.10) crash equally…

Cheers
Stefan

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
samuelm...@gmail.com
Sent: 31. oktober 2015 18:36
To: Paulo van Breugel 
Cc: QGIS user email list 
Subject: Re: [Qgis-user] QGIS Segmentation fault

I confirm the same problem for  QGIS 2.12 in Arch Linux:

Warning: QCss::Parser - Failed to load file  "/style.qss"

Then closes unexpectedly.
regards,
Samuel Mesa.

2015-09-21 5:45 GMT-05:00 Paulo van Breugel 
>:
Hi, Just compiled the latest QGIS master (on Linux Ubuntu 14.04). Now, when 
opening QGIS, it opens, after which it immediately crashes, with the following 
sparse message:

Warning: loading of qgis translation failed 
[/usr/local/qgis/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss"
Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already 
tracking action "" under id 237
ERROR 4: `/initrd.img' not recognised as a supported file format.

Segmentation fault (core dumped)

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



--
---
.~.
   / v \
  //\\
 /(  )\
   ^`~'^
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QgsDistanceArea() confusion

2015-11-18 Thread Pal Schmitt
Dear All,
I am trying to write a plugin but am somewhat lost when it comes to
using the QgsDistanceArea() class.
Assume I have two layers, layerA and layerB in arbitrary CRS.
What is an idiot-proof way of using 

d = QgsDistanceArea()
and
dist=d.measureLine(featurefromlayerA,featurefromlayerB)

but always obtain the distance dist in meters?
The gui measurement tool seems to work for me, but the above code seems
to give good results only if both features/layers are transformed to

layer.crs().projectionAcronym()
u'utm'
layer.crs().geographicCRSAuthId()
u'EPSG:4326'
which seems a bit clumsy...
Thanks for any help,
Pal





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

Re: [Qgis-user] SRTM-plug-in?

2015-11-18 Thread Alex M
On 11/18/2015 06:14 AM, Bernd Vogelgesang wrote:
> Hi,
> there once was a plug-in in the repository, that downloaded SRTM-DEM
> data for your canvas area.
> This was a quite convenient function. The "normal" way to find the
> websites, browse through clunky dialogs etc. and then download sth which
> then maybe has to be stitched together to be usable is not so nice.
> 
> Does anyone has an idea where this plug-in came from and where it went
> to? Were there some legal issues, or hasn't it just been updated and got
> deprecated?
> 
> I would really like to see such a function come back into QGIS,
> especially in combination with the QGIS2threejs-plug-in, it would give
> the opportunity to create quick 3D-visualizations of your area.
> 
> Cheers
> Bernd

I can't think of a legal reason (the data is Public Domain), though you
do need to login to download from the USGS.

Did the plugin do 30m or 90m SRTM?

I have everything that's been released for 30m on my university servers,
just haven't gotten around to setting up the WCS on top of it. Once
that's done, a redo of such a plugin should be quite easy.

For 90m DEM there actually quite a few easily accessible variants of it
around the web that could be scripted against. Though I think you'd need
to use a tile index to pull the needed tiles, and then cut to canvas.

Thanks,
Alex

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

Re: [Qgis-user] TimeManager question

2015-11-18 Thread Nyall Dawson
On 19 Nov 2015 1:50 AM, "Neumann, Andreas"  wrote:
>
> Hi,
>
> I have a project where I display events:
>
> * past events that are less than a week ago are displayed in light purple
>
> * current events are displayed in red
>
> * upcoming events within the next two weeks are displayed in orange
>
> I use now() within my rules.
>
> 
>
> Now my time-manger question:
>
> I thought I could simulate a view of the "past" or "future" with the
TimeManager plugin. But this doesn't work, because now() is still now() is
not replaced by animation_datetime() - which would serve my purpose.
>
> Is there a way to find out when time manager is active and when not - and
then I could build two different rules:
>
> - one normal rule with now() - only used when time manager is not active
>
> - one rule with animation_datetime() - only used when time manager is
active

What about :

  Coalesce (animation_datetime(), now())

Does that work?

Nyall

>
>
>
> Thanks,
>
> Andreas
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] TimeManager question

2015-11-18 Thread Neumann, Andreas
 

On 2015-11-18 19:42, Nyall Dawson wrote: 

> What about : 
> 
> Coalesce (animation_datetime(), now())

Good catch - I will test that tomorrow - have my project at my
workplace. It may already work. 

If it doesn't work already, it would probably be straight-forward to
implement. 

Thanks, 

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

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Matthias Kuhn
Would any of you be able to produce a backtrace from this crash, paste
it into the issue linked below and send a short reminder here?

Thanks
Matthias

On 11/18/2015 06:57 PM, Blumentrath, Stefan wrote:
>
> Same here. Took the liberty to open a ticket:
>
> https://hub.qgis.org/issues/13849
>
>  
>
> Yet, older versions of QGIS (2.10) crash equally…
>
>  
>
> Cheers
>
> Stefan
>
>  
>
> *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf
> Of *samuelm...@gmail.com
> *Sent:* 31. oktober 2015 18:36
> *To:* Paulo van Breugel 
> *Cc:* QGIS user email list 
> *Subject:* Re: [Qgis-user] QGIS Segmentation fault
>
>  
>
> I confirm the same problem for  QGIS 2.12 in Arch Linux:
>
> Warning: QCss::Parser - Failed to load file  "/style.qss"
>
> Then closes unexpectedly.
>
> regards,
>
> Samuel Mesa.
>
>  
>
> 2015-09-21 5:45 GMT-05:00 Paulo van Breugel  >:
>
> Hi, Just compiled the latest QGIS master (on Linux Ubuntu 14.04).
> Now, when opening QGIS, it opens, after which it immediately
> crashes, with the following sparse message:
>
> Warning: loading of qgis translation failed
> [/usr/local/qgis/share/qgis/i18n//qgis_en_US]
> Warning: loading of qt translation failed
> [/usr/share/qt4/translations/qt_en_US]
> Warning: QCss::Parser - Failed to load file  "/style.qss"
> Warning: void DBusMenuExporterPrivate::addAction(QAction*, int):
> Already tracking action "" under id 237
> ERROR 4: `/initrd.img' not recognised as a supported file format.
>
> Segmentation fault (core dumped)
>
> Any idea?
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> -- 
>
> ---
>
> .~.
>
>/ v \
>
>   //\\
>
>  /(  )\
>
>^`~'^
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

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

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Blumentrath, Stefan
Hi,

How do I backtrace?
Do I have to build with debug functionality first?

Cheers
Stefan

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
Matthias Kuhn
Sent: 18. november 2015 21:06
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS Segmentation fault

Would any of you be able to produce a backtrace from this crash, paste it into 
the issue linked below and send a short reminder here?

Thanks
Matthias
On 11/18/2015 06:57 PM, Blumentrath, Stefan wrote:
Same here. Took the liberty to open a ticket:
https://hub.qgis.org/issues/13849

Yet, older versions of QGIS (2.10) crash equally...

Cheers
Stefan

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
samuelm...@gmail.com
Sent: 31. oktober 2015 18:36
To: Paulo van Breugel 
Cc: QGIS user email list 

Subject: Re: [Qgis-user] QGIS Segmentation fault

I confirm the same problem for  QGIS 2.12 in Arch Linux:

Warning: QCss::Parser - Failed to load file  "/style.qss"

Then closes unexpectedly.
regards,
Samuel Mesa.

2015-09-21 5:45 GMT-05:00 Paulo van Breugel 
>:
Hi, Just compiled the latest QGIS master (on Linux Ubuntu 14.04). Now, when 
opening QGIS, it opens, after which it immediately crashes, with the following 
sparse message:

Warning: loading of qgis translation failed 
[/usr/local/qgis/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss"
Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already 
tracking action "" under id 237
ERROR 4: `/initrd.img' not recognised as a supported file format.

Segmentation fault (core dumped)

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



--
---
.~.
   / v \
  //\\
 /(  )\
   ^`~'^




___

Qgis-user mailing list

Qgis-user@lists.osgeo.org

List info: http://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user



--

Matthias Kuhn

OPENGIS.ch - https://www.opengis.ch

Spatial * (Q)GIS * PostGIS * Open Source
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Matthias Kuhn
Yes, compile with CMAKE_BUILD_TYPE=Debug
then run it in gdb, I normally do from the build directory

cd build
gdb ./output/bin/qgis
run
... wait for the crash
bt
... copy paste

Cheers,
Matthias

On 11/18/2015 09:08 PM, Blumentrath, Stefan wrote:
>
> Hi,
>
>  
>
> How do I backtrace?
>
> Do I have to build with debug functionality first?
>
>  
>
> Cheers
>
> Stefan
>
>  
>
> *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On Behalf
> Of *Matthias Kuhn
> *Sent:* 18. november 2015 21:06
> *To:* qgis-user@lists.osgeo.org
> *Subject:* Re: [Qgis-user] QGIS Segmentation fault
>
>  
>
> Would any of you be able to produce a backtrace from this crash, paste
> it into the issue linked below and send a short reminder here?
>
> Thanks
> Matthias
>
> On 11/18/2015 06:57 PM, Blumentrath, Stefan wrote:
>
> Same here. Took the liberty to open a ticket:
>
> https://hub.qgis.org/issues/13849
>
>  
>
> Yet, older versions of QGIS (2.10) crash equally…
>
>  
>
> Cheers
>
> Stefan
>
>  
>
> *From:*Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] *On
> Behalf Of *samuelm...@gmail.com 
> *Sent:* 31. oktober 2015 18:36
> *To:* Paulo van Breugel 
> 
> *Cc:* QGIS user email list 
> 
> *Subject:* Re: [Qgis-user] QGIS Segmentation fault
>
>  
>
> I confirm the same problem for  QGIS 2.12 in Arch Linux:
>
> Warning: QCss::Parser - Failed to load file  "/style.qss"
>
> Then closes unexpectedly.
>
> regards,
>
> Samuel Mesa.
>
>  
>
> 2015-09-21 5:45 GMT-05:00 Paulo van Breugel
> >:
>
> Hi, Just compiled the latest QGIS master (on Linux Ubuntu
> 14.04). Now, when opening QGIS, it opens, after which it
> immediately crashes, with the following sparse message:
>
> Warning: loading of qgis translation failed
> [/usr/local/qgis/share/qgis/i18n//qgis_en_US]
> Warning: loading of qt translation failed
> [/usr/share/qt4/translations/qt_en_US]
> Warning: QCss::Parser - Failed to load file  "/style.qss"
> Warning: void DBusMenuExporterPrivate::addAction(QAction*,
> int): Already tracking action "" under id 237
> ERROR 4: `/initrd.img' not recognised as a supported file format.
>
> Segmentation fault (core dumped)
>
> Any idea?
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
>
> -- 
>
> ---
>
> .~.
>
>/ v \
>
>   //\\
>
>  /(  )\
>
>^`~'^
>
>
>
>
> ___
>
> Qgis-user mailing list
>
> Qgis-user@lists.osgeo.org 
>
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> -- 
> Matthias Kuhn
> OPENGIS.ch - https://www.opengis.ch
> Spatial • (Q)GIS • PostGIS • Open Source

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

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

Re: [Qgis-user] Issue with temporal query in a symbology rule

2015-11-18 Thread Neumann, Andreas
 

Hi Jürgen, 

I created two expressions: 

startzeit <= now() AND endzeit >= now() 

vs 

to_datetime(format_date(startzeit,'-MM-ddTHH:mm:ss')) <= now() AND
to_datetime(format_date(endzeit,'-MM-ddTHH:mm:ss')) >= now() 

- 

The first fails, the second works fine - with some unneccesary
conversion from DateTime to String and then back to DateTime. 

So there seems to be an issue with the interpretation of DateTime
objects in QGIS expressions. At least for PostgreSQL data sources. 

Andreas 

On 2015-11-18 11:17, Neumann, Andreas wrote: 

> Hi Jürgen, 
> 
> I can follow your examples - they work fine. 
> 
> My conclusion is that the expressions are fine - but there is an issue if the 
> attribute data that comes from Postgis with a data type "timestamp without 
> time zone". Maybe these attribute columns from Postgis aren't correctly 
> evaluated as a DateTime data type? 
> 
> -- 
> 
> I'll send you some sample data privately. 
> 
> Thanks, 
> 
> Andreas 
> 
> On 2015-11-17 21:29, Jürgen E. Fischer wrote: 
> Hi Andreas,
> 
> On Tue, 17. Nov 2015 at 19:24:20 +0100, Neumann, Andreas wrote: I know that 
> it works well on PostgreSQL - but I am talking about
> symbology rules in QGIS. Can I use Postgis syntax in QGIS rules? The
> QGIS query builder doesn't list "BETWEEN" as an operator. 
> Oh, I completely missed that you were talking about an expression. Sorry.
> 
> But I cannot reproduce the problem with an expression either:
> 
> to_datetime('2015-11-17T21:24:18') <= to_datetime('2015-11-17T21:24:18') AND 
> to_datetime('2015-11-17T21:24:18') >= to_datetime('2015-11-17T21:24:18')
> 
> produces 1 too.
> 
> Jürgen 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

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

Re: [Qgis-user] Problems with Qgis Server 2.12

2015-11-18 Thread Burghardt.Scholle
Sorry - I've overlooked an error in my apache config. Now everything works fine 
and the error message in the Apache log no longer appears.

Burghardt

Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von 
burghardt.scho...@stadt.wolfsburg.de
Gesendet: Mittwoch, 18. November 2015 09:58
An: qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Problems with Qgis Server 2.12

Hi Henrik,

could you please explain how and where you have set the variable 
QGIS_AUTH_DB_DIR_PATH? I have set the variable in both the "/etc/environment" 
(for QGIS Desktop) as well as in my vhost file 'FcgidInitialEnv 
QGIS_AUTH_DB_DIR_PATH "/usr/local/share/qgis" '. QGIS Desktop creates the 
'qgis-auth.db' at the first start. But I still get the Apache message "ERROR: 
Auth db directory path could not be created". The directory and the db-file are 
*writeable* by Server's FCGI process user. What am I doing wrong?

Best regards
Burghardt



Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Henrik 
Uggla
Gesendet: Mittwoch, 28. Oktober 2015 14:38
An: Larry Shaffer
Cc: qgis-user
Betreff: Re: [Qgis-user] Problems with Qgis Server 2.12


I tried to set QGIS_AUTH_DB_DIR_PATH and the error message in the Apache log 
disappeared. I still got the "WMS configuration error" message though. It 
turned out to be the map parameter. In 2.8 you did not have to give the map 
parameter when there were only one .qgs-file was present. In 2.12 it is 
obviously mandatory. Thanks for your input!



/Henrik




Från: la...@shafferinteractive.com 
> för Larry 
Shaffer >
Skickat: den 27 oktober 2015 19:22
Till: Henrik Uggla
Kopia: Andreas Neumann; qgis-user
Ämne: Re: [Qgis-user] Problems with Qgis Server 2.12

Hi Henrik,

This is due to the new authentication system in 2.12 [0], and the support I 
added to Server. When running Server, projects loaded that contain an 
authentication configuration (instead of clear text username/password) for 
accessing a secured resource, e.g. WMS using Basic Auth and HTTPS, need to be 
able to access the new 'qgis-auth.db'.

The auth configurations are encrypted using a master password and stored in the 
qgis-auth.db, which by default is located at ~/.qgis2/qgis-auth.db for a 
desktop QGIS user. To enable Server support, I added two environment variables 
to overcome the problems associated with automatically loading projects [1], 
which are not yet fully documented:

* QGIS_AUTH_DB_DIR_PATH - Directory where an existing qgis-auth.db is located 
or created if not present. This directory needs to be *writeable* by Server's 
FCGI process user (which may differ from Apache's).

* QGIS_AUTH_PASSWORD_FILE - File path to file with master password as first 
line. This is similar to password files used by database servers. The env 
variable is read during QGIS startup, then removed from the env variables 
space, so it is not available later on to the FCGI process or any Server 
plugins. Since all auth configurations are encrypted, a master password is 
required to access the qgis-auth.db, if a loaded project uses auth configs 
stored in the qgis-auth.db.

What you have found is possibly a bug: the QGIS_AUTH_DB_DIR_PATH is now 
required to start Server, even if no loaded project make use of the new auth 
system. This is not really a bug if one considers the auth system setup 
mandatory from 2.12+, like it is on Desktop. At the minimum, a 
missing/non-writeable qgis-auth.db directory should throw a warning and not an 
error, allowing Server to launch.

Please try setting QGIS_AUTH_DB_DIR_PATH to a directory writeable by the 
Server's FCGI process user and see if Server starts normally. Then check that 
qgis-auth.db is created in the directory.

Here is how to set the env variables for the FCGI process in Apache [2,3]. 
Note, setting them at the Apache process level will not work.


[0] 
https://github.com/dakcarto/QGIS-Enhancement-Proposals/blob/auth-system/qep-14-authentication-system.rst
[1] https://github.com/qgis/QGIS/blob/master/src/server/qgsserver.cpp#L359-L362
[2] https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidinitialenv
[3] http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html  (-initial-env 
options)

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

QGIS Support/Development | Boundless

On Tue, Oct 27, 2015 at 4:43 AM, Henrik Uggla 
> wrote:
It seems to be caused by some file somewhere having wrong permissions. This 
error is from my Apache log:
ERROR: Auth db directory path could not be created

Googling the phrase I found this:
http://qgis.org/api/qgsauthmanager_8cpp_source.html

Where is this db directory path supposed to be created?

Henrik


Re: [Qgis-user] GRASS7 Plugin for QGIS 2.12 on Ubuntu

2015-11-18 Thread Micha Silver

  
  


On 11/18/2015 09:56 AM, Jürgen E.
  Fischer wrote:


  Hi Micha,

On Wed, 18. Nov 2015 at 09:08:50 +0200, Micha Silver wrote:

  
   I'd also like to know how to get the GRASS plugin installed. Using the
   ubuntugis-unstable repo on Mint 17.

  
  
That depends on which distribution Mint 17 uses and if GRASS7 is available for
it.  In our ubuntugis repository there is a build for precise based on GRASS6
and for trusty based on GRASS7.

Mint 17 uses the trusty base. So I get qgis 2.12 and GRASS 7.0.1
installed from ubuntugis-unstable. Also qgis-plugin-grass. But no
GRASS plugin in the Plugins Manager. 
?


  


  
   And same question on OSGeo4W ...

  
  
OSGeo4W 32bit has GRASS 6 and 7, while OSGeo4W has only GRASS 6.  So the GRASS7
plugin is currently only available on 32bit.



OK, thanks


  
Jürgen


  
  
  
  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
This mail was received via Mail-SeCure System.



  

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

[Qgis-user] 2.12.0-Lyon - Error on updating Processing

2015-11-18 Thread Alessio Degioannini

Hi,
attached the error report in object.
Thanks in advance.
Alessio

Impossibile caricare il plugin 'processing' 

ImportError: cannot import name spatialite_utils 
Traceback (most recent call last):
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 281, in loadPlugin
__import__(packageName)
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Alessio/.qgis2/python/plugins\processing\__init__.py", line 
29, in 
from processing.tools.general import *
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Alessio/.qgis2/python/plugins\processing\tools\general.py", 
line 28, in 
from processing.core.Processing import Processing
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", 
line 40, in 
from processing.core.GeoAlgorithm import GeoAlgorithm
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", line 
41, in 
from processing.core.parameters import ParameterRaster, ParameterVector, 
ParameterMultipleInput, ParameterTable, Parameter
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\parameters.py", 
line 33, in 
from processing.tools.vector import resolveFieldIndex, features
  File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 572, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Alessio/.qgis2/python/plugins\processing\tools\vector.py", 
line 20, in 
from processing.algs.qgis import spatialite_utils
ImportError: cannot import name spatialite_utils


Versione Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit 
(AMD64)] 
Versione di QGIS: 2.12.0-Lyon Lyon, cd9d645 

Path di Python:
C:/OSGEO4~1/apps/qgis/./python/plugins\processing
C:/OSGEO4~1/apps/qgis/./python
C:/Users/Alessio/.qgis2/python
C:/Users/Alessio/.qgis2/python/plugins
C:/OSGEO4~1/apps/qgis/./python/plugins
C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg
c:\osgeo4~1\apps\python27\lib\site-packages\python_dateutil-2.1-py2.7.egg
c:\osgeo4~1\apps\python27\lib\site-packages\six-1.3.0-py2.7.egg
C:\OSGEO4~1\bin\python27.zip
C:\OSGEO4~1\apps\Python27\DLLs
C:\OSGEO4~1\apps\Python27\lib
C:\OSGEO4~1\apps\Python27\lib\plat-win
C:\OSGEO4~1\apps\Python27\lib\lib-tk
C:\OSGEO4~1\bin
C:\OSGEO4~1\apps\Python27
C:\OSGEO4~1\apps\Python27\lib\site-packages
C:\OSGEO4~1\apps\Python27\lib\site-packages\PIL
C:\OSGEO4~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\win32
C:\OSGEO4~1\apps\Python27\lib\site-packages\win32\lib
C:\OSGEO4~1\apps\Python27\lib\site-packages\Pythonwin
C:\OSGEO4~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\OSGEO4~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
C:\OSGEO4~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/Alessio/.qgis2//python
C:\OSGEO4~1\apps\qgis\python\plugins\fTools\tools
D:/myfolder
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Using homebrew to install QGIS on El Capitan

2015-11-18 Thread Jonas Pedersen
Has anyone tried to install QGIS using Homebrew?

I want to take advantage of the relative easy interplay between installed 
components/software when using Homebrew on the Mac, especially with database 
extensions and OSM2xxx utilities.

I have successfully installed QGIS using Homebrew but only when installing 
without any optional extras like grass7, orfeo, R, Saga GIS. I want to install 
with all these options because QGIS with an almost empty Processing toolbox is 
useless.

So my question is, Does anybody now of a solution or if there is any 
development on the issue (If not, I might have to look to KyngChaos 
distribution in the short run and Ubuntu in the long run). The official 
repository OSGeo/homebrew-osgeo4mac 
 seems to a little deserted for 
the last couple of months.

Below is the error I get when installing with 'brew install qgis-28 
--with-grass7 --with-orfeo --with-r --with-saga-gis':

==> Downloading http://grass.osgeo.org/grass70/source/grass-7.0.1.tar.gz
 100.0%
==> Patching
patching file include/Make/Install.make
Hunk #1 succeeded at 116 (offset 2 lines).
==> ./configure --prefix=/usr/local/Cellar/grass-70/7.0.1 --enable-shared 
--with-cxx --with-python --with-blas --with-lapack --with-sqlite --with-odbc --
==> make GDAL_DYNAMIC=
Last 15 lines from /Users/jonaspedersen/Library/Logs/Homebrew/grass-70/02.make:
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/psmap
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/rlisetup
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/dbmgr
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/vdigit
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/iclass
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/gcp
/private/tmp/grass-7020151117-16810-13bmxin/grass-7.0.1/gui/wxpython/timeline
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they
appear in the error log. If you get an error building a library, you will
also get errors from anything which uses the library.
--
Finished compilation: Tue Nov 17 23:08:09 CET 2015
make: *** [default] Error 1

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

[Qgis-user] CentOS 6.7 PDOK plugin

2015-11-18 Thread scorpio2213 .
Dear users,

For an Dutch internship project Qgis PDOK server I must install the PDOK
plugin.
But when I go to --> plugins --> Fetch Python Plugins and search PDOK, I
see PDOK 0.9 and when I click install I get the following error: Plugin is
broken. Cannot import name Qtwebkit.

My Qgis applications:
Qgis desktop and server version 1.8.0-16

OS:
CentOS 6.7

How can I resolve this issue?

With kind regards from,

Ben van den Bos
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Issue with temporal query in a symbology rule

2015-11-18 Thread Neumann, Andreas
 

Hi Jürgen, 

I can follow your examples - they work fine. 

My conclusion is that the expressions are fine - but there is an issue
if the attribute data that comes from Postgis with a data type
"timestamp without time zone". Maybe these attribute columns from
Postgis aren't correctly evaluated as a DateTime data type? 

-- 

I'll send you some sample data privately. 

Thanks, 

Andreas 

On 2015-11-17 21:29, Jürgen E. Fischer wrote: 

> Hi Andreas,
> 
> On Tue, 17. Nov 2015 at 19:24:20 +0100, Neumann, Andreas wrote: 
> 
>> I know that it works well on PostgreSQL - but I am talking about
>> symbology rules in QGIS. Can I use Postgis syntax in QGIS rules? The
>> QGIS query builder doesn't list "BETWEEN" as an operator.
> 
> Oh, I completely missed that you were talking about an expression. Sorry.
> 
> But I cannot reproduce the problem with an expression either:
> 
> to_datetime('2015-11-17T21:24:18') <= to_datetime('2015-11-17T21:24:18') AND 
> to_datetime('2015-11-17T21:24:18') >= to_datetime('2015-11-17T21:24:18')
> 
> produces 1 too.
> 
> Jürgen 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

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

Re: [Qgis-user] Problems with Qgis Server 2.12

2015-11-18 Thread Burghardt.Scholle
Hi Henrik,

could you please explain how and where you have set the variable 
QGIS_AUTH_DB_DIR_PATH? I have set the variable in both the "/etc/environment" 
(for QGIS Desktop) as well as in my vhost file 'FcgidInitialEnv 
QGIS_AUTH_DB_DIR_PATH "/usr/local/share/qgis" '. QGIS Desktop creates the 
'qgis-auth.db' at the first start. But I still get the Apache message "ERROR: 
Auth db directory path could not be created". The directory and the db-file are 
*writeable* by Server's FCGI process user. What am I doing wrong?

Best regards
Burghardt



Von: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Henrik 
Uggla
Gesendet: Mittwoch, 28. Oktober 2015 14:38
An: Larry Shaffer
Cc: qgis-user
Betreff: Re: [Qgis-user] Problems with Qgis Server 2.12


I tried to set QGIS_AUTH_DB_DIR_PATH and the error message in the Apache log 
disappeared. I still got the "WMS configuration error" message though. It 
turned out to be the map parameter. In 2.8 you did not have to give the map 
parameter when there were only one .qgs-file was present. In 2.12 it is 
obviously mandatory. Thanks for your input!



/Henrik




Från: la...@shafferinteractive.com 
> för Larry 
Shaffer >
Skickat: den 27 oktober 2015 19:22
Till: Henrik Uggla
Kopia: Andreas Neumann; qgis-user
Ämne: Re: [Qgis-user] Problems with Qgis Server 2.12

Hi Henrik,

This is due to the new authentication system in 2.12 [0], and the support I 
added to Server. When running Server, projects loaded that contain an 
authentication configuration (instead of clear text username/password) for 
accessing a secured resource, e.g. WMS using Basic Auth and HTTPS, need to be 
able to access the new 'qgis-auth.db'.

The auth configurations are encrypted using a master password and stored in the 
qgis-auth.db, which by default is located at ~/.qgis2/qgis-auth.db for a 
desktop QGIS user. To enable Server support, I added two environment variables 
to overcome the problems associated with automatically loading projects [1], 
which are not yet fully documented:

* QGIS_AUTH_DB_DIR_PATH - Directory where an existing qgis-auth.db is located 
or created if not present. This directory needs to be *writeable* by Server's 
FCGI process user (which may differ from Apache's).

* QGIS_AUTH_PASSWORD_FILE - File path to file with master password as first 
line. This is similar to password files used by database servers. The env 
variable is read during QGIS startup, then removed from the env variables 
space, so it is not available later on to the FCGI process or any Server 
plugins. Since all auth configurations are encrypted, a master password is 
required to access the qgis-auth.db, if a loaded project uses auth configs 
stored in the qgis-auth.db.

What you have found is possibly a bug: the QGIS_AUTH_DB_DIR_PATH is now 
required to start Server, even if no loaded project make use of the new auth 
system. This is not really a bug if one considers the auth system setup 
mandatory from 2.12+, like it is on Desktop. At the minimum, a 
missing/non-writeable qgis-auth.db directory should throw a warning and not an 
error, allowing Server to launch.

Please try setting QGIS_AUTH_DB_DIR_PATH to a directory writeable by the 
Server's FCGI process user and see if Server starts normally. Then check that 
qgis-auth.db is created in the directory.

Here is how to set the env variables for the FCGI process in Apache [2,3]. 
Note, setting them at the Apache process level will not work.


[0] 
https://github.com/dakcarto/QGIS-Enhancement-Proposals/blob/auth-system/qep-14-authentication-system.rst
[1] https://github.com/qgis/QGIS/blob/master/src/server/qgsserver.cpp#L359-L362
[2] https://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html#fcgidinitialenv
[3] http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html  (-initial-env 
options)

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

QGIS Support/Development | Boundless

On Tue, Oct 27, 2015 at 4:43 AM, Henrik Uggla 
> wrote:
It seems to be caused by some file somewhere having wrong permissions. This 
error is from my Apache log:
ERROR: Auth db directory path could not be created

Googling the phrase I found this:
http://qgis.org/api/qgsauthmanager_8cpp_source.html

Where is this db directory path supposed to be created?

Henrik


Från: Qgis-user 
> 
för Andreas Neumann >
Skickat: den 27 oktober 2015 05:37
Till: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] Problems with Qgis Server 2.12

Hi Henrik,

Any errors in the Apache log files? Or QGIS 

[Qgis-user] geopunt plugin fails in qgis 2.12

2015-11-18 Thread Reginald Carlier
Hi,

When I open the geopunt plugin and search for a layer I get following error:

Er is een fout opgetreden bij het uitvoeren van Python code:
metaError: '[Errno 10054] De externe host heeft een verbinding verbroken'
Traceback (most recent call last):
  File "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4qgis.py", 
line 285, in rundatacatalog
self.datacatalogusDlg.show()
  File 
"C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4QgisDataCatalog.py",
 line 131, in show
self.ui.GDIThemaCbx.addItems( ['']+ self.md.list_GDI_theme() )
  File "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\metadata.py", 
line 129, in list_GDI_theme
raise metaError( str( e.reason ))
metaError: '[Errno 10054] De externe host heeft een verbinding verbroken'

Python versie: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit 
(AMD64)]
QGIS versie: 2.12.0-Lyon Lyon, cd9d645
Python pad:
*  
C:/Users/reginaldc/.qgis2/python/plugins\processinglwgeomprovider
*  C:/Users/reginaldc/.qgis2/python/plugins\processing
*  C:/OSGEO4~1/apps/qgis/./python
*  C:/Users/reginaldc/.qgis2/python
*  C:/Users/reginaldc/.qgis2/python/plugins
*  C:/OSGEO4~1/apps/qgis/./python/plugins
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg
*  
c:\osgeo4~1\apps\python27\lib\site-packages\python_dateutil-2.1-py2.7.egg
*  
c:\osgeo4~1\apps\python27\lib\site-packages\six-1.3.0-py2.7.egg
*  C:\OSGEO4~1\bin\python27.zip
*  C:\OSGEO4~1\apps\Python27\DLLs
*  C:\OSGEO4~1\apps\Python27\lib
*  C:\OSGEO4~1\apps\Python27\lib\plat-win
*  C:\OSGEO4~1\apps\Python27\lib\lib-tk
*  C:\OSGEO4~1\bin
*  C:\OSGEO4~1\apps\Python27
*  C:\OSGEO4~1\apps\Python27\lib\site-packages
*  C:\OSGEO4~1\apps\Python27\lib\site-packages\PIL
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg
*  C:\OSGEO4~1\apps\Python27\lib\site-packages\win32
*  C:\OSGEO4~1\apps\Python27\lib\site-packages\win32\lib
*  C:\OSGEO4~1\apps\Python27\lib\site-packages\Pythonwin
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
*  
C:\OSGEO4~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
*  C:/Users/reginaldc/.qgis2//python
*  
C:\Users\reginaldc\.qgis2\python\plugins\geopunt4Qgis\ext-libs
*  C:\Users\reginaldc\.qgis2\python\plugins\mmqgis/forms
*  .
*  C:\OSGEO4~1\apps\qgis\python\plugins\fTools\tools
C:/Users/reginaldc/.qgis2/project_templates


This also happens on a similar installation from a colleague.

Greetings,

Reginald Carlier
Deskundige GIS

[http://www.ingelmunster.be/ingelmunster.gif]

Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster
T +32 51 33 74 39 www.ingelmunster.be

Je kan hier onze disclaimer 
raadplegen
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] geopunt plugin fails in qgis 2.12

2015-11-18 Thread Alexandre Neto
Hello,

Since this is plugin, you have better chances of getting this solved by
directly contacting the plugin's autor, Kay Warrie, by email
(kay[at]kgis[dot]be),

 or report the issue at the plugin issue tracker page:

https://github.com/warrieka/geopunt4Qgis/issues

Best regards,

Alexandre Neto
https://gisunchained.wordpress.com


Reginald Carlier  escreveu no dia qua,
18/11/2015 às 09:46:

> Hi,
>
>
>
> When I open the geopunt plugin and search for a layer I get following
> error:
>
>
>
> *Er is een fout opgetreden bij het uitvoeren van Python code:*
>
> *metaError: '[Errno 10054] De externe host heeft een verbinding verbroken'
> *
>
> Traceback (most recent call last):
>   File
> "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4qgis.py",
> line 285, in rundatacatalog
> self.datacatalogusDlg.show()
>   File
> "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\geopunt4QgisDataCatalog.py",
> line 131, in show
> self.ui.GDIThemaCbx.addItems( ['']+ self.md.list_GDI_theme() )
>   File
> "C:/Users/reginaldc/.qgis2/python/plugins\geopunt4Qgis\metadata.py", line
> 129, in list_GDI_theme
> raise metaError( str( e.reason ))
> metaError: '[Errno 10054] De externe host heeft een verbinding verbroken'
>
>
> *Python versie:* 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64
> bit (AMD64)]
> *QGIS versie:* 2.12.0-Lyon Lyon, cd9d645
>
> *Python pad:*
>
> ·
> C:/Users/reginaldc/.qgis2/python/plugins\processinglwgeomprovider
>
> ·  C:/Users/reginaldc/.qgis2/python/plugins\processing
>
> ·  C:/OSGEO4~1/apps/qgis/./python
>
> ·  C:/Users/reginaldc/.qgis2/python
>
> ·  C:/Users/reginaldc/.qgis2/python/plugins
>
> ·  C:/OSGEO4~1/apps/qgis/./python/plugins
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg
>
> ·
> c:\osgeo4~1\apps\python27\lib\site-packages\python_dateutil-2.1-py2.7.egg
>
> ·
> c:\osgeo4~1\apps\python27\lib\site-packages\six-1.3.0-py2.7.egg
>
> ·  C:\OSGEO4~1\bin\python27.zip
>
> ·  C:\OSGEO4~1\apps\Python27\DLLs
>
> ·  C:\OSGEO4~1\apps\Python27\lib
>
> ·  C:\OSGEO4~1\apps\Python27\lib\plat-win
>
> ·  C:\OSGEO4~1\apps\Python27\lib\lib-tk
>
> ·  C:\OSGEO4~1\bin
>
> ·  C:\OSGEO4~1\apps\Python27
>
> ·  C:\OSGEO4~1\apps\Python27\lib\site-packages
>
> ·  C:\OSGEO4~1\apps\Python27\lib\site-packages\PIL
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg
>
> ·  C:\OSGEO4~1\apps\Python27\lib\site-packages\win32
>
> ·  C:\OSGEO4~1\apps\Python27\lib\site-packages\win32\lib
>
> ·  C:\OSGEO4~1\apps\Python27\lib\site-packages\Pythonwin
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
>
> ·
> C:\OSGEO4~1\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
>
> ·  C:/Users/reginaldc/.qgis2//python
>
> ·
> C:\Users\reginaldc\.qgis2\python\plugins\geopunt4Qgis\ext-libs
>
> ·  C:\Users\reginaldc\.qgis2\python\plugins\mmqgis/forms
>
> ·  .
>
> ·  C:\OSGEO4~1\apps\qgis\python\plugins\fTools\tools
>
> C:/Users/reginaldc/.qgis2/project_templates
>
>
>
>
>
> This also happens on a similar installation from a colleague.
>
>
>
> Greetings,
>
> Reginald Carlier
> Deskundige GIS
>
> [image: logo Ingelmunster]
>
>
> Gemeente Ingelmunster, Oostrozebekestraat 4, 8770 Ingelmunster
> T +32 51 33 74 39 www.ingelmunster.be
>
> Je kan hier  onze
> disclaimer raadplegen
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GRASS7 Plugin for QGIS 2.12 on Ubuntu

2015-11-18 Thread Radim Blazek
On Wed, Nov 18, 2015 at 1:51 PM, Micha Silver  wrote:
>I'd also like to know how to get the GRASS plugin installed. Using the
>ubuntugis-unstable repo on Mint 17.
>
> That depends on which distribution Mint 17 uses and if GRASS7 is available
> for
> it.  In our ubuntugis repository there is a build for precise based on
> GRASS6
> and for trusty based on GRASS7.
>
> Mint 17 uses the trusty base. So I get qgis 2.12 and GRASS 7.0.1 installed
> from ubuntugis-unstable. Also qgis-plugin-grass. But no GRASS plugin in the
> Plugins Manager.
> ?

Can you look into "Log Messages Panel > Plugins" if there is an error like
"Failed to load .../lib/qgis/plugins/libgrassplugin7.so (Reason:
Cannot load library .../lib/qgis/plugins/libgrassplugin7.so:
(libgrass_gis.so: cannot open shared object file: No such file or
directory))

in such case there is probably missing path to GRASS libs in
LD_LIBRARY_PATH, or maybe it is set to different version of GRASS. Try
to set LD_LIBRARY_PATH manually. GRASS libs must be in path to get
provider/plugin loaded like it was in previous versions, this was not
changed with plugin upgrade.

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

[Qgis-user] SRTM-plug-in?

2015-11-18 Thread Bernd Vogelgesang

Hi,
there once was a plug-in in the repository, that downloaded SRTM-DEM data  
for your canvas area.
This was a quite convenient function. The "normal" way to find the  
websites, browse through clunky dialogs etc. and then download sth which  
then maybe has to be stitched together to be usable is not so nice.


Does anyone has an idea where this plug-in came from and where it went to?  
Were there some legal issues, or hasn't it just been updated and got  
deprecated?


I would really like to see such a function come back into QGIS, especially  
in combination with the QGIS2threejs-plug-in, it would give the  
opportunity to create quick 3D-visualizations of your area.


Cheers
Bernd
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] GRASS7 Plugin for QGIS 2.12 on Ubuntu

2015-11-18 Thread Micha Silver

  
  

On 11/18/2015 03:46 PM, Radim Blazek
  wrote:


  On Wed, Nov 18, 2015 at 1:51 PM, Micha Silver  wrote:

  
   I'd also like to know how to get the GRASS plugin installed. Using the
   ubuntugis-unstable repo on Mint 17.

That depends on which distribution Mint 17 uses and if GRASS7 is available
for
it.  In our ubuntugis repository there is a build for precise based on
GRASS6
and for trusty based on GRASS7.

Mint 17 uses the trusty base. So I get qgis 2.12 and GRASS 7.0.1 installed
from ubuntugis-unstable. Also qgis-plugin-grass. But no GRASS plugin in the
Plugins Manager.
?

  
  
Can you look into "Log Messages Panel > Plugins" if there is an error like
"Failed to load .../lib/qgis/plugins/libgrassplugin7.so (Reason:
Cannot load library .../lib/qgis/plugins/libgrassplugin7.so:
(libgrass_gis.so: cannot open shared object file: No such file or
directory))



Ah ha, here it is:


2015-11-18T15:31:27	1	Failed to load /usr/lib/qgis/plugins/libgrassplugin6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassplugin6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))


2015-11-18T15:31:27	1	Failed to load /usr/lib/qgis/plugins/libgrassprovider6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassprovider6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))


2015-11-18T15:31:27	1	Failed to load /usr/lib/qgis/plugins/libgrassrasterprovider6.so (Reason: Cannot load library /usr/lib/qgis/plugins/libgrassrasterprovider6.so: (libgrass_gis.so: cannot open shared object file: No such file or directory))


No libgrassplugin7.so. Instead I have :
micha@work-vm ~ $ locate libgrassplugin
/usr/lib/qgis/plugins/libgrassplugin6.so


And  libgrass_gis.so  is located in:
micha@work-vm ~ $ ll /usr/lib/grass70/lib/libgrass_gis*
-rw-r--r-- 1 root root 240736 Aug  7 01:00 /usr/lib/grass70/lib/libgrass_gis.7.0.1.so
lrwxrwxrwx 1 root root 21 Aug  7 00:59 /usr/lib/grass70/lib/libgrass_gis.so -> libgrass_gis.7.0.1.so





Do I need a different qgis-plugin-grass with libgrassplugin7.so
??

Thanks,
Micha


  
in such case there is probably missing path to GRASS libs in
LD_LIBRARY_PATH, or maybe it is set to different version of GRASS. Try
to set LD_LIBRARY_PATH manually. GRASS libs must be in path to get
provider/plugin loaded like it was in previous versions, this was not
changed with plugin upgrade.

Radim

This mail was received via Mail-SeCure System.





  

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

[Qgis-user] TimeManager question

2015-11-18 Thread Neumann, Andreas
 

Hi, 

I have a project where I display events: 

* past events that are less than a week ago are displayed in light
purple 

* current events are displayed in red 

* upcoming events within the next two weeks are displayed in orange 

I use now() within my rules. 

 

Now my time-manger question: 

I thought I could simulate a view of the "past" or "future" with the
TimeManager plugin. But this doesn't work, because now() is still now()
is not replaced by animation_datetime() - which would serve my purpose. 

Is there a way to find out when time manager is active and when not -
and then I could build two different rules: 

- one normal rule with now() - only used when time manager is not active


- one rule with animation_datetime() - only used when time manager is
active 

Thanks, 

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

Re: [Qgis-user] Load ESRI Personal Geodatabase in QGIS 2.8.1

2015-11-18 Thread Ulrike Assmann
Hi Mats,
thank you for your warning... I think also it's a risk.
Regards
Ulrike


Am 18 Nov 2015 um 9:20 hat Mats Elfström geschrieben:

Hi!
I too have wasted time on this problem and the suggested remedies all but 
ruined my Office 
installation. The thing is I have an Office 32bit on a 64bit machine and wanted 
QGIS 64bit. By 
some tweak I managed to install both 32bit and 64bit mdb drivers, which then 
made the 
Office installation instable and updates failed.
Why can't the required libraries for QGIS mdb access be included in the 
installer, instead of 
having to rely on Microsoft settings?

Anyway, I have ditched the mdb format for now. It did not serve the purpose of 
a neutral 
geodatabase format in a mixed environment.

Another thing worth noting is that the Personal Geodatabase is an ESRI only, 
Windows only 
format and ArcGIS Server dropped support for it some three years ago. It is 
likely that 
ArcGIS Desktop will abandon it too. ArcGIS Pro already has. It is also severly 
limited in terms 
of performance and storage space.
So on the whole, it may be a good move to migrate your data into a less system 
dependent 
format such as PostGIS.

Regards, Mats.E


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

Re: [Qgis-user] CentOS 6.7 PDOK plugin

2015-11-18 Thread Richard Duivenvoorde

Hi Ben,

1.8... that is an old QGIS. But indeed the only one available for CentOS
6.7 apparenlty.

Would be great to upgrade to a newer CentOS, then you can either install
the latest version of QGIS, or compile yourself for example using this
blogpost [0]

QtWebkit is used in the GUI of the plugin. It is possible that it is not
available on CentOS 6.7

IF really needed I can maybe create a plugin for you without it. Another
option would be to just take the url's of the services and add these to
your wms/wfs providers..

Maybe try to call me (for phone see site below).

Regards,

Richard Duivenvoorde

[0]
http://zuidt.nl/blog/html/2015/10/12/build_qgis_master_with_oracle_provider_yourself_on_centos7.html



On 18-11-15 13:22, scorpio2213 . wrote:
> Dear users,
> 
> For an Dutch internship project Qgis PDOK server I must install the PDOK
> plugin.
> But when I go to --> plugins --> Fetch Python Plugins and search PDOK, I
> see PDOK 0.9 and when I click install I get the following error: Plugin
> is broken. Cannot import name Qtwebkit.
> 
> My Qgis applications:
> Qgis desktop and server version 1.8.0-16
> 
> OS:
> CentOS 6.7
> 
> How can I resolve this issue?
> 
> With kind regards from,
> 
> Ben van den Bos
> 
> 
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> 

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

[Qgis-user] reading and saving styles from qgis in postgres

2015-11-18 Thread Holger Naumann

Hi,
I organized my postgis database using schema. All users can read all 
data but they can only edit there own tables. If one user save his style 
into the postgres database, its creates the layer_style file in his own 
schema. It is not possible for other users of this database to load this 
style, if they want to view the data of this user.


QGIS uses this sql query:

SELECT styleQML FROM layer_styles WHERE 
f_table_catalog='regionalplanung' AND f_table_schema='rpg_abw' AND 
f_table_name='punkt_darstellung_l2' AND f_geometry_column='the_geom'


But this query fails, because the layer_styles table is located in 
schema 'rpg_abw', the "home" directory of this user.
It is possible, to change the query to SELECT styleQML FROM 
schema.layer_styles WHERE?


I use QGIS 2.12.


greetings, Holger
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Jürgen E . Fischer
On Wed, 18. Nov 2015 at 23:26:25 +, Blumentrath, Stefan wrote:
> Thanks for the instruction. Here is my backtrace:
> 
> pdb ./output/bin/qgis

gdb not pdb.

> From: Matthias Kuhn [mailto:matth...@opengis.ch]
> 
> cd build
> gdb ./output/bin/qgis
> run
> ... wait for the crash
> bt
> ... copy paste


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Blumentrath, Stefan
Hi again,

Thanks for the instruction. Here is my backtrace:

pdb ./output/bin/qgis
Traceback (most recent call last):
  File "/usr/lib/python2.7/pdb.py", line 1314, in main
pdb._runscript(mainpyfile)
  File "/usr/lib/python2.7/pdb.py", line 1233, in _runscript
self.run(statement)
  File "/usr/lib/python2.7/bdb.py", line 400, in run
exec cmd in globals, locals
  File "", line 1, in 
  File "./output/bin/qgis", line 1
ELF
^
SyntaxError: invalid syntax
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
Bt
  /usr/lib/python2.7/pdb.py(1314)main()
-> pdb._runscript(mainpyfile)
  /usr/lib/python2.7/pdb.py(1233)_runscript()
-> self.run(statement)
  /usr/lib/python2.7/bdb.py(400)run()
-> exec cmd in globals, locals
> (1)()

Hope anyone can get something out of it.

Cheers
Stefan

From: Matthias Kuhn [mailto:matth...@opengis.ch]
Sent: 18. november 2015 21:15
To: Blumentrath, Stefan ; qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS Segmentation fault

Yes, compile with CMAKE_BUILD_TYPE=Debug
then run it in gdb, I normally do from the build directory

cd build
gdb ./output/bin/qgis
run
... wait for the crash
bt
... copy paste

Cheers,
Matthias
On 11/18/2015 09:08 PM, Blumentrath, Stefan wrote:
Hi,

How do I backtrace?
Do I have to build with debug functionality first?

Cheers
Stefan

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
Matthias Kuhn
Sent: 18. november 2015 21:06
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS Segmentation fault

Would any of you be able to produce a backtrace from this crash, paste it into 
the issue linked below and send a short reminder here?

Thanks
Matthias
On 11/18/2015 06:57 PM, Blumentrath, Stefan wrote:
Same here. Took the liberty to open a ticket:
https://hub.qgis.org/issues/13849

Yet, older versions of QGIS (2.10) crash equally...

Cheers
Stefan

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
samuelm...@gmail.com
Sent: 31. oktober 2015 18:36
To: Paulo van Breugel 
Cc: QGIS user email list 

Subject: Re: [Qgis-user] QGIS Segmentation fault

I confirm the same problem for  QGIS 2.12 in Arch Linux:

Warning: QCss::Parser - Failed to load file  "/style.qss"

Then closes unexpectedly.
regards,
Samuel Mesa.

2015-09-21 5:45 GMT-05:00 Paulo van Breugel 
>:
Hi, Just compiled the latest QGIS master (on Linux Ubuntu 14.04). Now, when 
opening QGIS, it opens, after which it immediately crashes, with the following 
sparse message:

Warning: loading of qgis translation failed 
[/usr/local/qgis/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss"
Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already 
tracking action "" under id 237
ERROR 4: `/initrd.img' not recognised as a supported file format.

Segmentation fault (core dumped)

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



--
---
.~.
   / v \
  //\\
 /(  )\
   ^`~'^





___

Qgis-user mailing list

Qgis-user@lists.osgeo.org

List info: http://lists.osgeo.org/mailman/listinfo/qgis-user

Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user




--

Matthias Kuhn

OPENGIS.ch - https://www.opengis.ch

Spatial * (Q)GIS * PostGIS * Open Source



--

Matthias Kuhn

OPENGIS.ch - https://www.opengis.ch

Spatial * (Q)GIS * PostGIS * Open Source
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Blumentrath, Stefan
He, he, thanks for the hint...

Running QGIS through gdb ("gdb ./output/bin/qgis") and then calling "bt" gave 
"No stack".

However, when I ran  just "./output/bin/qgis" I got:

src/app/main.cpp: 428: (main) [0ms] Starting qgis main
No protocol specified
Warning: qgis: cannot connect to X server :4
Stacktrace (piped through c++filt):
./output/bin/qgis[0x40573d]
./output/bin/qgis[0x405923]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char 
const*)+0x21)[0x7f5a2f8eabb1]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70ff9)[0x7f5a2f8eaff9]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qWarning(char const*, 
...)+0x94)[0x7f5a2f8eb244]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x23db42)[0x7f5a2ee04b42]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::construct(_XDisplay*,
 unsigned long, unsigned long)+0xc8)[0x7f5a2ed94a78]
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::QApplication(int&, 
char**, bool, int)+0x69)[0x7f5a2ed94e19]
/data/src/QGIS/qgis-2.12/output/lib/libqgis_core.so.2.12.0(QgsApplication::QgsApplication(int&,
 char**, bool, QString const&)+0x3c)[0x7f5a3094ab70]
./output/bin/qgis[0x4072ea]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f5a2e309ec5]
./output/bin/qgis[0x405179]
src/core/qgsmessagelog.cpp: 45: (logMessage) [60ms] 2015-11-19T06:56:36 Qt[1] 
qgis: cannot connect to X server :4

I am running QGIS through VNC (which X Server :4 refers to). Yet, maybe the 
issue is due to missing restart after kernel update?

Cheers,
Sefan

-Original Message-
From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Jürgen 
E. Fischer
Sent: 19. november 2015 00:52
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] QGIS Segmentation fault

On Wed, 18. Nov 2015 at 23:26:25 +, Blumentrath, Stefan wrote:
> Thanks for the instruction. Here is my backtrace:
> 
> pdb ./output/bin/qgis

gdb not pdb.

> From: Matthias Kuhn [mailto:matth...@opengis.ch]
> 
> cd build
> gdb ./output/bin/qgis
> run
> ... wait for the crash
> bt
> ... copy paste


Jürgen

-- 
Jürgen E. Fischer   norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer   D-26506 Norden http://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode 

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

Re: [Qgis-user] QGIS Segmentation fault

2015-11-18 Thread Matthias Kuhn
Did you make after cmake with buld type Debug and before running? Sorry,
I forgot to write that...

On 11/19/2015 07:05 AM, Blumentrath, Stefan wrote:
> He, he, thanks for the hint...
>
> Running QGIS through gdb ("gdb ./output/bin/qgis") and then calling "bt" gave 
> "No stack".
>
> However, when I ran  just "./output/bin/qgis" I got:
>
> src/app/main.cpp: 428: (main) [0ms] Starting qgis main
> No protocol specified
> Warning: qgis: cannot connect to X server :4
> Stacktrace (piped through c++filt):
> ./output/bin/qgis[0x40573d]
> ./output/bin/qgis[0x405923]
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char 
> const*)+0x21)[0x7f5a2f8eabb1]
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70ff9)[0x7f5a2f8eaff9]
> /usr/lib/x86_64-linux-gnu/libQtCore.so.4(qWarning(char const*, 
> ...)+0x94)[0x7f5a2f8eb244]
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x23db42)[0x7f5a2ee04b42]
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplicationPrivate::construct(_XDisplay*,
>  unsigned long, unsigned long)+0xc8)[0x7f5a2ed94a78]
> /usr/lib/x86_64-linux-gnu/libQtGui.so.4(QApplication::QApplication(int&, 
> char**, bool, int)+0x69)[0x7f5a2ed94e19]
> /data/src/QGIS/qgis-2.12/output/lib/libqgis_core.so.2.12.0(QgsApplication::QgsApplication(int&,
>  char**, bool, QString const&)+0x3c)[0x7f5a3094ab70]
> ./output/bin/qgis[0x4072ea]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f5a2e309ec5]
> ./output/bin/qgis[0x405179]
> src/core/qgsmessagelog.cpp: 45: (logMessage) [60ms] 2015-11-19T06:56:36 Qt[1] 
> qgis: cannot connect to X server :4
>
> I am running QGIS through VNC (which X Server :4 refers to). Yet, maybe the 
> issue is due to missing restart after kernel update?
>
> Cheers,
> Sefan
>
> -Original Message-
> From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of 
> Jürgen E. Fischer
> Sent: 19. november 2015 00:52
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] QGIS Segmentation fault
>
> On Wed, 18. Nov 2015 at 23:26:25 +, Blumentrath, Stefan wrote:
>> Thanks for the instruction. Here is my backtrace:
>>
>> pdb ./output/bin/qgis
> gdb not pdb.
>
>> From: Matthias Kuhn [mailto:matth...@opengis.ch]
>>
>> cd build
>> gdb ./output/bin/qgis
>> run
>> ... wait for the crash
>> bt
>> ... copy paste
>
> Jürgen
>

-- 
Matthias Kuhn
OPENGIS.ch - https://www.opengis.ch
Spatial • (Q)GIS • PostGIS • Open Source

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

[Qgis-user] Solved It! [was: Problem Displaying KML Files in QGIS 2.10.1 64-bit Windows 7]

2015-11-18 Thread Terry Morse
Failing to import the KML file directly into QGIS and have it display, I decided to try to import it into GRASS 7. This worked, and the lines and polygons were all visible. Then I had some problems saving it to a suitably projected shapefile in GRASS that I could then open in QGIS. I'm not entirely sure why.Checking the metadata, I learned that the layers are in UTM Zone 10 using the WGS84 datum. I created a new project and set the project CRS to 32610. (This step may not have been necessary.) Using GRASS tools in QGIS 2.10, I imported the kmls, then saved them as shapefiles with the CRS corresponding to the rest of the data I want to use them with (Oregon Lambert NAD 83).Thank you to Nicolas for responding and provoking me to dig deeper into the problem. I learned more about the usefulness of the GRASS tools add-in in the process.Terry*“It has been said ... that there are few situations in 
life that cannot be honourably settled, and without loss of time, either
 by suicide, a bag of gold, or by thrusting a despised antagonist over 
the edge of a precipice upon a dark night.” – Ernest Bramah, 1868-1942-Original Message-
From: Nicolas Cadieux 
Sent: Nov 9, 2015 2:14 PM
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] Problem Displaying KML Files in QGIS 2.10.1 64-bit	Windows 7


  

  
  
Hi,
Your kml files appear to be GoogleEarth web page links more then
actual vector layer files.  I can open them in Google Earth (pro
that is free now).   The bounding box is 3D and does not appear to
be usable in Qgis. The points are.  
When you click on the points in GoogleEarth, they send you to this
page:

https://www.sciencebase.gov/catalog/item/55db4088e4b0518e35470837
Hope this helps!
Nicolas


Le 2015-11-08 00:51, tmorse [via
  OSGeo.org] a écrit :


  
I'm trying to display two KML layers of
  U.S. Pacific coast littoral cells, one line and one polygon
  (https://www.sciencebase.gov/catalog/item/55ce7ca2e4b01487cbfc711a),
  in QGIS 2.10.1 without success.
  
  I am able to display the line file in Google Earth. I think I
  once succeeded in opening the polygon file in Google Earth,
  but subsequently have been unable to, so I may be mistaken. I
  can't tell whether the polygon file just takes inordinately
  long to open, or whether there is something wrong with it.
  
  I can add both files to QGIS as vector layers, but no lines or
  polygons are visible. When I open the properties dialogues for
  each, the style and labels tabs are blank. If I try to save
  the layer as a shapefile, I get the error:
  
  Export to vector file failed.
Error: creation of layer failed (OGR error:Geometry type of
`3D Geometry Collection' not supported in shapefiles.
Type can be overridden with a layer creation option
of
SHPT=POINT/ARC/POLYGON/MULTIPOINT/POINTZ/ARCZ/POLYGONZ/MULTIPOINTZ.)
  
  
  If I try to save the layer as a shape file using that layer
  creation option, it fails with the error:
  
  Export to vector file failed.
Error: creation of layer failed (OGR error:Unknown SHPT
value of
`POINT/ARC/POLYGON/MULTIPOINT/POINTZ/ARCZ/POLYGONZ/MULTIPOINTZ'
passed to Shapefile layer creation. Creation aborted.)
  
  
  Can anyone suggest how I can open these files in QGIS? I have
  successfully opened other KML files as layers in QGIS, so I
  think the problem is with these specific files, not QGIS's
  ability to handle KML files.
  
  Thank you,
  Terry Morse
  [hidden email]
  
  
  ___
  
  Qgis-user mailing list
  
  [hidden email]
  
  http://lists.osgeo.org/mailman/listinfo/qgis-user
  
  
  
  
If you reply to this email, your
  message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Problem-Displaying-KML-Files-in-QGIS-2-10-1-64-bit-Windows-7-tp5235055.html
  
  
To start a new topic under Quantum GIS - User, email
[hidden email] 
To unsubscribe from Quantum GIS - User, click
  here.
NAML 


  



	
	
	

View this message in context: Re: Problem Displaying KML Files in QGIS 2.10.1 64-bit Windows 7
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] SRTM-plug-in?

2015-11-18 Thread Thomas Götzelt
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hallo all,

anyway the "Retrieve SRTM DEM data" tool of the (very versatile)
Whitebox GAT http://www.uoguelph.ca/~hydrogeo/Whitebox/ software has
it, with options to mosaic and data hole filling, see notes to the
module with Python and Groovy script examples. Both resolutions are
supported.

Cheers

Thomas

Am 19.11.15 um 07:21 schrieb Paolo Cavallini:
> Il 18/11/2015 19:44, Alex M ha scritto:
>> On 11/18/2015 06:14 AM, Bernd Vogelgesang wrote:
>>> Hi, there once was a plug-in in the repository, that downloaded
>>> SRTM-DEM
> 
>> Did the plugin do 30m or 90m SRTM?
> 
> Hi all, agreed, it would be good to have it back. BTW, there is a
> growing number of plugins dowloading data (e.g. from NASA, from
> FAO, etc.). it would be good to have a general framework where a
> single service could be plugged in, instead of developing over and
> over very similar stuff. Any interested dev? All the best.
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJWTX+IAAoJEBQdD854XvN/ILgH/jIq1zjJMyDTpXNF992U1BcJ
MYupWI4FdgY6HMrezTMn8RVZCKM7m6oXLRv8JSP29J1OwmUgzgekdrmTtQERh8bw
KEkMGENMnlJhINlVrNYkTA9bRc7/PBWJ/3xjuJCU3LRpfR+r3XBKJujIxiuZMwaU
5hZ4VFZJqcfFCQTjTE/wSvtIei/IAhqtK8XzJlbh8MJUubfm+z3XKmzLnl2QnUCj
xbWedUurMaXQHRnn7j8vz+Gi5NmCTEMwpM+KvgEWqMSFGqNoXndQ8ofYZmJL1Ec7
bwOw9yjArBm0iVMzE3VdWAAZp/tMJPo1IIKMiQZhdjEtBJR2AZyTYb8jVo0+cI4=
=QwSl
-END PGP SIGNATURE-
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user