Skip to content

A Java based library to support Geo files conversions.

License

Notifications You must be signed in to change notification settings

datagraft/geo-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

About

A Java based library to support Geo files conversions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published