[postgis-users] GeometryFromText - OGC WKT not recognized

Mike Leahy mgleahy at fes.uwaterloo.ca
Thu Apr 14 15:38:11 PDT 2005


You're right...I actually had RC2...I guess I lost track working between
multiple machines...

strk at refractions.net wrote:

>I suspect you have a broken installation,
>probably a missed dump/reload, as the GeometryFromText signature
>as changed. SELECT postgis_full_version() should tell you.
>--strk;
>
>On Thu, Apr 14, 2005 at 05:35:57PM -0400, Mike Leahy wrote:
>  
>
>>Hello list,
>>
>>I'm just wondering if anyone else has this problem with PostgreSQL 8.0.2
>>/ Postgis 1 RC6 / WinXP SP2:
>>
>>I can do the following:
>>
>>testdb=# select 'srid=-1;POINT(1 1)'::geometry;
>>
>>To get:
>>
>>                  geometry
>>--------------------------------------------
>> 0101000000000000000000F03F000000000000F03F
>>(1 row)
>>
>>However, if I use the GeometryFromText function, I get the following error:
>>
>>testdb=# select GeometryFromText('POINT(1 1)', -1);
>>ERROR:  Invalid OGC WKT (does not start with P,L,M or G)
>>
>>
>>Miguel's previous posting reminded me of this problem I had - is this a
>>problem that has already been solved, or am I doing something wrong?
>>
>>Thanks,
>>Mike
>>_______________________________________________
>>postgis-users mailing list
>>postgis-users at postgis.refractions.net
>>http://postgis.refractions.net/mailman/listinfo/postgis-users
>>    
>>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050414/73cb8fef/attachment.html>


More information about the postgis-users mailing list