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

"Expected group end" on valid LineString #37

Open
Portur opened this issue Sep 23, 2020 · 0 comments
Open

"Expected group end" on valid LineString #37

Portur opened this issue Sep 23, 2020 · 0 comments

Comments

@Portur
Copy link

Portur commented Sep 23, 2020

Hi,
This LineString

LINESTRING(18.6233900000 -33.8963590000 0, 18.6234010000 -33.8966330000 0, 18.6234090000 -33.8967650000 0, 18.6234420000 -33.8973360000 0, 18.6234490000 -33.8974650000 0, 18.6234790000 -33.8980180000 0, 18.6234860000 -33.8981470000 0, 18.6235040000 -33.8985640000 0)

used like this

let feature = {
      type: 'Feature',
      properties: {},
      geometry: wkx.Geometry.parse(linestring).toGeoJSON()
};

throws this
"Expected group end"

Is it a 3D issue?
Viewing the linestring in WKT view does display correctly

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

No branches or pull requests

1 participant