source: josm/trunk/src/org/openstreetmap/josm/data/projection/UTM_20N_Guadeloupe_Ste_Anne.java@ 2491

Last change on this file since 2491 was 2114, checked in by stoecker, 15 years ago

see #3016 - patch by xeen - fixes some zooming issues

File size: 1.2 KB
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.data.projection;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5
6import org.openstreetmap.josm.data.Bounds;
7import org.openstreetmap.josm.data.coor.LatLon;
8
9/*
10 * Local geodisic system with UTM zone 20N projection.
11 * Apply to Guadeloupe, France - Grande-Terre and surrounding islands.
12 */
13public class UTM_20N_Guadeloupe_Ste_Anne extends UTM_20N_France_DOM implements Projection {
14 public UTM_20N_Guadeloupe_Ste_Anne() {
15 super (new double[]{-472.29, -5.63, -304.12},
16 new double[]{0.4362, -0.8374, 0.2563},
17 1.8984E-6);
18 }
19
20 public String getCacheDirectoryName() {
21 return this.toString();
22 }
23
24 public Bounds getWorldBoundsLatLon() {
25 return new Bounds(
26 new LatLon(15.8,-61.9),
27 new LatLon(16.6,-60.9));
28 }
29
30 public String toCode() {
31 return "EPSG::2970";
32 }
33
34 @Override public String toString() {
35 return tr("UTM20N Guadeloupe Ste-Anne 1948");
36 }
37
38 public double getDefaultZoomInPPD() {
39 // this will set the map scaler to about 1000 m
40 return 10.01;
41 }
42}
Note: See TracBrowser for help on using the repository browser.