[mapserver-users] tiling (WMS-C)
Paul Ramsey
pramsey at cleverelephant.ca
Thu May 8 15:17:19 PDT 2008
Chris,
That makes more sense.
So MapBuilder is magically noticing the WMS-C in your URL and
converting its requests to a tiled mode. Unfortunately, Mapserver does
not understand the WMS-C keyword and is croaking, even though there is
no functional difference (from a WMS PoV) to serving a WMS-C request
and a WMS request.
A quick and dirty fix would be to write a small PHP script to sit in
front of mapserver, convert the WMS-C to a WMS and then pass the
request onwards.
Alternately (and more elegantly), perhaps there is some way to trick
mapbuilder into the tiled mode without the WMS-C keyword in the URL?
Check your Mapbuilder docs.
Paul
On May 8, 2008, at 3:12 PM, csmith wrote:
> Hi Paul,
>
> I am using MapBuilder's latest instance, which renders with Open
> Layers, and is capable of tiling. I load an initial map, querying a
> local http server and designating the WMS service type as WMS-C,
> and, voila, rendering of tiles where previously (service type plain
> WMS) the entire viewport is rendered as one. When I attempt a
> similar request of my MapServer instance, which handles all of my
> hosted raster imagery, I get the error:
>
> mapserv(): Web application error. Traditional BROWSE mode requires a
> TEMPLATE in the WEB section, but none was provided.
>
> Which I meant to include in my first post, sorry. Any guidance?
>
> Thanks,
> Chris
>
>
>
> ----- Original Message ----- From: "Paul Ramsey" <pramsey at cleverelephant.ca
> >
> To: "csmith" <csmith at insequenceinc.com>
> Cc: <mapserver-users at lists.osgeo.org>
> Sent: Thursday, May 08, 2008 4:31 PM
> Subject: Re: [mapserver-users] tiling (WMS-C)
>
>
>> Chris,
>>
>> Tiling is a property of the client, not the server... the client
>> breaks the problem of filling the viewport up into files and sends
>> the
>> tile requests, usually in parallel, to the server. What user
>> interface are you building with?
>>
>> P
>>
>> On Thu, May 8, 2008 at 12:48 PM, csmith <csmith at insequenceinc.com>
>> wrote:
>>> Hello,
>>>
>>> I would like to take advantage of the expediency of visual
>>> feedback afforded
>>> by presenting my raster image as a mosaic of tiles, rather than
>>> the user
>>> waiting for, for example, a single .png in my viewport- typical,
>>> now-ubiquitous tiling behavior.
>>>
>>> I am able to initiate a WMS query with service type WMS-C (i.e.
>>> SERVICE=WMS_C) successfully to another service, but am
>>> unsuccessful when
>>> querying through my MapServer instance. Is it possible that
>>> MapServer
>>> doesn't support WMS-C? Hopefully, it is just my ignorance. I
>>> confess that
>>> I merely changed my existing URL-encoded string, replacing WMS
>>> with WMS-C
>>> (pretty optimistic, huh!). I believe my shapefile refererenced by
>>> the
>>> mapfile is properly comprised of appropriate tile images. Can you
>>> straighten me out, please?
>>>
>>> Thanks,
>>> Chris
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>
>
--
Paul Ramsey
pramsey at cleverelephant.ca
+1 250 885 0632
More information about the MapServer-users
mailing list