Points within polygons in different projectionsWhat kinds of line segments/edges require high accuracy in a true surface-of-the-ellipsoid representation?How to project the result of a QueryTask in ArcGIS Javascript API?Transformation of user-defined projected coordinatesystemsSome terms related to coordinatePartial Map Pixel ProjectionsCalculating closest distances in meters/kilometers given lat/long coordinates?Overlay polygons on raster in different projectionsvoronoi / thiessen different CRSProblems transforming polygon projections inside Shiny appHow to determine if lat/long is within SABS school boundary?

Different PCB color ( is it different material? )

Mother abusing my finances

Beginner's snake game using PyGame

Does `declare -a A` create an empty array `A` in Bash?

How can I prevent interns from being expendable?

Why would Lupin kill Pettigrew?

What are the problems in teaching guitar via Skype?

What does it mean when you think without speaking?

Why is there a need to modify system call tables in linux?

What is the 中 in ダウンロード中?

Creating Fictional Slavic Place Names

What is/are this/these giant NASA box(es)?

Intuition behind eigenvalues of an adjacency matrix

My player wants to cast multiple charges of magic missile from a wand

Asking bank to reduce APR instead of increasing credit limit

Are there regional foods in Westeros?

What was this black-and-white film set in the Arctic or Antarctic where the monster/alien gets fried in the end?

How can I grammatically understand "Wir über uns"?

Is having a hidden directory under /etc safe?

What does the behaviour of water on the skin of an aircraft in flight tell us?

If a problem only occurs randomly once in every N times on average, how many tests do I have to perform to be certain that it's now fixed?

If a massive object like Jupiter flew past the Earth how close would it need to come to pull people off of the surface?

Is floating in space similar to falling under gravity?

Where can I find the list of all tendons in the human body?



Points within polygons in different projections


What kinds of line segments/edges require high accuracy in a true surface-of-the-ellipsoid representation?How to project the result of a QueryTask in ArcGIS Javascript API?Transformation of user-defined projected coordinatesystemsSome terms related to coordinatePartial Map Pixel ProjectionsCalculating closest distances in meters/kilometers given lat/long coordinates?Overlay polygons on raster in different projectionsvoronoi / thiessen different CRSProblems transforming polygon projections inside Shiny appHow to determine if lat/long is within SABS school boundary?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















My silly doubt of the day is the following.



GIVEN. A polygon and a point feature classes in some projection. The points are contained within the polygons



QUESTION. The points are always inside the polygons no matter the projection destination I'm projecting points and polygons to ? (including 'unprojecting' to geographic)










share|improve this question









