[Geoserver-users] graphic-margin

Ok, I don’t think this is a CSS Module issue at all.

Straight forward SLD such as:

<sld:VendorOption name=“graphic-resize”>stretch</sld:VendorOption>
<sld:VendorOption name=“group”>false</sld:VendorOption>
<sld:VendorOption name=“graphic-margin”>8 12</sld:VendorOption>

Seems to result in the same error on my system.

Although there is a jira ticket from 2010 which implies that this work has been done and tested

http://jira.codehaus.org/browse/GEOT-3238

Currently using version 2.2.5. Is anyone else able to verify the same problem?

Brgrds,

Chris

From: Chris Haste [mailto:CHaste@anonymised.com]
Sent: 10 April 2013 16:19
To: David Winslow
Cc: geoserver-users@anonymised.com.net
Subject: Re: [Geoserver-users] CSS Module Qtn

The info from the pink tile is this:

Rendering process failed

For input string: "8 12 8 12"

From: David Winslow [mailto:dwinslow@anonymised.com]
Sent: 10 April 2013 14:29
To: Chris Haste
Cc: geoserver-users@anonymised.comrceforge.net
Subject: Re: [Geoserver-users] CSS Module Qtn

This syntax is the one I’d expect to work:

-gt-shield-margin: 4 8;

Can you review the generated SLD and verify that it contains a VendorParameter like this:

<sld:VendorOption name=“graphic-margin”>4 8</sld:VendorOption>

If so, I think you have encountered a rendering bug. If you can get us a stack trace from your failed rendering requests (aka pink tiles) that would probably help us to sort it out. You can review the GeoServer logs, or simply right click or control+click on the affected tile and choose ‘View image in new tab’ or your browser’s equivalent.

David Winslow

OpenGeo - http://opengeo.org/

On Wed, Apr 10, 2013 at 8:39 AM, Chris Haste <CHaste@anonymised.com> wrote:

Hello List,

I’m trying to use the –gt-shield-margin property in conjunction with an SVG shield symbol and –gt-shield-resize = stretch.

I can’t seem to get the behaviour I’m expecting.

-gt-shield-margin: 8;

Behaves as advertised and results in an equal border.

-gt-shield-margin: 4,8;

Seems to just act on just the first value and delivers a margin of 4 pixels all the way around.

-gt-shield-margin:4 8;

Results in pink tiles.

I’m wondering if it is because I’m using –gt-shield-resize:stretch or some other reason?

Any help gratefully received.

Chris

*** This communication has been sent from World Fuel Services
Corporation or its subsidiaries or its affiliates for the intended recipient
only and may contain proprietary, confidential or privileged information.
If you are not the intended recipient, any review, disclosure, copying,
use, or distribution of the information included in this communication
and any attachments is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to this
communication and delete the communication, including any
attachments, from your computer. Electronic communications sent to or
from World Fuel Services Corporation or its subsidiaries or its affiliates
may be monitored for quality assurance and compliance purposes.***


Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Thu, Apr 11, 2013 at 2:52 PM, Chris Haste <CHaste@anonymised.com> wrote:

Ok, I don’t think this is a CSS Module issue at all.****

** **

Straight forward SLD such as:****

        <sld:VendorOption name="graphic-resize">stretch</sld:VendorOption>
        <sld:VendorOption name="group">false</sld:VendorOption>
        <sld:VendorOption name="graphic-margin">8 12</sld:VendorOption>***
*

Seems to result in the same error on my system.****

** **

Although there is a jira ticket from 2010 which implies that this work has
been done and tested****

http://jira.codehaus.org/browse/GEOT-3238****

** **

Currently using version 2.2.5. Is anyone else able to verify the same
problem?

I believe I've just fixed it: http://jira.codehaus.org/browse/GEOS-5767
Can you give a 2.3.x nightly build a try? We should be releasing 2.3.1 next
week,
would be nice to get a confirmation it works as expected (the 2.2.x series
is
terminated, there won't be a 2.2.6)

Any nightly build starting from Apr 15 will do:
http://gridlock.opengeo.org/geoserver/2.3.x/

Cheers
Andrea

--

GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.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

-------------------------------------------------------