Re: [Qgis-developer] QWC Highlight feature not working from urlrewrite search

2015-06-11 Thread Giuseppe De Marco
apparently highlighting is not yet supported but will be in the future


2015-06-04 17:16 GMT+02:00 Giuseppe De Marco demarco.giuse...@gmail.com:
 hello,
 I am trying to obtain highlighting by urlrewrite search
 and configured GlobalOptions.js in url rewrite search part as follows:

 highlightFeature: true,
 highlightLabel: 'my column',
 //selectionLayer: 'mylayer',
 selectionZoom: 0,
 doZoomToExtent: true

 wms request turns out as follows:
 http://qgis-web-client.localhost/wms/prg?LAYERS=terreni%2Cfabbricati%2CPIANI%20PARTICOLAREGGIATI%2CCONFINE%2C390070%2C390110%2C390120OPACITIES=255,255,255,255,255,255,255FORMAT=image%2FpngTRANSPARENT=FALSEDPI=96VERSION=1.3.0EXCEPTIONS=INIMAGESERVICE=WMSREQUEST=GetMapSTYLES=CRS=EPSG%3A23033HIGHLIGHT_GEOM=MULTIPOLYGON(((382338.19%204615777.86%2C382339.09%204615777.84%2C382347.99%204615777.52%2C382353.89%204615742.68%2C382359.55%204615709.82%2C382355.4%204615709.14%2C382349.86%204615708.39%2C382338.19%204615777.86)))HIGHLIGHT_SYMBOL=%3CStyledLayerDescriptor%3E%3CUserStyle%3E%3CName%3EHighlight%3C%2FName%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CName%3ESymbol%3C%2FName%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CSvgParameter%20name%3D%22fill%22%3E%23FF%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22fill-opacity%22%3E0.3%3C%2FSvgParameter%3E%3C%2FFill%3E%3CStroke%3E%3CSvgParameter%20name%3D%22stroke%22%3E%23FF%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22stroke-width%22%3E2
 
%3C%2FSvgParameter%3E%3C%2FStroke%3E%3C%2FPolygonSymbolizer%3E%3C%2FRule%3E%3C%2FFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FStyledLayerDescriptor%3EHIGHLIGHT_LABELSTRING=235HIGHLIGHT_LABELSIZE=12HIGHLIGHT_LABELCOLOR=%23FFHIGHLIGHT_LABELBUFFERCOLOR=%23FFHIGHLIGHT_LABELBUFFERSIZE=1BBOX=382226.38939542,4615708.39,382471.35060458,4615777.86WIDTH=1079HEIGHT=306

 but image doesn't show the polygon highlighted...

 any clue?
 thank you
 --
 Dott. Agr. Giuseppe De Marco
 RSPP settore ATECO 1
 Cell./Mobile: +39 3935041115
 Fax.: +39 07751850973
 PEC: giuseppe.de_ma...@epap.conafpec.it



-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 07751850973
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] QWC Highlight feature not working from urlrewrite search

2015-06-04 Thread Giuseppe De Marco
hello,
I am trying to obtain highlighting by urlrewrite search
and configured GlobalOptions.js in url rewrite search part as follows:

highlightFeature: true,
highlightLabel: 'my column',
//selectionLayer: 'mylayer',
selectionZoom: 0,
doZoomToExtent: true

wms request turns out as follows:
http://qgis-web-client.localhost/wms/prg?LAYERS=terreni%2Cfabbricati%2CPIANI%20PARTICOLAREGGIATI%2CCONFINE%2C390070%2C390110%2C390120OPACITIES=255,255,255,255,255,255,255FORMAT=image%2FpngTRANSPARENT=FALSEDPI=96VERSION=1.3.0EXCEPTIONS=INIMAGESERVICE=WMSREQUEST=GetMapSTYLES=CRS=EPSG%3A23033HIGHLIGHT_GEOM=MULTIPOLYGON(((382338.19%204615777.86%2C382339.09%204615777.84%2C382347.99%204615777.52%2C382353.89%204615742.68%2C382359.55%204615709.82%2C382355.4%204615709.14%2C382349.86%204615708.39%2C382338.19%204615777.86)))HIGHLIGHT_SYMBOL=%3CStyledLayerDescriptor%3E%3CUserStyle%3E%3CName%3EHighlight%3C%2FName%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CName%3ESymbol%3C%2FName%3E%3CPolygonSymbolizer%3E%3CFill%3E%3CSvgParameter%20name%3D%22fill%22%3E%23FF%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22fill-opacity%22%3E0.3%3C%2FSvgParameter%3E%3C%2FFill%3E%3CStroke%3E%3CSvgParameter%20name%3D%22stroke%22%3E%23FF%3C%2FSvgParameter%3E%3CSvgParameter%20name%3D%22stroke-width%22%3E2%3
 
