[postgis-users] ST_Centroid error on very small polygon

Sandor Csaba sandor.csaba at viamap.hu
Fri Jun 22 05:05:34 PDT 2012


Sorry for mixing threads up in the conversation.

I will try to file the ticket

Csaba

On 22 June 2012 12:30, Sandro Santilli <strk at keybit.net> wrote:
> On Fri, Jun 22, 2012 at 11:39:52AM +0200, Sandor Csaba wrote:
>
>> VT=# select ST_AsText(ST_Centroid(ST_GeomFromText('POLYGON((56.5286666667
>> 25.2101666667,56.529 25.2105,56.5288333333 25.2103333333,56.5286666667
>> 25.2101666667))')));
>>         st_astext
>> --------------------------
>>  GEOMETRYCOLLECTION EMPTY
>> (1 row)
> ...
>> Any of you seen such thing?
>
> I can reproduce this. The polygon is valid.
> Definitely a bug. Could you file a ticket please ?
>
> --strk;
>
>  Sent from our free software
>  http://www.gnu.org/philosophy/free-sw.html
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



-- 
Sándor Csaba
szolgáltatási vezető
ViaMap Kft.
Székhely/postacím: 2176 Erdőkürt, Téglaház utca 4.

Iroda:
1076 Budapest, Garay u. 29-31. I. 1.
(EMLA Környezeti Management és Jog Egyesület)


Tel: +3630/9605853
Fax: +3617002542



More information about the postgis-users mailing list