Modify

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)

puwg.diff (11.7 KB ) - added by steelman 15 years ago.
Polish official coordinate systems.
puwg-2500.diff (9.4 KB ) - added by steelman 15 years ago.
PUWG patch for revision 2500

Download all attachments as: .zip

Change History (9)

by steelman, 15 years ago

Attachment: puwg.diff added

Polish official coordinate systems.

comment:1 by stoecker, 15 years ago

Summary: Polish official coordinate systems (EPSG 2176 through 2180)[PATCH] Polish official coordinate systems (EPSG 2176 through 2180)

comment:2 by stoecker, 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:3 by steelman, 15 years ago

I hope it is not going to be a tough task to rewrite my work?

comment:4 by stoecker, 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 stoecker, 15 years ago

Owner: changed from team to steelman
Status: newneedinfo

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.

by steelman, 15 years ago

Attachment: puwg-2500.diff added

PUWG patch for revision 2500

comment:6 by steelman, 15 years ago

Status: needinfoassigned

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 stoecker, 15 years ago

Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain steelman.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.