C%2FSvgParameter%3E%3C%2FStroke%3E%3C%2FPolygonSymbolizer%3E%3C%2FRule%3E%3C%2FFeatureTypeStyle%3E%3C%2FUserStyle%3E%3C%2FStyledLayerDescriptor%3EHIGHLIGHT_LABELSTRING=235HIGHLIGHT_LABELSIZE=12HIGHLIGHT_LABELCOLOR=%23FFHIGHLIGHT_LABELBUFFERCOLOR=%23FFHIGHLIGHT_LABELBUFFERSIZE=1BBOX=382226.38939542,4615708.39,382471.35060458,4615777.86WIDTH=1079HEIGHT=306

but image doesn't show the polygon highlighted...

any clue?
thank you
-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 07751850973
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] new plugin website metadata.txt requirements for plugins

2014-03-28 Thread Giuseppe De Marco
you were right a corrupt zip file was my issue ...

2014-03-28 9:04 GMT+01:00 Alessandro Pasotti apaso...@gmail.com:
 2014-03-28 0:36 GMT+01:00 Giuseppe De Marco demarco.giuse...@gmail.com:

 uploading plugins tonight involved having metadata.txt and __init__.py
 to be located under /help folder ... bug or new validation rule ?



 The recent ugrade contained no changes in the validation rules, the only
 change was adding the about field to optional attributes in metadata.txt


 --
 Alessandro Pasotti
 w3:   www.itopen.it



-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] new plugin website metadata.txt requirements for plugins

2014-03-27 Thread Giuseppe De Marco
uploading plugins tonight involved having metadata.txt and __init__.py
to be located under /help folder ... bug or new validation rule ?


-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] public key on hub.qgis.org problem

2014-03-25 Thread Giuseppe De Marco
I was trying to upload a plugin version on hub.qgis.org
after updating my rss key on laptop, and I was asked for a password
after entering  $ git push origin master

opening a terminal and issuing ssh -v gito...@qgis.org 
I get

OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to qgis.org [140.211.15.67] port 22.
debug1: Connection established.
debug1: identity file /home/joe/.ssh/id_rsa type 1
debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
debug1: identity file /home/joe/.ssh/id_rsa-cert type -1
debug1: identity file /home/joe/.ssh/id_dsa type -1
debug1: identity file /home/joe/.ssh/id_dsa-cert type -1
debug1: identity file /home/joe/.ssh/id_ecdsa type -1
debug1: identity file /home/joe/.ssh/id_ecdsa-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.1
debug1: Remote protocol version 2.0, remote software version
OpenSSH_5.5p1 Debian-6+squeeze4
debug1: match: OpenSSH_5.5p1 Debian-6+squeeze4 pat OpenSSH_5*
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server-client aes128-ctr hmac-md5 none
debug1: kex: client-server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Server host key: RSA a7:05:f6:a5:02:ec:92:73:4a:0a:12:16:4c:11:e1:1c
debug1: Host 'qgis.org' is known and matches the RSA host key.
debug1: Found key in /home/joe/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/joe/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/joe/.ssh/id_dsa
debug1: Trying private key: /home/joe/.ssh/id_ecdsa
debug1: Next authentication method: password
gito...@qgis.org's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
gito...@qgis.org's password:
debug1: Authentications that can continue: publickey,password
Permission denied, please try again.
gito...@qgis.org's password:
debug1: Authentications that can continue: publickey,password
debug1: No more authentication methods to try.
Permission denied (publickey,password).


So I went to my account looking for my public keys at:
http://hub.qgis.org/my/public_keys
but my browser tells me page not found error

anyone could help?

thank you

-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] public key on hub.qgis.org problem

2014-03-25 Thread Giuseppe De Marco
I guess so since you're telling me so let's say that I choose SCM -
Git inside my hub.qgis.org
account and name it my_plugin, then I would have to add this
repository with git inside my local folder:

git init
git add .
git commit -m 'init repo'
git remote add origin gito...@qgis.org:my_plugin
git push origin master

and it should be working
right or am I missing something?




2014-03-25 18:33 GMT+01:00 Gino Pirelli lui...@gmail.com:
 I don't remember there is need of a key to upload plugins... am I wrong?

 git push origin master
 could be a problem related to you remote git repository configuration?

 ciao Luigi Pirelli




 On 25 March 2014 18:23, Giuseppe De Marco demarco.giuse...@gmail.com
 wrote:

 I was trying to upload a plugin version on hub.qgis.org
 after updating my rss key on laptop, and I was asked for a password
 after entering  $ git push origin master

 opening a terminal and issuing ssh -v gito...@qgis.org 
 I get

 OpenSSH_6.2p2 Ubuntu-6ubuntu0.1, OpenSSL 1.0.1e 11 Feb 2013
 debug1: Reading configuration data /etc/ssh/ssh_config
 debug1: /etc/ssh/ssh_config line 19: Applying options for *
 debug1: Connecting to qgis.org [140.211.15.67] port 22.
 debug1: Connection established.
 debug1: identity file /home/joe/.ssh/id_rsa type 1
 debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
 debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
 debug1: identity file /home/joe/.ssh/id_rsa-cert type -1
 debug1: identity file /home/joe/.ssh/id_dsa type -1
 debug1: identity file /home/joe/.ssh/id_dsa-cert type -1
 debug1: identity file /home/joe/.ssh/id_ecdsa type -1
 debug1: identity file /home/joe/.ssh/id_ecdsa-cert type -1
 debug1: Enabling compatibility mode for protocol 2.0
 debug1: Local version string SSH-2.0-OpenSSH_6.2p2 Ubuntu-6ubuntu0.1
 debug1: Remote protocol version 2.0, remote software version
 OpenSSH_5.5p1 Debian-6+squeeze4
 debug1: match: OpenSSH_5.5p1 Debian-6+squeeze4 pat OpenSSH_5*
 debug1: SSH2_MSG_KEXINIT sent
 debug1: SSH2_MSG_KEXINIT received
 debug1: kex: server-client aes128-ctr hmac-md5 none
 debug1: kex: client-server aes128-ctr hmac-md5 none
 debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
 debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
 debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
 debug1: Server host key: RSA
 a7:05:f6:a5:02:ec:92:73:4a:0a:12:16:4c:11:e1:1c
 debug1: Host 'qgis.org' is known and matches the RSA host key.
 debug1: Found key in /home/joe/.ssh/known_hosts:1
 debug1: ssh_rsa_verify: signature correct
 debug1: SSH2_MSG_NEWKEYS sent
 debug1: expecting SSH2_MSG_NEWKEYS
 debug1: SSH2_MSG_NEWKEYS received
 debug1: Roaming not allowed by server
 debug1: SSH2_MSG_SERVICE_REQUEST sent
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug1: Authentications that can continue: publickey,password
 debug1: Next authentication method: publickey
 debug1: Offering RSA public key: /home/joe/.ssh/id_rsa
 debug1: Authentications that can continue: publickey,password
 debug1: Trying private key: /home/joe/.ssh/id_dsa
 debug1: Trying private key: /home/joe/.ssh/id_ecdsa
 debug1: Next authentication method: password
 gito...@qgis.org's password:
 debug1: Authentications that can continue: publickey,password
 Permission denied, please try again.
 gito...@qgis.org's password:
 debug1: Authentications that can continue: publickey,password
 Permission denied, please try again.
 gito...@qgis.org's password:
 debug1: Authentications that can continue: publickey,password
 debug1: No more authentication methods to try.
 Permission denied (publickey,password).


 So I went to my account looking for my public keys at:
 http://hub.qgis.org/my/public_keys
 but my browser tells me page not found error

 anyone could help?

 thank you

 --
 Dott. Agr. Giuseppe De Marco
 RSPP settore ATECO 1
 Cell./Mobile: +39 3935041115
 Fax.: +39 0503869174
 PEC: giuseppe.de_ma...@epap.conafpec.it
 ___
 Qgis-developer mailing list
 Qgis-developer@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-developer





-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] uploading plugin files to hub.qgis.org

2014-03-07 Thread Giuseppe De Marco
hello,
I already uploaded the release of the SelectTools and MultiEdit to
plugins.qgis.org and
this time I was looking to host the source code and bug tracker of the plugins.

I thank you for forwarding this issue and for your attention,

By for now.


Giuseppe De Marco

2014-03-07 0:32 GMT+01:00 Alex Mandel tech_...@wildintellect.com:
 Are you trying to upload a release of your plugin or looking to host the
 source code and bug tracker of the plugin?

 Release of plugins is handled separately via plugins.qgis.org

 What you've pointed out is a bug that the admins need to figure out why
 something changed. I have a working repo key with hub as do many others,
 so the interface was there at some point. I'm copying the person who
 originally setup the site to see if they know what's going on.

 Thanks,
 Alex

 On 03/05/2014 12:18 AM, Giuseppe De Marco wrote:
 Allright then what is the working procedure to upload a plugin
 other than having an external git repo.
 Besides given that you have to upload to an external
 server how can you modify your repository configuration
 inside hub.qgis.org to point to your external repo?

 thank you!

 2014-03-04 21:21 GMT+01:00 Alex Mandel tech_...@wildintellect.com:
 On 03/04/2014 04:33 AM, Giuseppe De Marco wrote:
 Hello,
 I have registered at hub.qgis.org and I have created 2 subprojects 
 activating
 the option repository in settings.
 I have some problems authenticating with git:
 1) I cannot upload my public key because it says that
 http://hub.qgis.org/my/public_keys page not found
 2) obviously when I try to git push origin it asks for a password..

 this is what I get
 joe@U36SD:~/.qgis2/python/plugins/SelectTools$ git remote -v
 origingito...@qgis.org:selecttools.git (fetch)
 origingito...@qgis.org:selecttools.git (push)

 can somebody help me out?

 Thank you


 You are right, something is amiss. I can't tell which Redmine plugin is
 supposed to handle that. I expected to see something like the Gitosis
 plugin but there's only a post-commit hook and a qgis customization
 plugin. Neither of which integrate with git keys on the back end.

 Did someone change the configuration of Redmine?

 Thanks,
 Alex







-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] export to dxf qgis 2.2 issues

2014-03-07 Thread Giuseppe De Marco
hello,
using save as function from layer to export to dxf from a vector polygon
I ran into 2 issues:
1) export version of dxf cannot be opened by autocad 2009 unless converted by a
more recent version of autocad: wouldn't it be nice to have dxf
version to choose?
2) Polygon Vector gets exported only as hatching and not as polylines
which would
be the right way to export to dxf format.

at the moment for issue 2) there's a workaround: converting polygons
to lines function from Vector --Geometry tools and then export to
dxf, but the issue 1)
still remains

Giuseppe De Marco

-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] uploading plugin files to hub.qgis.org

2014-03-05 Thread Giuseppe De Marco
Allright then what is the working procedure to upload a plugin
other than having an external git repo.
Besides given that you have to upload to an external
server how can you modify your repository configuration
inside hub.qgis.org to point to your external repo?

thank you!

2014-03-04 21:21 GMT+01:00 Alex Mandel tech_...@wildintellect.com:
 On 03/04/2014 04:33 AM, Giuseppe De Marco wrote:
 Hello,
 I have registered at hub.qgis.org and I have created 2 subprojects activating
 the option repository in settings.
 I have some problems authenticating with git:
 1) I cannot upload my public key because it says that
 http://hub.qgis.org/my/public_keys page not found
 2) obviously when I try to git push origin it asks for a password..

 this is what I get
 joe@U36SD:~/.qgis2/python/plugins/SelectTools$ git remote -v
 origingito...@qgis.org:selecttools.git (fetch)
 origingito...@qgis.org:selecttools.git (push)

 can somebody help me out?

 Thank you


 You are right, something is amiss. I can't tell which Redmine plugin is
 supposed to handle that. I expected to see something like the Gitosis
 plugin but there's only a post-commit hook and a qgis customization
 plugin. Neither of which integrate with git keys on the back end.

 Did someone change the configuration of Redmine?

 Thanks,
 Alex



-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] uploading plugin files to hub.qgis.org

2014-03-04 Thread Giuseppe De Marco
Hello,
I have registered at hub.qgis.org and I have created 2 subprojects activating
the option repository in settings.
I have some problems authenticating with git:
1) I cannot upload my public key because it says that
http://hub.qgis.org/my/public_keys page not found
2) obviously when I try to git push origin it asks for a password..

this is what I get
joe@U36SD:~/.qgis2/python/plugins/SelectTools$ git remote -v
origingito...@qgis.org:selecttools.git (fetch)
origingito...@qgis.org:selecttools.git (push)

can somebody help me out?

Thank you

-- 
Dott. Agr. Giuseppe De Marco
RSPP settore ATECO 1
Cell./Mobile: +39 3935041115
Fax.: +39 0503869174
PEC: giuseppe.de_ma...@epap.conafpec.it
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer