Re: [QGIS-Developer] Current state of QtWebKit dependency

2019-07-29 Thread Tom Chadwin
I hope this isn't off-topic, but something relating to QtWebkit is failing in the qgis2web Travis tests against master, but succeeding against LTR: https://travis-ci.org/tomchadwin/qgis2web/builds/564927793 I don't yet understand why. Can anyone shed some light, and maybe help with a fix?

Re: [QGIS-Developer] External python package dependency in plugins

2019-06-20 Thread Tom Chadwin
Hello all I'm resurrecting this thread to find out whether there have been any developments. My situation: I'd like to tidy qgis2web's output via BeautifulSoup, lsxml, or some such, but they are not installed (in my case under OSGeo4W). Is there any cross-platform way of installing Python

Re: [QGIS-Developer] How can I find the tickets that I reported?

2019-06-07 Thread Tom Chadwin
Hello all We all know that migrating to Github was a big decision. We know there were significant pros and cons, and that various core devs strongly disagreed with the decision. A clearer case of pragmatism versus idealism is not easy to find... However, the decision *was* made. Can we all now

Re: [QGIS-Developer] How to use postProcessLayer in plugin processing

2019-05-16 Thread Tom Chadwin
Don't know if any of the links in this reply from Nyall are of any use? https://lists.osgeo.org/pipermail/qgis-developer/2018-September/054480.html Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

[QGIS-Developer] Boundless Web App Builder and qgis2web - QGIS grant proposal possible

2019-05-08 Thread Tom Chadwin
Hello all As many of you know, qgis2web was built on top of Victor's work on his previous plugin qgis-ol3. Victor went on to be the major developer of the Boundless Web App Builder plugin (WAB). WAB exports to OpenLayers, while qgis2web exports to OpenLayers or Leaflet. With Boundless's change

Re: [QGIS-Developer] How to split QGISMapLayer attribute "source" into parts (python)

2019-04-26 Thread Tom Chadwin
Nyall Dawson wrote > uri = QgsDataSourceUri(layer.source()) > table = uri.table() > user = uri.username() > restrict_bbox = uri.param("restrictToRequestBBOX") > > etc > > For non-db layers (eg disk based OGR/GDAL layers, you should use >

Re: [QGIS-Developer] How to split QGISMapLayer attribute "source" into parts (python)

2019-04-25 Thread Tom Chadwin
I use: from urllib.parse import parse_qs d = parse_qs(layer.source()) if 'tileMatrixSet' in d: useWMTS = True wmts_url = d['url'][0].replace("request=getcapabilities", "") wmts_layer = d['layers'][0] wmts_format = d['format'][0] wmts_crs = d['crs'][0] wmts_style =

Re: [QGIS-Developer] non-standard-library Python modules available to QGIS plugins

2019-04-24 Thread Tom Chadwin
Jürgen E. Fischer wrote >> I'll probably at least initially leave out PyQt5.QtWebKit though, hoping >> that no plugins actually use it. > > qgis2web uses QtWebKit Others do as well: for example, I noticed by chance that go2mapillary does. I'm sure plenty of others do too. Tom - Buy Pie

Re: [QGIS-Developer] Why was selection tool behaviour changed in 3.x?

2019-04-10 Thread Tom Chadwin
Hi Cory From memory, there was a lot of discussion about making this change in the vertex editor. It's not true to say that QGIS is an outlier: the rationale behind the change - along with the reasons Jo mentions and increasing the ability to be more accurate if you don't have to hold down the

Re: [QGIS-Developer] PyQGIS WMS tiles don't load on Windows

2019-04-10 Thread Tom Chadwin
This confusion will not have been helped by the fact that PyQGIS (I seem to recall) makes XYZ layers inherit from WM(T)S layers. That makes sense from a functional point of view (they're all served rasters), but from a standards/terminology point of view, it's pretty confusing. Tom - Buy

Re: [QGIS-Developer] Improvement to the plugin manager's upgradeable plugins details

2019-03-11 Thread Tom Chadwin
Might this lead to some guidance on plugin changelogs? Mine has the whole changelog history, so should I instead only include current version changes in metadata.txt? Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] QGIS 3, pygis 101 Styling QgsPointClusterRenderer

2019-03-07 Thread Tom Chadwin
Is it that the symbol you set has to be a QgsMarkerSymbol, not just a QgsSymbol? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer

Re: [QGIS-Developer] Common PyQGIS functions for QGIS 3

2019-02-21 Thread Tom Chadwin
Nyall Dawson wrote >> I agree. Even if the PyQGIS-Documentation is now much better than in the >> past for me often some short examples like the ones from Thomas Gratier >> are really helpful to know how to proceed: >> https://webgeodatavore.github.io/pyqgis-samples/ > > I'd love to see

Re: [QGIS-Developer] Stacktrace for crashes under Windows

2019-02-20 Thread Tom Chadwin
Andreas Neumann-4 wrote > Unfortunately, I can't reproduce the same crash on Linux - even with a > slow db connection the crash doesn't appear on Linux. My crash is also only on Windows. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Stacktrace for crashes under Windows

2019-02-20 Thread Tom Chadwin
Hi Andreas It *might* be more specific even than that. You suspect your crash might be triggered by an edit widget. Mine definitely is. Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Stacktrace for crashes under Windows

2019-02-20 Thread Tom Chadwin
Same for me with https://issues.qgis.org/issues/19118. Crashes without the crash handler appearing to give me the trace. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Windows only version of a QGIS 2.18x plugin

2019-02-07 Thread Tom Chadwin
Hi Christina I'm sure you gathered this already, but in my opinion, your plugin design and logic regarding the third-party module is precisely as it should be in a QGIS plugin. It's good that you've surfaced an issue on which hopefully the QGIS devs are reaching consensus. Thanks for your

Re: [QGIS-Developer] Windows only version of a QGIS 2.18x plugin

2019-02-06 Thread Tom Chadwin
Matthias Kuhn  wrote > If it's a single-purpose use-case specific plugin which is > intended to be run inside a specific organization / scenario, then I > don't see the benefit of investing a lot of effort into something that > will never be used. By "effort", do you mean the work to make it

Re: [QGIS-Developer] Redmine flaky?

2019-02-06 Thread Tom Chadwin
Nyall Dawson wrote >> Is anyone else seeing this? Not on Github, no. Heh. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer

[QGIS-Developer] Docs: Question about curves

2019-01-24 Thread Tom Chadwin
Hello all A question has come up in working on the manual (https://github.com/qgis/QGIS-Documentation/pull/3392/files#r250391261). Can someone give us a little authoritative help? The section on the Identify Features tool and the Identify Result dialog includes the following: "in case you click

Re: [QGIS-Developer] [Qgis-psc] QGIS 2.18 EOL approaching?

2019-01-21 Thread Tom Chadwin
Hi Juergen I guess I've been misadvising people, then. My understanding was that 3.4 did not become LTR until 3.6 was released. I based this on explanations from others, and also on my interpretation of https://www.qgis.org/en/site/getinvolved/development/roadmap.html#release-schedule. Anyway,

Re: [QGIS-Developer] [Qgis-psc] QGIS 2.18 EOL approaching?

2019-01-21 Thread Tom Chadwin
Nyall Dawson wrote > 2.18 is STILL the LTR until next month, and > will be "maintained" in that it will be available for install for that > month. But there's no point filing bugs against 2.18, because they'll > never be fixed now. So in that regard it's "unmaintained", and it's > better to file

Re: [QGIS-Developer] [Qgis-psc] QGIS 2.18 EOL approaching?

2019-01-21 Thread Tom Chadwin
Morning all I wanted to check on this. If 2.18 is now "unsupported", and 3.4 is not yet LTR (my understanding was that this happens when 3.6 is released), does that not mean we have no current supported LTR? This is far from ideal for people like me with a moderate LTR userbase. Should "old" LTR

Re: [QGIS-Developer] connecting to QgsNetworkAccessManagers signals

2019-01-21 Thread Tom Chadwin
I just wanted to say a big thanks to Richard et al for this - I've very much needed it in the past, and this would have made my life a whole lot easier. No more external HTTP debuggers. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] RES: Widget type

2019-01-19 Thread Tom Chadwin
For a simple example, have a look at Salvatore's answer to a GIS.SE question: https://gis.stackexchange.com/a/273464/36921 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Widget type

2019-01-18 Thread Tom Chadwin
Ignore previous completely wrong answer! Sorry. I think you call QgsVectorLayer::setEditorWidgetSetup() instead: https://qgis.org/api/classQgsVectorLayer.html#a8a174ba67d0a16f544211088656af143 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Widget type

2019-01-18 Thread Tom Chadwin
Try: pipeLyr.editFormConfig().setWidgetConfig(campo, 'EditText') ? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

Re: [QGIS-Developer] Proposal for QGIS Documentation

2019-01-17 Thread Tom Chadwin
Just a quick note to say that, after some discussion with (and help from) Matteo, I've started to try to help out with English style and grammar. I'm not an experienced enough QGIS user to create much new documentation, but hopefully this will help. Other documentation contributors, please be

[QGIS-Developer] qgis2web development

2019-01-10 Thread Tom Chadwin
Hello all Since all the work to convert qgis2web for QGIS3, I've done very little work on the plugin. There is a growing list of issues, and I can't guarantee that I'll get back to the amount of time I used to be able to put into it. I put a shout-out on Twitter

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread Tom Chadwin
The only other thing I'd check (but this is not a change from 3.2 to 3.4) is that you are using QgsNetworkAccessManager, to tolerate any upstream proxy issues. Beyond that, you'd have to check the logs of the webserver which holds the JS, to see what's happening there. Tom - Buy Pie Spy:

Re: [QGIS-Developer] QGIS 3.4 - QWebView: Problem loading a website with javascript files

2018-12-13 Thread Tom Chadwin
Hi Marcus I use QWebView a lot, and my JS is working fine in 3.4 on Windows. Is the difference that mine is loading local JS files, but yours are remote? What specific errors are you seeing in the dev tools - both the console and the Network tab? Any errors in the QGIS log? Tom - Buy Pie

Re: [QGIS-Developer] Get the Canvas CRS in Expression

2018-11-12 Thread Tom Chadwin
I can see map_crs under Variables in the Expression editor. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

Re: [QGIS-Developer] iOS prototyping

2018-11-09 Thread Tom Chadwin
Perhaps we could ask the OpenStreetMap mailing list for their advice on licensing? That was a joke. Let's not ask the OpenStreetMap mailing list for their advice on licensing. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] MacOS packaging

2018-10-30 Thread Tom Chadwin
The NextGIS installer was cited to me by an expert user as the best installation method of which he was aware (discussion here: https://twitter.com/richardf/status/969522358640881664). I don't know how useful that information is. Thanks Tom - Buy Pie Spy: Adventures in British pastry

Re: [QGIS-Developer] Looking for QGIS developers in the United States

2018-10-30 Thread Tom Chadwin
My apologies for not having clicked through for your reason. Sorry for the noise. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer

Re: [QGIS-Developer] Looking for QGIS developers in the United States

2018-10-26 Thread Tom Chadwin
There's no technical reason you need a US dev, or do you have issues letting international contracts? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] URL/Request logging of QGIS?

2018-10-18 Thread Tom Chadwin
I'd find this incredibly useful, as I've had to attach an HTTP debugger in the past, which is overkill when all you want is to see the full requests. Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] OSGeo4W updates (was Re: [Qgis-psc] QGIS grants?)

2018-10-15 Thread Tom Chadwin
Hi Ross Looks like Luigi is experiencing the same issue, reported on IRC, so I guess it's not just a local issue for you. Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

[QGIS-Developer] For info: Travis now has supports Windows

2018-10-12 Thread Tom Chadwin
Run your single test suite on all major platforms (early release): https://blog.travis-ci.com/2018-10-11-windows-early-release?utm_source=twitter_medium=web_campaign=windows_early_release Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

[QGIS-Developer] Edit widget browse button crashes QGIS (hub:#19118)

2018-09-20 Thread Tom Chadwin
Hello all Has anyone been able to make any progress with https://issues.qgis.org/issues/19118? It seems severe to me, but perhaps the fact that ?only Windows users have reproduced the issue means it hasn't had much attention? If I can help with debugging or testing, let me know. I'm specifically

[QGIS-Developer] Travis for plugin: "Processing(2): Error: Algorithm gdal:warpreproject not found"

2018-09-19 Thread Tom Chadwin
Hello all I've never managed to get tests of Processing GDAL algorithms to run under Travis for qgis2web. It returns: Processing(2): Error: Algorithm gdal:warpreproject not found (eg https://travis-ci.org/tomchadwin/qgis2web/jobs/430529787#L874) Someone (possibly Nyall?) must have realized

Re: [QGIS-Developer] Python QGIS 3 and the list of all visible layer in the map

2018-09-18 Thread Tom Chadwin
Hi Enrico You can use the Layer Tree API. Something like: project.layerTreeRoot().findLayer(layer.id()).isVisible() Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] qgis2web and qtwebkit?

2018-09-18 Thread Tom Chadwin
Thanks for all the info and clarification, both. OK, so it's not worth looking at QWE yet. Seems like a suboptimal situation, to say the least. - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] qgis2web and qtwebkit?

2018-09-17 Thread Tom Chadwin
Hello all Sebastiaan Couwenberg wrote > The proper solution is to port the plugin to QtWebEngine with Qt5. > That's what Qt upstream recommends over QtWebKit. The QtWebkit issue has caused problems with qgis2web many times:

Re: [QGIS-Developer] The gitter bridge doesn't support private messaging, or inviting to rooms.

2018-09-03 Thread Tom Chadwin
I was literally about to post this same message - I've left the QGIS Gitter room because of the issue. Thanks, Harrissou Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] What to do about WFS test failures?

2018-09-03 Thread Tom Chadwin
I can't offer any helpful suggestions, but just to let you know I finally had to disable all my plugin WFS tests. I used to cope, by rerunning failed Travis runs, but by about three months ago, it seemed no longer usable - failure after failure. I was using a third-party WFS, and perhaps I could

Re: [QGIS-Developer] QGIS enhancement: export to GeoPDF

2018-07-05 Thread Tom Chadwin
Richard Duivenvoorde wrote > The ideas off course would be that styling would stay the same, but > agreeing with Nyall: mapping those styling from our world to pdf world > is a (too) big task I think. The qgis2web code could be adapted, though of course it doesn't handle every possible style.

Re: [QGIS-Developer] Thoughts on using processing models for ETL tasks

2018-06-27 Thread Tom Chadwin
Done: https://issues.qgis.org/issues/19284 https://issues.qgis.org/issues/19285 - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer

Re: [QGIS-Developer] Thoughts on using processing models for ETL tasks

2018-06-27 Thread Tom Chadwin
Just some extra thoughts from a colleague on what might be needed to replace FME with Processing: "I use the modeler quite a lot and I must admit I find myself typing in the model canvas expecting to see a list of processing tools come up like they do in FME sometimes. GUI improvements and

Re: [QGIS-Developer] Rectangles-Ovals-Digitizing plugin deprecated

2018-06-06 Thread Tom Chadwin
Alexander Bruy wrote > 2018-06-06 12:50 GMT+03:00 Nyall Dawson > nyall.dawson@ > : >> I'd be very much in favour of deprecating the OpenLayers plugin and >> marking it with a "install QuickMapServices" instead warning. > > Maybe better to point to core fucntionality than yet another plugin?

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
Those are likely to be your original Python 2 files, before the script made changes, allowing you to roll back. They should definitely not be published, but you should keep them yourself until you are confident the conversion was successful. Tom - Buy Pie Spy: Adventures in British pastry

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
In other words: python3 qgis2to3 /path/to/my/plugin Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

Re: [QGIS-Developer] Running qgis2to3 on windows

2018-05-20 Thread Tom Chadwin
Absolutely no expert, but does this help? https://stackoverflow.com/a/38979755/5613104 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

[QGIS-Developer] web2qgis initial experimental version now in plugins repo

2018-05-15 Thread Tom Chadwin
Hello all I've just uploaded a new experimental QGIS plugin web2qgis. It tries to import webmaps into QGIS. It's at a very early stage at the moment: - Leaflet webmaps only - XYZ tileserver and vector layers only - no vector styles imported The repo is here:

Re: [QGIS-Developer] PyQGIS: intermittent failure to detect label buffer

2018-05-08 Thread Tom Chadwin
Can anyone help me with this? Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

Re: [QGIS-Developer] PyQGIS: intermittent failure to detect label buffer

2018-05-01 Thread Tom Chadwin
I have a vector layer, labelled, with a buffer on the label. I repeatedly run the following script: labelling = iface.activeLayer().labeling() palyr = labelling.settings() buffer = palyr.format().buffer().enabled() if buffer: print("buffer") else: print("no buffer") Here's the output:

[QGIS-Developer] PyQGIS: intermittent failure to detect label buffer

2018-05-01 Thread Tom Chadwin
Hello all This seems a little odd on QGIS 3.0.2 Win7x64. I am trying to determine whether a layer's labels have a buffer enabled: This seems to work intermittently on repetiton. Am I getting something wrong, or has anyone else seen this behaviour? Thanks Tom - Buy Pie Spy: Adventures

Re: [QGIS-Developer] r.fill.stats not available in QGIS

2018-04-30 Thread Tom Chadwin
I'm sure a PR would be much more welcome (speaking as someone who has only ever done a docs layout PR for QGIS). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] does qgis3.0 support vector tiles?

2018-04-28 Thread Tom Chadwin
QGIS can read vector tiles with the Vector Tiles Reader plugin. It cannot write them. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-25 Thread Tom Chadwin
Sorry, not having worked with models, I don't know. Only thing I wonder is whether it is a problem to have colons in a dictionary key (native:orderbyexpression_1:Ausgabedatei). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Issue running processing model from Python

2018-04-25 Thread Tom Chadwin
Which is line 45? Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] Geometry generator in point cluster renderer uses project CRS, not layer CRS (?)

2018-04-21 Thread Tom Chadwin
Hello all I've been having real difficulty with geometry generators in point clusters, when the layer CRS differs from the project CRS. Michel helped investigate, and raised a ticket: https://issues.qgis.org/issues/18773 I'm not very confident in my projection knowledge, so I'd be grateful if

Re: [QGIS-Developer] [Qgis-user] QGIS 3 Print Composer - Page Properties

2018-04-03 Thread Tom Chadwin
I've only recently looked at layouts, so apologies if this is not helpful. How about, in the right-hand tab of the right-hand menu (is it called Items?), there is a permanent item, perhaps in italics, called Page, and at the top of that panel, some indication of which page is currently selected?

Re: [QGIS-Developer] Error when saving Processing Script QGIS master

2018-03-22 Thread Tom Chadwin
Have you implemented a name() method for your algorithm? The API has changed a fair deal in 3. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

Re: [QGIS-Developer] Future of OSM integration

2018-03-16 Thread Tom Chadwin
My apologies. I missed the crucial word "vector" in Harrissou's message. Sorry for the noise. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

[QGIS-Developer] Add "QGIS3 compatible" link to plugins repo on the web

2018-03-16 Thread Tom Chadwin
Hello all There are quite a lot of questions, comments, and opinions expressed online about the availability of plugins in QGIS3. How easy would it be to add another plugins filter link to the menu on http://plugins.qgis.org/plugins/ (the one with My plugins, Featured, All, Stable, Fresh,

Re: [QGIS-Developer] Future of OSM integration

2018-03-16 Thread Tom Chadwin
Native XYZ layer, calling the OSM raster tiles? Alternatively, QuickMapServices is now funded, and should be published soon. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Changelog for 3.2 now active

2018-03-03 Thread Tom Chadwin
No, it did come up, maybe on chat? Someone investigated (Richard?), but I can't remember what the outcome was. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Vector tiles

2018-02-28 Thread Tom Chadwin
Hi Andreas Andreas Neumann-4 wrote > Areas in vector tiles are artificially cut into pieces. If you want to > stroke the outlines of the areas you would not only get the wanted > outlines of the original feature geometries, but in addition, also the > unwanted, artificial, borders. Yes, so you

Re: [QGIS-Developer] Vector tiles

2018-02-27 Thread Tom Chadwin
Even Rouault-2 wrote > Otherwise you get ugly straight lines cutting your > geometries. I don't quite see why that would be the case, but I don't want to waste your time by implying that you should explain it to me. I'm new to vector tiles myself, and have a lot to learn. Really pleased to have

Re: [QGIS-Developer] Vector tiles

2018-02-27 Thread Tom Chadwin
Many thanks, Even - I hadn't seen that ticket. Even Rouault-2 wrote > the multi-scale approach of vector tiles doesn't fit well with the > traditional scale-agnostic vector layer approach. So somehow you need to > assign each > vector tile zoom level to a cartographic scale range. See my

[QGIS-Developer] Vector tiles

2018-02-26 Thread Tom Chadwin
Hello all Congratulations to everyone for an amazing release. Massive. Now looking forward, are vector tiles under consideration in the future? There is a plugin for 2.x which has been partially migrated to 3 (as I understand it). However, Even also announced on gdal-dev that native OGR support

Re: [QGIS-Developer] [Qgis-psc] Call for possible vote on change to official plugin repo policy?

2018-02-19 Thread Tom Chadwin
Sounds like a very good idea to me. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org

Re: [QGIS-Developer] Processing Help system

2018-02-09 Thread Tom Chadwin
I didn't know this, but apparently anything can be an anchor: https://www.w3.org/TR/html4/struct/links.html#h-12.2.3 So the span is fine. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Processing Help system

2018-02-08 Thread Tom Chadwin
If there is no easy proper fix for this, URL rewriting could handle it - I don't know what server software is being used, but it should be possible. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] tricontour crashing in QGIS3

2018-02-05 Thread Tom Chadwin
Hi Chris Please accept my apologies. Why I didn't see the output in your mail is beyond me. Thanks. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-05 Thread Tom Chadwin
Jürgen E. Fischer wrote > So it's far from "drop in"... Understood. Thanks for the info. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___

Re: [QGIS-Developer] tricontour crashing in QGIS3

2018-02-04 Thread Tom Chadwin
Cab you paste a backtrace? I know you described it in the other thread, but I think the trace itself could help others to investigate. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Editing rule based labeling with the new QGIS3 python API

2018-02-03 Thread Tom Chadwin
Does it not return a QgsRuleBasedLabeling. If so, that has .rootRule(). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-03 Thread Tom Chadwin
Solved by Salvatore! https://github.com/tomchadwin/qgis2web/pull/612 The culprit was a QWebInspector not being deleted when its parent QWebView/QWebPage was destroyed. Thanks so much! As you can tell, I'd got nowhere trying to solve this. Hopefully no blockers left for qgis2web3 now. Tom

Re: [QGIS-Developer] Management of bug tracker queue

2018-02-02 Thread Tom Chadwin
I'm logged in, but https://issues.qgis.org/projects/qgis/issues?query_id=128 gives me a 403 error (not authorized). Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] How are Featured Plugins Chosen?

2018-02-02 Thread Tom Chadwin
DelazJ wrote > This statement assumes that having a higher number of > downloads is more important for plugin devs than having a more featured or > less buggy plugin. No, I certainly didn't say it was more important. I think it is important as evidence not just of size of userbase (indicated by

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-02 Thread Tom Chadwin
Nyall Dawson wrote > I'd try some workarounds like intercepting the dialog close events I already do that to save some settings: https://github.com/tomchadwin/qgis2web/blob/master/qgis2web/maindialog.py#L573 Thanks to your suggestion, I did some tests, and the overwritten closeEvent function

Re: [QGIS-Developer] QgsCoordinateTransformContext warnings again

2018-02-01 Thread Tom Chadwin
Hi Andreas Were you able to add QgsProject.instance() as a new third argument to your calls to QgsCoordinateTransform(). That got rid of the warnings for me. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] plugin causes 2.99 to crash - help?

