TDengine
TDengine copied to clipboard
geometry enhancement: ST_GeomFromText() and ST_AsGeoJSON()
Description
I added two geometry sql functions ST_GeomFromText() and ST_AsGeoJSON(). GeoJSON is a popular format in GIS field, so I believe both functions will be very welcome.
Unit test and system test on them are added as well and they are all passed. Doc will be updated once the changes are accepted.
Checklist
Please check the items in the checklist if applicable.
- [ ] Is the user manual updated?
- [x] Are the test cases passed and automated?
- [ ] Is there no significant decrease in test coverage?
Could anyone review the change?