Interesting issue.
I have a similar problem to solve just these days: to publish a map (with Geoserver, of course from a FeatureType styled with SLD, but where a single feature has to be highlighted.
I was thinking to solve this with an inline SLD: as per OGC specs, you can specify a style (an SLD document) directly into the WMS request URL. In this SLD I can put a filter based on the single feature id I'm interested (and I can style it in a different way, you can simply hide all the rest of the layer).
A question to the list: can I have the feature layer styled with its default SLD, and having added to this the SLD specified in the WMS URL? I mean, the resulting map should take into consideration both styles (inline and default).
Cheers,
Fabio
-----Messaggio originale-----
Da: geoserver-users-bounces@lists.sourceforge.net
[mailto:geoserver-users-bounces@lists.sourceforge.net] Per
conto di Just van den Broecke
Inviato: venerdì 23 febbraio 2007 15.36
A: geoserver-users@lists.sourceforge.net
Oggetto: [Geoserver-users] Q: map single row from PostGIS with WMSHi,
I need a GeoServer recipe for the following scenario. I have
the following sources:- PostGIS table containing routes with unique id and a
geometry column as OGC LINESTRING
- remote WMS serving background mapsI need to configure/construct a request (WMS/WFS?) that draws
a single row (route) on a background map. The server should
do all the rendering.Using GS 1.5.0rc1 I have been able to configure the PostGIS "route"
datasource and local GeoTIFF map data. I can render these as
layers using WMS requests. But I can't figure out how to
select a single row
(route) using WMS. I can select a row using WFS and
ogc-filter but that outputs GML. I also can calculate the
bbox extent of a single route. So two questions remain:1- how to configure a remote WMS where GeoServer acts as proxy
2- how to (server-side) render a single PostGIS row on a map
served by the remote WMSAny ideas (WMC?,custom WFS Outputformat?)/suggestions welcome ! best,
--Just
Just van den Broecke
http://www.justobjects.nl
The Netherlands--------------------------------------------------------------
-----------
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to
share your opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge
&CID=DEVDEV
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users