Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fragment model #253

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fragment model #253

wants to merge 4 commits into from

Conversation

benvanbasten-ns
Copy link
Contributor

@benvanbasten-ns benvanbasten-ns commented Dec 13, 2024

Added Fragments to the model, including some implementation to the exporters to deal with polygons.

#254

@benvanbasten-ns benvanbasten-ns changed the title Fragment export Fragment model Dec 17, 2024
@benvanbasten-ns benvanbasten-ns requested review from jpprins1 and removed request for caspervdw December 17, 2024 15:45
Copy link
Contributor

@jpprins1 jpprins1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat is een fragment? 😆

Ziet er goed uit!

@@ -150,6 +150,30 @@ Subscription usage::
async for item in subscription.enumerate():
# do something with item

Local development
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -115,6 +116,12 @@ def lines(self):
self.datasource_class(self.h5py_file, "lines"), **self._grid_kwargs
)

@property
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wat gebeurd hier als je een oude gridadmin pakt zonder 'fragments' ? Moet er nog een check in dat het bestaat of vangen we dat al ergens af..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Goeie, hier zal ik een testje voor toevoegen.

@@ -508,6 +508,20 @@ def export_pumps(self):
dest, indent=self._indent
)

def export_fragments(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moeten fragments (uiteindelijk) ook als geojson in de API terecht komen? Nb. kan prima als een follow-up,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants