Modify

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)

puwg.diff (11.7 KB) - added by stlman@… 4 years ago.
Polish official coordinate systems.
puwg-2500.diff (9.4 KB) - added by steelman 3 years ago.
PUWG patch for revision 2500

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by stlman@…

Polish official coordinate systems.

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.

Changed 3 years ago by steelman

PUWG patch for revision 2500

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

(In [2511]) close #3581 - polish coordinate systems - patch by stlman poczta fm

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.