Thank you.
This is the solution!!
But, i think, the function ellipse is wrong.
I modified it in this way:
Ellipse (x,y,rx,ry,rotation,#of segments in 1/4 of ellipse)
CREATE OR REPLACE FUNCTION Ellipse(double precision, double precision, double
precision, double precision, double precision, integer)
RETURNS geometry AS
'
SELECT
transform(translate(rotate(scale(buffer(transform(setsrid(makepoint(0,0),4326),3395),1,$6),$3,$4),$5),x(transform(setsrid(makepoint($1,$2),4326),3395)),y(transform(setsrid(makepoint($1,$2),4326),3395))),4326)
'
LANGUAGE 'sql';
where rx and ry are the (minor axis length)/2 and the (major axis length)/2
(in meters).
What do you think about this?
Thanks......
---------------------------------
---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users