Queries.txt - /USED PostGIS/query for the convex polygon...

This preview shows page 1 out of 1 page.

//USED PostGIS //query for the convex polygon points select ST_AsText( ST_ConvexHull( ST_Collect( ST_GeomFromText( 'MULTIPOINT (-118.2822144 34.0328498, -118.291601 34.018145, -118.2913338 34.025448, -118.2804111 34.0222574, -118.2824887 34.0186534, -118.2873084 34.0234148, -118.2879992 34.0220318, -118.2892909 34.0209354, -118.2856772 34.0209452, -118.2828989 34.021859)')))); //query to check the nature of polygons on the map select ST_Overlaps(a,b) As a_overlap_b, ST_Crosses(a,b) As a_crosses_b, ST_Intersects(a,b) As a_intersects_b, ST_Contains(b,a) as b_contains_a from ( select ST_GeomFromText( 'POLYGON((-118.2822144 34.0328498, -118.2913338 34.025448, -118.2824887 34.0186534, -118.2804111 34.0222574,
Image of page 1
You've reached the end of this preview.
  • Fall '08
  • Shamsian

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern