Re: [OpenMap Users] GeoCoordTransformation comments

From: Don Dietrick <>
Date: Tue, 18 Sep 2007 12:39:34 -0400

Hi Tore,

Thanks for taking a look at this and making comments.

On Sep 18, 2007, at 8:13 AM, Tore Halset wrote:

> Hello.
> I am looking at com.bbn.openmap.proj.coords.GeoCoordTransformation
> and how it matches my WMS work.
> * There should be a simple LatLonCT implementing
> GeoCoordTransformation.

Right, as a placeholder for coordinates that don't need to be

> * GeoCoordTransformation.forward should not return java.awt.Point,
> but java.awt.geom.Point2D as int is just too little precision.
> Perhaps not for UTM, but GeoCoordTransformation should be able to
> handle other units like latlon.

It will be for OpenMap 5.0, when the projection libraries change to
use Point2D. For OpenMap 4.6.4, I didn't want to change the UTMPoint
method signatures that do the conversion.

> * UTMGCT.forward seem to use UTMPoint.LLtoUTM that recalc zone
> number based on incoming lat lon values. It should be possible to
> create a UTMGCT that works only on a specific UTM zone. Example of
> how this can be done can be seen in my patch to UTMPoint and my
> UTMCoordinateConverter. Both sent to this list.

I'm still ironing out these kind of differences, thanks for pointing
this out specifically, though.

> * There should be a way to get a GeoCoordTransformation instance
> based on an EPSG type code. Take a look at my
> CoordinateReferenceSystem.getForCode(String) that does ca that.

That's another thing I really liked about your implementation.

I know it's frustrating waiting for these things to get checked into
the code base, but I'm doing my best.

- Don

Don Dietrick,
BBN Technologies, Cambridge MA

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Sep 18 2007 - 12:40:15 EDT

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