Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Very small map area can lead to "invalid value" error #90

Open
hholzgra opened this issue Mar 27, 2023 · 0 comments
Open

Very small map area can lead to "invalid value" error #90

hholzgra opened this issue Mar 27, 2023 · 0 comments

Comments

@hholzgra
Copy link
Owner

This error got reported on several attempts to render a rather small area of around 20x20 to 30x30 meters:

Traceback (most recent call last):
  File "/home/maposmatic/maposmatic/scripts/render.py", line 523, in run
    output_count = renderer.render(config, self.job.layout,
  File "/home/maposmatic/ocitysmap/ocitysmap/__init__.py", line 792, in render
    self._render_one(config, tmpdir, renderer_cls,
  File "/home/maposmatic/ocitysmap/ocitysmap/__init__.py", line 921, in _render_one
    surface.finish()
cairo.Error: invalid value (typically too big) for the size of the input (surface, pattern, etc.)

See e.g.: https://print.get-map.org/maps/267097

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant