Changeset 33688 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2017-09-30T15:48:06+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java
r33680 r33688 12 12 import java.io.File; 13 13 import java.util.Arrays; 14 import java.util.Calendar; 14 15 import java.util.HashMap; 15 16 import java.util.Map; … … 501 502 502 503 private static String checkSourceMillesime() { 503 java.util.Calendar calendar = java.util.Calendar.getInstance(); 504 int currentYear = calendar.get(java.util.Calendar.YEAR); 504 int currentYear = Calendar.getInstance().get(Calendar.YEAR); 505 505 String src = Main.pref.get("cadastrewms.source", 506 506 "cadastre-dgi-fr source : Direction G\u00e9n\u00e9rale des Imp\u00f4ts - Cadastre. Mise \u00e0 jour : AAAA"); -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/EdigeoFileVEC.java
r33685 r33688 28 28 import org.openstreetmap.josm.data.osm.Way; 29 29 import org.openstreetmap.josm.data.projection.Projection; 30 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 30 31 import org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoFileSCD.McdAttributeDef; 31 32 import org.openstreetmap.josm.plugins.fr.cadastre.edigeo.EdigeoFileSCD.McdConstructionRelationDef; … … 563 564 e.b.accept(obj, p); 564 565 } 566 } 567 if (p.isTagged()) { 568 p.put("source", CadastrePlugin.source); 565 569 } 566 570 } -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/edigeo/pci/EdigeoPciReader.java
r33685 r33688 173 173 EdigeoFileVEC.addObjectPostProcessor((o, p) -> { 174 174 p.put("place", "unknown"); 175 p.put("fixme", "place type"); 175 176 }, o -> o.hasScdIdentifier("LIEUDIT_id")); 176 177
Note:
See TracChangeset
for help on using the changeset viewer.