Changeset 6854 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2014-02-16T12:34:38+01:00 (11 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/CustomProjection.java
r6823 r6854 68 68 no_defs("no_defs", false), 69 69 init("init", true), 70 // JOSM extension, not present in PROJ.4 70 // JOSM extensions, not present in PROJ.4 71 wmssrs("wmssrs", true), 71 72 bounds("bounds", true); 72 73 … … 152 153 this.bounds = parseBounds(s); 153 154 } 155 s = parameters.get(Param.wmssrs.key); 156 if (s != null) { 157 this.code = s; 158 } 154 159 } 155 160 } … … 174 179 if (m.groupCount() >= 3) { 175 180 value = m.group(3); 176 // s ame aliases181 // some aliases 177 182 if (key.equals(Param.proj.key)) { 178 183 if (value.equals("longlat") || value.equals("latlon") || value.equals("latlong")) { -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/CustomProjectionChoice.java
r6792 r6854 188 188 s.append(listKeys(Projections.nadgrids)+"<br>"); 189 189 s.append("<b>+bounds=</b>minlon,minlat,maxlon,maxlat - <i>"+tr("Projection bounds (in degrees)")+"</i><br>"); 190 s.append("<b>+wmssrs=</b>EPSG:123456 - <i>"+tr("WMS SRS (EPSG code)")+"</i><br>"); 190 191 191 192 return new HtmlPanel(s.toString());
Note:
See TracChangeset
for help on using the changeset viewer.