Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development > Front Ends > StreetDeck > DigitalMods (Scripts / API)


Reply
 
Share Thread Tools Display Modes
Old 07-06-2007, 03:26 AM   #16
Constant Bitrate
 
Join Date: Sep 2005
Location: Redmond, WA
Posts: 188
marchello2000 is on a distinguished road
Lightbulb Give this a try

OK. After I saw the post from Chuck I simply could not resist. Screw being tired, forget that I have a meeting ungodly early tomorrow - when you have an opportunity to give back to the MP3Car community you take it no matter what the cost, well, almost

Anyway, I wrote this quick and dirty tool that should do the trick. You will need .NET Framework 2.0, but 1.1 may do. You can use this URL to convert a ZIP code to lat/long which you will need for the utility: http://www.zipinfo.com/search/zipcode.htm.

Enter the lat/long, select zoom, hit preview, pan around, and when you are satisfied hit the download button. Select your Streetdeck\Virtual Earth folder (don't select the Hybrid folder inside), and voila!

The tool will download +-8 images of the hybrid map in each direction with the image you have in the preview in the center, very rough I know, but hey I whipped it up in the past 2 hours.

BIG DISCLAIMER: I don't actually have SD running right now so I could not verify that this thing works, so please don't judge too harshly. I will be fixing my CarPC and SD this weekend so I will give it a try and polish. But in the mean time try it and tell me what you think.

Download it from: http://www.vulfson.com/SDMapCache.exe

Mark

p.s. Thanks for the pointer Chuck!!!
marchello2000 is offline   Reply With Quote
Advertisement
 
Advertisement
Advertisement Sponsored links

Old 07-06-2007, 10:52 AM   #17
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
marchello2000
thanks for taking the initiative to come up with something. i'll give it a try once my internet starts working in my car pc. Any chance you actually work for microsoft . speculating based on your location.

i'll give you any feedback once i get this up and running.
bembowe is offline   Reply With Quote
Old 07-06-2007, 12:24 PM   #18
Constant Bitrate
 
Join Date: Sep 2005
Location: Redmond, WA
Posts: 188
marchello2000 is on a distinguished road
You don't need to run it from your CarPC

I did not make it clear, but... You actually can run this from any PC, and then copy the folder(s) that the app makes to your Streetdeck\Virtual Earth\Hybrid folder.

It's not the easiest way but it works if you don't have internet in your CarPC. I am also working on a neat syncing solution that does not require any network connectivity, hopefully this weekend I will get to work on it and then I can post more details.

Thanks for the kind words!

Mark
p.s. Yes, I do work for Microsoft, in fact I work for the Automotive team (if you've heard of the Ford SYNC project - that's my team, check it out on http://www.syncmyride.com - coming to a Ford vehicle near you very soon!)
marchello2000 is offline   Reply With Quote
Old 07-06-2007, 02:49 PM   #19
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
thats a cool work project. didnt think of microsoft venturing out in this realm. any chance of u incorporating this with your car pc?

anyways back to topic. I'll check it out this weekend.
bembowe is offline   Reply With Quote
Old 07-06-2007, 02:53 PM   #20
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
I just finished playing with this, did everything between 5 and 16 for the three places I go the most then copied it over to my CarPC... Congrats man it works Thank you very much. Is there any way I could get the source I have few ideas to improve the app id like to try out. Thanks again.
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Old 07-06-2007, 03:24 PM   #21
Variable Bitrate
 
Join Date: Sep 2005
Posts: 249
bembowe is on a distinguished road
men, i just tried it out in my pc. the download works great. i have yet to try with SD. So far looks very good and promising. i already have lots of ideas about automating this. if you are willing to share the code, I would love to work with you to make a digimod out of this.
bembowe is offline   Reply With Quote
Old 07-06-2007, 03:54 PM   #22
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
You guys are awesome, I have yet to try it, but will tonight. As long as it works I am happy, but making it automated, like maybe where you could enter the 4 corner coordinates of an area and it would automatically cache that whole square. Also, making it cache the images at all zoom levels automatically would be great too. So far so good!
- Mike

Last edited by thepunkerguy; 07-07-2007 at 02:21 AM.
thepunkerguy is offline   Reply With Quote
Old 07-07-2007, 02:42 AM   #23
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Question

So.. lets say i put in my long/lat that i get from that website, that gets me right in my zip code, but once i cache that location i want to pan over left about 16 clicks and cache that, but when i pan over about 16 clicks, then choose "download", it starts downloading, but it moves it back to the original long/lat i put in and downloads that again rather than the new location i panned over too. Is that a bug, or am i doing something wrong?
- Mike
thepunkerguy is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 07-07-2007, 03:03 AM   #24
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Or I was thinking, even better, could you easily add another box where we enter in a number of how many +- tiles we want it to download in all directions of the current preview.. that way instead of 8 we can put in our own number, or multiple boxes where we can put how many tiles +- are downloaded in each direction?
thepunkerguy is offline   Reply With Quote
Old 07-07-2007, 04:09 AM   #25
Constant Bitrate
 
Join Date: Sep 2005
Location: Redmond, WA
Posts: 188
marchello2000 is on a distinguished road
Updated

Thanks for the feedback. I updated the tool. Try it now. There is some trigonometry that I am not too sure about (I was never a huge fan and it being 1AM is not making it better ) but I hope it works alright...

As far as making this a DigitalMod that would be awesome, can we write DigitalMods in .NET?

Mark

p.s. Still no running SD here, this is starting to frustrate me...
marchello2000 is offline   Reply With Quote
Old 07-07-2007, 05:06 AM   #26
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Quote: Originally Posted by marchello2000 View Post
Thanks for the feedback. I updated the tool. Try it now. There is some trigonometry that I am not too sure about (I was never a huge fan and it being 1AM is not making it better ) but I hope it works alright...

As far as making this a DigitalMod that would be awesome, can we write DigitalMods in .NET?

Mark

p.s. Still no running SD here, this is starting to frustrate me...

So what exactly does the new "cells" box mean.. is that like the +-8 thing where we can enter our own number? BTW I am sorta drink right now, so I hope i make sense
- Mike
thepunkerguy is offline   Reply With Quote
Old 07-07-2007, 05:11 AM   #27
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
How about throwing in the ability to download all of the zoom levels or to chose which ones we want to get? And how about putting up the source code as well?
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Old 07-07-2007, 05:32 AM   #28
Constant Bitrate
 
Join Date: Apr 2007
Posts: 114
thepunkerguy is an unknown quantity at this point
Quote: Originally Posted by P3D4T0R View Post
How about throwing in the ability to download all of the zoom levels or to chose which ones we want to get? And how about putting up the source code as well?

Even for a drunk guy you sound quite pushy! j/k sounds like a good idea.. and i swear to drunk i'm not God!
thepunkerguy is offline   Reply With Quote
Old 07-07-2007, 05:34 AM   #29
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
No osssifer your drink
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Old 07-07-2007, 05:42 AM   #30
Variable Bitrate
 
P3D4T0R's Avatar
 
Join Date: Dec 2006
Location: MA, USA
Posts: 399
P3D4T0R is an unknown quantity at this point
Really though I'm not trying to be pushy I I just think the question got overlooked because he implemented your idea but didn't even egnolige my question or that I even had an idea... I don't know, really, I haven't slept in a while maybe I'm just being retarded...
__________________
"Mess with the best, die like the rest."
Work Log --> Old Car (Totaled)
Work Log v2 --> New Car (Totaled)
Work Log v3 --> GMC Suburban K2500 (Work in progress)
P3D4T0R is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Attention Newbies! Everything (almost) you want to know about GPS (Part 1) Bugbyte GPS 65 10-13-2009 07:51 PM
How to make the Garmin GPS 35 Work with Copilot 2003 fluffy2097 GPS 16 09-05-2007 05:19 PM
Alturion Professional Advanced GPS 6 - The New D3 ? Is There A SDK ? ccsnet GPS 91 11-07-2006 05:47 PM
Getting Started with GPS grepzen The FAQ Emporium 12 09-26-2006 06:54 AM
How do I setup my GPS Application ? guino RR FAQ 0 03-20-2005 03:17 PM



All times are GMT -5. The time now is 06:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics