private static int getSpottedType(final int state) {
            switch (state) {
                case 0: // Dropped
                case 3: // Seen in
                    return Trackable.SPOTTED_CACHE;
                case 1: // Grabbed from
                case 5: // Visiting
                    return Trackable.SPOTTED_USER;
                case 4: // Archived
                    return Trackable.SPOTTED_ARCHIVED;
                //case 2: // A comment (however this case doesn't exists in db)
            }
            return Trackable.SPOTTED_UNKNOWN;
        }
Convert states from GK to c:geo spotted types. See: <a href="https://geokrety.org/api.php">GeoKrety API</a>

@param state the GK state read from xml
@return The spotted types as defined in Trackables
main/src/main/java/cgeo/geocaching/connector/trackable/GeokretyParser.java