Opened 15 years ago

Last modified 15 years ago

#5664 closed defect

[PATCH] Estonian projection dont work — at Version 2

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;
     }
 }

Change History (3)

by verbatium, 15 years ago

Attachment: josmbug.PNG added

screenshot

comment:1 by stoecker, 15 years ago

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

comment:2 by stoecker, 15 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.