
エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
Python × GIS の基礎(その1) - Qiita
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Python × GIS の基礎(その1) - Qiita
from shapely.geometry import Point, LineString, Polygon # ポイント def create_point_geom(x, y): p... from shapely.geometry import Point, LineString, Polygon # ポイント def create_point_geom(x, y): point = Point(x, y) return point # ライン リストを引数に取ります def create_line_geom(points): assert type(points)=="list", "Input should be a list!" assert len(points)>=2, "LineString object requires at least two Points!" line = LineString([points[0], points[1]]) return line # ポリゴン リストを引数に取ります def create_poly_geom(coord