[CAP] caplib update (version 1-1_03)
Art Botterell
acb at incident.com
Wed Dec 21 13:56:53 PST 2005
Friends -
An updated caplib is available at <http://www.incident.com/caplib>.
This new version adds three features:
1) An optional setting ( Alert.setStylesheetName() ) that will cause
a processing instruction to be added the CAP XML for referencing an
XSL stylesheet;
2) Ability to adjust or eliminate the indent in XML renderings
(thanks to David Robinson); and,
3) A new function ( Alert.getBounds() ) which returns a simple lat/
lon "bounding box" for the alert. This is mostly useful as an
approximate way of determining if a given location is inside the
target area of the alert, by seeing if the coordinates of interest
lie between the returned maximum and minimum values for latitude and
longitude (the corners of the bounding box is in the form
"latMax,lonMin latMin,lonMax").
Thanks again for all your interest, input and support!
- Art
More information about the CAP-list
mailing list