Code Monkey home page Code Monkey logo

Comments (3)

friedjoff avatar friedjoff commented on June 20, 2024

Hi Nico

Currently the documentation is a bit misleading, sorry for that. If you only want to runt the data transformation script, it is not necessary to add @geops/tree-lib using yarn add .... You just need to clone this repository somwhere on your machine. Can you please try to run yarn install inside the tree-lib directory and afterwards run the yarn run data:... scripts again?

We will update the documentation after testing the data transformation on a new Linux machine. Thanks for testing!

from tree-lib.

ngrubert avatar ngrubert commented on June 20, 2024

I tried the following but the 4rd step (yarn run data:spatial:tile) failed - see below:

% git clone https://github.com/geops/tree-lib
% cd tree-lib
% yarn add prettier --dev --exact
% chmod 666 data/*.json
% vi data/spatial/1-import.sh
-> Uncomment these 2 lines:
#_import "Please download Lucerne dataset manually to data/spatial/NAWALGES_V1_PY/" "NAWALGES_V1_PY"
#_import "Please download modified Lucerne dataset manually to data/spatial/NAWALGES_V1_PY_MOD/" "NAWALGES_V1_PY_MOD"

(1)
% yarn run data:start
[all ok - Done in 28.42s.]

(2)
% mkdir data/spatial/export
% yarn run data:spatial:export
[all ok - Done in 161.58s.]

(3)
% yarn run data:spatial:tile
[all ok - Done in 305.79s.]

(4)
% yarn run data:spatial:fonts

-> Error:
yarn run v1.19.1
$ ./data/spatial/4-fonts.sh
error Command "generate-mapbox-gl-fonts" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
cp: cannot stat β€˜_output/Roboto Regular’: No such file or directory
rm: cannot remove β€˜_output’: No such file or directory
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

from tree-lib.

friedjoff avatar friedjoff commented on June 20, 2024

Hi Nico

Finally we have updated the documentation and fixed some minor hiccups. You can find the new documentation here: https://lib.tree-app.ch/

Thanks for your patience and nice holidays! We're looking forwad to your feedback.

from tree-lib.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.