comparison src/java/de/intevation/mxd/writer/MapScriptWriter.java @ 57:8da6555f1c12

Set the projection "EPSG:31467" and units "METERS" as default values.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 17 May 2011 13:00:10 +0200
parents f0c02ff120d6
children ef1ee8e752b2
comparison
equal deleted inserted replaced
56:08913299e34f 57:8da6555f1c12
125 } 125 }
126 else if(units.equals("points")) { 126 else if(units.equals("points")) {
127 msu = MS_UNITS.MS_PIXELS; 127 msu = MS_UNITS.MS_PIXELS;
128 } 128 }
129 else { 129 else {
130 msu = MS_UNITS.MS_DD; 130 msu = MS_UNITS.MS_METERS;
131 } 131 }
132 map.setUnits(msu); 132 map.setUnits(msu);
133 133
134 //TODO: Find out whats the correct scale value. 134 //TODO: Find out whats the correct scale value.
135 //map.setScaledenom(Double.parseDouble(mapNode.getAttribute("scale"))); 135 //map.setScaledenom(Double.parseDouble(mapNode.getAttribute("scale")));
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)