Hello
I want to generate just a image of a  layer with ine specific object of 
the layer in the center of the map

But I don't know how to do this

I know how to query to get information of the object

url http://myip:80/geoserver/wfs
post
<wfs:GetFeature service="WFS" version="1.0.0" 
xmlns:wfs="http://www.opengis.net/wfs"; 
xmlns:gml="http://www.opengis.net/gml"; 
xmlns:ogc="http://www.opengis.net/ogc";>
<wfs:Query srsName="EPSG:3945" xmlns:WORKSPACE="WORKSPACE" 
typeName="WORKSPACE:LAYER">
<ogc:Filter>
<ogc:PropertyIsLike wildCard='*' singleChar='.' escape='!'>
<ogc:PropertyName>WORKSPACE:idr</ogc:PropertyName>
<ogc:Literal>999999</ogc:Literal>
</ogc:PropertyIsLike>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>


and then to generate something like that
http://myip:80/geoserver/WORKSPACE/wms?SERVICE=WMS&&version=1.1.1&request=GetMap&service=WMS&layers=WORKSPACE%3ALAYER%2CWORKSPACE%3ALAYER2&styles=STYLE1%2CSTYLE2&srs=EPSG%3A3945&bbox=99917415.5068666663%2C42545544604.77%2C1918108.0935333336%2C4225124.21&width=600&height=450&format=image%2Fpng&bgcolor=0xffffff&transparent=TRUE&exceptions=application%2Fvnd.ogc.se_inimage

My problem is that Is don't know how to calcute the bbox around an obect 
using information obtain by the first request maybe with gml:coordinates

Don't know if I'm clear and if it's the best way to do this

Thank for your help



------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to