locationtech / locationtech/proj4j

Expose area of use

Open
#113 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
Java
Stars
232
Forks
86
PR merge metrics
No merged PRs in 30d

Description

PyProj has this area_of_use CRS property:
https://pyproj4.github.io/pyproj/stable/api/crs/crs.html#pyproj.crs.CRS.area_of_use

It allows to check if a certain extent it within the valid bounds of the CRS, so exceptions can be avoided.
This is quite relevant when dealing with rasters that are larger then the valid area of a CRS. We for instance could use it here:
https://github.com/locationtech/geotrellis/pull/3542

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the proj4j CRS-related APIs and the linked PyProj area_of_use documentation, then compare the referenced Geotrellis use case. Done means proj4j exposes equivalent CRS area-of-use information so callers can check whether an extent falls within valid bounds; the issue does not name a file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.