eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

212
active users

#aixm

0 posts0 participants0 posts today
Frank Abelbeck<p>Work in progress: declaring <a href="https://troet.cafe/tags/AIXM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AIXM</span></a> objects in my <a href="https://troet.cafe/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> class structure. Most AIXM features (like aixm:AirportHeliport) of the datasets at <a href="https://aip.dfs.de/datasets" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">aip.dfs.de/datasets</span><span class="invisible"></span></a> are already defined.</p><p>Added a global linker set as class variable to the abstract object class, so that all links (like aixm:onRunway) can be collected and stored in one <a href="https://troet.cafe/tags/sqlite3" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sqlite3</span></a> helper table.</p><p><a href="https://troet.cafe/tags/aviationnerd" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>aviationnerd</span></a></p>
Frank Abelbeck<p>Success! Completed a <a href="https://troet.cafe/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://troet.cafe/tags/AIXM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AIXM</span></a> parser, based on xml.parsers.expat and a hierarchy of custom classes.</p><p>AIXM features and objects are declared as dictionairies, mapping tag names to AIXM value classes.</p><p>While expat traverses the document, features and objects are collected, and values are converted and attached.</p><p>In the end all features and objects generate their own SQL commands for creation and inserts.</p><p>It even got wait&amp;space capacity for features I currently don't need.</p><p>💪</p>