1
PostGISで中心線に沿って平行線を計算する
PostgreSQLデータベースに通り(道路の中心線)とポリゴンテーブルを作成しています。サンプルシナリオは次のとおりです。 問題: 通りの周りの50メートルのバッファーと両側の最も近い建物のポリゴンの交点で、通りに沿った平行線を計算する必要があります。望ましい出力シナリオは次のとおりです。 私が試したこと: 私のアプローチは: 1) Generate 50m buffer around street layer 2) get the intersection of buffer and polygons 3) Compute the distance 4) Draw offset curves (parallel lines) at both sides of street layer 5) Merge both curves to get parallel lines at the intersection これが私の試みです: WITH street_buffer …