File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,39 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin
1414
1515### fixed
1616
17- - hide map element in HTML pages when collections/items do not have spatial component
17+ - hide map element in HTML pages when collections/items do not have spatial component (https://github.com/developmentseed/tipg/issues/132 )
18+
19+ - exclude/include tables and functions (https://github.com/developmentseed/tipg/issues/130 )
1820
1921### changed
2022
2123- split endpoints registration for more customization
2224
25+ ``` python
26+ # before
27+ class OGCFeaturesFactory (EndpointsFactory ):
28+
29+ def register_routes (self ):
30+ @self.router.get (" /collections" , ... )
31+ @self.router.get (" /collections/{collectionId} " , ... )
32+ ...
33+
34+ # now
35+ class OGCFeaturesFactory (EndpointsFactory ):
36+
37+ def register_routes (self ):
38+ self ._collections_route()
39+ self ._collection_route()
40+ self ._queryables_route()
41+ self ._items_route()
42+ self ._item_route()
43+
44+ def _collections_route (self ):
45+ @self.router.get (" /collections" , ... )
46+
47+ ...
48+ ```
49+
2350# # [0.4.4] - 2023-10-03
2451
2552# ## fixed
You can’t perform that action at this time.
0 commit comments