Re: [Qgis-developer] Problems editing WFS in QGIS

2014-05-07 Thread rldhont

Le 07/05/2014 09:28, Paolo Cavallini a écrit :

Il 07/05/2014 09:24, rldhont ha scritto:


The patch has been merged and backported to release 2.2
https://github.com/qgis/QGIS/pull/1266
https://github.com/qgis/QGIS/commit/a98df93a0db86db0b41431b44d0d5835c7c892a6#diff-32d7f8e430e38ae79be2ead93f97a418
https://github.com/qgis/QGIS/commit/ad21b90b613afd3beae0e4192d02883d0ca3ff99#diff-32d7f8e430e38ae79be2ead93f97a418

I hope a bugfix will be released.

It should already be in the official Debian package, build from 2.2 branch.
All the best, and thanks.



It's QGIS-PSC official release ?
What about Mac OSX, Windows, Ubuntu users ?


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] What is it done for : add expression capabilities to the field model

2014-04-10 Thread rldhont

Hi dev,

I just found a new commit :
ff467dadd53e7162f34a5280f9afcfbad8f83c5b
add expression capabilities to the field model
https://github.com/qgis/QGIS/commit/ff467dadd53e7162f34a5280f9afcfbad8f83c5b

It's promising but there is no issue on hub.qgis.org or on github 
associated and no description about the commit.

This commit has been merged for doing what ?

Regards,
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Considerations around WFS layer and ArcGIS REST API Connector Plugin

2014-04-07 Thread rldhont

Hi Stefan,

I'm answering the first question.

Le 05/04/2014 12:25, Stefan Keller a écrit :

Hi Devs,

Tobias and I are working on the ArcGIS REST API Connector Plugin 
which reads WFS- and WMTS-alike services (called Feature Service and 
Map Service) from ArcGIS Online or ArcGIS Server 10.x. Let's call this 
a connection of type ArcGIS Layer, which creates a vector layer (in 
memory).


1. When entering a new WFS Layer connection and loading it as a new 
project layer, I know that the WFS URL is stored in the project file - 
and Username and Password (as hash?) also are stored there, right?


For WMS and WCS, Username and Password are saved with the URL and are 
not hashed. The WFS does not yet used Authorization but a patch has been 
provided.

https://github.com/qgis/QGIS/pull/1266

Regards,

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Problems editing WFS in QGIS

2014-03-26 Thread rldhont

Hi Scott,

I have opened a pull request
https://github.com/qgis/QGIS/pull/1266

I hope somemone can review it

Le 24/03/2014 19:28, Scott Clark a écrit :

Excellent news and many thanks!

René-Luc D'Hont wrote:


Hi Scott,

I have discovered this issue next week and I'm working on a bugfix.
I hope to propose a patch or a pull request tomorrow.

I'd like to see this fix backported.

Regards

Le 24 mars 2014 14:58, Scott Clark sct...@gmail.com 
mailto:sct...@gmail.com a écrit :


Upon further investigation it appears that WFS authentication is
broken.  Further testing shows that the Add WFS dialog does not
display layers that require basic auth - even when the login is
supplied.  It will only show the public layers.  Note that the
WMS auth works great for me.

When you try to edit a WFS-T, I believe it is also failing to use
the supplied login info.  Which results in the error I'm seeing
below.

I've added the additional details to the existing bug at
http://hub.qgis.org/issues/9234

Since this makes WFS of very limited use, is this planned to be
fixed in an up-coming release?  I'll happily be a tester for this!

Scott

Scott Clark wrote:

I've been having no success using the digitizing toolbar with
WFS-T.   I'm using QGIS 2.2.0 with a GeoServer 2.4. The layers
are displaying fine when added through the Add WFS dialog, and
the editing UI is functional. However, on save, it fails (after
freezing up QGIS for a minute or so) with the following message:

Could not commit changes to layer geonode:incidentes_copeco

Errors: ERROR: 1 feature(s) not added.

Provider errors:

unhandled response: html



It's not specific to these layers and it fails on all of the
layers I pick.  I've successfully tested editing using WFS-T on
this particular server using both our OL3 and our mobile client.

  Any ideas on workarounds or what might be going wrong?

Thanks,

 Scott


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto: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

[Qgis-developer] [BUGFIX] 9234 - WFS client doesn't expose Header Authorization

2014-03-26 Thread rldhont

Hi devs,

I have opened a pull request to fix the bug #9234 - WFS client doesn't 
expose Header Authorization.

https://github.com/qgis/QGIS/pull/1266
http://hub.qgis.org/issues/9234

Like for the others OGC providers: WMS and WCS, the user can set the
login and password to access to WFS protected data. But the QGIS WFS
provider doen't expose header authorization. It doesn't use login and
password.
This mean that QGIS is not able to acces to WFS protected Data. It can't 
be used to edit vector data through the web with user adminsitration.


I would like to see this fix backported so that we don't have to wait 4 
months before we can use QGIS to edit data through WFS with authorization.


Regards,
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [BUGFIX] 9234 - WFS client doesn't expose Header Authorization

2014-03-26 Thread rldhont

Hi Paolo,

I think we could not prevent them but we could release a bugfix version.

all the best

Le 26/03/2014 12:06, Paolo Cavallini a écrit :

Il 26/03/2014 12:01, rldhont ha scritto:


I would like to see this fix backported so that we don't have to wait 4
months before we can use QGIS to edit data through WFS with authorization.

sounds reasonable, +1 for me.
please help us desing a workflow where we can prevent this nasty bugs
falling into cracks during testing phase.
all the best.



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS server: clickable area too small

2014-03-21 Thread rldhont

Hi Paolo,

I'm verifying the code source of GetFeatureInfo and my code is still there.
With which client have you tested and found the problem ? WHich version ?

Regards,
René-Luc D'Hont
3Liz

Le 21/03/2014 08:09, Paolo Cavallini a écrit :


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
The area in which an user can click around a point to trigger a popup is very 
small,
and it is quite difficult to hit it. René-Luc from 3Liz had somewhat fixed this
months ago, but now the issue it seems to be back.
In any case, I think the area should be substantially larger, possibly 
configurable
(or it could take the setting from the Search radius option).
Opinions?
All the best.
- -- 
Paolo Cavallini - www.faunalia.eu

Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlMr5Y0ACgkQ/NedwLUzIr7BAQCfQJnSJsZUKWDA4Ws6Jw11ZToM
D8UAn10esmeXXV3cfZAso0IHbLINpSZ9
=xW7Z
-END PGP SIGNATURE-
___
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] [RASTER][Feature] Applying scale and offset to raster data - funded Ifremer

2014-03-18 Thread rldhont

Hi Etienne,

I have integrated your test and updated it.
I also updated SIP API and corrected my code to account for negative 
scale value.


Reviews are welcomed.

Regards,
René-Luc D'Hont
3Liz

Le 24/01/2014 17:16, Etienne Tourigny a écrit :

I have made some comments and will test it with some netcdf files.

It would be great to add this before feature freeze, but it is 
imperative that a test is in place, at least to make sure that it does 
not break anything with normal files.



On Fri, Jan 24, 2014 at 1:30 PM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi dev,

I would like my pull-request be merged before code freeze.
Radim Blazek helped me to finalize it, but he would like someone
else does the merge.

https://github.com/rldhont/Quantum-GIS/commit/916f2cd6fb3de6f46c8f0fd8b0f5ae4ccbaff8ff

This pull-request is also a BUGFIX #8417 incorrect value loaded
from netcdf file
http://hub.qgis.org/issues/8417

Who do I assign the pull-request ?

Regards,

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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

[Qgis-developer] [Feature][RASTER] Generate band name with NetCDF EXTRA_DIM funded by Ifremer

2014-03-18 Thread rldhont

Hi dev,

I have open an issue http://hub.qgis.org/issues/9810 and a pull request 
https://github.com/qgis/QGIS/pull/1253


The NetCDF provided extra dimensional information. This information 
provides metadata on each band. These metadat can be used to explain the 
name of each band.


For example, the bands of a NetCDF file represents the temperature at a 
given depth. For the user, it is easier to select a band with depth 
information, rather than the number.


If the GDAL version is equal or greater than 1.10.0, the band name is 
generated with the extra_dim information.


Regards,
René-Luc D'Hont
3Liz


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Moving LizMap

2014-03-04 Thread rldhont

Hi paolo,

LizMap is based on Jelix. http://docs.jelix.org/en/manual-1.4
In the temp/ directory of the application you can find a lizmap 
directory. Doesn't remove it but remove all its content to have a clean 
install.


The explaination is here :
http://docs.jelix.org/en/manual-1.4/create-application
  You have also a new directory temp/myapp, where all cached files 
generated by Jelix will be stored.


Regards,
René-Luc D'Hont
3Liz


Le 04/03/2014 11:03, Paolo Cavallini a écrit :

Hi all.
Upon installation, LizMap compiles (in temp/) all its paths. When moving
to a different virtualhost, the app is therefore no longer working. Of
course I can change all the paths by hand, but this is boring and error
prone. Is there a way of recompiling it automagically?
Thanks.


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server][Bug][Blocker] Version 2.2 : WFS GetFeature Request does not return features

2014-03-03 Thread rldhont

Hi devs,

I have fixed, closed and backported the solution to release_2.2

Are there will be a version 2.2.1 ?

Regards,
René-Luc D'Hont
3Liz

Le 27/02/2014 12:24, rldhont a écrit :

Hi guys,

I have just open a blocker issues about QGIS-Server and WFS because 
the GetFeature request is broken.

http://hub.qgis.org/issues/9674

QGIS-Serve does not return features.

Regards,
René-Luc D'Hont
3Liz


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [QGIS-Server][Bug][Blocker] Version 2.2 : WFS GetFeature Request does not return features

2014-02-27 Thread rldhont

Hi guys,

I have just open a blocker issues about QGIS-Server and WFS because the 
GetFeature request is broken.

http://hub.qgis.org/issues/9674

QGIS-Serve does not return features.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS mapserver: Occurrence of gml:featureMember elements in WMS GetFeatureInfo response in GML format

2014-02-17 Thread rldhont

Hi Marcel,

It's a bug, you can open an issue on hub.qgis.org with the category 
mapserver (QGIS-Server).


Regards,
René-Luc D'Hont
3Liz

Le 17/02/2014 15:15, Marcel Dancak a écrit :

Hi guys,

Current implementation of QGIS mapserver generates only one 
gml:featureMember element for all features of particular layer. For 
example, response from GeoServer ( 
http://demo.opengeo.org/geoserver/wms?LAYERS=topp%3Atasmania_water_bodiesQUERY_LAYERS=topp%3Atasmania_water_bodiesSTYLES=SERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoBBOX=141.5115%2C-43.933%2C150.8015%2C-39.288FEATURE_COUNT=10HEIGHT=256WIDTH=512FORMAT=application/xmlINFO_FORMAT=application/vnd.ogc.gmlSRS=EPSG%3A4326X=292Y=145 
) produces
gml:featureMember element for every feature. Also parsing response 
from QGIS mapserver with OpenLayers (OpenLayers.Format.GML.read 
method) results in max. 1 feature per layer, even if XML document 
clearly contains more features.


For me, it seems like bug, but I'm no expert on WMS standard, so maybe 
there was some good reason to do it this way.



Thanks

Marcel Dancak


___
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] QGIS mapserver: Occurrence of gml:featureMember elements in WMS GetFeatureInfo response in GML format

2014-02-17 Thread rldhont

Hi Marcel,

It's a bug, you can open an issue on hub.qgis.prg with the category 
mapserver (QGIS-Server).


Regards,
René-Luc D'Hont
3Liz

Le 17/02/2014 15:15, Marcel Dancak a écrit :

Hi guys,

Current implementation of QGIS mapserver generates only one 
gml:featureMember element for all features of particular layer. For 
example, response from GeoServer ( 
http://demo.opengeo.org/geoserver/wms?LAYERS=topp%3Atasmania_water_bodiesQUERY_LAYERS=topp%3Atasmania_water_bodiesSTYLES=SERVICE=WMSVERSION=1.1.1REQUEST=GetFeatureInfoBBOX=141.5115%2C-43.933%2C150.8015%2C-39.288FEATURE_COUNT=10HEIGHT=256WIDTH=512FORMAT=application/xmlINFO_FORMAT=application/vnd.ogc.gmlSRS=EPSG%3A4326X=292Y=145 
) produces
gml:featureMember element for every feature. Also parsing response 
from QGIS mapserver with OpenLayers (OpenLayers.Format.GML.read 
method) results in max. 1 feature per layer, even if XML document 
clearly contains more features.


For me, it seems like bug, but I'm no expert on WMS standard, so maybe 
there was some good reason to do it this way.



Thanks

Marcel Dancak


___
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

[Qgis-developer] [QGIS-Server] Closing issues

2014-02-14 Thread rldhont

Hi dev,

* #8518 OWS tab - Abstract field of service capabilities adds additional 
new lines at project save

- I can't repeat the bug. Some one else can confirm and close the issue ?
http://hub.qgis.org/issues/8518

* #8499 OWS tab - adding CRS restrictions not reliable
- I have opened a Pull Request. https://github.com/qgis/QGIS/pull/1063
This code can be usefull every where projection selector is used.
This code is only 5 lines.
Salvatore Larosa tested it. Can some one reviewing it ?
http://hub.qgis.org/issues/8499

* #7826 Server: composer picture does not work with relative path
- I can't repeat the bug. Some one else can confirm and close the issue 
? Does the issue is Operating System dependant ?

http://hub.qgis.org/issues/7826

* #7712 qgis server master does not work on Windows(?)
- this bug has been opened 10 months ago, QGIS 2 has been published and 
QGIS-Server works fine on Windows.

Does this issue can be closed ?
http://hub.qgis.org/issues/7712

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] PostGIS and QGIS as remote processors and WPS servers?

2014-02-03 Thread rldhont

Hi Stephan,

I'm working on porting QGIS-Processing server-side with pywps. This work 
is funded by IFREMER.


Regards,
René-Luc D'Hont
3Liz

Le 02/02/2014 13:19, Stefan Keller a écrit :

Hi,

To PostGIS and QGIS devs: I'd like to get and setup a PostGIS web
app and later on a QGIS server (with Processing/Sextante) as  WPS
Servers .
= What is the status of the work regarding this ?

To QGIS devs: What about a switch in Processing tools (in QGIS
Client) where users can enable geometric operations/processing on
server side, based on a wrapper around spatial databases (like PostGIS
and Spatialite)?

Yours, Stefan


P.S. at 2012/12/3 Vincent wrote to QGIS developer mailinglist:

...
At Oslandia our priorities for Sextante are :
* PostGIS and spatialite support for sextante, as intermediary layers and
parameterized queries as processes, with import/export processes too.
* add a bunch of postgis/spatialite classical processes (nearest neigbours,
deduplication, spatial join, shortest path...)
* Making sextante totally independant of qgis GUI, to be able to run sextante
processes in batch in command line mode

This will open the door to use Sextante as a real WPS processes generator,
with features not unlike an ETL (or ELT).
...

___
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


[Qgis-developer] [RASTER][Feature] Applying scale and offset to raster data - funded Ifremer

2014-01-24 Thread rldhont

Hi dev,

I would like my pull-request be merged before code freeze.
Radim Blazek helped me to finalize it, but he would like someone else 
does the merge.

https://github.com/rldhont/Quantum-GIS/commit/916f2cd6fb3de6f46c8f0fd8b0f5ae4ccbaff8ff

This pull-request is also a BUGFIX #8417 incorrect value loaded from 
netcdf file

http://hub.qgis.org/issues/8417

Who do I assign the pull-request ?

Regards,

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [RASTER][Feature] Applying scale and offset to raster data - funded Ifremer

2014-01-24 Thread rldhont

Hi Etienne,

Thanks for your comment. I replied it.

Regards,
René-Luc D'Hont
3Liz

Le 24/01/2014 17:16, Etienne Tourigny a écrit :

I have made some comments and will test it with some netcdf files.

It would be great to add this before feature freeze, but it is 
imperative that a test is in place, at least to make sure that it does 
not break anything with normal files.



On Fri, Jan 24, 2014 at 1:30 PM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi dev,

I would like my pull-request be merged before code freeze.
Radim Blazek helped me to finalize it, but he would like someone
else does the merge.

https://github.com/rldhont/Quantum-GIS/commit/916f2cd6fb3de6f46c8f0fd8b0f5ae4ccbaff8ff

This pull-request is also a BUGFIX #8417 incorrect value loaded
from netcdf file
http://hub.qgis.org/issues/8417

Who do I assign the pull-request ?

Regards,

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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] [Bug] #8298 - CRS change with recently used CRS makes no effect in the first choice

2014-01-20 Thread rldhont

Hi dev,

Freeze starts on 2014-01-24, I have made a pull-request on the issue 
#8298 http://hub.qgis.org/issues/8298

My solution is 5 codes lines, can someone review my code?
Thanks,
René-Luc

Le 10/01/2014 10:46, rldhont a écrit :

Hi all,

I made a pull request to fixed the issue #8298 
http://hub.qgis.org/issues/8298


I implemented the solution to set the default selected CRS in 
projection selector to the last recent.


You can review my code here :
https://github.com/qgis/QGIS/pull/1063

Regards,
René-Luc D'Hont
3Liz


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [Processing] Modeler-only tools : Calculator

2014-01-14 Thread rldhont

Hi dev,

I discovered the Modeler-only tools : Calculator and I would like to 
know how to use it.

Does anyone have documentation on this specific algorithm ?

In the algorithm ui, there is only :
'You can refer to model values in you formula, using single-letter 
variables, as follows:'


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [RASTER][Feature] Applying scale and offset to raster data - funded Ifremer

2014-01-13 Thread rldhont

Hi dev,

I have send a pull-request for applying band scale offset to raster data.
https://github.com/qgis/QGIS/pull/1066

This pull-request is linked to the issue #8417 incorrect value loaded 
from netcdf file

http://hub.qgis.org/issues/8417

Someone to review ?
Who do I assign the pull-request and issue ?

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [Bug] #8298 - CRS change with recently used CRS makes no effect in the first choice

2014-01-10 Thread rldhont

Hi all,

I made a pull request to fixed the issue #8298 
http://hub.qgis.org/issues/8298


I implemented the solution to set the default selected CRS in projection 
selector to the last recent.


You can review my code here :
https://github.com/qgis/QGIS/pull/1063

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [Plugin] QGIS Web Processing Client

2014-01-09 Thread rldhont

Hi Luca,

Thanks a lot for your Pull-Request. I have forgotten to push my commit. 
I reset it and merged your.


Best regards,

René-Luc

Le 09/01/2014 09:59, Luca Delucchi a écrit :

On 7 January 2014 14:08, rldhont rldh...@gmail.com wrote:

Hi Luca,


Hi René


i have updated the code


maybe you forgot to push the changes I sent you a pull request
with all the changes to load the plugin on QGIS (and some PEP8
improvements).
Right now the plugin not able to load getcapabilities request because
it go on timeout.
Now I have no time to investigate more, probably next week/weeks


Regards





___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QWC and WMS FILTER in qgis mapserver

2014-01-09 Thread rldhont

Hi all,

In the WFS standard FILTER parameter is defined to be an OGC FILTER 
encoding.

In the WMS standard there is no FILTER parameter if I remember correctly.

In the WFS QGIS-Server implementation, I have added the EXP_FILTER 
parameter which is used to filter features with a QGIS expression.


Regards,
René-Luc D'Hont
3liz

Le 09/01/2014 17:41, Alessandro Pasotti a écrit :
2014/1/9 Marco Hugentobler marco.hugentob...@sourcepole.ch 
mailto:marco.hugentob...@sourcepole.ch


Hi Alessandro


Since OGC FILTER parsing is already implemented in QGIS, would it
be possible make the WMS understand OGG FILTER encoding in
addition to the custom syntax?

The problem is that the filter has the subset syntax of the data
provider. So it would need translation OGC syntax - provider
syntax (or the possibility to choose between db server side
filtering or QGIS side filtering with unified syntax).



I thought this OGC filtering stuff was already implemented for WFS 
server isn't it?



--
Alessandro Pasotti
w3: www.itopen.it http://www.itopen.it


___
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] [Plugin] QGIS Web Processing Client

2014-01-07 Thread rldhont

hi Luca,

It's seem that there are an error in QgsWpsDockWidget.py:34
We have : from wps.wpslib.processdescription import ..
We should have : from wpslib.processdescription import ..

You can correct it


Le 07/01/2014 12:13, Luca Delucchi a écrit :

On 3 January 2014 15:45, rldhont rldh...@gmail.com wrote:

Hi Horst,

Hi,


I have updated your QGIS Web Processing Client.
I have put the code on github : https://github.com/rldhont/qgis-wps-client


I downloaded the master but I obtain this error

Traceback (most recent call last):
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 204, in
startPlugin
 plugins[packageName] = package.classFactory(iface)
   File 
/home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/__init__.py,
line 50, in classFactory
 from qgswps import QgsWps
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/qgswps.py,
line 23, in
 from QgsWpsDockWidget import QgsWpsDockWidget
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
/home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/QgsWpsDockWidget.py,
line 34, in
 from wps.wpslib.processdescription import StringInput, TextInput,
SelectionInput, VectorInput, MultipleVectorInput, RasterInput,
MultipleRasterInput, FileInput, MultipleFileInput, ExtentInput,
CrsInput, VectorOutput, RasterOutput, StringOutput
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named wpslib.processdescription



You can update the version on the QGIS plugin repository.

Hi devs,

You can test it and contribute.

Regards,
René-Luc D'Hont
3Liz



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [Plugin] QGIS Web Processing Client

2014-01-07 Thread rldhont

Hi Luca,

i have updated the code

Regards

Le 07/01/2014 12:13, Luca Delucchi a écrit :

On 3 January 2014 15:45, rldhont rldh...@gmail.com wrote:

Hi Horst,

Hi,


I have updated your QGIS Web Processing Client.
I have put the code on github : https://github.com/rldhont/qgis-wps-client


I downloaded the master but I obtain this error

Traceback (most recent call last):
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 204, in
startPlugin
 plugins[packageName] = package.classFactory(iface)
   File 
/home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/__init__.py,
line 50, in classFactory
 from qgswps import QgsWps
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File /home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/qgswps.py,
line 23, in
 from QgsWpsDockWidget import QgsWpsDockWidget
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
   File 
/home/lucadelu/.qgis2/python/plugins/qgis-wps-client-master/QgsWpsDockWidget.py,
line 34, in
 from wps.wpslib.processdescription import StringInput, TextInput,
SelectionInput, VectorInput, MultipleVectorInput, RasterInput,
MultipleRasterInput, FileInput, MultipleFileInput, ExtentInput,
CrsInput, VectorOutput, RasterOutput, StringOutput
   File /usr/lib/python2.7/dist-packages/qgis/utils.py, line 453, in _import
 mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named wpslib.processdescription



You can update the version on the QGIS plugin repository.

Hi devs,

You can test it and contribute.

Regards,
René-Luc D'Hont
3Liz



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS Web Client improvements

2014-01-03 Thread rldhont

Le 03/01/2014 13:06, Alessandro Pasotti a écrit :

I also think it's not possible at the moment.
But I like the way it was implemented in other frameworks, all I need 
is a way to get the style image for a single class. I guess we need 
to add a custom WMS method to the QGIS Server.
In the next QGIS version, you'll can use the RULE parameter to get the 
legend image of a class.


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [Plugin] QGIS Web Processing Client

2014-01-03 Thread rldhont

Hi Horst,

I have updated your QGIS Web Processing Client.
I have put the code on github : https://github.com/rldhont/qgis-wps-client

You can update the version on the QGIS plugin repository.

Hi devs,

You can test it and contribute.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS Web Client improvements

2014-01-03 Thread rldhont

Le 03/01/2014 15:41, aperi2007 a écrit :

The RULE ?

It need to know exactly the class name,
but AFAIK the rule name is not available from the GetCapabilities

don't ?


Yes, but you can query the style in SLD and have the CLASS name.

Others clients like mapfish use it

Regards,
René-Luc D'Hont
3Liz



A.

On 03/01/2014 15:27, Alessandro Pasotti wrote:

2014/1/3 Yves Jacolin yjaco...@free.fr mailto:yjaco...@free.fr

Hello,

Le vendredi 3 janvier 2014 13:14:57 aperi2007 a écrit :
 On 03/01/2014 13:06, Alessandro Pasotti wrote:
  I also think it's not possible at the moment.
  But I like the way it was implemented in other frameworks,
all I need
  is a way to get the style image for a single class. I guess
we need
  to add a custom WMS method to the QGIS Server.

 This is possible using the optional parameter scale from wms
specs.
 Using it and the layers param.
 You could identify a single layer and get the legend at a
specific scale.

 Apy attention:
 if you do not specify the scale parameter the wms server will
return the
 render to ALL the scale.
 This mean tahat the renddering is
 a point a little scale and a polygon at large scale,
 it will return an mage with a point and a polygon.

Maybe I did not understand what alessandro said, but it seems to
me that it is
rather the RULE parameter for the GetLegendGraphic that allow you
to get the
legend for one class.

See https://github.com/qgis/QGIS/pull/901

Y.


Thanks Yves, this is exactly what I need.

This is only available in master but not in 2.0.1, correct?


--
Alessandro Pasotti
w3: www.itopen.it http://www.itopen.it




___
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] [Feature][Processing] Headless

2014-01-03 Thread rldhont

Hi Salvatore,

Thanks! I'm working on a python class to easily publishing process based 
on PyWPS and QGIS-Processing.


I have updated my script exemple :
==
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys, os
import inspect

#first qgis
from qgis.core import *
#next PyQt4
from PyQt4.QtCore import *
from PyQt4.QtGui import *

# init QApplication for processing and set the customSettingFolder
#a = QApplication( sys.argv )
QgsApplication( sys.argv, False, /my/custom/path )

# supply path to where is your qgis installed
QgsApplication.setPrefixPath(/my/build, True)

# load providers
QgsApplication.initQgis()

p = QgsProject.instance()
p.read( QFileInfo( /my/project.qgs ) )
print p.title()

mlr = QgsMapLayerRegistry.instance()

qa = QApplication( sys.argv )
from processing.core.Processing import Processing
cmd_folder = os.path.split(inspect.getfile(inspect.currentframe()))[0]
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
Processing.initialize()

from processing.tools import *
#general.alglist( 'znt' )

#general.alghelp( 'modeler:znt' )

paramalg = []

print runalg start
general.runalg( 'process:identifier', *paramalg )
print runalg end

# quit
QgsApplication.exitQgis()
#a.exit()
QApplication.exit()
==

Regards,
René-Luc D'Hont
3Liz

Le 02/01/2014 21:52, Salvatore Larosa a écrit :

Hi,

I just tested it and works wonderfully!
I also have tried it as web process for PyWPS and works very well!

Thanks a lot for this!

Best Regards,
-SL

On Mon, Dec 16, 2013 at 3:46 PM, rldhont rldh...@gmail.com wrote:

Hi dev,

I just created a pull request to run QGIS-Processing headless.
I have tested it with a qgis and a modeler algorithm.

https://github.com/qgis/QGIS/pull/1031

Review and comments are welcome

To test QGIS Processing algorithm headlessly, you can use this
python code
__

import sys, os
import inspect

from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *


# supply path to where is your qgis installed
QgsApplication.setPrefixPath(/path/to/your/qgis/build, True)

# load providers
QgsApplication.initQgis()

# load a project
p = QgsProject.instance()
p.read( QFileInfo( /path/to/a/project.qgs ) )

# init QApplication for processing
a = QApplication( sys.argv )

# init QGIS Processing
from processing.core.Processing import Processing
cmd_folder = os.path.split(inspect.getfile(inspect.currentframe()))[0]
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
Processing.initialize()

# import QGIS Processing tools
from processing.tools import *

# print an algorithms search
general.alglist( 'buffer')

# print an algorithm help
general.help( 'qgis:fixeddistancebuffer' )


# run an algorithm
alg = Processing.getAlgorithm( 'qgis:fixeddistancebuffer' )
general.runalg( 'qgis:fixeddistancebuffer',
'/vector/layer/input/uri', 0.1, 5, False,
'/vector/layer/output.shp' );

# quit
QgsApplication.exitQgis()


export

PYTHONPATH=/path/to/build/share/qgis/python:/path/to/build/share/qgis/python/plugins
export LD_LIBRARY_PATH=/path/to/build/lib
python my_scrpit.py
_

Regards
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




--
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [QGIS-Server] Adding Web Processing Service, partially funded

2014-01-03 Thread rldhont

Hi Vincent

Le 20/12/2013 12:28, Vincent Picavet a écrit :
Other question : do you rely on qgis.core only then for QGIS 
processing now ?


To run QGIS Processing algorithms, I only rely on qgis.core but it is 
necessary to intialize a QGSApplication and a QApplication.


