README.md 564 Bytes
Newer Older
Eneko Martin's avatar
Eneko Martin committed
# Shapefile creation examples

You can find some examples of creating a shapefile here. `Fiona` library is necessary to run these examples. It is available in the `ESMValTool` environments.

* `make_shapefile_example1.py`
Eneko Martin's avatar
Eneko Martin committed
    Create a shapefile with a three point geometry defined in the same file.
Eneko Martin's avatar
Eneko Martin committed

* `make_shapefile_example2.py`
Eneko Martin's avatar
Eneko Martin committed
    Create a shapefile with a shapes defined in `labrador-interior.json` and `labrador-cross.json` files.
Eneko Martin's avatar
Eneko Martin committed

This website could help get the necessary coordinates: https://www.keene.edu/campus/maps/tool/

Remember to close the shape!
Eneko Martin's avatar
Eneko Martin committed