Re: [Qgis-developer] GarminCustomMap-plugin updated for QGIS 2.0
Hi again Version 0.99 did not georeference images correctly. Should be fixed in new version (0.100) which I uploaded a couple of minutes ago. Furthermore, the new version has an improved dialog (fewer clicks). Feedback very welcome... Cheers Stefan -Original Message- From: Richard Duivenvoorde [mailto:rdmaili...@duif.net] Sent: 16. november 2013 09:20 To: Blumentrath, Stefan; qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] GarminCustomMap-plugin updated for QGIS 2.0 On 15-11-13 23:41, Blumentrath, Stefan wrote: Hi Finally, I managed to update the GarminCustomMap plugin for QGIS 2. The updated version is experimental and feedback would be very much appreciated. Cheers Stefan Hi Stefan, just approved the plugin. Can you please make some docs more visible for new users. As in the metadata.txt or so. (I finally found some when I actually started it in step 2...). It would be nice if potential users also could see what possibilities there are. And for me personally: which kind of garmins can handle this custom maps (as I have two older types lying around somewhere :-) ). This link in the info page: http://www.garminonline.de/karten/outdoor/custommaps/ is a dead link. Thanks for your work! Regards, Richard Duivenvoorde ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Atlas: labels are cut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all. When printing with Atlas, the labels for polygons outside the one in focus are often cut. Using various options (a bit hackish, not very easy to understand for the average user) the problem can be reduced, but apparently not avoided altogether. I know in master we can use conditional labelling (with an even more hacking method), but: is there a simpler solution for qgis stable? Thanks. - -- Paolo Cavallini - www.faunalia.eu QGIS PostGIS courses: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlKKHJ8ACgkQ/NedwLUzIr5EcACfXDf+Qi0MuiubOOt4sGtfJSsw yqAAnjPutoxKOl7Ra2S/ZwIHuy/YLKcS =8p54 -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas: labels are cut
Hi Paolo, Do you somehow mask the area outside the polygon ? If yes i'm really interested. If not, we are also wondering how to limit labeling only to objects within the Atlas object. A way is to use expression generator to filter labels only when the layer's object intersects Atlas current feature. We have to add some global variables as Atlas output for this. Prototypes using user functions do work, but we have to check what happens with big polygons. And that doesn't solve the labelling issue, where labels can fall outside the Atlas polygon. IMO, we should end up with a global Area of intersect variable, and we should have labeling options to tell if label must be drawn only for object part inside AOI or not.. We'll produce probabaly a prototype of what could be a good behaviour and go further with the community. Cheers Régis -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Atlas-labels-are-cut-tp5089645p5089648.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas: labels are cut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 18/11/2013 15:05, Régis Haubourg ha scritto: Hi Paolo, Do you somehow mask the area outside the polygon ? If yes i'm really interested. If not, we are also wondering how to limit labeling only to objects within In this case, it is OK to label polygons outside the current one; what is bad is to truncate labels. I assume this means Atlas generates the whole map, the moves the frame around, so lables are not placed according to the frame: is this interpretation correct? In any case, truncated labels should never occur. All the best. - -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlKKNcAACgkQ/NedwLUzIr68RwCZAfI+svLZvj4UB6hszK14u5A5 GrIAoKwvoUMe9aiw1XWRaS2cs5/y92Ez =lKy+ -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas: labels are cut
Paolo Cavallini wrote In any case, truncated labels should never occur. All the best. Agreed, and confirmed. could you open a issue so that I can refer to it? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Atlas-labels-are-cut-tp5089645p5089673.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Keep track of features in memory provider
Is there a trick how to keep track of features added to memory provider? Say that feature with id is added to a memory provider. Original id is overwritten by the memory provider. How to access the feature in the provider by original id without additional attribute or hacks like counting mNextFeatureId outside the provider. Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Atlas: labels are cut
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 18/11/2013 17:01, Régis Haubourg ha scritto: Paolo Cavallini wrote In any case, truncated labels should never occur. All the best. Agreed, and confirmed. could you open a issue so that I can refer to it? done: http://hub.qgis.org/issues/9078 thanks. - -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.15 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlKKQbgACgkQ/NedwLUzIr5O0wCgjmltn6Zj13R+Kon43X6XdFqZ RJQAoLJDdzvo0VPkwdJ162opUU0TnIDT =tNSj -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Plugin [20] Memory Layer Saver approval notification.
Plugin Memory Layer Saver approval by ccrook. The plugin version [20] Memory Layer Saver 3.0 is now unapproved Link: http://plugins.qgis.org/plugins/MemoryLayerSaver/ ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Why does Processing not provide GDAL Rasterize?
Hi, Is it possible to add support for GDAL Rasterize to Processing? I see Polygonize but not Rasterize. Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Why does Processing not provide GDAL Rasterize?
Hi, it was added to Qgis Master sometime ago. If you want to use QGIS 2.0.1 you can upgrade Processing from the plugin installer and get the code from October 29th. On Mon, Nov 18, 2013 at 5:17 PM, Anita Graser anitagra...@gmx.at wrote: Hi, Is it possible to add support for GDAL Rasterize to Processing? I see Polygonize but not Rasterize. Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Keep track of features in memory provider
As far as I know, currently the most appropriate thing is to use layer.dataProvider().addFeatures() and to skip the edit buffer. But I think that layers should broadcast information about changing feature ids. This is not a problem unique to the memory provider. Matthias On Mon 18 Nov 2013 17:25:39 CET, Radim Blazek wrote: Is there a trick how to keep track of features added to memory provider? Say that feature with id is added to a memory provider. Original id is overwritten by the memory provider. How to access the feature in the provider by original id without additional attribute or hacks like counting mNextFeatureId outside the provider. Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Keep track of features in memory provider
On Mon, Nov 18, 2013 at 6:44 PM, Matthias Kuhn matthias.k...@gmx.ch wrote: As far as I know, currently the most appropriate thing is to use layer.dataProvider().addFeatures() and to skip the edit buffer. That is what I am doing, but QgsMemoryProvider::addFeatures() overwrites original feature id. Another issue with writing directly to provider is, that attribute table is not updated. So how to programmatically change features avoiding edit buffer? Radim But I think that layers should broadcast information about changing feature ids. This is not a problem unique to the memory provider. Matthias On Mon 18 Nov 2013 17:25:39 CET, Radim Blazek wrote: Is there a trick how to keep track of features added to memory provider? Say that feature with id is added to a memory provider. Original id is overwritten by the memory provider. How to access the feature in the provider by original id without additional attribute or hacks like counting mNextFeatureId outside the provider. Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] test new android package
I'm new to android. What do I need to do to install this version of QGIS on my Samsung Galaxy Note 8? I've tried the Android QGIS Installer on the nightly builds (last one 20131118), it downloads the package but fails installation. Thanks in advance. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/test-new-android-package-tp5082924p5089722.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] docker container: unshare namespace (sysadmin talk)
I hope we have some experienced sysadmins here on the list who can bring light into the dark. The situation is I try to build rpms for fedora/centos on our shiny new server where we have docker.io set up, so we can easily create multiple containers for the different tasks the server will run. So I have created a container based on centos and installed mock (the tool fedora uses for packaging). However, running mock (inside the container) fails: ERROR: Namespace unshare failed. As far as I can tell, mock needs the unshare system call to create a new mountpoint inside the process, where it can create a virtual build environment. But calling namespace with CLONE_NEWNS fails with EPERM. The manpage states: EPERM flags specified CLONE_NEWNS but the calling process was not privileged (did not have the CAP_SYS_ADMIN capability). Trying to change this capability of the binary does not work, although we are root inside the container, so I guess this kind of capabilities gets inherited from my non-privileged user on the host itself. I assume (untested) that the following command would fix this issue: sudo lxc-docker run centos/qgis-nightly setcap cap_sys_admin+ep /usr/sbin/mock I would be very happy, if somebody with server administration and especially capabilities experience could let me know, if this is a safe thing and the right to do in order to solve this problem, because to me this is all still black magic. Regards Matthias ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Keep track of features in memory provider
On Mon 18 Nov 2013 19:36:22 CET, Radim Blazek wrote: On Mon, Nov 18, 2013 at 6:44 PM, Matthias Kuhn matthias.k...@gmx.ch wrote: As far as I know, currently the most appropriate thing is to use layer.dataProvider().addFeatures() and to skip the edit buffer. That is what I am doing, but QgsMemoryProvider::addFeatures() overwrites original feature id. It will return a (list of) new feature with the real id: status, features = l.dataProvider().addFeatures( feats ) features[0].id() Another issue with writing directly to provider is, that attribute table is not updated. So how to programmatically change features avoiding edit buffer? I think we should rather fix this issue. I would very much like QgsVectorLayer to emit a signal, when it commits the features and changes their ids. QgsVectorLayer::featureIdsChanged( QMap QgsFeatureId, QgsFeatureId ) So you could connect to this and would not be forced to directly interact with the dataprovider. Matthias Radim But I think that layers should broadcast information about changing feature ids. This is not a problem unique to the memory provider. Matthias On Mon 18 Nov 2013 17:25:39 CET, Radim Blazek wrote: Is there a trick how to keep track of features added to memory provider? Say that feature with id is added to a memory provider. Original id is overwritten by the memory provider. How to access the feature in the provider by original id without additional attribute or hacks like counting mNextFeatureId outside the provider. Radim ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Why does Processing not provide GDAL Rasterize?
Thanks Filipe! Guess the AlgorithmExecutor error kept me from trying to go through with the update. Now I can access Rasterize. Best wishes, Anita Am 18.11.2013, 18:21 Uhr, schrieb Filipe Dias filipesd...@gmail.com: Hi, it was added to Qgis Master sometime ago. If you want to use QGIS 2.0.1 you can upgrade Processing from the plugin installer and get the code from October 29th. On Mon, Nov 18, 2013 at 5:17 PM, Anita Graser anitagra...@gmx.at wrote: Hi, Is it possible to add support for GDAL Rasterize to Processing? I see Polygonize but not Rasterize. Best wishes, Anita ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] test new android package
On 11/19/2013 02:37 AM, gemniii wrote: I'm new to android. What do I need to do to install this version of QGIS on my Samsung Galaxy Note 8? I've tried the Android QGIS Installer on the nightly builds (last one 20131118), it downloads the package but fails installation. Thanks in advance. -- View this message in context: http://osgeo-org.1560.x6.nabble.com/test-new-android-package-tp5082924p5089722.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer can you give some more details? what did you do? when does it fail? ciao -- Marco Bernasocchi http://opengis.ch ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] docker container: unshare namespace (sysadmin talk)
HI On Mon, Nov 18, 2013 at 9:49 PM, Matthias Kuhn matthias.k...@gmx.ch wrote: I hope we have some experienced sysadmins here on the list who can bring light into the dark. The situation is I try to build rpms for fedora/centos on our shiny new server where we have docker.io set up, so we can easily create multiple containers for the different tasks the server will run. So I have created a container based on centos and installed mock (the tool fedora uses for packaging). However, running mock (inside the container) fails: ERROR: Namespace unshare failed. As far as I can tell, mock needs the unshare system call to create a new mountpoint inside the process, where it can create a virtual build environment. But calling namespace with CLONE_NEWNS fails with EPERM. The manpage states: EPERM flags specified CLONE_NEWNS but the calling process was not privileged (did not have the CAP_SYS_ADMIN capability). Trying to change this capability of the binary does not work, although we are root inside the container, so I guess this kind of capabilities gets inherited from my non-privileged user on the host itself. I assume (untested) that the following command would fix this issue: sudo lxc-docker run centos/qgis-nightly setcap cap_sys_admin+ep /usr/sbin/mock I would be very happy, if somebody with server administration and especially capabilities experience could let me know, if this is a safe thing and the right to do in order to solve this problem, because to me this is all still black magic. Regards Matthias I reckon since you are just bringing up your container, building your package and then bringing it down without hosting any public service from the container itself (correct?) , its probably fine. Regards Tim -- Tim Sutton - QGIS Project Steering Committee Member == Visit http://linfiniti.com to find out about: * QGIS programming services * GeoDjango web development * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net == ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Keep track of features in memory provider
On 18. 11. 13 20:58, Matthias Kuhn wrote: I think we should rather fix this issue. I would very much like QgsVectorLayer to emit a signal, when it commits the features and changes their ids. QgsVectorLayer::featureIdsChanged( QMap QgsFeatureId, QgsFeatureId ) So you could connect to this and would not be forced to directly interact with the dataprovider. Indeed, that would be really great. Many times I had to use the provider because of this! Denis ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer