[OpenLayers-Users] Need a search function for Open Layers

Stephen Woodbridge woodbri at swoodbridge.com
Fri Aug 17 09:42:31 EDT 2007


HarryS wrote:
> 
> Tim Schaub-4 wrote:
>>
>> OpenLayers is a client-side (browser based) mapping library.  Since you 
>> can't query PostgreSQL directly from a browser, querying your database 
>> is a server-side task.
>>
>>
> 
> I am aware of this. But you can query Mapserver-CGI directly from a browser.
> I was wondering if there are any ready-to-use solutions to implement in
> OpenLayers before starting to work on my own solution.
> 
> Harry
> 

Well I have not tried it, but you might be able to set up a mapserver 
template so the query returns an xml document. There might be an issues 
with getting mapserver to set the appropriate headers. but this is more 
a mapserver question in general as mapserver is the server side solution.

-Steve



More information about the Users mailing list