Re: [QGIS-Developer] [Qgis-user] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread Denis Rouzaud
Hi Calvin, Not sure it is exactly what you need, but I would have a look at two plugins Olivier Dalang wrote some time ago https://github.com/olivierdalang/VectorBender https://github.com/olivierdalang/RasterBender He is the original author of the advanced digitizing panel as a plugin. These are

Re: [QGIS-Developer] [Qgis-user] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread Nyall Dawson
On Fri, 10 Aug 2018 at 11:11, C Hamilton wrote: > > Thanks!!! That is a good idea to use the layout panel. > > The advanced digitizing panel was the piece that I was missing. Yes the tools > in QGIS 3 are much better. This is certainly a novel task to do in QGIS. I'd love to see a write up/case

Re: [QGIS-Developer] [Qgis-user] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread C Hamilton
Thanks!!! That is a good idea to use the layout panel. The advanced digitizing panel was the piece that I was missing. Yes the tools in QGIS 3 are much better. On Thu, Aug 9, 2018 at 7:49 PM, Nyall Dawson wrote: > On Fri, 10 Aug 2018 at 08:01, Alexandre Neto > wrote: > > > > Hi, > > > > On Thu

Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Nyall Dawson
On Fri, 10 Aug 2018 at 02:31, Tejas L wrote: > > Hello! > > We are releasing multiple QGIS3 plugins, each with their own processing > algorithms. We would like the processing algorithms of these plugins to > appear under a single Processing provider in the Processing toolbox. How can > we achie

Re: [QGIS-Developer] [Qgis-user] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread Nyall Dawson
On Fri, 10 Aug 2018 at 08:01, Alexandre Neto wrote: > > Hi, > > On Thu, Aug 9, 2018, 22:27 C Hamilton wrote: >> >> >> Also is there a way a non georegistered image be imported, make it somewhat >> transparent, and then interactively drag and resize it on the map somewhat >> like Google Earth? W

Re: [QGIS-Developer] [Qgis-user] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread Alexandre Neto
Hi, On Thu, Aug 9, 2018, 22:27 C Hamilton wrote: > > Also is there a way a non georegistered image be imported, make it > somewhat transparent, and then interactively drag and resize it on the map > somewhat like Google Earth? When you don't really have anything to > reference the image to you c

[QGIS-Developer] CAD and QGIS - Working with archaeological sites

2018-08-09 Thread C Hamilton
I need to be able to trace out some old surveys of ancient Indian earthworks such as: http://scienceviews.com/squier/ancientmonuments3-19.html I would like to have them properly scaled and then somehow import them into QGIS. Because many of these sites have been destroyed we don't know precisely

