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

Pocket GPS World :: View topic - CSV POI and excel - help with Navman
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

CSV POI and excel - help with Navman

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Beginners GPS Lounge
View previous topic :: View next topic  
Author Message
Adek
Regular Visitor


Joined: Dec 01, 2005
Posts: 70
Location: UK

PostPosted: Tue Dec 20, 2005 11:34 pm    Post subject: CSV POI and excel - help with Navman Reply with quote

I have a Navman PiN 570 and I've been trying to import some POI files into the SmartST software.
The camera files from here are fine as are some others I have found but my problem is that whilst there are quite a few tomtom OV2 files out there and similar variants, I can't find convert them properly into CSV format.

I have found this before with MS Excel, in that what you think will be a CSV file turns out to export in not quite the right way, if you use notepad, then that's fine, but you can't seriously edit files with that software.

So here is my problem if I have an excel sheet with Long, Lat, name and then export as CSV, then the name cells do not export in a
<,"name title"> format that SmartST needs, either you get a number of "" added or none at all.

Anyone got a foolproof way of forcing excel to export into a format that Navman can read?


any help would be great.
Back to top
View user's profile Send private message
Tim Buxton
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 14/09/2002 20:56:18
Posts: 5231
Location: Surrey, United Kingdom

PostPosted: Wed Dec 21, 2005 12:38 am    Post subject: Reply with quote

Oldie's POIConverter (search for it in the Downloads section) does exactly what it says on the tin. You can convert .ov2 files into .csv format. It does add , "" to the end, but these are ignored by the Navman POIEditor and are easily stripped out by the basic editing facilities of Notepad anyway.

Then you only have to add a ; to the beginning of the top line of the resultant .csv file and you're away with the mixer. Incidentally, if you click on my WWW button, you will be taken to a website (not mine) where there are Navman-ready POI files.
_________________
Tim
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Adek
Regular Visitor


Joined: Dec 01, 2005
Posts: 70
Location: UK

PostPosted: Wed Dec 21, 2005 8:09 am    Post subject: Reply with quote

Thanks Tim,

I have tried that POI converter, maybe I have used the wrong CSV format, there seem to be a couple of different ones listed, so I'll look again at this conversion.

The website you give does have some nice add-on POI's I have already used the BP garage one from this site- as you say goes into Navman from there with no problem.

My problem is also that I would like to create my own POI file for work, and there would be something like 1000 entries, so even simple editing in notepad would take an age, it is far easier for me to generate a dump from my database into excel and edit this. but then I just can't seem to get it into the navman POI editor. Excel seems to leave in something not quite right. So it looks like I'll have to have a play with a field merge and macro in excel to fudge it...

I would have to say that the Navman software makes POI's just a little more difficult than it should be- I find the desktop version is quite flakey in communicating with the PDA, but that's the only way to download them onto the unit. Still can't have everything, and it keeps me out of trouble playing with this all.
A project for the christmas break I think.

Adek
Back to top
View user's profile Send private message
Tim Buxton
Pocket GPS Moderator
Pocket GPS Moderator


Joined: 14/09/2002 20:56:18
Posts: 5231
Location: Surrey, United Kingdom

PostPosted: Wed Dec 21, 2005 11:41 am    Post subject: Reply with quote

Ah yes, I forgot. Oldie is so good that he provided various .csv output formats. You need to convert to the Autoroute .csv type.

BP, eh? I wise choice, Sir, as it's one of mine. 8)

Can'tyou create your POI file in Excel and then re-edit it in Notepad? All you ned to do is get the format right at the end, which is

Lon, Lat, "Name"

Excel appears to put double quotes around the "Name" field, which throws the Navman POIEditor.

Yes, Navman have been made aware that their choice of Custom POI transfer isn't the best by any means. Hopefully it wil be corrected in future versions, but it took them three releases of SmartST to actually provide the function. One step at a time...... :D
_________________
Tim
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Adek
Regular Visitor


Joined: Dec 01, 2005
Posts: 70
Location: UK

PostPosted: Wed Dec 21, 2005 12:24 pm    Post subject: Reply with quote

Thanks Tim,

I'll try the autoroute CSV version hopefully it will be more successful.

I found with Excel that putting in a comma in the name cell before the text should produce the single " ..." speech marks, but then it leaves in the comma so ",xxxx" not sure if this may work with Navman , hope so but lets see.

Adek
Back to top
View user's profile Send private message
mugwump
Occasional Visitor


Joined: Sep 11, 2005
Posts: 54

PostPosted: Wed Dec 21, 2005 5:50 pm    Post subject: Reply with quote

The following macro seems to work, you need to select the cells you want to export then run the macro. It creates a file called file.csv in the root of C:, you can of course change this in the code.

Not the most elegant soution but it works for me.......

Sub Export()
Dim r As Range, c As Range
Dim sTemp As String

Open "c:\file.csv" For Output As #1
For Each r In Selection.Rows
sTemp = ""
For Each c In r.Cells
sTemp = sTemp & c.Text & Chr(44)
Next c

'Get rid of trailing commas
While Right(sTemp, 1) = Chr(44)
sTemp = Left(sTemp, Len(sTemp) - 1)
Wend
Print #1, sTemp
Next r
Close #1
End Sub
_________________
Apologies to all my supporting users, the http://ukpostcodes.boldlygoingnowhere.org/ postcode converter has now been retired.
The ubiquity of full postcode lookups has made it somewhat redundant. I still have the code if anyone needs it.
Back to top
View user's profile Send private message
Adek
Regular Visitor


Joined: Dec 01, 2005
Posts: 70
Location: UK

PostPosted: Thu Dec 22, 2005 11:03 am    Post subject: Reply with quote

thanks mugwump, I'll give this a try also. This was the sort of thing I had in mind I was going to have to write.


Adek
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 -> Beginners GPS Lounge All times are GMT + 1 Hour
Page 1 of 1

 
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.053 (15 May 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