Skip to main content

Find points that intersect a user-definedefined polygon in gdalGDAL

I'm trying to do something that I don't know is possible in gdalGDAL/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the vertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon vertices, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined vertices.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdalGDAL, so I'm not familiar with the best way to do this.

Find points that intersect a user-define polygon in gdal

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the vertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon vertices, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined vertices.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

Find points that intersect a user-defined polygon in GDAL

I'm trying to do something that I don't know is possible in GDAL/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the vertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon vertices, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined vertices.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in GDAL, so I'm not familiar with the best way to do this.

added 2 characters in body
Source Link
user20408
  • 1.5k
  • 1
  • 22
  • 43

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the boundaryvertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon boundaryvertices, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined pointsvertices.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the boundary of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon boundary, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined points.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the vertices of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon vertices, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined vertices.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

deleted 11 characters in body
Source Link
PolyGeo
  • 65.4k
  • 29
  • 114
  • 345

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the boundary of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon boundary, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined points.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

Thank you

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the boundary of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon boundary, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined points.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

Thank you

I'm trying to do something that I don't know is possible in gdal/Python.

I have a list, L, of pre-defined lat/long points that make up a uniform grid.

A user will send me a set of points that make up the boundary of a polygon. This polygon will usually be irregular, not square. Any number of points could make up the polygon boundary, but it will likely not exceed 10 or so.

I would like to:

  1. Create a polygon, P, based on the user-defined points.
  2. Find the lat/long points in L that intersect polygon P.

Is this possible? I don't normally work with vectors in gdal, so I'm not familiar with the best way to do this.

Source Link
user20408
  • 1.5k
  • 1
  • 22
  • 43
Loading