I have not used mbtiles recently, but I often use geoserver to create
vector tiles for layer groups (that is kind of the point for vector tiles).

Could you try reproducing the problem with the sample data directory, and
submit a bug report that can be reproduced.
--
Jody Garnett


On Fri, Feb 9, 2024 at 7:46 AM Stefano Scotton <stefano.scot...@ipsoft.it>
wrote:

> Hi all,
>
> I'm using GeoServer to create mbtiles files of some of my maps.
> I want to create an mbtiles file of a layer group composed of multiple
> layers.
>
> Using the wms/getMap service with the format mbtiles /
> application/x-sqlite3 the file is created correctly.
>
> Instead, using the gs:mbtiles plugin via WPS to create an mbtiles file of
> the same layerGroup, the system returns an error of the following type
> reporting that the layer is not found.
>
> -----
> <wps:ExecuteResponse xml:lang="en" service="WPS" serviceInstance="
> https://historicalkat.provincia.tn.it/geoserver/ows?"; version="1.0.0"
>  xmlns:xs="http://www.w3.org/2001/XMLSchema"; xmlns:ows="
> http://www.opengis.net/ows/1.1"; xmlns:wps="
> http://www.opengis.net/wps/1.0.0"; xmlns:xlink="
> http://www.w3.org/1999/xlink";>
> <wps:Process wps:processVersion="1.0.0">
> <ows:Identifier>
> gs:MBTiles
> </ows:Identifier>
> <ows:Title>
> MBTiles
> </ows:Title>
> <ows:Abstract>
> MBTiles Process
> </ows:Abstract>
> </wps:Process>
> <wps:Status creationTime="2024-02-09T12:13:32.609Z">
> <wps:ProcessFailed>
> <ows:ExceptionReport version="1.1.0">
> <ows:Exception exceptionCode="NoApplicableCode">
> <ows:ExceptionText>
> Process failed during executionorg.geoserver.platform.ServiceException:
> Layer not found: catasto:test1Layer not found: catasto:test1
> </ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
> </wps:ProcessFailed>
> </wps:Status>
> </wps:ExecuteResponse>
> ——
>
> It is possible that there is a bug in the class:
>
> -
> geoserver/src/community/mbtiles/src/main/java/org/geoserver/mbtiles/gs/wps/MBTilesProcess.java
>
> who considers searching only layers and not layer groups?
>
> How can it be solved?
>
> Thanks
>
> Stefano
>
>
>
> _______________________________________________
> 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
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to