1
GeoJson仕様(https://tools.ietf.org/html/rfc7946)によれば、プロパティの異なる機能は使用できますが、FeatureJSON.readFeatureCollection
を使用してGeoJsonファイルを処理しているときにエラーが表示されるのはno such attribute:tract_boundary
です。GeoJoolsの解析時にそのような属性エラーが発生しない
、ここでは異なる性質を持つ2つの特徴を示す私のファイルの一部は(属性名「tract_boundaryは」第二の特徴のプロパティで表示されます注意してください)です。
{
"type": "Feature",
"properties": {
"clu_identifier": "3ecc54fc-5077-11d6-8e82-00065b4a19c0",
"clu_alt_id": "{5626C60F-23B1-4172-BCFA-842EBDEE776F}",
"data_source": "danna.steffens",
"clu_status": null,
"tract_number": "768",
"last_change_date": 1352656579000,
"last_chg_user_nm": null,
"creation_date": 1113921633000,
"admin_state": "20",
"clu_calculated_acreage": 152.41,
"OBJECTID": 582,
"cropland_indicator_3CM": 1,
"edit_reason": null,
"GlobalId": "{DE7A11AA-BFB6-4DFE-A1D7-D795D7DD7990}",
"SHAPE_STArea__": 1012852.6422872,
"state_code": "20",
"cdist_fips": "2001",
"highly_erodible_land_type_code": "NHEL",
"admin_county": "171",
"clu_classification_code": "2",
"sap_crp": null,
"farm_number": "4384",
"SHAPE_STLength__": 4161.19756459,
"ESRI_OID": 530,
"clu_number": "1",
"data_source_site_identifier": null,
"comments": " ",
"county_code": "171"
},
"geometry": {...
},
{
"type": "Feature",
"properties": {
"farm_number": "4384",
"admin_state": "20",
"tract_number": "5468",
"admin_county": "171",
"tract_boundary": true
},
"geometry": {...
}
任意のアイデア?
あなたはhttp://osgeo-org.1560.x6.nabble.com/GeoJSON-No-such-Attribute-problem-td4950845.htmlを見ましたか? –