Skip to content

Fix: Add hemisphere indicators dbp:latns and dbp:longew for geo coordinates #773

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

haniyakonain
Copy link

Summary

This PR addresses issue #544 by including hemisphere indicators for geographic coordinates.

What was changed

  • Added dbp:latns and dbp:longew properties based on the sign of latitude and longitude.
  • If latitude is negative, latns = S; else latns = N.
  • If longitude is negative, longew = W; else longew = E.

Impact

This enhances support for Infobox settlement and ensures DBpedia extracts latns and longew correctly, improving compatibility with templates using these fields.

Let me know if further changes or tests are needed!

Copy link

sonarqubecloud bot commented Apr 6, 2025

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.

1 participant