Skip to content

nikolaybespalov/gt-ozi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gt-ozi

Build Status Codacy Badge Codacy Badge Maven Central

GeoTools plugin that allows you to use OziExplorer spatial reference file(.map) in your Java application.

This code is based on an implementation from GDAL.

OziExplorer

It's as easy as reading any other map file

    File mapFile = new File("World.map");
    
    AbstractGridFormat oziFormat = GridFormatFinder.findFormat(mapFile);

    AbstractGridCoverage2DReader oziReader = oziFormat.getReader(mapFile);
    
    GridCoverage2D coverage2D = oziReader.read(...);

Just add dependency to your pom.xml

    <dependency>
        <groupId>com.github.nikolaybespalov</groupId>
        <artifactId>gt-ozi</artifactId>
        <version>${gt-ozi.version}</version>
        <scope>runtime</scope>
    </dependency>

Or to your build.gradle

    dependencies {
        runtime("com.github.nikolaybespalov:gt-ozi:${gt-ozi.version}")
    }

And your project will be able to work with .map files!

Supported projections

  • Latitude/Longitude
  • Mercator
  • Transverse Mercator
  • (UTM) Universal Transverse Mercator

Supported datums

All datums from the list are supported.

Supported ellipsoids

All ellipsoids from the list are supported.

What about the .ozf2/.ozf3 files?

Look at imageio-ozf library.

About

GeoTools plugin that allows you to use OziExplorer spatial reference file(.map) in your Java application.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages