PDA

View Full Version : Maps from other websites



desmond81
May 3rd, 2007, 15:20
Hi guys would it be possible to download maps from other websites other than the ones featured in GMDL?

deniska
May 3rd, 2007, 15:43
the short answer is YES..
The long answer is - it may be difficult, since you may need to figure out how to automate those maps retrieval; and after you need to mapCrunch them to get GPS coords working...

desmond81
May 3rd, 2007, 16:09
icic.....what are the common methods of automatic map retrieval system you recommend?

in7ane
May 3rd, 2007, 16:58
On a similar topic, I'm thinking of separating the sources from the main code.

This is being done for slightly different reasons, but will give custom source configurability.

My idea is a format along the lines of (and any ideas are welcome):

Name
Format
Resize
Starting position
URL

For example:

Virtual Earth Map
png
no
16,0,0
http://r$$$xyz$$$0$$$.ortho.tiles.virtualearth.net/tiles/r$$$xyz$$$0123$$$.png?g=62

Google Map
png
no
16,0,0
http://mt$$$random$$$1-3$$$.google.com/mt?n=404&v=w2.46&x=$$$x$$$0$$$&y=$$$y$$$0$$$&zoom=$$$z$$$0$$$

maybe
$$$extract$$$http://maps.google.com^google.com/mt?n=*&$$$
for automatic value extraction


with the following format $$$value$$$format_parameters_etc$$$


desmond81, you may want to take a look at mapURL.cs in GMDL and have a go at changing one of the sources, or creating a new one.

desmond81
May 4th, 2007, 16:42
icic thanks for the heads up...:)

su30mkm
May 14th, 2007, 17:33
lets say

from this website http://www.geothrottle.com/

how should I do it ... the coordinate seems in x and y

in7ane
May 14th, 2007, 19:49
su30mkm, their tileset is 300x300 so would need resizing (will put that in for the next version), also most probably not compatible with google tiles so will need exporting and relinking via MapCruncher. It would look something like this however:

http://www.geothrottle.com/mapguide/mapagent/mapagent.fcgi?OPERATION=GETTILEIMAGE&VERSION=1.0.0&SESSION=7b0e38f8-1000-8000-0000-001622fec144_en&MAPNAME=Malsing_v2&BASEMAPLAYERGROUPNAME=Base%20Layer%20Group&TILECOL=$x$&TILEROW=$y$&SC=$z$