<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div style="" class="" itemprop="text">

        <div style="" class="">Dear PostGIS users,</div><div style="" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">I would like to query if a point is located in the TIN 
object. My TIN object is closed (convex hull) object (i.e. surface of a 
round object). I tried to use ST_Within, but the error message returns 
as:
ERROR: Unknown geometry type: 15 - Tin</div>

<div style="" class="">My query is as follows: <br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">SELECT ST_Within(mypoint,mytinobject) As mypointinmytinobject</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">
FROM
(SELECT ST_GeomFromText('POINT(x,y,z)', SRID) As mypoint, <br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">(SELECT geom FROM mytintable WHERE gid=1) As mytinobject
) As myobjects;</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class=""><br></div>

<div style="" class="">What are the equivalent 3D query functions like ST_Within for 3D TIN object in PostGIS?</div>

<div style="" class=""><br></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Thanks in advance.</div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; background-color: transparent; font-style: normal;" class="">Tsolmon<br></div>

    </div><div style="" class=""><br style=""></div></div></body></html>