1. Using Mapbox basemap on Cartoframes
from cartoframes.viz import *
from cartoframes.viz import basemaps
Map([
Layer(ftgdf, color_continuous_style('AWATER20')),
Layer(house_gdf, color_continuous_style('price'))
], basemap=basemaps.voyager)
sample basemaps you may try:
streetmap = {
'style': 'mapbox://styles/mapbox/streets-v9',
'token': 'pk.something'
}
mybasemap = {
#'style': 'mapbox://styles/mapbox/streets-v9',
'style': 'mapbox://styles/mapbox/satellite-v9',
'token': 'pk.something'
}
2. Geopandas convex hull of geometries
house_hull = house_gdf.geometry.unary_union.convex_hull
'GIS Tech > GIS Data Process' 카테고리의 다른 글
OpenStreetMap에서 POI 크롤링 (0) | 2024.06.03 |
---|---|
folium HeatMapWithTime 이용하기 (0) | 2021.02.15 |
생활인구 시각화 (0) | 2021.01.22 |
Python (GIS+General) Tip 모음 (5) | 2021.01.11 |
주요 좌표계 활용 방법 (TM, UTM-K, KATEC) (0) | 2021.01.11 |
댓글