Re: [QGIS-Developer] how to run qgis from source

2018-03-29 Thread Patrick Dunford
You need to amend your PATH environment variable to point to the folder 
that has those DLLs in it (leave them in the folder they were originally in)



On 29/03/18 23:59, weskerji...@sina.cn wrote:
I build QGIS from successfully,i set qgis the start project.When i 
run,it says "Could not load qgis_app.dll".i put every dll needed to 
the output folder,but it still can't start
the wrong code is in project qgis' mainwin.cpp, line 134 HINSTANCE 
hGetProcIDDLL = LoadLibrary("qgis_app.dll");

so what should i do to solve this problem.


[艾利芬特520] 


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] What are "Key/value" and "List" widgets in attributes form?

2018-03-29 Thread DelazJ
Hi,

Thanks Nyall. Indeed, these are PG provider tools. I dug a bit and found
out that list is designed for array field type while key/value refers to
hstore field type.
Doc is updated (might be light but better than nothing imho).

Harrissou

2018-03-24 1:18 GMT+01:00 Nyall Dawson :

> On 23 March 2018 at 00:07, DelazJ  wrote:
> > Hi all,
> >
> > In the vector layer properties dialog, Attributes form tab, I fail to
> > understand/find what enables those two widgets, hence what they are
> supposed
> > to do and how they could work.
> >
> > If someone has some information, thanks for sharing.
> > Documenting this section is blocked by these information (see
> > https://github.com/qgis/QGIS-Documentation/pull/2437/files)
>
> I suspect these are only available for list/map field types - which as
> far as I'm aware are only available for the postgres provider.
>
> Nyall
>
> >
> >
> > Thanks,
> > Harrissou
> >
> > ___
> > QGIS-Developer mailing list
> > QGIS-Developer@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GdalTools plugin issue

2018-03-29 Thread DelazJ
Hi,

2018-03-27 20:31 GMT+02:00 Andreas Neumann :

> Hi Jürgen,
>
> To be honest - I don't know anymore. I did not check before deletion.
>
> But I believe it contained regular .py and .pycs - just like any other
> plugin.
>
> Andreas
>
> On 27.03.2018 15:42, Jürgen E. Fischer wrote:
>
> Hi Andreas,
>
> On Tue, 27. Mar 2018 at 14:02:57 +0200, Andreas Neumann wrote:
>
> I had to manually remove the folder C:\Program
> Files\OSGeo4W64\apps\qgis\python\plugins\GdalTools
>
> And that was empty or did contain .pycs or also other files?
>
> My  C:\OSGeo4W64\apps\qgis\python\plugins\GdalTools (as well as fTools)
folder is full of .pyc, including the "Tools" sub-folder also with .pyc. No
.py file available.
I don't know whether it's of interest, but note that I also have
qgis-rel-dev and qgis-dev installed and in these "branches", there are
fTools and GDALTools folders but those are empty (except the "Tools" folder
also empty).
However for any QGIS version, these two plugins are listed in the Plugin
Manager.

Regards,
Harrissou

>
> Jürgen
>
>
>
>
> ___
> QGIS-Developer mailing listqgis-develo...@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] issues in QGIS Server 2,18

2018-03-29 Thread René-Luc Dhont

Hi giovanni,

I'd like to try the WFS QGIS Server service ?

Regards,

René-Luc

Le 28/03/2018 à 12:38, Giovanni Manghi a écrit :

Hi all,



I have found the reason why QGIS Server 2.18 and probably 3 are slower
than 2.14 in generating GeoJSON.
I'll fix it.


I discovered two more WFS related issues, one in QGIS Desktop the
other in the Server.

I setup a WFS service, with both QGIS Server 2.18 and Mapserver, with
a layer than contains 5.6million points.
The QGIS WFS client pulls this layer without issues, but there is a
big problem when identifying features with the option "auto open form"
enabled:
on the second identify operation QGIS freezes and it start to leak
memory until it eats it all. It does not happen if the "auto open
form" option is not enabled. This happens also on QGIS 3.

The second issue is about the same dataset published as WFS with QGIS
Server, when saving the layer using QGIS using "save as" (for example
to a geopackage) the result is missing several features/points.
I tried then to save the layer using ogr from th CLI, and at some
point the message "ERROR 1: XML parsing of GML file failed : unclosed
token at line 109413441, column 21" is shown. This is not happening
(and the result is complete) if server used is Mapserver.

I can provide the services URLs is someone wants to give it a try.


cheers!

-- G --
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] how to run qgis from source

2018-03-29 Thread weskerjiang
I build QGIS from successfully,i set qgis the start project.When i run,it says 
"Could not load qgis_app.dll".i put every dll needed to the output folder,but 
it still can't start
the wrong code is in project qgis' mainwin.cpp, line 134   HINSTANCE 
hGetProcIDDLL = LoadLibrary("qgis_app.dll");
so what should i do to solve this problem.

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] QGIS Plugins transfer question

2018-03-29 Thread Richard Duivenvoorde
If I'm right you can change the 'maintainer' in the plugins website (and
eventually metadata.txt in your plugin).

Log in, go to your plugins, go to 'Manage' tab and Edit there.

If you do not see the Manage tab, let us know.

