Jamie
Jamie

Reputation: 135

Java library for coordinate conversions

I'm in need of a library which supports the following conversions:

I've found a package in Openmap.jar which supports this, but I'd prefer to not add such a large dependency to my application (~3.6MB jar). Has anyone had experience with repackaging this jar or another library which provides the same support?

Upvotes: 0

Views: 1795

Answers (2)

Thor
Thor

Reputation: 6656

Look at the PROJ.4 (Java Map Projection Library) or Java Topology Suite, both provide very good for 2D spatial operations.

Upvotes: 0

Louis Wasserman
Louis Wasserman

Reputation: 198581

If you're concerned about output JAR size, ProGuard is what I use -- it eliminates bits of libraries that you're not using quite effectively.

Upvotes: 1

Related Questions