gt-ozi

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

License

License

GroupId

GroupId

com.github.nikolaybespalov
ArtifactId

ArtifactId

gt-ozi
Last Version

Last Version

0.1.17
Release Date

Release Date

Type

Type

jar
Description

Description

gt-ozi
GeoTools plugin that allows you to use OziExplorer spatial reference file(.map) in your Java application.
Project URL

Project URL

https://github.com/nikolaybespalov/gt-ozi
Source Code Management

Source Code Management

https://github.com/nikolaybespalov/gt-ozi

Download gt-ozi

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.nikolaybespalov/gt-ozi/ -->
<dependency>
    <groupId>com.github.nikolaybespalov</groupId>
    <artifactId>gt-ozi</artifactId>
    <version>0.1.17</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.nikolaybespalov/gt-ozi/
implementation 'com.github.nikolaybespalov:gt-ozi:0.1.17'
// https://jarcasting.com/artifacts/com.github.nikolaybespalov/gt-ozi/
implementation ("com.github.nikolaybespalov:gt-ozi:0.1.17")
'com.github.nikolaybespalov:gt-ozi:jar:0.1.17'
<dependency org="com.github.nikolaybespalov" name="gt-ozi" rev="0.1.17">
  <artifact name="gt-ozi" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.nikolaybespalov', module='gt-ozi', version='0.1.17')
)
libraryDependencies += "com.github.nikolaybespalov" % "gt-ozi" % "0.1.17"
[com.github.nikolaybespalov/gt-ozi "0.1.17"]

Dependencies

compile (6)

Group / Artifact Type Version
org.geotools » gt-coverage jar 19.4
org.geotools » gt-referencing jar 19.4
org.geotools » gt-epsg-hsql jar 19.4
org.apache.commons : commons-lang3 jar 3.7
org.apache.commons : commons-io jar 1.3.2
org.apache.commons : commons-csv jar 1.5

runtime (1)

Group / Artifact Type Version
com.github.nikolaybespalov : imageio-ozf jar 0.1.4

test (7)

Group / Artifact Type Version
com.google.guava : guava jar 25.1-jre
org.geotools » gt-geotiff jar 19.4
org.geotools » gt-sample-data jar 19.4
org.junit.jupiter : junit-jupiter-api jar 5.1.0
org.junit.vintage : junit-vintage-engine jar 5.1.0
org.junit.platform : junit-platform-launcher jar 1.1.0
org.junit.platform : junit-platform-runner jar 1.1.0

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0