hi,
I use php script, and I want to get SLD of a layer? Can I do it with Geoserver 1.5.3 or later?
–
Nguyễn Đình Toán
Neu khong doc duoc tieng Viet, vui long vao menu View → chon Encoding → chon Unicode (UTF-8). Cam on.
hi,
I use php script, and I want to get SLD of a layer? Can I do it with Geoserver 1.5.3 or later?
–
Nguyễn Đình Toán
Neu khong doc duoc tieng Viet, vui long vao menu View → chon Encoding → chon Unicode (UTF-8). Cam on.
Toan Nguyen ha scritto:
hi,
I use php script, and I want to get SLD of a layer? Can I do it with Geoserver 1.5.3 or later?
Nope, unfortunately at the moment we don't have such capability.
Yet, if you look into the WMS capabilies, you can get the style name.
If (and only if) the style name is equal to the file name, you'll
be able to grab the file by pointing your broswer to:
http://host:port/geoserver/styles/<styleName>.sld
For example:
http://geo.openplans.org:8080/geoserver/styles/tiger_roads.sld
Cheers
Andrea
thanks you
–
Nguyễn Đình Toán
Neu khong doc duoc tieng Viet, vui long vao menu View → chon Encoding → chon Unicode (UTF-8). Cam on.
What about the RESTConfig module? That allows for fetching of SLD based
on the style name, no?
RESTConfig is available on trunk, and as a plugin on 1.6.x too. Or is
it not in the downloaded 1.6.x packages?
--saul
On Fri, 2008-04-18 at 15:06 +0200, Andrea Aime wrote:
Toan Nguyen ha scritto:
> hi,
> I use php script, and I want to get SLD of a layer? Can I do it with
> Geoserver 1.5.3 or later?Nope, unfortunately at the moment we don't have such capability.
Yet, if you look into the WMS capabilies, you can get the style name.
If (and only if) the style name is equal to the file name, you'll
be able to grab the file by pointing your broswer to:
http://host:port/geoserver/styles/<styleName>.sldFor example:
http://geo.openplans.org:8080/geoserver/styles/tiger_roads.sldCheers
Andrea-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Saul Farber ha scritto:
What about the RESTConfig module? That allows for fetching of SLD based
on the style name, no?RESTConfig is available on trunk, and as a plugin on 1.6.x too. Or is
it not in the downloaded 1.6.x packages?
I did not suggest its usage because it's just a prototype, not sure how
working it is... and I believe on 1.6.x it just compiles but does not
really work.
David, what's the status of RESTConfig?
Cheers
Andrea
On Friday 18 April 2008 11:05:27 am Andrea Aime wrote:
Saul Farber ha scritto:
> What about the RESTConfig module? That allows for fetching of SLD based
> on the style name, no?
>
> RESTConfig is available on trunk, and as a plugin on 1.6.x too. Or is
> it not in the downloaded 1.6.x packages?I did not suggest its usage because it's just a prototype, not sure how
working it is... and I believe on 1.6.x it just compiles but does not
really work.
That's basically correct; however, the style code does seem to work (that is,
geoserver/rest/styles/<name>.xml does return the SLD). No promises
(RESTConfig is not at the top of my priority list these days), but I'll try
and be prompt in fixing any bugs reported.
-D
David, what's the status of RESTConfig?
Cheers
Andrea!DSPAM:4040,4808b8cc182481030819293!