Skip to content

Make the geometry serialization optional#112

Merged
Saelyos merged 4 commits intodevelopfrom
geometry
Aug 7, 2023
Merged

Make the geometry serialization optional#112
Saelyos merged 4 commits intodevelopfrom
geometry

Conversation

@Saelyos
Copy link
Collaborator

@Saelyos Saelyos commented Aug 7, 2023

No description provided.

@Saelyos Saelyos added the enhancement New feature or request label Aug 7, 2023
@Saelyos Saelyos requested review from alihamdan and benoit9126 August 7, 2023 10:23
@Saelyos Saelyos self-assigned this Aug 7, 2023
@Saelyos Saelyos linked an issue Aug 7, 2023 that may be closed by this pull request
Copy link
Member

@alihamdan alihamdan left a comment

Choose a reason for hiding this comment

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

Thanks. I think it is better to use something like include_geometry: bool = True instead to avoid confusion with the geometry used for the point or line objects.

@Saelyos
Copy link
Collaborator Author

Saelyos commented Aug 7, 2023

It was inspired by pandas df.to_json(index=True), but I can change it.

@benoit9126
Copy link
Member

I agree with @alihamdan. I would prefer include_geometry

Copy link
Member

@benoit9126 benoit9126 left a comment

Choose a reason for hiding this comment

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

@Saelyos Could you add a line a the changelog?

Copy link
Member

@alihamdan alihamdan left a comment

Choose a reason for hiding this comment

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

Looks good. Just a minor comment.

@Saelyos Saelyos merged commit 9fc2b50 into develop Aug 7, 2023
@Saelyos Saelyos deleted the geometry branch August 7, 2023 13:40
@benoit9126 benoit9126 mentioned this pull request Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ENH: Do not serialize the geometry field (optionally)

3 participants