geosolutions-it / ogc-testbed

Management repository for OGC testbed and other initiatives
0 stars 0 forks source link

Tiles API Duplicate key Error #73

Closed allyoucanmap closed 4 years ago

allyoucanmap commented 5 years ago

If image/png and image/png8 are available at the same time the tile is not rendered and it returns following error:

{
 "code": "NoApplicableCode",
 "description": "Duplicate key image/png"
}

configuration:

http://localhost:8080/geoserver/ogc/tiles/collections/vtp:AgricultureSrf/maps/generic/tiles/EPSG:4326/EPSG:4326:12/1306/4917/?f=image/png

2019-09-05 16_00_41-Window

It's the same with vector format:

http://localhost:8080/geoserver/ogc/tiles/collections/vtp:AgricultureSrf/tiles/EPSG:900913/EPSG:900913:12/1655/2458??f=application/json;type=geojson

2019-09-05 16_05_59-Window

{
 "code": "NoApplicableCode",
 "description": "Duplicate key application/json"
}
allyoucanmap commented 5 years ago

I were able to visualize tiles with this configuration:

2019-09-05 16_07_44-Window

aaime commented 4 years ago

Should have been fixed in the meantime, can you double check? (might need a local machine, the deploy on maps is old)

allyoucanmap commented 4 years ago

@aaime it's working locally both with geojson/topojson and png/png8