Christopher Schmidt wrote:
On Mon, Jun 18, 2007 at 09:18:12AM +0000, Benoit PESTY wrote:
Hello,

I'm needing this functionnality too (except I plan to use Mapserver and BIRT).

Extending on Christopher's code I've done the function below.

My problem now is that I'd like to render the vector layers too but I don't really know how to do that.

Save the vectors to the server first, and then just treat them like any
other layer.

The other thing you could do, if for some reason you really don't want to save the vectors to the server, is to use inline features in your SLD. See: http://docs.codehaus.org/display/GEOSDOC/InlineFeature

You'd have the vector layer write itself as GML, and then include that in a GetMap POST request, and GeoServer will render it for you. The problem is that I don't think OpenLayers supports the WMS GetMap POST, so you'd have to code that. So the easier route is to save the vector layers to the server.

Chris


Regards,

--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
begin:vcard
fn:Chris Holmes
n:Holmes;Chris
org:The Open Planning Project
adr:;;349 W. 12th Street, #3;New York;NY;10014;USA
email;internet:[EMAIL PROTECTED]
title:Managing Director, Strategic Development
x-mozilla-html:FALSE
url:http://topp.openplans.org
version:2.1
end:vcard

_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to