Skip to content

Large x/y issues #85

@do-me

Description

@do-me

Hey,
I was just hacking around with embedding atlas and thought I could use it as a GIS. And it actually works quite well :D
I'm tinkering around for a contribution to 30daymapchallenge in case you're curious why someone would ever do such a thing:

Image

There is however a simple bug. I have a file with 1M points (x,y,text) that loads fast and perfectly. Everything displays, labels are calculated, density works. I can pan around without issues.
The only thing that breaks everything is when I zoom. One zoom level up or down and all points disappear from the map. No errors in the console, the app remains fluent though. Here is the parquet file.

1M_most_common_word_reduced.parquet.zip

It must be due to the very large x and y values in web mercator projection (EPSG 3857). I normalized the values to a range between 0 and 1 and the problem disappears. This file does not cause any comparable issues:

1M_most_common_word_reduced.parquet.zip

Not sure whether it's within scope to fix this, but I thought I'd let you know.

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