No, issue still stands that GDAL is one way to consume WMS as a layer, and I 
can't think of any others.

Dane

On May 6, 2010, at 5:08 PM, John Mitchell wrote:

> Dane,
> 
> A number of months ago I asked about having a WMS call within an
> osm.xml (mapfile) and you replied with the below email.  Now that
> version 0.7.1 of mapnik is available does it have an easier way of
> doing a WMS call within a mapfile?
> 
> Thanks,
> 
> John
> 
> On 11/10/09, Dane Springmeyer <[email protected]> wrote:
>> Indeed you can, although I've not been able to set up correctly yet,
>> due to lack of time and attention (hopefully only that!).
>> 
>> The idea would be that you read in the WMS feed as as bitmap using the
>> GDAL WMS minidriver:
>> 
>> http://www.gdal.org/frmt_wms.html
>> 
>> I got as far as the image showing up, but slightly shifted to the
>> north, so I may just need to tweak the params. I've only worked on
>> this programmatically when hastily trying to add support for WMS
>> layers within Quantumnik
>> (http://bitbucket.org/springmeyer/quantumnik/src/tip/sync.py#cl-553
>> ), so trying to set up one layer might be a bit more feasible.
>> 
>> Let us know how it goes.
>> 
>> Dane
>> 
>> 
>> 
>> On Nov 10, 2009, at 5:54 AM, John Mitchell wrote:
>> 
>>> Within an osm.xml (mapfile) can I include a layer that refers to an
>>> external WMS feed in addition to the usual layers referring to shape
>>> files and database tables.
>>> 
>>> Thanks,
>>> 
>>> John
>>> 
>>> --
>>> John J. Mitchell
>>> _______________________________________________
>>> Mapnik-users mailing list
>>> [email protected]
>>> https://lists.berlios.de/mailman/listinfo/mapnik-users
>> 
>> 
> 
> 
> -- 
> John J. Mitchell

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to