+1 for that, simple, flexible and powerful. And Unix spirit too :-) If 
we want tighter integration, it is a matter of packaging PyWPS with 
QGIS. Or implement a way of sending bundled WPS scripts from QGIS to a 
PyWPS server. As for performances, I think having python for serving 
WPS is not damaging, since the performances issues are more related to 
the algorithms implementation than the WPS server itself. Vincent 


I'm working on a python class to easily publishing QGIS Processing 
server-side with PyWPS.

For example :
=
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pywps.Process import WPSProcess
from qgisWPSProcess import qgisWPSProcess

qgis = qgisWPSProcess(qgis:fixeddistancebuffer)

saga = qgisWPSProcess(saga:shapesbuffer)

grass = qgisWPSProcess(grass:v.buffer.distance)
==
All theses processes has to be tested.

But I would like to add the ability to use a QGIS project to restrict 
processes on some layers.


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS Server SLD GetStyles method bug?

2014-01-03 Thread rldhont

Hi,

It's just because the STYLE parameter is mandatory in GetMap Request and 
GetStyle is based on it.
If QGIS-Server will implement multi-styles, STYLE parameter will be 
usefull like in GetMap.


Regards,
René-Luc D'Hont
3Liz

Le 03/01/2014 17:58, Alessandro Pasotti a écrit :

Hi,

while testing for GetStyles on master I noticed that the server raises 
an exception if the parameter STYLE is not specified.


Digging in the code, it appears that Q_UNUSED( styleName );
https://github.com/qgis/QGIS/blob/master/src/mapserver/qgsprojectparser.cpp#L1669


is there any reason for requiring a parameter (STYLE) that is not 
cited in the official OGC specifications and it's not even used?


BTW: the server can be faked with an empty STYLE parameter, and the 
exception is raised here: 
https://github.com/qgis/QGIS/blob/master/src/mapserver/qgswmsserver.cpp#L588


Should I file a ticket?

--
Alessandro Pasotti
w3: www.itopen.it http://www.itopen.it


___
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] QGIS Server SLD GetStyles method bug?

2014-01-03 Thread rldhont

Le 03/01/2014 18:09, Alessandro Pasotti a écrit :

2014/1/3 rldhont rldh...@gmail.com mailto:rldh...@gmail.com

Hi,

It's just because the STYLE parameter is mandatory in GetMap
Request and GetStyle is based on it.
If QGIS-Server will implement multi-styles, STYLE parameter will
be usefull like in GetMap.



Thanks,

just to be sure: are you saying that GetStyle implementation in QGIS 
Mapserver is based on GetMap and hence the parameter is needed (even 
if unused) or that the OGC standard says that GetStyle is kind of sub 
method of GetMap and it requires all mandatory parameters of GetMap?


Yes, but GetStyle is not an OGC defined method.

The method defined by OGC is GetStyles to retrieve all the layer's styles.

You can open a bug, and discussing about GetStyle and GetStyles request.

Reagrds,

René-Luc D'Hont
3Liz




--
Alessandro Pasotti
w3: www.itopen.it http://www.itopen.it


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] [QGIS-Server] Adding Web Processing Service, partially funded

2013-12-19 Thread rldhont

Le 19/12/2013 12:21, Vincent Picavet a écrit :

Hello,


Le jeudi 19 décembre 2013 12:11:21, René-Luc D'Hont a écrit :
[..]

The final goal is to execute QGIS-Processing Server-side.

The first step was to run QGIS-Processing headless. I made a pull request
which needs review and test.
https://github.com/qgis/QGIS/pull/1031

Next steps: developing the WPS interface and executing algorithms server
side.

Are you going to reuse the excellent PyWPS framework, or build a specific one ?


Why not ?



Do you plan to integrate the WPS modules selection and settings directly
inside the Processing interface or with a specific one ?


No plan yet.



Vincent


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [Feature][Processing] Headless

2013-12-16 Thread rldhont

Hi dev,

I just created a pull request to run QGIS-Processing headless.
I have tested it with a qgis and a modeler algorithm.

https://github.com/qgis/QGIS/pull/1031

Review and comments are welcome

To test QGIS Processing algorithm headlessly, you can use this python code
__

import sys, os
import inspect

from PyQt4.QtCore import *
from PyQt4.QtGui import *
from qgis.core import *


# supply path to where is your qgis installed
QgsApplication.setPrefixPath(/path/to/your/qgis/build, True)

# load providers
QgsApplication.initQgis()

# load a project
p = QgsProject.instance()
p.read( QFileInfo( /path/to/a/project.qgs ) )

# init QApplication for processing
a = QApplication( sys.argv )

# init QGIS Processing
from processing.core.Processing import Processing
cmd_folder = os.path.split(inspect.getfile(inspect.currentframe()))[0]
if cmd_folder not in sys.path:
sys.path.insert(0, cmd_folder)
Processing.initialize()

# import QGIS Processing tools
from processing.tools import *

# print an algorithms search
general.alglist( 'buffer')

# print an algorithm help
general.help( 'qgis:fixeddistancebuffer' )


# run an algorithm
alg = Processing.getAlgorithm( 'qgis:fixeddistancebuffer' )
general.runalg( 'qgis:fixeddistancebuffer', '/vector/layer/input/uri', 
0.1, 5, False, '/vector/layer/output.shp' );


# quit
QgsApplication.exitQgis()


export 
PYTHONPATH=/path/to/build/share/qgis/python:/path/to/build/share/qgis/python/plugins

export LD_LIBRARY_PATH=/path/to/build/lib
python my_scrpit.py
_

Regards
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [FEATURE][QGIS-Server] Add Web Coverage Service support

2013-12-12 Thread rldhont

Hi all,

I have created a pull-request to add Web Coverage Support in QGIS-Server.
https://github.com/qgis/QGIS/pull/1025

Review and feedback are welcome.

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Master segfault on close

2013-11-29 Thread rldhont

I'm using the libgdal-dev from ubuntugis.

I'm testing QGIS under valgrind but I don't find where it comes from.

Le 28/11/2013 23:42, Etienne Tourigny a écrit :
I have the same problem, see the bug report (closed as invalid) and 
add any information


It is somehow related to the gdal build, because if I used libgdal-dev 
from ubuntugis my qgis build is ok.


http://hub.qgis.org/issues/8932


On Thu, Nov 28, 2013 at 5:50 PM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi dev,

I'm on Ubuntu 13.04 (raring) and my QGIS master segfault on close.
No need to open a layer to have this.
*** Error in `/***/***/***/build/bin/qgis': corrupted
double-linked list: 0x024b4830 ***

Am I the only one ?

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont

Hi Marco,

This is an unstable but constant bug.

If I QGIS-Server accessing 2 layers, I have the bug. If I accessing 1 
layer, I don't have the bug.
It is unstable because it's not always the same bug. Sometimes it's a 
'corrupted double-linked list' like when I close QGIS Desktop, the other 
times is a malloc.


I would like to debug QGIS-Server with valgrind but I'm not able to find 
the line which malloc.

Herre it's my make config :
sudo ccmake -DCMAKE_INSTALL_PREFIX=/home/***/***/***/build 
-DCMAKE_BUILD_TYPE=debug -DENABLE_TESTS=True -DWITH_MAPSERVER=True ..


How do you do it ?

René-Luc


Le 29/11/2013 07:54, Marco Hugentobler a écrit :

Hi René-Luc

I don't have a segfault with GetCapabilities here. Maybe it happens 
not with all projects?


Regards,
Marco

On 28.11.2013 15:59, rldhont wrote:

Hi Marco,

I found time to test QGIS-Server master on gdb.

I'm testing GetCapabilities, and QGIS-Server segfaults after sending 
the document.

/WMS_Capabilities
[Thread 0x7fffc6b49700 (LWP 1477) exited]
[Thread 0x7fffc73d7700 (LWP 1475) exited]
[Thread 0x7fffc7bd8700 (LWP 1474) exited]

Program received signal SIGSEGV, Segmentation fault.
0x74029cdb in malloc_consolidate (
av=av@entry=0x7436c740 main_arena) at malloc.c:4094
4094malloc.c: Aucun fichier ou dossier de ce type.

If the segfault arriving before the client receiving all the 
document, the connexion is closed and the document is incomplet.


The GetCapabilities request is not the only one to generate a segfault.

Do you have an idea ?

Regards,
René-Luc D'Hont







___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont

Hi Marco,

More information with valgrind :
/WFS_Capabilities
==26940== Invalid read of size 4
==26940==at 0x43EE67: QBasicAtomicInt::deref() (qatomic_x86_64.h:133)
==26940==by 0x43F054: QString::~QString() (in 
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/bin/qgis_mapserv.fcgi)

==26940==by 0x889B529: __cxa_finalize (cxa_finalize.c:55)
==26940==by 0x50234D2: ??? (in 
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/lib/libqgis_core.so.2.1.0)

==26940==by 0x400FF46: _dl_fini (dl-fini.c:253)
==26940==by 0x889B120: __run_exit_handlers (exit.c:77)
==26940==by 0x889B1A4: exit (exit.c:99)
==26940==by 0x8880EAB: (below main) (libc-start.c:294)
==26940==  Address 0x29aeb390 is 0 bytes inside a block of size 40 free'd
==26940==at 0x4C2BA6C: free (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26940==by 0x6741487: QString::free(QString::Data*) (in 
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
==26940==by 0x43F06A: QString::~QString() (in 
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/bin/qgis_mapserv.fcgi)

==26940==by 0x889B120: __run_exit_handlers (exit.c:77)
==26940==by 0x889B1A4: exit (exit.c:99)
==26940==by 0x8880EAB: (below main) (libc-start.c:294)
But I don't have the file and line.

Regardes,
René-Luc


Le 29/11/2013 07:54, Marco Hugentobler a écrit :

Hi René-Luc

I don't have a segfault with GetCapabilities here. Maybe it happens 
not with all projects?


Regards,
Marco

On 28.11.2013 15:59, rldhont wrote:

Hi Marco,

I found time to test QGIS-Server master on gdb.

I'm testing GetCapabilities, and QGIS-Server segfaults after sending 
the document.

/WMS_Capabilities
[Thread 0x7fffc6b49700 (LWP 1477) exited]
[Thread 0x7fffc73d7700 (LWP 1475) exited]
[Thread 0x7fffc7bd8700 (LWP 1474) exited]

Program received signal SIGSEGV, Segmentation fault.
0x74029cdb in malloc_consolidate (
av=av@entry=0x7436c740 main_arena) at malloc.c:4094
4094malloc.c: Aucun fichier ou dossier de ce type.

If the segfault arriving before the client receiving all the 
document, the connexion is closed and the document is incomplet.


The GetCapabilities request is not the only one to generate a segfault.

Do you have an idea ?

Regards,
René-Luc D'Hont







___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-29 Thread rldhont

Thanks Matthias,

I'm arriving at the same conclusion...

I thought that it's when QGIS clean up layers and providers.

Regards


Le 29/11/2013 11:28, Matthias Kuhn a écrit :

On Fre 29 Nov 2013 09:40:03 CET, rldhont wrote:

Hi Marco,

More information with valgrind :
/WFS_Capabilities
==26940== Invalid read of size 4
==26940==at 0x43EE67: QBasicAtomicInt::deref() (qatomic_x86_64.h:133)
==26940==by 0x43F054: QString::~QString() (in
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/bin/qgis_mapserv.fcgi)

==26940==by 0x889B529: __cxa_finalize (cxa_finalize.c:55)
==26940==by 0x50234D2: ??? (in
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/lib/libqgis_core.so.2.1.0)

==26940==by 0x400FF46: _dl_fini (dl-fini.c:253)
==26940==by 0x889B120: __run_exit_handlers (exit.c:77)
==26940==by 0x889B1A4: exit (exit.c:99)
==26940==by 0x8880EAB: (below main) (libc-start.c:294)
==26940==  Address 0x29aeb390 is 0 bytes inside a block of size 40 free'd
==26940==at 0x4C2BA6C: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==26940==by 0x6741487: QString::free(QString::Data*) (in
/usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.4)
==26940==by 0x43F06A: QString::~QString() (in
/home/dhont/3liz_dev/QGIS-Compil/qgis_rldhont/build/bin/qgis_mapserv.fcgi)

==26940==by 0x889B120: __run_exit_handlers (exit.c:77)
==26940==by 0x889B1A4: exit (exit.c:99)
==26940==by 0x8880EAB: (below main) (libc-start.c:294)
But I don't have the file and line.

Regardes,
René-Luc


Le 29/11/2013 07:54, Marco Hugentobler a écrit :

Hi René-Luc

I don't have a segfault with GetCapabilities here. Maybe it happens
not with all projects?

Regards,
Marco

On 28.11.2013 15:59, rldhont wrote:

Hi Marco,

I found time to test QGIS-Server master on gdb.

I'm testing GetCapabilities, and QGIS-Server segfaults after sending
the document.
/WMS_Capabilities
[Thread 0x7fffc6b49700 (LWP 1477) exited]
[Thread 0x7fffc73d7700 (LWP 1475) exited]
[Thread 0x7fffc7bd8700 (LWP 1474) exited]

Program received signal SIGSEGV, Segmentation fault.
0x74029cdb in malloc_consolidate (
 av=av@entry=0x7436c740 main_arena) at malloc.c:4094
4094malloc.c: Aucun fichier ou dossier de ce type.

If the segfault arriving before the client receiving all the
document, the connexion is closed and the document is incomplet.

The GetCapabilities request is not the only one to generate a segfault.

Do you have an idea ?

Regards,
René-Luc D'Hont





___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

I know the same problem from my desktop QGIS as well. The problem seems
to be, that when exiting qgis and doing the cleanup it's trying to
delete a QString that has been already been cleaned up and deleted
before. Unfortunately I was not able to track it down yet. It looks
like we have several of these segfault on close issues.

Matthias


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] [QGIS-Server] Segfault malloc on master

2013-11-28 Thread rldhont

Hi Marco,

I found time to test QGIS-Server master on gdb.

I'm testing GetCapabilities, and QGIS-Server segfaults after sending the 
document.

/WMS_Capabilities
[Thread 0x7fffc6b49700 (LWP 1477) exited]
[Thread 0x7fffc73d7700 (LWP 1475) exited]
[Thread 0x7fffc7bd8700 (LWP 1474) exited]

Program received signal SIGSEGV, Segmentation fault.
0x74029cdb in malloc_consolidate (
av=av@entry=0x7436c740 main_arena) at malloc.c:4094
4094malloc.c: Aucun fichier ou dossier de ce type.

If the segfault arriving before the client receiving all the document, 
the connexion is closed and the document is incomplet.


The GetCapabilities request is not the only one to generate a segfault.

Do you have an idea ?

Regards,
René-Luc D'Hont


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Master segfault on close

2013-11-28 Thread rldhont

Hi dev,

I'm on Ubuntu 13.04 (raring) and my QGIS master segfault on close.
No need to open a layer to have this.
*** Error in `/***/***/***/build/bin/qgis': corrupted double-linked 
list: 0x024b4830 ***


