doc.setDocGeo(gp);
}
else if (ag.getClass().equals(new Polygon().getClass())) //<georss:polygon>
{
Polygon poly = ((Polygon)geoRSSModule.getGeometry());
AbstractRing ar = poly.getExterior();
LinearRing lr = (LinearRing)ar;
double latAvg = 0.0;
double lonAvg = 0.0;
int length = lr.getPositionList().size();