Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Genesys Backend
Genesys Backend
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 46
    • Issues 46
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Genesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #420

Closed
Open
Opened Feb 14, 2019 by Matija Obreza@mobrezaOwner

Spatial data

We'd like to make spatial (polygon) queries for accessions in Genesys.

Use case

https://www.genesys-pgr.org/explore/map has the Select area that allows user to select a rectangle (min&max for accession collecting site latitude&longitude). If we allow user to select a polygon (https://leafletjs.com/reference-1.4.0.html#polygon), can the API make a query to the database to find accessions where accessionGeo is inside the selected polygon?

  • https://mariadb.com/kb/en/library/geographic-geometric-features/
  • https://www.baeldung.com/hibernate-spatial

Other cases

  • FaoInstitute location has lat&long
Edited Feb 14, 2019 by Matija Obreza
Assignee
Assign to
2.5
Milestone
2.5
Assign milestone
Time tracking
None
Due date
None
Reference: genesys-pgr/genesys-server#420