Changeset 58 in josm for src/org/openstreetmap/josm/data
- Timestamp:
- 2006-03-14T01:47:55+01:00 (19 years ago)
- Location:
- src/org/openstreetmap/josm/data
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/data/Preferences.java
r43 r58 54 54 * Base URL to the osm data server 55 55 */ 56 public String osmDataServer = "http://www.openstreetmap.org/api /0.2";56 public String osmDataServer = "http://www.openstreetmap.org/api"; 57 57 /** 58 58 * The username to the osm server -
src/org/openstreetmap/josm/data/osm/OsmPrimitive.java
r35 r58 1 1 package org.openstreetmap.josm.data.osm; 2 2 3 import java.util.HashMap; 3 4 import java.util.Map; 4 5 … … 10 11 * An OSM primitive can be associated with a key/value pair. It can be created, deleted 11 12 * and updated within the OSM-Server. 12 * 13 * 14 * Although OsmPrimitive is designed as a base class, it is not to be meant to subclass 15 * it by any other than from the package org.openstreetmap.josm.data.osm (thus the 16 * visibility of the constructor). The available primitives are a fixed set that are given 17 * by the server environment and not an extendible data stuff. 18 * 13 19 * @author imi 14 20 */ 15 21 abstract public class OsmPrimitive { 16 17 22 18 23 /** … … 129 134 return id == 0 ? super.hashCode() : (int)id; 130 135 } 136 137 /** 138 * Set the given value to the given key 139 * @param key The key, for which the value is to be set. 140 * @param value The value for the key. 141 */ 142 public void put(Key key, String value) { 143 if (keys == null) 144 keys = new HashMap<Key, String>(); 145 keys.put(key, value); 146 } 131 147 } -
src/org/openstreetmap/josm/data/projection/Projection.java
r51 r58 13 13 public static double MAX_LAT = 85; 14 14 public static double MAX_LON = 180; 15 public static final double MAX_SERVER_PRECISION = 1e1 3;15 public static final double MAX_SERVER_PRECISION = 1e12; 16 16 17 17 /**
Note:
See TracChangeset
for help on using the changeset viewer.