[postgis-devel] [PostGIS] #231: New distance-calculations proposal

PostGIS trac at osgeo.org
Fri Oct 23 07:17:34 PDT 2009


#231: New distance-calculations proposal
--------------------------+-------------------------------------------------
  Reporter:  nicklas      |       Owner:  robe         
      Type:  enhancement  |      Status:  assigned     
  Priority:  medium       |   Milestone:  postgis 1.5.0
 Component:  postgis      |     Version:               
Resolution:               |    Keywords:               
--------------------------+-------------------------------------------------
Comment (by robe):

 I guess naming is going to be tricky.  I suppose no other spatial database
 supports this function that we can see what they call it?

 I don't like ST_ClosestP_in_A2B for 2 reasons

 1) too many underscores so is not consistent with how we name other
 functions.  To be consistent it would only have the ST_ part and get rid
 of other _

 2) the A2B while clearer again is inconsistent.  When we say

 ST_Difference(A,B)  -- we don't call it ST_DifferenceAnotInB

 Yes I know its an OGC standard, but still I think if we stick with the
 same kind of convention that any object that returns a geometry that is
 part of one of the geometries
 should be written as

 somefunc(A,B)  --- implies part returned is part of A

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/231#comment:33>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list