Jump to content

Improved Export From Gsak To Memory Map


roolku

Recommended Posts

OK, yet another version of my script.

 

This one is a minor change to bring the icon IDs in line with the Roolku script.

 

This should help prevent collisions between the two 'sets' and stop them overflowing to blue dots in the Pocket PCs.

But, you will first need to delete all current custom icons that have been added by one of these scripts.

Remember to keep a copy of any changes you made to the files yourself, and to edit the provided memory.txt to point to your icons.

 

New version is at the same link as above, which is here.

 

Tried the new script - deleted all icons first. Now instead of all caches 'with' bugs (the little black dot on the icon) only showing as blue dots its all traditional caches 'without' bugs (no black dot on the icon) showing as blue dots. This is really really weird!!

So tried things like.... changed the script so traditional caches use a different icon (Trigpoint) - this shows on the pc with the new icon, but still a blue dot on the PDA. Hmmm...

Chris

Edited by The Blorenges
Link to comment

Out of interest, if you delete all overlay information from Memory map on PC and then import the data back from the PDA (that you previously sent down and that has missing icons), what comes back? Does the PC version then also have the missing icons? I'm curious if this is a problem with the icons not getting to your PDA or just your PDA being unable/unwilling to display them.

 

J

Link to comment

Tried the new script - deleted all icons first. Now instead of all caches 'with' bugs (the little black dot on the icon) only showing as blue dots its all traditional caches 'without' bugs (no black dot on the icon) showing as blue dots. This is really really weird!!

So tried things like.... changed the script so traditional caches use a different icon (Trigpoint) - this shows on the pc with the new icon, but still a blue dot on the PDA. Hmmm...

Chris

 

Weird about them swapping around... If anything had happened, I'd have expected the bugged caches to still be blue dots, and non-bugged ones as before, since I just shifted all the bugs into the 1000+ ID range...

Link to comment

Out of interest, if you delete all overlay information from Memory map on PC and then import the data back from the PDA (that you previously sent down and that has missing icons), what comes back? Does the PC version then also have the missing icons? I'm curious if this is a problem with the icons not getting to your PDA or just your PDA being unable/unwilling to display them.

 

J

 

Using the roolku script and custom export the icons all display fine on the PC and PDA - but I can't get the link from the PDA icon to the locally stored HTML file (T-Girls gave me some help but can't get that to work yet!). So the Memory Map export is preferred since I can get more info displayed, but probs with icons. It's not down to the number of caches as I've tried exporting with 30 only. Its definately how the icons are sent to the PDA. They display fine on the PC screen but some are missing on the PDA. I've tried deleting the icons from MMap on the PC prior to importing the csv file and also tried removing from the memory.txt file those icons I won't use - they are not brought into MMap but still those dadgum blue dots appear! So now, I've uninstalled GSAK 7 and gone back to 6 which did work fine!

I'm at a complete loss and will soon find out I think how big a hole in the wall a Mio P550 makes when launched horizontally!!

I'll wait till the next Event (South Wales probably) and get someone to have a look and see if it's someone really obvious that I'm doing wrong!

Chris

 

Chris

Link to comment

Hello Chris,

 

I've got MM5 on an Ipaq HP 3700

 

Today got all of the Motorway Mayhem Icons to work (the lordelph ones). When exporting to PPC I got a few blue dots which after trying to sort out ended up with all sorts, blue dots for bugs, blue dots on their own all mixed up.

 

First off I deleted all the overlay files and the userdat files and old_userdat files. Played about for a while and eventually put things right. But I didn't really know what fixed the problem.

 

Played about again and have got the blue dots again. This time I noted what I was doing.

 

In Memory Map on PC, delete all then delete all Icons, re-import your overlay.

 

In Memory Map on PPC Menu / Overlay / Delete All wait a while till the confirm box appears (it might take a minute to appear) tap YES, Exit Memory Map, do a soft reset.

 

Export data to device from MM on PC.

 

I may have soft reseted before I exited MM.

 

I was surprised at how easy it was to put right the second time round, especially after trying for about an hour the first time.

 

Let us know if it does or doesn't work .

 

Regards Bernard

Link to comment

Bernard

Thanks for the advice. I've actually reverted back to GSAK 6 and got the custom export to work with all the icons. I went through the hoops like you of deleting icons/overlays and just found that I got blue icons for other things!! Which export option do you use? 'custom export' or 'memory map'? I've found the 'custom' produces all the icons but the 'memory map' with Edgemasters script gives me the dots!

 

