-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from opengisch/add_exportmetaconfig_operation
Add ili2db's exportMetaConfig operation
- Loading branch information
Showing
10 changed files
with
396 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
""" | ||
/*************************************************************************** | ||
------------------- | ||
begin : 20/11/24 | ||
git sha : :%H$ | ||
copyright : (C) 2024 by Germán Carrillo | ||
email : german@opengis.ch | ||
***************************************************************************/ | ||
/*************************************************************************** | ||
* * | ||
* This program is free software; you can redistribute it and/or modify * | ||
* it under the terms of the GNU General Public License as published by * | ||
* the Free Software Foundation; either version 2 of the License, or * | ||
* (at your option) any later version. * | ||
* * | ||
***************************************************************************/ | ||
""" | ||
from .ili2dbconfig import ExportMetaConfigConfiguration, Ili2DbCommandConfiguration | ||
from .iliexecutable import IliExecutable | ||
|
||
|
||
class MetaConfigExporter(IliExecutable): | ||
def __init__(self, parent=None): | ||
super().__init__(parent) | ||
self.version = 4 | ||
|
||
def _create_config(self) -> Ili2DbCommandConfiguration: | ||
return ExportMetaConfigConfiguration() | ||
|
||
def _get_ili2db_version(self): | ||
return self.version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.