[Geoserver-users] inline feature definition

Anyone has an example for representing a PostGIS MULTILINESTRNG
geometry as an inline feature?

1) Would every Line from the above-mentioned geometry need to be
represented with "gml:Line", or is there a way to represent the
MulitlineString geometry without breaking it apart?

2) After accomplishing #1, how would I refer to that layer in a GET
request (layers=layer1,...)?

Thanks a bunch in advance,
Alex

Alexander Petkov wrote:

Anyone has an example for representing a PostGIS MULTILINESTRNG
geometry as an inline feature?

1) Would every Line from the above-mentioned geometry need to be
represented with "gml:Line", or is there a way to represent the
MulitlineString geometry without breaking it apart?
  

Off the top of my head I think that you do have to break it up, but I might be wrong.

2) After accomplishing #1, how would I refer to that layer in a GET
request (layers=layer1,...)?
  

You just need to remove the LAYERS= and STYLES= parameters from the request and add SLD_BODY=<my inline feature>

Check out this page for more information: http://docs.codehaus.org/display/GEOSDOC/InLineFeature+Usage

Thanks a bunch in advance,
Alex

Brent Owens
(The Open Planning Project)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users