You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, but I'm firewalled. It was tileserver with imported https://download.geofabrik.de/europe/poland-latest.osm.pbf tested using nginx, apache2 to display the map (all sitting on the same machine).
As I see the problem is when assertion happens, there is an error generated, so the function that generates the header is omitted.
Commenting out quoted lines masks the problem allowing tileserver to work properly.
It was looking to be a CORS misconfiguration of apache or nginx forcing me to stray...
If I'm understanding werkzeug correctly, it looks like it might be difficult to add headers to its exceptions, unfortunately. We used to run tileserver behind a proxy, would it be possible for you to do the same? That way you can ensure that CORS headers are present on all the responses.
Hello,
in case of error situation:
env/lib/python2.7/site-packages/tilequeue/process.py
min_zoom = output_props.get('min_zoom')
assert min_zoom is not None,
'Missing min_zoom in layer %s' % layer_name
the CORS „Access-Control-Allow-Origin” header is not generated...
Sincerely
Gregers
The text was updated successfully, but these errors were encountered: