Modify

Opened 15 years ago

Closed 15 years ago

#3060 closed defect (fixed)

Projection.getWorldBounds() missing, needed by UtilsPlugin.JumpToAction.getZoom(double scale)

Reported by: julianladisch Owned by: stoecker
Priority: major Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Using JOSM r1824 with utilsplugin r 16628.
Press Ctrl-G. You get

java.lang.NoSuchMethodError: org.openstreetmap.josm.data.projection.Projection.getWorldBounds()Lorg/openstreetmap/josm/data/ProjectionBounds;
	at UtilsPlugin.JumpToAction.getZoom(JumpToAction.java:169)

That changeset removed the function:
http://josm.openstreetmap.de/changeset/1823/trunk/src/org/openstreetmap/josm/data/projection/Projection.java

Attachments (1)

projection.patch (516 bytes ) - added by anonymous 15 years ago.

Download all attachments as: .zip

Change History (5)

by anonymous, 15 years ago

Attachment: projection.patch added

comment:1 by anonymous, 15 years ago

I'm not sure how projections work but aren't world bounds in east/north the same for every projection? Attached patch works for utilsplugin...

comment:2 by anonymous, 15 years ago

Summary: Projection.getWorldBounds() missing, needed by UtilsPlugin.JumpToAction.getZoom(double scale)[PATCH]Projection.getWorldBounds() missing, needed by UtilsPlugin.JumpToAction.getZoom(double scale)

comment:3 by stoecker, 15 years ago

Summary: [PATCH]Projection.getWorldBounds() missing, needed by UtilsPlugin.JumpToAction.getZoom(double scale)Projection.getWorldBounds() missing, needed by UtilsPlugin.JumpToAction.getZoom(double scale)

No. They are not.

comment:4 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [o16687].

Modify Ticket

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