Changeset 6488 in josm
- Timestamp:
- 2013-12-18T02:57:18+01:00 (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/projection/Projections.java
r6463 r6488 44 44 // Hide default constructor for utils classes 45 45 } 46 46 47 47 public static EastNorth project(LatLon ll) { 48 48 if (ll == null) return null; … … 134 134 BufferedReader r = null; 135 135 try { 136 InputStream in = new MirroredInputStream("resource://data/ epsg");136 InputStream in = new MirroredInputStream("resource://data/projection/epsg"); 137 137 r = new BufferedReader(new InputStreamReader(in)); 138 138 String line, lastline = ""; -
trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFileWrapper.java
r6135 r6488 15 15 16 16 /** 17 * Used in Germany to convert coordinates between the DHDN (<i>Deutsches Hauptdreiecksnetz</i>) 17 * Used in Germany to convert coordinates between the DHDN (<i>Deutsches Hauptdreiecksnetz</i>) 18 18 * and ETRS89 (<i>European Terrestrial Reference System 1989</i>) datums. 19 19 * @see <a href="http://crs.bkg.bund.de/crseu/crs/descrtrans/eu-descrtrans.php?crs_id=REVfREhETiAvIEdLXzM=&op_id=REVfREhETiAoQmVUQSwgMjAwNykgdG8gRVRSUzg5"> 20 20 * Description of Transformation - DE_DHDN (BeTA, 2007) to ETRS89</a> 21 21 */ 22 public final static NTV2GridShiftFileWrapper BETA2007 = new NTV2GridShiftFileWrapper("resource://data/ BETA2007.gsb");23 22 public final static NTV2GridShiftFileWrapper BETA2007 = new NTV2GridShiftFileWrapper("resource://data/projection/BETA2007.gsb"); 23 24 24 /** 25 * Used in France to convert coordinates between the NTF (<i>Nouvelle triangulation de la France</i>) 25 * Used in France to convert coordinates between the NTF (<i>Nouvelle triangulation de la France</i>) 26 26 * and RGF93 (<i>Réseau géodésique français 1993</i>) datums. 27 27 * @see <a href="http://geodesie.ign.fr/contenu/fichiers/documentation/algorithmes/notice/NT111_V1_HARMEL_TransfoNTF-RGF93_FormatGrilleNTV2.pdf"> 28 28 * [French] Transformation de coordonnées NTF – RGF93 / Format de grille NTv2</a> 29 29 */ 30 public final static NTV2GridShiftFileWrapper ntf_rgf93 = new NTV2GridShiftFileWrapper("resource://data/ ntf_r93_b.gsb");30 public final static NTV2GridShiftFileWrapper ntf_rgf93 = new NTV2GridShiftFileWrapper("resource://data/projection/ntf_r93_b.gsb"); 31 31 32 32 -
trunk/src/org/openstreetmap/josm/data/validation/tests/OpeningHourTest.java
r6427 r6488 53 53 super.initialize(); 54 54 if (ENGINE != null) { 55 ENGINE.eval(new InputStreamReader(new MirroredInputStream("resource://data/ opening_hours.js"), "UTF-8"));55 ENGINE.eval(new InputStreamReader(new MirroredInputStream("resource://data/validator/opening_hours.js"), "UTF-8")); 56 56 // fake country/state to not get errors on holidays 57 ENGINE.eval("var nominati omJSON = {address: {state: 'Bayern', country_code: 'de'}};");57 ENGINE.eval("var nominatimJSON = {address: {state: 'Bayern', country_code: 'de'}};"); 58 58 ENGINE.eval("" + 59 59 "var oh = function (value, mode) {" + 60 60 " try {" + 61 " var r= new opening_hours(value, nominati omJSON, mode);" +61 " var r= new opening_hours(value, nominatimJSON, mode);" + 62 62 " r.getErrors = function() {return [];};" + 63 63 " return r;" + -
trunk/src/org/openstreetmap/josm/gui/preferences/projection/ProjectionPreference.java
r6380 r6488 44 44 * - Find EPSG code for the projection. 45 45 * - Look up the parameter string for Proj4, e.g. on http://spatialreference.org/ 46 * and add it to the file 'data/ epsg' in JOSM trunk46 * and add it to the file 'data/projection/epsg' in JOSM trunk 47 47 * - Search for official references and verify the parameter values. These 48 48 * documents are often available in the local language only.
Note:
See TracChangeset
for help on using the changeset viewer.