<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hello,</div><div><br></div><div>I recently came across an interesting openlayers application that uses geonames.org for a search functionality. I would like to be able to use my own gis data on the searches. I came across http://mapserver.org/trunk/output/template_output.html, which starts to describe how to make a template. I just have a couple questions.</div><div><br></div><div>1) My understanding is I can use any .map files that have a layer with appropriate fields. I just need to add another output format so that my .map file references a JSON template, and I can keep the standard image output formats. Is this correct?<br></div><div><br></div><div>2) How would the html request need to be formatted to search a specific value in a specific layer and return
JSON?</div><div><br></div><div><br></div><div>Any help and / or examples would be greatly appreciated.<br></div><div><br></div><div>Thanks</div><div><br></div><div>Mark<br></div><div><br></div><div></div></div></body></html>