Changeset 17131 in josm for trunk/src/org
- Timestamp:
- 2020-10-09T06:59:05+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GeoJSONReader.java
r17115 r17131 163 163 // create misc. non-geometry feature 164 164 final Relation relation = new Relation(); 165 fillTagsFromFeature(feature, relation); 165 166 relation.put(TYPE, type.toString()); 166 fillTagsFromFeature(feature, relation);167 167 getDataSet().addPrimitive(relation); 168 168 } … … 325 325 } 326 326 327 /** 328 * Replace all existing tags in primitive by the values given in the GeoJSON feature. 329 * @param feature the GeoJSON feature 330 * @param primitive the OSM primitive 331 */ 327 332 private static void fillTagsFromFeature(final JsonObject feature, final OsmPrimitive primitive) { 328 333 if (feature != null) {
Note:
See TracChangeset
for help on using the changeset viewer.