2018-02-01 Thread Tom Chadwin
Hello all I've narrowed down the qgis2web QGIS3 crash further: - QGIS crashes if the plugin dialog is closed when a Leaflet preview *is currently visible* - QGIS does not crash if the plugin dialog is closed when a Leaflet preview is not currently visible, *even if a Leaflet preview has been

[QGIS-Developer] plugin causes 2.99 to crash - help?

2018-01-30 Thread Tom Chadwin
Hello all I'm converting qgis2web for QGIS3, and a lot of the work is done. However, the following steps cause QGIS to crash: 1. start qgis2web (Github master) 2. if Leaflet is selected, click "Update preview", otherwise select Leaflet 3. close the plugin dialog This crashes QGIS (latest

Re: [QGIS-Developer] QGIS3 Plugin debugging help

2018-01-30 Thread Tom Chadwin
Hi Chris Have you attached a debugger, and therefore can you get a backtrace? I think that's what you'll need. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-30 Thread Tom Chadwin
Thanks again, Nyall. I'm not confident enough to log these on Redmine, as I've not looked into the Processing code before. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-29 Thread Tom Chadwin
Next issue... translate.py uses QgsRasterFileWriter.driverForExtension(). Perhaps I'm using this wrong, but is it outputting empty strings? Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-29 Thread Tom Chadwin
Possible attempted fix: https://github.com/qgis/QGIS/pull/6208 Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-29 Thread Tom Chadwin
I'm still having problems. In warp.py, line 198, the following is added as an argument: extentCrs.authid() I've confirmed that extentCrs is a QgsCoordinateReferenceSystem. However, authid() seems to be returning an empty string. I don't understand why. Can anyone confirm? Thanks Tom PS Code

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-27 Thread Tom Chadwin
Ah, thanks so much! Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

