LandscapeGeoinformatics / pygeoapi

pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
https://pygeoapi.io
MIT License
0 stars 0 forks source link

pystac validation test - Missing License Information #2

Closed tik65536 closed 4 months ago

tik65536 commented 4 months ago

The validation fails with no License info :

image

tik65536 commented 4 months ago

Since pygeoapi will create its own json for catalog and collection, the original information from STAC json is missed. To handle this, the modification is done in hateoas.py. The jsondata will be copied (deepcopy) to the content variable If JSON is found, then the links section will be adjusted by the pygeoapi with a corrected URL link.

image