Changeset 28044 in osm for applications/editors/josm/plugins/opendata/modules/fr.sncf/src
- Timestamp:
- 2012-03-11T17:50:51+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/datasets
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/datasets/EquipementsHandler.java
r28000 r28044 15 15 @Override 16 16 public boolean acceptsFilename(String filename) { 17 return accepts XlsFilename(filename, "gare_20......");17 return acceptsCsvXlsFilename(filename, "gare_20......"); 18 18 } 19 19 … … 31 31 @Override 32 32 public LatLon getSpreadSheetCoor(EastNorth en, String[] fields) { 33 // Lambert II coordinates offset by 2000000 (see http://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Projections_officielles_en_France_m .C3.A9tropolitaine)33 // Lambert II coordinates offset by 2000000 (see http://fr.wikipedia.org/wiki/Projection_conique_conforme_de_Lambert#Projections_officielles_en_France_métropolitaine) 34 34 return super.getSpreadSheetCoor(new EastNorth(en.getX(), en.getY()-2000000), fields); 35 35 } -
applications/editors/josm/plugins/opendata/modules/fr.sncf/src/org/openstreetmap/josm/plugins/opendata/modules/fr/sncf/datasets/SncfDataSetHandler.java
r28000 r28044 82 82 return null; 83 83 } 84 85 /* (non-Javadoc) 86 * @see org.openstreetmap.josm.plugins.opendata.core.datasets.AbstractDataSetHandler#getLicenseURL() 87 */ 88 @Override 89 public URL getLicenseURL() { 90 try { 91 return new URL("http://test.data-sncf.com/licence"); 92 } catch (MalformedURLException e) { 93 e.printStackTrace(); 94 } 95 return null; 96 } 84 97 }
Note:
See TracChangeset
for help on using the changeset viewer.