Hello,
Could someone please point me in the correct direction in solving this
problem,
I have an application that uses the OpenMap framework, and have had enormous
success with OpenMap over the last few months.
I use OpenMap with MapInfo MIF files using the following layer
"com.bbn.openmap.layer.mif.MIFLayer"
I also have some hand crafted layers where I create various OMGraphics from
data returned from an Oracle database.
To date all of the coordinates (MIF files and from our DB) have been in some
Longitude Latitude format.
I now have a requirement where we need to handle data from MIF files and
from the database in Easting/Nothings (UTMPoints) with various Ellipsoids.
I see that OpenMap has a UTMPoint class for converting between LatLon/UTM
conversions.
My question being, is there support currently within OpenMap where I can
specify to the OpenMap framework to use say UTM with ellipsoid Bessel_1841,
or are there any people who have had to use OpenMap with transparent support
for UTM coordinate systems. Currently the only way I can see to achieve my
goal is to extend the com.bbn.openmap.layer.mif.* package to test the MIF
coordsys header and perform the necessary UTM conversion for each coordinate
in the MIF file, plus have some conversion from my database from the UTM
coordinates into Lat/Long.
As far as I can see (I may be wrong) OpenMap rendering only uses Lat/Long
values? Is there some property or Environment setting where I can say all
the values for OMGraphics will be eastings/northings rather than lat/long?
Many Thanks,
Simon Bowen
--------------------------------------
Gamma Projects Limited
Brewery House
Magor
Monmouthshire
NP26 3DJ
www.gammaprojects.com
mailto:sbowen@gammaprojects.com
+44 (0)1633 883002 (direct)
+44 (0)1633 883000 (switch) x 255
+44 (0)1633 883007 (fax)
--------------------------------------------
Important:
Confidentiality: This e-mail and its attachments are intended for the above
named only and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or entities other than
the intended recipient is prohibited. If you received this in error, please
contact the sender and delete the material from any computer, you must take
no action based on the content, nor must you copy or show them to anyone.
Viruses: Although we have taken steps to ensure that this e-mail and
attachments are free from any virus, we advise that in keeping with good
computing practice the recipient should ensure they are actually virus free.
Security warning: Please note that this e-mail has been created in the
knowledge that Internet e-mail is not a 100% secure communications medium.
We advise that you understand and observe this lack of security when
e-mailing us.
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jul 1 10:32:11 2003
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:36 EDT