<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.5">
<TITLE>upgrading WKT error</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello&nbsp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have upgraded from 4.8.1 to mapserver 4.10 </FONT>

<BR><FONT SIZE=2 FACE="Arial">and gotten the files from ms4w_1.6 </FONT>

<BR><FONT SIZE=2 FACE="Arial">and using php 4.4.2 on a windows IIS.</FONT>

<BR><FONT SIZE=2 FACE="Arial">this is using GDAL 1.3.2 and is installed with GEOS</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">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).</FONT></P>

<P><FONT SIZE=2 FACE="Arial">now in the new mapserver 4.10 I get this error</FONT>
</P>

<P><FONT FACE="Times New Roman">msOGRFileNextShape(): Column WKT requested for geometry, but it does not exist<BR>
<BR>
</FONT><FONT SIZE=2 FACE="Arial">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.<BR>
<BR>
Second error is if I try to use ms_shapeObjFromWkt()<BR>
<BR>
$NewShapeFromWkt = ms_shapeObjFromWkt( $wktstreng['wkt'] );<BR>
<BR>
I will get this error<BR>
</FONT><FONT FACE="Times New Roman">GEOSShapeFromWKT(): Error reading WKT geometry &quot;POLYGON ((524401.01456 6256859.53403,524393.08587 6256832.01146,524379.23346 6256832.1026,524389.25823 6256860.90105))&quot;</FONT></P>

<P><FONT SIZE=2 FACE="Arial">is it because this is build with GEOS or is it because of the changed from mapserver 4.8 to 4.10 ?</FONT>
</P>
<BR>

<P><FONT SIZE=2 FACE="Arial">Med venlig hilsen</FONT>

<BR><FONT FACE="Arial"> </FONT>

<BR><FONT SIZE=2 FACE="Arial">Jeppe Lund Andersen</FONT>
</P>

</BODY>
</HTML>