private void writeCGeoAttributes(@NonNull final Waypoint waypoint) throws IOException {
        if (waypoint.isVisited()) {
            gpx.startTag(NS_CGEO, "visited");
            gpx.text("true");
            gpx.endTag(NS_CGEO, "visited");
        }
        if (waypoint.isUserDefined()) {
            gpx.startTag(NS_CGEO, "userdefined");
            gpx.text("true");
            gpx.endTag(NS_CGEO, "userdefined");
        }
        if (waypoint.isOriginalCoordsEmpty()) {
            gpx.startTag(NS_CGEO, "originalCoordsEmpty");
            gpx.text("true");
            gpx.endTag(NS_CGEO, "originalCoordsEmpty");
        }
    }
counter for exported caches, used for progress reporting
main/src/main/java/cgeo/geocaching/export/GpxSerializer.java