Re: [QGIS-Developer] Changes to processing gdal:translate?

2018-01-26 Thread Tom Chadwin
No, my mistake. I think there might be an issue with the processing wrapper for gdal:warp. It takes the argument TARGET_EXTENT, and uses that for the GDAL arg "-te". However, it then tries to add in extent details, and I think there might be an incorrect variable name. In warp.py from line 190:

[QGIS-Developer] Changes to processing gdal:translate?

2018-01-26 Thread Tom Chadwin
Hello all I'm trying to migrate the raster processing parts of qgis2web, and I'm finding it hard working out all the processing changes. I think I've made progress, but I'm now getting the following when I do "processing.run("gdal:translate", {params})": Incorrect parameter value for INPUT In

Re: [QGIS-Developer] Last call for switching to github issue tracker

2018-01-18 Thread Tom Chadwin
Jorge Gustavo Rocha wrote > It would be amazing if we could share things among OSGeo projects. We > could dream with common resources, like glossaries, for example. What a brilliant idea. Do we work with gvSIG to share translation resource? There must be considerable overlap. Tom - Buy

Re: [QGIS-Developer] PyQgis QgsCoordinateTransform constructor?

2018-01-14 Thread Tom Chadwin
I am so grateful for this. Many thanks, Denis. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html ___ QGIS-Developer mailing list

