deck.gl-layers icon indicating copy to clipboard operation
deck.gl-layers copied to clipboard

Errors during "point" example

Open rmx90210 opened this issue 9 months ago • 1 comments

Hello, and thank you for this awesome project! 🤩

I'm just getting started with deck.gl-layers. I'm running through the point example and thought I would share a few gotchas I ran into as a newcomer.


When fetching the Ookla data: wget isn't installed by default on macOS. I needed to brew install wget first.

suggestion: give a hint to install wget, or use curl which is installed by default on most systems.


When I ran poetry install it failed to install numpy. I believe it's because I had Python 3.12 installed which was incompatible with the locked version of numpy.

suggestion: upgrade numpy, or specify in the README to use Python 3.9.


When I re-ran poetry install using Python 3.9, I got an error:

Error: The current project could not be installed: No file/folder found for package geoarrow-example-point
If you do not want to install the current project use --no-root.
If you want to use Poetry only for dependency management but not for packaging, you can disable package mode by setting package-mode = false in your pyproject.toml file.
If you did intend to install the current project, you may need to set `packages` in your pyproject.toml file.

suggestion: update pyproject.toml per the instruction


After installing the frontend dependencies and running npm run start I got an error:

[vite] Internal server error: Failed to resolve import "@geoarrow/deck.gl-layers" from "app.tsx". Does the file exist?

I'm still working through that one.


I'm looking forward to getting this running and excited to work with deck.gl-layers!

rmx90210 avatar Feb 28 '25 22:02 rmx90210

On the last one, I got around it by running npm run build first from the root directory and changing the following import in the example code:

import { GeoArrowScatterplotLayer } from "@geoarrow/deck.gl-layers";

to

import { GeoArrowScatterplotLayer } from "../../dist";

rmx90210 avatar Feb 28 '25 23:02 rmx90210

https://github.com/geoarrow/deck.gl-layers/pull/150 refactors the point example to be simpler to use by relying on uv for generating data

kylebarron avatar Oct 09 '25 20:10 kylebarron