<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Thanks Frank, Daniel and Oliver,</DIV>
<DIV>I'm sure that my data has topology errors. I'm using pure MS4W and my method is PHPMapscript. My small application is only for zoom, pan.</DIV>
<DIV>In my experience, I also think MapServer or any mapping engine can draw a request map without checking its topology for legal or not. And my .mdb file runs well in ArcMap or ArcCatalog, and I think they don't take notice of topology when playing my file.</DIV>
<DIV><SPAN lang=ZH></SPAN>Best regards,</DIV>
<DIV> </DIV>
<DIV>--- On <B>Tue, 8/18/09, Frank Warmerdam <I><warmerdam@pobox.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px">
<DIV class=plainMail>Friend,<BR><BR>I believe this error is coming from GEOS and likely occurs when the geometries<BR>from the file are translated into GEOS format in order to do a spatial<BR>comparison test against the map view within OGR.<BR><BR>This likely is due to a linestring or polygon being invalid - perhaps due<BR>to self-intersection.<BR><BR>Actually, I'm surprised that things would dip into the GEOS geometry<BR>comparisons. MapServer is careful to only set rectangular spatial filters<BR>and OGR is supposed to short circuit this case to avoid GEOS. I'm not really<BR>sure why you end up in GEOS. Are you doing any other fancy stuff that<BR>might end up in GEOS?<BR><BR>If you could boil this down to something similar I could use to reproduce<BR>the problem, I would be willing to have Chaitanya look into it. It would<BR>need to be filed as a GDAL ticket.<BR><BR>Best regards,<BR>--
---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up | Frank Warmerdam, <A href="http://us.mc654.mail.yahoo.com/mc/compose?to=warmerdam@pobox.com" ymailto="mailto:warmerdam@pobox.com">warmerdam@pobox.com</A><BR>light and sound - activate the windows | <A href="http://pobox.com/~warmerdam" target=_blank>http://pobox.com/~warmerdam</A><BR>and watch the world go round - Rush | Geospatial Programmer for Rent<BR><BR></DIV></BLOCKQUOTE></td></tr></table><br>