Parse KML MultiGeometry.
493 for (xa = xnode->children ; xa != NULL ; xa = xa->next)
496 if (xa->type != XML_ELEMENT_NODE)
continue;
499 if ( !strcmp((
char *) xa->name,
"Point")
500 || !strcmp((
char *) xa->name,
"LineString")
501 || !strcmp((
char *) xa->name,
"Polygon")
502 || !strcmp((
char *) xa->name,
"MultiGeometry"))
505 if (xa->children == NULL)
break;
static bool is_kml_namespace(xmlNodePtr xnode, bool is_strict)
Return false if current element namespace is not a KML one Return true otherwise. ...
static LWGEOM * parse_kml(xmlNodePtr xnode, bool *hasz)
Parse KML.
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.