Closed vincentsarago closed 1 year ago
@bitner any of this make sense? š
latest version of FastAPI/starlette changed something in url_for
https://github.com/encode/starlette/pull/2050 which breaks tipg (and other project where I use url_path_for š¬ ) š¤·
š¬ it's the output of url_for
which was a string before and now is of type URLpath
last commit refactored a bit how we add the OGC common
endpoints. It's now defined at the base class level.
@bitner this is ready š
closes #6
This PR split the endpoint factory in two:
OGCFeaturesFactory
andOGCTilesFactory
which should enable user to build either the tiles service or features service individually.The main issue is for creating the OGC features
landing
andconformances
endpoints. I've added two ways:within the
OGCFeaturesFactory
, by using thefull=True
option, this will add the/
(landing) and/conformance
endpoints but only referencing the features endpoint (no links to the Tiles endpoints).in main.py, to have both tiles and features endpoints conformances and links. It is likely that a user who will want to add both
/
(landing),/conformance
with tiles and features endpoints in it's own application will have to re-write both endpoints in its code š¤·āāļøIMO it's really annoying that both
/
and/conformance
are part of the features specification š¬