PDA

View Full Version : *Updated* MapThis WIFI updateing tutorial



seesoe
August 10th, 2006, 16:16
Well you have probably seen the 2 threads about the gps map viewer for the psp that Deniska is currently working hard on. As requested i will this thread will be made for everyone to understand the WIFI map update option in MapThis. Basically it will be the same way as getting started fresh.

Thing you will need are the following.
MapThis *I will make a link when it is released*
Wifi already setup.
A big enough memory stick that has enough empty space, I will talk about map size below.
PatientsOk here are the steps with step detail.

1. First of course you need to install MapThis, if you have not done so do so now.
A. When you download MapThis if you go to the maps folder you will see a zip file called _GLOBAL_MAP.zip you wanna leave this alone, it the map you will get your lad and long from. Its only 3.21mb its can be read as zip so leave it in the maps folder.

2. Before you launch MapThis you need to go to the PSP power saving settings and turn off the wifi power saver, i will tell you why this is needed later.

3. Now start MapThis, when its loaded you will see the main screen with basic selection options, first there is the list of map folders in the map folder. we put _GLOBAL_MAP in the map folder so you should see that on the list, under that you will see === WIFI MAP UPLOAD ===. at this point make sure your wifi switch is off or the psp will not receive data from the gps unit. then highlight global map and press X.

4. this will load the whole world map the zoom level is not detailed as you will only use this as a long lad finder for your location. *also note that when you have the map being read from the zip file the map loads/reads slower for obvious reasons.*

5. press square to activate the gps on..........you should now see a red arrow pointing in the general spot of your location.

6 press the select button one time to return to the main menu. *in doing steps 4 and 5 you have stored your location in the system and when you do wifi update it will know where your at and the map to be updated*

7. now your at the main menu, go to wifi update you should see this
http://www.el-halawa.net/gps/wifiup.bmp
MAP NAME - You can change the name of this to the name of your city if you like.
LATITUDE - Don't change this it will not update the right map if you do.
LONGITUDE - Don't change this it will not update the right map if you do.
BASE ZOOM - I will update this line when i get the full idea of it, its to do with the zoom level.
MAP SIZE - This is how big you want your map to be when its done. I liked having a big map with 5 zoom level but it took a while to get. so leave it on 16.

8. Turn the wifi switch on and then press start, you should see the program do its thing it will look kinda like this when it start after connections.
LOADING 0 OUT OF 336
LOADING 1 OUT OF 336
when its done just press select and you will be back to the menu to pick that map, *turn the wifi switch off*

9. After you enter the map again just press square to turn the gps on, and your set.

in the progarm when you press start it will give you a screen that will tell you whet all the buttons can do, here is the buttons and what they do to detail, if you need any help please ask don't get your self lost on something easy,

square - to enable disable the gps mode
triangle - to enable disable the attractions *if some are set*
circle - to pick the type of attractions you want to be show
cross - to select things
up - to zoom the map in
down - to move the map out
left - this will only be used if you want to recored your long lad of a trip that you took it will store the numbers in a file and later on you can play that file from MapThis and it will show you how you went on your trip, basically like an instant reply
right - this is used to enable disable the map turner, for example when this mode is on off the map will always be fixed and will not turn only the red arrow will move around on the map, when this mode is on it will fix the red arrow and move the map so that way your always moveing up and you don't have to move the psp to make it match the way the road goes, its a nice handy option

10. Explore with the options till the next how to, its not to hard its pretty simple to use.

i will update this or make a new one later on when MapThis is out and people ask more questions but i think i covered it all, sorry if its to long and to detailed but i hate to post 2 time cuz someone didn't understand the info you gave, so this should be lots of info:D

*edit*
i fixed updated some info

Video_freak
August 10th, 2006, 16:17
this looks really cool :)

fokia
August 10th, 2006, 16:43
Cool! thanks a lot...

deniska
August 11th, 2006, 06:32
Thanks...
Looks good!

deniska
August 11th, 2006, 20:01
A few corrections...
You don't really need to extract the global map file - you can use the zippped version, but it will work a bit slower...
I don't thin it's 42MB it should be ~4MB...

seesoe
August 13th, 2006, 20:17
thanks guys

deniska i will look into the new veryson later today, i never knew u can use the maps when they zipped up thats nice. i will update everything later

*edit* updated

fokia
August 16th, 2006, 14:38
http://www.el-halawa.net/gps/wifiup.bmp

Do we really need so many decimals for the LAT/LON definitions?

Since I don’t have the program I decided to play around with the Linux scripts... don't know what I'm doing wrong but can't get to the street level in the cities I'm interested for now (Oporto and Lisbon, Portugal) also tried Paris (for testing purposes only) and didn't get the right data also...

With your coordinates (39.918159/-75.162964/2/16) it was a clean shot...

Can’t figure it out... the only thing I can remember is that the coordinates I found on the net might not be as accurate as necessary…

lewbacca
August 16th, 2006, 15:22
u can retrieve your coords from google maps.. click on show url and the latitude and longitude will be displayed in the url..

fokia
August 16th, 2006, 16:44
u can retrieve your coords from google maps.. click on show url and the latitude and longitude will be displayed in the url..

thanks for the tip... couldn't find "show url" you're talking about but manage to see my coord's over "link to this page"

But, even with that coord's I cant get to street level like I do with a regular google map.
My coords are: 41.178331/-8.627529 for Oporto and 38.728108/-915277 for Lisbon, couldn't mange to get any map from those :mad: :mad: :mad: :eek: :confused:

fokia
August 16th, 2006, 17:01
Well continuing with the tests I found out that I can retrieve from UK (London) but not from Paris or Oporto or Lisbon! Anyone can figure this out?!? and there is an offset from the coordinates I put from the ones I get (comparison with google)

I noticed that the google version in the scripts is a bit older(v2.12), could be it?

well I point out to London and I get Uckfield (south of London; zoom 2 and 16 fields) :eek:

@lewbacca
You're from Germany right? I've also tried Bremen (for instance...) coords but with no success! Have you tried to get the maps with success for Germany? :confused:

lewbacca
August 16th, 2006, 17:58
thanks for the tip... couldn't find "show url" you're talking about but manage to see my coord's over "link to this page"

But, even with that coord's I cant get to street level like I do with a regular google map.
My coords are: 41.178331/-8.627529 for Oporto and 38.728108/-915277 for Lisbon, couldn't mange to get any map from those :mad: :mad: :mad: :eek: :confused:
oh sorry about that.. i am from germany... the german google maps shows "url anzeigen"... i translated that..

fokia
August 16th, 2006, 18:36
oh sorry about that.. i am from germany... the german google maps shows "url anzeigen"... i translated that..

It helped anyway... but the problem keeps up...

seesoe
August 16th, 2006, 21:44
im im not sure what to say, im also stuck my self with downloading map from the computer instead of the psp, there is a way but i couldn't get it to work im still messing with it when i get it i will update step by step here

fokia
August 17th, 2006, 09:24
im im not sure what to say, im also stuck my self with downloading map from the computer instead of the psp, there is a way but i couldn't get it to work im still messing with it when i get it i will update step by step here

Which location are you [seesoe] trying to download? For now, the only locations I've had any success were US UK & JP

Portugal, France & Germany with no success...

fokia
August 17th, 2006, 10:22
Well, after many tests and net crawling, I found http://mapki.com/wiki/Main_Page
were, I think, part of the actual Google maps scraping scripts were taken.
There are lots of info/links about Google maps but this, in particular, caught my attention:
http://www.onnyturf.com/google/latlontotile.html
Here, you can tile any location (well some are not supported, don't know why...) same fashion as the scripts does in an automatic way...

From this tool I found out that the only locations we can tile to use with GPS/PSP are US, UK, JP and part or northern Italy (Torino?!?) every thing else are not supported lower than country level... I think this may be a cause of latest revisions of the Google maps API, since using the regular Google maps we can go to street level... Don't think that Google fancies that much people scraping their beautiful tiles...(oh… that also violates the terms of service...) and, as lower as we go in the zoom as much info we have to get from the Google servers…

I leave a picture were the maps end in northern Italy (torino):
http://mt.google.com/mt?v=w2.7&x=536&y=370&zoom=7
In the right side of the tile we can see that the map abruptly ends.

*new edition*
We can see that on the maps were we can't get street level for Europe (exception for Torino&UK) that pages are using v1 of Google’s API (checked the page source…), so this is definitively an API problem... on pages using v2 API we can go to street level but the URL “http://mt.google.com/mt?v=w...” for fetching tile must be different, i guess...

deniska
August 17th, 2006, 14:23
Try to play with different API versions v=w2.21 seem to work ok for most places in Western Europe, Australia, New Zeland, Japan, North America..
Rule of the thumb - if you can get it from main google maps page - you should be able to "cache" it ;-)

You are correct - I borrowed most of my logic from mapki wiki page... ;-)

fokia
August 17th, 2006, 14:56
Try to play with different API versions v=w2.21 seem to work ok for most places in Western Europe, Australia, New Zeland, Japan, North America..
Rule of the thumb - if you can get it from main google maps page - you should be able to "cache" it ;-)

