Opened 9 years ago

#9344 new Tasks

Document and test non-OGC behaviour of WKT and WKB support

Reported by: Mateusz Loskot Owned by: Mateusz Loskot
Milestone: To Be Determined Component: geometry
Version: Boost Development Trunk Severity: Not Applicable
Keywords: documentation, wkt Cc:

Description

This task is related to Changes in WKB (read) behaviour proposal (WKT Part) discussion on the list.

Boost.Geometry uses data in WKT format input for unit tests. In many cases, non-standard forms of WKT (according to OGC specification) are used what in fact constitutes some form of Boost.Geometry Extended WKT.

The documentation should be clear about OGC standard behaviour and non-standard extensions of WKT and WKB layer as well.

Also, it looks not all forms of geometry input is currently covered with tests. From the thread linked above:

The BNF include in the OGC SFS spec is clear the "third value" for M is required:

<point z> ::= <x> <y> <z> <point m> ::= <x> <y> <m> <point zm> ::= <x> <y> <z> <m>

There are not unit tests for them all, we should check and extend the tests.

Change History (0)

Note: See TracTickets for help on using tickets.