Hi list,
I just wanted to check something before I report it as a bug (I suspect
it is, but best to check).
I'm trying to use MapFish to create a pdf. The baselayer is coming from an
external TileMapService.
While my web-browser can access this TMS, the web-server itself cannot
(thus MapFish can't render that layer).
The problem is - the error GeoServer console is giving is implying that the
TMS URL itself is at fault:
28 Jan 12:40:49 ERROR [org.mapfish.print.servlet.BaseMapServlet] - Error
while generating PDF
org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an
invalid value: http://www.osmgb.org.uk/ogc/tms27700/(spec.layers[0].baseURL
has an invalid value:
http://www.osmgb.org.uk/ogc/tms27700/)
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.TmsMapReader.<init>(TmsMapReader.java:42)
at
org.mapfish.print.map.readers.TmsMapReader.create(TmsMapReader.java:86)
Has anyone else had any problems getting MapFish to serve a OpenLayers TMS?
Or is this because my server can't get to that URL (in which case, it would
normally time out so... ?)
If someone wants to test this, there's also a public web-mercator TMS at
the same address; more information here:
http://www.osmgb.org.uk/osm-gb-wiki/index.php/Tile_Service
Cheers,
Jonathan
This transmission is intended for the named addressee(s) only and may contain
sensitive or protectively marked material up to RESTRICTED and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it to
anyone else. If you have received this transmission in error please notify the
sender immediately. All email traffic sent to or from us, including without
limitation all GCSX traffic, may be subject to recording and/or monitoring in
accordance with relevant legislation.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users