Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env python
# coding: utf-8
# python citygml_give_unique_building_ids.py filename1.gml filename2.gml ...
import re
import argparse
parser = argparse.ArgumentParser(description='Process CityGML files and give unique building IDs if needed.')
parser.add_argument("citygml_filename", nargs='+')
@EricDuminil
EricDuminil / trie.py
Last active December 31, 2023 06:04 — forked from atiking/regexp-trie.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
#author: rex
#blog: http://iregex.org
#filename trie.py
#created: 2010-08-01 20:24
#source uri: http://iregex.org/blog/trie-in-python.html
# escape bug fix by fcicq @ 2012.8.19