[postgis-users] itemnquery limitation

Zamil Murji Zamil.Murji at divestco.com
Mon Aug 11 08:16:38 PDT 2003


Hello all,

I'm glad to see it was just a drivers issue. I'm using mapserver 4.0 beta 2. I compiled it myself on a red hat 7.3 machine. I compiled it against postgresql 7.3. Should I move down to a lower version.

Mine also hangs for quite some time. And yes I am doing a query by rectangle. Hmm! Can I send somebody my shapefile, which they can convert into a postgis layer and try the exact same query on their machine?

Thanks
Zamil

-----Original Message-----
From: Armin Burger [mailto:armin.burger at libero.it]
Sent: Saturday, August 09, 2003 3:56 PM
To: postgis-users at postgis.refractions.net
Subject: Re: [postgis-users] itemnquery limitation


Dave,

thanks for the hints. You were right with both your assumptions:

When doing the 'select by rectangle' I add a dynamic layer to highlight
the selected features adding all shapes found. This function uses the
shape index to identify these shapes. Disabling this sort of highlight
everything works well.

I searched and found an older version (March 2002) of libpg.dll that was
in the search path before the newer one. Using the newer one (from
February 2003) the problem disappeared completely.

Armin


> Quoting Armin Burger <armin.burger at libero.it>:
>> It did not appear
>> when using MapServer Win binary 3.6 or running MapServer 4.0 on Linux.
>> Nor did I have this  problem with a shapefile (using any combination).

> Hum - this is very strange.  The only difference between the 4.0 CVS
version
> and the CVS 3.6 version is 2 lines of code.  I would expect that if 3.6
were
> working then 4.0 would work as well.
> There was a kuffuffle with the 3.6 CVS - it had an old version of
> mappostgis.c
> in it for a while.  What is the date on your working win 3.6 version
(it
> should
> be "version of June 12/2003")?


> Its unfortunate that 4.0 works under linux but not under windows.  This
is
> going to make it very difficult to debug.

> But, pulling out my crystal ball, I'm going to predict that you have an
old
> libpq.dll on your windows system.  I've attached a recent version.

> If that doesnt help, its going to be difficult to debug since I do all
my
> developement on linux - not windows.
> If you are using the GetShape() function that looks for a particular
shape
> (usually by OID), then the problem is probably in that function (its
the
> least
> tested because its used rarely).    I must admit, I dont often use
> itemnquerys
> so something might have slipped by...


> dave





_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list