Opened 14 years ago
Closed 14 years ago
#3581 closed enhancement (fixed)
[PATCH] Polish official coordinate systems (EPSG 2176 through 2180)
Reported by: | steelman | Owned by: | steelman |
---|---|---|---|
Priority: | normal | Milestone: | |
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 14 years ago by
comment:1 Changed 14 years ago by
Summary: | Polish official coordinate systems (EPSG 2176 through 2180) → [PATCH] Polish official coordinate systems (EPSG 2176 through 2180) |
---|
comment:2 Changed 14 years ago by
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:4 Changed 14 years ago by
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 14 years ago by
Owner: | changed from team to steelman |
---|---|
Status: | new → 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 14 years ago by
Status: | needinfo → 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 14 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Polish official coordinate systems.