Modify

Opened 16 years ago

Closed 16 years ago

#1441 closed defect (fixed)

lambert projection results in exception

Reported by: hermr2d2@… Owned by: framm
Priority: minor Milestone:
Component: Core Version: latest
Keywords: Lambert projection Cc:

Description

Set Projection to lambert, open GPX file, never ending stream of exceptions starts.

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 815
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 815
Last Changed Date: 2008-08-21 00:57:52 +0200 (Thu, 21 Aug 2008)

java.lang.ArrayIndexOutOfBoundsException: -1

at org.openstreetmap.josm.data.projection.Lambert.eastNorth2latlon(Lambert.java:129)
at org.openstreetmap.josm.gui.NavigatableComponent.getLatLon(NavigatableComponent.java:103)
at org.openstreetmap.josm.gui.MapScaler.paint(MapScaler.java:32)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at org.openstreetmap.josm.gui.MapView.paint(MapView.java:280)
at javax.swing.JComponent.paintChildren(JComponent.java:864)
at javax.swing.JComponent.paint(JComponent.java:1036)
at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)
at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:285)
at javax.swing.RepaintManager.paint(RepaintManager.java:1128)
at javax.swing.JComponent._paintImmediately(JComponent.java:5070)
at javax.swing.JComponent.paintImmediately(JComponent.java:4880)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:723)
at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:679)
at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:659)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

Attachments (1)

Lambert.patch (3.3 KB ) - added by pieren 16 years ago.
Patch for Lambert.java

Download all attachments as: .zip

Change History (3)

comment:1 by pieren, 16 years ago

Keywords: Lambert projection added

The Lambert projection currently implemented is only for France and Corsica latitudes. I will fix the bug but also rename the projection as 'French Lambert Zone' in the preferences.

by pieren, 16 years ago

Attachment: Lambert.patch added

Patch for Lambert.java

comment:2 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
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.