-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support printing postgis data. (#1425)
@msullivan The tests run on a local instance and pass. The query `with module ext::postgis select <geometry>'POINT(0 1)';` returns ``` {POINT(0 1)} ``` The box types have some special handling, which doesn't get properly handled in the CLI, which might be confusing. The query `with module ext::postgis select <box2d>'box(0 0, 1 1)';` returns: ``` {POLYGON((0 0,0 1,1 1,1 0,0 0))} ``` The query `with module ext::postgis select <str><box2d>'BOX(0 0, 1 1)';` (note cast to str) returns: ``` {'BOX(0 0,1 1)'} ``` The javascript binding PR has some special checking for the boxes, but I haven't reproduced it here.
- Loading branch information
Showing
5 changed files
with
240 additions
and
4 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters