Changeset 35976 in osm for applications/editors/josm/plugins/comfort0
- Timestamp:
- 2022-06-14T20:11:21+02:00 (3 years ago)
- Location:
- applications/editors/josm/plugins/comfort0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/comfort0/build.xml
r35765 r35976 3 3 4 4 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 5 <property name="plugin.main.version" value=" 9229"/>5 <property name="plugin.main.version" value="12164"/> 6 6 <property name="plugin.canloadatruntime" value="true"/> 7 7 -
applications/editors/josm/plugins/comfort0/src/net/simon04/comfort0/OsmToLevel0L.java
r35585 r35976 3 3 import java.util.Collection; 4 4 5 import org.openstreetmap.josm.data.coor.LatLon; 5 import org.openstreetmap.josm.data.coor.ILatLon; 6 6 import org.openstreetmap.josm.data.osm.DefaultNameFormatter; 7 7 import org.openstreetmap.josm.data.osm.KeyValueVisitor; … … 79 79 sb.append(p.getType().getAPIName()).append(" ").append(p.getUniqueId()); 80 80 if (p instanceof Node) { 81 final LatLon latLon = ( (Node) p).getCoor();82 if (latLon != null) {81 final ILatLon latLon = (Node) p; 82 if (latLon.isLatLonKnown()) { 83 83 sb.append(": ").append(latLon.lat()).append(", ").append(latLon.lon()); 84 84 }
Note:
See TracChangeset
for help on using the changeset viewer.