3.1.1.1.1.3. thyrsis.database.convert_mesh_tables module¶
Convert mesh tables in case of shema changes
- USAGE
python -m thyrsis.database.convert_mesh_tables [-h, -u, -o, –reproj, –out_srid]
- OPTIONS
- -h, --help
print this help
- -u, --update
update mesh tables with lastest shema
-r, –reproj [database path]
-o, –out_srid [EPSG code], default : 4326
copy mesh.sqlite in a new database named mesh_saved.sqlite. if mesh_saved.sqlite already exists, it will be replaced. Then modify mesh.sqlite.
-
thyrsis.database.convert_mesh_tables.
add_vge_parameters
()¶ Update old mesh tables to new shema
- Returns
None
-
thyrsis.database.convert_mesh_tables.
reproj_mesh_db
(meshdb, out_srid)¶ Transform projection of the input mesh database
- Parameters
meshdb (string) – input db path
out_srid – epsg code
-
thyrsis.database.convert_mesh_tables.
update_mesh_tables
()¶ Update old mesh tables to new shema
- Returns
None