So things are halfway there - next is to get the csv.xsl file edited so I can link the icon on the PDA to the locally stored HTML files on the storage card. Several people have posted edits to the script but I can't get any results other than the default geocaching.com links.

This bit of script:

<xsl:text>, "</xsl:text>

<xsl:value-of select="gpx:desc"/>

<xsl:text>", "</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>", "</xsl:text>

<xsl:text>\Storage Card\Cache\</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>.htm</xsl:text>

<xsl:text>", 0.0</xsl:text>

<xsl:text>, 1</xsl:text>

<xsl:text>, "</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>", 1</xsl:text>

<xsl:text>, 1</xsl:text>

<xsl:text>, "</xsl:text>

<xsl:choose>

 

Produces this example (one line) from the resulting csv file I create:

 

WP04, 51.552333, -2.667783, 1206, "Severn Beach saunter by alan g (2/1.5)", "GC100QP", "http://www.geocaching.com/seek/cache_details.aspx?guid=30bf2a2c-7839-4a64-8e44-7ce854bb3f9e&decrypt=y&pf=n&log=y", 0.0, 1,

 

So if I can get that one solved I'm away!! Do you have a solution?

Re-edit.... ran same script again and now it works! Link to local HTML file. So, dare I re-install GSAK 7?

 

Chris

Edited by The Blorenges
Link to comment

Hi Chris,

 

I have now utilised Edgemasters latest script from higher up this thread and GSAK7 Memory Map Export to MM5 on the Ipaq.

 

The changes I made are to put my ID number into icon.txt

I rearranged the lines of memory.txt to run consecutively and changed M:\GCIcons in all lines to C:\Program Files\GSAK\userimages which is where my lordelph icons are.

 

The new icons work perfectly on PC and PPC.

 

I've yet to start trying to link the icons on the PPC to the cache pages. I use GPXSonar which I'm told will not work.

 

As for the Icons what about posting your working copies of memory.txt icons.txt and the folder and contents where your icons are stored. I'm not an expert on this sort of thing but someone might see where the problem is.

 

Regards Bernard

Link to comment

So, what exactly did you edit, Chris with the files so they worked? The memory.txt icons are not in a logical order due to renumbering to comply with the existing roolku numbering scheme which could have caused icon problems..

 

I just want to share the joy with everyone else, and get the released files perfect.

Link to comment

Edgemaster

I don't know exactly what the problem was. But after uninstalling GSAK 7 (completely, cleaning the registry as well) and installing GSAK 6 everything was fine with original (latest) scripts memory.txt and icon.txt. I only edited them as per ur instructions to change the icon path in memory.txt and to put my user ID into the icon.txt file. They worked fine on GSAK 6. I then upgraded back to GSAK 7 and still all OK. The resultant csv file has all the icons displaying correctly on the pc and on the pda. I put the following line in the export dialogue box 'Link' - \storage card\cache\%code.htm which links to the HTML files stored on the pda card.

 

What I was doing whilst trying to find the fault was simply to remove icons from the memory.txt file that I didn't want (such as Earth caches) but it made no real difference, I still got blue dots on the pda. I also tried the options to delete all icons from MMap on the PC prior to importing the csv file but nothing seemed to work.

 

Regarding the original csv.xsl file used with a 'custom export' I only edited that like this (based on what others had suggested) to get the local HTML files to link to the icons and also to put my user ID at the top:

 

<xsl:text>, "</xsl:text>

<xsl:value-of select="gpx:desc"/>

<xsl:text>", "</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>", "</xsl:text>

<xsl:text>\Storage Card\Cache\</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>.htm</xsl:text>

<xsl:text>", 0.0</xsl:text>

<xsl:text>, 1</xsl:text>

<xsl:text>, "</xsl:text>

<xsl:value-of select="gpx:name"/>

<xsl:text>", 1</xsl:text>

<xsl:text>, 1</xsl:text>

<xsl:text>, "</xsl:text>

<xsl:choose>

 

Again, after a clean install of GSAK 7 it worked fine.

 

I would like to thank everyone for their suggestions and help - they all did work in the end!

 

