Thanks Andreas...
It is of the form of a list, like this?
# yaml
whitelist:
- url: tile.openstreetmap.org
- url: anotherurl.com
Can you show me a sample?
Thanks!
2011/11/1 Andreas Hocevar <[email protected]>
> Hi,
>
> you have to add tile.openstreetmap.org to the whitelist in your
> config.yaml on the server.
>
> Andreas.
> On Nov 1, 2011 11:44 AM, "Marco Afonso" <[email protected]> wrote:
>
>> Hello all,
>>
>> I'm getting an error when trying to print my map having OSM as base layer:
>>
>> Error while generating PDF:
>> DocumentException: org.mapfish.print.InvalidJsonValueException:
>> spec.layers[0].baseURL has an invalid value: http://tile.openstreetmap.org/
>> (spec.layers[0].baseURL has an invalid value: http://tile.openstreetmap.org/)
>> at
>> org.mapfish.print.map.readers.HTTPMapReader.checkSecurity(HTTPMapReader.java:64)
>> at
>> org.mapfish.print.map.readers.HTTPMapReader.<init>(HTTPMapReader.java:55)
>> at
>> org.mapfish.print.map.readers.TileableMapReader.<init>(TileableMapReader.java:40)
>> at
>> org.mapfish.print.map.readers.OsmMapReader.<init>(OsmMapReader.java:41)
>> at
>> org.mapfish.print.map.readers.OsmMapReader.create(OsmMapReader.java:78)
>> at org.mapfish.print.map.readers.MapReader.create(MapReader.java:56)
>> at
>> org.mapfish.print.map.MapChunkDrawer.renderImpl(MapChunkDrawer.java:111)
>>
>> ...
>>
>>
>> The code is the same as in GeoExt Printing OSM example...
>>
>> I'm using extjs 3.4, openlayers 2.11, geoserver 2.1.1 and openlayers 2.11
>>
>> Just an add... my code works with Metacarta WMS basic as in geoserver
>> 2.11 printing demo.
>>
>> Thank you for your attention.
>> Marco
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>>
>>
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users