A demo based on Geopandas that read IENC data in order to get a set of certain objects(e.g., bridges) information.
In root path, run pip install -e .
The Inland Electronic Navigation Charts(IENC) in Flanders can be found in here.
File structure in data/
folder:
ienc_handler
├── data
│ ├── <map-name-1>
│ │ ├── <map-name-1>.000
│ │ ├── ...
│ ├── <map-name-2>
│ ...
See the examples in script.
bridge_example.py
: get the specified objects in a given searching range w.r.t a given reference position.geometry_geojson.py
: runpython geometry_geojson.py -i <enc-map-name>.000 -l <layer1, e.g., bridge>,<layer2, e.g., COALNE> -o <layer1>.geojson,<layer2>.geojson
Here is an example outcome that gathers bridges located within a 40 km radius of Leuven:
- The '.html' files illustrate the searched bridge objects with their data.
- The '.pickle' file contains the corresponding Geopandas objects