|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Today's Posts | Search |
|
BMW 3-Series (E90 E92) Forum
>
POI category merging -- DONE!
|
|
11-04-2007, 05:29 AM | #1 |
Second Lieutenant
24
Rep 244
Posts |
POI category merging (with Pictures)
After a few hours of thinking and coding, I finally finished writing a Matlab script that merges as many URL's as you wish in ONE big URL/IDX pair.
I did some QA/QC with previously created URL/IDX pairs and it works perfectly. Give me a few more days and I'll upload some photos of iDrive screen. Hopefully no more cheat sheet or cursing the meaningless POI categories.. Actually I found a lot of duplicate infos in different sub categories. Anyway, I could use some sleep now.. So tired.
__________________
330i-NAV-Premium
Last edited by drfluid; 04-25-2008 at 02:03 AM.. |
11-04-2007, 07:02 AM | #2 |
Deny everything
229
Rep 11,378
Posts
Drives: 2006 330i; 2015 X6, S1000RR
Join Date: Apr 2006
Location: Beautiful MD
|
Good job!
__________________
I need a drink |
Appreciate
0
|
11-04-2007, 08:10 AM | #3 |
First Lieutenant
12
Rep 332
Posts
Drives: 330xi
Join Date: Apr 2006
Location: South
|
Nice work... we look forward to your post.
__________________
330xi Sparkling Graphite | Terra with Burl Walnut | ZPP | ZSP with Style 162 | Comfort Access | Heated Seats | PDC | Navigation | Satellite Radio | OEM Alarm | De-badged | OEM Strut Brace | Blacklines | Rear Fogs | Silver Front Indicator Bulbs
Ordered: 4.3.2006 Scheduled for Production: 4.7.2006 Awaiting Transport: 4.13.2006 En Route: 4.19.2006 At Preparation Center: 5.11.2006 Performance Center Delivery: 06.01.2006 |
Appreciate
0
|
11-04-2007, 02:23 PM | #5 |
Second Lieutenant
24
Rep 244
Posts |
I have a couple of problems, though.
1) There are too many of duplicate lists. I need to remove them to make the process faster and keep the output file size small. 2) File I/O on hard drives is really slow. I wrote the code to minimize the memory use, but now I have the bottleneck of hard drive speed. 3) All in all, it works as it was planned, but running the code is a little slower than I thought. There would be no torrent. I will upload my original code here as I did before once they are optimized. No torrent would be necessary for that. Figuring out the code and implementing it to your DVD is on your own. Without that, where's all the fun???
__________________
330i-NAV-Premium
|
Appreciate
0
|
11-04-2007, 03:43 PM | #6 |
Brigadier General
1581
Rep 3,888
Posts |
Thanks. I don't like the category-only search either. Maybe I'll convert your Matlab to C. Most people don't have access to Matlab.
Last edited by zenmaster; 11-04-2007 at 08:50 PM.. |
Appreciate
0
|
11-04-2007, 11:03 PM | #7 |
Take the long way home
3
Rep 113
Posts |
Or PERL...
__________________
2007 E90 335i - Monaco Blue / Beige / 6MT / ZSP / ZPP / ZCW / Navi / CA / iPod/USB 6FL
4/02/07: Test Drive - 4/03/07: Test Drive & Placed order - 4/13/07: Production Completed - 4/23/07: Loaded on Courage 5/07/07: Courage arrives in NY - 5/09/07: Released from VPC to Trucking Co. - 5/10/07: Arrives at dealer - 5/11/07: Delivery day! :rocks: |
Appreciate
0
|
11-04-2007, 11:40 PM | #8 |
Major
76
Rep 1,324
Posts |
Well done!! I haven't used Matlab in years, but I look forward to seeing your code!
__________________
Was: 2008 335xi sedan 6MT Black Sapphire Metallic
Is: 2014 Tesla P85D (Blue Metallic) Wife's: 2013 Infiniti G37 S sedan 6MT, Black |
Appreciate
0
|
11-05-2007, 12:30 AM | #9 |
I love the ///M3, but I want 550hp ///M5
148
Rep 3,276
Posts
Drives: BMW330iE90
Join Date: May 2006
Location: NYC
|
uuh.. just do it for us... lol.. i haven't touched scripting in 2-3yrs lol pplan to get back in it but not mathlab, more so perl/php/bash. Just do it for us pweease lol
|
Appreciate
0
|
11-05-2007, 12:32 AM | #10 |
Second Lieutenant
24
Rep 244
Posts |
PM me for the codes...
Please include your 'email' in the PM. Thanks.
__________________
330i-NAV-Premium
Last edited by drfluid; 12-19-2007 at 12:48 PM.. |
Appreciate
0
|
11-12-2007, 07:24 PM | #14 |
Second Lieutenant
24
Rep 244
Posts |
Existing 'All restaurant' category has 107Mbytes of URL/23Mbytes of IDX pair.
Merged 'Home improvement' - 7 categories results in about 62M/16M URL-IDX pair. 'Apparel' - 5 categories are 42M/11M. 'General' under banking and shopping - 5 categories are 23M/6M So it wouldn't take that long comparing to 'All restaurant' category. FYI, the biggest single category in the original Nav DVD is 'Business and Services - Business - Services' category, which is about 109M/28.5M.
__________________
330i-NAV-Premium
|
Appreciate
0
|
11-17-2007, 08:39 PM | #17 |
Take the long way home
3
Rep 113
Posts |
Why PM for the code?
We don't believe in freeware and open source? It was up before, why the change of heart?
__________________
2007 E90 335i - Monaco Blue / Beige / 6MT / ZSP / ZPP / ZCW / Navi / CA / iPod/USB 6FL
4/02/07: Test Drive - 4/03/07: Test Drive & Placed order - 4/13/07: Production Completed - 4/23/07: Loaded on Courage 5/07/07: Courage arrives in NY - 5/09/07: Released from VPC to Trucking Co. - 5/10/07: Arrives at dealer - 5/11/07: Delivery day! :rocks: |
Appreciate
0
|
11-18-2007, 01:25 AM | #18 | |
Second Lieutenant
24
Rep 244
Posts |
Quote:
For those who pm'ed, I'll send out the codes as soon as I'm back from vacation. Sorry. I'm away from my 'working' computer.
__________________
330i-NAV-Premium
|
|
Appreciate
0
|
11-26-2007, 06:17 AM | #19 |
Test here
46
Rep 374
Posts |
|
Appreciate
0
|
11-26-2007, 08:44 AM | #20 |
Brigadier General
1581
Rep 3,888
Posts |
I tried an easy approach first - that is, to have Matlab convert the code to C automatically. I tried version R13 of Matlab, but it doesn't work on Vista. So I borrowed an older version (R12), but it did not include the mcc. Then I tried FreeMat and SciLab, but both don't understand the code. Will get to it eventually.
|
Appreciate
0
|
11-26-2007, 08:34 PM | #21 | |
Second Lieutenant
24
Rep 244
Posts |
Quote:
I'm not familiar with FreeMat or SciLab, but I know my code wouldn't run on R12 or R13, due to the absence of some functions that work only on recent releases.
__________________
330i-NAV-Premium
|
|
Appreciate
0
|
12-17-2007, 05:12 PM | #22 |
Major
76
Rep 1,324
Posts |
DrFluid - Are you available to send your code out again? I'd sure like to see it!
__________________
Was: 2008 335xi sedan 6MT Black Sapphire Metallic
Is: 2014 Tesla P85D (Blue Metallic) Wife's: 2013 Infiniti G37 S sedan 6MT, Black |
Appreciate
0
|
Bookmarks |
|
|