public void writeMapCanvas(BufferedWriter out) throws IOException{ out.write("\t<mapcanvas>\n"); out.write("\t\t<units>" + this.writer.getUnit().toString() + "</units>\n"); out.write("\t\t<extent>\n"); out.write("\t\t\t<xmin>" + this.writer.getEnvelope().getMinX() + "</xmin>\n"); out.write("\t\t\t<ymin>" + this.writer.getEnvelope().getMinY() + "</ymin>\n"); out.write("\t\t\t<xmax>" + this.writer.getEnvelope().getMaxX() + "</xmax>\n"); out.write("\t\t\t<ymax>" + this.writer.getEnvelope().getMaxY() + "</ymax>\n"); out.write("\t\t</extent>\n"); out.write("\t\t<projections>1</projections>\n"); this.writeDestinationSrs(out); out.write("\t\t<layer_coordinate_transform_info/>\n"); out.write("\t</mapcanvas>\n"); }