Unable to Add LineString with One Point, Is There A Work Around?


I’m currently using LineString to store Points that a user places on GoogleMaps and reflect that into Backendless database. However, LineString currently needs 2 points in order to be a valid LineString and I want to add the functionality of adding singular points without necessarily changing my LineString column in my database. Is this possible?

Otherwise, I may add a dummy point that is always ignored to satisfy the LineString syntax.


Hi @Kayin_Ilagan,

we have a Geometry column type which may have both LineString and Point (and also a Polygon) values. Maybe it will be useful for you?