Modify

Opened 9 years ago

Closed 9 years ago

#5664 closed defect (fixed)

[PATCH] Estonian projection dont work

Reported by: verbatium Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: LambertEST Estonia projection Cc:

Description (last modified by stoecker)

Projection Lambert Zone (Estonia), dont work, when data downloaded shows on screen 1 point and 2 lines.This bug exists in latest(3674 ) and tested(3592) version of josm this patch work for me:

### Eclipse Workspace Patch 1.0
#P JOSM

Index: src/org/openstreetmap/josm/data/projection/LambertEST.java
===================================================================
--- src/org/openstreetmap/josm/data/projection/LambertEST.java	(revision 3668)
+++ src/org/openstreetmap/josm/data/projection/LambertEST.java	(working copy)
@@ -112,12 +112,11 @@
     public Bounds getWorldBoundsLatLon()
     {
         return new Bounds(
-                new LatLon(-90.0, -180.0),
-                new LatLon(90.0, 180.0));
+                new LatLon(56.05, 21.64),
+                new LatLon(61.13, 28.58));
     }
 
     public double getDefaultZoomInPPD() {
-        // TODO FIXME
-        return 0;
+        return 10;
     }
 }

Attachments (1)

josmbug.PNG (114.3 KB) - added by verbatium 9 years ago.
screenshot

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by verbatium

Attachment: josmbug.PNG added

screenshot

comment:1 Changed 9 years ago by stoecker

Summary: Estonian projection dont work[PATCH] Estonian projection dont work

comment:2 Changed 9 years ago by stoecker

Description: modified (diff)

comment:3 Changed 9 years ago by stoecker

In r3676.

comment:4 Changed 9 years ago by stoecker

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.