[Qgis-user] Icons of GRASS tool do not display

2015-11-28 Thread Patrick Giraudoux

Dear listers,

I have just installed QGIS Lyon with GRASS 6.4.4 (standalone), on 
Windows 7,  but cannot get the usual GRASS toolbar (I just have "open 
the GRASS tools" and "set de current region" icons. This makes me unable 
to display GRASS rasters or vectors into QGIS. However, in earlier 
projects where GRASS objects were already displayed in QGIS, I get them 
displayed OK as layers...


Any idea about how to proceed to get access to the commands "Add a 
raster layer from GRASS" or "Add a vector layer from GRASS"?


Best,

Patrick


___
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] Geoserver WFS update request error

2015-11-28 Thread Richard Duivenvoorde
Hi Maxx,

a very thourough bug report!

plz create an issue for it. It would even be better if you had a public
wfs while this issue is not fixed...

Looking into http://www.w3.org/TR/1999/REC-xml-names-19990114/#dt-NSDecl
to me it looks like you should use the namespace prefix in the xmlns
attributes, not the uri's. So that would make QGIS generate not 100%
valid xml? But I'm not a xml gury myself.

https://github.com/qgis/QGIS/blob/master/src/providers/wfs/qgswfsprovider.cpp#L53

is the place where you see the declaration of the namespace part of the
elements when building the xml:

https://github.com/qgis/QGIS/blob/master/src/providers/wfs/qgswfsprovider.cpp#L496

2 options:
- xml guru confirms that it is not ok to write a uri in a xmlns attribute
- if you are able to compile yourself, you could try to change #53 to
change to 'wfs' instead of the uri, and check if all requests are still
valid...

Hope this helps, others please chime in

Regards,

Richard

