Tag: polygon

Mapping Shapefile on Raster Map

raster map 위에 polygon을 생성하는 과정을 정리했습니다. 간단한 작업이지만 4 GB 용량의 raster file을 불러오는 과정과 좌표를 맞추는 과정이 중요합니다. 1. geotiff 읽기 geotiff는 지형과 건물 등 여러 정보를 담은 raster image입니다. 건물 그림자가 담긴 geotiff 파일을 읽고 그 위에 polygon을

Create Shapefile from Polygon Dots

csv 파일에서 읽은 기본 정보를 바탕으로 polygon shapefile을 생성하는 과정입니다. shapely와 fiona를 사용했으며, geopandas 0.8을 설치할 때 함께 설치되는 버전을 사용했습니다. shapely 버전은 1.7, fiona 버전은 1.8.13.post1 입니다. References shapelyfionageopandas

Raster Data Sampling on Polygons

References QGISwikipedia: GeoTIFFwikipedia: ShapefileSampling Raster Data using Points or Polygons QGIS에서 geotiff 등 raster file을 shape file에 투영하는 방법을 정리합니다. 사용한 QGIS의 버전은 3.4.13-Madeira 입니다. 1. Lo