[Geoserver-users] Vector Tiles Extension and Gutter Size

Hi,

Your image looks like the symbols which present the vector data are painted over by satellite image raster tiles. The problem may be on the client side and not in the vector tile data. What is your client and how did you create the basemap and overlay layers?

-Jukka Rahkonen-

bigfchdbnjefiinc.png

···

James Banting wrote:

[Geoserver-users] Vector Tiles Extension and Gutter Size

Hi all,

I’m having issues with makers being cut off using the vector tiles extension - pbf to be specific. I’ve set the gutter size on the layer and GWC default to 100 but it doesn’t seem to have any effect.

I’m using Geoserver 2.11.0 and geoserver-2.11.0-vectortiles plugin.

Any thoughts?

Cheers,


James Banting

Looks like your right. I’m using Leaflet 1.0.3 and the vectorgrid extension. I’ll dive into their docs and see whats going on.
The code below is what i used to test.

Thanks,
James

VectorGrid.Protobuf example

bigfchdbnjefiinc.png

···

On 2017-05-31 8:24 AM, Rahkonen Jukka (MML) wrote:

Hi,

Your image looks like the symbols which present the vector data are painted over by satellite image raster tiles. The problem may be on the client side and not in the vector tile data. What is your client and how did you create the basemap and overlay layers?

-Jukka Rahkonen-

James Banting wrote:

[Geoserver-users] Vector Tiles Extension and Gutter Size

Hi all,

I’m having issues with makers being cut off using the vector tiles extension - pbf to be specific. I’ve set the gutter size on the layer and GWC default to 100 but it doesn’t seem to have any effect.

I’m using Geoserver 2.11.0 and geoserver-2.11.0-vectortiles plugin.

Any thoughts?

Cheers,


James Banting

Hi,

The VT code has a fixed-sized gutter. You can control it in the code - its fairly easy to change for a quick test.

I’m not sure how it will work in your case; it looks like the library is aggressively clipping at the tile boundaries (which is likely what it should be doing). I expect you’ll find 2 independent markers for each side of the tile - think there are a few examples in your original picture.

Dave

bigfchdbnjefiinc.png

···

On Wed, May 31, 2017 at 9:34 AM, James Banting <jbanting@anonymised.com> wrote:

Looks like your right. I’m using Leaflet 1.0.3 and the vectorgrid extension. I’ll dive into their docs and see whats going on.
The code below is what i used to test.

Thanks,
James

VectorGrid.Protobuf example

On 2017-05-31 8:24 AM, Rahkonen Jukka (MML) wrote:

Hi,

Your image looks like the symbols which present the vector data are painted over by satellite image raster tiles. The problem may be on the client side and not in the vector tile data. What is your client and how did you create the basemap and overlay layers?

-Jukka Rahkonen-

James Banting wrote:

[Geoserver-users] Vector Tiles Extension and Gutter Size

Hi all,

I’m having issues with makers being cut off using the vector tiles extension - pbf to be specific. I’ve set the gutter size on the layer and GWC default to 100 but it doesn’t seem to have any effect.

I’m using Geoserver 2.11.0 and geoserver-2.11.0-vectortiles plugin.

Any thoughts?

Cheers,


James Banting


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
Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On 2017-05-31 12:43 PM, Dave Blasby wrote:

Hi,

The VT code has a fixed-sized gutter. You can control it in the code
- its fairly easy to change for a quick test.

I'm not sure how it will work in your case; it looks like the library
is aggressively clipping at the tile boundaries (which is likely what
it should be doing). I expect you'll find 2 independent markers for
each side of the tile - think there are a few examples in your
original picture.

The gutter currently being used is only for clipping, not for looking up
geometries. I'm currently looking into making it work more like the
gutter/buffer for raster tiles so it will find features outside the
render area if the style looks like it would give them a big enough
symbol, or based on the buffer parameter.

--
Kevin Michael Smith
<smithkm@anonymised.com>