Hi,
I believe the easiest way to test an SLD you are developing is to do a GetLegendGraphic request, using the path to the SLD inline.
For example:
If you change the host name above, change 'any-existing-layer' above to any layer you have, like 'states_shapefile:states', and change the path to your SLD you should get something like this:
(The link above will only work for 2 hours more until the program that generated it expires the SLD - it's created automatically, but you can view our existing symbol library at http://aadc-maps.aad.gov.au/symbology/. Currently, the public can only view existing SLDs - only we have access to the tool that creates them.)
Hope this helps,
Miles Jordan
Applications Developer
The Australian Antarctic Data Centre
-----Original Message-----
From: geoserver-users-admin@lists.sourceforge.net
[mailto:geoserver-users-admin@lists.sourceforge.net] On
Behalf Of Chris Holmes
Sent: Thursday, 18 May 2006 12:48 AM
To: Alexander Petkov
Cc: Javier de la Torre; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Editing SLDAlexander Petkov wrote:
> Hello Javier:
>
>
> On 5/17/06, Javier de la Torre <jatorre@...84...> wrote:
>
>> Hi all,
>>
>> I am right now creating and editing SLD files to present
my maps but
>> I find a little bit annoying the way to develop them. How
do you do
>> when you want to test changes in the style?
>>
>> I am directly editing the SLD file that has been uploaded to the /
>> data/styles and then requesting a map to see the changes... but it
>> seems that the style is somehow cached in memory and the
changes do
>> not take effect...
>>
>> How do you do test the styles? Do I have to restart tomcat
every time
>> I do a change on the style to see its effect?
>
>
> You need to reload the catalog. There are some ways to do that in a
> way other than the web interface, see the following wiki page for
> details:
>
>
http://docs.codehaus.org/display/GEOSDOC/Alternative+for+reloading+the
> +Geoserver+catalogNote that this is more for programmatically reloading it. You can
accomplish the same thing by just hitting 'load' in the web
admin tool.
This forces a reload of the sld stuff in memory, so if
you've changed
things they'll be picked up.Chris
>
>
> Alex
>
> PS Except that codehaus seems to be down, as already
mentioned on the list.
> ) N j w v j+xמv , h nǫ ' ǜ g ۟} 'z rIr +a
נ ^vל z% > f
> {*. :ey "z yhi 1g J ^ ) X jب ' M[jǝ p)i ^ ) i
. 'z zW&vY 'u N ۭ Z ]
> 덆z ǫ f ) +- ,z ޮ b , y + em +- . ǟ
+- b ا~ z ǫ--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
___________________________________________________________________________
Australian Antarctic Division - Commonwealth of Australia
IMPORTANT: This transmission is intended for the addressee only. If you are not the
intended recipient, you are notified that use or dissemination of this communication is
strictly prohibited by Commonwealth law. If you have received this transmission in error,
please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and
DELETE the message.
Visit our web site at http://www.aad.gov.au/
___________________________________________________________________________