[postgis-users] Problem with ellipse function

Michael Fuhr mike at fuhr.org
Thu Jun 14 05:54:16 PDT 2007


On Wed, Jun 13, 2007 at 01:06:36PM +0200, franco califano wrote:
> I tried to use the ellipse function in
> http://postgis.refractions.net/support/wiki/index.php?plpgsqlfunctions
> 
> but i find a problem.
> The shape of ellipse depends on the latitude of the center point (the ry variable).
> The bigger is it, the more the ellipse is stretched.
> How can i solve this problem?

Have you tried creating the ellipse using a spatial reference system
that uses units like meters (e.g., the appropriate UTM zone) and then
transforming the result back to lat/lon?

-- 
Michael Fuhr



More information about the postgis-users mailing list