Bernard - I don't use GPX Sonar. Once I've exported the data file from MMap on the PC to the PDA I simply select the icon, open file and the local HTML file opens in Internet Explorer (which I wanted). Next I shall see about getting it to link to Cachemate - I recall seeing a post about doing that, but I may wait before embarking on that one! So if you get the solution to link to Cachemate or GPX Sonar before I do, can you post it please!!

 

I'm off to play with telephones now!!

 

Thanks!

Chris

Link to comment

Thank god the Blorenges are up and running. It was giving me the shakes reading the thread as I remember how useless at this script editing I have been and how frustrating it was. It is all worth it in the end as it works to perfection now with added trig point icons, CITOs and motorway mayhems, thanks to all who have contributed to this thread.

 

Well, the Mr half of the Blorenges is up and running! Mrs B has yet to understand the joy of spending hours cursing over a laptop and pda, deleting files, editing files, loading files, rebooting, re-installing software just to find out it still won't work! Coupled with that fantastic piece of software from Microsoft called Inactive Out of Sync that connects the PDA to the laptop...... why does it keep disconnecting for no apparent reason!

 

Chris

Link to comment
Well, the Mr half of the Blorenges is up and running! Mrs B has yet to understand the joy of spending hours cursing over a laptop and pda, deleting files, editing files, loading files, rebooting, re-installing software just to find out it still won't work! Coupled with that fantastic piece of software from Microsoft called Inactive Out of Sync that connects the PDA to the laptop...... why does it keep disconnecting for no apparent reason!

Aah, the joys of PDAs, I'd better watch out for that when I finally get one! :rolleyes:

 

Good to see a complete clean of all files worked. It's weird though... Maybe there was an error in a previous version of the script that lingered somehow?!

Edited by Edgemaster
Link to comment

A plumber, an electrician and an IT specialist are off on a car journey on a very hot day when the car just stops for no reason.

The plumber says, "ah, it's bound to be the engine cooling system because it's so hot." He gets out of the car, opens the bonnet pokes around without any success, the car won't start.

The electrician says, "no, it's the electrics, the battery is probably flat". So he pokes around under the bonnet, can't find anything wrong and still the car won't start.

The IT specialist, after watching the experts futile attempts simply closed all the windows, opened all the windows and the car started immediately....

 

Old but still good!

Chris

Link to comment

from Lordelph's Lovely Icons thread....

 

Also, descriptionhack.txt is optional for those who want the cache description as waypoint comment. Usage is noted in the top lines of the file.

 

If I want the comment rather than the description in additional waypoints displayed, how do I change descriptionhack.txt please so using the following code from the wpts.gpx file

 

cmt>What are the numbers on the YELLOW PLATE? = --A</cmt>

<desc>Yellow Plate</desc>

 

displays "What are the numbers on the YELLOW PLATE? = --A" rather than just "Yellow Plate"? in the comment field on Memory-Map?

Link to comment

Sorry, was being stupid there, I think if you put

\cmate:%code

into the link box, it should work.

 

I don't have a PDA or cachemate, so I can't test it out.

 

Is the cachemate linking using the Edgemaster method only going to work with GSAK7? I have GSAK6 and was wondering what I do as I have no link box :P . Looks like this might be the reason to upgrade to GSAK7?

Link to comment

from Lordelph's Lovely Icons thread....

 

Also, descriptionhack.txt is optional for those who want the cache description as waypoint comment. Usage is noted in the top lines of the file.

 

If I want the comment rather than the description in additional waypoints displayed, how do I change descriptionhack.txt please so using the following code from the wpts.gpx file

 

cmt>What are the numbers on the YELLOW PLATE? = --A</cmt>

<desc>Yellow Plate</desc>

 

displays "What are the numbers on the YELLOW PLATE? = --A" rather than just "Yellow Plate"? in the comment field on Memory-Map?

I don't currently have any full GPXes to examine, (and its too late to generate one and check), but, that quick 'hack' (used in the good way, meaning getting something to do it shouldn't) is just to get descriptions into the comment, since there is no special tag for that. %hint would probably be the best option, as decided in geochat.

 

Sorry, was being stupid there, I think if you put

\cmate:%code

into the link box, it should work.

 

I don't have a PDA or cachemate, so I can't test it out.

 

Is the cachemate linking using the Edgemaster method only going to work with GSAK7? I have GSAK6 and was wondering what I do as I have no link box :P . Looks like this might be the reason to upgrade to GSAK7?

