Skip to content

Name the hex text of a point cloud value by its portable format - #66

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:io/hex-roles-portable
Nov 12, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:io/hex-roles-portable

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

The object layer gives no method the role names HexIn and HexOut: tools/objectgen.py reads the roles hexIn and hexOut, which the object model gives pcpoint_hex_in, pcpoint_hex_out, pcpatch_hex_in and pcpatch_hex_out, as it reads in and out, the roles #take_portable_names of GoMEOS's tools/objectgen.py reads. The catalog's typeEncodings names those four functions the text reader and writer of PCPoint and PCPatch, so PCPoint.FromText and PCPatch.FromText read the hex text and their AsText writes it through pcpoint_hex_out and pcpatch_hex_out, and ToString writes through AsText.

Why. Rule 1 of the bindings in the input and output plan (MobilityDB #3353) names no reader or writer by its role, whoever owns the type; the rule of the object layer read the roles in and out alone, so the point cloud types kept HexIn and HexOut beside the portable names they duplicate.

The tree is regenerated from the catalog of MobilityDB master 0bc5f54084, so it also carries the eight functions master adds, the ever and always overlaps of a temporal point cloud and a point cloud box in both orders, with their methods on TPCBox, TPCPatch and TPCPoint.

Witness. On the catalog of MobilityDB master 0bc5f54084 and MEOS-API master cf4d124e6f, the generator before this change and this one differ in PCPoint.g.cs and PCPatch.g.cs alone, by those four methods, 5166 methods becoming 5162 over 155 classes, and two runs of this one write the same tree. Against the libmeos of that master with every family, dotnet build reports 0 warnings and 0 errors and dotnet test passes 106 of 106, none skipped; no test or example called HexIn or HexOut, and none reads a point cloud value, whose schema MEOS.NET has no fixture to register.

MEOS.NET has no active committer: this needs another committer of the ecosystem to review and merge it.

The object layer gives no method the role names HexIn and HexOut: tools/objectgen.py reads the roles hexIn and hexOut, which the object model gives pcpoint_hex_in, pcpoint_hex_out, pcpatch_hex_in and pcpatch_hex_out, as it reads in and out, the roles #take_portable_names of GoMEOS's tools/objectgen.py reads. The catalog's typeEncodings names those four functions the text reader and writer of PCPoint and PCPatch, so PCPoint.FromText and PCPatch.FromText read the hex text and their AsText writes it through pcpoint_hex_out and pcpatch_hex_out, and ToString writes through AsText.

Why. Rule 1 of the bindings in the input and output plan (MobilityDB #3353) names no reader or writer by its role, whoever owns the type; the rule of the object layer read the roles in and out alone, so the point cloud types kept HexIn and HexOut beside the portable names they duplicate.

The tree is regenerated from the catalog of MobilityDB master 0bc5f54084, so it also carries the eight functions master adds, the ever and always overlaps of a temporal point cloud and a point cloud box in both orders, with their methods on TPCBox, TPCPatch and TPCPoint.

Witness. On the catalog of MobilityDB master 0bc5f54084 and MEOS-API master cf4d124e6f, the generator before this change and this one differ in PCPoint.g.cs and PCPatch.g.cs alone, by those four methods, 5166 methods becoming 5162 over 155 classes, and two runs of this one write the same tree. Against the libmeos of that master with every family, dotnet build reports 0 warnings and 0 errors and dotnet test passes 106 of 106, none skipped; no test or example called HexIn or HexOut, and none reads a point cloud value, whose schema MEOS.NET has no fixture to register.

MEOS.NET has no active committer: this needs another committer of the ecosystem to review and merge it.
@estebanzimanyi
estebanzimanyi merged commit 205c6ea into MobilityDB:main Nov 12, 2026
1 check passed
@estebanzimanyi
estebanzimanyi deleted the io/hex-roles-portable branch November 12, 2026 21:29
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.

1 participant