I have two layers from mysql load in Geoserver. I have activate only the WMS
service, and I need to calculate dinamically the bounding box of a entitys.
Can I use the function that Geoserver use to calculate this bounding box in
the entity editor from my application?, do you know wich is the best form to
calculate it through Geoserver?
I have two layers from mysql load in Geoserver. I have activate only the WMS
service, and I need to calculate dinamically the bounding box of a entitys.
Can I use the function that Geoserver use to calculate this bounding box in
the entity editor from my application?, do you know wich is the best form to
calculate it through Geoserver?
WMS alone does not provide any means to compute the bounding box of an
entity. I guess you can write your own REST extension in Java and perform the computation on your own in it?
There are some pointers here: http://geoserver.org/display/GEOSDOC/REST+Support+Module
(note to self: in these cases having the ability to write a restlet
in a scripting language and just have it working by dumping the
script in the data dir would be really great)
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.