DIY: Do It Yourself Share all your DIY experiences here. Ask how-to questions also!

Adding speed camera POI to your SatNav DVD

Thread Tools
 
Search this Thread
 
Old 06-02-2006, 09:38 AM
  #81  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

This is what I see if I click the icon on my desktop.
Attached Thumbnails Adding speed camera POI to your SatNav DVD-cygwin.jpg  
Old 06-02-2006, 10:13 AM
  #82  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

Hmmmmm,

Trying again, selected Perl in packages and put X in all boxes, left everything else as default.
Taking some time to install 17333k

Will report back if a success.
Old 06-02-2006, 10:19 AM
  #83  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

******Bingo*******

Now onto the next phase, fingers crossed.
Old 06-02-2006, 10:42 AM
  #84  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

Next problem,

Editing sf_9000htm

Only occurances 9101 is the first line, is that correct.

No occurances in st_9000htm, is that correct.

Or have I cocked it up again.
Old 06-02-2006, 10:51 AM
  #85  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

Mathmos,

Sorry for all this, when you say change any relevant text to what you want eg. Golf clubs becomes Speed Cameras, where do you mean I cannot see a reference to Golf clubs in either file.

Sorry to be a pain.
Old 06-02-2006, 11:24 AM
  #86  
Contributors
 
mathmos's Avatar
 
Join Date: Mar 2005
Location: Kent, UK
Posts: 225
Likes: 0
Received 0 Likes on 0 Posts
Default

Originally Posted by steve3948' post='291668' date='Jun 2 2006, 07:51 PM
Mathmos,

Sorry for all this, when you say change any relevant text to what you want eg. Golf clubs becomes Speed Cameras, where do you mean I cannot see a reference to Golf clubs in either file.

Sorry to be a pain.

your sf_9000.htm should look something like

Code:
<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

Code:
<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]/images/bmw_search.gif[/img]</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>[img]/images/bmw_prev.gif[/img]</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]/images/bmw_info.gif[/img]</A></TD>
	<TD VALIGN=MIDDLE><%NAME!HTM>
	  <%if_defined VILLAGE><%VILLAGE!HTM><%endif></TD>
	<TD VALIGN=MIDDLE ALIGN=RIGHT>[img]/images/_direction_i_<%direction_i>.gif[/img]
	  <%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>[img]/images/bmw_next.gif[/img]</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> No matching Speed cameras within search area. </TD></TR>
<%endif>
  <TR>
	<TD BGCOLOR="#000000"></TD>
	<TD BGCOLOR="#000000" COLSPAN=2></TD></TR>
</TABLE>
</BODY>
</HTML>
Old 06-02-2006, 01:31 PM
  #87  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

What a mare.

After all that I went to burn and got the message UltraISO cannot save over 300MB on the trial version.

Now had to purchase full version, but waiting for reg number, then will start all over again.

Thanks for all your help and support so far.

Steve.
Old 06-03-2006, 02:35 AM
  #88  
Contributors
 
bruce_miranda's Avatar
 
Join Date: Nov 2005
Location: London, UK
Posts: 4,719
Likes: 0
Received 3 Likes on 3 Posts
My Ride: BMW E60 520d SE Saloon M47 2.0dTitanium Grey II, Grey−Dakota Leather, Visibility Package, Media Package, Through Load System, Lumbar support − fr seats, Automatic Air Conditioning−Advanced, High beam assistant, Hi−Fi Loudspeak
Model Year: 2006
Default

Don't bother with editing an image etc. Infact the original DVD is not encrypted so you don't even need DVD Decrypter. A simple Windows Explorer file copy should be OK. Edit everything according to mathmos instructions and then use Nero or something similar to burn it back again.
Also ActivePerl is also an option but will require a few script changes. Infact Mathmos why don't you update the script with the changes for ActivePerl because then people will be able to use any version of Perl to perform this task.
Old 06-03-2006, 03:14 AM
  #89  
Members
 
steve3948's Avatar
 
Join Date: Jun 2006
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
Default

Well dumb question, but only got the car last Saturday, inserted revised disk and everything seems to work.

However where do you enable POI, I cannot find it ?

I know this is must be an easy answer, but it beats me.

Regards, Steve.
Old 06-03-2006, 04:32 AM
  #90  
Members
 
qualorga's Avatar
 
Join Date: Jun 2006
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Default

Hi,
I'm french and I' very interesses by your application (Very good job) . I'll get my 330 D in 2 or 3 wweks (June 23 planned delivery date). I tried to apply the procedure. But i ve a problem with perl application (exactly missing perl)
I have installe cygwin on my computer. But the perl file is not in the directory cygwin\bin
Please coul anyone help me
Thank a lot
CD
In fact it seems i have the same problem as Steeve had
Where the instruction
" selected Perl in packages and put X in all boxes, left everything else as default."
Has to be applied. I'm not able to see the boxes (But I m just an old engineer prrobably i miss something easy...

It't ok now, I'hve found. I've clicked on "skip and i've seen the boxes and perl is now installed
Claude


Quick Reply: Adding speed camera POI to your SatNav DVD



All times are GMT -8. The time now is 12:15 AM.