Opened 15 years ago
Closed 15 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)
by , 15 years ago
comment:1 by , 15 years ago
Summary: | Polish official coordinate systems (EPSG 2176 through 2180) → [PATCH] Polish official coordinate systems (EPSG 2176 through 2180) |
---|
comment:2 by , 15 years ago
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 by , 15 years ago
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 by , 15 years ago
Owner: | changed from | to
---|---|
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 by , 15 years ago
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 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Polish official coordinate systems.