Skip to content

Fix GCJ-02 compensation outside mainland China - #2

Open
stmtc233 wants to merge 1 commit into
SherlockChiang:masterfrom
stmtc233:codex/fix-non-mainland-offset
Open

Fix GCJ-02 compensation outside mainland China#2
stmtc233 wants to merge 1 commit into
SherlockChiang:masterfrom
stmtc233:codex/fix-non-mainland-offset

Conversation

@stmtc233

Copy link
Copy Markdown

Summary

  • Do not apply the Maps-only WGS-84 -> GCJ-02 compensation in Hong Kong, Macao, or Taiwan.
  • Replace the broad bounding-box exception with checked-in, simplified OpenStreetMap administrative-boundary polygons.
  • Keep compensation enabled for adjacent mainland coordinates, including Shenzhen and Zhuhai.
  • Document the boundary-data source, attribution, regeneration process, and limitation.

Validation

  • :xposed:testDebugUnitTest
  • :xposed:lintDebug
  • :xposed:assembleDebug

The workflow used JDK 17 and completed successfully: https://github.com/stmtc233/ReLocationReportEnabler/actions/runs/32962229483

Closes #1

@stmtc233
stmtc233 marked this pull request as ready for review August 26, 2026 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Request to add region of fix location

1 participant