is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
addressable via WMS and/or WFS, to show you the actual text of a given
Style?
for example, MASSGIS makes a ton of data available via WMS and WFS, and even
names all the usable Styles at:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
but I'd like to actually capture the SLD for one of those styles since I'm
trying to copy some of their layers (they make them all available as .SHP
files).
so, does WFS have a showStyle method or something?
thanks,
mike
--
View this message in context: http://www.nabble.com/WMS-WFS-View-SLD-tf4708030.html#a13456752
Sent from the GeoServer - User mailing list archive at Nabble.com.
In general with WMS there is a GetStyle operation. That GeoServer doesn't really support, and which I think is not thought out well. But I think relatively soon we will have a nice REST interface to get and put styles.
For this specific case, MassGIS has a link from our SLD Snippet page to their full styles, so I imagine what you're looking for may be there.
http://maps.massgis.state.ma.us/geoserver_sld/
Chris
mfrumin wrote:
is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
addressable via WMS and/or WFS, to show you the actual text of a given
Style?
for example, MASSGIS makes a ton of data available via WMS and WFS, and even
names all the usable Styles at:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
but I'd like to actually capture the SLD for one of those styles since I'm
trying to copy some of their layers (they make them all available as .SHP
files).
so, does WFS have a showStyle method or something?
thanks,
mike
Hey chris,
Hah. I love it. Thanks for answering this question so well chris.
Only with FOSS can someone ELSE answer questions about my own
organizational data availability faster than I can!
--saul
On Sun, 2007-10-28 at 15:27 -0400, Chris Holmes wrote:
In general with WMS there is a GetStyle operation. That GeoServer
doesn't really support, and which I think is not thought out well. But
I think relatively soon we will have a nice REST interface to get and
put styles.
For this specific case, MassGIS has a link from our SLD Snippet page to
their full styles, so I imagine what you're looking for may be there.
http://maps.massgis.state.ma.us/geoserver_sld/
Chris
mfrumin wrote:
> is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
> addressable via WMS and/or WFS, to show you the actual text of a given
> Style?
>
> for example, MASSGIS makes a ton of data available via WMS and WFS, and even
> names all the usable Styles at:
> http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
>
> but I'd like to actually capture the SLD for one of those styles since I'm
> trying to copy some of their layers (they make them all available as .SHP
> files).
>
> so, does WFS have a showStyle method or something?
>
> thanks,
> mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
nice, thanks. lucky me.
but presumably the administrative REST interface is not for public use right? only for someone who is supposed to be administering that GeoServer instance? I'm looking for public access to SLD files, much like WFS access Vectors or WMS access to Rasters. basically, the only missing piece if you were trying to 'mirror' a layer from someone else's instance.
thanks,
mike
Chris Holmes wrote:
In general with WMS there is a GetStyle operation. That GeoServer doesn't really support, and which I think is not thought out well. But I think relatively soon we will have a nice REST interface to get and put styles.
For this specific case, MassGIS has a link from our SLD Snippet page to their full styles, so I imagine what you're looking for may be there.
http://maps.massgis.state.ma.us/geoserver_sld/
Chris
mfrumin wrote:
is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
addressable via WMS and/or WFS, to show you the actual text of a given
Style?
for example, MASSGIS makes a ton of data available via WMS and WFS, and even
names all the usable Styles at:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
but I'd like to actually capture the SLD for one of those styles since I'm
trying to copy some of their layers (they make them all available as .SHP
files).
so, does WFS have a showStyle method or something?
thanks,
mike
Yeah, I think the REST interface for styles at least would be accessible to all by default, with admins having 'put' privileges. And admins could turn off access if they wanted. I think the only part of the REST interface we'd make private by default would be the portions that have passwords (though I haven't thought about it in depth, so there may be cases I'm not thinking of).
Chris
Michael Frumin wrote:
nice, thanks. lucky me.
but presumably the administrative REST interface is not for public use right? only for someone who is supposed to be administering that GeoServer instance? I'm looking for public access to SLD files, much like WFS access Vectors or WMS access to Rasters. basically, the only missing piece if you were trying to 'mirror' a layer from someone else's instance.
thanks,
mike
Chris Holmes wrote:
In general with WMS there is a GetStyle operation. That GeoServer doesn't really support, and which I think is not thought out well. But I think relatively soon we will have a nice REST interface to get and put styles.
For this specific case, MassGIS has a link from our SLD Snippet page to their full styles, so I imagine what you're looking for may be there.
http://maps.massgis.state.ma.us/geoserver_sld/
Chris
mfrumin wrote:
is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
addressable via WMS and/or WFS, to show you the actual text of a given
Style?
for example, MASSGIS makes a ton of data available via WMS and WFS, and even
names all the usable Styles at:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
but I'd like to actually capture the SLD for one of those styles since I'm
trying to copy some of their layers (they make them all available as .SHP
files).
so, does WFS have a showStyle method or something?
thanks,
mike
!DSPAM:4005,4725141b306211336712104!
It should also be noted that on trunk (and 1.5.x too I believe) styles
can be accessed directly. For example:
http://localhost:8080/geoserver/styles/popshade.sld
-Justin
Michael Frumin wrote:
nice, thanks. lucky me.
but presumably the administrative REST interface is not for public use
right? only for someone who is supposed to be administering that
GeoServer instance? I'm looking for public access to SLD files, much
like WFS access Vectors or WMS access to Rasters. basically, the only
missing piece if you were trying to 'mirror' a layer from someone else's
instance.
thanks,
mike
Chris Holmes wrote:
In general with WMS there is a GetStyle operation. That GeoServer
doesn't really support, and which I think is not thought out well.
But I think relatively soon we will have a nice REST interface to get
and put styles.
For this specific case, MassGIS has a link from our SLD Snippet page
to their full styles, so I imagine what you're looking for may be there.
http://maps.massgis.state.ma.us/geoserver_sld/
Chris
mfrumin wrote:
is there a way to get someone else's (i.e. MASSGIS) Geoserver install,
addressable via WMS and/or WFS, to show you the actual text of a given
Style?
for example, MASSGIS makes a ton of data available via WMS and WFS,
and even
names all the usable Styles at:
http://lyceum.massgis.state.ma.us/wiki/doku.php?id=wms:styles
but I'd like to actually capture the SLD for one of those styles
since I'm
trying to copy some of their layers (they make them all available as
.SHP
files).
so, does WFS have a showStyle method or something?
thanks,
mike
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,47251427306372085621377!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
Justin Deoliveira ha scritto:
It should also be noted that on trunk (and 1.5.x too I believe) styles
can be accessed directly. For example:
http://localhost:8080/geoserver/styles/popshade.sld
Indeed, thought there is an issue with that... you have to know
the file name, not the style name, since the above is
direct access to the data directory file system (only for the
styles folder).
Cheers
Andrea
Does this method work if you have your data directory defined in an alternate location? Like not in the default location?
Andrea Aime wrote:
Justin Deoliveira ha scritto:
It should also be noted that on trunk (and 1.5.x too I believe) styles
can be accessed directly. For example:
http://localhost:8080/geoserver/styles/popshade.sld
Indeed, thought there is an issue with that... you have to know
the file name, not the style name, since the above is
direct access to the data directory file system (only for the
styles folder).
Cheers
Andrea
!DSPAM:4005,472587a0124581431913854!
why yes it does:
http://transit.frumin.net/geoserver/styles/trx_tracts.sld
(where apache is proxying this to 8080, and the data_dir is not under the geoserver code tree (cuz you keep upgrading it!!!)
but still, you have to know the name of the .sld file which in most cases doesn't serve the purpose I was looking for.
thanks again for the awesome everything,
mike
Chris Holmes wrote:
Does this method work if you have your data directory defined in an alternate location? Like not in the default location?
Andrea Aime wrote:
Justin Deoliveira ha scritto:
It should also be noted that on trunk (and 1.5.x too I believe) styles
can be accessed directly. For example:
http://localhost:8080/geoserver/styles/popshade.sld
Indeed, thought there is an issue with that... you have to know
the file name, not the style name, since the above is
direct access to the data directory file system (only for the
styles folder).
Cheers
Andrea
!DSPAM:4005,472587a0124581431913854!