Re: [OpenMap Users] RE: AreaHandler.getProperties()

From: Tore Halset <halset_at_pvv.ntnu.no>
Date: Fri, 06 Jan 2006 20:35:08 +0100

On Jan 6, 2006, at 20:18, Don Dietrick wrote:

> No, the projected points will be reduced to integers. I hadn't
> really considered fractional pixels, although the jdk renders them.
>
> I'll have to check an see what the impact would be to change the
> projections to handle Point2D objects instead of Point objects for
> projected coordinate space. I originally though that would be a
> big deal but since Point extends Point2D, it might just affect the
> code that access the Point.x and Point.y members directly. Which
> may or may not be a lot.

That would be very useful!

I am using OpenMap projection together with jts[1] to buffer[2] a lat/
lon geometry with a number of meters or nautical miles. I project the
geometry from lat/lon to x/y, use jts to buffer and then project back
to lat/lon. With the correct scale value, the precision is ok, but
using double would not hurt..

Regards,
  - Tore.
[1] http://www.jump-project.org/project.php?PID=JTS&SID=OVER
[2] http://www.jump-project.org/inc/JTS/img/PosBuffer.gif

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Jan 06 2006 - 15:37:03 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT