我希望使用 PostGIS 选择多边形内的所有点,但这个问题是关于定义实际的多边形。
我正在定义一个基于大圆的多边形,该大圆由地球表面上由纬度和经度坐标定义的两个点指定。我所追求的多边形应该由中心线左右的宽度来定义(中心线是由大圆构成的线),
所得的形状将是一个长弯曲的矩形形状。
目的是选择大圆线 x 距离内的所有点。
I wish to use PostGIS to select all the points within a polygon, but this question is about defining the actual polygon.
I'm looking to define a polygon that is based on a great circle, specified by two points on the earths surface defined by latitude and longitude coordinates. The polygon that I'm after should be defined by a width left and right of the the center line (the center line being the line made by the great circle)
The resulting shape would be a long curved rectangular shape.
The purpose being to select all the points within x distance of the great circle line.
发布评论
评论(1)
我认为您对正在处理的数据类型感到困惑,如果您使用等距投影,您可以使用像这样简单的东西:
postgis 邮件列表 对您有用。
I think you are confused about the kind of data you are dealing with, if you use a equidistant projection you could use something as simple as this:
There is an old discussion in the postgis mail list that will be useful to you.