You are here: Popular Formats > Google KML Reader/Writer > Update Mode > Update Item Order

Update Item Order

Geo browsers, such as Google Earth, process each child element of the <Update> element in sequential order. As a result it is important to ensure that dependencies between individual update items are respected. For example, it is important to ensure that the “Create” for a parent Folder is executed prior to the “Create” for a Placemark. The writer sorts the contents of <Update> element in the following order:

  1. Update items are grouped according to their update mode in the following order: Delete, Create, Change
  2. Operations on parent nodes are executed prior to those on child nodes
  3. Operations on containers are executed prior to those on non-containers.
  4. By order of kml_id, where none of the above apply.