Skip to content

Mosaic statistics in a custom projection #100

Answered by vincentsarago
bmcandr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @bmcandr

In theory the mosaic backend feature() method accept both dst-crs and shape-crs options

dst_crs: Optional[CRS] = None,
shape_crs: CRS = WGS84_CRS,

but they are not surfaced at the API level

def geojson_statistics(
geojson: Union[FeatureCollection, Feature] = Body(
..., description="GeoJSON Feature or FeatureCollection."
),
searchid=Depends(self.path_dependency),
layer_params=Depends(self.layer_dependency),
dataset_params=Depends(self.dataset_dependency),
pixel_selection: Pi…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bmcandr
Comment options

@vincentsarago
Comment options

@bmcandr
Comment options

Answer selected by bmcandr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants