easyidp.jsonfile.show_geojson_fields#

easyidp.jsonfile.show_geojson_fields(geojson_path)#

Show geojson properties data, for better setting name_field of read_geojson

Parameters:

geojson_path (: str) – the file path of *.geojson

Example

>>> import easyidp as idp
>>> test_data = idp.data.TestData()

>>> idp.jsonfile.show_geojson_fields(test_data.json.geojson_soy)
 [0] FID    [1] 試験区    [2] ID    [3] 除草剤    [4] plotName    [5] lineNum
---------  ------------  --------  ------------  --------------  -------------
   65       SubBlk 2b       0           有          Enrei-10           1
   97       SubBlk 2b       0           有          Enrei-20           1
   147      SubBlk 2b       0           有        Nakasenri-10         1
   ...         ...         ...         ...            ...             ...
   259        SB 0a         0                    Tachinagaha-10        3
    4         SB 0a         0                    Fukuyutaka-10         3
    1       SubBlk 2a       0           無          Enrei-20           1