-
Notifications
You must be signed in to change notification settings - Fork 0
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
base: master
Are you sure you want to change the base?
Fragment model #253
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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..
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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,
Added Fragments to the model, including some implementation to the exporters to deal with polygons.
#254