https://github.com/neuralcortex/border_generator_swing
Graphical CSV boundary line generator
https://github.com/neuralcortex/border_generator_swing
csv-export csv-import hcm hcm-agreement java openstreetmap osm swing swing-gui swing-gui-application
Last synced: about 1 month ago
JSON representation
Graphical CSV boundary line generator
- Host: GitHub
- URL: https://github.com/neuralcortex/border_generator_swing
- Owner: NeuralCortex
- License: lgpl-2.1
- Created: 2024-03-05T15:20:45.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T15:27:05.000Z (about 2 years ago)
- Last Synced: 2025-03-14T10:14:40.675Z (about 1 year ago)
- Topics: csv-export, csv-import, hcm, hcm-agreement, java, openstreetmap, osm, swing, swing-gui, swing-gui-application
- Language: Java
- Homepage:
- Size: 999 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Border Generator Swing 1.1.0

## Overview
Border Generator Swing is a Java-based application built with the Swing framework, designed to create standardized border lines. It enables users to generate boundary data globally using OpenStreetMap and export it in CSV format.
## Requirements
- An active internet connection is required.
- The application can be launched by double-clicking the JAR file.
- Java Runtime Environment (JRE) or Java Development Kit (JDK) version 24 is required, as Swing is included by default.
## Usage Instructions
### Tab 1: Generating Boundary Data
1. Right-click on the map to select a country or state from the GEO Information table.
2. Specify the desired X-kilometer lines by setting the number and stepping.
3. Save the generated boundary data as a CSV file (saved in the `CSV` directory).
### Tab 2: Processing Boundary Intersections
1. Import the first boundary line (e.g., `France.040.csv`).
2. Import the second boundary line (e.g., `Spain.000.csv`).
3. Identify the first intersection point (marked by red and blue lines) and select it using the context menu.
4. Repeat for the second intersection point.
5. Use the context menu to trim the border to the selected section.
6. Export the trimmed border section as a CSV file.
7. The process is complete.
### Tab 3: Verifying Boundaries
- This tab allows you to visualize constructed boundaries.
- Supports simultaneous display of CSV and HCM format files.
- Right-click on the map to select two points and calculate the distance between them.
## Technologies Used
- **IDE**: [Apache NetBeans 27](https://netbeans.apache.org/)
- **Java SDK**: [Java 24](https://www.oracle.com/java/technologies/downloads/#jdk24-windows)