Skip to content

Latest commit

 

History

History
43 lines (26 loc) · 4.46 KB

README.md

File metadata and controls

43 lines (26 loc) · 4.46 KB

DMatrix Project

This project, named DMatrix, is a Java-based application developed with Spring Boot. It is designed to perform various operations related to Geographical Information Systems (GIS).

Project Structure

The project follows a standard Maven project structure. The main codebase is located under src/main/java/com/gis/. The project is divided into several packages, each serving a specific purpose:

  • config: Contains configuration classes such as DmatrixConfiguration.java.
  • database: Contains classes related to database operations.
  • gmap: Contains classes like DMatrixCrawler.java that interact with Google Maps.
  • optimizer: Contains classes for optimization operations, including OptimizationEngine.java.
  • util: Contains utility classes like FileUtils.java that provide helper methods for the project.

The project also includes unit tests under src/test/java/com/gis/, with tests for the main application in MainTests.java.

Building the Project

The project uses Maven for dependency management and build automation. You can build the project using the provided Maven wrapper scripts:

  • On Unix/Linux/macOS: ./mvnw clean install
  • On Windows: mvnw.cmd clean install

Dependencies

The project uses several dependencies, including:

  • Spring Boot Starter Data JPA: Provides Spring Data JPA related APIs.
  • Spring Boot Starter JDBC: Provides JDBC related APIs.
  • Spring Boot Starter Test: Provides testing capabilities for Spring Boot applications.
  • PostgreSQL JDBC Driver: Allows the application to connect to PostgreSQL databases.

Configuration

The application's configuration is managed through the application.properties file located under src/main/resources/.

Output

The project includes a utility class, FileUtils, which provides methods to output algorithm progress and aggregation data to JSON files.

License

This project is licensed under the Apache License, Version 2.0. You can find more information about this license in the mvnw.cmd file or at http://www.apache.org/licenses/LICENSE-2.0.