[Geoserver-users] SLD

But if you were using SLD POST then the named layer
would have to match up.

By the way, could anyone show me a working example of SLD_BODY parameter
with Geoserver?
I cannot make it work.

Hi,

Here is a page with some information with inline features: http://docs.codehaus.org/display/GEOSDOC/InLineFeature+Usage
It uses the SLD_BODY parameter to pass in the information. Here though it creates a user layer with its own features and own style, where you just want to create your own style and pass it in. So you can just ignore the <inlineFeature> elements.

To supply your own user-defined style it needs to look like this:
<NamedLayer>
<name>namespace:featuretype</name>
<UserStyle>
define your style in here
</UserStyle>
</NamedLayer>

It is similar to what you tried.

Brent Owens
(The Open Planning Project)

Aitor Calero Garcia wrote:

But if you were using SLD POST then the named layer
would have to match up.
    
By the way, could anyone show me a working example of SLD_BODY parameter
with Geoserver?
I cannot make it work.

Don't forget, Brent. InlineFeatures are currently broken on GT-2.3.x and higher.

Jira with fixes (and links to GT jira with fixes) is here:

http://jira.codehaus.org/browse/GEOS-825

It's on my list to push through "real soon now"

--saul

Brent Owens wrote:

Hi,

Here is a page with some information with inline features: http://docs.codehaus.org/display/GEOSDOC/InLineFeature+Usage

ah right, thanks for the reminder Saul.

Brent Owens
(The Open Planning Project)

Saul Farber wrote:

Don't forget, Brent. InlineFeatures are currently broken on GT-2.3.x and higher.

Jira with fixes (and links to GT jira with fixes) is here:

http://jira.codehaus.org/browse/GEOS-825

It's on my list to push through "real soon now"

--saul

Brent Owens wrote:

Hi,

Here is a page with some information with inline features: http://docs.codehaus.org/display/GEOSDOC/InLineFeature+Usage