Urgent Re: [OpenMap Users] Display of multiple maps

From: Christof Dallermassl <cdaller@hyperwave.com>
Date: Tue Mar 02 2004 - 10:37:35 EST

Hi!

h0119153> Thank you for replying my question. The GPSilon is very
h0119153> similar to my project except that I need to implement a
h0119153> servlet or applet version. Actually, I need to display some
h0119153> DXF or shp maps.

shape files are easily supported by openmap, I do not know about dxf
files.

h0119153> I am wondering how can openmap knows which map file it
h0119153> should display.

Well, you know the center and scale of the projection used and the
size of the frame/image. Gpsylon uses a list of maps that holds the
center coordinates, scale, height and width of the image. From all
those values one can calculate which parts of which images are visible
(gpsylon displays maps with more details (smaller scale) on top of
maps with less details (larger scale).

The algorithm to find the rectangles of maps to display is quite
complicated, but works. Have a look into
http://cvs.sourceforge.net/viewcvs.py/gpsmap/gpstool/src/org/dinopolis/gpstool/gui/util/VisibleImage.java?rev=1.5&view=markup
to get an idea what I'm doing. You can reuse this class/algorithm to
get the maps you need.

h0119153> Also, I have found some demostration photo on the website od
h0119153> GPSilon, where can I find those map of streets?

gpsylon can download them from mapblast and expedia internet servers.

mit freundlichen Gruessen
Christof

-- 
---------------------------------------------------------------------------
Christof Dallermassl, Software Developer
Hyperwave Research & Development, Albrechtgasse 9, A-8010 Graz, Austria
Tel. +43 316 82 09 18 - 634, Fax +43 316 82 09 18 - 99
mailto: christof.dallermassl@hyperwave.com
http://www.hyperwave.com
---------------------------------------------------------------------------
--
[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 Mar 2 10:38:09 2004

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:38 EDT