Ignore:
Timestamp:
2009-11-21T01:14:05+01:00 (15 years ago)
Author:
pieren
Message:

Improve autosourcing. Add history.

Location:
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java

    r18720 r18722  
    8383 *                 - add optional crosspieces display on raster image layers
    8484 *                 - add automatic raster images georeferencing when WMS provides data
    85  *                 - re-implement manual adjustment mode in raster image layer 
     85 *                 - re-implement manual adjustment mode in raster image layer
     86 * 1.5 21-Nov-2009 - major changes in projection in core : no magical zone prediction anymore for
     87 *                   Lambert 4 and 9 zones; grid translation implemented for Lambert 4 zones;
     88 *                   support of subprojections in preferences for zones setting and UTM20N
     89 *                 - removed autosourcing of empty new nodes
    8690 */
    8791public class CadastrePlugin extends Plugin {
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CheckSourceUploadHook.java

    r18544 r18722  
    4242            Collection<OsmPrimitive> sel = new HashSet<OsmPrimitive>();
    4343            for (OsmPrimitive osm : apiDataSet.getPrimitivesToAdd()) {
    44                 if ((osm instanceof Node || osm instanceof Way)
    45                         && (osm.getKeys() == null || !tagSourceExist(osm))) {
     44                if ((osm instanceof Way && (osm.getKeys().size() == 0 || !tagSourceExist(osm)))
     45                 || (osm instanceof Node && osm.getKeys().size() > 0 && !tagSourceExist(osm))) {
    4646                    sel.add(osm);
    4747                }
Note: See TracChangeset for help on using the changeset viewer.