You should be able to set the default tile caching settings globally and
then this setting should apply to all new layers IF you don't set it
specifically at the layer level.

Vera

On Wed., Feb. 10, 2021, 1:52 p.m. Brad Hards, <br...@frogmouth.net> wrote:

> Maybe you could try updating.
>
>
>
> I was looking for exact versions to try to reproduce it. If you’d told me
> that, I might have tried.
>
>
> Good luck.
>
>
>
> Brad
>
>
>
> *From:* David Haynes <hayne...@gmail.com>
> *Sent:* Thursday, 11 February 2021 7:38 AM
> *To:* Brad Hards <br...@frogmouth.net>
> *Cc:* GeoServer Mailing List List <geoserver-users@lists.sourceforge.net>
> *Subject:* Re: [Geoserver-users] Preview VectorTileService
>
>
>
> Our setup is Geoserver 2.16 and the vector tiles extension.
>
>
>
> When using the preview of the mapbox, this is the error that I receive in
> the logs. The layer is a SQL view connected to a PostgreSQL database.
>
> Request: getServiceInfo
> 2021-02-10 14:15:07,097 WARN [wms.mapbox] - Cannot obtain numeric id from
> featureId: us_states_simplified.fid-76c64c7d_1778d31b3e1_17be
> 2021-02-10 14:15:07,099 WARN [wms.mapbox] - Cannot obtain numeric id from
> featureId: us_states_simplified.fid-76c64c7d_1778d31b3e1_17bf
> 2021-02-10 14:15:07,102 WARN [wms.mapbox] - Cannot obtain numeric id from
> featureId: us_states_simplified.fid-76c64c7d_1778d31b3e1_17c0
> 2021-02-10 14:15:07,106 WARN [wms.mapbox] - Cannot obtain numeric id from
> featureId: us_states_simplified.fid-76c64c7d_1778d31b3e1_17c1
>
>
>
> I did edit the layer "tile caching" an enabled more data types (mapbox
> vector tiles, topo json etc). Do I have to do this for each layer or is it
> something that can be done at the store or workspace level?
>
> Now in the main menu --> Tile Cachin --> I can now select the pwb for a
> layer.
>
>
>
>
>
>
>
> On Wed, Feb 10, 2021 at 2:07 PM Brad Hards <br...@frogmouth.net> wrote:
>
> Exactly which versions of the extensions and geoserver did you install?
>
>
>
> What do the logs show when you do the preview for each format?
>
>
>
> Brad
>
>
>
> *From:* David Haynes <hayne...@gmail.com>
> *Sent:* Thursday, 11 February 2021 5:46 AM
> *To:* GeoServer Mailing List List <geoserver-users@lists.sourceforge.net>
> *Subject:* [Geoserver-users] Preview VectorTileService
>
>
>
> Hello,
>
>
>
> I'm trying to incorporate vector tiles into a webmap. I have installed the
> appropriate extensions and Geoserver 2.16. I believe I have installed the
> correct extensions because under layer preview I can see both the mapbox
> vector tiles and the topojson vector tiles.
>
>
>
> However, I can't preview the vector tiles. When I select either of these
> options I don't get an image. The topojson is viewable in the browser and
> seem like it could be consumed by open layers. However, the mapbox file
> seems unreadable. How can I preview the vector tiles and what is the
> documentation to describe how to get the *.pbf format.
>
>
>
>
>
> _______________________________________________
> 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