[postgis-users] itemnquery limitation

David Blasby dblasby at refractions.net
Wed Aug 13 09:37:28 PDT 2003


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%2FProjects%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_footerSch.html&HeaderHtml=WCms_headerSch.html&FooterHtml=WCms_footerSch.html&map_web_imagepath=%2Fnet%2Flion_direct%2Fraid%2Fshare%2FRefractions%2FProjects%2FPostGIS%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%2C457.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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: WCms.map
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20030813/749d0c80/attachment.ksh>


More information about the postgis-users mailing list