Is it possible to create a shapefile from a csv with pt numbers, lat, lon, elev, and description using js or php?

StackOverflow https://stackoverflow.com/questions/21940556

  •  14-10-2022
  •  | 
  •  

문제

Is it possible to create a shapefile from a csv with pt numbers, lat, lon, elev, and description using js or php? I have looked around and cant find any information.

올바른 솔루션이 없습니다

다른 팁

You could use the ogr2ogr commandline tool to accomplish this. You don't need php. Using a vrt file, you would be able to define the geometry and other columns you want.

Everything you need to know is explained in details here: http://www.gdal.org/ogr/drv_csv.html

ogr2ogr is a tool included in GDAL/OGR library.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top