navibyte / geospatial

Geospatial data structures, tools and utilities for Dart and Flutter.
Other
51 stars 5 forks source link

Error parsing WKT #222

Closed jaumard closed 5 months ago

jaumard commented 5 months ago

Hello,

I'm trying to parse some WKT I receive from my backend. But when I try to do like the readme:

final geometry = GeometryBuilder.parse(geoFeature, format: WKT.geometry);

It gave me this error:

error: The argument type 'TextWriterFormat<GeometryContent>' can't be assigned to the parameter type 'TextReaderFormat<SimpleGeometryContent>'. (argument_type_not_assignable at ...

Is this really supported?

jaumard commented 5 months ago

Never mind, pub didn't install me the last version...