Jump to content

Garmin custom GeocacheFilter help


JROFam

Recommended Posts

Hi, I have a new Garmin GPSMAP 66st; I'm playing with the custom filters for Geocaching. I'd like to be able to create a filter for:

Available during winter

Abandoned structure

 

Etc, however, I don't know what codes to use. Here's a sample file:

<?xml version="1.0" encoding="UTF-8"?>
<GeocacheFilter>
    <Settings>
<Version>1</Version>
        <Types>
            <Type>0</Type>
            <Type>1</Type>
            <Type>2</Type>
            <Type>3</Type>
            <Type>4</Type>
            <Type>5</Type>
            <Type>6</Type>
            <Type>7</Type>
            <Type>8</Type>
            <Type>9</Type>
            <Type>10</Type>
            <Type>11</Type>
        </Types>
        <Sizes>
            <Size>0</Size>
            <Size>1</Size>
            <Size>2</Size>
            <Size>3</Size>
            <Size>4</Size>
            <Size>5</Size>
            <Size>6</Size>
            <Size>7</Size>
        </Sizes>
        <SizeMin>1.0</SizeMin>
        <SizeMax>5.0</SizeMax>
        <DifficultyMin>1.0</DifficultyMin>
        <DifficultyMax>5.0</DifficultyMax>
        <TerrainMin>1.0</TerrainMin>
        <TerrainMax>5.0</TerrainMax>
        <AwesomeMin>1.0</AwesomeMin>
        <AwesomeMax>5.0</AwesomeMax>
        <Statuses>
            <Status>0</Status>
            <Status>1</Status>
            <Status>2</Status>
        </Statuses>
    </Settings>
</GeocacheFilter>

 

Link to comment

Read the documentation for the Garmin, does the sample file show the only filter parameters you can specify or can you add to them? I would hate to see you brick a new GPSr because it wouldn't digest a XML file it wasn't intended to use.

 

The ID for available in winter is 15 and 54 for abandoned structure but attributes have to be in their own section, for example:

<Groundspeak:attributes>
     <Groundspeak:attribute id="7" inc="1">Takes less than an hour</Groundspeak:attribute>
     <Groundspeak:attribute id="13" inc="1">Available at all times</Groundspeak:attribute>
     <Groundspeak:attribute id="25" inc="0">Parking available</Groundspeak:attribute>
     <Groundspeak:attribute id="27" inc="1">Drinking water nearby</Groundspeak:attribute>

</Groundspeak:attributes>

 

 

Edited by 31BMSG
Link to comment
7 hours ago, JRMFam said:

Hi, I've read the documentation but you must have something better, where did you find it?

What 31BMSG posted was what the attributes look like in a GPX file, which doesn't directly apply to what you're trying to do other than indicate the attribute IDs.

 

Are you sure that the device can filter on attributes? I'd expect that any available filter options would be those shown in the filter options on the device, so if you can't create a filter based on attributes on there, then there's a good chance that you won't be able to make a custom XML filter that will.

  • Upvote 1
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...