[postgis-devel] ST_MakePolygon returns null geometry when passed NULL or empty array

Obe, Regina robe.dnd at cityofboston.gov
Tue Jul 8 05:06:29 PDT 2008


I'm not sure if this expected behavior or not, but it surprised me.

In formulating ST_MakePolygon examples for the docs, I noticed if I
passed in NULL or an empty array 
for the ST_MakePolygon second arg, I get back a null geometry.

Shouldn't it just return a polygon formed from the first argument?

Thanks,
Regina
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.




More information about the postgis-devel mailing list