Coder Social home page Coder Social logo

3d-road-network-visualization's Introduction

Usage

Enter the root of the project, and use the following code to run the project

./start_spark.sh

Our code can run well in cluster, and there is a same project in there to named "CS226_code". You can also go to that directory and use the code mentioned to start it.

Note

In last line of start script, there are two parameters. The first one is the path to the roadmap dataset. Default is the sample dataset we generated, since the whole data is too big to run. The second parameter is the number of dem data files being used in the project. There are 33 data files in total, and we just use two files to generate the result.

The result of the project will be in the directory "data/output" and "data/output_kml". The "output" saves the output of the spark job and the "output_kml" saves the kml files that we generated based on the result of spark. Finally, we download the kml files and use Google Earth to visualize it.

Some Details

We take 1000000 data from original dataset as sample. There is a limitation of memory in the given cluster, we get error when we try to use the whole dataset.

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.