Re: [postgis-users] WKT expected, EWKT provided

2010-05-12 Thread strk
On Tue, May 11, 2010 at 01:56:21PM -0700, Peter Willis wrote:

 I am entering 2D polygons so from where would postgis be warning
 about EWKT entry? 

Are you embedding a SRID value inside your WKT ? That's also an extension.

--strk; 

  ()   Free GIS  Flash consultant/developer
  /\   http://strk.keybit.net/services.html
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] WKT expected, EWKT provided

2010-05-12 Thread Peter Willis

strk wrote:

On Tue, May 11, 2010 at 01:56:21PM -0700, Peter Willis wrote:


I am entering 2D polygons so from where would postgis be warning
about EWKT entry? 


Are you embedding a SRID value inside your WKT ? That's also an extension.

--strk; 


  ()   Free GIS  Flash consultant/developer
  /\   http://strk.keybit.net/services.html






Ah!, that's it. The WKT text has the SRID prefixed to the polygon text.

Thanks

P
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[postgis-users] WKT expected, EWKT provided

2010-05-11 Thread Peter Willis

Hello,


I am getting the following error during database queries:

WARNING:OGC WKT expected, EWKT provided - use GeomFromEWKT() for this

I found some references to this using Google, so it appears to be a
known item.

I have tried wrapping all of my text geometries in 'GeomFromEWKT()'
to no avail.

How many dimensions is postgis WKT now expecting for 'POLYGON'?

From where is this warning emitted? (ie: part of what library )


Thanks,

P

Ps.
I thought to search your mailing list archives but they don't appear
to be search-able. Is there any way to search the mail list archives
other than by downloading every compressed file and using
zcat and fgrep ?
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] WKT expected, EWKT provided

2010-05-11 Thread Mike Toews
On 11 May 2010 12:04, Peter Willis pwil...@aslenv.com wrote:
 How many dimensions is postgis WKT now expecting for 'POLYGON'?

OGC WKT has only 2 dimensions while EWKT has up to 4.

 Ps.
 I thought to search your mailing list archives but they don't appear
 to be search-able. Is there any way to search the mail list archives
 other than by downloading every compressed file and using
 zcat and fgrep ?

You'd think it should be easy to do:
http://postgis.refractions.net/pipermail/postgis-users/2008-December/022098.html

-Mike
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] WKT expected, EWKT provided

2010-05-11 Thread Peter Willis

Mike Toews wrote:

On 11 May 2010 12:04, Peter Willis pwil...@aslenv.com wrote:

How many dimensions is postgis WKT now expecting for 'POLYGON'?


OGC WKT has only 2 dimensions while EWKT has up to 4.


Ps.
I thought to search your mailing list archives but they don't appear
to be search-able. Is there any way to search the mail list archives
other than by downloading every compressed file and using
zcat and fgrep ?


You'd think it should be easy to do:
http://postgis.refractions.net/pipermail/postgis-users/2008-December/022098.html

-Mike






Hi Mike,

Thanks for the location of the mail list search.
(I must be blind sigh!)

I am entering 2D polygons so from where would postgis be warning
about EWKT entry? The error must be internal to the postgresql
library module. Is this a versioning problem between sub-libraries
of postgis?

P


___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users