-
Ok!
Its a very young version i began it to write yesterday.
Usage:
Download mirc
go to map24
give your routing points in the fields and press enter
after it press the right mouse button in the field where the routing information is and source code
save the file in /mirc
start mirc, load the script, go in a channel and type
downhalf <input file> <Output file>
<input file> the name of the file you saved
<Output file> the name of the file you want to make
Sorry thats in mirc but i dont know other languages good.
Like i said its a concept but i try to make it better.
So i dont take any responsibility of the right of the coords etc!!
on *:input:*: {
if $1 == downhalf && $2 != $null && $3 != $null {
%file = $2
%file1 = $3
/header
timer1 0 0.5 /down1
}
else { //echo Usage: Files must be in /mirc: 12Downhalf 12<Inputfile> 9<Outputfile> }
if $1 == poi && $2 != $null && $3 != $null {
%file2 = $2
%file3 = $3
/header1
timer2 0 0.5 /poi
}
else { //echo Usage: Files must be in /mirc: 12poi 12<Inputfile> 9<Outputfile> }
}
/header {
/write -i %file1 $chr(35)
/write -i %file1 !IMAGE:waypoint.png,10,5,
/write -i %file1 !WAYPOINT
/write -i %file1 $chr(35)
}
/stop {
%tile1 = 1
%tile2 = 1
%1 = 1
timer1 off
//echo 4All Lines Wrote!
%var1 = 0
%var2 = 0
%var3 = 0
%var4 = 0
%aaa = 0
%file = 0
%file1 = 0
}
/down1 {
%var1 = $calc($gettok($read(%file,%tile1), 6-6,39) / 60) $+ $chr(44) $+ $chr(32) $+ $chr(44)
%var2 = $calc($gettok($read(%file,%tile1), 8-8,39) / 60) $+ $chr(44)
%var3 = $remove($gettok($read(%file,%tile2), 14-14,39), $chr(44))
%aaa = %var2 $+ %var1 $+ $replace(%var3,$chr(124),$chr(32),ß,ss) $+ $chr(44)
{
if 0 $+ $chr(44) $+ 0 isin %aaa { goto end }
else {
/write -i %file1 %aaa
}
}
:end
%tile1 = %tile1 + 1
%tile2 = %tile2 + 1
%1 = %1 + 1
//echo Wrote Line %1
if Fahrtziel isin %aaa { /stop }
if arrived isin %aaa { /stop }
}
/header1 {
/write -i %file3 $chr(35)
/write -i %file3 !IMAGE:food.png,40,20,
/write -i %file3 $chr(35)
}
/poi {
%vab1 = $calc($gettok($read(%file2,%tile4),4,34) / 60) $+ $chr(44)
%vab2 = $calc($gettok($read(%file2,%tile4),6,34) / 60) $+ $chr(44)
%vab3 = $remove($gettok($read(%file2,%tile4),12,34), telefon: ,fax: ) $+ $chr(44) $+ $chr(32) $+ $chr(59) $+ $chr(32) $+ $chr(59) $+ $chr(32) $+ $chr(44)
%bbb = %vab2 $+ %vab1 $+ $replace(%vab3,$chr(124),$chr(32))
if 0 $+ $chr(44) $+ 0 isin %bbb { goto end }
else { /write -i %file3 %bbb }
:end
If %tile4 == 1000 { /stop1 }
%tile4 = %tile4 + 1
%bb = %bb + 1
//echo scan Line %bb
}
/stop1 {
%tile4 = 1
%bb = 1
timer2 off
//echo 4All Lines wrote
%vab1 = 0
%vab2 = 0
%vab3 = 0
%bbb = 0
%file2 = 0
%file3 = 0
}
the variables are:
%1 1
%aaa 0
%file 0
%file1 0
%tile1 1
%tile2 1
%var1 0
%var2 0
%var3 0
%var4 0
%var5 0
%var6
%bb 2
%tile4 2
%file2 0
%file3 0
%vab1 0
%vab2 0
%vab3 0
%bbb 0
added poi support!
Usage: map24 / search / the place you want / enter / right click / source /save
poi <inputfile> <outputfile>
-
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl0.2.11a.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl0.2.11a.zip
Custom maps are now in, as a pop up under Advanced, with automatic zoom layer creation and potential matching up to Google's tiles (to be usable for navigation). The source image needs to be square and 512*2^n pixels per side (512x512, 1024x1024, 2048x2048, etc. max 262144x262144 = 1024x1024 tiles)
I'm glad to hear that it's not just me going mad, and other people have also run into similar issues when converting lat/lon to x/y - so automatically positioning the source map is disabled for now.
As an example of custom maps, and what could be a neat feature if I can get the projection correctly. I've created maps out of NASA's star maps from http://maps.jpl.nasa.gov/stars.html the source 2880x1440 images are scaled up to 4096x4096 and then run through the application.
http://www.rarhost.com/download-ymrr5o.html
and New York, Toronto, London, and Moscow subways:
http://www.rarhost.com/download-t0m5mh.html
If there is someone who knows what the correct projection for star maps would be please let me know. Also, any help with extracting the correct constellation map (and POI maybe) out of http://pp3.sourceforge.net/ would be much appreciated. And, last of all, does anyone know of a source where/how I could get a POI set which would draw out the continental borders - to overlay the star maps, making them useful when running Map This! without GPS.
I suspect that there are a lot of maps that are public domain (national parks, government geological survey, some subway system maps, etc.) so if you create a Map This! compatible map from one of the public domain sources please post it on here. And if there is enough interest I, or somebody else maybe, could setup a repository.
nforce100, thanks a lot for the script - I'll try and put it in in the next few days. As for the free Map24 API - that is unfortunately a non-runner, as you have to actively agree to their TOS when signing up for the program.
kididio, you now get prompted to try and re-downlaod missing tiles at the end of the load (it can be disabled under Advanced). As I have not encountered many problems with timeouts lately I haven't been able to test this - please let me know if it works.
-
Nice touch with custom maps...
I really enjoy heaving NYC Subway map in my pocket...
Perhaps, someone could add POI data to it with bus transfers and other stuff...
I am thinking about custom map lat/lon calibration...
not sure what would be the best aproach though...
-
Have anyone tested it?
i know some bugs but i try to eliminate them.
-
i cant seem to put hybrid maps on the psp using
this program. am i doing something wrong?
-
Map24 POI and directions support is now in - thanks nforce100 (works a bit differently than others - do the search on the page and the results are then taken from the screen).
Local.Live POI changed a bit due to an update to the site.
Custom maps can now position any map once you put in the coordinates of the top left and the bottom right corners of your source image (which needs to be north facing). There is also a limit of a 32x32 resulting map - this seems to be due to a limitation of the Bitmap object - which I will look into.
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl0.2.12a.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl0.2.12a.zip
deanspeed, do the hybrid maps download and test ok within the application? If not, post the setting here. If the maps crash when you try to load them in Map This! - you need to download the latest (v02b) EBOOT from http://www.dcemu.co.uk/vbulletin/sho...t=33947&page=9
For anyone camping in Ontario - the map of Algonquin from the screenshot is up at http://www.rarhost.com/download-m41sb4.html
-
nice that i could help you :)
it crashes when i try to download from map24
Could not load file or assembly 'Microsoft.mshtml, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Das System kann die angegebene Datei nicht finden.
-
hey in7ane why cant i choose the intermittent when i choose google? can you make it so that i can have more than 350 poi's with google?
-
with the latest version i get an error when i click on "List" for getting directions poi's
-
@deniska
Could you make it that i could choose the
size for the font which is draw at the routing?