try to format it as FAT32..(on your PC)
I was able to fit 256x map with ~87,390 tiles on 1GB stick
It took ~ 650Mb of space... so I had some space left for other stuff...
Printable View
try to format it as FAT32..(on your PC)
I was able to fit 256x map with ~87,390 tiles on 1GB stick
It took ~ 650Mb of space... so I had some space left for other stuff...
Can I do that through the USB connection on the PSP as I have no card reader? Guessed it would be something to do with file allocation but didn't realise I could use FAT32.
Sorry scrap that post, thinking before typing allways helps. Thanks for the suggestion deniska. Will give it a go. Excellent program by the way, keep up the good work!
I have tried the gmdl 22 but as I live in Iceland and google apparently does not have maps of my country, I am trying to download satellite images only.
Unfortunately this does not seem to work very well with my country. I would appreciate it if somebody could possibly explain why this is not working. Maybe someone could try ?
Just added some POI support (in the POI tab, navigate to the area you are interested in, move the map about a bit so location/span is set by the page, enter your search term, and click through the 3 buttons). Deniska, thanks for the Local.Live tip, which this runs off.
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl23.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl23.zip
I would appreciate any feedback on this.
Re: Iceland and other areas not covered by Google Maps, navigate to the area using the "Map" option (this is the only one that is supported to get coordinates out), but chose a different source (MSN Map seems to cover Reykjavik), test via the popup previews.
I´ve tried that. I have had success by using cygwin and downloading satellite images but your software seems to make it so much easier. I will just have to hope that Google get their act together as the maps from Microsoft are not that great nor the satellite images.
Quote:
Originally Posted by in7ane
Man, this is IN7ANE!!! Really cool stuff..
I should take a class & learn doing GUI stuff in C#...
BTW, I tried to PM you but could not do it on this forum... Maybe you could create an account with ps2dev and pm from there...
Anyway, there are a couple of small bugs in new version...(partly my fault)
1) Looks like "g" parameter acts funny after 250 count... Take a look at these 2 queries:
http://local.live.com/search.ashx?a=...s&where1=false
http://local.live.com/search.ashx?a=...s&where1=false
The both seem to return same stuff, thus you have duplicates in your file...
Maybe you could check if you start getting same stuff and break out of that loop....
2) Since urban areas, like New York, may have a huge number of POI's (read restaurants) per square inch, it would be neat to let the user enter a "detail factor", ie if detail factor is 10, you split the original search area in to 100 segments, get data for each one of them and combine it in the output...
This way, if someone wants to cover a big area, the search will still be detailed and hopefully return more than 500 points...
But as I said this is really good tool!!!!
I was really curious about this app but I can only view the sample maps.
I tried gmdl22 together with Deniska's app but my own maps simply won't load in mapviewer :(
I can download them fine with that nice app. I tried zipping and not zipping them but mapviewer will just show me a blinking memory stick light for a couple of minutes. I use a SanDisk 1GB stick. My map is 19 MB ... what can I do ?
I'm in Germany but the maps showed up and downloaded fine if that makes a difference.
Try checking the map with the HTML files, provided with the release...
But which one of the HTML files do I take and where does it go relative to the Map folder location ? I could only find achor points in the HTML :/
I also tried your scripts but despite me having a working Cygwin setup I seem to miss a lot of components you require, so no go there either.
in7ane POI support works great! Thank you!
hi,
i'm a french guy and i have a litle bug whith poi options because on Windows XP french, the lat & lon values are '.' (point) for separate decimal number. I must change the points into commas so that it works.
I hope that will help you.
Sorry for my english.
bye
Another update, this time adding driving directions (Directions tab, search for directions as normal, then click through the 3 buttons). Deniska, the POI is also cleaned up with segmenting the area and checking for duplicates, thanks for spotting that. Also, I am now on ps2dev under the same username.
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl24.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl24.zip
Pulling down directions works through a very similar way to POIs and generates a POI file with the way-points. This is also through Loval.Live, and they seem to have excellent worldwide coverage.
Once again, I would appreciate any feedback, as I will probably start cleaning up the code next week.
dude thsi crap is getting crazy
very nice in7ane
you have made mapthis so much more
keep it up
Quote:
Originally Posted by in7ane
Very nice! you are reading my mind, man!
I was gonna ask you to do directions ;-)
POI works really good now, I was able to pull a few thousands restaurants off a relatively small area (just a few miles)
Well, as always, a few suggestions...
I am rethinking the POI display logic..
want to alocate 38 chars for desscr1 and 60 chars for desrc2. Could you put the comma after the POI name (desrc1) and put the rest (addr/phone) in to descr 2 ?
I want to store waypoints in the same structure as POI on PSP, although I'll probably display them in bigger font.. so I was thinking, it would be best if you could merge everything after the lat/lon in to one line and spit it in to segments (37 & 60 chars long) with a comma.
Second descr field could be longer than 60 - it'll be truncated by PSP.. but there should be a closing comma at the end (ie number of commas on each lime must be 4
The way point file must have:
!WAYPOINT
line, - this way I would know that I need to display it differently....
I'll try to release a new version with improved POIs and some other stuff in a few days...
I have an error :
http://img174.imageshack.us/img174/912/aufnahme3py4.jpg
How to fix it?
Hi!
First I must say that this is a very nice tool, thx to deniska also!!
I think I fund the bug that martial mentioned. The decimal Parser in the function poiList_Click() is culture dependant. I live in Germany and here we have a decimal comma instead of a point, so when I click on the "List" Button, I always get 0 Poi's returned.
By adding Decimal.Parse(poiLatS.Text, NumberFormatInfo.InvariantInfo) the funtion seems to work, so I get Poi's but the Lat/Lon Values in the List don't have a decimal point anymore... I don't have experience with c#, but I hope that it helps a bit.
Another way to fix it is to set English(USA) as default in region and language options in the system settings, but I don't want to do that everytime ;)...
kAraCHo, thanks for looking into that - that seems to fixed now (this should fix martial's probalems, and maybe also MJ DwaTrzy's - although that also looks like the search terms are not specific enough, try them out in "Driving Directions" on Local.Live first)
Deniska, the program should now comply with the new POI format. For anyone running it in the older version of MapThis! there is a legacy mode option in the top right corner.
Also, what are the exact instructions for formatting the Memory Stick in Fat32, if somebody could point me in the direction of a screen by screen guide it would be much appreciated - I've tried with a 2GB memory stick duo one and failed. Or is the map container format likely to come soon?
Someone asked about custom maps, as far as I can see it can be done as long as you match up what the numbers would be in Google Maps, the file format is: first horizontal tile index first vertical tile index zoom level (in 1x folder). Also keep in mind that you will need at least the most zoomed out directory with the 4 base tiles. And consider that this will be a lot of work, and is very likely to go wrong somewhere along the way (scale, alignment, order of tiles, etc.) - if you can program/script a graphics package, that would probably be the best approach, and everyone else will benefit as well from another source. Deniska's scripts should be useful, as I recall there is one that converts lon/lat into tile coordinates.
Someone else asked to post maps - don't, you will most definitely be in violation of Google/Microsoft terms of use. Anyway, the requirement is .NET 2 (which will run on anything back to Windows 2000 or so), not XP SP 2. And will install regardless of whether or not you made peace with WGA.
Others may have run into this as well - Google seems to cut you off from downloading satellite imagery after you hit a certain threshold, this lasts a few hours during which time you will get the "imagery not available" message.
Regarding the free BaseMap from Garmin, thanks for the suggestion, but it seems to be in a proprietary format (and probably vector). I would be interested in getting NASA World Wind working first. (Ask and Yahoo are also potential 256x256 compliant sources which would be reasonably easy to implement - if anyone can see them as being better than Google/Local.Live)
To summarize, in this version:
- midpoints in directions
- an attempt at supporting "," decimal points
- new POI format (option to disable in the top right)
- selective levels of detail, the screen will appear for max_zoom - min_zoom > 2 (max maps now 512*512) if the option is checked in advanced - it seems you need the corners for the map to work though
- Yahoo as a POI source, thanks deniska (yes, the mile radius will eventually be automatically calculated)
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl25.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl25.zip
Deniska, a few questions/requests: Would it be possible to draw lines between waypoints? Satellite (and Local.Live map) imagery goes to below zoom 0, is there a way to implement support for this? And, if you do implement a container format for maps, is it possible to change the file name format to allow for larger maps than 512*512?
thanks you very mutch :)
great work again, im wondering whats the best version of mapthis you found? it seems to mee the odler ones are better the latest one i got from neo had bugs and for some reason my gps didn't work*yes i did the noob checklist, yes my gps worked before* i use the green screened gps stat viewer later today to conferm if its the new mapthis thats not right.
btw when will this be made into single .exe file? *if planed*
1) Turn On USB mode on you psp and connect the cable.Quote:
Originally Posted by in7ane
2) Right click on the drive, coresponding to your PSP's mass storage device in "My Computer" section
3)Select "format" option.. you should get this screen:
http://deniska.dcemu.co.uk/images/format.jpg
[quote=in7ane]
Regarding the free BaseMap from Garmin, thanks for the suggestion, but it seems to be in a proprietary format (and probably vector). I would be interested in getting NASA World Wind working first.
I figured it was worth a look since its fair game for anyone to use. I read something recently about a concept being implemented; an open-source mapping project where people send in their tracks and it goes into a database. I think at Sourceforge.
Great work! keep improving...
First of all, let me say: Deniska, if you don't win that contest (is it over yet?) I pledge to paypal you $20. Isn't NeoFlash a profiting company? corporation=corruption
I can load up the globalmap.zip and use my GPSlim 236 just fine. However, I can't figure out this custom map thing. Which one is better? This windows dl'er or the msn/local.live? I tried one of the gmdl versions, but the map wouldn't ever finish loading within mapthis!...zipped or unzipped. (It finished loading on the ms0 fine, though the unzipped folder was very slow to transfer!)I formatted my ms0 to fat32, I've read all these threads.
Here's what I got:
Map of 472 x 825 at 6 to 0
zipped to 390 MB
~21000 files
Totally unrelated to that dump, I got the error: "Something's not quite right with this map" when I used the hand to "drag" the map around then tried to save it. I found that using the arrows to shift the map (east in my case) a predetermined (rather large!) amount did not result in this error.
Maybe I just need to try the 2.5
Thanks for your support and appreciation...Quote:
Originally Posted by joeschmoe.lyt
Trying to download the dallas map ;-)?
Ok, try to do this:
1) Get the latest gmdl25.zip file...
2) Locate your area and select adavanced mode.
3)Make sure your settings are as on the attached screenshot & test the preview (go with msn street maps - they seem to be the fastest to d/l)
4)don't zip the file - it would take forefer to open with MapThis. - Just drop the directory in to maps - yes it will take some time :-)
(your new map should have 21845 files in it)
If this doesn't work for some reason, try a smaller map first (zoom in a bit closer)
Also you may want to re-format your MS, to make sure there are no bad sectors, etc..
I hate to spam and ask a noob question, but...this will do hybrids right? Without taking a super long time to load into mapthis!? The ladies sure do love my unit. Well, they will when I convince the dumb ones that they are looking down on top of themselves in the screen, as I point to any old red car in the picture.
Hi!
I had a Problem getting the Directions to work (Always got 0 Poi's again ;))... It seems that you always get 0 Pois when the start and end location are not specific enough, and in Ger seem to be many locations which are too unspecific :).
The webpage directions.ashx returns something like a selection list in that case, which doesn't even contain the string "new VE_RouteInstruction"...
I added a few lines after the first WebClient.download... which looks for the String "new VE_Location", if that's in there, the downloaded page is the "selection list", then i take the lat and lon values from the first entrys for "start" and "end" and download a new page with lat and lon values only...
....
string page = client.DownloadString(url);
if (page.IndexOf("new VE_Location") != -1)
{
int posnewVELocation = page.IndexOf("new VE_Location");
int startlatfrom = page.IndexOf("',", posnewVELocation)+2;
int endlatfrom = page.IndexOf(",", startlatfrom);
Decimal latfrom = Decimal.Parse(page.Substring(startlatfrom, endlatfrom -startlatfrom), NumberFormatInfo.InvariantInfo);
int startlonfrom = page.IndexOf(",", endlatfrom) + 1;
int endlonfrom = page.IndexOf(")", startlonfrom);
Decimal lonfrom = Decimal.Parse(page.Substring(startlonfrom, endlonfrom - startlonfrom), NumberFormatInfo.InvariantInfo);
int posVEDir = page.IndexOf("VE_Directions.Disambiguate", endlonfrom);
posnewVELocation = page.IndexOf("new VE_Location", posVEDir);
int startlatto = page.IndexOf("',", posnewVELocation) + 2;
int endlatto = page.IndexOf(",", startlatto);
Decimal latto = Decimal.Parse(page.Substring(startlatto, endlatto - startlatto), NumberFormatInfo.InvariantInfo);
int startlonto = page.IndexOf(",", endlatto) + 1;
int endlonto = page.IndexOf(")", startlonto);
Decimal lonto = Decimal.Parse(page.Substring(startlonto, endlonto - startlonto), NumberFormatInfo.InvariantInfo);
url = "http://local.live.com/directions.ashx?startlat=" + latfrom.ToString().Replace(",", ".") + "&startlon=" + lonfrom.ToString().Replace(",", ".") + "&endlat=" + latto.ToString().Replace(",", ".") + "&endlon=" + lonto.ToString().Replace(",", ".") + "&units=" + dirDist.Text.Substring(0, 1);
if (dirShortest.Checked)
url = url + "&type=s";
page = client.DownloadString(url); // i=2 does nothing but seems to be required, can be any number, r=true ensures no adds(?)
}
...please excuse the ugly code, also i didn't test that well, but it seems to work for me ;)...
This thing kicks arse! v2.5 was smooth as butter! Just for the record, I went with a 5 to 0 zoom and split the city into quadrants. I used your directions, but I clicked "get numbers" because this map is different...piece of cake, and beautiful hybrids, no lags!
I'm finally going to register over there now just so I can vote for you.
In7ane, I hereby vote for you too...for...kicking arse!
Psst, has anyone noticed a particular value here? Think ps3 vs. a $1000 blu-ray player.
Manually upgrading to v0.2: a 0 byte gps.txt file keeps reappearing in my mapthis folder. When I try to copy over the 53 KB gps.txt file from v0.2 It errors: file is corrupted or unreadable. Is this important? Another file keeps appearing: stdout.txt. My pc tells me this file is corrupt and I should run checkdisk.
Furthermore, the maps I left in the "maps" folder don't show up in the program.
Make sure your maps start with "_" ... the file chooser ignores everything else in the maps folder..
If they already do - the whole folder is probably corrupted... you'll need to format the MS...
The unreadable files are the signs of MS corruption..
You can live w/o new gps.tx - it's there just to demo the waypoint thing...
One way to go around it is to try to re-name those files to something else and then copy the new ones..
Eventually I would recoment re-format the memory stick though...
Sorry, this is still a beta version so stuff can happen... ;-)
I just formatted my ms0. I forgot that little part about beginning with an underscore. So now I may have to format again? I hope not.
No, you should be fine for now... just add the underscoreQuote:
Originally Posted by joeschmoe.lyt
I tried that and it listed the map but shut off the psp after a few seconds trying to load. I erased that folder, renamed the one on my pc, then re-copied it over. Same result...
Hi
i am just reporting a bug here
I Use w2k sp4 + Firefox latest version and I get a "micro$oft internet explorer" error window saying "undefined"
it would be great if we could use it with firefox....
cheers
Ben
bug? We're all too quick to use that word. It looks to me like this downloading tool is neither firefox nor ie. It sure doesn't have either of their symbols in my bottom bar.
Can anyone say which of our suppliers might have the newest maps? The maps from msn are a couple of years old.
I have been trying for some time now to DL the satellite images for Iceland. Unfortunately the software uses google maps to determine the lat/long and google does not have sufficient coverage at the zoom level that I want, so I cannot download the satellite images.
MSN however does have coverage at a very high zoom level. Would it be possible to use MSN maps to select the area and dl google satellite images ? The MSN satellite images are lower in resolution.
Deniska, thanks for the Ask maps - those are now in (satellite seems to time out quite a bit though, but maybe just on the areas I checked). I've changed the max POI logic - thanks for spotting that. The midpoints I generate myself (extrapolating between the direction points that Local.Live gives), there seem to be some numbers that are sent back to draw the actual path, but I haven't determined how they translate into coordinates yet.
kAraCHo, thanks for that - the directions search code is now in (it can be disabled via the checkbox for anyone it doesn't work for).
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl26.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl26.zip
kulfsson, I'll look at that tomorrow - didn't realize that it didn't get the numbers out at all.
bgruselle, it is unlikely that I'll port it to use the Firefox engine at this stage (as far as I know there is not a nice Firefox reference that I can just drop into VisualStudio). Although you can just enter the numbers by hand if it's on the navigating to the area or the preview that it falls over on (if it is on the download - please tell me as I can probably change that much easier).
---
kulfsson, you can get the map this way: navigate to the area you want in satellite view, then switch to map view, and even though it says there is no detail at that zoom - the numbers it needs for downloading the other maps will be extracted ok (i've just tested it on Reykjavik for Google Satellite and MSN Map and it works this way). I will add pulling the coordinates out of Satellite view in the next version as well though.
Great work, in7ane! Really useful stuff and, I wish I could code that fast! ;-)
Well, a couple of NEW suggestions, as always :-) :
I am not sure if you rotate between the map servers for google & ask requests (sorry, was too lazy too look in to your code). If you don't, may be you could code this in.. Basically google & ask front ends tend to send requests to different servers (in case of google, I think, it's mt,mt1,mt2) - it that case it's better load balanced and therefore faster and more reliable... MSN seemd to have internal balancer...
Another idea/request would be a map editor:
Right now the biggest problem of "MapThis!", aside from my incompetence to come up with a bug free application :-), is the map size. The user must negotiate between the level of detail and coverage.
Most of the overall map size (~4/5) is contributed by the most detailed zoom tiles.. and not all of them are really needed (since some cover lakes / oceans / mountains /etc). So it would be nice if there was a map editor tool, that would allow to remove base zoom tiles from selected areas, thus saving space.
Map this is already designed to handle missing tiles gracefully...
So the way I see the interface is you could split the least detailed zoom level view (the one from test folder) in to, say, 256 segments and allow user to select/higlight the areas that he/she wants to remove from most detailed zoom level. Then you remove the image files, corresponding to selected segments ( there could be more than one, depending on the zoom range)....
Well, I am not sure if you want to actually implement it.. just an idea....
I know you have a full plate, but I wanted to suggest semi-real time traffic integration. Something that could say wi-fi up right before you left the office, to give you an idea of the traffic.
Another of the daily updates :)
Deniska, there is a kind of map editor functionality (I've turned it on by default now for maps with 4 or more zoom levels - it can be turned off via a check box in Advanced or just clicked through), is this the kind of thing you were thinking of? Also, it needed all the corner tiles at the lowest zoom level in MapThis! 0.1, haven't re-tested in 0.2 yet.
Also, load balancing is now in for everything except Yahoo Satellite - which seems to only use one server (their maps are in .swf not .png). Looks like this will be one of the last sources - unless it's easy to change MapThis! to use 512x512 tiles from NASA - then we would have US topographical maps too (or I get around to looking at cutting up images).
Automatically copying POI icons to new maps can now be disabled (checkbox in Advanced). Also now works with all icons in the icons directory, and gives the option to set them for POI files at creation time. And a popup for converting lat/lon to Google tile coordinates.
screenshot:
http://homepage.mac.com/f.levin/psp/gmdl27.jpg
source and exe (in /bin/debug/):
http://homepage.mac.com/f.levin/psp/gmdl27.zip
If anyone has found other possible POI and directions sources that have good worldwide coverage (and return lat/lon coordinates - HttpAnalyzer is handy for checking this) please let me know. And last of all - any topographical and maritime map sources that have 256x256 tiles.
LOL, I was just about to PM you the info on the yahoo sat maps :-)
Nice touch with the editor, for some reason I never noticed it before.
About the corners: you don't need all 4 of them: MapThis! looks at the top left tile (1x/000/1x000000.*) to determine the image format - if 1x000000.jpg exists - it defaults to jpeg, overwise - to PNG. Basically, this means that you can remove top left corner for regular (not satelite) maps without any problems.
Map this! checks the last (bottom right) tile to determine the map size - so that one must be present all the time... the other corners can be deleted...
About, 512x512 maps - I'll need to make a bunch of changes in the code to be able to display those...
Can you compile me a sample map, using the same naming format, so I have data to experiment with?
No rush there...
Good stuff, as always :-)
every time i make a directions or poi using this program i place the file inside the map folder on the psp. once i try to load the attraction in the mapthis! program the psp will freeze and reset. im not sure what im doing wrong. is there something that im missing?