Re: [Qgis-user] Moving selected feature to the top of attribute table does not seem to work in 2.18.7

2017-05-19 Thread Hernán De Angelis
Hi,

I have now tried several times to compile code from github but I keep
getting cryptic errors, apparently not related to the issue mentioned in
this thread (see below).Anyhow, it has been pointed as solved, so I will
wait.

Just in case you are curious, the error I get is:

[ 61%] Building CXX object src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o
/usr/local/src/QGIS-release-2_18/src/app/qgisapp.cpp: In member function
‘QgsVectorLayer* QgisApp::addVectorLayer(const QString&, const QString&,
const QString&)’:
/usr/local/src/QGIS-release-2_18/src/app/qgisapp.cpp:9318:52: error:
‘QStringLiteral’ was not declared in this scope
 layer->setName( QStringLiteral( "%1 %2 %3" ).arg( layer->name(),
elements.at( 1 ), elements.at( 3 ) ) );
^
src/app/CMakeFiles/qgis_app.dir/build.make:847: recipe for target
'src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o' failed
make[2]: *** [src/app/CMakeFiles/qgis_app.dir/qgisapp.cpp.o] Error 1
CMakeFiles/Makefile2:2726: recipe for target
'src/app/CMakeFiles/qgis_app.dir/all' failed
make[1]: *** [src/app/CMakeFiles/qgis_app.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2


Regards and thanks for the help!

/H.



On Thu, May 18, 2017 at 11:00 AM, Luigi Pirelli  wrote:

> Can you try to compile from this source code branch?
> https://github.com/qgis/QGIS/tree/release-2_18
> just to be sure that the issue has completly fixed.
>
> regards
>
>
> Luigi Pirelli
>
> 
> **
> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> * https://www.packtpub.com/big-data-and-business-
> intelligence/mastering-qgis-second-edition
> 
> **
>
>
> On 18 May 2017 at 10:31, Hernán De Angelis  wrote:
> > Thank you for your fast response, Luigi.
> >
> > I understand. I can wait for the next release, no problem. As for the
> >  question, I will have a look and come back with whatever I
> find,
> > but when I found this I wasn't working on any particular project nor
> using
> > composer either.
> >
> > Cheers
> >
> > Hernán
> >
> >
> > On Thu, May 18, 2017 at 10:12 AM, Luigi Pirelli 
> wrote:
> >>
> >> fixed during the hackfest on current 2.18 code (you have to wait for
> >> 2.18.8... or update to the latest 2.18 code not the tagged release
> >> version)
> >> https://github.com/qgis/QGIS/pull/4306
> >> and 3.0
> >> https://github.com/qgis/QGIS/pull/
> >>
> >> btw there are some simple workaround to fix temporarly waiting the patch
> >> release
> >>
> >> workaround 1) in the attribute table, apply a sort on some column =>
> >> apply sortOnTop
> >> workaround 2) in your project xml file you should have a tag as:
> >> 
> >> in your case  is something different from 0 (Ascending) or
> >> 1 (Descending)... fix it and sortOnTop will be back :)
> >> btw, pelase let me knwo what value is in , because is not
> >> clear who's set it to a strange value (probably the composer)
> >>
> >> cheers
> >> Luigi Pirelli
> >>
> >>
> >> 
> **
> >> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
> >> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> >> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> >> * GitHub: https://github.com/luipir
> >> * Mastering QGIS 2nd Edition:
> >> *
> >> https://www.packtpub.com/big-data-and-business-
> intelligence/mastering-qgis-second-edition
> >>
> >> 
> **
> >>
> >>
> >> On 18 May 2017 at 10:03, Hernán De Angelis 
> wrote:
> >> > Hi
> >> >
> >> > Yesterday I compiled from source QGIS 2.18.7 in openSUSE Leap 42.2
> >> > Linux.
> >> > Everything went fine and there were no problems with the compilation.
> >> > However, when using the new installation I realized that the function
> >> > that
> >> > allows to move the attribute row of a selected feature to the top of
> the
> >> > attribute table does not seem to work. This problem was not present in
> >> > my
> >> > previously installed version (2.18.6), nor in another machine I use
> >> > (QGIS
> >> > 2.14.2, Windows 7) using the same data. I wonder if any other users
> are
> >> > experiencing this in 2.18.7, or there is just something wrong with my
> >> > particular installation.
> >> >
> >> > Regards,
> >> >
> >> > Hernán
> >> >
> >> >
> >> > ___
> >> > Qgis-user mailing list
> >> 

[Qgis-user] Clipping a QgsVectorLayer object of type LineString with a QgsVectorLayer object of type Polygon

2017-05-19 Thread Tudorache, Marian

Hi,

I have tried to run clipping processing algorithm and it fails.
First version:
srs = qgis.core.QgsCoordinateReferenceSystem(4019, qgis.core. 
QgsCoordinateReferenceSystem.EpsgCrsId)

#Input Layer
inputLayer = qgis.core.QgsVectorLayer(shapeFileLocation + 
“/inputLineString.shp”, “inputLineString”, “ogr”)
inputLayer.setCrs(srs)
Clipping Layer:
clipLayer = qgis.core.QgsVectorLayer(“Polygon?crs={0}”.format(srs.authid())
#algorithm to add a clipping polygon feature
#the algorithm works because I tested with clipLayer.getFeatures() and I was 
able to extract the geometry and points
…..
….
#calling processing algorithm.
processing.runalg(‘qgis.clip’, inputLayer, clipLayer, “output.shp”)

The error:
Unable to execute algorithm
Wrong parameter value: Polygon?crs=ESPG:4019

Any idea why is not working?

Thank you,
Marian



This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] qgis grass plugin

2017-05-19 Thread andrea pacifici
Hi everyone,

I'm using Qgis 2.14.14 on Ubuntu 16.04. Yesterday, after a normal software
update proposed by Ubuntu, the GRASS plugin disappeared from the list of
available plugins and then I can't use it anymore. I have tried to both
upgrade and downgrade Qgis and GRASS by this didn't work for me.

Other people have the same problem? it is a bug or a software
misconfiguration?

Andrea
_
Dott. Geol. Andrea Pacifici, Ph.D.
Via Altogradi n° 1,
55100 Lucca (Lu)
Tel. 0583-082026
Cell. 328-0991808
web: www.geoitt.it
e-mail: pacif...@gmail.com
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Melbourne training

2017-05-19 Thread Phil (The Geek) Wyatt
There are a few I think

 

http://mapsolutions.com.au/training/qgis.aspx 

 

There are also hundreds of videos online for most of the basic (and quite a few 
of the advanced functions) if you are so inclined

 

These folks don't look all that active but might be worth a try (at least they 
have the latest logo!)

 

https://www.facebook.com/QGIS-298112000235096/

 

Cheers - Phil

 

 

From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Matt 
Boyd
Sent: Friday, May 19, 2017 3:31 PM
To: qgis-user
Subject: [Qgis-user] Melbourne training

 

Hi QGISers,

Is anyone aware of training providers for qgis in Melbourne, Australia?

 

Thanks

Matt Boyd

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