On 28-11-15 08:52, emmexx wrote:
> I posted the following on the geoserver mailing list but nobody replied.
> 
> I have a problem when I try to update a multilinestring geometry.
> I had the same issue in the past, I thought I had solved it but now it
> is back again. :-(
> 
> Setup: geoserver 2.7.1 and a test layer connected to a postgis table.
> Qgis 2.10.
> 
> I connect to the layer in qgis.
> I can create a new feature (line), I can update feature attributes but I
> can't update the geometry of any feature. If I add or move a node I get
> an error:
> 
> Transaction failed
> org.geoserver.wfs.WFSTransactionException: Update error:
> java.lang.String cannot be cast to com.vividsolutions.jts.geom.Geometry
> 
> I enabled geoserver debug log and the xml transaction sent from qgis is
> the following:
> 
> http://www.opengis.net/wfs;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; version="1.0.0"
> xmlns:ws1="http://.***;
> service="WFS"   xmlns:wfs="http://www.opengis.net/wfs;
> xmlns:ogc="http://www.opengis.net/ogc;
> xsi:schemaLocation="http://.***
> http://*.***:8080/geoserver/wfs?SERVICE=WFSVERSION=1.0.0REQUEST=DescribeFeatureTypeTYPENAME=ws1:testSRSNAME=EPSG:4326username=user1password=***;
> xmlns:gml="http://www.opengis.net/gml;>
>   http://www.opengis.net/wfs; typeName="ws1:test">
>  http://www.opengis.net/wfs;>
> http://www.opengis.net/wfs;>geom
> http://www.opengis.net/wfs;>
>   
>  
> 
>   8.304399974,44.2324155100271
> 8.00578959672930246,44.17149441442651892
> 8.0690913599982,44.1671947399934
> 
> 
>   
> 
>  
>  http://www.opengis.net/ogc;>
> http://www.opengis.net/ogc;
> fid="test.4"/>
>  
>   
> 
> 
> I tried to execute it in the demo requests and got the same error.
> 
> So I compared the example xml request created by the demo with the one
> created by qgis and the only relevant difference is in the xmlns used in
> any tags or declared in the transaction tag.
> 
> So I started from a working xml request (based on the one generated by
> the demo) and modified the tags from the outer tag to transform it to an
> xml similar to the qgis-generated one. First I modified the transaction
> tag followed by the Update tag and so on.
> The transactions were successful up to when I used the following xml:
> 
> http://www.opengis.net/wfs; service="WFS"
> version="1.0.0"
> xmlns:ws1="http://*.***;
> xmlns:ogc="http://www.opengis.net/ogc;
> xmlns:wfs="http://www.opengis.net/wfs;
> xmlns:gml="http://www.opengis.net/gml;
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
>   xsi:schemaLocation="http://*.***
> http://**.***:8080/geoserver/wfs?SERVICE=WFSVERSION=1.0.0REQUEST=DescribeFeatureTypeTYPENAME=ws1:testSRSNAME=EPSG:4326username=user1password=**;>
> 
>  http://www.opengis.net/wfs; typeName="ws1:test">
> http://www.opengis.net/wfs;>
>   http://www.opengis.net/wfs;>geom
>   http://www.opengis.net/wfs;>
>   srsName="http://www.opengis.net/gml/srs/epsg.xml#4326;>
> 
>   
> 
> 8.304399974,44.2324155100271
> 8.00578959672930246,44.17149441442651892
> 8.0690913599982,44.1671947399934
>   
> 
>  
>   
> 
> 
>   
> 
>  
>   
> 
> The problem seems to be in the Value tag.
> If the xml has ... it works.
> If I change it to http://www.opengis.net/wfs;>...
> I get the aforementioned error.
> 
> Any clue on what's wrong here?
> 
> I suppose the problem is in the way geoserver parses the xml transaction
> but I wonder if there could be an error in the way qgis generates the
> xml request. I'm not an expert in wfs-t and xml but my opinion is that
> both xml are syntactically correct. But the one created by qgis is not
> working.
> 
> thank you
> maxx
> 
> 

Re: [Qgis-user] Icons of GRASS tool do not display

2015-11-28 Thread Patrick Giraudoux

Le 28/11/2015 11:28, Patrick Giraudoux a écrit :

Dear listers,

I have just installed QGIS Lyon with GRASS 6.4.4 (standalone), on 
Windows 7,  but cannot get the usual GRASS toolbar (I just have "open 
the GRASS tools" and "set de current region" icons. This makes me 
unable to display GRASS rasters or vectors into QGIS. However, in 
earlier projects where GRASS objects were already displayed in QGIS, I 
get them displayed OK as layers...


Any idea about how to proceed to get access to the commands "Add a 
raster layer from GRASS" or "Add a vector layer from GRASS"?


Best,

Patrick





Sorry to respond to myself, but I have found a solution, and I thought 
it may help other users. There are no longer icons to display GRASS 
raster/vector objects in a tool bar, but the user must use the QGIS 
browser panel ("explorateur" in French) to fetch the appropriate file in 
the relevant GRASS project (see 
https://www.qgis.org/fr/site/forusers/visualchangelog212/index.html#plugins).


Must admit I prefer the straight solution of earlier versions, where a 
dialog box permitted easy access to the GRASS mapset that was opened 
from icons. Anyway, no choice in the latest version as long as I 
understand... Suppose there has been good reasons to do so and that I 
will discover them later :-)


Patrick






___
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 2.8.1 launch aborts with core dumped

2015-11-28 Thread Blumentrath, Stefan
Hi,


I am facing a similar issue with the other QGIS Versions on the same OS.


I suspect it is a kernel issue. Did you install latest Ubuntu kernel? That 
hopefully fixes the issue (I am testing at the moment...).


Cheers

Stefan


Von: Qgis-user  im Auftrag von Alexandre 
Neto 
Gesendet: Samstag, 28. November 2015 02:22
An: GFZ Hydrologie; qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] QGIS 2.8.1 launch aborts with core dumped


Try erase or rename your .qgis2 folder.

Alexandre Neto

A 15h21 Sex, 27 de Nov de 2015, GFZ Hydrologie 
> escreveu:
Dear list,

on kubuntu 14.04 LTS (running in Virtual Box on Windows 7) QGIS 2.8.1 launch 
aborts with core dumped.

So far I
purged qgis, removed all qgis plugins
re installed using repository
http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/

but without any success

on another machine with similar OS and QGIS there are no such problems.

any ideas?
cheers
kai

Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: Bus::open: Can not get ibus-daemon's address.
IBusInputContext::createInputContext: no connection to ibus-daemon
Warning: QGraphicsScene::addItem: item has already been added to this scene
Fatal: ASSERT failure in QList::operator[]: "index out of range", file 
/usr/include/qt4/QtCore/qlist.h, line 477
Stacktrace (piped through c++filt):
/usr/bin/qgis.bin[0x509ba0]
/usr/bin/qgis.bin(myMessageOutput(QtMsgType, char const*)+0x38)[0x509ca8]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qt_message_output(QtMsgType, char 
const*)+0x21)[0x7f6e8d568bb1]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(+0x70ff9)[0x7f6e8d568ff9]
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(qFatal(char const*, 
...)+0x94)[0x7f6e8d569804]
/usr/lib/libqgis_gui.so.2.8.1(QgsScaleComboBox::updateScales(QStringList 
const&)+0x127)[0x7f6e8e1ecae7]
/usr/lib/libqgis_gui.so.2.8.1(QgsScaleComboBox::QgsScaleComboBox(QWidget*)+0x54)[0x7f6e8e1ed054]
/usr/bin/qgis.bin(QgisApp::createStatusBar()+0xa30)[0x519140]
/usr/bin/qgis.bin(QgisApp::QgisApp(QSplashScreen*, bool, QWidget*, 
QFlags)+0xbb9)[0x54e9b9]
/usr/bin/qgis.bin(main+0x132b)[0x50421b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f6e8a4c5ec5]
/usr/bin/qgis.bin[0x5095e8]
Aborted (core dumped)
___
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
--
Alexandre Neto
http://gisunchained.wordpress.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

[Qgis-user] wfs server and filter parameter

2015-11-28 Thread Jachym Cepicky
Hi,
I would like to get QGIS WFS server up and running using FILTER option. I'm
working with OWSLib for the query generation, which I have tested on
various other WFS-server implementations and it always worked.

Do I see correctly, that WFS produced by QGIS supports

...







...

between and like operators?

Any hint, why this url (note the FILTER parameter)

http://localhost/cgi-bin/qgis_mapserv.fcgi?MAP=/var/www/html/tmp/natural-earth/central-europe.qgs=GeoJSON=WFS=*=GetFeature=http://www.opengis.net/ogc
">NAMEPrague=Places=1.0.0

returns no features (the response GeoJSON is formated well though)?

Thanks

Jachym
___
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] Icons of GRASS tool do not display

2015-11-28 Thread Terry Morse
I agree. The toolbar takes up the same amount of screen space whether it has 
two icons or a dozen. The GRASS tools sidebar takes additional space. This 
seems unnecessary. Unless there is some compelling reason for doing it the new 
way, I hope it will revert to the old way in the next version.

Terry Morse
tmo...@teleport.com

-Original Message-
>From: Patrick Giraudoux 
>Sent: Nov 28, 2015 8:44 AM
>To: qgis-user@lists.osgeo.org
>Subject: Re: [Qgis-user] Icons of GRASS tool do not display
>

[Deletions]

>Must admit I prefer the straight solution of earlier versions, where a 
>dialog box permitted easy access to the GRASS mapset that was opened 
>from icons. Anyway, no choice in the latest version as long as I 
>understand... Suppose there has been good reasons to do so and that I 
>will discover them later :-)

___
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