Opened 4 years ago
Closed 3 years ago
#3581 closed enhancement (fixed)
[PATCH] Polish official coordinate systems (EPSG 2176 through 2180)
| Reported by: | stlman@… | Owned by: | steelman |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Keywords: | projection Poland Polish PUWG | |
| Cc: |
Description
The patch implements EPSG:2176 though 2180, the official projections in Poland. They use the same maths as UTM but with different constants.
The classes also implement eastToString(EastNorth p) and northToString(EastNorth p) formatting methods with appropriate precision settings. Currently these stay unused.
Attachments (2)
Change History (9)
Changed 4 years ago by stlman@…
comment:1 Changed 4 years ago by stoecker
- Summary changed from Polish official coordinate systems (EPSG 2176 through 2180) to [PATCH] Polish official coordinate systems (EPSG 2176 through 2180)
comment:2 Changed 4 years ago by stoecker
In case you wonder - there is a reason why this is not yet checked in. JOSM projection stuff will change a bit, so that each projection learns to have settings or subprojections. This will prevent these many Epsg-files you patch contains.
comment:3 Changed 4 years ago by stlman@…
I hope it is not going to be a tough task to rewrite my work?
comment:4 Changed 4 years ago by stoecker
In r2272 I checked in the general structure for the new sub-prefs. Maybe you can change your code accordingly (and possibly fix some of the TODO's as well :-)
Mainly it is now that you have 1 projection which allows to have sub-projections (or preferences).
comment:5 Changed 3 years ago by stoecker
- Owner changed from team to stlman@…
- Status changed from new to needinfo
The sub projections stuff has improved a lot now. When you want the polish coordinate system to be in next tested, then now would be the right time to improve your patch.
comment:6 Changed 3 years ago by steelman
- Owner changed from stlman@… to steelman
- Status changed from needinfo to assigned
The new patch is ready. The structure of the code hasn't changed much but there is an interface to select a zone. I've also introduced a nasty hack with latlon2eastNorth and eastNorth2latlon returning null in two sub classes because the calculations are in the superclass. However, the subclasses still need to implement projection for other methods. If you consider the hack too nasty I'll try to fix it.
comment:7 Changed 3 years ago by stoecker
- Resolution set to fixed
- Status changed from assigned to closed



Polish official coordinate systems.