Grid
渔网(栅格)划分
对面域图层进行栅格划分
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
polygon_gdf
|
GeoDataFrame
|
面域GeoDataFrame |
required |
meter_step
|
float
|
栅格边长(米) |
None
|
is_geo_coord
|
bool
|
是否是地理坐标 |
True
|
generate_index
|
bool
|
是否生成行列索引 |
True
|
Returns:
| Type | Description |
|---|---|
GeoDataFrame
|
栅格GeoDataFrame |
Source code in src/gotrackit/tools/grid.py
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | |