IN_KEY_TAG,
IN_BOUND_TAG,
IN_RELATION_TAG,
+ IN_MEMBER_TAG,
END,
ERROR
} tag_state_t;
else if (strcmp(tag,"tag")==0) return IN_KEY_TAG;
else if (strcmp(tag,"osm")==0) return IN_OSM_TAG;
else if (strcmp(tag,"bound")==0) return IN_BOUND_TAG;
+else if (strcmp(tag,"relation")==0) return IN_RELATION_TAG;
+else if (strcmp(tag,"member")==0) return IN_MEMBER_TAG;
else return ERROR;
}
}
break;
case IS_RELATION:
+
break;
}
break;
case IN_BOUND_TAG:
/* Ignore for now */
g_printf("Ignoring bound tag\n");
+ break;
+ case IN_RELATION_TAG:
+ tag_parent=IS_RELATION;
+
+ break;
+ case IN_MEMBER_TAG:
+
break;
default:
tag_parent=IS_NONE;