add base for OpenGL map render engine

This commit is contained in:
Laura Klünder 2017-11-06 11:18:45 +01:00
parent 80fb9e2df7
commit a05c7a5a3c
7 changed files with 108 additions and 20 deletions

View file

@ -6,9 +6,9 @@ from itertools import chain
from typing import Optional
import numpy as np
from PIL import Image
from django.conf import settings
from django.core import checks
from PIL import Image
from shapely.affinity import translate
from shapely.geometry import LineString, Polygon
@ -30,7 +30,7 @@ def check_svg_renderer(app_configs, **kwargs):
checks.Error(
'Invalid SVG renderer: '+settings.SVG_RENDERER,
obj='settings.SVG_RENDERER',
id='c3nav.mapdata.E001',
id='c3nav.mapdata.E002',
)
)
return errors