SIS software stack structure:
sis/
├── .env # Environment variables
├── .gitignore # gitignore
├── deploy.sh # Instructions
├── docker-compose.yml # Main composition file
├── LICENSE # License manifest
├── README.md # Project documentation
│
├── sis-data-cube/ # Raster Data Cube (GDAL)
│ └── PH/ # Philippines case
│ ├── data_cube_1_rename.sh # Rename files acording naming convention <country>-<project>-<property>-<year>-<top>-<bottom>
│ ├── data_cube_2_check.sh # Print out raster stats and NoData
│ ├── data_cube_3_nodata.sh # Fix NoData
│ ├── data_cube_4_epsg.sh # Set the same EPSG for all rasters
│ └── data_cube_5_cog.sh # Set the same BBox for all rasters and converts them into Cloud Optmized GeoTIFFs
│
├── sis-database/ # Database
│ ├── Changes/ # All changes made since fork
│ └── pgdata/ # Persistent data (added to .gitignore)
│
├── sis-metadata/ # pyCSW metadata catalog
│ ├── records/ # Metadata records in XML
| └── pycsw.yml # Configuration file
│
├── sis-wweb-mapping/ # Web mapping
| ├── dist # Node distro
| ├── node_modules # Mode modules
| ├── .parcel-cache # Cache
| ├── deploy.sh # Instructions
| ├── Dockerfile # Web mapping container definition
| ├── index.html # HTML index file
| ├── logo.png # Logo image
| ├── main.js # OpenLayers js code
| ├── package.json # Dependencies
| └── .gitignore # gitignore
│
└── sis-web-services/ # MapServer
└── data/ # GeoTIFFs and mapfiles
docker-compose.yml ties everything together:
Create a .env file in your project root:
-
Database - PostgreSQL:
- PostgreSQL Database. Originally based on the ISRIC implementation of the domain model ISO 28258.
-
Metadata catalogue - pyCSW:
- Customize configuration in
md/config/as needed - GeoNetwork will automatically connect to your PostGIS database
- Customize configuration in
-
Web-services - MapServer:
- Place your mapfiles in
ws/data/mapfiles/ - Add spatial data to
ws/data/data/
- Place your mapfiles in
-
Web-mapping - Openlayers:
- Build your OpenLayers application in
wm/src/ - Configure it to connect to your API and MapServer services
- Build your OpenLayers application in
Follow the steps detail in file deploy.sh (linux) or deploy.ps1 (windows)