GithubHelp home page GithubHelp logo

sanmitsahu / spatial-data-visualization Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 17.68 MB

Capture spatial data, visualize it, do queries on it, and visualize the query results.

Rich Text Format 88.27% Python 11.73%

spatial-data-visualization's Introduction

Spatial Data Visualization

Capture spatial data, visualize it, do queries on it, and visualize the query results.

  1. You need to create (generate) latitude,longitude pairs (ie. spatial coordinates) for 9 locations. One of those will be where your home/apartment/dorm room is. The other eight would have to be spread out - at least 100 feet between adjacent locations (and at most 200 or 300 or even 400 feet between neighboring points)

  2. Now that you have 9 coordinates and their label strings, you are going to create a KML file (.kml format) out of them using a text editor. Specifically, each location will be a 'placemark' in your .kml file (with a label, and coords). Here is more detail. The .kml file with the 9 placemarks is going to be your starter file, for doing visualizations and queries.

3.(a)compute the convex hull for your 9 points [a convex hull for a set of 2D points is the smallest convex polygon that contains the point set]. Use the query's result polygon's coords, to create a polygon in your .kml file (edit the .kml file, add relevant XML to specify the KML polygon's coords). Load this into Google Earth, visually verify that your 9 points are inside the convex hull. (b) compute the three nearest neighbors of your home/apt/dormroom location. Use the query's results, to create three line segments in your .kml file: line(home,neighbor1), line(home,neighbor2), line(home,neighbor3). Verify this looks correct using Google Earth, take a snapshot.

  1. Using Tommy Trojan as the center, compute (don't use GPS!) a set (sequence) of lat-long (ie. spatial) co-ordinates that lie along a pretty Spirograph(TM) curve :) Create a new KML file with these points, visualize it on Google Earth.

spatial-data-visualization's People

Contributors

sanmitsahu avatar

Watchers

 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.