Postgis 0.8.2 doesn't work on Win32

Stefano Bonnin stefano.bonnin at COMAI.TO
Thu Sep 2 05:42:14 PDT 2004


Hi,

I'have just installed Postgres 8.0.0beta1 and postgis 0.8.2 with the postgis installer found at

http://dcmms.sourceforge.net/postgis_installer.php

After some test (failed) with mapserver, I tryed to execute very simple query like:

CREATE TABLE gtest ( ID int4, NAME varchar(20) );
 SELECT AddGeometryColumn('dbname','gtest','geom',-1,'LINESTRING',2);
INSERT INTO gtest (ID, NAME, GEOM) VALUES (1, 'First Geometry', GeometryFromText('LINESTRING(2 3,4 5,6 5,7 8)', -1));

SELECT id, name, AsText(geom) AS geom FROM gtest;

 id |      name      |            geom
----+----------------+-----------------------------
  1 | First Geometry | LINESTRING(2 3,4 5,6 5,7 8)

SELECT id,name FROM GTEST WHERE GEOM  && 'BOX3D(3 4,4 5)'::box3d;

this query crashes the postgres.exe process on "windows XP home SP1"

Can this depend on the OS?

thanks,

RedS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040902/4f3b64f6/attachment.htm>


More information about the MapServer-users mailing list