Spatial Data Tutorial with Hibernate & CockroachDB
In this tutorial, we will learn how to create a CLI Dataloader and a spatial REST API using Hibernate and CockroachDB. We will also build a dynamic Trajectories map on top of the REST service. The full source code for this blog post is available on GitHub. First, we will create a CLI Dataloader application to load the GPS trajectory dataset from the Geolife project into CockroachDB. Then, we will create a REST API Trajectory service on top of this database with full CRUD functionality. Finally, we will add a minimal web mapping application on top of that REST service so we can dynamically view the Trajectory data on a map. The tutorial covers creating a CLI Dataloader, using Hibernate and Spring Boot to create a spatial REST API with CRUD functionality, and building a dynamic Trajectories map on top of the REST service. It also discusses limitations and strategies for dealing with large datasets in spatial applications.
Company
Cockroach Labs
Date published
July 16, 2021
Author(s)
Karel Maesen
Word count
2973
Language
English
Hacker News points
None found.