[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] geometryFromText() dropping SRID
From:       David Blasby <dblasby () refractions ! net>
Date:       2004-03-24 17:51:51
Message-ID: 4061CAB7.7080003 () refractions ! net
[Download RAW message or body]

Markus Schaber wrote:

> Hi,
> 
> Is it intentional that geometryFromText() ignores the given SRID?
> 
> logibox=# select geometryFromText('SRID=2000;POINT(9.1833 47.65)');
>       geometryfromtext      
> ----------------------------
>  SRID=0;POINT(9.1833 47.65)
> (1 Zeile)


yes - geometryfromtext() expects wkt.  It should actually throw an error 
if you have an "SRID=<srid>;" in your WKT.

dave

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic