Opened 11 years ago

Closed 11 years ago

#1135 closed defect (fixed)

[PATCH] Native render doesn't render anything at high lat/long values

Reported by: tcarter@… Owned by: Chris Browet
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

The native render function incorrectly determines that things are not in the viewport at high lat or long values (eg 151), this seems to be due to an integer overflow in CoordBox::center() which uses (BottomLeft? + TopRight?)/2 to calculate the center of the CoordBox?

The attached patch resolves this, at least in my testing.

Attachments (1)

merkaartor-native-render1.diff (409 bytes) - added by tcarter@… 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by tcarter@…

comment:1 Changed 11 years ago by Chris Browet

Owner: changed from cbro@… to Chris Browet
Status: newassigned

comment:2 Changed 11 years ago by Chris Browet

Resolution: fixed
Status: assignedclosed

(In [10406]) ADD : revised OSB format. Allows to use large map files directly from disk with low memory footprint. FIX : Native render doesn't render anything at high lat/long values (Closes #1135) FIX : Expand tables in the properties dock to the available width by default (Closes #1136)

Note: See TracTickets for help on using tickets.