Hi,

We are using geoserver 2.13.2 with the integrated geowebcache.
We have following warning in the logfile:

WARN [gwc.layer] - Unsupported format request: text/javascript
org.geowebcache.mime.MimeException: Unsupported format request: text/javascript

We think this is caused by a request from open layers asking geoserver to 
return text/javascript and this is not included in the following section of the 
getcapabilities document:

<ResourceURL format="image/png" resourceType="tile" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}?format=image/png"/>
<ResourceURL format="text/plain" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/plain"/>
<ResourceURL format="application/vnd.ogc.gml" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml"/>
<ResourceURL format="text/xml" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
<ResourceURL format="application/vnd.ogc.gml/3.1.1" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/vnd.ogc.gml/3.1.1"/>
<ResourceURL format="text/xml" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/xml"/>
<ResourceURL format="text/html" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=text/html"/>
<ResourceURL format="application/json" resourceType="FeatureInfo" 
template="http://geo.gent.be/geoserver/gwc/rest/wmts/SG-E-Stadsplan:Stadsplan/{style}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}/{J}/{I}?format=application/json"/>

Can we resolve this by adding <resourceURL format> for javascript? If yes, 
where can we add it?

Kind regards,

Francis Vanden Bulcke
Technisch Applicatiespecialist GIS
Projecten, Ontwikkeling en Nazorg
Domein GPS (Grond- en Persoonsgebonden Systemen)

Digipolis
Bellevue 1, 9050 Gent
Tel.: +32 (0)92660972
http://www.digipolis.gent<http://www.digipolis.gent/>
Disclaimer<http://www.digipolis.be/disclaimer>

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to