Am I the only one ?

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Spatial operators in field calc

2013-10-17 Thread rldhont

Hi Paolo,

You can find a description of it here :
http://www.3liz.com/blog/rldhont/index.php?post/2012/11/06/Spatial-operators-in-QGIS-expression

You can do this type of expression :
intersects( $geometry, geomFromWKT( 'LINESTRING(765145.88 6274561.22, 
776031.67 6284189.52)' ) )


I made it for WFS QGIS-Server

Regards,
René-Luc D'Hont
3Liz

Le 16/10/2013 19:18, Andrea Peri a écrit :

perhaps to have some conditional input value ?



2013/10/16 Paolo Cavallini cavall...@faunalia.it 
mailto:cavall...@faunalia.it


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
In the Field Calculator there are, among the expressions, a series
of spatial
operators (touches, intersects, etc.), but I cannot figure out how
to use them. They
make sense as operators across layers, but I do not see how to use
them within the
same layer.
Any hint?
Thanks.
- --
Paolo Cavallini - Faunalia
www.faunalia.eu http://www.faunalia.eu
Full contact details at www.faunalia.eu/pc http://www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlJexz8ACgkQ/NedwLUzIr5foQCffSm0vvgN3PM4gSMBGQZZJiKP
qyoAoI/npwhCsqeVQzxQ4e0QIg1c9IFk
=vTvS
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




--
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-


___
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

[Qgis-developer] PyQGIS : QgsMapRender does not project layers

2013-10-03 Thread rldhont

Hi all,

I encounter some difficulties with QGIS 2.

I have some code which rendering well layers in a PNg image, but now it 
does not project layers :


# create renderer
render = QgsMapRenderer()

# set output size
render.setOutputSize(img.size(), img.logicalDpiX())

outputCrs = QgsCoordinateReferenceSystem(3857, 
QgsCoordinateReferenceSystem.EpsgCrsId)

render.setDestinationCrs(outputCrs)
render.setProjectionsEnabled( True )

# set map units to get labels from new label engine
render.setMapUnits(outputCrs.mapUnits())
render.setOutputUnits(QgsMapRenderer.Millimeters)
render.updateScale()
labeling = QgsPalLabeling()
render.setLabelingEngine(labeling)

p = QPainter()
p.begin(self.img)
p.setRenderHint(QPainter.Antialiasing)

render.setLayerSet(lst)

render.setExtent(rect)

# do the rendering
render.render(self.p)
# end
p.end()

What I missed ?

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGIS 2 64bits, is it stable ?

2013-10-02 Thread rldhont

Hi all,

Some french users downloading the windows standalone 64bits version and 
they encounter bugs considered as blockers :

* IGNF:LAMBE -- not reprojecting https://hub.qgis.org/issues/7941
* Interpolation crash
* not conserving EPSG:900913 and not transform to EPSG:3857 for old project
* no GRASS plugin
* 'The selected color palette is not available' on windows7

I don't know if its just for 64bits version, but some users thought that 
*QGIS 2.0.1 is not stable enough* to be used in production. They are 
waiting for a bugfix release.


Regards,

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Ticket cleanup after 2.0 release

2013-09-09 Thread rldhont

Hi,

Can you please leave us some time to modify the QGIS version of some 
issues, in order to keep the important ones to 2.1.
For example, I think some important issues shall not be closed yet for 
QGIS Server, but moved to 2.1 version.


Regards,
René-Luc D'Hont
3Liz

Le 09/09/2013 14:35, Alexander Bruy a écrit :

+1 from me too.

2013/9/9 Matthias Kuhn matthias.k...@gmx.ch:

+1, I also like this idea.

I would also like to reintroduce the idea of auto-closing tickets which
are in Feedback state for more than 2 weeks to keep the count low in
the future. Issues in Feedback state should be treated as cannot be
solved with the current amount of information and therefore shouldn't
be crowding the overview of active tickets until somebody provides the
missing bits.

Regards
Matthias
___
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] someone with experience MetadataUrl

2013-09-05 Thread rldhont

Hi Alexandre,

Here is the WMS MetadataURL element definition :
A server should use one or more MetadataURL elements to offer 
detailed, standardized metadata about the
data corresponding to a particular layer. The type attribute indicates 
the standard to which the metadata
complies. Two type attribute values are defined by this International 
Standard: the value ISO 19115:2003
refers to ISO 19115:2003; the value FGDC:1998 refers to 
FGDC-STD-001-1998 [1]. An information community
may define meanings for other type attribute values. The enclosed 
Format element indicates the file format

MIME type of the metadata record.

MetadataURL has to be link to the Metadata file.

Regards,
René-Luc D'Hont



Le 05/09/2013 00:52, Alexandre Neto a écrit :

Sorry I got a few typos in the last email.


Sorry only now I could check the links to use on the metadata example 
for qgis user manual.


I'm not being able to do it. For the René-Luc examples from bretagne 
I'm not being able to download the data it self (it's password protected)


For INSPIRE data, I'm not being able to get the metadata link.

Also, after introdution of both data and metadata url, what is 
supposed to appear in the metadata menu?


Thanks again for the help.


On Wed, Sep 4, 2013 at 11:49 PM, Alexandre Neto senhor.n...@gmail.com 
mailto:senhor.n...@gmail.com wrote:


Sorry only now I could check the link to use on the metadata example.

I'm not being able to do it. For the René-Luc examples from
bretagne I'm being able to get the data it self (it's password
protected)

For INSPIRE data, I'm not being able to get the metadata link.

Also, After intordution of both data and metadata url, what is
supposed to appear in the metadata menu?

Thanks again for the help.

Alexandre Neto


On Tue, Aug 27, 2013 at 3:47 PM, Alexandre Neto
senhor.n...@gmail.com mailto:senhor.n...@gmail.com wrote:

Thanks,

I will try to use one of those.

Regards,

Alexandre Neto


On Tue, Aug 27, 2013 at 11:22 AM, rldhont rldh...@gmail.com
mailto:rldh...@gmail.com wrote:

Hi,

Here is a Metadata URL :
http://geobretagne.fr/geonetwork/srv/fr/iso19139.xml?id=2791
And here is a Data URL :

http://geobretagne.fr/geonetwork/srv/fr/metadata.show?uuid=abe1149d-5a8d-4dbf-9140-97294b22bd4f

The link you provide can be use has a Data URL :
http://www.eea.europa.eu/data-and-maps/data/natura-3#tab-metadata

Regards,
René-Luc D'Hont
3Liz

Le 27/08/2013 12:13, Alexandre Neto a écrit :

Hello René-Luc,

Can you provide us one of those dataset and respective
dataset?

I have tried to use this dataset:

http://www.eea.europa.eu/data-and-maps/data/natura-3#tab-metadata

But I can't find the URL to the metadata.

Thanks,

Alexandre Neto


On Mon, Aug 26, 2013 at 4:58 PM, rldhont
rldh...@gmail.com mailto:rldh...@gmail.com wrote:

Hi Larissa,

MetadatUrl is a web URL link to a metadata file, like
an URL Link to an INSPIRE metadat file.

Regards,
René-Luc

Le 26/08/2013 15:41, Larissa Junek a écrit :

Hello lists,
the user manual team looks for someone who has
experience with Metadata
in QGIS. Can you give an example of free geodata
that have a
MetadataUrl?
We would like to insert this example into the
user manual.

Kind regards,
Larissa Junek
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto: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] No fix for 2.0 for #8068, wrong font display in qgis server

2013-09-03 Thread rldhont

Hi Tim,


What about the 6 others blockers ?

2 seem close to resolution : #8487 and #7441

Regards,
René-Luc D'Hont
3Liz

Le 03/09/2013 10:20, Tim Sutton a écrit :

Hi


On Tue, Sep 3, 2013 at 5:40 AM, Larry Shaffer lar...@dakotacarto.com 
mailto:lar...@dakotacarto.com wrote:


Hi,

After many hours of visual testing, monkeying with the code and
generally banging my head against a wall, I've come to the
conclusion I can not commit the partial fix I have for this issue
[0] without possibly causing issues in other types of output:
canvas, composer, PDF, etc. Part of this is due to the way I coded
the new label components and now it looks like there is definitely
something screwy with the way server handles fonts. There are too
many variables and no really useful unit test suite yet.

I suggest the following course of action:

1) Release the desktop version with this as a known blocker,
albeit mostly related to server output.

2) Have an experienced dev review the label painting code who is
familiar with both labeling and server, e.g. Marco H., etc.

3) While the code is being reviewed, I can work towards finishing
the initial unit test suite for labeling (with crosschecks between
canvas and composer, server outputs). Absolutely no labeling
features are added or bug fixes committed until there is a
functioning test suite for the most common labeling uses and outputs.

4) When this issue is appropriately fixed and tested, look at
possibly releasing an updated server component/pkg, if needed.

[0] http://hub.qgis.org/issues/8068


Thanks Larry. If there are no other objects I will go ahead with 
branching for release tonight.


Regards

Tim

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net http://freenode.net
==


___
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

[Qgis-developer] Segfault on load style...

2013-09-02 Thread rldhont

Hi all,

My QGIS master segfault on load style :
_

QGIS died on signal 11Could not attach to process.  If your uid matches 
the uid of the target

process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user.  For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Opération non permise.
No thread selected
No stack.
gdb returned 0
__

Am I the only one ?

I'm on Ubuntu 64bits.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Segfault on load style...

2013-09-02 Thread rldhont

Hi,

Thanks Larry, and all other devs.

Regards,
René-Luc

Le 02/09/2013 17:34, Salvatore Larosa a écrit :


Hi,

2013/9/2 rldhont rldh...@gmail.com mailto:rldh...@gmail.com

 Hi all,

 My QGIS master segfault on load style :
 _

 QGIS died on signal 11Could not attach to process.  If your uid 
matches the uid of the target

 process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
 again as the root user.  For more details, see 
/etc/sysctl.d/10-ptrace.conf

 ptrace: Opération non permise.
 No thread selected
 No stack.
 gdb returned 0
 __

 Am I the only one ?


Larry has just fixed !

Regards,

-SL

[0] -


 I'm on Ubuntu 64bits.

 Regards,
 René-Luc D'Hont
 3Liz
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer


--
Salvatore Larosa
linkedIn: http://linkedin.com/in/larosasalvatore
twitter: @lrssvt
skype: s.larosa
IRC: lrssvt on freenode



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] patches/pull requests

2013-08-30 Thread rldhont

Hi all,

Hien Tran-Quang submited 2 patches for 2 blockers :
#7871 : SVG Marker fill and outlin colors are restored (#836) 
https://github.com/qgis/Quantum-GIS/pull/836
#8487 : manual CRS being overwritten by QGIS (#838) 
https://github.com/qgis/Quantum-GIS/pull/838


Some one to review ?

Regards,
René-Luc D'Hont
3Liz

Le 29/08/2013 16:12, Giovanni Manghi a écrit :

Hi all,

sorry for bugging again, but there is any chance to see any of the
patches reviewd and committed before the release?

At least a couple should fix blockers and other are potentially fixing
important issues.

The time for testing them before the release is not a lot already...

thanks!
___
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] Call for fixes: French and South Africans, raise up

2013-08-30 Thread rldhont

Hi Tim,

This bug #8487 has a pull request #838
http://hub.qgis.org/issues/8487
https://github.com/qgis/Quantum-GIS/pull/838

Regards,
René-Luc D'Hont

Le 30/08/2013 10:52, Tim Sutton a écrit :

Hi


On Mon, Aug 26, 2013 at 12:39 PM, Jürgen E. j...@norbit.de 
mailto:j...@norbit.de wrote:


Hi Frank,

On Mon, 26. Aug 2013 at 11:18:50 +0200, Frank Sokolic wrote:
 For the problem with South African CRSs, is this not a simple
fix, i.e.  edit
 the proj4 parameters in the srs.db file to remove the +axis=wsu
 options from
 all the Lo CRSs? If so, does anyone know how to do it?

How isn't the problem (that should be a simple update statement).

But is that a correct fix?Are there more people annoyed by the
current
entry, than people relying on it?   Is the existing EPSG entry wrong?

Could others from the southern hemisphere comment on that?  Tim?


Basically I don't know who or how the Lo CRS's are being used by 
others in the Southern Hemisphere. I think altering the original EPSG 
projections should be done upstream if it is really an error. We 
(South Africans) could probably whip up a simple plugin that 
'corrects' the Lo parameters in the locally installed QGIS srs.db 
until such time as the issue is resolved upstream in EPSG's database.


Regards

Tim

Jürgen


--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13  Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
QGIS PSC member (RM) IRC: jef on FreeNode

--
norBIT Gesellschaft fuer Unternehmensberatung und
Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




--
Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
==
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.

Irc: timlinux on #qgis at freenode.net http://freenode.net
==


___
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] Question about bug #7941

2013-08-27 Thread rldhont

Hi all,

The bug #7941 has been closed byGiovanni Manghi 
http://hub.qgis.org/users/11 becauseregis Haubourg 
http://hub.qgis.org/users/989 said that the problems comes from proj4.

The bug #7941 is not a proj4 bugs but QGIS packaging bug.

It seems that proj4 is not well packaging with QGIS and extracting by 
the installer.
The bug is confirmed for weekly qgis-master and not for qgis-master form 
OSGeo4W.


How Proj4 is packaging with QGIS ?

Regards,
René-Luc D'Hont
3Liz


Le 26/08/2013 14:40, Benoît Laurent a écrit :

Hello,

I may misunderstand this sentence about bug #7941 
http://hub.qgis.org/issues/7941 : on OSGeo4W the file ntf_r93.gsb 
is in the proj-datumgrid and the proj package depends on it. So it 
should be there.


In my case, the file ntf_r93.gsb is the proj folder but it does not 
work. I must miss something.


Regards,

Benoît




___
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] someone with experience MetadataUrl

2013-08-27 Thread rldhont

Hi,

Here is a Metadata URL :
http://geobretagne.fr/geonetwork/srv/fr/iso19139.xml?id=2791
And here is a Data URL :
http://geobretagne.fr/geonetwork/srv/fr/metadata.show?uuid=abe1149d-5a8d-4dbf-9140-97294b22bd4f

The link you provide can be use has a Data URL :
http://www.eea.europa.eu/data-and-maps/data/natura-3#tab-metadata

Regards,
René-Luc D'Hont
3Liz

Le 27/08/2013 12:13, Alexandre Neto a écrit :