We are talking about your own plugins isn't it?
Or is it about transferring owner/maintainership from 'orphaned' plugins?

Regards,

Richard Duivenvoorde


On 29-03-18 11:50, Sebastian Schulz wrote:
> Hello!
> 
> I've got a question about QGIS Plugins repository. Is it possible to
> transfer few plugins from one account to another?
> 
> Regards,
> Sebastian
> 
> 
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] PyQGIS - how to handle primary keys in geopackage

2018-03-29 Thread Alexandre Neto
Thank you Nyall!

That solved the problem. I failed to see that in the C++ code for split
features tool, but it was there.

The only small annoyance that I had was the need to convert the result of
feature.attributes() into a dictionary.


Once again, thanks! It solved a long-standing issue in the plugin.

Alex

But it for the clarification.
A qua, 28/03/2018, 23:01, Nyall Dawson  escreveu:

> On 28 March 2018 at 08:32, Alexandre Neto  wrote:
> > My multipart split plugin (which I am porting to 3), It breaks multipart
> > features and transforms each part in individual features, copying the
> > attributes from the original feature.
> >
> > In the process, I need to be careful with the autoincrement primary keys.
> > For PostGIS and Spatialite, asking for the providers pkattributesindex
> works
> > and I can do the following:
> >
> > new_attributes = feature.attributes()
> >
> > # When attribute is a Primary Key, replace by default value
> > ### This is not working well with spatialite provider###
> > for j in provider.pkAttributeIndexes():
> > if provider.defaultValue(j):
> > new_attributes[j] = provider.defaultValue(j)
> > else:
> > new_attributes[j] = QVariant()
> >
> > But for geopackage the provider.pkAttributeIndexes() always returns an
> empty
> > list...
> >
> > The above code was copied a long time ago from the split features tools
> in
> > core. Looking at the code now, there is no longer that part where the
> > provider's primary keys are searched, Nevertheless, the code works and
> the
> > split features tool leave the pkattributes NULL to be autogenerated.
> Wasn't
> > able to figure out where that is done now ...
>
> The canonical/correct 3.0 way to do this is to use
> QgsVectorLayerUtils.createFeature
>
> That method should be used whenever you are creating a brand new
> feature which is destined for a particular vector layer, and needs to
> correctly respect constraints and default value clauses set on the
> provider side.
>
> Nyall
>
-- 
Alexandre Neto
-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QGIS Plugins transfer question

2018-03-29 Thread Sebastian Schulz
Hello!

I've got a question about QGIS Plugins repository. Is it possible to
transfer few plugins from one account to another?

Regards,
Sebastian
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] QEP: Unstructured Mesh Layers

2018-03-29 Thread Martin Dobias
Hi all

Here is a new proposal to add support for unstructured mesh layers to QGIS:

https://github.com/qgis/QGIS-Enhancement-Proposals/issues/119

Any comments would be highly appreciated!

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1430] HCMGIS approval notification.

2018-03-29 Thread noreply

Plugin HCMGIS approval by zimbogisgeek.
The plugin version "[1430] HCMGIS 2018.3.28" is now approved
Link: http://plugins.qgis.org/plugins/HCMGIS/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [752] Red Layer approval notification.

2018-03-29 Thread noreply

Plugin Red Layer approval by zimbogisgeek.
The plugin version "[752] Red Layer 1.4.3" is now approved
Link: http://plugins.qgis.org/plugins/redLayer/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1329] FREEWAT approval notification.

2018-03-29 Thread noreply

Plugin FREEWAT approval by zimbogisgeek.
The plugin version "[1329] FREEWAT 1.0.2 Experimental" is now approved
Link: http://plugins.qgis.org/plugins/freewat/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [65] Mask approval notification.

2018-03-29 Thread noreply

Plugin Mask approval by zimbogisgeek.
The plugin version "[65] Mask 1.8.3" is now approved
Link: http://plugins.qgis.org/plugins/mask/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [766] Spreadsheet Layers approval notification.

2018-03-29 Thread noreply

Plugin Spreadsheet Layers approval by zimbogisgeek.
The plugin version "[766] Spreadsheet Layers 2.0.0" is now approved
Link: http://plugins.qgis.org/plugins/SpreadsheetLayers/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [849] AmigoCloud approval notification.

2018-03-29 Thread noreply

Plugin AmigoCloud approval by zimbogisgeek.
The plugin version "[849] AmigoCloud 0.9" is now approved
Link: http://plugins.qgis.org/plugins/qgis-amigocloud-plugin/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [970] TUFLOW approval notification.

2018-03-29 Thread noreply

Plugin TUFLOW approval by zimbogisgeek.
The plugin version "[970] TUFLOW 1.5" is now approved
Link: http://plugins.qgis.org/plugins/tuflow/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [900] QMetaTiles approval notification.

2018-03-29 Thread noreply

Plugin QMetaTiles approval by zimbogisgeek.
The plugin version "[900] QMetaTiles 1.2" is now approved
Link: http://plugins.qgis.org/plugins/QMetaTiles/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [970] TUFLOW approval notification.

2018-03-29 Thread noreply

Plugin TUFLOW approval by zimbogisgeek.
The plugin version "[970] TUFLOW 2.1" is now approved
Link: http://plugins.qgis.org/plugins/tuflow/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer