Thanks for the quick reply,
Know I can get Single Map image but the in the HTML Source the main template is repeated for same number of times (as 50 records the template is processed for 50 times), because i put the result information in the template file.
I included the Footer and Header in the Map File.
Here I given the Template, Footer, Header files nad template file.
Header
<html>
<head>
<title>MapServer - Oracle Spatial</title>
<script language="_javascript_"> var count=0; </script>
</head>
<body>
MapServer - Oracle Spatial
<br>
<script language="_javascript_">
var county;
Main Template file
county = '[STRING]';
Footer file
document.write("Selected Feature: " + county + "<br>\n");
</script>
<center>
</body>
</html>
I pass the same query
Query
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'
Output Source
html>
<head>
<title>MapServer - Oracle Spatial</title>
<script language="_javascript_"> var count=0; </script>
</head>
<body>
MapServer - Oracle Spatial
<br>
<script language="_javascript_">
var county;
county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';county = 'pondicherry';document.write("Selected Feature: " + county + "<br>\n");
</script>
<center>
<center>
</body>
</html>
Please Send me some solution
I am waiting for the reply
Regards,
Prema Selvam
GISbiz
View this message in context: Re: Problem in MapServer with Oracle Spatial - More than one image is Loaded
Sent from the Mapserver - User forum at Nabble.com.
