Hi,
we’re playing a bit with vector tiles and I got a report that the VT module is not using the MVT
official mime type.
Checked, indeed it’s registered at https://www.iana.org/assignments/media-types/media-types.xhtml
as “application/vnd.mapbox-vector-tile”, while the current mime exposed by GeoServer is
“application/x-protobuf;type=mapbox-vector”.
The easiest thing is to treat this as a fix and just replace the old with the new. It will require
a few changes in both GeoWebCache and GeoServer.
However, it’s a backwards incompatible change… is it bad thought? Wondering:
- How many systems are in production today serving vector tiles from GeoServer? (I’m guessing not many, judging from the amount of questions on the user list, but does anyone have a clue?)
- Are the clients actually caring for the mime type, would they be broken by a change in the mime type?
I’m guessing that a slightly"better" approach would be to change the format so that it still
accepts the old format if requested, but does not advertise it (this would break only clients going through the
capabilities document, which, in combination with vector tiles usage, might seem less likely than normal).
If I did the latter, and only on master, would anyone be concerned?
Cheers
Andrea
···
== 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.