docs: @Override
      public void generate(final Module module, final Element element) {
          // this is not necessary, it is done to avoid the namespace definition
          // in every item.
          Element root = element;
          while (root.getParent() != null && root.getParent() instanceof Element) {
              root = (Element) element.getParent();
          }
          root.addNamespaceDeclaration(GeoRSSModule.W3CGEO_NS);
  
          Element pointElement = element;
          if (!isShort) {
              pointElement = new Element("Point", GeoRSSModule.W3CGEO_NS);
              element.addContent(pointElement);
          }
  
          final GeoRSSModule geoRSSModule = (GeoRSSModule) module;
          final AbstractGeometry geometry = geoRSSModule.getGeometry();
  
          if (geometry instanceof Point) {
              final Position pos = ((Point) geometry).getPosition();
  
              final Element latElement = new Element("lat", GeoRSSModule.W3CGEO_NS);
              latElement.addContent(String.valueOf(pos.getLatitude()));
              pointElement.addContent(latElement);
              final Element lngElement = new Element("long", GeoRSSModule.W3CGEO_NS);
              lngElement.addContent(String.valueOf(pos.getLongitude()));
              pointElement.addContent(lngElement);
          } else {
              System.err.println("W3C Geo format can't handle geometries of type: " + geometry.getClass().getName());
          }
      }