speed camera

Adding Speed Camera POI to your BMW Professional NAV DVD

speed camera
home | using nero | using iso | non-uk users | feedback
Last Updated: 17/07/2007

Using NERO

THE USE OF THESE INSTRUCTIONS IS ENTIRELY AT YOUR OWN RISK

** New ** Sample ENG.LSC files for 2006-01 and later versions can be found here:

2006-01 | 2006-02 | 2007-01 | 2007-02

1. In Explorer open your BMW Professional Navigation DVD and make a note of the DVDs volume name (eg. CD_5130)

locate DVD Volume Name

2. On your hard drive create a folder with the same name as the DVD volume name you noted in Step 1.

Create folder

3. Copy the whole contents of the Navigation DVD into this folder.

copy files

4. Using the folder on your drive created in Step 2. Locate the file eng.lsc in the \tpd\ntcBeu_eu_20050704\eng folder.
NB: The folder name ntcBeu_eu_20050704 will vary depending on the version of NAV DVD you have.

locate eng.lsc

5. Edit the eng.lsc file with a text editor. Afraid notepad or Wordpad are no good for this because the files on the DVD are Unix
based and will become corrupted if you use a Windows Editor on them. I used VEdit but there others such as WinVi and XEmacs.

vedit

6. Look for the "TPD-CAT" lines and add a new one for the category you want to add. eg.

TPD-CAT before

becomes

TPD-CAT after

7. Near the top of the eng.lsc file look for the "TPD-GRP" lines and add the new category to one of them eg.

before adding new category to group

becomes

after adding new category to group

Here we have added our new 9000 category to group 10001 which you'll find in the #TPD-CAT section has a description of Travel.
So what we have done here is add our UK Speed Camera entry to the Travel Section.

8. Look for the "TPD-ICO" lines and add a new one for the new category eg.

before adding speed camera icon

becomes

after adding speed camera icon

9. Look for the "TPD-SEA" lines and add a new one for the new category modifying the numbers accordingly.

#TPD-SEA before

becomes

#TPD-SEA after

and finally look for the "TPD-SEV" lines and add a new one for the new category modifying the numbers accordingly.
(Please refer to Step 14. to determine what file names to use when changing the nnnn.idx and nnnn.url entries in the line that you add here.)

#TPD-SEV before

becomes

#TPD-SEV after

NOTE: On the 2006-02 DVD there are a few additional sections that need amending as well.
Look for the "SA" lines and add a new one for the new category modifying the numbers accordingly.

SA before

becomes

SA after

Now look for the "IA" lines and add a new one for the new category modifying the numbers accordingly.

IA before

becomes

IA after

10. Save your modified eng.lsc file.

11. Copy the icon you want to use (the icon must be a 16x16 pixels 256 colours GIF image with transparency) into the \tpd\ntcBeu_eu_20050704\icons directory.

add gif

The speed camera database you downloaded earlier contains a bmp file you can use if you want but it would need converting to a gif first.
Alternatively you can use this one poi_speed_camera.gif calling it poi_speed_camera.gif

12. Create copies of the sf_9101.htm and the st_9101.htm files in the tpd\ntcBeu_eu_20050704\eng directory

copy sf and st files

and rename them accordingly, sf_9000.htm and st_9000.htm in this case.

rename st and sf files

13. Download the perl script file from here and using the .asc file containing the uk speed camera locations obtained from
pocketgpsworld.com, create the idx and url files.
(To do this you'll need a version of Perl, I used Cygwin from www.cygwin.com. If you use this version, make sure that you select
the Perl modules when installing it.

** New ** More detailed instructions for installing Cygwin can be found here

To test your perl installation open up a command prompt and change directory so you at the C:\> prompt
then type (assuming you installed cygwin to c:\cygwin )

c:\cygwin\bin\perl -v

and press Enter. You should get the following displayed

verify perl ok

This proves your perl is working ok!

Note: The script has been updated so it now works ok with Activeperl so feel free to use this version of Perl if you would prefer.
From the command prompt switch to the directory on your pc where you have the perl script and asc file and type

c:\cygwin\bin\perl createidxurl.pl pocketgps_uk_sc.asc 9000 (press return)>

pocketgps_uk_sc.asc was the file name of the asc file I got from pocketgpsworld.com so change that to whatever
your asc file is named as. You should now have an idx and a url file in that folder.

14. In the tpd\ntcBeu_eu_20050704\tables\0 directory find the last .idx and .url files listed.
On my DVD they were 0097.idx and 0098.url. (on the 2006-02 DVD they will be 0099.idx and 0100.url)

find last idx and url

15. Rename the idx and url files generated in step 13. accordingly eg. 0099.idx and 0100.url in my case
(on the 2006-02 DVD they will be 0101.idx and 0102.url and on the 2007-01 DVD they will be 0099.idx and
0100.url) and then copy them to the tpd\ntcBeu_eu_20050704\tables\0 directory.

rename idx url

16. Go back and edit the sf_9000.htm and st_9000.htm that you created in Step 12. Change all occurances of 9101 to 9000,
change the idx and url references to the filenames you used in step 14. and change any relevant text to what you want
eg. Golf clubs becomes Speed Cameras. Your sf_9000.htm should look something like

<!--TPD TYPE="2" LAN=ENG FORMID=9000-->
<HTML>
<HEAD><TITLE>Enter search criteria ...</TITLE></HEAD>
<BODY ALINK="#F66321" LINK="#000000" VLINK="#FFFFFF" SLINK="#F66321">
<form action="http://tpdhost/cgi/search" method="GET">
<input type="hidden" name="command" value="search">
<input type="hidden" name="sort" value="distance">
<input type="hidden" name="unit" value="##u">
<input type="hidden" name="position" value="##p">
<input type="hidden" name="dpos" value="##c">
<input type="hidden" name="spos" value="##p">
<input type="hidden" name="indextable" value="/tables/0/0099.idx">
<input type="hidden" name="urltable" value="/tables/0/0100.url">
<input type="hidden" name="template" value="/eng/st_9000.htm">
<input type="hidden" name="direction" value="##h">
<input type="hidden" name="size" value="25">
<TABLE CELLPADDING=2 BORDER=1 BORDERCOLOR="#000000" WIDTH=100%>
  <TR>
    <TH BGCOLOR="#000000" WIDTH=29%></TH>
    <TH BGCOLOR="#000000"></TH></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><input type="submit" value="Search" name="submit"></TD>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE>Speed cameras<%if_defined CITYNAME> around <%CITYNAME><%endif></TD></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE>
      <select name="radius">
        <option value=5>5 <%unit></option>
        <option value=10>10 <%unit></option>
        <option value=25>25 <%unit></option>
        <option value=50 SELECTED>50 <%unit></option>
        <option value=75>75 <%unit></option>
        <option value=100>100 <%unit></option>
        <option value=150>150 <%unit></option>
        <option value=250>250 <%unit></option>
        <option value=500>500 <%unit>        </option></select></TD>
    <TD VALIGN=MIDDLE>Maximum distance</TD></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><input type="text" name="NAME_sco"></TD>
    <TD VALIGN=MIDDLE>Part of name</TD></TR>
</TABLE>
</FORM>
</BODY>
</HTML>


and your st_9000.htm should look something like

<!--TPD TYPE=3 LAN=ENG -->
<HTML>
<HEAD><TITLE>Search results:<%if_result> <%INDEX_FIRST>-<%INDEX_LAST><%endif><%if_result_empty> <%number_of_result><%endif></TITLE></HEAD>
<BODY ALINK="#F66321" LINK="#000000" VLINK="#000000" SLINK="#F66321">
<TABLE CELLPADDING=2 BORDER=1 BORDERCOLOR="#000000" WIDTH=100%>
  <TR>
    <TH BGCOLOR="#000000" WIDTH=12%></TH>
    <TH BGCOLOR="#000000"></TH>
    <TH BGCOLOR="#000000" WIDTH=20%></TH></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><A HREF="http://tpdhost/cgi/form?templ=/ENG/sf_9000.htm&CITYNAME=%23%23N">
      <IMG SRC="/images/bmw_search.gif" WIDTH=40 HEIGHT=28></A></TD>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE ALIGN=CENTER COLSPAN=2><%if_result>Speed Cameras<%endif></TD></TR>
<%if_result>
<%if_previous>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><A HREF="<%cgi_request_p>"><IMG SRC="/images/bmw_prev.gif" WIDTH=40 HEIGHT=28></A></TD>
    <TD VALIGN=MIDDLE COLSPAN=2>previous <%size_p> results</TD></TR>
<%endif>
<%list_begin>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><A HREF="http://tpdhost/cgi/form?template=/eng/st_detail.htm&COUNT=<%INDEX_I>&POI=<%NAME!CGI>&STR=<%STREET!CGI>&NR=<%HOUSENUMBER!CGI>&VIL=<%VILLAGE!CGI>&CTY=<%CITY!CGI>&CTRY=<%COUNTRY!CGI>&TEL=<%PHONE!CGI>&LOC=<%POSWGS!CGI>&EP1=<%ENTP1!CGI>&EP2=<%ENTP2!CGI>&EP3=<%ENTP3!CGI>&EP4=<%ENTP4!CGI>&EP5=<%ENTP5!CGI>&EP6=<%ENTP6!CGI>&EP7=<%ENTP7!CGI>&EP8=<%ENTP8!CGI>&EP9=<%ENTP9!CGI>">
      <IMG SRC="/images/bmw_info.gif" WIDTH=40 HEIGHT=28></A></TD>
    <TD VALIGN=MIDDLE><%NAME!HTM>
      <BR><%if_defined VILLAGE><%VILLAGE!HTM><%endif></TD>
    <TD VALIGN=MIDDLE ALIGN=RIGHT><IMG SRC="/images/_direction_i_<%direction_i>.gif" WIDTH=16 HEIGHT=16>
      <BR><%distance_i> <%unit></TD></TR>
<%list_end>
<%if_next>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
  <TR>
    <TD BGCOLOR="#000000" VALIGN=MIDDLE><A HREF="<%cgi_request_n>"><IMG SRC="/images/bmw_next.gif" WIDTH=40 HEIGHT=28></A></TD>
    <TD VALIGN=MIDDLE COLSPAN=2>next <%size_n> results</TD></TR>
<%endif>
<%endif>
<%if_result_empty>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD VALIGN=MIDDLE COLSPAN=2> <BR>No matching Speed cameras within search area.<BR> </TD></TR>
<%endif>
  <TR>
    <TD BGCOLOR="#000000"></TD>
    <TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
</TABLE>
</BODY>
</HTML>


17. Burn the modified Navigation files to to DVD using Nero and the following settings:

nero options 1

nero options 2

nero options 3

nero options 4

nero options 5

And thats all there is to it! grin.gif


Once you activate the speed camera POI on the NAV this is how they will be displayed

displayed speed cameras

If your unsure how to get the speed cameras displayed on the screen this is what I do:

  • Select Navigation from the I-Drive menu.
  • Select any location in the list of destinations and opt to display information on that location.
  • Locate the speed cameras entry under the relevant menu entry so a list of all speed cameras is displayed relevant to the location.
  • Go back to map screen and using the icons displayed down the left hand side chose to display POIs ( click on the crossed out i )
In future whenever you start the car you only need to display the map (you don't have to enter a destination or do anything else)
and display POIs by clicking on the crossed out i icon displayed on the left hand side to get the speed camera icons displayed.
You can drive around regardless of whether you are receiving NAV instructions or not with the speed camera locations displayed on the map.

**** NOTE **** From CIP v23 onwards it now remembers if your POIs were enabled and so when you restart your car you don't have to go and re-enable POIs everytime.


home | using nero | using iso | non-uk users | feedback

Web hosting services