[Geoserver-users] converting postgis geometry objects to styled wms images ???

Hello,

How can I create a styled (sld) wms image (e.g. png or gif ) from a set of postgis geometry objects ? Which java classes does geoserver use to do this ?

I need to this because i intend to use pgrouting as part of a new web application I am working on. In the application, I need to execute pgrouting queries that returns a set of postgis geometry objects, this geometry objects will have to be rendered as a wms image (with sld applied) and sent to the clients web browser. I know geoserver does this for other spatial queries as part of its wms implementation. I will like to know which classes geoserver uses to this.

Thanks,

Roman.

Hi Roman,

Andrea can give you a better overview but basically you want to use the StreamingRenderer and ShapefileRenderer classed in geotools to render a FeatureSource to an image. You can see how it is setup in the DefaultRasterMapProducer class in GeoServer.

-Justin

Roman Isitua wrote:

Hello,

How can I create a styled (sld) wms image (e.g. png or gif ) from a set of postgis geometry objects ? Which java classes does geoserver use to do this ?

I need to this because i intend to use pgrouting as part of a new web application I am working on. In the application, I need to execute pgrouting queries that returns a set of postgis geometry objects, this geometry objects will have to be rendered as a wms image (with sld applied) and sent to the clients web browser. I know geoserver does this for other spatial queries as part of its wms implementation. I will like to know which classes geoserver uses to this.

Thanks,

Roman.

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.