Re: [Geoserver-users] Mapbox vector tile cache

2017-07-19 Thread Nuno Oliveira

+1

Issue created: https://osgeo-org.atlassian.net/browse/GEOS-8228

On 07/19/2017 02:51 PM, Andrea Aime wrote:

Agreed. Can anyone open a bug report?

Cheers
Andrea

Il 19 lug 2017 3:48 PM, "Jason Newmoyer" > ha scritto:

I think we should consider this a bug. If metatiling doesn't apply to 
Vector Tiles under any circumstances then it shouldn't effect it.


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424 
ja...@newmoyergeospatial.com 



On Tue, Jul 18, 2017 at 10:08 PM, Ben Jerrim > wrote:

Thanks guys... that took a while to understand!

Hopefully this thread helps the next person.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5328321.html 

Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 


Geoserver-users@lists.sourceforge.net 

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





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 


Geoserver-users@lists.sourceforge.net 

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





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
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

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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named 

Re: [Geoserver-users] Mapbox vector tile cache

2017-07-19 Thread Andrea Aime
Agreed. Can anyone open a bug report?

Cheers
Andrea

Il 19 lug 2017 3:48 PM, "Jason Newmoyer"  ha
scritto:

I think we should consider this a bug. If metatiling doesn't apply to
Vector Tiles under any circumstances then it shouldn't effect it.


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424 <(843)%20606-0424>
ja...@newmoyergeospatial.com



On Tue, Jul 18, 2017 at 10:08 PM, Ben Jerrim 
wrote:

> Thanks guys... that took a while to understand!
>
> Hopefully this thread helps the next person.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabbl
> e.com/Mapbox-vector-tile-cache-tp5327585p5328321.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-19 Thread Jason Newmoyer
I think we should consider this a bug. If metatiling doesn't apply to
Vector Tiles under any circumstances then it shouldn't effect it.


Jason Newmoyer
Newmoyer Geospatial Solutions
843.606.0424
ja...@newmoyergeospatial.com



On Tue, Jul 18, 2017 at 10:08 PM, Ben Jerrim 
wrote:

> Thanks guys... that took a while to understand!
>
> Hopefully this thread helps the next person.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Mapbox-vector-tile-cache-tp5327585p5328321.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-18 Thread Ben Jerrim
Thanks guys... that took a while to understand! 

Hopefully this thread helps the next person. 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5328321.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-18 Thread Dave Blasby
I think so - metatiling doesn't make any sense for VTs.  I thought it was
automatically disabled...

Dave

On Tue, Jul 18, 2017 at 11:12 AM, Nuno Oliveira <
nuno.olive...@geo-solutions.it> wrote:

> Ah! I didn't think about that. So since meta tiling is enabled by default
> (4x4)
> this means that for using vector tiles with GWC in the best conditions
> meta
> tiling should deactivated (set to 1x1) ?
>
>
> On 07/18/2017 06:13 PM, Dave Blasby wrote:
>
> Hi, Ben,
>
> Metatiling doesn't work with Vector Tiles.  Metatiling, basically, has the
> WMS create an image 4* (in both directions) as large and then GWC breaks it
> into 16 smaller images.   This helps with labelling.
>
> You cannot (easily) cut up vector tiles, so you cannot do this with vector
> tiles (only with image tiles).
>
> Dave
>
> On Tue, Jul 18, 2017 at 1:02 AM, Ben Jerrim 
> wrote:
>
>> Had some time to pick this up again today and have found that it's the
>> tile
>> seeding process that's causing me issues, or more accurately the use of
>> metatiling with vector tiles. Once the tiles are seeded with a metatileing
>> factor of 1x1 i get a 100% HIT on the cache as expected using WMTS. If i
>> leave Metatiling at the default 4x4 i get far fewer cached tiles (as
>> expected) and very few HITs to the cache.
>>
>> For example, at zoom 10 with EPSG:900913:
>> Metatile 4x4 - cache seed generates 35 tiles for my layer
>> Metatile 1x1 - cache seed generates 589+ tiles (~35*4*4?)
>>
>> Is this the expected behaviour? Have i missed something (again)? Is this a
>> bug?
>>
>> It's not really an issue for me to run with the 1x1 metatiling but it does
>> slow the seeding process down significantly.
>>
>> Thoughts?
>>
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/Mapbox-vector-tile-cache-tp5327585p5328202.html
>> Sent from the GeoServer - User mailing list archive at Nabble.com.
>>
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> 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
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> ___
> 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
> Geoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
> Regards,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
> for more information.
> ==
>
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313 <+39%200584%20962313>
> fax:  +39 0584 1660272 <+39%200584%20166%200272>
> http://www.geo-solutions.ithttp://twitter.com/geosolutions_it
>
> ---
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
> file/s allegato/i sono da considerarsi strettamente riservate. Il loro 
> utilizzo è consentito esclusivamente al destinatario del messaggio, per le 
> finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio 
> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia 
> via e-mail e di procedere alla distruzione del messaggio stesso, 
> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo 
> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per 
> finalità diverse, costituisce comportamento contrario ai principi dettati dal 
> D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for 
> the attention and use of the named addressee(s) and may be confidential or 
> proprietary in nature or covered by the provisions of privacy act 
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection 
> Code).Any use not in accord with its purpose, any 

Re: [Geoserver-users] Mapbox vector tile cache

2017-07-18 Thread Nuno Oliveira

Ah! I didn't think about that. So since meta tiling is enabled by default (4x4)
this means that for using vector tiles with GWC in the best conditions meta
tiling should deactivated (set to 1x1) ?

On 07/18/2017 06:13 PM, Dave Blasby wrote:

Hi, Ben,

Metatiling doesn't work with Vector Tiles. Metatiling, basically, has the WMS 
create an image 4* (in both directions) as large and then GWC breaks it into 16 
smaller images.   This helps with labelling.

You cannot (easily) cut up vector tiles, so you cannot do this with vector 
tiles (only with image tiles).

Dave

On Tue, Jul 18, 2017 at 1:02 AM, Ben Jerrim > wrote:

Had some time to pick this up again today and have found that it's the tile
seeding process that's causing me issues, or more accurately the use of
metatiling with vector tiles. Once the tiles are seeded with a metatileing
factor of 1x1 i get a 100% HIT on the cache as expected using WMTS. If i
leave Metatiling at the default 4x4 i get far fewer cached tiles (as
expected) and very few HITs to the cache.

For example, at zoom 10 with EPSG:900913:
Metatile 4x4 - cache seed generates 35 tiles for my layer
Metatile 1x1 - cache seed generates 589+ tiles (~35*4*4?)

Is this the expected behaviour? Have i missed something (again)? Is this a
bug?

It's not really an issue for me to run with the 1x1 metatiling but it does
slow the seeding process down significantly.

Thoughts?






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5328202.html 

Sent from the GeoServer - User mailing list archive at Nabble.com.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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 


Geoserver-users@lists.sourceforge.net 

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





--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
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

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


--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either 

Re: [Geoserver-users] Mapbox vector tile cache

2017-07-18 Thread Dave Blasby
Hi, Ben,

Metatiling doesn't work with Vector Tiles.  Metatiling, basically, has the
WMS create an image 4* (in both directions) as large and then GWC breaks it
into 16 smaller images.   This helps with labelling.

You cannot (easily) cut up vector tiles, so you cannot do this with vector
tiles (only with image tiles).

Dave

On Tue, Jul 18, 2017 at 1:02 AM, Ben Jerrim  wrote:

> Had some time to pick this up again today and have found that it's the tile
> seeding process that's causing me issues, or more accurately the use of
> metatiling with vector tiles. Once the tiles are seeded with a metatileing
> factor of 1x1 i get a 100% HIT on the cache as expected using WMTS. If i
> leave Metatiling at the default 4x4 i get far fewer cached tiles (as
> expected) and very few HITs to the cache.
>
> For example, at zoom 10 with EPSG:900913:
> Metatile 4x4 - cache seed generates 35 tiles for my layer
> Metatile 1x1 - cache seed generates 589+ tiles (~35*4*4?)
>
> Is this the expected behaviour? Have i missed something (again)? Is this a
> bug?
>
> It's not really an issue for me to run with the 1x1 metatiling but it does
> slow the seeding process down significantly.
>
> Thoughts?
>
>
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Mapbox-vector-tile-cache-tp5327585p5328202.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> 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
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-18 Thread Ben Jerrim
Had some time to pick this up again today and have found that it's the tile
seeding process that's causing me issues, or more accurately the use of
metatiling with vector tiles. Once the tiles are seeded with a metatileing
factor of 1x1 i get a 100% HIT on the cache as expected using WMTS. If i
leave Metatiling at the default 4x4 i get far fewer cached tiles (as
expected) and very few HITs to the cache. 

For example, at zoom 10 with EPSG:900913: 
Metatile 4x4 - cache seed generates 35 tiles for my layer 
Metatile 1x1 - cache seed generates 589+ tiles (~35*4*4?)

Is this the expected behaviour? Have i missed something (again)? Is this a
bug?

It's not really an issue for me to run with the 1x1 metatiling but it does
slow the seeding process down significantly. 

Thoughts? 






--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5328202.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-13 Thread Ben Jerrim
Ah, i see two very different things on your request string. You're using the
WMTS service and addressing GWC directly. I was using WMS for my vector tile
requests and expecting the geoserver integration with geowebcache to handle
the cache lookup. 

I've updated my requests to use the WMTS and directed them at
/gwc/service/wmts and things seem to be working better. Still some more
testing todo but it's looking promising! 

Thanks Nuno



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5327717.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-12 Thread Nuno Oliveira

Hi,

I just made a test with trunk GeoServer, I basically perform this request 
several times:

http://localhost:8075/geoserver/gwc/service/wmts?REQUEST=GetTile=WMTS=1.0.0=sf:AggregateGeoFeature==EPSG:4326:6=EPSG:4326=application/x-protobuf;type=mapbox-vector=78=7

and once the needed tiles are cached I always get an HIT (100% hit).

If you want to put a breakpoint the code responsible for updating the hits is 
this one:
https://github.com/nmco/geowebcache/blob/adf4f9ccf59a5124986093d8fa04471c5e6feee8/geowebcache/core/src/main/java/org/geowebcache/conveyor/ConveyorTile.java#L240-L244

So maybe you are hitting some strange corner case or a issue specific to your 
GS version.
That say I don't know much about the vector tiles format so maybe someone will 
have a better feedback.

If you don't get any more feedback, I would go ahead and open an issue with 
enough data and steps to reproduce it:
https://osgeo-org.atlassian.net/projects/GEOS/summary

Regards,

Nuno Oliveira

On 07/12/2017 01:08 PM, Ben Jerrim wrote:

Hey Nuno, if i seed the layer for png8 and request these tiles, i get a 100%
HIT on the cache for the requests. If i seed the same layer for the
mapbox-vector format I get about a 10% HIT on the cache. Apart from the
format value, the request query string is identical. I'm using the default
'line' style in both cases.

It does seem very strange.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5327598.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

Geoserver-users@lists.sourceforge.net

Re: [Geoserver-users] Mapbox vector tile cache

2017-07-12 Thread Ben Jerrim
Hey Nuno, if i seed the layer for png8 and request these tiles, i get a 100%
HIT on the cache for the requests. If i seed the same layer for the
mapbox-vector format I get about a 10% HIT on the cache. Apart from the
format value, the request query string is identical. I'm using the default
'line' style in both cases. 

It does seem very strange. 





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585p5327598.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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


Re: [Geoserver-users] Mapbox vector tile cache

2017-07-12 Thread Nuno Oliveira

Hi,

The type of used data store (vector tiles in this case) per se should not have 
any impact
on the GWC number of hits / misses.

GWC will request from the data store the needed tiles, store them and try to 
map them
with future requests. If a request doesn't match any existing tiles then GWC 
will request
the needed tiles from the data store store them an answer the request.

So if I understand your issue correctly, you seeded the layer before for png8 
format but
10% of the requests are a miss ?

The best way to troubleshot this issue is trying different combinations of 
requests and
try to understand if a particular format or other parameter is forcing a miss.

For example if using a different image format like JPEG did the miss happen ?
The used style is the same for both ?

Regards,

Nuno Oliveira

On 07/12/2017 11:42 AM, Ben Jerrim wrote:

Hello, wondering if anyone has used the integrated GWC much for vector tiles?
I've been trying to get it running but am experiencing some odd results. I'm
seeing requests return a MISS for vector tiles that work fine (HIT) if
requested as a png8. I'm seeding the cache for both formats in advance yet
only about 10% of my vector requests return HIT. No MISS Reason header is
provided in the response for the MISS tiles.

Running GS 2.11 on Tomcat 8.5.6.

Any ideas? Not really sure how to even troubleshoot this.





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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



--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.
 
The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility  for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

Geoserver-users@lists.sourceforge.net

[Geoserver-users] Mapbox vector tile cache

2017-07-12 Thread Ben Jerrim
Hello, wondering if anyone has used the integrated GWC much for vector tiles?
I've been trying to get it running but am experiencing some odd results. I'm
seeing requests return a MISS for vector tiles that work fine (HIT) if
requested as a png8. I'm seeding the cache for both formats in advance yet
only about 10% of my vector requests return HIT. No MISS Reason header is
provided in the response for the MISS tiles. 

Running GS 2.11 on Tomcat 8.5.6. 

Any ideas? Not really sure how to even troubleshoot this. 





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapbox-vector-tile-cache-tp5327585.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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

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