[OpenLayers-Users] wms query frustration

Christopher Schmidt crschmidt at metacarta.com
Thu Jun 5 10:24:57 EDT 2008


On Thu, Jun 05, 2008 at 10:13:16AM -0400, Justin Palk wrote:
> Hi all -- I'm just starting out with openlayers, and I'm a little frustrated.

It looks like you're trying to query TileCache.  TileCache isn't a WMS.
You can't query it.

> Here's the relevant bit from my tilecache.cfg:
> [election_results]
> type=MapnikLayer
> mapfile=/tmp/ed.xml
> extent_type=loose
> bbox=-77.677821,39.219771,-77.106723,39.719845
> maxResolution = 0.001115426

It looks like you're using Mapnik. Mapnik provides a wms server with its
code, but I don't think it supports queries. (You should ask the mapnik
list that question.) 

If it doens't, you'll need to set up a different server with your data
in it for querying. MapServer and GeoServer are both good.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list