Hello René-Luc,

Can you provide us one of those dataset and respective dataset?

I have tried to use this dataset:

http://www.eea.europa.eu/data-and-maps/data/natura-3#tab-metadata

But I can't find the URL to the metadata.

Thanks,

Alexandre Neto


On Mon, Aug 26, 2013 at 4:58 PM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi Larissa,

MetadatUrl is a web URL link to a metadata file, like an URL Link
to an INSPIRE metadat file.

Regards,
René-Luc

Le 26/08/2013 15:41, Larissa Junek a écrit :

Hello lists,
the user manual team looks for someone who has experience with
Metadata
in QGIS. Can you give an example of free geodata that have a
MetadataUrl?
We would like to insert this example into the user manual.

Kind regards,
Larissa Junek
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto:Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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] Question about bug #7941

2013-08-26 Thread rldhont

Hi Benoît,

Did you re-install Proj4 ? Which version of Proj4 did you use ?

Regards,
René-Luc

Le 26/08/2013 14:40, Benoît Laurent a écrit :

Hello,

I may misunderstand this sentence about bug #7941 
http://hub.qgis.org/issues/7941 : on OSGeo4W the file ntf_r93.gsb 
is in the proj-datumgrid and the proj package depends on it. So it 
should be there.


In my case, the file ntf_r93.gsb is the proj folder but it does not 
work. I must miss something.


Regards,

Benoît




___
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] someone with experience MetadataUrl

2013-08-26 Thread rldhont

Hi Larissa,

MetadatUrl is a web URL link to a metadata file, like an URL Link to an 
INSPIRE metadat file.


Regards,
René-Luc

Le 26/08/2013 15:41, Larissa Junek a écrit :

Hello lists,
the user manual team looks for someone who has experience with Metadata
in QGIS. Can you give an example of free geodata that have a
MetadataUrl?
We would like to insert this example into the user manual.

Kind regards,
Larissa Junek
___
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] FIX BUG #8473 Cannot rename layers in composer legend

2013-08-22 Thread rldhont

Hi all developpers,

I have created a pull request
https://github.com/qgis/Quantum-GIS/pull/824
for a Blocker #8473
http://hub.qgis.org/issues/8473
Who is the composer maintener ?
Someone to review ?

Regards,
René-Luc D'Hont
3Liz


Le 19/08/2013 22:00, Etienne Tourigny a écrit :

you should create a pull request


On Mon, Aug 19, 2013 at 9:31 AM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi all,

The bug 8473 'Cannot rename layers in composer legend' is marked
as Blocker.
http://hub.qgis.org/issues/8473

I have created a branch to supply a patch :
https://github.com/rldhont/Quantum-GIS/tree/8473

You can see the diff :

https://github.com/rldhont/Quantum-GIS/commit/f3edd5445520030c75880109677fb1751cc9d7e1

If you validate this patch I can push it.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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] FIX BUG #8473 Cannot rename layers in composer legend

2013-08-22 Thread rldhont

Hi Marco,

Thanks,

Regards,
René-Luc

Le 22/08/2013 08:46, Marco Hugentobler a écrit :

Hi René-Luc

I assigned the ticket to Radim, since he did a lot of work on the 
composer legend recently.


Regards,
Marco

On 22.08.2013 08:43, rldhont wrote:

Hi all developpers,

I have created a pull request
https://github.com/qgis/Quantum-GIS/pull/824
for a Blocker #8473
http://hub.qgis.org/issues/8473
Who is the composer maintener ?
Someone to review ?

Regards,
René-Luc D'Hont
3Liz


Le 19/08/2013 22:00, Etienne Tourigny a écrit :

you should create a pull request


On Mon, Aug 19, 2013 at 9:31 AM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi all,

The bug 8473 'Cannot rename layers in composer legend' is marked
as Blocker.
http://hub.qgis.org/issues/8473

I have created a branch to supply a patch :
https://github.com/rldhont/Quantum-GIS/tree/8473

You can see the diff :

https://github.com/rldhont/Quantum-GIS/commit/f3edd5445520030c75880109677fb1751cc9d7e1

If you validate this patch I can push it.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto: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



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


___
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] FIX BUG #8473 Cannot rename layers in composer legend

2013-08-22 Thread rldhont

Hi Marco and developpers,

Radim Blazek is offline until Septembre 3.
Someone else to review my patch ?

Regards,
René-Luc D'Hont
3Liz

Le 22/08/2013 08:46, Marco Hugentobler a écrit :

Hi René-Luc

I assigned the ticket to Radim, since he did a lot of work on the 
composer legend recently.


Regards,
Marco

On 22.08.2013 08:43, rldhont wrote:

Hi all developpers,

I have created a pull request
https://github.com/qgis/Quantum-GIS/pull/824
for a Blocker #8473
http://hub.qgis.org/issues/8473
Who is the composer maintener ?
Someone to review ?

Regards,
René-Luc D'Hont
3Liz


Le 19/08/2013 22:00, Etienne Tourigny a écrit :

you should create a pull request


On Mon, Aug 19, 2013 at 9:31 AM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi all,

The bug 8473 'Cannot rename layers in composer legend' is marked
as Blocker.
http://hub.qgis.org/issues/8473

I have created a branch to supply a patch :
https://github.com/rldhont/Quantum-GIS/tree/8473

You can see the diff :

https://github.com/rldhont/Quantum-GIS/commit/f3edd5445520030c75880109677fb1751cc9d7e1

If you validate this patch I can push it.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
mailto: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



--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


___
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] FIX BUG #8473 Cannot rename layers in composer legend

2013-08-20 Thread rldhont

Hi all,

The bug 'Cannot rename layers in composer legend' has been opened because :
1) users cannot update rasterlayer label
2) users cannot update vector layer simple symbol label

I finalized the 2 points with the pull request 824
https://github.com/qgis/Quantum-GIS/pull/824

If it is good for you I can merge it.

René-Luc D'Hont

Le 19/08/2013 22:00, Etienne Tourigny a écrit :

you should create a pull request


On Mon, Aug 19, 2013 at 9:31 AM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


Hi all,

The bug 8473 'Cannot rename layers in composer legend' is marked
as Blocker.
http://hub.qgis.org/issues/8473

I have created a branch to supply a patch :
https://github.com/rldhont/Quantum-GIS/tree/8473

You can see the diff :

https://github.com/rldhont/Quantum-GIS/commit/f3edd5445520030c75880109677fb1751cc9d7e1

If you validate this patch I can push it.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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


[Qgis-developer] FIX BUG #8473 Cannot rename layers in composer legend

2013-08-19 Thread rldhont

Hi all,

The bug 8473 'Cannot rename layers in composer legend' is marked as Blocker.
http://hub.qgis.org/issues/8473

I have created a branch to supply a patch :
https://github.com/rldhont/Quantum-GIS/tree/8473

You can see the diff :
https://github.com/rldhont/Quantum-GIS/commit/f3edd5445520030c75880109677fb1751cc9d7e1

If you validate this patch I can push it.

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] -10 countdown to QGIS 2

2013-07-22 Thread rldhont

HI all,

Thanks to Salvatore Larosa which points that we are at 10 blockers 
before QGIS 2.


But I take a look at the bug trackers :
* 10 issues are blockers bugs
  * 6 target the version 2.0
* 43 issues have high priority
  * 31 are bugs
  * 25 target the version 2.0
* 1036 issues have normal priority
  * 402 target the version 2.0
  * 365 are bugs and target the version 2.0

I would like to know, as a contributor, what we have to do before QGIS 2.0 ?

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] -10 countdown to QGIS 2

2013-07-22 Thread rldhont

Le 22/07/2013 15:04, Paolo Cavallini a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 22/07/2013 14:59, rldhont ha scritto:

HI all,

Thanks to Salvatore Larosa which points that we are at 10 blockers before QGIS 
2.

But I take a look at the bug trackers :
* 10 issues are blockers bugs
   * 6 target the version 2.0
* 43 issues have high priority
   * 31 are bugs
   * 25 target the version 2.0
* 1036 issues have normal priority
   * 402 target the version 2.0
   * 365 are bugs and target the version 2.0

Please note that, although on a separate Redmine instance, sextante issues also 
add
to the figure. Ideally they should be migrated to qgis desktop instance, but 
this
will imply missing the subcategory classification, which IMHO is not good.


I would like to know, as a contributor, what we have to do before QGIS 2.0 ?

Besides going and fix issues yourself, I think the most effective approach so 
far has
been directly sponsoring one developer to go full time bugfixing.
If we get significant new donations, we can keep on supporting this approach.
BTW, Juergen is doing a wonderful job - thanks him, Andreas for starting this, 
and
all the sponsors and donors to make it possible.


How can I find all the bugs the community want to fixe before QGIS 2 ?



All the best.
- -- 
Paolo Cavallini - Faunalia

www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHtLfQACgkQ/NedwLUzIr5ccwCdGfdQIJ0kwa2ObS9+d1ESg9Hq
iQcAoIy5HnoQM12nKps+e9T44rUCogpY
=0LDI
-END PGP SIGNATURE-
___
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] Map of QGIS contributors

2013-07-18 Thread rldhont

Hi Nathan,

If you have a QGIS project with the data (SHP, Spatialite, whatever), we 
can host it on a LizMap setup.

Do you want to administrate it ?

Regards,
René-Luc D'hOnt
3Liz

Le 18/07/2013 08:04, Nathan Woodrow a écrit :
If someone can set up a LizMap setup, or hosting, for this I think it 
would be great. I didn't make a public map to start because not 
everyone might not be keen for everyone to know where they live, but 
having a public map isn't going to hurt for the people that don't 
mind.  I'm also making a map of all the QGIS support providers around 
the world so if we can have a LizMap project setup to show that to it 
would be really cool.


Or maybe even just one project with three different layers. Users, 
Contributors, Support providers, etc.


- Nathan

On Thu, Jul 18, 2013 at 3:58 PM, Paolo Cavallini 
cavall...@faunalia.it mailto:cavall...@faunalia.it wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 18/07/2013 07:02, Nathan Woodrow ha scritto:

 As part of my FOSS4G keynote on QGIS I would really like to show
a map of the all, or
 as many as I can get, developers/contributors on our project. I
think it will be good
 to show the world wide effort that goes into this project and
how you might have a
 developer/contributor living next door :)

Good idea, thanks. Why not taking this chance to make it public,
using QGIS web
client and LizMap? It would be nice to show devs and users on the
same map.
Our web capabilities are unknown, and seriously underestimated, so
this would be
worth the (small) effort IMHO.
All the best.
- --
Paolo Cavallini - Faunalia
www.faunalia.eu http://www.faunalia.eu
Full contact details at www.faunalia.eu/pc http://www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHnhB8ACgkQ/NedwLUzIr5cRgCeJj/hH6gfIek6y8G2xhGE/bWL
1egAnR6rRex7djmlOXaBjoQ/7539P8XO
=li6D
-END PGP SIGNATURE-
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] updateFields and Joins

2013-07-16 Thread rldhont

Hi Marco,

I have made some test and to have vectorJoins, QGIS-server must use 
QgsMapLayerRegistry.


In which method layers can be added to QgsMapLayerRegistry instance ? in 
QgsProjectParser or QgsMSLayerCache ?
In which method layers can be removed to QgsMapLayerRegistry instance ? 
in QgsProjectParser or QgsMSLayerCache ?


Regards,
René-Luc


Le 12/07/2013 16:24, Marco Hugentobler a écrit :

Hi René-Luc

QGIS desktop has some logic during project loading to make sure the 
dependent layers are loaded as well. The server needs to do something 
similar (but it is not implemented currently).


Regards,
Marco

On 12.07.2013 16:20, rldhont wrote:

Hi Marco,

I've made some test about vectorJoins.

QGIS-Server doesn't provide joined attributes in GetFeatureInfo, 
DescribeFeatureType and GetFeature.


I thought it will be enough to add layer-updateFields to have access 
to joined attributes, but it's not enough and my vectorLayer has 
vectorJoins().size()  0.


How can I activate vectorJoins ?

Regards,
René-Luc D'Hont
3Liz
___
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


[Qgis-developer] [QGIS-Server] updateFields and Joins

2013-07-12 Thread rldhont

Hi Marco,

I've made some test about vectorJoins.

QGIS-Server doesn't provide joined attributes in GetFeatureInfo, 
DescribeFeatureType and GetFeature.


I thought it will be enough to add layer-updateFields to have access to 
joined attributes, but it's not enough and my vectorLayer has 
vectorJoins().size()  0.


How can I activate vectorJoins ?

Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] updateFields and Joins

2013-07-12 Thread rldhont

Hi Marco,

Ok, it will be important to load the dependant layer.

Thanks

René-Luc

Le 12/07/2013 16:24, Marco Hugentobler a écrit :

Hi René-Luc

QGIS desktop has some logic during project loading to make sure the 
dependent layers are loaded as well. The server needs to do something 
similar (but it is not implemented currently).


Regards,
Marco

On 12.07.2013 16:20, rldhont wrote:

Hi Marco,

I've made some test about vectorJoins.

QGIS-Server doesn't provide joined attributes in GetFeatureInfo, 
DescribeFeatureType and GetFeature.


I thought it will be enough to add layer-updateFields to have access 
to joined attributes, but it's not enough and my vectorLayer has 
vectorJoins().size()  0.


How can I activate vectorJoins ?

Regards,
René-Luc D'Hont
3Liz
___
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


[Qgis-developer] [QGIS-Server] ComposerMap as overviewFrameMap in GetPrint ?

2013-07-01 Thread rldhont

Hi Marco,

I have created a project with a composer with 2 maps and one as 
overviewFrameMap.

Do you think this one has to be in the WMS Capabilities ?
Do we can exclude this one form WMS Capabilities ?

Regards,
René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] ComposerMap as overviewFrameMap in GetPrint ?

2013-07-01 Thread rldhont

Hi Marco,

The way I understand overview map is :
* fixed extent
* fixed layers
* fixed scale
But it's true that client can specified some informations.

Could we imagine a way to identify overview map in composer ?

Regards,
René-Luc

Le 01/07/2013 17:40, Marco Hugentobler a écrit :

Hi René-Luc

Why do you want the overview frame map be removed from capabilities? 
In a GetPrint request, the extent of all maps is undefined unless 
specified from the client. How would you set the extent of the 
overview map if not given by the client (fixed zoom-out ratio?)


Regards,
Marco

On 01.07.2013 17:01, rldhont wrote:

Hi Marco,

I have created a project with a composer with 2 maps and one as 
overviewFrameMap.

Do you think this one has to be in the WMS Capabilities ?
Do we can exclude this one form WMS Capabilities ?

Regards,
René-Luc





