public void addAreaObject(SVGOMPathElement graphic) throws XPathExpressionException, DOMException {
		String osmNamespace = xpath.getNamespaceContext().getNamespaceURI("osm");
		SVGOMTextElement text = (SVGOMTextElement) xpath.evaluate("//svg:g[@id='map']/svg:text[@osm:id='"+graphic.getAttributeNS(osmNamespace, "id")+"']", doc, XPathConstants.NODE);
		if(text==null){
			System.err.println("Ignoring data for "+graphic.getAttributeNS(osmNamespace, "id")+" since text is empty");
			return;
		}
		if(graphic.getAttribute("d").isEmpty()){
			System.err.println("Wrong data for "+graphic.getAttributeNS(osmNamespace, "id"));
			text.getParentNode().removeChild(text);
			return;
		}
		LabelGene gene = new LabeledAreaGene(graphic, text);
		if (gene.isFeasiblePositionAvailable(avoids)) {
			baseGenome.add(gene);
		} else {
			gene.discard();
		}
	}