Skip to content

Latest commit

 

History

History
63 lines (42 loc) · 1.79 KB

README.md

File metadata and controls

63 lines (42 loc) · 1.79 KB

Geo converter

This is a simple utility library to transform Geo files into a compatible CSV format.

This library current has support to extract .shp files into .csv files.

Usage

Currently, library has two processing classes

  • GeoShape : To convert .shp files

    GeoShape shape = new GeoShape("absolute path of .shp"); // writes a csv file String csvFilePath =shape.writeCSV(destination path);

  • GeoShapeFromZip : To convert .zip files that should contain .shp and .shx under same location

    GeoShapeFromZip shape = new GeoShapeFromZip("absolute path of .zip"); // writes a csv file String csvFilePath =shape.writeCSV();

Requirements

  • Java 1.8.x
  • Maven 3.x

This is currently under development. Current version is released with minimal functional requirements

🐳 Build

You can build the library using Docker:

$ docker build . -t geo-converter
$ docker run -it --rm -v $(pwd):/mnt geo-converter cp /usr/src/app/target/geo-converter-0.0.1.jar /mnt
$ docker image rm geo-converter

Or Podman:

$ podman build . -t geo-converter
$ podman run -it --rm -v $(pwd):/mnt geo-converter cp /usr/src/app/target/geo-converter-0.0.1.jar /mnt
$ podman image rm geo-converter

Questions or issues?

For posting information about bugs, questions and discussions please use the Github Issues feature.

Core Team

License

Available under the Eclipse Public License (v1.0).