Select to view content in your preferred language

Polygon changing during projection

334
1
10-05-2022 08:39 AM
AaronFortener
New Contributor

Riddle me this.  I have a polygon (here ) when I query for it with no specific SRID everything looks fine.

Taking the same polygon and requesting it in 4326 appears to totally change the shape to encompass the world.  Here

Any ideas how to recognize this situation and avoid them?

0 Kudos
1 Reply
RichardHowe
Frequent Contributor

Does your polygon only have 4 vertices? Because  a re-projection only moves the vertices and still draws straight lines between them. I've seen this cause re-projection issues, like the one you describe, before. If you can densify the polygon, adding extra vertices along straight edges, you tend to get a better re-projection result.

0 Kudos