MapTools.org

[maplab-users] PostGIS 0.7.5 returning '0' for shape indexes

Daniel Morissette morissette@dmsolutions.ca
Thu, 26 Jun 2003 11:00:25 -0400
Jonathan Giorgio Ghellere wrote:
> 
> Hi I have the mapserver working on the redhat7.3, but when with postgres7.2.2.
> 
> That is the only version that really work with mapserver.
> I try the other versions, but none of then works fine, all have the same error:
> 
> Fatal error: Assertion failed, Could not set shape values: 0, 0 in
> /usr/local/apache/htdocs/ecosweb/htdocs/common/wrapper/map_query.php on line 533
> 

This is a known mapserver issue:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=316

it should be fixed in MapScript 4.0 soon, but unfortunately that won't
fix it for you with MapLab since you must be using version 3.6.  A way
around would be to force your layer definition to pull at least one
attribute from the table as suggested by Dave Blasby in the bug report
above.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette@dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------


This archive was generated by Pipermail.