/** * Returns a polygon that represents all Points whose distance from this geometric object is less * than or equal to distance. The returned element must be either gml:Polygon, gml:LineString or * gml:Point. * * @param node xml element containing gml object(s) * @param distance specific distance from the $geometry (the buffer width) * @return buffer geometry as gml element * @throws QueryException query exception */ @Deterministic public ANode buffer(final ANode node, final Dbl distance) throws QueryException { return gmlWriter(checkGeo(node).buffer(distance.dbl())); }