Looks like in this case the MapBox Mime type was registered some time after
the MapBox Vector tile module was created, and the old mime type was never
updated.


>    - 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?)
>
> I don't have a good answer on how many production systems are serving
vector tiles, but I have seen quite a few "demo" apps with geoserver
serving vector tiles (some of which are in the realm of "technically a demo
but effectively being used in production").

>
>    - Are the clients actually caring for the mime type, would they be
>    broken by a change in the mime type?
>
> I don't have a good answer for this one. That said, the GS WMS query
string uses the mime type (notably
&format=application/x-protobuf;type=mapbox-vector) would need changing;
this may be hardcoded in some clients (It is manually set in OpenLayers as
part of the tile URL, so thats fine at least)

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).


I like this approach quite a bit better. If I recall correctly, its not
that difficult to do this in geoserver, although its been a while since I
last tried aliasing mime types so I could be misremembering.


As a bit of an aside, poking around a little it looks like this isn't the
only mime type that geoserver does not abide by:
For GeoJSON tiles we use application/json;type=geojson
<https://github.com/geoserver/geoserver/blob/445625cdad44e79c48682b0c9852e1e2586c018e/src/extension/vectortiles/src/main/java/org/geoserver/wms/geojson/GeoJsonBuilderFactory.java#L14>
(Also, WFS GeoJSON output uses application/json). The actual mime type for
GeoJSON <https://tools.ietf.org/html/rfc7946#section-12>
is application/geo+json. (This is another one that has changed / been
registered relatively recently - August 2016).

Cheers,

Torben

On Tue, Oct 9, 2018 at 7:52 AM Simone Giannecchini <
[email protected]> wrote:

> My bad :)
>
> Regards,
> Simone Giannecchini
> ==
> GeoServer Professional Services from the experts!
> Visit http://goo.gl/it488V for more information.
> ==
> Ing. Simone Giannecchini
> @simogeo
> Founder/Director
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39  333 8128928
>
> 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.
>
> On Tue, Oct 9, 2018 at 4:48 PM Andrea Aime <[email protected]>
> wrote:
> >
> > Hi Simone,
> > here is the GSIP used for graduation:
> > https://github.com/geoserver/geoserver/wiki/GSIP-138
> > the module in the code:
> >
> https://github.com/geoserver/geoserver/tree/master/src/extension/vectortiles
> > and check the "vector tiles" module in the 2.14.0 release for example:
> > http://geoserver.org/release/stable/
> >
> > The mbstyle module is the "MapBox Style" module, adding support for
> MapBox GL styles
> > to be used in GeoServer (same styles to be used in a vector tiles
> client, as a standard compliant
> > fallback for when the client in question cannot do MVT).
> >
> > Cheers
> > Andrea
> >
> >
> > On Tue, Oct 9, 2018 at 4:40 PM Simone Giannecchini <
> [email protected]> wrote:
> >>
> >> On master it is still part of community:
> >>
> https://build.geoserver.org/geoserver/master/community-latest/geoserver-2.15-SNAPSHOT-mbstyle-plugin.zip
> >>
> >> and some goes for 2.14:
> >>
> https://build.geoserver.org/geoserver/2.14.x/community-latest/geoserver-2.14-SNAPSHOT-mbstyle-plugin.zip
> >>
> >> maybe there is a mismatch somewhere or I am missing something.
> >>
> >> Regards,
> >> Simone Giannecchini
> >> ==
> >> GeoServer Professional Services from the experts!
> >> Visit http://goo.gl/it488V for more information.
> >> ==
> >> Ing. Simone Giannecchini
> >> @simogeo
> >> Founder/Director
> >>
> >> GeoSolutions S.A.S.
> >> Via di Montramito 3/A
> >> 55054  Massarosa (LU)
> >> Italy
> >> phone: +39 0584 962313
> >> fax:     +39 0584 1660272
> >> mob:   +39  333 8128928
> >>
> >> 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.
> >> On Tue, Oct 9, 2018 at 3:42 PM Andrea Aime <
> [email protected]> wrote:
> >> >
> >> > On Tue, Oct 9, 2018 at 3:30 PM Simone Giannecchini <
> [email protected]> wrote:
> >> >>
> >> >> Long story short:
> >> >> - mbstyles is a community extension
> >> >
> >> >
> >> > It's an officially supported module since two years ago (main reason
> for this mail).
> >> >
> >> > 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.
> >
> >
> >
> > --
> >
> > 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-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to