GithubHelp home page GithubHelp logo

anyway-backend's People

Contributors

arielszabo avatar atalyaalon avatar carmelp16 avatar erangil avatar konstantinkalinowski avatar sa1omon avatar sagivharel avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

anyway-backend's Issues

Create an API that receives a polygon string and extracts all markers information between start and end dates included in the given the polygon area

A new api will be added - acc_in_area_query(pol_str, start_date, end_date)

Parameters info:

  1. start_date, end_date - will be of the format DD-MM-YYYY
  2. pol_str - will be received in the following format: 'SRID=4326;POLYGON(({lon} {lat},{lon} {lat},........,{lonN},{latN}))'. Please note that start point and end point must be equal: i.e. lon=lonN, lat=latN
    e.g.:
    'SRID=4326;POLYGON ((34.956427548329849 32.190520649945768 , 34.956438717295775 32.190465500916261 , 34.956473100856243 32.190295672884091 , 34.956474230624934 32.190290102095439 , 34.956503739170309 32.190144287925804 , 34.956604761938308 32.189644799280735 , 34.956637701891779 32.189483080369165 , 34.95669092067012 32.189213213537847 , 34.956693381913901 32.189200665571747 , 34.956742067811447 32.188953755176051 , 34.956785542901088 32.188739996033597 , 34.956870488451351 32.188325018530051 , 32.190569796988477 , 34.956427548329849 32.190520649945768)) '

Create an API that receives a polygon string and extracts all markers information between start and end dates included in the given the polygon area

#enhancement
1 - Ready
#backend

A new api added - acc_in_area_query(pol_str)

Parameters info:

polygon will be received in the following format: 'POLYGON(({lon} {lat},{lon} {lat},........,{lonN},
{latN}))'
please note that start point and end point must be equal: i.e. lon=lonN, lat=latN
Request format: http://{server url}/markers/polygon?polygon=POLYGON(({lon} {lat},{lon} {lat},........,{lonN}, {latN}))"

e.g.:
'POLYGON ((34.956427548329849 32.190520649945768 , 34.956438717295775 32.190465500916261 , 34.956473100856243 32.190295672884091 , 34.956474230624934 32.190290102095439 , 34.956503739170309 32.190144287925804 , 34.956604761938308 32.189644799280735 , 34.956637701891779 32.189483080369165 , 34.95669092067012 32.189213213537847 , 34.956693381913901 32.189200665571747 , 34.956742067811447 32.188953755176051 , 34.956785542901088 32.188739996033597 , 34.956870488451351 32.188325018530051 , 32.190569796988477 , 34.956427548329849 32.190520649945768)) '

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.