upgrading WKT error

Jeppe Lund Andersen JXA at COWI.DK
Wed Nov 29 10:38:36 EST 2006


Hello	

I have upgraded from 4.8.1 to mapserver 4.10 
and gotten the files from ms4w_1.6 
and using php 4.4.2 on a windows IIS.
this is using GDAL 1.3.2 and is installed with GEOS

the code I made works fine on 4.8.1 and can show the WKT strings Iam storing in the Database ( only problem is that GDAL is version 1.3.1 and does not support WKT strings over 512).
now in the new mapserver 4.10 I get this error

msOGRFileNextShape(): Column WKT requested for geometry, but it does not exist

I know that the WKT coln exist because it running on exact same code that I do on 4.8.1 and there it works fine.

Second error is if I try to use ms_shapeObjFromWkt()

$NewShapeFromWkt = ms_shapeObjFromWkt( $wktstreng['wkt'] );

I will get this error 
GEOSShapeFromWKT(): Error reading WKT geometry "POLYGON ((524401.01456 6256859.53403,524393.08587 6256832.01146,524379.23346 6256832.1026,524389.25823 6256860.90105))"

is it because this is build with GEOS or is it because of the changed from mapserver 4.8 to 4.10 ?


Med venlig hilsen
 
Jeppe Lund Andersen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061129/d77921ec/attachment.html


More information about the mapserver-users mailing list