The scaling difference is to be expected, if memory serves me right it
switched from a 256px grid to a 4096px one,
to get better accuracy especially on hidpi displays, and when oversampling
the last cached level. It's an improvement, not a bug.
Commits here:

   -
   
https://github.com/geoserver/geoserver/commit/743121f2315dd63ae9f7e2dca708af3616065cd7
   -
   
https://github.com/geoserver/geoserver/commit/921ada038b45b016ffb518fc6cd7827f65f3a01a

A proper client displays data in the same position. In my company we have
been using vector tiles with both Leaflet and
Openlayers recently, mostly with out of the box configurations, with no
display issues. The GWC preview can also
display vector tles, using OpenLayers.

Displaying a stand-alone pbf in QGIS does not say much, since the vector
tile itself does not carry its absolute positioning,
which is known by the client only, when asking for the specific tile
(vector tiles are described in screen space, without
knowing the tile matrix set and the tile coordinates, it's just "free
floating").

Cheers
Andrea

On Thu, Nov 14, 2019 at 3:26 PM Maurizio La Mela <maurizio.la.m...@gmail.com>
wrote:

> Hi,
>
>
> after upgrading Geoserver from version 2.13 to version 2.15.3, I have
> encountered an odd issue concerning GWC and MVT:
>
> Mapbox vector tiles (pbf as well as generated mbtiles) that are generated
> by GWC are rendered at the wrong location on the map.
>
> Coordinates, extent, and scaling of vector tiles generated by GS >=2.15.x
> differ greatly from VT that were generated by previous GS versions (GS <=
> 2.14.x).
>
> This deviation can be examined by using the QGIS mapping software.
>
>
> Steps to reproduce this issue by using the topp:tasmania_roads layer:
>
>    1. Enable caching for the topp:tasmania_roads layer
>    2. Generate MVT with GS 2.14 - Use the GWC integration to seed MVT
>    (MIME "application/x-protobuf;type=mapbox-vector") using the default
>    EPSG:900913 gridset
>    3. Generate MVT with GS 2.15 - Use the GWC integration to seed MVT
>    (MIME "application/vnd.mapbox-vector-tile") using the same gridset
>    4. Open QGIS and add one arbitrary pbf-file that was generated by GS
>    2.14 to the QGIS map (Note: "Vector Tiles Reader" plugin must be installed)
>    5. Add the pbf-file that was generated by GS 2.15 and the same
>    coordinate (XYZ) to the map
>    6. Examine if the rendered position, scale and/or extent differ
>
>
> Any help is appreciated.
>
>
> Thanks,
>
> Mauro
> _______________________________________________
> 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
>


-- 

Regards, Andrea Aime == GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information. == Ing. Andrea Aime
@geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054
Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339
8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
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