Skip to content

Commit

Permalink
Disable winding order check
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaczero committed Feb 19, 2024
1 parent 1a4f392 commit b12c5d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion api/v1/tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ def _mvt_encode(bbox: BBox, data: Sequence[dict]) -> bytes:
)

with start_span(description='Encoding MVT'):
return mvt.encode(data, default_options={'extents': MVT_EXTENT})
return mvt.encode(
data,
default_options={
'extents': MVT_EXTENT,
'check_winding_order': False,
},
)


@trace
Expand Down
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from sentry_sdk.integrations.pymongo import PyMongoIntegration

NAME = 'openaedmap-backend'
VERSION = '2.7.1'
VERSION = '2.7.2'
CREATED_BY = f'{NAME} {VERSION}'
WEBSITE = 'https://openaedmap.org'

Expand Down

0 comments on commit b12c5d0

Please sign in to comment.