New contributor



Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    1















    My silly doubt of the day is the following.



    GIVEN. A polygon and a point feature classes in some projection. The points are contained within the polygons



    QUESTION. The points are always inside the polygons no matter the projection destination I'm projecting points and polygons to ? (including 'unprojecting' to geographic)










    share|improve this question









    New contributor



    Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      1












      1








      1








      My silly doubt of the day is the following.



      GIVEN. A polygon and a point feature classes in some projection. The points are contained within the polygons



      QUESTION. The points are always inside the polygons no matter the projection destination I'm projecting points and polygons to ? (including 'unprojecting' to geographic)










      share|improve this question









      New contributor



      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      My silly doubt of the day is the following.



      GIVEN. A polygon and a point feature classes in some projection. The points are contained within the polygons



      QUESTION. The points are always inside the polygons no matter the projection destination I'm projecting points and polygons to ? (including 'unprojecting' to geographic)







      coordinate-system reprojection-mathematics






      share|improve this question









      New contributor



      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question









      New contributor



      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question








      edited 7 hours ago









      Vince

      15k33050




      15k33050






      New contributor



      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 8 hours ago









      SupereshekSupereshek

      61




      61




      New contributor



      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Supereshek is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          2 Answers
          2






          active

          oldest

          votes


















          5














          Some software will use great circle arcs to connect unprojected vertices (sometimes when using a special data type, like PostGIS geography), while projected (or unprojected using the geometry datatype) vertices are connected using straight lines.



          This can result in a point being inside a polygon expressed as geography but outside of it if expressed as geometry



          The following example uses PostGIS. The polygon goes up to latitude 50, the point is at latitude 51.



          WITH poly AS (select ST_GeomFromText('polygon((0 0, 50 0, 50 50, 0 50, 0 0))',4326) as geom),
          pnt AS (select ST_GeomFromText('point(25 51)',4326) as geom)
          SELECT ST_INTERSECTS(poly.geom,pnt.geom) intersect_geometry,
          ST_INTERSECTS(poly.geom::geography,pnt.geom::geography) intersect_geography
          FROM poly, pnt;

          intersect_geometry | intersect_geography
          --------------------+---------------------
          f | t





          share|improve this answer






























            1














            Yes. projections will never reproject a point that was inside a polygon in one projection to be outside it in another--unless there's some sort of precision error. I'm not sure what this property is called in geography, but I just realized it's essentially relativistic invariance, which basically says that as time dilates for us, and our coordinate systems are compressed or stretched, no observer in any given frame will disagree on causal ordering of events. Likewise, no matter in what projection an "observer lives", no one will disagree on what points are in what polygons, even if they disagree on exactly how far the points are from the edges of the polygons, and stuff like that.






            share|improve this answer























            • Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

              – Vince
              7 hours ago







            • 3





              Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

              – J.R
              7 hours ago











            • I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

              – 0mn1
              5 hours ago











            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "79"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );






            Supereshek is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f324171%2fpoints-within-polygons-in-different-projections%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            5














            Some software will use great circle arcs to connect unprojected vertices (sometimes when using a special data type, like PostGIS geography), while projected (or unprojected using the geometry datatype) vertices are connected using straight lines.



            This can result in a point being inside a polygon expressed as geography but outside of it if expressed as geometry



            The following example uses PostGIS. The polygon goes up to latitude 50, the point is at latitude 51.



            WITH poly AS (select ST_GeomFromText('polygon((0 0, 50 0, 50 50, 0 50, 0 0))',4326) as geom),
            pnt AS (select ST_GeomFromText('point(25 51)',4326) as geom)
            SELECT ST_INTERSECTS(poly.geom,pnt.geom) intersect_geometry,
            ST_INTERSECTS(poly.geom::geography,pnt.geom::geography) intersect_geography
            FROM poly, pnt;

            intersect_geometry | intersect_geography
            --------------------+---------------------
            f | t





            share|improve this answer



























              5














              Some software will use great circle arcs to connect unprojected vertices (sometimes when using a special data type, like PostGIS geography), while projected (or unprojected using the geometry datatype) vertices are connected using straight lines.



              This can result in a point being inside a polygon expressed as geography but outside of it if expressed as geometry



              The following example uses PostGIS. The polygon goes up to latitude 50, the point is at latitude 51.



              WITH poly AS (select ST_GeomFromText('polygon((0 0, 50 0, 50 50, 0 50, 0 0))',4326) as geom),
              pnt AS (select ST_GeomFromText('point(25 51)',4326) as geom)
              SELECT ST_INTERSECTS(poly.geom,pnt.geom) intersect_geometry,
              ST_INTERSECTS(poly.geom::geography,pnt.geom::geography) intersect_geography
              FROM poly, pnt;

              intersect_geometry | intersect_geography
              --------------------+---------------------
              f | t





              share|improve this answer

























                5












                5








                5







                Some software will use great circle arcs to connect unprojected vertices (sometimes when using a special data type, like PostGIS geography), while projected (or unprojected using the geometry datatype) vertices are connected using straight lines.



                This can result in a point being inside a polygon expressed as geography but outside of it if expressed as geometry



                The following example uses PostGIS. The polygon goes up to latitude 50, the point is at latitude 51.



                WITH poly AS (select ST_GeomFromText('polygon((0 0, 50 0, 50 50, 0 50, 0 0))',4326) as geom),
                pnt AS (select ST_GeomFromText('point(25 51)',4326) as geom)
                SELECT ST_INTERSECTS(poly.geom,pnt.geom) intersect_geometry,
                ST_INTERSECTS(poly.geom::geography,pnt.geom::geography) intersect_geography
                FROM poly, pnt;

                intersect_geometry | intersect_geography
                --------------------+---------------------
                f | t





                share|improve this answer













                Some software will use great circle arcs to connect unprojected vertices (sometimes when using a special data type, like PostGIS geography), while projected (or unprojected using the geometry datatype) vertices are connected using straight lines.



                This can result in a point being inside a polygon expressed as geography but outside of it if expressed as geometry



                The following example uses PostGIS. The polygon goes up to latitude 50, the point is at latitude 51.



                WITH poly AS (select ST_GeomFromText('polygon((0 0, 50 0, 50 50, 0 50, 0 0))',4326) as geom),
                pnt AS (select ST_GeomFromText('point(25 51)',4326) as geom)
                SELECT ST_INTERSECTS(poly.geom,pnt.geom) intersect_geometry,
                ST_INTERSECTS(poly.geom::geography,pnt.geom::geography) intersect_geography
                FROM poly, pnt;

                intersect_geometry | intersect_geography
                --------------------+---------------------
                f | t






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 7 hours ago









                JGHJGH

                14.3k21439




                14.3k21439























                    1














                    Yes. projections will never reproject a point that was inside a polygon in one projection to be outside it in another--unless there's some sort of precision error. I'm not sure what this property is called in geography, but I just realized it's essentially relativistic invariance, which basically says that as time dilates for us, and our coordinate systems are compressed or stretched, no observer in any given frame will disagree on causal ordering of events. Likewise, no matter in what projection an "observer lives", no one will disagree on what points are in what polygons, even if they disagree on exactly how far the points are from the edges of the polygons, and stuff like that.






                    share|improve this answer























                    • Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                      – Vince
                      7 hours ago







                    • 3





                      Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                      – J.R
                      7 hours ago











                    • I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                      – 0mn1
                      5 hours ago















                    1














                    Yes. projections will never reproject a point that was inside a polygon in one projection to be outside it in another--unless there's some sort of precision error. I'm not sure what this property is called in geography, but I just realized it's essentially relativistic invariance, which basically says that as time dilates for us, and our coordinate systems are compressed or stretched, no observer in any given frame will disagree on causal ordering of events. Likewise, no matter in what projection an "observer lives", no one will disagree on what points are in what polygons, even if they disagree on exactly how far the points are from the edges of the polygons, and stuff like that.






                    share|improve this answer























                    • Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                      – Vince
                      7 hours ago







                    • 3





                      Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                      – J.R
                      7 hours ago











                    • I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                      – 0mn1
                      5 hours ago













                    1












                    1








                    1







                    Yes. projections will never reproject a point that was inside a polygon in one projection to be outside it in another--unless there's some sort of precision error. I'm not sure what this property is called in geography, but I just realized it's essentially relativistic invariance, which basically says that as time dilates for us, and our coordinate systems are compressed or stretched, no observer in any given frame will disagree on causal ordering of events. Likewise, no matter in what projection an "observer lives", no one will disagree on what points are in what polygons, even if they disagree on exactly how far the points are from the edges of the polygons, and stuff like that.






                    share|improve this answer













                    Yes. projections will never reproject a point that was inside a polygon in one projection to be outside it in another--unless there's some sort of precision error. I'm not sure what this property is called in geography, but I just realized it's essentially relativistic invariance, which basically says that as time dilates for us, and our coordinate systems are compressed or stretched, no observer in any given frame will disagree on causal ordering of events. Likewise, no matter in what projection an "observer lives", no one will disagree on what points are in what polygons, even if they disagree on exactly how far the points are from the edges of the polygons, and stuff like that.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered 8 hours ago









                    0mn10mn1

                    283




                    283












                    • Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                      – Vince
                      7 hours ago







                    • 3





                      Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                      – J.R
                      7 hours ago











                    • I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                      – 0mn1
                      5 hours ago

















                    • Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                      – Vince
                      7 hours ago







                    • 3





                      Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                      – J.R
                      7 hours ago











                    • I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                      – 0mn1
                      5 hours ago
















                    Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                    – Vince
                    7 hours ago






                    Well, except for horizon clipping, and discontinuous projections, which might throw a monkey wench in topology.

                    – Vince
                    7 hours ago





                    3




                    3





                    Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                    – J.R
                    7 hours ago





                    Not sure but I think the question come from the way polygon may be incorrectly reprojected as in a big polygon defined by only corner vertex. When reprojecting you will project the corner then reconstruct the polygon by linking the corner with a straight line. In this case a point close to the border could be seen on the other side after reprojecting but that's because the projection is wrong along the length of the side (to prevent that you need to add vertex on the polygon side before reprojecting)

                    – J.R
                    7 hours ago













                    I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                    – 0mn1
                    5 hours ago





                    I hadn't considered horizons or discontinous projections. I guess like in physics geography does have singularities where certain space-time coordinate systems break down; poles are another example.

                    – 0mn1
                    5 hours ago










                    Supereshek is a new contributor. Be nice, and check out our Code of Conduct.









                    draft saved

                    draft discarded


















                    Supereshek is a new contributor. Be nice, and check out our Code of Conduct.












                    Supereshek is a new contributor. Be nice, and check out our Code of Conduct.











                    Supereshek is a new contributor. Be nice, and check out our Code of Conduct.














                    Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f324171%2fpoints-within-polygons-in-different-projections%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Invision Community Contents History See also References External links Navigation menuProprietaryinvisioncommunity.comIPS Community ForumsIPS Community Forumsthis blog entry"License Changes, IP.Board 3.4, and the Future""Interview -- Matt Mecham of Ibforums""CEO Invision Power Board, Matt Mecham Is a Liar, Thief!"IPB License Explanation 1.3, 1.3.1, 2.0, and 2.1ArchivedSecurity Fixes, Updates And Enhancements For IPB 1.3.1Archived"New Demo Accounts - Invision Power Services"the original"New Default Skin"the original"Invision Power Board 3.0.0 and Applications Released"the original"Archived copy"the original"Perpetual licenses being done away with""Release Notes - Invision Power Services""Introducing: IPS Community Suite 4!"Invision Community Release Notes

                    Canceling a color specificationRandomly assigning color to Graphics3D objects?Default color for Filling in Mathematica 9Coloring specific elements of sets with a prime modified order in an array plotHow to pick a color differing significantly from the colors already in a given color list?Detection of the text colorColor numbers based on their valueCan color schemes for use with ColorData include opacity specification?My dynamic color schemes

                    Ласкавець круглолистий Зміст Опис | Поширення | Галерея | Примітки | Посилання | Навігаційне меню58171138361-22960890446Bupleurum rotundifoliumEuro+Med PlantbasePlants of the World Online — Kew ScienceGermplasm Resources Information Network (GRIN)Ласкавецькн. VI : Літери Ком — Левиправивши або дописавши її