[postgis-users] Help please
Zamil Murji
Zamil.Murji at divestco.com
Tue Aug 12 18:37:15 PDT 2003
If I run the following in my web browser, I freeze up/hang after 5 entries:
http://10.0.50.30/cgi-bin/mapserv?mode=nquery&map=/mapfiles/idc-query.map&imgext=-98.86166+28.00098+-98.73630+28.10481&mapsize=524+434&imgbox=122+199+307+365
If I run the following on my unix box, everything works just fine:
./mapserv "QUERY_STRING=mode=nquery&map=/mapfiles/idc-query.map&imgext=-98.86166+28.00098+-98.73630+28.10481&mapsize=524+434&imgbox=122+199+307+365" > hello.txt
hello.txt has all the shapes in it. So it doesn't work from my web page, but works commandline. huh?
don't know hwere to go from here. any suggestions?
Zamil
-----Original Message-----
From: David Blasby [mailto:dblasby at refractions.net]
Sent: Tuesday, August 12, 2003 6:02 PM
To: PostGIS Users Discussion; morissette at dmsolutions.ca
Subject: Re: [postgis-users] Help please
Daniel,
I've noticed that msPOSTGISLayerClose() is being called once more than
msPOSTGISLayerOpen()::
msPOSTGISLayerOpen called
msPOSTGISLayerWhichShapes called
msPOSTGISLayerClose datastatement: the_geom from nodescomb_2003
msPOSTGISLayerOpen called
msPOSTGISLayerWhichShapes called
msPOSTGISLayerClose datastatement: the_geom from nodescomb_2003
msPOSTGISLayerOpen called
msPOSTGISLayerClose datastatement: the_geom from nodescomb_2003
msPOSTGISLayerOpen called
in msPOSTGISLayerGetItems (find column names)
msPOSTGISLayerClose datastatement: the_geom from nodescomb_2003
msPOSTGISLayerClose datastatement: the_geom from nodescomb_2003
I verified the last close - it is definately closing an already closed
layer. This is during an itemnquery.
Also, this looks like an awful lot of work for an itemnquery - whats it
really supposed to be doing? It calls msPOSTGISLayerGetShape() twice
for each of the 'itemn' results. Once without layer->items set, and
once with it set. You'll notice that the shapes are retrieved from the
database a total of 4 times (twice by rectange and twice by ID)!
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