This is an unfortunate limitation of GSAK 6, there is a good workaround posted by Rodz though, which applies in this situation. It does defeat the point of cachemate a little though...

Link to comment

All my hardwork getting the roolku script up and running and then working on the pda with cachemate...................what do i do........Upgrade to gsak7 and loose the B%^*%^ lot :D:)B) .

I have tried to follow this thread, but got lost quite early on.

 

If any of you clever it people want a free cup of tea, feel free to pop in B):) I may even leyt you play on my pc. :DB)

failing that i'll let you do it remotely :D:D

 

Frustratedly yours

 

Wadders

Link to comment

The dreaded blue dots are back!

 

Just upgraded to a vista laptop and am trying to install all my goodies, including this little beauty.

 

Have installed GSAK and memory map

copied over my icons file, garminother, csv and msxsl files into the GSAK root file

added the babel.gpx file in the tem folder in GSAK

 

made a custom export to a csv file which works okay but when importing into MM all the waypoints apear as blue dots. Can someone please point out what I have forgotten to do?

 

Thanks

Link to comment

Hello,

 

I am using the LordElph and Edgemaster method for exporting to MM but I would like to know if there is anyway of getting the child waypoints to include details such as child type & cache name so i can see which caches they are refering to when out and about, all i get currenty is the name and in comments e.g. "stage 1"

 

I have tried eveything but the commands that start with %c_### to use with children do not seem to work in the memory map export tool, is this correct and should I then raise this with Clyde?

 

Let me know if anyone has any smart workarounds.

 

Hope that all makes sense

Thanks,

G

Link to comment

I am using the LordElph and Edgemaster method for exporting to MM but I would like to know if there is anyway of getting the child waypoints to include details such as child type & cache name so i can see which caches they are refering to when out and about, all i get currenty is the name and in comments e.g. "stage 1"

I have tried eveything but the commands that start with %c_### to use with children do not seem to work in the memory map export tool, is this correct and should I then raise this with Clyde?

 

You can have whatever you wish in the description field for the child waypoints. On your MM export from GSAK, put the following in the "Waypoint Name" field: -

 

%Name (%Dif/%Ter) %children %c_Name

 

Where you can have any of the following instead, or as well as the %c_Name field: -

 

%c_Prefix - The 2 character prefix of the child code
%c_Name - The child waypoint name
%c_ShortName - same as %ShortName but for the child waypoint
%c_Type - The child waypoint type ("Parking Area" for example)
%c_Code1 - 1 character code to "sequence" this waypoint (Note: this special tag is only resolved when used in export dialogs and not in the macro language).
%c_Code - The full child waypoint code.
%c_Lat - Latitude
%c_Lon - Longiture

 

The key here is make sure you have the %children special tag and you place your child waypoint variables after it.

 

From your description, I guess the following would satisfy your requirements: -

 

 %code %name (%Dif/%Ter) %children %code %c_Type %c_Name

 

That will give all child waypoints, the same waypoint name prefix as their parent, allowing you to group them together. It will also display the type and name of the child waypoint, whilst the parent waypoint has the cache name followed by it's difficulty and Terrain ratings.

 

Cheers,

 

Jon.

Edited by dakar4x4
Link to comment

I'm using GSAK 7.1.1.32 on my new Vista laptop and trying to get it all set up how it was on my desktop pc running GSAK 6 something.

 

I'm getting the following error when runing the custom export......

 

C:\Programs\gsak>"c:\Programs\gsak\msxsl" "c:\Programs\gsak\temp\babel.gpx" csv.

xsl -o d:\gsak\geocache.csv

 

Error occurred while loading document 'c:\Programs\gsak\temp\babel.gpx'.

 

Code: 0xc00ce558

XML document must have a top level element.

 

C:\Programs\gsak>Pause

Press any key to continue . . .

 

It's frustrating me! I'm sure I've got all the files in the right place... any help please!!!

 

Thanks

Link to comment

Version 7 has an extra bit at the top of the custom export dialog box. It used to create a babel.gpx on the fly, but you need to set it up manually before doing the custom export. You have to create a gpx export and save the settings as babel (this has to create the babel.gpx file). Then when you do the custom export you choose babel from the drop down box at the top of the custom export dialog box.

 

Comprendez? I found the info on the gsak forums and a bit of a search will find it explained in much clearer detail than my 9:30pm friday night brain can manage.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...