Giter VIP home page Giter VIP logo

spatial-queries-using-apache-sedona-and-delta-lake's Introduction

spatial-queries-using-Apache-Sedona-and-Delta-Lake

Input Data: The point dataset (testpoint.csv) consists of coordinates (x,y) of various points while the polygon dataset (testenvelope.csv) consists of coordinates of two diagonal points(x1, y1, x2, y2) of rectangles.

  1. Read the given testpoint.csv file in csv format. Write the points whose two attributes are all larger than 500 in delta format and save it named firstpointdata i.e., firstPointQuery()
  2. Read the firstpointdata in delta format. Print the total count of the points i.e., secondPointQuery()
  3. Read the given testenvelope.csv in csv format. Write the polygons whose four attributes are all larger than 900 in delta format and save it named firstpolydata i.e., firstPloygonQuery()
  4. Read the firstpolydata in delta format. Print the total count of the polygon i.e., secondPolygonQuery()
  5. Read the firstpointdata and firstpolydata in delta format. Find the total count for point pairs where the distance between the points within a pair is less than 2, and both points are within some rectangles from firstpolydata. Note the two points do not need to be in the same rectangle i.e., JoinQuery()

spatial-queries-using-apache-sedona-and-delta-lake's People

Contributors

sjyothul avatar

Stargazers

 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.