Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10082?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 ) GEOS-10082 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10082?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 ) OGC API Tiles should return an empty payload, or a 204, on empty tiles ( 
https://osgeo-org.atlassian.net/browse/GEOS-10082?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 )

Issue Type: Bug Assignee: Unassigned Created: 27/May/21 12:59 PM Priority: 
Medium Reporter: Andrea Aime ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae9469ffc-5e16-4c2b-b7b0-b9c46e912f9e
 )

According to the spec:

If the requested tile is empty, either a 200 response with an empty file (e.g. 
a 0 byte file if valid for the requested format, or a PNG with internal headers 
and no "pixels") or an HTTP status code 204 with no content SHALL be returned.

Rigth now we have no way to know the content of the tile is empty, though we 
might perform guesses on a format by format basis.

The KML tile encoder has some notion of 204 handling, but it happens while 
bulding the tiles.
Indeed I guess we could just always throw a 204 and never cache contents, the 
tile producers should lend a hand and let us know if they have renderered any 
feature/pixel.

( 
https://osgeo-org.atlassian.net/browse/GEOS-10082#add-comment?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10082#add-comment?atlOrigin=eyJpIjoiMjFhNTBjM2I4NzA2NDNlODllYmM0ZjBhMjU4MGI0NzMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100163- 
sha1:58f13a2 )
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to