Hi All. I am trying to visualise on the map a large dataset (could be millions of polygons). I am using pydeck Polygon layers and a pandas dataset. In my case this is an unstructured mesh. It seems that there is limit to the size that can be viewed. Afterwards, I get a pop up with the following message.
It sounds like you might be running into this issue:
This is because we’re transferring data across a websocket, to pass over to the JS side for deck.gl. How much data (in terms of polygons) are you looking to pass the map?
Well, I would like to depict a global unstructured mesh with millions of polygons. I tried to split the mesh in two smaller parts but it didn’t work. Also, I am using a column to reference the fill color (This represents a relevant scalar quantity). So the pandas data frame is
Thanks for following up @brey. Any chance you’ve tried a newer version of Streamlit (0.62 is the newest). We fixed a bug just about a month ago that was causing issues with large files sizes (affecting file_uploader), but I wouldn’t be surprised if the bug was also affecting what you are seeing:
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.