[postgis-users] About multi() and WKT on 1.0.0rc4

strk at refractions.net strk at refractions.net
Tue Mar 29 02:54:32 PST 2005


You found a known bug, fixed in RC5.
--strk;

On Tue, Mar 29, 2005 at 02:50:00PM +0400, ksa-nil5 wrote:
> Hi, strk.
> 
> I have found some interesting.
> 
> test_export=# select postgis_full_version();
>                                           postgis_full_version
> ---------------------------------------------------------------------------------------------------------
>  POSTGIS="1.0.0RC4" GEOS="2.1.1" PROJ="Rel. 4.4.9, 29 Oct 2004" USE_STATS DBPROC="0.2.1" RELPROC="0.2.1"
> (1 row)
> 
> 
> test_export=# select multi('SRID=300001;LINESTRING(5386004.193 6284208.721,5386297.735 6284534.381,5386517.925 6284994.029,5386559.881 6285163.625)');
>                                                                                         multi
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>  0105000020E1930400010000000102000020E193040004000000AC1C5A0CC58B54412FDD242EECF85741713D0A6F0E8C5441D34D62983DF957413333337B458C5441D122DB81B0F95741D34D62F84F8C5441000000E8DAF95741
> (1 row)
> 
> test_export=# select astext(multi('SRID=300001;LINESTRING(5386004.193 6284208.721,5386297.735 6284534.381,5386517.925 6284994.029,5386559.881 6285163.625)'));
>                                                              astext
> --------------------------------------------------------------------------------------------------------------------------------
> MULTILINESTRING(SRID=300001;(5386004.193 6284208.721,5386297.735 6284534.381,5386517.925 6284994.029,5386559.881 6285163.625))
> (1 row)
> 
> 
> I think, 'MULTILINESTRING(SRID=300001;(53860 ....' is not WKT. I do not understand what does it mean. Is it right or I found an error?
> 
> Sergey Karin
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list