You are correct - I borrowed most of my logic from mapki wiki page... ;-)

Seems I've found the problem:

Replace

URL="http://mt1.google.com/mt?v=w2.12&x=$x&y=$y&zoom=$zoom"

for

URL="http://mt.google.com/mt?n=404&v=w2.21&x=$x&y=$y&zoom=$zoom"

On getmap.sh so you can use API v2 with these scripts. It still occur an offset which I don't understand - well, it got something to do with X and Y calculations that somehow get all wrong...

mugenx
August 19th, 2006, 00:32
do i hafta have a gps reciever to download my maps? because i dont have one and i didnt exactly what u wrote down. when i press start after i put in all the info, the screen just stays at:

PREPAIRING TO GET 340 TILES
CONNECTING....
N A C : -2146367999







PRESS [SELECT] TO CANCEL?

whats wrong? i just want to be able to view maps, i dont really want to use the GPS function.

deniska
August 19th, 2006, 02:59
I don't think I have that message ( N A C : -2146367999) in the code...

The closest that I have is: "sceNetApctlConnect failed...XXXXXX"

No, you don't need a GPS receiver in order to get the maps.... check your WIFI setup..
Also, this may not work for 2.0+ FWs...
If you continue having problems, consider using the cygwin scripts...

mugenx
August 19th, 2006, 03:58
im running firewire 1.5 and i live in canada. i wonder whats wrong >.>

hatre
August 19th, 2006, 15:14
how we can have new map? i have dowload Paris map and i can't use it in mapthis... in runing in 1.5 firmeware moreover i cant upload map with the wifi i have that on the screen:

Preparing to get 340 tiles
connecting....
INET INIT FAILED

Press [select] to Cancel

some one can help me?

deniska
August 19th, 2006, 17:48
make sure your access point is setup, you have good wifi signal and WIFI switch is ON ;-)

mugenx
August 20th, 2006, 04:59
do u mean setting up the access point at the network menu of the psp? ive done that and it still wont let me download the maps :confused:

hatre
August 20th, 2006, 12:13
Thank deniska i have configure my wifi and now it's work :D i have upload a mp of south of france and try to put some POI now in this map :p

PSPKEVIN
August 21st, 2006, 00:32
Hello.

I got this program working. I don't have a GPS unit at all though. I have some questions:

I entered my LON/LAT from the WHOLE MAP. I can't seem to locate my area though. I want a map covering Salisbury Massachusetts.

Once I get my mapped downloaded, will it allow me to get directions to certain locations with the map? How can I add places to a map?

Don't bash me, I looked threw this forum quickly, and got this program working. I just have some questions.

PSPKEVIN
August 21st, 2006, 15:45
Anyone ??

fokia
August 21st, 2006, 16:23
Hello.

I got this program working. I don't have a GPS unit at all though. I have some questions:

I entered my LON/LAT from the WHOLE MAP. I can't seem to locate my area though. I want a map covering Salisbury Massachusetts.

Once I get my mapped downloaded, will it allow me to get directions to certain locations with the map? How can I add places to a map?

Don't bash me, I looked threw this forum quickly, and got this program working. I just have some questions.

dont know if I undestood your doubs, but You want to know your coordinates? if so, use this tool:
http://www.mapki.com/wiki/Get_Lon_Lat

I get those from google maps: 42.840353;-70.846539 (Salisbury, Massachusetts, MA)

I would post a map but I have my cygwin running a script (imagemagic)

When you say "get directions" do you mean route tracing/trip planning by the PSP? if so that hasn't been implemented, yet ;-)!

You can add places (points of interest - POI) to the map, to do so, read the included README file it's well explained there...

anything else, just beep!

PSPKEVIN
August 21st, 2006, 16:44
thanks for explaining that. So I can download the maps and add POI to it, but nothing more with the GPS without attaching a GPS unit, right?

fokia
August 21st, 2006, 16:56
thanks for explaining that. So I can download the maps and add POI to it, but nothing more with the GPS without attaching a GPS unit, right?

Yes, that's pretty much it... without a GPS the PSP don't know were u are so, it can't plan a route for you (when that's finaly available) also, you can sniff POI's from other sources... this is still very fresh, give some time to the scene Dever's to see this one of the best app ever for the PSP! not even $ony could have done it better!

mugenx
August 21st, 2006, 22:25
man, i still cant dl a map to toronto.. can some one help me upload one? :(

deanspeed
August 22nd, 2006, 01:50
im having a heard time figureing this out, maybe some one can create a simple program that will do this for you.