Hi Everybody,
<br>
<br> Again its Me,
<br>
<br> I can able to Connect to Oracle Spatial with MapServer and i can fire the Itemnquery function.
<br>
<br> But the problem , when i fire the ItemQuery only one record is hilited thats the default it return only first match record.
<br> When I fire Itemnquery more than one image is generated that is <b>if 50 records is matched 50 same image is loaded</b>.
<br>
<br> Please give me a some solution for this problem, below I am give the Mapfile, Template, Query and Output.
<br>
<br><b>Mapfile</b>
<br>
<br> MAP
<br> DEBUG ON
<br> NAME world_city
<br> EXTENT -180 -90 180 83.60415649414
<br> SIZE 800 400
<br> SHAPEPATH '/ms4w/apps/zap/data/'
<br> IMAGETYPE GIF
<br> STATUS ON
<br>
<br> SYMBOL
<br> NAME "circle"
<br> TYPE ellipse
<br> FILLED true
<br> POINTS
<br> 1 1
<br> END
<br> END
<br>
<br> WEB
<br> TEMPLATE 'templates/ZapTemp.html'
<br> IMAGEPATH '/ms4w/tmp/ms_tmp/'
<br> IMAGEURL '/ms_tmp/'
<br> END
<br>
<br> PROJECTION
<br> "proj=latlong"
<br> "ellps=WGS84"
<br> END
<br>
<br> QUERYMAP
<br> STATUS ON
<br> STYLE HILITE
<br> COLOR 255 255 0
<br> END
<br>
<br> LAYER
<br> DEBUG ON
<br>
<br> PROJECTION
<br> "proj=latlong"
<br> "ellps=WGS84"
<br> END
<br>
<br> CONNECTIONTYPE oraclespatial
<br> CONNECTION "world/land@orcl"
<br> DATA "shape FROM world USING UNIQUE shapeid SRID 8307"
<br>
<br> NAME world_point
<br> STATUS ON
<br> TYPE POINT
<br>
<br>
<br> DUMP TRUE
<br>
<br> TEMPLATE "templates/ZapTemp.html"
<br>
<br> TOLERANCE 5
<br>
<br> CLASS
<br> NAME 'World_Class'
<br> SYMBOL "circle"
<br> SIZE 7
<br> COLOR 128 64 64
<br> OUTLINECOLOR 0 0 0
<br> END
<br> END # World polygon layer ends here
<br> END
<br>
<br>
<br><b>Template</b>
<br>
<br><HTML>
<br><body>
<br> <img src="[img]" />
<br></body>
<br></HTML>
<br>
<br>
<br>Query
<br>
<br><a href="http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/zap/htdocs/world1.map&mode=itemnquery&layer=world_point&qlayer=world_point&qitem=ploc&qstring=ploc='pondicherry'" target="_top" rel="nofollow">http://localhost/cgi-bin/mapserv.exe?map=/ms4w/apps/zap/htdocs/world1.map&mode=itemnquery&layer=world_point&qlayer=world_point&qitem=ploc&qstring=ploc='pondicherry'</a>
<br>
<br><i>ploc is the Filed name</i>
<br>
<br>
<br>Output file
<br>
<br><HTML>
<br><body>
<br> <img src="/ms_tmp/SDS_Sample11376873243408.gif" />
<br></body>
<br></HTML>
<br><HTML>
<br><body>
<br> <img src="/ms_tmp/SDS_Sample11376873243408.gif" />
<br></body>
<br></HTML>
<br><HTML>
<br><body>
<br> <img src="/ms_tmp/SDS_Sample11376873243408.gif" />
<br></body>
<br></HTML>
<br><HTML>
<br><body>
<br> <img src="/ms_tmp/SDS_Sample11376873243408.gif" />
<br></body>
<br></HTML>
<br><HTML>
<br><body>
<br> <img src="/ms_tmp/SDS_Sample11376873243408.gif" />
<br></body>
<br></HTML>
<br><HTML>
<br><body>
<br>...
<br>...
<br>...
<br>
<br>Thanks & Regards
<br>Prema Selvam
<br>GISbiz
<br>
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Problem-in-MapServer-with-Oracle-Spatial---More-than-one-image-is-Loaded-t954228.html#a2472128">Problem in MapServer with Oracle Spatial - More than one image is Loaded</a><br>
Sent from the <a href="http://www.nabble.com/Mapserver---User-f1215.html">Mapserver - User</a> forum at Nabble.com.