Changeset 30701 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
- Timestamp:
- 2014-10-04T17:28:45+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreInterface.java
r30532 r30701 227 227 while ((ln = in.readLine()) != null) { 228 228 lines += ln; 229 } 230 if (Main.isDebugEnabled()) { 231 Main.debug(lines); 229 232 } 230 233 } catch (MalformedURLException e) { … … 544 547 } 545 548 546 private double tryParseDouble(String str) {547 try {548 return Double.parseDouble(str);549 } catch (NumberFormatException e) {550 return 0;551 }552 }553 554 549 private void checkLayerDuplicates(WMSLayer wmsLayer) throws DuplicateLayerException { 555 550 if (Main.map != null) { -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastreSessionImporter.java
r29922 r30701 5 5 import java.io.File; 6 6 import java.io.IOException; 7 import java.io.InputStream;8 import java.net.URI;9 import java.net.URISyntaxException;10 import java.net.URL;11 7 import java.net.URLDecoder; 12 import java.net.URLEncoder;13 8 14 9 import javax.xml.xpath.XPath; … … 20 15 import org.openstreetmap.josm.gui.layer.Layer; 21 16 import org.openstreetmap.josm.gui.progress.ProgressMonitor; 22 import org.openstreetmap.josm.io.GpxImporter;23 17 import org.openstreetmap.josm.io.IllegalDataException; 24 18 import org.openstreetmap.josm.io.session.SessionLayerImporter; -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/ImageModifier.java
r23190 r30701 15 15 */ 16 16 //public static int cadastreBackgroundTransp = 1; // original white but transparent 17 18 private static final long serialVersionUID = 1L;19 17 20 18 protected int parcelColor = Color.RED.getRGB(); -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrab.java
r29101 r30701 2 2 package cadastre_fr; 3 3 4 import static org.openstreetmap.josm.tools.I18n.marktr; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.tools.I18n.marktr;6 6 7 7 import java.awt.event.ActionEvent; 8 8 import java.awt.event.KeyEvent; 9 10 import javax.swing.JOptionPane;11 9 12 10 import org.openstreetmap.josm.Main; … … 14 12 import org.openstreetmap.josm.tools.Shortcut; 15 13 14 /** 15 * Action calling the wms grabber for cadastre.gouv.fr 16 */ 16 17 public class MenuActionGrab extends JosmAction { 17 18 /**19 * Action calling the wms grabber for cadastre.gouv.fr20 */21 private static final long serialVersionUID = 1L;22 18 23 19 public static String name = marktr("Cadastre grab"); -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionRefineGeoRef.java
r29722 r30701 1 1 package cadastre_fr; 2 2 3 import static org.openstreetmap.josm.tools.I18n.marktr; 3 4 import static org.openstreetmap.josm.tools.I18n.tr; 4 import static org.openstreetmap.josm.tools.I18n.marktr;5 5 6 6 import java.awt.event.ActionEvent; 7 7 8 import javax.swing.JOptionPane;9 10 import org.openstreetmap.josm.Main;11 8 import org.openstreetmap.josm.actions.JosmAction; 12 9 13 @SuppressWarnings("serial")14 10 public class MenuActionRefineGeoRef extends JosmAction { 15 11 -
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSDownloadAction.java
r24907 r30701 14 14 15 15 public class WMSDownloadAction /*extends JosmAction */{ 16 17 private static final long serialVersionUID = 1L;18 16 19 17 // public WMSDownloadAction(String layerName) {
Note:
See TracChangeset
for help on using the changeset viewer.