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

<body>
        
<div>is type 0 for LWGEOM occupied by anything or could it be an idea to use it for empty geometries. </div>
        
<div>Then it would be easy to create any emtpy geometry. Like a generic empty geometry.</div>
        
<div> </div>
        
<div>Or is there another way that I have missed.</div>
        
<div> </div>
        
<div>When I have identified the empty geometries, in shortestline and it buddies I need to communicate that an empty geometry should be returned and the datatype is LWLINE and LWPOINT for st_closestpoint. I'm tempted to just make an LWGEOM with type 0. Is it a bad idea. </div>
        
<div> </div>
        
<div>#define EMPTY 0</div>
        
<div>#define POINTTYPE 1<br />
                #define LINETYPE 2<br />
                #define POLYGONTYPE 3</div>
        
<div>and so on</div>
        
<div> </div>
        
<div>/Nicklas</div>
</body>
</html>