[PostGIS] #267: Use of GUC to determine default (sphere/spheroid) calculation for geography

View: New views
4 Messages — Rating Filter:   Alert me  

[PostGIS] #267: Use of GUC to determine default (sphere/spheroid) calculation for geography

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#267: Use of GUC to determine default (sphere/spheroid) calculation for geography
-------------------------+--------------------------------------------------
 Reporter:  robe         |       Owner:  pramsey      
     Type:  enhancement  |      Status:  new          
 Priority:  low          |   Milestone:  postgis 2.0.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------
 I think we had discussed the use of defining GUCs at least for some other
 PostGIS thing since PostgreSQL allows modules to load custom GUCs.  Forget
 what we were thinking for before to use it for, and forget why we decided
 against it.

 It would seem that that would be the ideal way of allowing people to
 control which measurement behavior they would prefer for the ST_Area,
 ST_Distance etc. functions and we could default this behavior to sphere as
 we are doing currently.

 This we may need to table till postgis 2.0.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/267>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #267: Use of GUC to determine default (sphere/spheroid) calculation for geography

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#267: Use of GUC to determine default (sphere/spheroid) calculation for geography
--------------------------+-------------------------------------------------
  Reporter:  robe         |       Owner:  pramsey      
      Type:  enhancement  |      Status:  new          
  Priority:  low          |   Milestone:  postgis 2.0.0
 Component:  postgis      |     Version:  trunk        
Resolution:               |    Keywords:              
--------------------------+-------------------------------------------------
Changes (by mloskot):

 * cc: mloskot (added)

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/267#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #267: Use of GUC to determine default (sphere/spheroid) calculation for geography

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#267: Use of GUC to determine default (sphere/spheroid) calculation for geography
--------------------------+-------------------------------------------------
  Reporter:  robe         |       Owner:  pramsey      
      Type:  enhancement  |      Status:  new          
  Priority:  low          |   Milestone:  postgis 1.5.0
 Component:  postgis      |     Version:  trunk        
Resolution:               |    Keywords:              
--------------------------+-------------------------------------------------
Changes (by pramsey):

  * milestone:  postgis 2.0.0 => postgis 1.5.0

Comment:

 We decided against it because the GUC can't be set using the "SET" syntax
 until after the dynamic module is loaded, and that doesn't happen until
 the first function is called. Could be worked around by providing the
 functionality via a set_blah() function instead of the SET syntax. Need to
 decide if we want this for real. I'm indifferent, except insofar as it
 makes things a little more complex to document.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/267#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel

Re: [PostGIS] #267: Use of GUC to determine default (sphere/spheroid) calculation for geography

by PostGIS-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

#267: Use of GUC to determine default (sphere/spheroid) calculation for geography
--------------------------+-------------------------------------------------
  Reporter:  robe         |       Owner:  pramsey      
      Type:  enhancement  |      Status:  closed      
  Priority:  low          |   Milestone:  postgis 1.5.0
 Component:  postgis      |     Version:  trunk        
Resolution:  wontfix      |    Keywords:              
--------------------------+-------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => wontfix

Comment:

 I think with function signatures we are fine as things are, I'm closing
 this one out until someone comes with their hair on fire needing it.

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/267#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS
_______________________________________________
postgis-devel mailing list
postgis-devel@...
http://postgis.refractions.net/mailman/listinfo/postgis-devel