[postgis-users] GeometryFromText - OGC WKT not recognized
strk at refractions.net
strk at refractions.net
Thu Apr 14 15:24:23 PDT 2005
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
More information about the postgis-users
mailing list