[postgis-users] itemnquery limitation

Tom Melhuish tmelhuish at webinsightsinc.com
Wed Aug 13 11:24:09 PDT 2003


Dave,

I ran this on my server and get the same results with mapserv hanging. What
version of Apache are you running? I appreciate your help to try to resolve
this, but at this point I need to move on and revert back to shapefiles. I
might be building a new server in a few weeks and could try it again after
this with a new refresh of software. If you have any ideas that you might
want me to try, I'll be watching the forum.

Thanks again,

tom

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of David
Blasby
Sent: Wednesday, August 13, 2003 12:37 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] itemnquery limitation


Tom,

I've been running your .map file from the command line like this:

../../mapserver/mapserver-cvs/mapserver/mapserv
"QUERY_STRING=map=%2Fnet%2Flion_direct%2Fraid%2Fshare%2FRefractions%2FProjec
ts%2FPostGIS%2Fwork_dave%2Ftest2%2FWCms.map&MINX=2001272.875&MINY=643833.625
&MAXX=2156198.25&MAXY=771771.5625&mode=itemnquery&zoomsize=2&program=%2Fcgi-
bin%2Fmapserv&map_web_header=WCms_headerSch.html&map_web_footer=WCms_footerS
ch.html&HeaderHtml=WCms_headerSch.html&FooterHtml=WCms_footerSch.html&map_we
b_imagepath=%2Fnet%2Flion_direct%2Fraid%2Fshare%2FRefractions%2FProjects%2FP
ostGIS%2Fwork_dave%2Ftest2%2F&map_web_imageurl=%2Ftmp%2F&qlayer=nodes&qitem=
nodeid&qstring=%22nodeid+in+%28413.0%2C430.0%2C431.0%2C432.0%2C433.0%2C434.0
%2C436.1%2C450.0%2C451.0%2C452.0%2C453.0%2C454.0%2C455.0%2C456.0%2C457.1%2C4
57.2%2C457.3%2C457.4%2C458.1%2C458.2%2C434.7%2C434.6%2C434.5%2C459.0%2C434.4
%2C434.3%2C434.2%2C434.1%2C528.0%29%22&layer=gp_nodes&layer3=gp_nodes"


I got the query string by changing your html file (test.html) slightly:
1. made it point to my server stuff
2. changed:    <form method="get" name="hiddenform"
action="http://yahoo.com">
3. added: <input type ='submit' name="aldfj" value="dslfkj">

Load the page, then hit the button.  You'll get thrown to yahoo but, in
the address bar, you'll see the query string.

I've attached the .map file I've been using (its basically the same as
yours, but I cut it down to one layer since the others were not being
used in the itemnquery).

dave




More information about the postgis-users mailing list