Closed
Description
When inheriting from the Point class, the "wkt" method does not work as I expect. It uses the class name to build wkt. It's right?
Example:
from geojson_pydantic import geometries as geom
class PointType(geom.Point):
... (my custom logic)
test = PointType(coordinates=[123, 123])
print(test.wkt)
>>> POINTTYPE (123.0 123.0)
I am expecting to get POINT (123.0 123.0) for example to use this in a database.
Metadata
Metadata
Assignees
Labels
No labels