comparison src/java/de/intevation/mxd/reader/MapReader.java @ 181:0bde090506f9

Added comments.
author Raimund Renkert <rrenkert@intevation.de>
date Mon, 11 Jul 2011 14:28:38 +0200
parents b9ee44070056
children df4e0946ef02
comparison
equal deleted inserted replaced
180:f4eb506499f5 181:0bde090506f9
32 * Private member. 32 * Private member.
33 */ 33 */
34 private Map map; 34 private Map map;
35 private MapToXMLUtils util; 35 private MapToXMLUtils util;
36 36
37 37 /**
38 * Constructor with ArcGIS map.
39 *
40 * @param map The ArcGIS map object.
41 */
38 public MapReader(IMap map) 42 public MapReader(IMap map)
39 throws Exception { 43 throws Exception {
40 logger.debug("constructor()"); 44 logger.debug("constructor()");
41 if(map instanceof Map) { 45 if(map instanceof Map) {
42 this.map = (Map)map; 46 this.map = (Map)map;
136 logger.warn( 140 logger.warn(
137 "Unknown units." + 141 "Unknown units." +
138 " Please edit units in resulting mapfile."); 142 " Please edit units in resulting mapfile.");
139 } 143 }
140 144
141 //TODO: Find out whats the correct scale value.
142 try { 145 try {
143 mapElement.setAttribute( 146 mapElement.setAttribute(
144 "scale", 147 "scale",
145 String.valueOf(map.getMaxScale())); 148 String.valueOf(map.getMaxScale()));
146 } 149 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)