Forum Stats

  • 3,837,196 Users
  • 2,262,234 Discussions
  • 7,900,219 Comments

Discussions

Idea: Support M-enabled WKT when converting to SDO_GEOMETRY

User_1871
User_1871 Member Posts: 244 Red Ribbon
edited Apr 14, 2022 12:57PM in Spatial Discussions

When a WKT has M-values:

MULTILINESTRING (( 0.0 5.0 -100000.0, 10.0 10.0 -100000.0, 30.0 0.0 -100000.0),( 50.0 10.0 -100000.0, 60.0 10.0 -100000.0))

Converting that WKT to a LRS SDO_GEOMETRY seems to be difficult. When using sdo_util.from_wktgeometry() or sdo_geometry(), the M-values will be interpreted as Z-values, not M-values, which isn't what we want.

It's possible to workaround that issue by creating a custom function: https://gis.stackexchange.com/a/428825/62572. But it would be ideal if we didn't need a custom function for this scenario.

Could support be added for M-enabled WKT when converting to SDO_GEOMETRY?

Answers