Multivalue fields rendered as WKT fail (fatal exception) due to passing a string vs an array of values to GeoPHP.
Example message:
Exception: Cannot construct Point. x and y should be numeric in Point->__construct() (line 31 of /app/vendor/phayes/geophp/lib/geometry/Point.class.php).

WKT->parsePoint('-85.4271 37.3667),POINT (-85.5075 35.77') (Line: 57)
CommentFileSizeAuthor
#2 3099605-multivalue-wkt-2.patch505 bytesnickdickinsonwilde

Comments

NickWilde created an issue. See original summary.

nickdickinsonwilde’s picture

Status: Active » Needs review
StatusFileSize
new505 bytes

Patch to resolve issue by exploding multi-value strings.

  • jeffschuler committed bf2a73d on 8.x-1.x
    Issue #3099605 by NickWilde: Fix multi-value WKT fields.
    
jeffschuler’s picture

Status: Needs review » Fixed

Great, thanks!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.