ElektraInitiative / PermaplanT

https://www.permaplant.net
BSD 3-Clause "New" or "Revised" License
16 stars 13 forks source link

Design API for Hydrology Layer #1275

Open hatchla opened 7 months ago

hatchla commented 7 months ago

Tasks

Backend APIs

Create a new hydrology layer:

Already exists

POST /api/maps/32/layers { ... type: hydrology}

Edit something

PUT /api/maps/32/hydrology/ save a polygon? DTO to be decussed...

markus2330 commented 7 months ago

What is "Negotiate API"? Do you mean designing the endpoints?

hatchla commented 7 months ago

What is "Negotiate API"? Do you mean designing the endpoints?

Yes, Jannis and I need to do that together.

markus2330 commented 7 months ago

Ok! As said, improvements are very welcome but the endpoints should be the same for all the layers (for overlapping functionality).

horenso commented 7 months ago

@danielsteinkogler You are working on a mechanism for creating layers, is this for layers of any type?

markus2330 commented 7 months ago

No, for now only layers of type "additional layers" (see usecase doc/usecases/current/additional_layer.md) can be created. The one instance of them we currently have is the "drawing layer".