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

[ENH] Put the geometry field of the qwat_od.valve table BEFORE all other geometry fields. #380

Open
nicolas-sitylb opened this issue Jan 25, 2024 · 2 comments
Labels
Datamodel Datamodel related Question

Comments

@nicolas-sitylb
Copy link
Contributor

Hello,

What is the purpose of the handle_geometry field in the qwat_od.valve table:

ALTER TABLE qwat_od.valve ADD COLUMN handle_geometry geometry(PointZ,:SRID);
?

If the geometry field in the qwat_od.valve table is intended to store the real geometry of the features and if the importance of the handle_geometry field is less than the geometry field in this table, I would suggest to place the geometry field BEFORE all other geometry fields.

Why?

Because some software is unfortunately not able to deal with other than the very first geometry column encountered in a PostGIS table. Therefore, as that very first geometry column in the qwat_od.valve table is currently handle_geometry and because it occurs to be empty in most data sets which store the real geometry of features in the geometry column (and because such other software doesn't offer a solution to manually catch the real geometry), I would suggest to put the geometry field BEFORE all other geometry fields in the qwat_od.valve table.

Thanks.

Warm Regards.

@ponceta
Copy link
Member

ponceta commented May 29, 2024

@3nids @tudorbarascu @kandre @tproduit is anyone actively using this handle_geometry attribute?

@ponceta ponceta added Question Datamodel Datamodel related labels May 29, 2024
@ponceta
Copy link
Member

ponceta commented May 29, 2024

@nicolas-sitylb for your information this bother me since day one I got onto QWAT project :

This is my initial issue where you can find interesting workarounds but I think it should be tackled with the next release of QWAT.

#265

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

No branches or pull requests

2 participants