Closed vincentsarago closed 11 months ago
In the tiler factory we create a set of endpoint with /crop prefix to handle both bbox (GET) and feature (POST) image queries.
/crop
bbox
feature
https://github.com/developmentseed/titiler/blob/108283f7d4366394e5d32831055d2d9982de4e41/src/titiler/core/titiler/core/factory.py#L930-L938
https://github.com/developmentseed/titiler/blob/108283f7d4366394e5d32831055d2d9982de4e41/src/titiler/core/titiler/core/factory.py#L993-L1005
I'm not a big fan of the /crop name and I think it could make sense to change the endpoint prefix to something with more meanings
fan
I've always thought crop is confusing so this seems like a good change to me 👍
In the tiler factory we create a set of endpoint with
/crop
prefix to handle bothbbox
(GET) andfeature
(POST) image queries.https://github.com/developmentseed/titiler/blob/108283f7d4366394e5d32831055d2d9982de4e41/src/titiler/core/titiler/core/factory.py#L930-L938
https://github.com/developmentseed/titiler/blob/108283f7d4366394e5d32831055d2d9982de4e41/src/titiler/core/titiler/core/factory.py#L993-L1005
I'm not a big
fan
of the/crop
name and I think it could make sense to change the endpoint prefix to something with more meanings