Skip to content
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

Replaces EPSG:4326 with OGC:CRS84 in GL JS LngLat doc #11072

Merged
merged 3 commits into from
Oct 15, 2021
Merged

Conversation

domlet
Copy link
Contributor

@domlet domlet commented Sep 30, 2021

Re:

changes

@sgillies noted that EPSG:4326 has historically followed both lng,lat and lat,lng coordinate orders. Referencing such a thing can add to user confusion, so this PR removes a EPSG:4326 reference in the GL JS LngLat doc and replaces it with a reference to OGC:CRS84.

before/after screenshot

screenshot

Launch Checklist

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'

@domlet domlet added docs 📜 skip changelog Used for PRs that do not need a changelog entry labels Sep 30, 2021
@domlet domlet requested review from sgillies, HeyStenson and a team September 30, 2021 20:43
Copy link

@sgillies sgillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domlet it's accurate, I like it. It would also be accurate to only replace EPSG:4326 with OGC:CRS84 in the text, but I think your changes are great 👍

* [GeoJSON specification](https://tools.ietf.org/html/rfc7946).
* These coordinates use longitude, latitude coordinate order (as opposed to latitude, longitude)
* to match the [GeoJSON specification](https://datatracker.ietf.org/doc/html/rfc7946#section-4),
* which is equivalent to the [OGC:CRS84 coordinate reference system](https://datatracker.ietf.org/doc/html/rfc7946#section-4).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Do we need the same link twice?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SnailBones great catch, removed 2nd link in 54201b8 👍🏼

@domlet
Copy link
Contributor Author

domlet commented Oct 1, 2021

@danswick related to https://github.com/mapbox/help/pull/3139#issuecomment-915373648 – do you think there's an opportunity (or need) here to add a link to our projection glossary entry?

@domlet domlet requested review from danswick and removed request for HeyStenson October 1, 2021 17:07
Copy link
Contributor

@SnailBones SnailBones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for this improvement @domlet!

Copy link
Contributor

@HeyStenson HeyStenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@danswick danswick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great! I could honestly go either way wrt linking to the glossary. Whatever you feel is best!

@domlet domlet merged commit 19e7cef into main Oct 15, 2021
@domlet domlet deleted the db-projections branch October 15, 2021 22:25
katydecorah pushed a commit that referenced this pull request Oct 20, 2021
* main:
  Add touch pan blocker to gesture handling for touch devices (#11116)
  Address accessibility issues (#11064)
  add support for non-mercator projections (#11124)
  Image fallback expressions within paint properties (#11049)
  Replaces EPSG:4326 with OGC:CRS84 in GL JS `LngLat` doc (#11072)
  Add globe view support to heatmap shaders (#11120)
  Exclude flaky test (#11118)
  consistify YOUR_MAPBOX_ACCESS_TOKEN as placeholder string (#11113)
  Allow adding multiple layers to `map.on()` event handler (h/t @omerbn) (#11114)
  render-test-flakiness:clear worker storage (#11111)
  upgrade to supercluster v7.1.4, earcut v2.2.3, vt-pbf v3.1.3, geojson-rewind v0.5.1 (#11110)
  Added v1.13.2 changelog entry (#11108)
  One weird JSON.parse() trick (#11098)
  Fixed doc usage of map.getCenter (#11093)
  s̶y̶m̶b̶o̶l̶-̶c̶l̶i̶p̶ dynamic-filtering with `pitch` and `distance-from-camera` expressions (#10795)
  Update link to transpiling guide (#11096)
  Cherry pick 2.5.1 changelog (#11099)
  Fix an iOS15 issue where Safari tab bar interrupts panning (#11084)
  Fix conditional check for isFullscreen to accommodate Safari (#11086)
  Render tests for #11041 (#11070)
@domlet domlet mentioned this pull request Oct 26, 2021
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs 📜 skip changelog Used for PRs that do not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants