Thanks Andrea,

Adding uom="http://www.opengeospatial.org/se/units/metre"; to my
PointSymbolizer is really improving the size of the point at higher zoom
levels.
I'll alter my sld to use pixel size on low zoom levels and meter size at
higher zoom levels.

But the main problem for me is not solved. This might be a non-geoserver
issue but more of an OpenLayers issue.
When I click on the point a pop-up needs to be shown using
OpenLayers.Control.WMSGetFeatureInfo.
This works great using a desktop with a mouse, but on a mobile device it is
very hard to select the point.
I'd hoped making the points bigger at higher zoom levels would improve
this, but there's no change.
Any idea how to make it easier for mobile users to click on my points?

Thanks,

Paul

2013/8/27 Andrea Aime <[email protected]>

> On Tue, Aug 27, 2013 at 12:12 PM, Paul Meems <[email protected]>wrote:
>
>> I have created a SLD for a point layer with 3 rules, giving my points a
>> circle with 3 different colors based on an attribute. I've set the size to
>> 8.
>> This works great.
>>
>> When I zoom in my points get smaller this is OK, but when I zoom beyond
>> level 15 the points get too small. Especially on a mobile device iIt makes
>> it very hard to select a point.
>>
>
> Have you tried setting the size of the symbolizer using the unit of
> measures in meters instead?
> Maybe you can mix, have it in pixels for a certain zoom range (so that it
> does not get too small) and have it in meters for the rest, so that the
> more you zoom in, the bigger it becomes:
> http://docs.geoserver.org/latest/en/user/styling/sld-extensions/uom.html
>
> Cheers
> Andrea
>
> --
> ==
> Our support, Your Success! Visit http://opensdi.geo-solutions.it 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
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to