GithubHelp home page GithubHelp logo

ixabrjnko / fairmaps Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fairdatasociety/galileo

0.0 0.0 0.0 1.38 MB

License: GNU General Public License v3.0

JavaScript 79.66% HTML 2.03% CSS 17.93% Shell 0.07% Dockerfile 0.30%

fairmaps's Introduction

How to test map with local FairOS?

  1. Follow "How to create and share your own map?" instruction

  2. Go to /web/ folder, copy .example.env => .env, public/example.scene.yaml => public/scene.yaml, run yarn, yarn start

  3. Sign in with your FairOS credentials on web project

How to create and share your own map?

  1. Start Bee node (only 0.5.2 version works correctly at this moment)

  2. Start dfs server (https://github.com/fairDataSociety/fairOS-dfs, 0.5.2 without multipods support)

  3. Download GeoJSON files of specific region with script: https://gist.github.com/IgorShadurin/afdc91d2f21cc8154e24da02d1805813 or use other sources to make GeoJSON files: osm_tiles_downloader.py 46.06902628310932 14.507817723324576

  4. Convert .json files to .csv file with script /scripts/json-files-to-csv.js

  5. Start dfs-cli. Create new user, pod, kv. Preferred name for pod [country]_[author]_map, preferred name for kv map

  6. Upload .csv to creates key-value storage kv loadcsv [[your_kv]] /Users/[[username]]/Downloads/map_sw.csv (~30-50 minutes for 500mb file)

  7. Run pod share [[pod_name]] and receive reference like that 2ce7f6aa5995a476c2ee9febd771b832dcc2f9e679ec5d737e81603e7728df4f515b1bd4eed08001a5f0be3b031d184509e92f2af7d34571faf4208fadf3ad58

  8. Share you reference with other users!

Other

Tile files example:

Switzerland: https://testeron.pro/osm/tiles_sw.zip

Czech Republic: https://testeron.pro/osm/tiles_cz.zip

Csv tiles example:

Switzerland: https://testeron.pro/osm/map_sw.csv.zip

Czech Republic: https://testeron.pro/osm/map_cz.csv.zip

Download tiles: https://gist.github.com/IgorShadurin/afdc91d2f21cc8154e24da02d1805813

Make tiles: https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service

fairmaps's People

Contributors

igorshadurin avatar

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.