2
GeoJson으로 변환하려는 CSV 파일이 있습니다.csv에서 GeoJson 만들기 : 어떻게 지오메트리 속성을 설정합니까?
lon,lat,val,id
-97.1589432,25.9642008,0,2690
-97.1682294,25.9761856,0,2691
-97.1775156,25.9881704,0,2692
왜 기하학 NULL 인 나는 다음과 같은 ogr2ogr 명령
ogr2ogr -f GEOJson geo_result.json source.csv
실행하고 나는이 결과
{
"type": "FeatureCollection",
"features": [
{ "type": "Feature", "properties": { "lon": "-97.1589432", "lat": "25.9642008", "val": "0", "id": "2690" }, "geometry": null },
{ "type": "Feature", "properties": { "lon": "-97.1682294", "lat": "25.9761856", "val": "0", "id": "2691" }, "geometry": null },
{ "type": "Feature", "properties": { "lon": "-97.1775156", "lat": "25.9881704", "val": "0", "id": "2692" }, "geometry": null }
]
}
를 얻을? 어떤 값이 & lon인지 ogr2ogr에게 어떻게 알릴 수 있습니까?