Changeset 916 in josm
- Timestamp:
- 2008-09-03T17:13:16+02:00 (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 deleted
- 80 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/presets/presets.xml
r915 r916 230 230 <separator/> 231 231 232 <item name="Road (Unknown Type)" icon="presets/way_un known.png">232 <item name="Road (Unknown Type)" icon="presets/way_unclassified.png"> 233 233 <label text="Edit a Road of unknown type" /> 234 234 <label text=" " /> … … 293 293 <text key="width" text="Width (metres)" default="" delete_if_empty="true" /> 294 294 </item> 295 295 296 <item name="Bridge" icon="presets/bridge.png"> 296 297 <label text="Edit a Bridge" /> … … 308 309 </group> <!-- Streets --> 309 310 310 <group name="Ways" icon="presets/way_un known.png">311 <item name="Service" icon="presets/way_ service.png">311 <group name="Ways" icon="presets/way_unclassified.png"> 312 <item name="Service" icon="presets/way_unclassified.png"> 312 313 <label text="Edit a Serviceway" /> 313 314 <label text=" " /> … … 328 329 </item> 329 330 330 <item name="Parking Aisle" icon="presets/way_ service.png">331 <item name="Parking Aisle" icon="presets/way_unclassified.png"> 331 332 <label text="Edit a Parking Aisle" /> 332 333 <label text=" " /> … … 459 460 <separator/> 460 461 461 <item name="Track" icon="presets/track.png"> 462 <item name="Track" icon="presets/track1.png"> 462 463 <label text="Edit a Track" /> 463 464 <label text=" " /> … … 778 779 <text key="name" text="Name" default="" delete_if_empty="true" /> 779 780 </item> 781 782 <item name="City Limit" icon="presets/citylimit.png"> 783 <label text="Edit a city limit sign" /> 784 <label text=" " /> 785 <key key="traffic_sign" value="city_limit" /> 786 <label text=" " /> 787 <text key="name" text="Name" default="" delete_if_empty="true" /> 788 <text key="alt_name" text="Second Name" default="" delete_if_empty="true" /> 789 </item> 790 791 <item name="Speed Camera" icon="presets/waypoints.png"> 792 <key key="amenity" value="speed_camera" /> 793 </item> 780 794 </group> <!-- Waypoints --> 781 795 … … 1031 1045 </item> 1032 1046 1033 <item name="Railway Halt" icon="presets/ railway_halt.png">1047 <item name="Railway Halt" icon="presets/station.png"> 1034 1048 <label text="Edit Halt" /> 1035 1049 <label text=" " /> -
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r910 r916 361 361 ImageIcon icon = ImageProvider.getIfAvailable(null, iconName); 362 362 if (icon == null) 363 { 364 System.out.println("Could not get presets icon " + iconName); 363 365 icon = new ImageIcon(iconName); 366 } 364 367 if (Math.max(icon.getIconHeight(), icon.getIconWidth()) != 16) 365 368 icon = new ImageIcon(icon.getImage().getScaledInstance(16, 16, Image.SCALE_SMOOTH)); -
trunk/src/org/openstreetmap/josm/io/OsmServerReader.java
r655 r916 1 1 // License: GPL. Copyright 2007 by Immanuel Scholz and others 2 2 package org.openstreetmap.josm.io; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 3 5 4 6 import java.io.IOException; … … 33 35 String version = Main.pref.get("osm-server.version", "0.5"); 34 36 urlStr = Main.pref.get("osm-server.url")+"/"+version+"/" + urlStr; 35 System.out.println("download: "+urlStr); 37 // System.out.println("download: "+urlStr); 36 38 initAuthentication(); 37 39 URL url = new URL(urlStr); … … 45 47 activeConnection.setRequestProperty("Accept-Encoding", "gzip, deflate"); 46 48 47 System.out.println("got return: "+activeConnection.getResponseCode());48 49 activeConnection.setConnectTimeout(15000); 49 50 if (isAuthCancelled() && activeConnection.getResponseCode() == 401) 50 51 return null; 52 if( activeConnection.getResponseCode() == 500 ) 53 { 54 throw new IOException(tr("Server returned internal error. Try a reduced area or retry after waiting some time.")); 55 } 56 // System.out.println("got return: "+activeConnection.getResponseCode()); 51 57 52 58 String encoding = activeConnection.getContentEncoding(); -
trunk/styles/standard/elemstyles.xml
r898 r916 3529 3529 </rule> 3530 3530 3531 <rule> 3532 <condition k="traffic_sign" v="city_limit"/> 3533 <icon annotate="true" src="citylimit.png"/> 3534 <scale_min>1</scale_min> 3535 <scale_max>40000</scale_max> 3536 </rule> 3537 3531 3538 </rules>
Note:
See TracChangeset
for help on using the changeset viewer.