Great job,this is growing BIG!!
An interruption for the script would be nice (without have to quit the app...) to cancel the ongoing download...
Keep up!
@deniska
okay. How works that with the 37+59 characters?
47.000000,11.000000, 37 here , 59 here , ??
Great job,this is growing BIG!!
An interruption for the script would be nice (without have to quit the app...) to cancel the ongoing download...
Keep up!
anyone who got it working please can do some brief tutorial pls?
thanks for any help
Hey in7ane,
someone was asking me if we could display maps of China from Mapbar. Here is a link:
http://service.mapbar.com/localsearc...CA%D0&raster=1
The API is a bit different fro Google though:
300x300 pixels per tile... and so far unclear correlation between GPS coords and tile numbers...
Perhaps someone would be willing to investigate this further... - we just might add another billion people to our coverage area ;-)
Looks like they use a different projection, so may not be possible to get away with just resizing the tiles:
http://img.mapbar.com/maplite/mapban.../W/0_0/0_0.png
http://mt3.google.com/mt?n=404&v=w2.21&x=2&y=1&zoom=15
Or maybe it won't matter as China doesn't go that far noth - I'll try and put in some support for it this evening.
yeah, I figured that it would be tough to link it to GPS coordinates. w/o changing MapThis..
but even w/o gps support it may be usefull to some people...
Perhaps if someone provides me with the algorithm of how to link those tiles to gps lon/lat - i'll create a separate version of MapThis for China....
On closer examination the different projection is a problem, for example:
http://img.mapbar.com/maplite/mapban.../1/0_0/6_1.png
and
http://mt3.google.com/mt?n=404&v=w2....6&y=13&zoom=12
So this will take a while longer (I'll take a look at the other Chinese source as well), and if anyone has the formula to translate tiles to lat/lon and vice vera it would help with this as well (then I can do google -> lat/lon ->mapbar).
nforce100, I've slipped in choosing dist/time in Map24 into the last version. You can edit the POI/direction text in the datagrid that lists the details.
deanspeed, canceling a map download can now be done via a checkbox in the top right (it will delete the map).
http://homepage.mac.com/f.levin/psp/gmdl0.2.13a.zip
strikerranger, place the generated POI file inside the map directory (then choose it on the PSP - see Map This! manual).
Nice! Very well
Thats an application with good support hehe!
Hi deniska,
I found the rule of the picture name.
http://mappng.baidu.com/maplite/mapb.../23_10/1_1.png
notice: /6/23_10/1_1.jpg
----------------------------------------------------------
scale zoom/level_1/level_2.png
.1 km 12/465_199/19_34.png
+1/ *2 /0~49_0~49.png (50*50)
.2 km 11/232_99/34_42.png
+1/ *2 /0~49_0~49.png
.4 km 10/116_49/17_45.png
+1/ *2.5 /0~49_0~49.png
1 km 9/46_19/27_47.png
+1/ *2 /0~49_0~49.png
2 km 8/116_49/3_9.png
+1/ *2 /0~9_0~9.png (10*10)
4 km 7/58_24/1_9.png
+1/*2.5 /0~9_0~9.png
10 km 6/23_9/2_9.png
+1/ *2 /0~9_0~9.png
20 km 5/11_4/6_9.png
+1/ *2 /0~9_0~9.png
40 km 4/5_2/8_4.png
... ...
-----------------------------------------------------------
it's a little different from zoom 9, the level_2 from 10*10 to 50*50.
i think the formulas and algorithms is not too difficult.
variable:
level_2 number: w (less zoom 9 w=10; more than zoom 9 w=50)
scale: r (ruler) 100m, 200m, 400m, 1000m,2000m,4000m,......
level_1: x1 , y1
level_2: x2 , y2
void Get(int r,int w,int x1,int y1,int x2, int y2, int _r, int _w, int& _x1, int& _y1, int& _x2, int& _y2)
{
_x1 = ((x1*w+x2)*r)/(_r * _w);
_x2 = (((x1*w+x2)*r)/_r)%_w;
_y1 = ((y1*w+y2)*r)/(_r * _w);
_y2 = (((y1*w+y2)*r)/_r)%_w;
}
if zoom(-) it's enough.
if zoom(+) we should add some other picture whit Get(...) return value.(it's easy).
The GPS coordinates is a problem, i don't know how do you get them from Google?
i think it's relational with file name, scale and picture pels. if the map is correct i think we could create formulas and algorithms for it.
The picture size, file names, folder names are different with your map which get form google. Could you please update your program to support it? it's a greate work for china psp guys.
You are welcome to Beijing for 2008 Olympic Games with your psp china map.
the attachment is a simple tool to download pic from baidu.
David(chi80).
FYI below are some google-like maps for ~170 cities of China:
http://treehouse.ofb.net/go/en/node/407
http://bendi.google.com/
pehaps someone will be able to hack and adopt those... (the tile size is 200x200) with some encoding ...
There are currently 3 users browsing this thread. (0 members and 3 guests)
Bookmarks