Hello All,
Can I send the styles parameter or filter parameter in the wms url string
when using GeoWebCache? I can't seem to make it work.
Thanks,
Steve
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
Hello All,
Can I send the styles parameter or filter parameter in the wms url string
when using GeoWebCache? I can't seem to make it work.
Thanks,
Steve
Stephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
Not currently,
because it would create a new set of tiles on disk for every style you specify in the URL. Work has started to support this, and other parameters, in the next version.
For the time being you can
1) create <GEOSERVER_DATA_DIR>/gwc/gwc.xml , see http://geowebcache.org/trac/wiki/configuration
2) manually define layers with the style option, see below
3) restart geoserver to have the new layers show up, check http://localhost:8080/geoserver/gwc/demo
Fill in the gaps and replace layer , styleA , styleB:
<wmsLayer>
<name>layer_styleA<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleA</wmsStyles>
...
</wmsLayer>
<wmsLayer>
<name>layer_styleB<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleB</wmsStyles>
...
</wmsLayer>
-Arne
Stephen Crawford wrote:
Hello All,
Can I send the styles parameter or filter parameter in the wms url string
when using GeoWebCache? I can't seem to make it work.Thanks,
SteveStephen Crawford
Center for Environmental Informatics
The Pennsylvania State University------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers
OK, thanks. Do you think the next version will support a filter on an
attribute, like this:
filter=<Filter><PropertyIsEqualTo><PropertyName>sci_name</PropertyName><Lite
ral>Dryocopus pileatus</Literal></PropertyIsEqualTo></Filter>
Thanks,
Steve
-----Original Message-----
From: Arne Kepp [mailto:ak@anonymised.com]
Sent: Wednesday, January 07, 2009 10:47 AM
To: Stephen Crawford
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoWebCache
Not currently,
because it would create a new set of tiles on disk for every style you
specify in the URL. Work has started to support this, and other
parameters, in the next version.
For the time being you can
1) create <GEOSERVER_DATA_DIR>/gwc/gwc.xml , see
http://geowebcache.org/trac/wiki/configuration
2) manually define layers with the style option, see below
3) restart geoserver to have the new layers show up, check
http://localhost:8080/geoserver/gwc/demo
Fill in the gaps and replace layer , styleA , styleB:
<wmsLayer>
<name>layer_styleA<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleA</wmsStyles>
...
</wmsLayer>
<wmsLayer>
<name>layer_styleB<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleB</wmsStyles>
...
</wmsLayer>
-Arne
Stephen Crawford wrote:
Hello All,
Can I send the styles parameter or filter parameter in the wms url string
when using GeoWebCache? I can't seem to make it work.Thanks,
SteveStephen Crawford
Center for Environmental Informatics
The Pennsylvania State University
----------------------------------------------------------------------------
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers
----------------------------------------------------------------------------
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
That's the goal, to do it on a general level that supports every (reasonable) parameter.
Will obviously require some sort of database to store the various combinations.
-Arne
Stephen Crawford wrote:
OK, thanks. Do you think the next version will support a filter on an
attribute, like this:filter=<Filter><PropertyIsEqualTo><PropertyName>sci_name</PropertyName><Lite
ral>Dryocopus pileatus</Literal></PropertyIsEqualTo></Filter>Thanks,
Steve-----Original Message-----
From: Arne Kepp [mailto:ak@anonymised.com] Sent: Wednesday, January 07, 2009 10:47 AM
To: Stephen Crawford
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] GeoWebCacheNot currently,
because it would create a new set of tiles on disk for every style you specify in the URL. Work has started to support this, and other parameters, in the next version.
For the time being you can
1) create <GEOSERVER_DATA_DIR>/gwc/gwc.xml , see http://geowebcache.org/trac/wiki/configuration
2) manually define layers with the style option, see below
3) restart geoserver to have the new layers show up, check http://localhost:8080/geoserver/gwc/demoFill in the gaps and replace layer , styleA , styleB:
<wmsLayer>
<name>layer_styleA<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleA</wmsStyles>
...
</wmsLayer>
<wmsLayer>
<name>layer_styleB<name>
<wmsLayers>layer</wmsLayers>
<wmsStyles>styleB</wmsStyles>
...
</wmsLayer>-Arne
Stephen Crawford wrote:
Hello All,
Can I send the styles parameter or filter parameter in the wms url string
when using GeoWebCache? I can't seem to make it work.Thanks,
SteveStephen Crawford
Center for Environmental Informatics
The Pennsylvania State University----------------------------------------------------------------------------
--
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Arne Kepp
OpenGeo - http://opengeo.org
Expert service straight from the developers