___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System

2013-06-26 Thread rldhont

Hi Marco,

I open an issue :
http://hub.qgis.org/issues/8172

The bug is that QGIS-Server does not initialize qgis.db the qgisUserDbFile

Regards,
René-Luc

Le 26/06/2013 08:12, Marco Hugentobler a écrit :

Hi René-Luc

Please open a ticket about it.

This CRS is stored in the qgs file

Isn't it stored in the srs.db file rather than in the .qgs file?

Regards,
Marco

On 25.06.2013 17:00, rldhont wrote:

Hi Marco,

I probably found an issue and a regression.

QGIS-Server can't work with user defined Coordinate Reference System.

I'm working with customers data and one file is in an exotic 
Coordiante Reference System. This CRS is stored in the qgs file. The 
Desktop can read and use it. The layer is correctly drawn and the CRS 
information is correctly retruned in the dialog.
The QGIS-Server doesn't read it. In the GetCapabilities the CRS 
attribute of the BoundingBox element is empty :


BoundingBoxCRS=maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox
With the 1.8 version I have this :
BoundingBoxCRS=USER:10maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox
And QGIS-Server can't drawning the layer like QGIS-Desktop.


Are you aware of this issue ? Someone else ?
Do I have to open an issue ?


René-Luc D'Hont
3Liz





--
Dr. Marco Hugentobler
Sourcepole -  Linux  Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentob...@sourcepole.ch  http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] [QGIS-Server] Can't read user defined Coordinate Reference System

2013-06-25 Thread rldhont

Hi Marco,

I probably found an issue and a regression.

QGIS-Server can't work with user defined Coordinate Reference System.

I'm working with customers data and one file is in an exotic Coordiante 
Reference System. This CRS is stored in the qgs file. The Desktop can 
read and use it. The layer is correctly drawn and the CRS information is 
correctly retruned in the dialog.
The QGIS-Server doesn't read it. In the GetCapabilities the CRS 
attribute of the BoundingBox element is empty :


BoundingBoxCRS=maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox
With the 1.8 version I have this :
BoundingBoxCRS=USER:10maxx=1.19973e+06minx=657382maxy=1.8786e+06miny=1.61552e+06/BoundingBox
And QGIS-Server can't drawning the layer like QGIS-Desktop.


Are you aware of this issue ? Someone else ?
Do I have to open an issue ?


René-Luc D'Hont
3Liz


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Relative paths in mapserver

2013-06-19 Thread rldhont

Hi Paolo,

There was a bug opened about this problem :
Bug #8027: qgis-server don't understand correctly the relative path in a 
spatialite db

http://hub.qgis.org/issues/8027
This bug has been closed because he was not enough generic.

You can reopen this one or open a new one.

René-Luc D'Hont
3Liz

Le 18/06/2013 19:26, Paolo Cavallini a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi all.
I'm finding problems in using relative paths in qgis mapserver.
The following request works:

http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/test/test.qgsSERVICE=WMSREQUEST=GetMapBBOX=15,20,50,40CRS=EPSG:4326WIDTH=800HEIGHT=480LAYERS=comuniFORMAT=image/png

while this one does not (returns a white page):

http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=test/test.qgsSERVICE=WMSREQUEST=GetMapBBOX=15,20,50,40CRS=EPSG:4326WIDTH=800HEIGHT=480LAYERS=comuniFORMAT=image/png

Am I doing something wrong?
All the best.
- -- 
Paolo Cavallini - Faunalia

www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHAmCsACgkQ/NedwLUzIr5J+wCgoHiV+pdYuJCoh8LyMeRU4jZN
oXQAn37T0LnXvUyb1eOvvwrJNyay+m6c
=G6NJ
-END PGP SIGNATURE-
___
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] Oracle provider tests

2013-06-07 Thread rldhont

Hi Paolo,

I would like to know if you have some trouble to select Oracle layer in 
the Oracle connection dialog ?


I have tested the Oracle Connection for a customer and I didn't be able 
to add Oracle Layer to my project because I can't select it.


Regards,
René-Luc D'Hont

Le 07/06/2013 10:15, Paolo Cavallini a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Il 06/06/2013 10:50, Paolo Cavallini ha scritto:

Il 06/06/2013 10:03, Paolo Cavallini ha scritto:


This happens with multipolygons, not with points.

nor with lines.
We also noticed that one extra line is listed for most or all geom
tables, without the type of geometry. Also, many tables have both a
polygon and a multipolygon layer (or line and multiline).
Is this a known phenomenon? Any explanation?

This seems to be related to the (possibly messy) way the tables have been 
managed, so
probably a local phenomenon.
All the best.
- -- 
Paolo Cavallini - Faunalia

www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlGxlqgACgkQ/NedwLUzIr5yVACgjGGGezO5D8TwcMP/3eYy6Rzx
078An0l5WzwdJceYhVHpNHifIrbbZ/qr
=Wdm0
-END PGP SIGNATURE-
___
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] Oracle provider tests

2013-06-07 Thread rldhont

Hi Andreas,

Thanks for this information.

I have the table listing but I don't that I have to choose the geometry 
type and the primary key column. Do I have to select  the SRS ?


René-Luc D'Hont

Le 07/06/2013 16:09, Andreas Neumann a écrit :

Hi René,

Did you get the table listing?

If yes, you have to choose the geometry type and the primary key column
- otherwise you cannot select and add the layer. Same with Postgis, but
with Postgis there is some good autodetection (depending on the QGIS
version).

Andreas

Am 07.06.2013 16:07, schrieb rldhont:

Hi Paolo,

I would like to know if you have some trouble to select Oracle layer in
the Oracle connection dialog ?

I have tested the Oracle Connection for a customer and I didn't be able
to add Oracle Layer to my project because I can't select it.

Regards,
René-Luc D'Hont

Le 07/06/2013 10:15, Paolo Cavallini a écrit :
Il 06/06/2013 10:50, Paolo Cavallini ha scritto:

Il 06/06/2013 10:03, Paolo Cavallini ha scritto:


This happens with multipolygons, not with points.

nor with lines.
We also noticed that one extra line is listed for most or all geom
tables, without the type of geometry. Also, many tables have both a
polygon and a multipolygon layer (or line and multiline).
Is this a known phenomenon? Any explanation?

This seems to be related to the (possibly messy) way the tables have
been managed, so
probably a local phenomenon.
All the best.
-- Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

___
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

___
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


[Qgis-developer] QGIS Server - GetPrint request does not respect text boxes size and position if dynamic content passed

2013-05-27 Thread rldhont

Hi Marco and other devs,

In src/mapserver/qgsconfigparser.cpp:530 we can read :

  //replace label text
  foreach ( QgsComposerLabel *currentLabel, composerLabels )
  {
QString title = parameterMap.value( currentLabel-id().toUpper() );

if ( title.isEmpty() )
{
  //remove exported labels not referenced in the request
  if ( !currentLabel-id().isEmpty() )
  {
c-removeItem( currentLabel );
delete currentLabel;
  }
  continue;
}

currentLabel-setText( title );
currentLabel-adjustSizeToText();
  }

This code is used to draw composer label with value defined by the QGIS 
WMS Server Request GetPrint.


The bug defined in the issues #7894 http://hub.qgis.org/issues/7894 is 
probably du to the method adjustSizeToText()

Someone can confim it ?

Question for Marco, Why removed label, if the request doesn't define a 
value ? Why not used the default value ?


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Using QgsMapLayer's title for QgsComposerLayerItem ?

2013-05-26 Thread rldhont

Hi all,

I would like to know if youthink it's a good idea to use QgsMapLayer's 
title for QgsComposerLayerItem.


My idea is to use the title, set in layer metadata, in the legend by 
default.


If you're OK, I can push my commit.

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] LizMap is on github

2013-03-04 Thread rldhont

Hi all,

We are in the final stretch for the next version of LizMap, a plugin and 
a web client to publish QGIS projects as web maps based on QGIS-Server.

In this new version, we added new features :
* Geolocation Control
* Measure tools
* OpenStreetMap search via Nominatim
* A simple print control
* Annotations
An another improvement for this version is the transfer of the plugin 
and the web client form bitbucket to github :

* https://github.com/3liz/lizmap-plugin
* https://github.com/3liz/lizmap-web-client
Contributors are welcome!

The features will be freezed today and we would like to release the new 
version in 2 weeks.
Helps to find bugs or localize the plugin and the web application are 
welcome.


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGS harvesting to build a metadata catalog

2013-03-01 Thread rldhont

Hi Régis,

We have the same idea in 3Liz.
We would like in a first time have a minimalist one, with for example 
lizmap as metadata proxy.

We don't have plan yet but we would like to participate.

Cheers,

René-Luc D'Hont
3Liz

Le 01/03/2013 10:22, Régis Haubourg a écrit :

Hi All,
A new need is occuring in my corp, and i would like to know if others have
been thinking of that:

I would like to be able to build a minimalist metadata ISO 199115 catalog
referencing QGIS maps and composers. Xml format of QGS already contains a
lot of feature that allows starting a work.

I see two ways:
- a minimalistic one, generating iso metadata using existing info stored in
QGS. This is not INSPIRE compatible, but allows me to reference maps quickly
(an dirty)
- a complete one, associating a xml iso file inside or along qgs file, if
user want it. All the hard job is tio synchronise xml with qgs content and
events.

Is anybody already working on that ? I would be pleased to share on it.
I have seen that some work is done on QGIS and ISO19110 data catalogs for
JRC , we could share some parts of developpement.

Cheers Régis



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGS-harvesting-to-build-a-metadata-catalog-tp5037698.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 mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Maptips in QGIS Web Client

2013-02-27 Thread rldhont

Hi Andreas,

I think, you can do what you want to do with OpenLayers Popup, just hack 
it ;-)


René-Luc

Le 27/02/2013 11:23, Andreas Neumann a écrit :

Hi,

ExtJS is our main framework. As the ExtJS 3x tooltips do not meet our
demands we are looking for an alternative.

I believe it should be possible to mix ExtJS and jquery - from what I
learned on Google.

Tipped seems to be commercial (licensed per domain) - so we cannot use
that.

Andreas

Am 27.02.2013 11:17, schrieb Pēteris Brūns:

Hi,

this is just a clarification not recommendation.
How is with jQuery and Ext mixing or that is unimportant? Some of the
alternatives are jQuery plugins or in relation with jQuery.

Regards,

On 2013.02.27. 12:00, Andreas Neumann wrote:

Hi all,

We are looking for a replacement for the current map tips in QGIS web
client. The ExtJS 3.x tooltips are sort of buggy and limited, the
OpenLayers popups are not too great either.

Do you know any flexible (and lightweight) JS or CSS based tooltip
libraries that you would recommend?

Necessary features:

* follows mouse when not clicked
* dynamic content
* show/hide
* click fixes tooltip at a given position - allows user to interactively
use tooltip content and click - should disable moving tooltips when open
* different styling - nice defaults

If you have good examples, example code, experiences or recommendations
regarding these maptips/tooltips - please let us know.

Alternatives I found are:

* ExtJS tooltips - currently used
* OpenLayers tooltips - Bernhard Ströbl is currently testing them
* QTIP2: http://craigsworks.com/projects/qtip2/
* Opentip: http://www.opentip.org/
* Tipped: http://projects.nickstakenburg.com/tipped

Can you recommend any of the above?

Thanks,
Andreas
___
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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] New website

2013-02-19 Thread rldhont

Le 19/02/2013 11:02, Paolo Cavallini a écrit :

Il 19/02/2013 10:28, Vincent Picavet ha scritto:

Le mardi 19 février 2013 09:52:17, vinayan a écrit :

+1 the logo definitely needs a redesign..

+1 too.

I think we mostly agree with that, the issue is which route to take to find a 
better
one: contest or bid?
All the best.

+1 contest
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] State of QGIS WFS provider

2013-01-31 Thread rldhont
There is also a GML2 parser in the QgsGeometry Class. The method is 
fromGML2 and is static.


Le 31/01/2013 10:24, Radim Blazek a écrit :

On Thu, Jan 31, 2013 at 7:41 AM, Jeremy Palmer jpal...@linz.govt.nz wrote:

What peoples thoughts about the state of this provider. The currently
limitations I see currently with it is:

poor handling of larges datasets (e.g http://hub.qgis.org/issues/4604)
doesn't support WFS 1.1 or WFS 2.0 (or GML payloads that go along with those
versions)
doesn't support setSubsetString.
poor operator support for filters e.g no LIKE or spatial stuff
Doesn't query GetCapabilities to determine supported functions or operators.
Poor user connection UI (i have a patch to improve this to using
QSortFilterProxyModel)

I wondering if one way to deal to a lot of these issues is to use the OGR
WFS implementation with QGIS. As of OGR 1.9 its support for WFS is very
good. Benefits are:

common code (worked on by more people)
handles filters better
handles talking to different implementations of the standards better (e.g
mapserver, Geoserver, deegree)
handles fetching larger datasets better e.g with paging support etc

Of course continuing to develop the current driver has the advantage of
tighter integration with the QT framework and QGIS. Such as utilising QT
network and proxy management.

Just a note, not directly related to WFS. I am extending QgsWFSData
(GML parser) to be used for WMS GetFeatureInfo in GML format. The
changes are not targeted on performance however (getting schema from
XSD, guessing schema from GML). Just to say that there will be another
provider using the parser.

Radim


Cheers,
Jeremy


This message contains information, which is confidential and may be subject
to legal privilege. If you are not the intended recipient, you must not
peruse, use, disseminate, distribute or copy this message. If you have
received this message in error, please notify us immediately (Phone 0800 665
463 or i...@linz.govt.nz) and destroy the original message. LINZ accepts no
responsibility for changes to this email, or for any attachments, after its
transmission from LINZ. Thank You.

___
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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Defining the SEXTANTE roadmap

2012-12-04 Thread rldhont

Hi Victor, hi all,

Let's start with the second point How do you think we should spend
this money on SEXTANTE?


I think the first point is to fixed bugs, the second like Vincent 
Picavet is Making sextante totally independant of qgis GUI, to be able 
to run sextante

processes in batch in command line mode.

We, at 3Liz, could spend some time on SEXTANTE and find fund to improve 
SEXTANTE. Some of our clients, mainly labs, can be insteresting in 
improving SEXTANTE in QGIS, SEXTANTE has a command line or SEXTANTE as a 
WPS Server.


René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-04 Thread rldhont

Hi Martin,

I think we need both :
* QgsExpression for simple Process on Geometry and simple parameters
* SEXTANTE for complexe Process on Raster, Vector Layer, multiple Layer, etc

