Skip to content

Instantly share code, notes, and snippets.

@EricDuminil
EricDuminil / trie.py
Last active June 30, 2025 20:38 — forked from atiking/regexp-trie.py
Found original code, author and license
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Original Perl module: Regexp::Trie
# Original Copyright (C) 2006 by Dan Kogai
#
# This Python translation is a derivative work based on Regexp::Trie
# Copyright (c) 2010 by rex
# Copyright (c) 2017 by fcicq, atiking and EricDuminil
#!/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='+')
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.