Skip to content

Math domain error #4

@sethfitz

Description

@sethfitz

Key to look up in m2i for zoom/extent: watercolor_h8vqbF00cW0

Traceback (most recent call last):
  File "queue_popper_multi.py", line 71, in main
    ms.process_map(db_item,msg)
    map = self.create_map(db_item,provider,mime_type,dim)
    roughZoom = ModestMaps.mapByExtent(provider, se, nw, dim)
Processing... watercolor_h8vqbF00cW0
  File "/app/mapsettings.py", line 232, in create_map
  File "/app/ModestMaps/__init__.py", line 119, in mapByExtent
    mapCoord, mapOffset = calculateMapExtent(provider, dimensions.x, dimensions.y, locationA, locationB)
  File "/app/mapsettings.py", line 273, in process_map
  File "/app/ModestMaps/__init__.py", line 179, in calculateMapExtent
    hZoomDiff = math.log(hFactor) / math.log(2)
None
ValueError: math domain error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions