Ticket #3214: UTM_20N_Guadeloupe_Fort_Marigot.java

File UTM_20N_Guadeloupe_Fort_Marigot.java, 1.1 KB (added by pieren, 15 years ago)
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 - St Martin and St Barthelemy islands
12 */
13public class UTM_20N_Guadeloupe_Fort_Marigot extends UTM_20N_France_DOM implements Projection {
14 public UTM_20N_Guadeloupe_Fort_Marigot() {
15 super(new double[]{136.596, 248.148, -429.789},
16 new double[]{0, 0, 0},
17 0);
18 }
19
20 public String getCacheDirectoryName() {
21 return this.toString();
22 }
23
24 public Bounds getWorldBoundsLatLon() {
25 return new Bounds(
26 new LatLon(17.6,-63.25),
27 new LatLon(18.5,-62.5));
28 }
29
30 public String toCode() {
31 return "EPSG::2969";
32 }
33
34 @Override public String toString() {
35 return tr("UTM20N Guadeloupe Fort-Marigot 1949");
36 }
37
38}