Author: Vitaliy Ogarko, vogarko@gmail.com
To build map2model:
- If you want to install standalone map2model with Cmake, comment out the pybind11 include in map2model.cpp and parameters_reader.cpp and parameters_reader.h, and code after the main function in map2model.cpp.
mkdir build
cd build
cmake ..
make
To run:
./map2model ../Parfile
Visualization of output
To visalize output images (.svg file) use e.g. a util 'display' (Linux), or Firefox.
To visalize output graphs (.gml files) use e.g. yEd Graph Editor (cross-platform).
In eEd program, to see a graph, choose e.g. Layout --> Organic.
Input data format convertion
To convert shape files data to WKT data in UTM coordinates, use ogr2ogr util. Run script shp2csv.sh
To convert a single point in lat/long coordinates to UTM use gdaltransform util as:
gdaltransform -s_srs EPSG:4326 -t_srs EPSG:32750
and then type the point coordinates separated by a space, and press Enter.
Outputs description
An output image 'polygons_read.svg' shows all input polygons that were read, with marked clipping window.
An output image 'polygons_clipped.svg' shows the result of clipping of the input polygons with the clipping window.
An output graph 'graph_all.gml' shows topology for units, i.e., nodes correspond to units, and edges to unit contacts.
An output graph 'graph_no_sills.gml' shows same info as 'graph_all.gml', but contacts with units of type 'sills' are excluded.
Metadata
Release files for map2model 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| map2model-1.2.1.tar.gz | 83.0 kB | Details |
Built distributions (wheels)
Total release size: 3.1 MB
Release files / map2model-1.2.1.tar.gz
| Download URL | map2model-1.2.1.tar.gz |
|---|---|
| Size | 83.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b910a1ecfc38ce073e5182c383d860bcfb593bbcfd0c49427f50059456763ff
|
|
BLAKE2b-256 checksum How to use checksums |
587d0d1d846ca79b9939bb59ccefa31df38a21f3b48b2aabb0fd565062fe83da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp312-cp312-win_amd64.whl
| Download URL | map2model-1.2.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
dd1a4ee4ed9cddf89a91b41152794c38022f1afca2ab09fa46b23e084af75184
|
|
BLAKE2b-256 checksum How to use checksums |
5f7d516afefdacd30dd13980ef3a75f33bd198184677931502aeb282d951ebcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | map2model-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 215.4 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
d741e1934506a4b348cc33fd291d80bbaa1bdca2f24b334c47e7791898d19380
|
|
BLAKE2b-256 checksum How to use checksums |
c5ab2b6696995897a9bbf2d179230b0115a286dd8c1f6b2f86f0b1727f196ee5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | map2model-1.2.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 169.3 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
90e5723ebde8e26cb64b92ef9f5473a0682f4ce2de2fbbe023987288dc4d23f3
|
|
BLAKE2b-256 checksum How to use checksums |
9c1603e1535a5f73f645d1cb7cf08946efad5e498479e579f06da5f3fb4af3e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | map2model-1.2.1-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 189.4 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
7b7428af9136cd4a1d65d3dd9a94e6e51c55b64f7353fe9a2961639b8a3e14ba
|
|
BLAKE2b-256 checksum How to use checksums |
37e3c13cfb49f1d901673fddad95cd07f699a0086d3c7a242ab85b9741cbe65c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp311-cp311-win_amd64.whl
| Download URL | map2model-1.2.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 178.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5690be991c277c0da6b518763f6c274851cf3d386f964d176a344c841cfece10
|
|
BLAKE2b-256 checksum How to use checksums |
c0f5784821e8ef22c29e9e4af697a677ce5fd8cdefa93dfcf604191c7dee96b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | map2model-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 215.6 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
40a40e65cea2311bec1e8a14331ae33049c8040ae509f58136fdf3a9d1e37777
|
|
BLAKE2b-256 checksum How to use checksums |
5198c1c3fbb12ec4b6528d574ffec494e06cd8363d78d184df008046fca07716
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | map2model-1.2.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 170.8 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2ed304115368c14afa6ce8795b85b4ec7a0ddcca06177f2a11031ffff3afd0e5
|
|
BLAKE2b-256 checksum How to use checksums |
9c078ebaf589cbd34ae403ba9e7cc0f4f8274e467f4158090113c9a8681aafce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | map2model-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 190.8 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1dcc9e4ae826eba1c707a800a87f4a474fe6a1143343435fc051d9894579dff
|
|
BLAKE2b-256 checksum How to use checksums |
6fa1a8bbe2153b4030ecf6574fd0bee2f59c77a26a43ddd121f14cd06658b55b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp310-cp310-win_amd64.whl
| Download URL | map2model-1.2.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 177.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
669432e12d16ad656f97d7705295e7918f1025c0de084a69de9def0194c93d2e
|
|
BLAKE2b-256 checksum How to use checksums |
0fc2031e4540c51f14a20a919c456530f2d6b59f9848e484ee309fc7e43cf9cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | map2model-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 214.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
cfc7d4eed17ddb4b8acaee086b3be5cde279061cf3d202b1ae490efe1cbcf41c
|
|
BLAKE2b-256 checksum How to use checksums |
c16773087624a4c4d0d8ca45d2431e4715e502344cfbc61b31bbaf3735e30b4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | map2model-1.2.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 169.2 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
effa8e40b40cbc64b0c5f0e35fbc0c3223eb8648e49362fc8e1ec325ff80970e
|
|
BLAKE2b-256 checksum How to use checksums |
b0ee68d11b03f7988745d0ee7c776ba16f2a9fdf527df305ae63502eee4229d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | map2model-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 189.4 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
bb3e07d11081819df3bd35f1e97a8ea3a06f837e355ad69a2af2e0c228dc3505
|
|
BLAKE2b-256 checksum How to use checksums |
f1bc3afee178c67009fba8f6df2a64e7809fe81c9767a32832bdb6c65b1fc5bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp39-cp39-win_amd64.whl
| Download URL | map2model-1.2.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 177.4 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c8f5e76b45ad83906524fe64f5a84ce5d46077733dc0ec83c73639863a19aa5c
|
|
BLAKE2b-256 checksum How to use checksums |
73a932b490e4a99aa4e8e51de8f31c5533d965f279f91ee914906169bfcdeb68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | map2model-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 214.1 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e9e6e19ce90536f33b52754abab7f3f82da8ebc046d2c0e3524c4431dc6a14c0
|
|
BLAKE2b-256 checksum How to use checksums |
89979f22a3c625ebc7e92577fb45a1a86470ef46c72ef5a46b28918c43de7f3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | map2model-1.2.1-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 169.3 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ee0e86bf1e5f9fa96612cea4ed250f013ed10c1819367d2e03aa9a7acf230bae
|
|
BLAKE2b-256 checksum How to use checksums |
fc144dedbfffcf608fb83f90d65af5b7c3ea20f5f2361ec2df07ae45c9a467e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / map2model-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | map2model-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 189.5 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
847c01ea9557a17a498c603e0b62407b4a59ccbe60ea6be6603e96bb3e73706f
|
|
BLAKE2b-256 checksum How to use checksums |
15ff97a0eea1ea89e16dc8cec980c8476468dee0d6332fb73d8fdc0e02e0e4be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|