Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - McGuider Users: Speed Camera Database Conversion Script Here
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

McGuider Users: Speed Camera Database Conversion Script Here
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Sygic McGuider/Mobile Maps
View previous topic :: View next topic  
Author Message
scarymonkey
Lifetime Member


Joined: May 09, 2007
Posts: 454
Location: Worcestershire

PostPosted: Tue Mar 10, 2009 12:12 pm    Post subject: Reply with quote

Certainly will. Anything to make life easier for others.
Back to top
View user's profile Send private message Visit poster's website
djbenson
Lifetime Member


Joined: Jul 12, 2006
Posts: 15

PostPosted: Tue Mar 10, 2009 12:53 pm    Post subject: Reply with quote

Will have a look at this tonight.
Back to top
View user's profile Send private message
scarymonkey
Lifetime Member


Joined: May 09, 2007
Posts: 454
Location: Worcestershire

PostPosted: Tue Mar 10, 2009 1:17 pm    Post subject: Reply with quote

djbenson wrote:
Will have a look at this tonight.

No problem, and anything I can do to help, just shout (or send me a pm)
Back to top
View user's profile Send private message Visit poster's website
Joe
Occasional Visitor


Joined: Jan 14, 2005
Posts: 50

PostPosted: Wed Mar 11, 2009 8:08 pm    Post subject: Reply with quote

Having compiled the .upi files exactly as per djbenson instructions with

pocketgps_eur_pmobile.txt
pocketgps_eur_pmobile.bmp
pocketgps_eur_sc.txt
pocketgps_eur_sc.bmp

in the /in directory, I produce

pocketgps_eur_pmobile.upi
pocketgps_eur_sc.upi

in the /out file

Transferred to all relevant map directories.

For a sample route in France, I get greyed out (?) icons for a Truvelo at 4.002E 49.254E and beneath it a speed camera icon at the same location?

All other cameras on the route are greyed out (?).

I have also set the POI to be 'Warn of POI on the route only' but htis does not appear to work correctly. Cameras not on the route are also showing.
Back to top
View user's profile Send private message
scarymonkey
Lifetime Member


Joined: May 09, 2007
Posts: 454
Location: Worcestershire

PostPosted: Wed Mar 11, 2009 8:18 pm    Post subject: Reply with quote

Joe,

Edit the script file as I described earlier.
Code:
for %%i in (.\in\pocketgps_*.txt) do echo - Converting %%~ni.txt to %%~ni.upi & convert.exe .\in\%%~ni.txt %%~ni.bmp .\out\%%~ni.upi


This will remove the path to the graphic in the UPI file. Having spoken to a member of Sygic dev team, they have confirmed to me that the bmp does not get embedded into the UPI file itself and it is just the reference to it in the res\icons directory. They are at a loss to explain why it appears to work differently for djbenson.

Once you have converted the txt file into a UPI, copy this into the map directory and then copy the bmp files into the res\icons directory. A word of warning though - if the bmp are not 8bit (or 32 bit) then they will not show on the map. The default format for many graphics applications is 24bit so it is common to have to convert them.

The map will always show nearby cameras but you will not get the audiable warning that you are approaching a camera if it is not on the road you are on.
Back to top
View user's profile Send private message Visit poster's website
Joe
Occasional Visitor


Joined: Jan 14, 2005
Posts: 50

PostPosted: Thu Mar 12, 2009 8:28 am    Post subject: Reply with quote

thanks scarymonkey. works a treat Very Happy
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Sygic McGuider/Mobile Maps All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.043 (17 Apr 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping