GPS POI Home
POI Files
POI Tools
POI Maps
GPS Forum
Support
GPS Data Team
Your local business listing specialists
Search
Register
Log in
Home
>
Forums
>
GPS POI Tools
>
Remove <cmt> xxxxx </cmt>
gary5
GPS: Garmin Nuvi 3470
Back to top
|
Link
Remove <cmt> xxxxx </cmt>
I'm a newly registered user. Converted a couple of large gpi files to gpx, but they give an error message in Basecamp. They load ok if I remove the <cmt> tag info from a small sample. How can I remove about 3,500 of those tags in the file?
Mark
GDT
Back to top
|
Link
Re: Remove <cmt> xxxxx </cmt>
Hi gary5,
It would be much easier to help if you provided a small sample here.
Regards
gary5
GPS: Garmin Nuvi 3470
Back to top
|
Link
Re: Remove <cmt> xxxxx </cmt>
<wpt lon="121.3802753" lat="-29.4049994"><name>268-Morapoi Station</name><cmt>Morapoi Station</cmt></wpt>
<wpt lon="121.4469419" lat="-28.8788883"><name>272-Malcolm Dam</name><cmt>Malcolm Dam</cmt></wpt>
<wpt lon="121.3330531" lat="-28.9144438"><name>273-Gwalia Museum</name><cmt>Gwalia Museum</cmt></wpt>
I found a solution. Open the file in Notepad++. Use search & replace all with Regular Expression as follows
(?s-i)<cmt>.+?</cmt>
Thanks for the quick reply. Could it have been done with any of the edit tools here?
Mark
GDT
Back to top
|
Link
Re: Remove <cmt> xxxxx </cmt>
Hi gary5,
Well done. I would also use any text editor to replace:
- all </name><cmt> to a dash or comma
- all </cmt> to </name>
That would keep any additional info, if required.
Regards
Your Name
Guest
Back to top
|
Link
Your comments
Add your comment here:
Display posts from previous:
All Posts
1 Day
7 Days
2 Weeks
1 Month
3 Months
6 Months
1 Year
Oldest First
Newest First
Home
>
GPS Forum
>
GPS POI Tools
>
Discussion
Home
>
GPS Forum
>
GPS POI Tools
>
Discussion
Page
1
of
1
Jump to:
Select a forum
GPS devices, software and free POI files
----------------
Garmin
GPS Software and Gadgets
GPS POI Tools
Technology
GPS Phones
iGO
Navman
TomTom
Mio
CoPilot
Magellan
Destinator
SatNav Discussion
Members Zone
GPS POI data
----------------
POI Updates and Downloads
Speed and redlight camera POI
School Zones
Topics
WiFi hotspots
GPS Sale, Bargain, Clearance & Discount
Installation Support
[
Home
|
POI Files
|
Tools
|
Forum
|
Support
]
GPS Data Team
2021
Permalink:
Remove <cmt> xxxxx </cmt> | GPS POI Tools forum