[Geoserver-users] Inline point sld

All,

I'm trying to just place a point as an inline feature via a WMS SLD. Here's
the relevant chunk:

<UserLayer>
  <Name>pointTest</Name>
  <InlineFeature>
    <FeatureCollection>
      <featureMember>
        <pointProperty>
          <gml:Point srsName=\"102003\">
  
<gml:coord><gml:X>0</gml:X><gml:Y>0</gml:Y></gml:coord>
          </gml:Point>
        </pointProperty>
      </featureMember>
    </FeatureCollection>
  </InlineFeature>
  <UserStyle>
    <PointSymbolizer>
      <Graphic>
        <Mark>
  
<WellKnownName>circle</WellKnownName>
          <Fill>
            <CssParameter
name=\"fill\">#FF0000</CssParameter>
            <CssParameter
name=\"fill-opacity\">1.0</CssParameter>
          </Fill>
        </Mark>
        <Size>11</Size>
      </Graphic>
    </PointSymbolizer>
  </UserStyle>
</UserLayer>

This doesn't do anything. My guess is that it is how I am defining the
point/coords. Does anybody know what I'm doing wrong?

I also in the long turn would like to be able to place a graphic (logo or
north arrow). Is this possible vie SLD.

Thanks,
Steve

Hi Stephen,

Do the bounds (bbox) of the request include the points specified in the
request? Unfortunately coordinates are not specified in terms of the
resulting image, but in terms of the data. Can you include the rest of
the parameters of the request. Thanks.

-Justin

Stephen Crawford wrote:

All,

I'm trying to just place a point as an inline feature via a WMS SLD. Here's
the relevant chunk:

<UserLayer>
  <Name>pointTest</Name>
  <InlineFeature>
    <FeatureCollection>
      <featureMember>
        <pointProperty>
          <gml:Point srsName=\"102003\">
  
<gml:coord><gml:X>0</gml:X><gml:Y>0</gml:Y></gml:coord>
          </gml:Point>
        </pointProperty>
      </featureMember>
    </FeatureCollection>
  </InlineFeature>
  <UserStyle>
    <PointSymbolizer>
      <Graphic>
        <Mark>
  
<WellKnownName>circle</WellKnownName>
          <Fill>
            <CssParameter
name=\"fill\">#FF0000</CssParameter>
            <CssParameter
name=\"fill-opacity\">1.0</CssParameter>
          </Fill>
        </Mark>
        <Size>11</Size>
      </Graphic>
    </PointSymbolizer>
  </UserStyle>
</UserLayer>

This doesn't do anything. My guess is that it is how I am defining the
point/coords. Does anybody know what I'm doing wrong?

I also in the long turn would like to be able to place a graphic (logo or
north arrow). Is this possible vie SLD.

Thanks,
Steve

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,465f3c20265172090977483!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Justin Deoliveira ha scritto:

I also in the long turn would like to be able to place a graphic (logo or
north arrow). Is this possible vie SLD.

Nope, there is no way at the moment. I would suggest you place them inside the client app, if you can.
At the moment inline features are all specified in geographic or
projected coordinates, there is no way to specify anything in the
image space. It's something we could investigate, the main issue being
the rendering infrastructure we have is unable to handle stuff in
pure cartesian space.

Cheers
Andrea