ELIAS ovl file type
Er wordt momenteel een tool ontwikkeld door onze nieuwe collega om direct .ovl (overlays) uit ELIAS te importeren in ArcGIS. Aangezien alle commandovoering plaatsvind in ELIAS maakt dit een nuttige bron om deze gegevens daaruit de extraheren.
De .ovl files hebben een vrij simpel te doorgronden xml structuur:
<?xml version="1.0"?>
<ImportExportOverlay xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="1.0" SHA256="AE827A4BDB6A917847871FAB844F1F47A711855F7E65B873F94D7D9A35D34E74" xmlns="http://tempuri.org/ImportExportOverlay.xsd">
<Overlay name="VEGETATION" viewport="1741051.08240945;7037124.75027417;17137.6295985682;3539.7802734375;3857">
<OverlayObjects>
<OverlayObject>
<PropertyValuePair property="ObjectType" value="Feature" />
<PropertyValuePair property="CreatedBy" value="xxx" />
<PropertyValuePair property="LastModifiedBy" value="xxx" />
<PropertyValuePair property="ObjectId" value="{3DB7EA84-F66F-0C63-0000-000000000000}" />
<PropertyValuePair property="AreaFeatureCategory" value="FOREST" />
<PropertyValuePair property="AreaShape" value="POLYGON" />
<PropertyValuePair property="BasicShape" value="AREA" />
<PropertyValuePair property="Location" value="|0|POLYGON ((15.6721956 53.3048473 0, 15.6657368 53.3110969 0, 15.6676787 53.3086722 0, 15.6676787 53.307374 0, 15.6693953 53.306281 0, 15.6678504 53.3055983 0, 15.6659648 53.3053248 0, 15.6645352 53.3063842 0, 15.6609356 53.306623 0, 15.6631646 53.3083302 0, 15.6615633 53.3086038 0, 15.6588784 53.3096619 0, 15.65905 53.3059055 0, 15.6565905 53.3048473 0, 15.6548202 53.3048473 0, 15.6523633 53.3045389 0, 15.6509337 53.3049828 0, 15.6440753 53.3037543 0, 15.6600773 53.3005437 0, 15.6584197 53.29887 0, 15.6587631 53.2946683 0, 15.6613916 53.2940193 0, 15.6608793 53.2931301 0, 15.65905 53.2934386 0, 15.6537902 53.294258 0, 15.6489891 53.2934721 0, 15.6482461 53.2899195 0, 15.6461325 53.2931301 0, 15.6425893 53.2938476 0, 15.642246 53.287767 0, 15.6400734 53.2872547 0, 15.6383595 53.2869811 0, 15.6343576 53.2830852 0, 15.6635079 53.279703 0, 15.6626201 53.284708 0, 15.6692505 53.2862113 0, 15.6693095 53.2886374 0, 15.6798828 53.2866566 0, 15.6845686 53.2874076 0, 15.6845686 53.2895266 0, 15.6860545 53.2907215 0, 15.6903407 53.2933527 0, 15.6925133 53.2923616 0, 15.6938839 53.291679 0, 15.6960002 53.2915074 0, 15.6972581 53.2925668 0, 15.6958285 53.2932495 0, 15.7008013 53.2943089 0, 15.6944579 53.2945141 0, 15.6934279 53.2939669 0, 15.6890264 53.2945825 0, 15.6855395 53.2945476 0, 15.681425 53.2952651 0, 15.6800544 53.2944122 0, 15.6775385 53.2954368 0, 15.67734 53.2988016 0, 15.6771684 53.3002701 0, 15.6774527 53.3022174 0, 15.6752238 53.3029336 0, 15.6717959 53.3039246 0))" />
<PropertyValuePair property="Name" value="FORREST SLOW GO" />
</OverlayObject>
</OverlayObjects>
</Overlay>
</ImportExportOverlay>
Plan van aanpak
Bestand wordt gelezen en geparsed in python. Dit gaat zoveel mogelijk met built-in xml parser om er voor te zorgen dat de tool compatible is met een standaard arcgis installatie.
Vervolgens wordt dit vage format (mening!) omgeschreven naar open .geoJSON format en opgeslagen. Idealiter zou dit meteen worden opgeslagen in de geodatabase. Anders kan de .geoJSON worden omgezet naar een featureclass door middel van de arcpy module.
Notebook in attachements waarin naam en geometrische aspecten worden opgeslagen in dataframe
Deadline
30 APR 21 Eerste oplevering van de tool