<html>
<head>
        <title></title>
        
<meta name="GENERATOR" content="MSHTML 8.00.6001.18852"></meta>
        
<meta name="SKYPE_FRAMEID" content="HBROAMAKDT"></meta>
        
<meta id="skype_v3_tb_marker_id" name="SKYPE_PARSING_HAS_FINISHED" content="metacontent"></meta>
</head>

<body>Sorry, just the half thought in last post...
        
<div align="left"> </div>
        
<div align="left">By strategy I mean we have to handle the discussions on how it should behave, and to get so consistent behavior as possible between didderent functions. We also have to register in a straight way where er are today. How it is handled today and in earlier versions.</div>
        
<div align="left"> </div>
        
<div align="left">For example in the case of st_distance it is now reutning null as proposed in <a class="wiki" href="http://trac.osgeo.org/postgis/wiki/DevWikiEmptyGeometry">DevWikiEmptyGeometry</a> instead of 0 as before. For someone this might be a breaking change. In st_dwithin it returns false as said in the wiki-page above but there is also a discussion about if it instead should retun null. Where to have such a discussion so we see how one decission affect consistently for other functions. Should it all be in the wiki or mail? </div>
        
<div align="left"> </div>
        
<div align="left">/Nicklas</div>
        
<div align="left"> </div>
        
<div align="left"> <br />
                2009-11-28 Nicklas Avén wrote:<br />
                <br />
                ></div>
        
<div>I have looked a little at this #294 thing about empty geometries cases</div>>
        
<div> </div>>
        
<div>I think some strategy is needed to manage that one because it is big and will need a lot of different discussions I can imagine.</div>>
        
<div>I have looked through a lot of the functions of today, what they give with empty geometries and found some inconsistencies for example:</div>>
        
<div>select ST_NumPoints('POLYGON EMPTY')  returns nothing, while</div>>
        
<div>select ST_NPoints('POLYGON EMPTY') returns 0<br />
                ></div>>
        
<div>I think we in the end will need a matrix with the behavior in different cases with different versions. </div>>
        
<div>Should that be a part of documentation or wiki?</div>>
        
<div> </div>>
        
<div>/Nicklas</div>
</body>
</html>