A comprehensive geospatial dataset containing detailed geological information for the African continent. Perfect for researchers, students, and GIS professionals.
- Overview
- Quick Start
- Dataset Contents
- Download
- Usage Examples
- Applications
- Data Attribution
- Contributing
- Support
This repository provides high-quality geological data for Africa, including detailed geological formations, rock types, and age classifications. The dataset is maintained in shapefile format for maximum compatibility with GIS software and geospatial analysis tools.
Data Source: United States Geological Survey (USGS)
Coverage: African Continent
Format: Shapefile (.shp, .shx, .dbf, .prj)
Coordinate System: Included in .prj file
- GIS Software (QGIS, ArcGIS, etc.) OR
- Python with GeoPandas OR
- R with sf package
Option 1: Direct Download
Click the button below to download the complete dataset:
Option 2: Git Clone
git clone https://github.com/yourusername/africa-geology-shapefile.git
cd africa-geology-shapefileThe shapefile package includes comprehensive geological data:
| Feature | Description |
|---|---|
| πΊοΈ Geological Formations | Various rock units and formations across Africa |
| π Long Form Names | Detailed, descriptive names for geological features |
| π Spatial Data | Precise geographic boundaries and locations |
| π·οΈ Attribute Information | Rich metadata for each geological feature |
| π’ Age Classifications | Geological time period information |
| πͺ¨ Rock Types | Comprehensive lithological classifications |
africa-geology/
βββ africa_geology.shp # Main geometry file
βββ africa_geology.shx # Shape index file
βββ africa_geology.dbf # Attribute data
βββ africa_geology.prj # Coordinate system
βββ africa_geology.cpg # Character encoding
βββ README.md # This file
| Method | Link | Size |
|---|---|---|
| ZIP Archive | ~XX MB | |
| Git Clone | git clone [repository-url] |
~XX MB |
| Individual Files | Browse repository files | Varies |
- Open QGIS
- Go to Layer β Add Layer β Add Vector Layer
- Browse to the
.shpfile - Click Add
import geopandas as gpd
import matplotlib.pyplot as plt
# Load the shapefile
geology = gpd.read_file('africa_geology.shp')
# Display basic information
print(f"Total features: {len(geology)}")
print(f"Coordinate System: {geology.crs}")
print("\nFirst 5 rows:")
print(geology.head())
# Create a simple plot
fig, ax = plt.subplots(figsize=(15, 15))
geology.plot(ax=ax, column='ROCK_TYPE', legend=True, cmap='tab20')
plt.title('Africa Geological Formations', fontsize=16)
plt.xlabel('Longitude')
plt.ylabel('Latitude')
plt.tight_layout()
plt.show()
# Export to different format
geology.to_file('africa_geology.geojson', driver='GeoJSON')library(sf)
library(ggplot2)
# Read shapefile
africa_geology <- st_read("africa_geology.shp")
# View structure and summary
str(africa_geology)
summary(africa_geology)
# Create visualization
ggplot(africa_geology) +
geom_sf(aes(fill = ROCK_TYPE), color = NA) +
theme_minimal() +
labs(title = "Africa Geological Formations",
fill = "Rock Type") +
theme(legend.position = "bottom")
# Check coordinate reference system
st_crs(africa_geology)
# Calculate area of geological units
africa_geology$area_km2 <- st_area(africa_geology) / 1e6- Open ArcGIS Pro
- In the Catalog pane, browse to the shapefile location
- Drag and drop the
.shpfile onto your map - Right-click the layer β Properties β Symbology to customize
This geological dataset enables a wide range of applications:
| Domain | Use Cases |
|---|---|
| π¬ Research | Continental geology studies, tectonic analysis, geological evolution |
| βοΈ Resource Exploration | Mineral prospecting, hydrocarbon assessment, geothermal mapping |
| π± Environmental | Soil-geology relationships, groundwater studies, ecosystem analysis |
| π Education | Teaching geology, GIS training, academic research |
| ποΈ Planning | Infrastructure development, land use planning, construction suitability |
| Seismic risk, landslide susceptibility, geological hazard mapping | |
| π§ Hydrology | Aquifer identification, water resource management |
| πΎ Agriculture | Soil parent material analysis, agricultural suitability |
When using this dataset in publications, presentations, or projects, please provide proper attribution:
Recommended Citation:
U.S. Geological Survey (2025). Africa Geology Data Shapefile.
Retrieved from https://github.com/yourusername/africa-geology-shapefile
BibTeX Format:
@dataset{usgs_africa_geology_2025,
author = {{U.S. Geological Survey}},
title = {Africa Geology Data Shapefile},
year = {2025},
publisher = {GitHub},
url = {https://github.com/yourusername/africa-geology-shapefile}
}This dataset is sourced from the United States Geological Survey (USGS), which provides data in the public domain.
- β Free to use for any purpose
- β No permission required
- β Commercial use allowed
β οΈ Attribution appreciated (see above)
For detailed information, visit: USGS Copyright and Credits
Contributions are welcome! Here's how you can help:
- Report Issues - Found an error? Open an issue
- Suggest Improvements - Have ideas? Share them!
- Submit Updates - Fork, modify, and create a pull request
- Share Use Cases - Show us how you're using the data
- Ensure data accuracy and provide sources
- Follow the existing file structure
- Update documentation as needed
- Test changes before submitting
- π§ Contact: [Hemedlungo@gmail.com]
- π USGS Official Website
- πΊοΈ USGS Geology Programs
- π USGS Africa Resources
- π QGIS Documentation
- π GeoPandas Documentation
This dataset is provided as-is without warranty of any kind. While sourced from the reputable USGS, users should:
- Verify data suitability for specific applications
- Conduct independent validation for critical projects
- Check for updates and newer versions periodically
The repository maintainer is not responsible for decisions made based on this data.
geology africa shapefile gis geospatial usgs geological-data qgis arcgis geopandas open-data earth-science cartography spatial-analysis