This project analyzes fishing vessel data in relation to Marine Protected Areas (MPAs). It processes geospatial data and vessel tracking information to identify fishing vessel movements within specified geographical boundaries.
- Reads and processes shapefile data for Marine Protected Areas
- Analyzes CSV files containing fishing vessel tracking data
- Calculates vessel speeds and positions
- Identifies vessels operating within defined geographical boundaries
- Computes average, minimum, and maximum speeds across multiple vessel datasets
- Python 3.0.1 and later versions
- Libraries:
- geopandas
- pandas
- matplotlib
- earthpy
- numpy
- Clone this repository
- Install required libraries:
pip install geopandas pandas matplotlib earthpy numpy
The project expects the following data structure:
- Shapefile for MPA boundaries:
/path/to/JOBcir.-line.shp
- CSV files for vessel data:
/path/to/20160801_FishingVessels/*.csv
Ensure your data follows this structure or update the file paths in the script accordingly.
- Update the file paths in the script to match your data locations:
- MPA shapefile:
file = gpd.read_file('/path/to/JOBcir.-line.shp')
- Vessel data:
df = pd.read_csv('/path/to/20160801_FishingVessels/204235000.csv')
- MPA shapefile:
- Run the script to process the data and generate results.
Speed(path)
: Calculates average, minimum, and maximum speeds across all vessel CSV files in the specified directory.
The script provides:
- A list of fishing vessels (MMSI, vessel name, and timestamp) operating within the specified geographical boundaries and speed range.
- Average, minimum, and maximum speeds across all processed vessel data.
Contributions to improve the analysis or extend the project are welcome. Please fork the repository and submit a pull request with your proposed changes.
Marine-Protected-Areas by Curtis Akapini Apegwine is licensed under CC BY 4.0