[Geoserver-devel] [JIRA] (GEOS-7522) VectorTiles: MVP external library is doing improper clipping.

David Blasby created an issue

GeoServer / BugGEOS-7522

VectorTiles: MVP external library is doing improper clipping.

Issue Type:

BugBug

Affects Versions:

2.9-beta2, 2.8.3

Assignee:

Unassigned

Components:

Community modules

Created:

27/Apr/16 11:24 PM

Environment:

all

Priority:

MediumMedium

Reporter:

David Blasby

Vector Tiles uses external module https://github.com/ElectronicChartCentre/java-vector-tile

This module does some clipping;
a) it clips inconsistently (polygons are clipped differently than lines/points)
b) its clipping is not robust
c) its clipping uses WKT
d) lines/points are clipped right to the edge of the tile (this doesn’t allow for “thick” styling that goes outside a tile)

NOTE: the geoserver VT module already does the needed clipping so this module is re-clipping already clipped geometries

Also see discussion in;
https://github.com/geoserver/geoserver/pull/1452

They just released 1.0.9 which makes it easy to sub-class and change the clipping behavior.
To do;
a) upgrade to 1.0.9
b) remove the external libraries clipping functionality (via sub-class)

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.5.0#72002-sha1:17539a9)

Atlassian logo