Skip to content

Commit

Permalink
更新
Browse files Browse the repository at this point in the history
  • Loading branch information
gisfanmachel committed Nov 5, 2024
1 parent dd5ce09 commit c134521
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions com.vgis.python.gis/vgis_gis/shpTools.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,38 @@ def get_shp_all_feild(shp_file_path):

@staticmethod
# 读取shp数据,获取字段信息(字段名,字段类型)
# Integer int
# Simple 32bit integer.
#
# IntegerList int
# List of 32bit integers.
#
# Real double
# Double Precision floating point.
#
# RealList double
# List of doubles.
#
# String varchar
# String of ASCII chars.
#
# Binary
# Raw Binary data.
#
# Date date
# Date.
#
# Time time
# Time.
#
# DateTime datetime
# Date and Time.
#
# Integer64
# Single 64bit integer.
#
# Integer64List
# List of 64bit integers.
def get_shp_field_info(shp_file_path):
all_data_list = []
ds = ShpFileOperator.open_shape_file(shp_file_path)
Expand Down

0 comments on commit c134521

Please sign in to comment.