Re: [QGIS-Developer] Last call for switching to github issue tracker

2018-01-12 Thread Tom Chadwin
A huge +1 from me. I was too intimidated to add issues to Redmine for some time through not understanding what some fields meant. Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html

Re: [QGIS-Developer] PyQgis QgsCoordinateTransform constructor?

2018-01-10 Thread Tom Chadwin
Hi Denis The container still seems to be showing as two months old (https://hub.docker.com/r/qgis/qgis/). Did your build time out again? Thanks Tom - Buy Pie Spy: Adventures in British pastry 2010-11 on Amazon -- Sent from:

Re: [QGIS-Developer] Where do we sit with respect to release?

2018-01-09 Thread Tom Chadwin
I know there is excitement, and I'm sure all the devs want the release done. However, I think Juergen's proposal is the best (release 23 Feb): - more debugging time - tallies with established release cycle - respects the advice and plans of the Release Manager I 100% prioritise stability over

Re: [QGIS-Developer] PyQgis QgsCoordinateTransform constructor?

2018-01-09 Thread Tom Chadwin
Ah, thanks so much, Denis! I would not have worked that out, as I've only just implemented testing via Docker, and have not used Docker before - thanks also are very much due to Matthias for his help with this. I'm really grateful to you both. Yes, I agree that some resilient method for CI

  1   2   3   4   5   6   >