[ https://issues.apache.org/jira/browse/SIS-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Desruisseaux updated SIS-353: ------------------------------------ Description: The Universal Transverse Mercator (UTM) is not strictly divided in 6° width zones. There is exceptions for Norway and Svalbard, for historical reasons (UTM seems to have been designed by military around World War II). * Between 56°N and 64°N, zone 32 is widened to 9° (at the expense of zone 31) to accommodate southwest Norway. * Between 72°N and 84°N, zones 33 and 35 are widened to 12° to accommodate Svalbard. To compensate for these 12° wide zones, zones 31 and 37 are widened to 9° and zones 32, 34, and 36 are eliminated. A nice image of UTM grid including the special cases is [available on Wikimedia common|https://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg] (see cell 31X, 33X, 35X, 37X and 32V). This image also covers the UPS cases (discussed below). Since the {{CommonCRS.UTM(double, double)}} method already expect latitude and longitude, it can easily be fixed without API change. However it would be a slight change in its behavior. An alternative is to deprecate the current {{UTM(double, double)}} method and create a new {{universal(double, double)}} method instead. That {{universal}} method would handle not only the Universal Transverse Mercator (UTM) case with its special cases, but also Universal Polar Stereographic (UPS) cases. was: The Universal Transverse Mercator (UTM) is not strictly divided in 6° width zones. There is exceptions for Norway and Svalbard, for historical reasons (UTM seems to have been designed by military around World War II). * Between 56°N and 64°N, zone 32 is widened to 9° (at the expense of zone 31) to accommodate southwest Norway. * Between 72°N and 84°N, zones 33 and 35 are widened to 12° to accommodate Svalbard. To compensate for these 12° wide zones, zones 31 and 37 are widened to 9° and zones 32, 34, and 36 are eliminated. A nice image of UTM grid including the special cases is [available on Wikimedia common|https://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg]. This image also covers the UPS cases (discussed below). Since the {{CommonCRS.UTM(double, double)}} method already expect latitude and longitude, it can easily be fixed without API change. However it would be a slight change in its behavior. An alternative is to deprecate the current {{UTM(double, double)}} method and create a new {{universal(double, double)}} method instead. That {{universal}} method would handle not only the Universal Transverse Mercator (UTM) case with its special cases, but also Universal Polar Stereographic (UPS) cases. > UTM should take in account Norway and Svalbard special cases > ------------------------------------------------------------ > > Key: SIS-353 > URL: https://issues.apache.org/jira/browse/SIS-353 > Project: Spatial Information Systems > Issue Type: Improvement > Components: Referencing > Affects Versions: 0.7 > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > Fix For: 0.8 > > > The Universal Transverse Mercator (UTM) is not strictly divided in 6° width > zones. There is exceptions for Norway and Svalbard, for historical reasons > (UTM seems to have been designed by military around World War II). > * Between 56°N and 64°N, zone 32 is widened to 9° (at the expense of zone 31) > to accommodate southwest Norway. > * Between 72°N and 84°N, zones 33 and 35 are widened to 12° to accommodate > Svalbard. To compensate for these 12° wide zones, zones 31 and 37 are widened > to 9° and zones 32, 34, and 36 are eliminated. > A nice image of UTM grid including the special cases is [available on > Wikimedia > common|https://upload.wikimedia.org/wikipedia/commons/e/ed/Utm-zones.jpg] > (see cell 31X, 33X, 35X, 37X and 32V). This image also covers the UPS cases > (discussed below). > Since the {{CommonCRS.UTM(double, double)}} method already expect latitude > and longitude, it can easily be fixed without API change. However it would be > a slight change in its behavior. An alternative is to deprecate the current > {{UTM(double, double)}} method and create a new {{universal(double, double)}} > method instead. That {{universal}} method would handle not only the Universal > Transverse Mercator (UTM) case with its special cases, but also Universal > Polar Stereographic (UPS) cases. -- This message was sent by Atlassian JIRA (v6.3.15#6346)