pystac.serialization.common_properties.merge_common_properties(item_dict: Dict[str, Any], collection_cache: Optional[pystac.cache.CollectionCache] = None, json_href: Optional[str] = None) bool[source]#

Merges Collection properties into an Item.

Note: This is only applicable to reading old STAC versions (pre 1.0.0-beta.1).

  • item_dict – JSON dict of the Item which properties should be merged into.

  • collection_cache – Optional CollectionCache that will be used to read and write cached collections.

  • json_href – The HREF of the file that this JSON comes from. Used to resolve relative paths.


True if Collection properties have been merged, otherwise False.

Return type