Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-13 Thread Ismail, Mark
Hi
Are the icons dynamically sized, based on a attribute value?

The icons are fixed size 12 point

I am trying to get a test server set up – if I do I will test a nightly

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea 
Aime
Sent: 13 October 2014 12:49
To: Ismail, Mark
Cc: geoserver mailing, list
Subject: Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

On Mon, Oct 13, 2014 at 1:29 PM, Ismail, Mark 
mailto:mark.ism...@knowsley.gov.uk>> wrote:
I found out what was making my clicks overly sensitive
I had  changed some of my layers from
http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms

to
http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms?buffer=8

to stop icons being clipped like this :-

[cid:image001.png@01CFE6E5.A2B390D0]
When I removed the ?buffer=8 the WMSGetFeatureInfo clicks now work normally

But now I need an alternative way to stop the icons clipping

Are the icons dynamically sized, based on a attribute value?

About the clipping, there is probably going to be a fix in the next 2.5.3 
release, to be sure,
try out a nightly build here:
http://ares.boundlessgeo.com/geoserver/2.5.x/

(those are going to be released with further minimal or no changes as 2.5.3, so 
don't be
scared by the "nightly" term)

Cheers
Andrea

--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

---
This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
--

Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-13 Thread Andrea Aime
On Mon, Oct 13, 2014 at 1:29 PM, Ismail, Mark 
wrote:

>  I found out what was making my clicks overly sensitive
>
> I had  changed some of my layers from
>
> http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms
>
>
>
> to
>
> http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms?buffer=8
>
>
>
> to stop icons being clipped like this :-
>
>
>
>  When I removed the ?buffer=8 the WMSGetFeatureInfo clicks now work
> normally
>
>
>
> But now I need an alternative way to stop the icons clipping
>

Are the icons dynamically sized, based on a attribute value?

About the clipping, there is probably going to be a fix in the next 2.5.3
release, to be sure,
try out a nightly build here:
http://ares.boundlessgeo.com/geoserver/2.5.x/

(those are going to be released with further minimal or no changes as
2.5.3, so don't be
scared by the "nightly" term)

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

---
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://p.sf.net/sfu/Zoho___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-13 Thread Ismail, Mark
I found out what was making my clicks overly sensitive
I had  changed some of my layers from
http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms

to
http://geolive.knowsley.gov.uk:8080/geoserver/Geostore/wms?buffer=8

to stop icons being clipped like this :-

[cid:image001.png@01CFE6E1.34E0C6D0]
When I removed the ?buffer=8 the WMSGetFeatureInfo clicks now work normally

But now I need an alternative way to stop the icons clipping

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

From: Jerome A. Wendell [mailto:jawend...@suddenlink.net]
Sent: 09 October 2014 14:32
To: Ismail, Mark; 'geoserver mailing, list'
Subject: RE: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

Mark,

You might take a look at the clickTolerance setting as described at the link 
below:

http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance

Hope this helps.

Jerome Wendell


From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk]
Sent: Thursday, October 09, 2014 9:06 AM
To: geoserver mailing, list 
(geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>)
Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver

It works fine but It is far to sensitive to where you click – if you don’t get 
right in the centre of a point or icon it finds nothing, it can take 2 or 3 
attempts to get a response even if clicking carefully and zoomed in

Is there any way to make that click “less sensitive” so it will pick up the 
closest point  to the mouse click ?

I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
the openlayers forums

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with Event

Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Rahkonen Jukka (Tike)
Hi,

Check with Firebug which kind of requests your application is really sending to 
Geoserver. It looks like it can use WFS and GetFeature but until now I have 
believed it is WMS and GetFeatureInfo.  Actually you would probably get better 
answers from OpenLayers list.


-Jukka Rahkonen-

Russell Hore wrote:

This is my code;

control = new OpenLayers.Control.GetFeature({
protocol: OpenLayers.Protocol.WFS.fromWMSLayer(theLayer),
box: false,
hover: false,
maxFeatures: 20,
multipleKey: "shiftKey",
toggleKey: "ctrlKey",
clickTolerance:30
});
control.events.register("featureselected",   this, function(e) { 
selected.addFeatures([e.feature]); displayInfo(e); });
control.events.register("featureunselected", this, function(e) { 
selected.removeFeatures([e.feature]);});
control.events.register("hoverfeature",  this, function(e) { 
hover.addFeatures([e.feature]);  displayInfo(e); });
control.events.register("outfeature",this, function(e) { 
hover.removeFeatures([e.feature]);   });
map.addControl(control);
control.activate();

Note the clickTolerance line

Russ

On 9 Oct 2014, at 16:02, Ismail, Mark 
mailto:mark.ism...@knowsley.gov.uk>> wrote:

Hi

Thanks for the replies

Ive tried

vendorParams: { buffer:100 },
tolerance: 100,

in the openlayers wmsgetfeatureinfo request but no change, the points are still 
very difficult to click even with these extreme settings

>From the open layers docs tolerance doesn’t seem to be a supported parameter 
>anymore though

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

From: Jerome A. Wendell [mailto:jawend...@suddenlink.net]
Sent: 09 October 2014 14:32
To: Ismail, Mark; 'geoserver mailing, list'
Subject: RE: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

Mark,

You might take a look at the clickTolerance setting as described at the link 
below:

http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance

Hope this helps.

Jerome Wendell


From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk]
Sent: Thursday, October 09, 2014 9:06 AM
To: geoserver mailing, list 
(geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>)
Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver

It works fine but It is far to sensitive to where you click – if you don’t get 
right in the centre of a point or icon it finds nothing, it can take 2 or 3 
attempts to get a response even if clicking carefully and zoomed in

Is there any way to make that click “less sensitive” so it will pick up the 
closest point  to the mouse click ?

I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
the openlayers forums

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately

Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Russell Hore
This is my code;

control = new OpenLayers.Control.GetFeature({
protocol: OpenLayers.Protocol.WFS.fromWMSLayer(theLayer),
box: false,
hover: false,
maxFeatures: 20,
multipleKey: "shiftKey",
toggleKey: "ctrlKey",
clickTolerance:30
});
control.events.register("featureselected",   this, function(e) { 
selected.addFeatures([e.feature]); displayInfo(e); });
control.events.register("featureunselected", this, function(e) { 
selected.removeFeatures([e.feature]);});
control.events.register("hoverfeature",  this, function(e) { 
hover.addFeatures([e.feature]);  displayInfo(e); });
control.events.register("outfeature",this, function(e) { 
hover.removeFeatures([e.feature]);   });
map.addControl(control);
control.activate();

Note the clickTolerance line

Russ

On 9 Oct 2014, at 16:02, Ismail, Mark  wrote:

> Hi
>  
> Thanks for the replies
>  
> Ive tried
>  
> vendorParams: { buffer:100 },
> tolerance: 100,
>  
> in the openlayers wmsgetfeatureinfo request but no change, the points are 
> still very difficult to click even with these extreme settings
>  
> From the open layers docs tolerance doesn’t seem to be a supported parameter 
> anymore though
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> From: Jerome A. Wendell [mailto:jawend...@suddenlink.net] 
> Sent: 09 October 2014 14:32
> To: Ismail, Mark; 'geoserver mailing, list'
> Subject: RE: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
> sensitive
>  
> Mark,
>  
> You might take a look at the clickTolerance setting as described at the link 
> below:
>  
> http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance
>  
> Hope this helps.
>  
> Jerome Wendell
>  
>  
> From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk] 
> Sent: Thursday, October 09, 2014 9:06 AM
> To: geoserver mailing, list (geoserver-users@lists.sourceforge.net)
> Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
> sensitive
>  
> I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver
>  
> It works fine but It is far to sensitive to where you click – if you don’t 
> get right in the centre of a point or icon it finds nothing, it can take 2 or 
> 3 attempts to get a response even if clicking carefully and zoomed in
>  
> Is there any way to make that click “less sensitive” so it will pick up the 
> closest point  to the mouse click ?
>  
> I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
> the openlayers forums
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notif

Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Ismail, Mark
Hi

Thanks for the replies

Ive tried

vendorParams: { buffer:100 },
tolerance: 100,

in the openlayers wmsgetfeatureinfo request but no change, the points are still 
very difficult to click even with these extreme settings

From the open layers docs tolerance doesn’t seem to be a supported parameter 
anymore though

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

From: Jerome A. Wendell [mailto:jawend...@suddenlink.net]
Sent: 09 October 2014 14:32
To: Ismail, Mark; 'geoserver mailing, list'
Subject: RE: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

Mark,

You might take a look at the clickTolerance setting as described at the link 
below:

http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance

Hope this helps.

Jerome Wendell


From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk]
Sent: Thursday, October 09, 2014 9:06 AM
To: geoserver mailing, list 
(geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>)
Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver

It works fine but It is far to sensitive to where you click – if you don’t get 
right in the centre of a point or icon it finds nothing, it can take 2 or 3 
attempts to get a response even if clicking carefully and zoomed in

Is there any way to make that click “less sensitive” so it will pick up the 
closest point  to the mouse click ?

I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
the openlayers forums

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve<http://kmbcselfservice/> 
Application

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___

Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Russ Hore
There is a parameter on the call to set the number of pixels to search.

Russ

---


> On 9 Oct 2014, at 14:06, Ismail, Mark  wrote:
> 
> I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver
>  
> It works fine but It is far to sensitive to where you click – if you don’t 
> get right in the centre of a point or icon it finds nothing, it can take 2 or 
> 3 attempts to get a response even if clicking carefully and zoomed in
>  
> Is there any way to make that click “less sensitive” so it will pick up the 
> closest point  to the mouse click ?
>  
> I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
> the openlayers forums
>  
> Mark Ismail
> Principal IT Officer
> Tel: 0151 443 3021
> Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL
>  
> Save time – use the IT Service Desk Self Serve Application
>  
> This e-mail and any attachments are confidential. It may contain privileged 
> information and is intended for the named recipient(s) only. It must not be 
> distributed without consent. If you are not one of the intended recipients, 
> please notify the sender immediately and do not disclose, distribute, or 
> retain this email or any part of it and do not take any action based on it.
> 
> Unless expressly stated, opinions in this email are those of the individual 
> sender, and not of Knowsley MBC. Legally binding obligations can only be 
> created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
> officers or representatives.
> 
> Knowsley MBC excludes any liability whatsoever for any offence caused, any 
> direct or consequential loss arising from the use, or reliance on, this 
> e-mail or its contents. We believe but do not warrant that this e-mail and 
> any attachments are virus free. You must therefore take full responsibility 
> for virus checking and no responsibility is accepted for loss or damage 
> arising from viruses or changes made to this message after it was sent. 
> Knowsley MBC reserves the right to monitor and/or record all e-mail 
> communications through its network in accordance with relevant legislation.
> --
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Jerome A. Wendell
Mark,

 

You might take a look at the clickTolerance setting as described at the link 
below:

 

http://dev.openlayers.org/releases/OpenLayers-2.13.1/doc/apidocs/files/OpenLayers/Control/GetFeature-js.html#OpenLayers.Control.GetFeature.clickTolerance

 

Hope this helps.

 

Jerome Wendell

 

 

From: Ismail, Mark [mailto:mark.ism...@knowsley.gov.uk] 
Sent: Thursday, October 09, 2014 9:06 AM
To: geoserver mailing, list (geoserver-users@lists.sourceforge.net)
Subject: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too 
sensitive

 

I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver

 

It works fine but It is far to sensitive to where you click – if you don’t get 
right in the centre of a point or icon it finds nothing, it can take 2 or 3 
attempts to get a response even if clicking carefully and zoomed in

 

Is there any way to make that click “less sensitive” so it will pick up the 
closest point  to the mouse click ?

 

I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
the openlayers forums

 

Mark Ismail

Principal IT Officer

Tel: 0151 443 3021

Knowsley Council  ê  Westmorland Road  ê Huyton ê L36 9GL

 

Save time – use the IT Service Desk   Self Serve 
Application 

 

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.


Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.


Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.

--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] openlayers WMSGetFeatureInfo and geoserver too sensitive

2014-10-09 Thread Rahkonen Jukka (Tike)
Hi,

You can adjust the tolerance with vendor option ”buffer” 
http://docs.geoserver.org/latest/en/user/services/wms/vendor.html. However, the 
latest Geoserver versions should know the actual size and shape of icons. Which 
version you have?

-Jukka Rahkonen-

Ismail, Mark wrote:

I am using openlayers 2 and issuing a WMSGetFeatureInfo request to geoserver

It works fine but It is far to sensitive to where you click – if you don’t get 
right in the centre of a point or icon it finds nothing, it can take 2 or 3 
attempts to get a response even if clicking carefully and zoomed in

Is there any way to make that click “less sensitive” so it will pick up the 
closest point  to the mouse click ?

I know this isn’t strictly a geoserver issue but I’ve found nothing useful on 
the openlayers forums

Mark Ismail
Principal IT Officer
Tel: 0151 443 3021
Knowsley Council  •  Westmorland Road  • Huyton • L36 9GL

Save time – use the IT Service Desk Self Serve 
Application

This e-mail and any attachments are confidential. It may contain privileged 
information and is intended for the named recipient(s) only. It must not be 
distributed without consent. If you are not one of the intended recipients, 
please notify the sender immediately and do not disclose, distribute, or retain 
this email or any part of it and do not take any action based on it.

Unless expressly stated, opinions in this email are those of the individual 
sender, and not of Knowsley MBC. Legally binding obligations can only be 
created for, or be entered into on behalf of, Knowsley MBC by duly authorised 
officers or representatives.

Knowsley MBC excludes any liability whatsoever for any offence caused, any 
direct or consequential loss arising from the use, or reliance on, this e-mail 
or its contents. We believe but do not warrant that this e-mail and any 
attachments are virus free. You must therefore take full responsibility for 
virus checking and no responsibility is accepted for loss or damage arising 
from viruses or changes made to this message after it was sent. Knowsley MBC 
reserves the right to monitor and/or record all e-mail communications through 
its network in accordance with relevant legislation.
--
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users