Re: [QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Etienne Trimaille
I would say: At plugin load time, check if your other plugins are already loaded. If yes, don't load the processing provider, it's already loaded by the first loaded plugin. You need to use the same provider name (id). So your models won't be broken. Don't forget to update each processing algorit

Re: [QGIS-Developer] QGIS-Developer Digest, Vol 154, Issue 15

2018-08-09 Thread Алексей Головизин
Всем привет! Я сейчас в отпуске, вернусь примерно 25 августа. Интернет здесь возят на оленях, так что почту читаю редко и нерегулярно. По всем вопросам можете писать Денису Нефёдову: nefedov...@mipt.ru По вопросам разработки -- к Руслану Емельянову: rusla...@gmail.com --- С уважением, Алексей Г

[QGIS-Developer] Plugin [135] mmqgis approval notification.

2018-08-09 Thread noreply
Plugin mmqgis approval by pcav. The plugin version "[135] mmqgis 2018.8.9" is now approved Link: http://plugins.qgis.org/plugins/mmqgis/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qg

Re: [QGIS-Developer] QGIS-Developer Digest, Vol 154, Issue 14

2018-08-09 Thread Алексей Головизин
Всем привет! Я сейчас в отпуске, вернусь примерно 25 августа. Интернет здесь возят на оленях, так что почту читаю редко и нерегулярно. По всем вопросам можете писать Денису Нефёдову: nefedov...@mipt.ru По вопросам разработки -- к Руслану Емельянову: rusla...@gmail.com --- С уважением, Алексей Г

[QGIS-Developer] QGIS3: Can two different plugins have a common processing provider?

2018-08-09 Thread Tejas L
Hello! We are releasing multiple QGIS3 plugins, each with their own processing algorithms. We would like the processing algorithms of these plugins to appear under a single Processing provider in the Processing toolbox. How can we achieve this? Regards, Tej ___

Re: [QGIS-Developer] How to create a simple processing script in QGIS 3.x, eg just a buffer

2018-08-09 Thread Andrew C
Hi Anita, Thanks very much for this. I am still lost though. If I replace the sink and add your code I don't get an output in the dialog box - it needs to be a parameter for that to happen right? I found this https://gis.stackexchange.com/questions/282773/writing-a-python-processing-script-with-q

Re: [QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Alessandro Pasotti
On Thu, Aug 9, 2018 at 5:05 PM, Tom Elwertowski wrote: > The directory found by CMake > (/System/Library/Frameworks/OpenCL.framework/Headers/) > contains only .h files. > > The khronos site mentioned by Denis offers cl.hpp for v1 and cl2.hpp for > v2. qgsopenclutils.h includes cl2.hpp. > > Shoul

Re: [QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Tom Elwertowski
The directory found by CMake (/System/Library/Frameworks/OpenCL.framework/Headers/) contains only .h files. The khronos site mentioned by Denis offers cl.hpp for v1 and cl2.hpp for v2. qgsopenclutils.h includes cl2.hpp. Should I download and try cl.hpp on my mac? If it compiles, how can I t

Re: [QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Denis Rouzaud
I would just make it disable by default on mac for the moment. Le jeu. 9 août 2018 à 16:12, Denis Rouzaud a écrit : > I think the issue is that there is no header installed on mac > https://stackoverflow.com/a/23079478/1548052 > > Le jeu. 9 août 2018 à 16:06, Alessandro Pasotti a > écrit : > >

Re: [QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Denis Rouzaud
I think the issue is that there is no header installed on mac https://stackoverflow.com/a/23079478/1548052 Le jeu. 9 août 2018 à 16:06, Alessandro Pasotti a écrit : > On Thu, Aug 9, 2018 at 3:54 PM, Tom Elwertowski > wrote: > >> Hi all, >> >> A recent change added OpenCL. Compilation fails on m

Re: [QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Alessandro Pasotti
On Thu, Aug 9, 2018 at 3:54 PM, Tom Elwertowski wrote: > Hi all, > > A recent change added OpenCL. Compilation fails on macOS because Apple > provides v1.2 (macOS 10.13) while QGIS seems to require v2. That's wierd: 1.1 is what should be required can you file a ticket and provide full logs?

[QGIS-Developer] OpenCL and macOS

2018-08-09 Thread Tom Elwertowski
Hi all, A recent change added OpenCL. Compilation fails on macOS because Apple provides v1.2 (macOS 10.13) while QGIS seems to require v2. Adding a version to FIND_PACKAGE will fix the macOS compile and not use OpenCL. Apple has deprecated OpenCL in favor of its own Metal technology. OpenCL

Re: [QGIS-Developer] How to create a simple processing script in QGIS 3.x, eg just a buffer

2018-08-09 Thread Anita Graser
Hi Andrew, On Thu, Aug 9, 2018 at 2:57 PM Andrew C wrote: > I am not clear on how QgsFeatureSinkis working, perhaps that is why I am > not getting the buffered layer? Normally in a script I could try printing > variables I cannot see where these are printed either when I tested. > I think you'd

[QGIS-Developer] How to create a simple processing script in QGIS 3.x, eg just a buffer

2018-08-09 Thread Andrew C
Hi All, Can someone offer me some guidance on the new scripting process in QGIS 3x? If I take the create script from template option and make some very minor changes (below), why am I not writing a buffer? The script will execute with no errors, is this line buffered_layer = processing.run("nativ

Re: [QGIS-Developer] GeoPackages with constraint problems

2018-08-09 Thread Mark Johnson
>> Executing PRAGMA foreign_keys = ON This is also done for Spatialite in the SpatialiteProvider, so this is not a general GeoPackage issue. The need to keep this on is important, since the TRIGGERS enforces the 'sanity' of the data (such as same srid and geometry-type rules). Also the Database-D

Re: [QGIS-Developer] GeoPackages with constraint problems

2018-08-09 Thread Even Rouault
On jeudi 9 août 2018 07:07:10 CEST Matthias Kuhn wrote: > Thanks Even, > > Executing PRAGMA foreign_keys = ON sounds interesting, one thing we'll > then need to check on the relation editing end is that we make proper > use of deferred foreign key constraints. > > What do you think about the way

[QGIS-Developer] Build error: output/bin/crssync: Permission denied

2018-08-09 Thread tao
I found pre-compiled qgis-2.18.17 had a problem under OpenBSD 6.3 mentioned in following thread http://openbsd-archive.7691.n7.nabble.com/Probelm-when-building-QGIS-td347994.html So I have to build QGIS myself. Some problems were encountered, but I succeeded to fix them. However, I can not fi