Last change
on this file since 1929 was 1929, checked in by Gubaer, 15 years ago |
applied #3214: patch by pieren: new projections for the French cadastre
|
File size:
1.1 KB
|
Line | |
---|
1 | // License: GPL. For details, see LICENSE file.
|
---|
2 | package org.openstreetmap.josm.data.projection;
|
---|
3 |
|
---|
4 | import static org.openstreetmap.josm.tools.I18n.tr;
|
---|
5 |
|
---|
6 | import org.openstreetmap.josm.data.Bounds;
|
---|
7 | import org.openstreetmap.josm.data.coor.LatLon;
|
---|
8 |
|
---|
9 | /*
|
---|
10 | * Local geodisic system with UTM zone 20N projection.
|
---|
11 | * Apply to Martinique, France and surrounding islands
|
---|
12 | */
|
---|
13 | public class UTM_20N_Martinique_Fort_Desaix extends UTM_20N_France_DOM implements Projection {
|
---|
14 | public UTM_20N_Martinique_Fort_Desaix() {
|
---|
15 | super(new double[]{126.926, 547.939, 130.409},
|
---|
16 | new double[]{-2.78670, 5.16124, -0.85844},
|
---|
17 | 13.82265E-6);
|
---|
18 | }
|
---|
19 |
|
---|
20 | public String getCacheDirectoryName() {
|
---|
21 | return this.toString();
|
---|
22 | }
|
---|
23 |
|
---|
24 | public Bounds getWorldBoundsLatLon() {
|
---|
25 | return new Bounds(
|
---|
26 | new LatLon(14.25,-61.25),
|
---|
27 | new LatLon(15.025,-60.725));
|
---|
28 | }
|
---|
29 |
|
---|
30 | public String toCode() {
|
---|
31 | return "EPSG::2973";
|
---|
32 | }
|
---|
33 |
|
---|
34 | @Override public String toString() {
|
---|
35 | return tr("UTM20N Martinique Fort Desaix 1952");
|
---|
36 | }
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.