Changeset 33638 in osm for applications/editors/josm/plugins/cadastre-fr
- Timestamp:
- 2017-09-19T22:55:47+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre
- Files:
-
- 6 added
- 1 deleted
- 1 edited
- 39 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/CadastrePlugin.java
r33637 r33638 38 38 import org.openstreetmap.josm.plugins.Plugin; 39 39 import org.openstreetmap.josm.plugins.PluginInformation; 40 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionGrab; 41 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionGrabPlanImage; 42 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionLoadFromCache; 43 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionNewLocation; 44 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionOpenPreferences; 45 import org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode.Address; 46 import org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode.WMSAdjustAction; 47 import org.openstreetmap.josm.plugins.fr.cadastre.actions.upload.CheckSourceUploadHook; 48 import org.openstreetmap.josm.plugins.fr.cadastre.preferences.CadastrePreferenceSetting; 49 import org.openstreetmap.josm.plugins.fr.cadastre.session.CadastreSessionExporter; 50 import org.openstreetmap.josm.plugins.fr.cadastre.session.CadastreSessionImporter; 51 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 40 52 41 53 /** -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionBoundaries.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.actions.JosmAction; 12 import org.openstreetmap.josm.plugins.fr.cadastre.wms.DownloadSVGTask; 13 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 12 14 13 15 public class MenuActionBoundaries extends JosmAction { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionCancelGrab.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 8 8 9 9 import org.openstreetmap.josm.actions.JosmAction; 10 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 10 11 11 12 @SuppressWarnings("serial") -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionGrab.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.actions.JosmAction; 12 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 13 import org.openstreetmap.josm.plugins.fr.cadastre.wms.DownloadWMSVectorImage; 14 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 12 15 import org.openstreetmap.josm.tools.Shortcut; 13 16 -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionGrabPlanImage.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 12 12 import org.openstreetmap.josm.Main; 13 13 import org.openstreetmap.josm.actions.JosmAction; 14 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 15 import org.openstreetmap.josm.plugins.fr.cadastre.wms.DownloadWMSPlanImage; 16 import org.openstreetmap.josm.plugins.fr.cadastre.wms.RasterImageGeoreferencer; 17 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 14 18 15 19 public class MenuActionGrabPlanImage extends JosmAction implements Runnable { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionLoadFromCache.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 14 14 import org.openstreetmap.josm.actions.JosmAction; 15 15 import org.openstreetmap.josm.gui.layer.Layer; 16 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 17 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheControl; 18 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheFileLambert4ZoneFilter; 19 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheFileLambert9ZoneFilter; 20 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheFileUTM20NFilter; 21 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 16 22 17 23 public class MenuActionLoadFromCache extends JosmAction { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionNewLocation.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 17 17 import org.openstreetmap.josm.actions.JosmAction; 18 18 import org.openstreetmap.josm.gui.layer.Layer; 19 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 20 import org.openstreetmap.josm.plugins.fr.cadastre.wms.DownloadWMSVectorImage; 21 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 19 22 import org.openstreetmap.josm.tools.GBC; 20 23 -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionOpenPreferences.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 10 10 import org.openstreetmap.josm.actions.JosmAction; 11 11 import org.openstreetmap.josm.gui.preferences.PreferenceDialog; 12 import org.openstreetmap.josm.plugins.fr.cadastre.preferences.CadastrePreferenceSetting; 12 13 13 14 public class MenuActionOpenPreferences extends JosmAction { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionRefineGeoRef.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 9 9 import org.openstreetmap.josm.Main; 10 10 import org.openstreetmap.josm.actions.JosmAction; 11 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 12 import org.openstreetmap.josm.plugins.fr.cadastre.wms.RasterImageGeoreferencer; 13 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 11 14 12 15 public class MenuActionRefineGeoRef extends JosmAction { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionResetCookie.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/MenuActionSaveRasterAs.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.marktr; … … 27 27 import org.openstreetmap.josm.Main; 28 28 import org.openstreetmap.josm.actions.JosmAction; 29 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 29 30 30 31 public class MenuActionSaveRasterAs extends JosmAction { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/WMSDownloadAction.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 12 12 //import org.openstreetmap.josm.actions.JosmAction; 13 13 import org.openstreetmap.josm.gui.layer.Layer; 14 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 14 15 15 public class WMSDownloadAction /*extends JosmAction */ { 16 17 // public WMSDownloadAction(String layerName) { 18 // super(layerName, "wmsmenu", tr("Download WMS tile from {0}",layerName), null, false); 19 // } 20 // 21 // public void actionPerformed(ActionEvent e) { 22 // DownloadWMSVectorImage.download(getLayer()); 23 // } 16 public class WMSDownloadAction { 24 17 25 18 public static WMSLayer getLayer() { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/mapmode/Address.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/mapmode/WMSAdjustAction.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 19 19 import org.openstreetmap.josm.data.coor.EastNorth; 20 20 import org.openstreetmap.josm.gui.MapView; 21 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheControl; 22 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 21 23 import org.openstreetmap.josm.tools.ImageProvider; 22 24 -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/actions/upload/CheckSourceUploadHook.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.actions.upload; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 23 23 import org.openstreetmap.josm.data.osm.Way; 24 24 import org.openstreetmap.josm.gui.OsmPrimitivRenderer; 25 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 25 26 import org.openstreetmap.josm.tools.GBC; 26 27 -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/preferences/CadastrePreferenceSetting.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.preferences; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 26 26 import org.openstreetmap.josm.gui.preferences.DefaultTabPreferenceSetting; 27 27 import org.openstreetmap.josm.gui.preferences.PreferenceTabbedPane; 28 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 29 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheControl; 28 30 import org.openstreetmap.josm.tools.GBC; 29 31 import org.openstreetmap.josm.tools.I18n; … … 93 95 private JCheckBox layerCommune = new JCheckBox(tr("commune")); 94 96 95 static final int DEFAULT_SQUARE_SIZE = 100;97 public static final int DEFAULT_SQUARE_SIZE = 100; 96 98 private JTextField grabMultiplier4Size = new JTextField(5); 97 99 98 100 private JCheckBox enableCache = new JCheckBox(tr("Enable automatic caching.")); 99 101 100 static final int DEFAULT_CACHE_SIZE = 0; // disabled by default102 public static final int DEFAULT_CACHE_SIZE = 0; // disabled by default 101 103 JLabel jLabelCacheSize = new JLabel(tr("Max. cache size (in MB)")); 102 104 private JTextField cacheSize = new JTextField(20); 103 105 104 static final String DEFAULT_RASTER_DIVIDER = "7";106 public static final String DEFAULT_RASTER_DIVIDER = "7"; 105 107 private JTextField rasterDivider = new JTextField(10); 106 108 107 109 static final int DEFAULT_CROSSPIECES = 0; 108 110 109 static final String DEFAULT_GRAB_MULTIPLIER = Scale.SQUARE_100M.value;111 public static final String DEFAULT_GRAB_MULTIPLIER = Scale.SQUARE_100M.value; 110 112 111 113 /** -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/preferences/Scale.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.preferences; 3 3 4 4 /** -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/session/CadastreSessionExporter.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.session; 3 3 4 4 import java.awt.Component; … … 19 19 import org.openstreetmap.josm.io.session.SessionLayerExporter; 20 20 import org.openstreetmap.josm.io.session.SessionWriter.ExportSupport; 21 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 21 22 import org.openstreetmap.josm.tools.GBC; 22 23 import org.w3c.dom.Element; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/session/CadastreSessionImporter.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.session; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 19 19 import org.openstreetmap.josm.io.session.SessionLayerImporter; 20 20 import org.openstreetmap.josm.io.session.SessionReader.ImportSupport; 21 import org.openstreetmap.josm.plugins.fr.cadastre.wms.CacheControl; 22 import org.openstreetmap.josm.plugins.fr.cadastre.wms.WMSLayer; 21 23 import org.w3c.dom.Element; 22 24 -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CacheControl.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 22 22 import org.openstreetmap.josm.Main; 23 23 import org.openstreetmap.josm.gui.util.GuiHelper; 24 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 25 import org.openstreetmap.josm.plugins.fr.cadastre.preferences.CadastrePreferenceSetting; 24 26 25 27 /** -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CacheFileLambert4ZoneFilter.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 17 17 private final String description; 18 18 19 static final CacheFileLambert4ZoneFilter[] filters = {19 public static final CacheFileLambert4ZoneFilter[] filters = { 20 20 new CacheFileLambert4ZoneFilter("1", tr("Lambert Zone {0} cache file (.{0})", 1)), 21 21 new CacheFileLambert4ZoneFilter("2", tr("Lambert Zone {0} cache file (.{0})", 2)), -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CacheFileLambert9ZoneFilter.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CacheFileUTM20NFilter.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CadastreGrabber.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 15 15 import org.openstreetmap.josm.data.coor.EastNorth; 16 16 import org.openstreetmap.josm.io.OsmTransferException; 17 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 17 18 18 19 public class CadastreGrabber { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/CadastreInterface.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 34 34 import org.openstreetmap.josm.io.OsmTransferException; 35 35 import org.openstreetmap.josm.io.ProgressInputStream; 36 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 36 37 import org.openstreetmap.josm.tools.GBC; 37 38 … … 58 59 private long cookieTimestamp; 59 60 60 static final String BASE_URL = "https://www.cadastre.gouv.fr";61 public static final String BASE_URL = "https://www.cadastre.gouv.fr"; 61 62 static final String C_IMAGE_FORMAT = "Cette commune est au format "; 62 63 static final String C_COMMUNE_LIST_START = "<select name=\"codeCommune\""; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/DownloadSVGBuilding.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 31 31 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 32 32 import org.openstreetmap.josm.io.OsmTransferException; 33 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 33 34 34 35 public class DownloadSVGBuilding extends PleaseWaitRunnable { … … 134 135 }*/ 135 136 136 // simplify ways and check if we can reuse existing OSM nodes137 // for (Way wayToAdd : svgDataSet.getWays())138 // new SimplifyWay().simplifyWay(wayToAdd, svgDataSet, 0.5);139 137 // check if the new way or its nodes is already in OSM layer 140 138 for (Node n : svgDataSet.getNodes()) { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/DownloadSVGTask.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 31 31 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 32 32 import org.openstreetmap.josm.io.OsmTransferException; 33 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 33 34 34 35 /** … … 129 130 wayToAdd.addNode(wayToAdd.getNode(0)); // close the circle 130 131 131 // simplify the way132 // double threshold = Double.parseDouble(Main.pref.get("cadastrewms.simplify-way-boundary", "1.0"));133 // new SimplifyWay().simplifyWay(wayToAdd, Main.main.getCurrentDataSet(), threshold);134 135 132 cmds.add(new AddCommand(wayToAdd)); 136 133 Main.main.undoRedo.add(new SequenceCommand(tr("Create boundary"), cmds)); -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/DownloadWMSPlanImage.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 14 14 import org.openstreetmap.josm.gui.MapView; 15 15 import org.openstreetmap.josm.gui.PleaseWaitRunnable; 16 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 16 17 17 18 public class DownloadWMSPlanImage { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/DownloadWMSVectorImage.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/DuplicateLayerException.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 class DuplicateLayerException extends Exception {4 public class DuplicateLayerException extends Exception { 5 5 private static final long serialVersionUID = 1L; 6 6 } -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/EastNorthBound.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.io.Serializable; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/GeorefImage.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.awt.AlphaComposite; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/GrabThread.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.awt.Color; … … 14 14 import org.openstreetmap.josm.gui.MapView; 15 15 import org.openstreetmap.josm.io.OsmTransferException; 16 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 16 17 17 18 public class GrabThread extends Thread { -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/ImageModifier.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.awt.Color; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/RasterImageGeoreferencer.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/RasterImageModifier.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.awt.Color; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/SVGParser.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.util.ArrayList; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/VectorImageModifier.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import java.awt.Color; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/WMSException.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 class WMSException extends Exception {4 public class WMSException extends Exception { 5 5 private String message; 6 6 private static final long serialVersionUID = 1L; 7 7 8 WMSException(String message) {8 public WMSException(String message) { 9 9 super(); 10 10 this.message = message; -
applications/editors/josm/plugins/cadastre-fr/src/org/openstreetmap/josm/plugins/fr/cadastre/wms/WMSLayer.java
r33637 r33638 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.plugins.fr.cadastre ;2 package org.openstreetmap.josm.plugins.fr.cadastre.wms; 3 3 4 4 import static org.openstreetmap.josm.tools.I18n.tr; … … 41 41 import org.openstreetmap.josm.gui.layer.Layer; 42 42 import org.openstreetmap.josm.gui.util.GuiHelper; 43 import org.openstreetmap.josm.plugins.fr.cadastre.CadastrePlugin; 44 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionCancelGrab; 45 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionLoadFromCache; 46 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionRefineGeoRef; 47 import org.openstreetmap.josm.plugins.fr.cadastre.actions.MenuActionSaveRasterAs; 48 import org.openstreetmap.josm.plugins.fr.cadastre.actions.mapmode.WMSAdjustAction; 49 import org.openstreetmap.josm.plugins.fr.cadastre.preferences.CadastrePreferenceSetting; 43 50 44 51 /**
Note:
See TracChangeset
for help on using the changeset viewer.