After some tests on WFS-Transaction, I need a way to validate my 
geometry before updating or adding feature. In this case SEXTANTE will 
be too big, QgsExpression is exactly what I need no more no less. I do 
not need to Process layer.


For SEXTANTE, Vincent Picavet give the good solution :
/* Making sextante totally independant of qgis GUI, to be able to run 
sextante processes in batch in command line mode//
//This will open the door to use Sextante as a real WPS processes 
generator, //

//with features not unlike an ETL (or ELT)./

René-Luc D'Hont
3Liz

Le 03/12/2012 17:43, Martin Dobias a écrit :


On Mon, Dec 3, 2012 at 2:31 PM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


My idea was to have a simple WPS server based on QGIS-Server, very
simple for simple vector case, and I thought it's a good idea. I
only need to validate geometry, constructing simple buffer or
intersection.

For big processing, I think SEXTANTE is better suitable, but for a
WPS serveur, SEXTANTE didn't need QGIS. We can construct a WPS
Server based on pySextante with pyWPS.

I don't really want to hack QgsExpression, just accesses to very
simple processing, I'll just it. For SEXTANTE, It will be better
to work on someting based on pyWPS.


I don't think PyWPS would be a good choice for WPS server 
implementation. From a broader view, PyWPS does the same thing as 
SEXTANTE does: it allows users to run processes and it allows 
developers to provide custom processes. The main difference is that 
PyWPS processing is meant to be triggered by WPS requests, while 
SEXTANTE processing may be triggered by anything (currently mainly 
GUI). On the backend side, PyWPS supports GRASS, while SEXTANTE offers 
much more by default. It's true that one could attach SEXTANTE to 
PyWPS and let QGIS server call PyWPS all the time, but that would 
bring just additional limitations.


In fact, the server-side WPS support could be implemented directly 
within SEXTANTE, the only thing that would QGIS server do would be to 
pass WPS request to SEXTANTE routine and send its response back to server.


So the bottom line from my point of view:
SEXTANTE +1
QgsExpression -1
PyWPS -1

Regards
Martin



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-03 Thread rldhont

Hi Paolo,
Hi Luca,
Hi all,

I'll explain my idea about QGIS-Server and WPS implementation.

For the next QGIS release, 3Liz has decided to improve QGIS-Server WFS 
implementation. The main improvement is to cover the maximum of the 
1.0.0 standard, especially Transaction. For Transaction and GetFeature 
Request, I needed to extend the QGIS Expressions directly in the QGIS 
core. I added some spatial operators like Intersects, Contains, Disjoint 
but I also added spatial constructor like geomFromWKT, Intersection, 
buffer. The last point means that it's possible to construct a buffer 
with the QGIS Expression system.
I also discovered that in the Filter Encoding OGC  standard, it's 
possible to use Functions and the QGIS Expression system provides a 
reader for this way of describing expressions.
And Nathan Woordrow publishing 'User defined expression functions for 
QGIS' on his blog 
http://woostuff.wordpress.com/2012/11/10/user-defined-expression-functions-for-qgis/ 
. This point explaining how the new QGIS Expression system is 
extendable. And for me it was the start for testing a WPS 
implementation, because I needed WPS for validating geometry for the WFS 
Transaction Request.


I've worked on a WPS project which provides a way to create Process in a 
wide range of programming langage, the ZOO-Project. I've worked on the 
JavaScript Provider. In this project, you have to code to create new 
process.


With the QGIS Expression you just have to know how to write an 
expression to create a new Process. It's not coding.

For example the Buffer Process can be described like this :
buffer(geometry,distance)
You want to create a Process which retrun the buffer without the geometry :
difference(buffer(geometry,distance),geometry)
And we can define a Process which return the result of a QGIS Expression 
as the Process parameter.


My plan for WPS implementation is firstly to find fund, to :
* implement the standard (defining how to declare process, how to use 
the posting XML for Excute Request, how to use QGIS layer from project, etc)

* loading Python scripts for 'User defined expression functions'
* Using Sextante

Sextante is not my priority because it is more complexe, the QGIS-Server 
doesn't load python and python plugins, and we firstly need to provide a 
way to have simple Process and simple way to describe Process, after 
that it will be easy to use SEXTANTE.


Regards,
René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] WPS server

2012-12-03 Thread rldhont

Le 03/12/2012 14:05, Martin Dobias a écrit :

Hi Rene-Luc

On Mon, Dec 3, 2012 at 10:01 AM, rldhont rldh...@gmail.com 
mailto:rldh...@gmail.com wrote:


With the QGIS Expression you just have to know how to write an
expression to create a new Process. It's not coding.
For example the Buffer Process can be described like this :
buffer(geometry,distance)
You want to create a Process which retrun the buffer without the
geometry :
difference(buffer(geometry,distance),geometry)
And we can define a Process which return the result of a QGIS
Expression as the Process parameter.


Thanks for sharing your thoughts about your implementation.

I would like to express my concerns that using QgsExpression may be a 
dead end for a generic WPS servers. Expressions are meant to deal with 
individual features of a vector layer. You're right that it's possible 
to define your own functions and chain them to create processes, but 
this is very limited. For example it's not possible for a process to 
return more results and it's not possible to use one result more than 
once. Just like raster calculator has its own expression engine, also 
the processing service should use a way of describing algorithms that 
suits best its needs - and in our case that's python+SEXTANTE.


Therefore I strongly recommend using SEXTANTE for the WPS server 
backend. I believe that would be less work than trying to hack 
QgsExpression to use it for processing. You would just need to parse 
WPS query, generate a Python script that would run SEXTANTE analysis 
and then create WPS reply. It's probably not desirable to run the 
processing directly within the server process (thread), so this would 
be a better solution either way.


Hi Martin,

My idea was to have a simple WPS server based on QGIS-Server, very 
simple for simple vector case, and I thought it's a good idea. I only 
need to validate geometry, constructing simple buffer or intersection.


For big processing, I think SEXTANTE is better suitable, but for a WPS 
serveur, SEXTANTE didn't need QGIS. We can construct a WPS Server based 
on pySextante with pyWPS.


I don't really want to hack QgsExpression, just accesses to very simple 
processing, I'll just it. For SEXTANTE, It will be better to work on 
someting based on pyWPS.


René-Luc



Regards
Martin


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QGIS-Server WFS Transaction demo

2012-11-30 Thread rldhont

Hi all,

With the Faunalia'help, the QGIS Server WFS implementation is more 
interoperable. You can use QGIS-Server to publish vector data throw WFS 
and use it in QGIS, ArcGIS, gvSIG, and OpenLayers.


To demonstrate the ability to update Spatialite data stored on a server 
with QGIS-Server, I've created a demo :

http://demo.3liz.com/wfst/wfs-transaction-polygon.html
I will add demo for point and linestring :
http://demo.3liz.com/wfst/

Yan can also test the QGS-Server WFS-Transaction implementation with 
your favorite (or less) Desktop GIS.

Feedbacks are welcome.

René-Luc D'Hont
3Liz
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS-Server WFS capabilities demos

2012-11-23 Thread rldhont

Le 23/11/2012 16:22, Paolo Cavallini a écrit :

Il 23/11/2012 16:21, rldhont ha scritto:

Hi all,

I'm proud to annonce that you can test the QGIS-Server WFS capabilities

hi.
you mean WFS-T, right?
all the best.


Hi,

I mean filter in a first step but I will creating WFS-T demos.
You can already test WFS-T with QGIS or other GIS software.
We need feedback.

René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] R Sextante error

2012-11-21 Thread rldhont

Hi Victor,

I put a new patch for the bug #6545 Sextante doen't execute R command on 
Linux

http://hub.qgis.org/issues/6545

If the solution is more robust, I think it will be interesting to apply 
the same changes to all the subprocess.Popen code.


But I saw that some changes like the join has been already done. I think 
the bug has to close.



Le 19/10/2012 15:12, Victor Olaya a écrit :

Thanks!

2012/10/19 rldhont rldh...@gmail.com:

Hi Victor,

Ticket opens and patch supplies
http://hub.qgis.org/issues/6545

René-Luc

Le 19/10/2012 10:15, Victor Olaya a écrit :


That makes sense...

Please open a ticket and provide a patch, and I will apply it ASAP

Many thanks!

Victor

2012/10/19 rldhont rldh...@gmail.com:

Hi all,

With a friend of mine, we identifying a bug on Ubuntu with R in sextante.

The bug is : The python subprocess doesn't execute the command.
The solution put the parameter shell to False on linux for the subprocess
Popen construction.

Python doc
http://docs.python.org/library/subprocess.html#popen-constructor
:
On Windows with shell=True, the COMSPEC environment variable specifies
the
default shell. The only time you need to specify shell=True on Windows is
when the command you wish to execute is built into the shell (e.g. dir or
copy). You do not need shell=True to run a batch file or console-based
executable.

If you want I can open an issue and provide a patch.

Regards,
René-Luc


Le 19/10/2012 10:01, Victor Olaya a écrit :


Agustin

The most useful info here is in the Rlog file that you will find in
[your-user-folder]/sextante

That tells us what was the problem with R (if any). Could you please
send
it?

thanks for your help

Victor

2012/10/19 Agustin Lobo alobolis...@gmail.com:

I find  problem at trying to run R scripts within Sextante
on ubuntu 10.04 + qgis 1.8

I include links to screen captures of the results at attempting to run
the provided example script Create random sample grid:

http://dl.dropbox.com/u/3180464/Rsextante1.jpeg
http://dl.dropbox.com/u/3180464/Rsextante2.jpeg
http://dl.dropbox.com/u/3180464/Rsextante3.jpeg
http://dl.dropbox.com/u/3180464/Rsextante4.jpeg

I've seen a couple or R-Sextante tickets in
http://hub.qgis.org/projects/sextante/issues

but I think that they are not related to this, as it seems that
those users were able to go beyond than I've been. It also seems like R
Sextante
might be working on windows and not on linux?

Should I open a ticket for this in
http://hub.qgis.org/projects/sextante/issues ?

Thanks

Agus

QGIS version 1.8.0-Lisboa
QGIS code revision exported
Compiled against Qt4.6.2
Running against Qt4.6.2
Compiled against GDAL/OGR1.9.1
Running against GDAL/OGR1.9.1
GEOS Version3.3.3
PostgreSQL Client Version8.4.12
SpatiaLite Version2.4.0
QWT Version5.2.0
___
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


___
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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Server features

2012-11-14 Thread rldhont

WFS-T is already in QGIS Server

Le 14/11/2012 16:49, G. Allegri a écrit :

Which features would you port to QGis server?
WFS-T maybe? As far as I remeber it has been already proposed in a 
ticket. TinyOWS, AFAIK, works only with PG, and I think Qgis already 
has what is needed to implement WFS-T.


giovanni

2012/11/14 Paolo Cavallini cavall...@faunalia.it 
mailto:cavall...@faunalia.it


Hi all.
Just read the release notes of Mapserver:
http://www.mapserver.org/development/announce/6-2.html
It would be nice to have some of these nice new features in QGIS
server
also.
All the best.

--
Paolo Cavallini - Faunalia
www.faunalia.eu http://www.faunalia.eu
Full contact details at www.faunalia.eu/pc http://www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario

___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org mailto: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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Server features

2012-11-14 Thread rldhont

Hi Paolo,

Which features are you interested in ?

Regards,
René-Luc

Le 14/11/2012 16:33, Paolo Cavallini a écrit :

Hi all.
Just read the release notes of Mapserver:
http://www.mapserver.org/development/announce/6-2.html
It would be nice to have some of these nice new features in QGIS server
also.
All the best.



___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Server features

2012-11-14 Thread rldhont

Le 14/11/2012 16:33, Paolo Cavallini a écrit :

Hi all.
Just read the release notes of Mapserver:
http://www.mapserver.org/development/announce/6-2.html
It would be nice to have some of these nice new features in QGIS server
also.
All the best.



If you are interested in using your own SVG marker in QGIS Server, we 
have to close the bug #2781
Relative paths to SvgMarker doesn't work in new symbology 
http://hub.qgis.org/issues/2781


A patch has been proposed. It contains the change of only one line. If 
someone who well knows the Symbology part of QGIS can review this patch, 
QGIS Server can have this new feature easily.


Regards,
René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Spatial Operator in QgsExpression

2012-11-06 Thread rldhont

Hi all,

As Martin asked me, I updated my code and implemented Spatial Operator 
in QgsExpression as NodeFunction.

You can review the code here :
https://github.com/rldhont/Quantum-GIS/tree/6535

I made 2 tests :
The first one with QGIS Server, I tested QgsExpression with OGC Filter 
Encoding in which there were spatial operators like BBOX, Intersects, 
Within, etc.
The second one with QGIS Desktop, I tested QgsExpression with the search 
request UI for point layer in which I wrote spatial operators like :
* bbox( $geometry, geomFromWKT( 'LINESTRING( 3.80871 43.5716, 3.93728 
43.6502)' ) )
* intersects( $geometry, geomFromWKT( 'POLYGON((3.80871 43.5716, 3.80871 
43.6502, 3.93728 43.6502, 3.80871 43.5716))' ) )
* within( $geometry, geomFromWKT( 'POLYGON((3.80871 43.5716, 3.80871 
43.6502, 3.93728 43.6502, 3.80871 43.5716))' ) )
* contains( geomFromWKT( 'POLYGON((3.80871 43.5716, 3.80871 43.6502, 
3.93728 43.6502, 3.80871 43.5716))', $geometry ) )


I only wrote some QgsExpression::NodeFunction, I made nothing in UI.

What do you think about this implementation ?


Le 30/10/2012 10:06, Martin Dobias a écrit :

Hi Rene-Luc

On Mon, Oct 29, 2012 at 6:26 PM, rldhont rldh...@gmail.com wrote:

Hi all,

As Marco has said for the review of POST WFS GetFeature Request in
QGIS-Server #6535, it would be interesting to use QGS Expression for
OGC:Filter instead of an old code wrote just for the QGIS-Server.

Yes, this would be indeed a good thing to use QgsExpression to
evaluate OGC filter expressions, thanks for working on that!



I've started writing Spatial Operator in QgsExpression, You can see the code
here :
https://github.com/rldhont/Quantum-GIS/tree/6535

I would like to know how you imagine the dump and the text version of OGC
Spatial Operator (BBOX, Intercets, Crosses, Contains, Disjoint, Within,
etc).
I've started with text like this :
* SpatialOperator('The geometry as WKT')
What do you think about this ?

I would have few comments regarding your code:
- I don't think that creation of spatial operator class is the right
way to go. Spatial operators can be handled as ordinary functions -
there is already generic support for functions, so let's use that.
Also, the functions should be able to handle arbitrary geometry, not
necessarily just the one stored in the feature... the geometry stored
in the feature could be just another special column, e.g. $geom
- The geometry is just another type of value, so it is preferable to
store it within QVariant, so it can be passed around as a normal
value. You will need to enable its use in QVariant with
Q_DECLARE_METATYPE(QgsGeometry*)
- geometries need a way to construct them - currently you build them
explicitly from GML... I would suggest creating functions like
GeomFromWKT and GeomFromGML that would take a string parameter and
return a QgsGeometry* inside a QVariant. One could also consider
adding simple geometry accessor functions like GeomToWKT.

So, to answer your original question, the syntax would be e.g.:
Intersects($geom, GeomFromWKT('POINT(10 20)'))

In future I would like to have support not only for spatial operators,
but also general spatial processing (intersection, buffer etc) - that
should be rather easy to add once we have some support for geometries.

Regards
Martin


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Spatial Operator in QgsExpression

2012-10-29 Thread rldhont

Hi all,

As Marco has said for the review of POST WFS GetFeature Request in 
QGIS-Server #6535, it would be interesting to use QGS Expression for 
OGC:Filter instead of an old code wrote just for the QGIS-Server.


I've started writing Spatial Operator in QgsExpression, You can see the 
code here :

https://github.com/rldhont/Quantum-GIS/tree/6535

I would like to know how you imagine the dump and the text version of 
OGC Spatial Operator (BBOX, Intercets, Crosses, Contains, Disjoint, 
Within, etc).

I've started with text like this :
* SpatialOperator('The geometry as WKT')
What do you think about this ?
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] #6535 Support WFS Post GetFeature Request in QGIS-Server - Review

2012-10-22 Thread rldhont

Hi all,

I have created a branch on my github to implement the issue 6535 :
https://github.com/rldhont/Quantum-GIS/tree/6535
I supplied a patch on hub.qgis.org
http://hub.qgis.org/issues/6535/

Because I updated the filter capabilities, I added spatial filter 
capabilities, I would like a review or test about my implementation.
I made test with OpenLayers and its WFS Protocol. I tested BBOX and 
Intersects, but I added Contains, Crosses, Disjoint, Equals, Overlaps, 
Touches and Within filter capability.


Marco, if you think I can merge or apply the patch, I'll do it.

Regards,
René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] R Sextante error

2012-10-19 Thread rldhont

Hi all,

With a friend of mine, we identifying a bug on Ubuntu with R in sextante.

The bug is : The python subprocess doesn't execute the command.
The solution put the parameter shell to False on linux for the 
subprocess Popen construction.


Python doc 
http://docs.python.org/library/subprocess.html#popen-constructor :
On Windows with shell=True, the COMSPEC environment variable specifies 
the default shell. The only time you need to specify shell=True on 
Windows is when the command you wish to execute is built into the shell 
(e.g. dir or copy). You do not need shell=True to run a batch file or 
console-based executable.


If you want I can open an issue and provide a patch.

Regards,
René-Luc


Le 19/10/2012 10:01, Victor Olaya a écrit :

Agustin

The most useful info here is in the Rlog file that you will find in
[your-user-folder]/sextante

That tells us what was the problem with R (if any). Could you please send it?

thanks for your help

Victor

2012/10/19 Agustin Lobo alobolis...@gmail.com:

I find  problem at trying to run R scripts within Sextante
on ubuntu 10.04 + qgis 1.8

I include links to screen captures of the results at attempting to run
the provided example script Create random sample grid:

http://dl.dropbox.com/u/3180464/Rsextante1.jpeg
http://dl.dropbox.com/u/3180464/Rsextante2.jpeg
http://dl.dropbox.com/u/3180464/Rsextante3.jpeg
http://dl.dropbox.com/u/3180464/Rsextante4.jpeg

I've seen a couple or R-Sextante tickets in
http://hub.qgis.org/projects/sextante/issues

but I think that they are not related to this, as it seems that
those users were able to go beyond than I've been. It also seems like R Sextante
might be working on windows and not on linux?

Should I open a ticket for this in
http://hub.qgis.org/projects/sextante/issues ?

Thanks

Agus

QGIS version 1.8.0-Lisboa
QGIS code revision exported
Compiled against Qt4.6.2
Running against Qt4.6.2
Compiled against GDAL/OGR1.9.1
Running against GDAL/OGR1.9.1
GEOS Version3.3.3
PostgreSQL Client Version8.4.12
SpatiaLite Version2.4.0
QWT Version5.2.0
___
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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] R Sextante error

2012-10-19 Thread rldhont

Hi Victor,

Ticket opens and patch supplies
http://hub.qgis.org/issues/6545

René-Luc

Le 19/10/2012 10:15, Victor Olaya a écrit :

That makes sense...

Please open a ticket and provide a patch, and I will apply it ASAP

Many thanks!

Victor

2012/10/19 rldhont rldh...@gmail.com:

Hi all,

With a friend of mine, we identifying a bug on Ubuntu with R in sextante.

The bug is : The python subprocess doesn't execute the command.
The solution put the parameter shell to False on linux for the subprocess
Popen construction.

Python doc http://docs.python.org/library/subprocess.html#popen-constructor
:
On Windows with shell=True, the COMSPEC environment variable specifies the
default shell. The only time you need to specify shell=True on Windows is
when the command you wish to execute is built into the shell (e.g. dir or
copy). You do not need shell=True to run a batch file or console-based
executable.

If you want I can open an issue and provide a patch.

Regards,
René-Luc


Le 19/10/2012 10:01, Victor Olaya a écrit :


Agustin

The most useful info here is in the Rlog file that you will find in
[your-user-folder]/sextante

That tells us what was the problem with R (if any). Could you please send
it?

thanks for your help

Victor

2012/10/19 Agustin Lobo alobolis...@gmail.com:

I find  problem at trying to run R scripts within Sextante
on ubuntu 10.04 + qgis 1.8

I include links to screen captures of the results at attempting to run
the provided example script Create random sample grid:

http://dl.dropbox.com/u/3180464/Rsextante1.jpeg
http://dl.dropbox.com/u/3180464/Rsextante2.jpeg
http://dl.dropbox.com/u/3180464/Rsextante3.jpeg
http://dl.dropbox.com/u/3180464/Rsextante4.jpeg

I've seen a couple or R-Sextante tickets in
http://hub.qgis.org/projects/sextante/issues

but I think that they are not related to this, as it seems that
those users were able to go beyond than I've been. It also seems like R
Sextante
might be working on windows and not on linux?

Should I open a ticket for this in
http://hub.qgis.org/projects/sextante/issues ?

Thanks

Agus

QGIS version 1.8.0-Lisboa
QGIS code revision exported
Compiled against Qt4.6.2
Running against Qt4.6.2
Compiled against GDAL/OGR1.9.1
Running against GDAL/OGR1.9.1
GEOS Version3.3.3
PostgreSQL Client Version8.4.12
SpatiaLite Version2.4.0
QWT Version5.2.0
___
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


___
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


[Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread rldhont

Hi all,

Because of some changes in the QgsGeometry class with the QGIS Server 
WFS-T integration, I would like to update the WFS Provider.


I update it and I test it. The result is a segfault because of a 
undefined symbol.


I verifying the linkage between my 
build/lib/qgis/plugins/libwfsprovider.so and libqgis-core.so. I thought 
it is linked to my build/lib/libqgis_core.so unfortunatly it is linked 
to the installed libqgis_core /usr/lib/libqgis_core.so


There is an option for the compilation to force the linkage of plugins 
to the building libqgis_core ?


Thanks,

René-Luc
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Issue with WFS Provider .so linkage

2012-10-04 Thread rldhont

Le 04/10/2012 15:40, Etienne Tourigny a écrit :

Have you rebuilt the entire source tree or just the provider?


The entire tree



On Thu, Oct 4, 2012 at 10:27 AM, rldhont rldh...@gmail.com wrote:

Hi all,

Because of some changes in the QgsGeometry class with the QGIS Server WFS-T
integration, I would like to update the WFS Provider.

I update it and I test it. The result is a segfault because of a undefined
symbol.

I verifying the linkage between my build/lib/qgis/plugins/libwfsprovider.so
and libqgis-core.so. I thought it is linked to my build/lib/libqgis_core.so
unfortunatly it is linked to the installed libqgis_core
/usr/lib/libqgis_core.so

There is an option for the compilation to force the linkage of plugins to
the building libqgis_core ?

Thanks,

René-Luc
___
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] QGIS Server WFS-T integration

2012-10-03 Thread rldhont

Hi Marco,

I updated my branch with the definition of QGS_NAMESPACE and OGC_NAMESPACE.

For the GML, I'll update QgsGeometry class ?

For Query_String, I found the code with a google search.

I test WFS-T with a jQuery XML POST and with QGIS.

Cheers,
René-Luc D'Hont
3Liz

Le 03/10/2012 09:26, Marco Hugentobler a écrit :

Hi René-Luc

Thank you for this nice addition, WFS-T will certainly be a great 
contribution to QGIS server!


I tried to compile the wfs_server_transaction branch, but it fails 
with the following error message (QGS_NAMESPACE and OGC_NAMESPACE are 
not defined):


/home/marco/src/Quantum-GIS/src/mapserver/qgswfsserver.cpp:718:35: 
Fehler: »QGS_NAMESPACE« wurde in diesem Gültigkeitsbereich nicht 
definiert
/home/marco/src/Quantum-GIS/src/mapserver/qgswfsserver.cpp:721:39: 
Fehler: »OGC_NAMESPACE« wurde in diesem Gültigkeitsbereich nicht 
definiert



Maybe there is a commit that you did not push to github yet?

Then, looking at qgswfsserver.cpp, it seems that most of the 2000 code 
lines deal with GML. It would be good to separate that into a GML 
handling class on its own (which could also be used from 
qgswfsprovider, at the moment, the gml reading seems to be duplicated).


In QgsPostRequestHandler, the code looks for the environment variable 
QUERY_STRING. I thought QUERY_STRING is only defined in http get 
requests and in post requests, there is only CONTENT_LENGTH ?


Which WFS client did you use for testing (QGIS desktop)?

Regards,
Marco




On 01.10.2012 15:21, rldhont wrote:

Hi all,

I need some review for the WFS-T implementation in QGIS-Server.
https://github.com/rldhont/Quantum-GIS/tree/wfs_server_transaction
This branche adds the capability to the QGIS Server to understand 
transaction, adds a way to define which WFS layer can be editable and 
if the administrator authorize insert and delete, adds an 
enhancements for the WFS provider to support WFS-T which needs extra 
parameters.


For the configuration on the WFS-T part, Update is possible if the 
layer is publish as a WFS layer, Insert is possible only if Update is 
possible and Delete is possible only if Insert is possible. You can 
check Delete on a layer and it's automatically a WFS layer, or 
uncheck Publied on a layer and all the checkbox are unchecked.


I have testing QGIS-Server transaction with an ESRI ShapeFile and a 
Spatialite database. The both doesn't return a good FID, but only 
Spatialite has persistent FID. The Spatialite provider probably needs 
an update.

I test my QGIS-Server with QGIS and some JavaScript code.

René-Luc D'Hont
3Liz
___
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


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] QGIS Server WFS-T integration

2012-10-03 Thread rldhont

Hi Marco,

I updated the QgsGeometry Class to add :
* fromGML2 static method
* exportToGML2 method

If you want to test QGIS Server Transaction you need to use the QGIS of 
my branch, because I update the WFS provider to POST transaction with a 
query_string (in the case of QGIS Server the map parameter).


Regards,
René-Luc

Le 03/10/2012 11:44, Marco Hugentobler a écrit :

Hi René-Luc

For the GML, I'll update QgsGeometry class ?

Yes, it will be good to have everything in one place (also for a 
potential redesign of QgsGeometry). But the GML methods should not be 
exported to the bindings, maybe you could add a comment in that 
direction to qgsgeometry.h.


Regards,
Marco

On 03.10.2012 10:03, rldhont wrote:

Hi Marco,

I updated my branch with the definition of QGS_NAMESPACE and 
OGC_NAMESPACE.


For the GML, I'll update QgsGeometry class ?

For Query_String, I found the code with a google search.

I test WFS-T with a jQuery XML POST and with QGIS.

Cheers,
René-Luc D'Hont
3Liz

Le 03/10/2012 09:26, Marco Hugentobler a écrit :

Hi René-Luc

Thank you for this nice addition, WFS-T will certainly be a great 
contribution to QGIS server!


I tried to compile the wfs_server_transaction branch, but it fails 
with the following error message (QGS_NAMESPACE and OGC_NAMESPACE 
are not defined):


/home/marco/src/Quantum-GIS/src/mapserver/qgswfsserver.cpp:718:35: 
Fehler: »QGS_NAMESPACE« wurde in diesem Gültigkeitsbereich nicht 
definiert
/home/marco/src/Quantum-GIS/src/mapserver/qgswfsserver.cpp:721:39: 
Fehler: »OGC_NAMESPACE« wurde in diesem Gültigkeitsbereich nicht 
definiert



Maybe there is a commit that you did not push to github yet?

Then, looking at qgswfsserver.cpp, it seems that most of the 2000 
code lines deal with GML. It would be good to separate that into a 
GML handling class on its own (which could also be used from 
qgswfsprovider, at the moment, the gml reading seems to be duplicated).


In QgsPostRequestHandler, the code looks for the environment 
variable QUERY_STRING. I thought QUERY_STRING is only defined in 
http get requests and in post requests, there is only CONTENT_LENGTH ?


Which WFS client did you use for testing (QGIS desktop)?

Regards,
Marco




On 01.10.2012 15:21, rldhont wrote:

Hi all,

I need some review for the WFS-T implementation in QGIS-Server.
https://github.com/rldhont/Quantum-GIS/tree/wfs_server_transaction
This branche adds the capability to the QGIS Server to understand 
transaction, adds a way to define which WFS layer can be editable 
and if the administrator authorize insert and delete, adds an 
enhancements for the WFS provider to support WFS-T which needs 
extra parameters.


For the configuration on the WFS-T part, Update is possible if the 
layer is publish as a WFS layer, Insert is possible only if Update 
is possible and Delete is possible only if Insert is possible. You 
can check Delete on a layer and it's automatically a WFS layer, or 
uncheck Publied on a layer and all the checkbox are unchecked.


I have testing QGIS-Server transaction with an ESRI ShapeFile and a 
Spatialite database. The both doesn't return a good FID, but only 
Spatialite has persistent FID. The Spatialite provider probably 
needs an update.

I test my QGIS-Server with QGIS and some JavaScript code.

René-Luc D'Hont
3Liz
___
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







___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


  1   2   >