Re: [QGIS-Developer] saving a layer with the world_map.shp

2019-06-11 Thread Nathan Woodrow
Hey Tim, Yes I yanked that file from Natural Earth and I think it might have simplified it a little bit to reduce the file size but it's the same file. Regards, Nathan On Fri, Jun 7, 2019 at 7:25 PM Tim Sutton wrote: > Hi > > If I am not mistaken, the world map comes from Nathan Woodrow (he

Re: [QGIS-Developer] saving a layer with the world_map.shp

2019-06-11 Thread Raymond Nijssen
A topologically more correct map is not easily to find, especially not in a tiny (shp) file size. Here are some links to examples: http://www.statsilk.com/maps/download-free-shapefile-maps But for educating CRS, for quickly finding out where your just opened dataset is, and for layout

Re: [QGIS-Developer] saving a layer with the world_map.shp

2019-06-11 Thread Tim Sutton
If you can find a better one or want to clean it I will be happy to replace it. Just provide some metadata with it this time so we know the provenance. Thanks! Regards Tim > On 11 Jun 2019, at 18:10, Bernd Vogelgesang wrote: > > This is a really nice easter egg and could be of great use for

Re: [QGIS-Developer] How to update change the datasource of already existing layer

2019-06-11 Thread Ivan Ivanov
I fixed it. Sorry for the inconvenience: layer1 = QgsVectorLayer('Polygon?crs=epsg:32612', 'layer2', 'memory') layer2 = QgsVectorLayer('Polygon?crs=epsg:32612', 'layer1', 'memory') print(layer1.source()) print(layer2.source()) layer1.setDataSource(layer2.source(), layer2.name(),

Re: [QGIS-Developer] How to update change the datasource of already existing layer

2019-06-11 Thread Nyall Dawson
On Tue, 11 Jun 2019 at 15:06, Ivan Ivanov wrote: > > Hello, > > > Can you give me some idea why I'm getting two uids in the layer's source? And > also how I can fix this because now the layer just disappears from the map > canvas. (all layers are isValid() = True) > > oldLayer.source() > # >

Re: [QGIS-Developer] QGIS Server 2.x and caching question

2019-06-11 Thread RĂ©gis Haubourg
Hi Andreas, Wow good catch finding the causes of such an issue! I can't answer myself on the technical part. > The "human readable" nature of qgs/qml files naturally seduce people to > copy / paste and mix project stuff together in text editors ... > Well, I don't quite agree here. Doing copy

[QGIS-Developer] QGIS Server 2.x and caching question

2019-06-11 Thread Andreas Neumann
Hi all, At my new work place we are running a 2.x QGIS server which in two projects behaves very strange: sometimes colors display in the color we expected, sometimes really light. Then my colleagues discovered that more than rules share the same UUID identifier, because the QGS files have

Re: [QGIS-Developer] saving a layer with the world_map.shp

2019-06-11 Thread Bernd Vogelgesang
This is a really nice easter egg and could be of great use for quickly showing new users the differences of different crs in a course, if the shape wastn't that full of topology errors :( Isn't there maybe a less buggy shape available? Bernd ___

Re: [QGIS-Developer] QGIS Server 3.4.7 and WFS Filtering PropertyIsLike

2019-06-11 Thread Luca Manganelli
Addendum. I discovered what problem was. OWSLib generates an URL like this: http:// WFSHOST .../=nome_viaVIA A% but it seems that QGIS Server doesn't like this. We should add and at start and the end of the FILTER value: http:// WFSHOST .../=nome_viaVIA A% with the last URL, the

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

2019-06-11 Thread noreply
Plugin mmqgis approval by zimbogisgeek. The plugin version "[135] mmqgis 2019.6.11" is now approved Link: http://plugins.qgis.org/plugins/mmqgis/ ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info:

[QGIS-Developer] QGIS Server 3.4.7 and WFS Filtering PropertyIsLike

2019-06-11 Thread Luca Manganelli
Hello, I'm trying to make this python 3 code with OwsLib working. In particular, I'm searching a road with the name starting by "VIA F.", but QGIS Server returns me a road named VIA MATTEOTTI... Does QGIS Server support PropertyIsLike in WFS? #!/usr/bim/python3 from owslib.wfs import

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 2 Report

2019-06-11 Thread Martin Dobias
On Sun, Jun 9, 2019 at 7:43 AM Ismail Sunni wrote: > Yes, that issue was a blocker in week 1 [1]. I have discussed with Martin > and Peter. Martin suggests 3 alternatives for it: > >1. Using QtQuick --> Adding dependencies, it will need to go through >QEP and so on >2. Render it as a