Skip to content

Instantly share code, notes, and snippets.

@johan974
Created September 2, 2023 19:51
Show Gist options
  • Save johan974/fe3df7643957975eabf1a30531332321 to your computer and use it in GitHub Desktop.
Save johan974/fe3df7643957975eabf1a30531332321 to your computer and use it in GitHub Desktop.
Sample file structure
<headers...>
<featurecollection>
<feature> # id with only new geometry, so new object
<id>1234</id>
<type>new</type>
<geometry>...gml...</geometry>
</feature>
<feature> # id with current and new geometries, so object change
<id>1235</id>
<type>current</type>
<geometry>...gml...</geometry>
</feature>
<feature>
<id>1235</id>
<type>new</type>
<geometry>...gml...</geometry>
</feature>
<feature> # id with only current, so removal
<id>1236</id>
<type>current</type>
<geometry>...gml...</geometry>
</feature>
</featurecollection>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment