Converts a CSV file into a point shapefile

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Sub ConvertCsvToShapeFile ( _
	csvPath As String, _
	shapefilePath As String, _
	xCoordFieldName As String, _
	yCoordFieldName As String, _
	matchFieldsExact As Boolean, _
	progressHandler As ConvertShapeFileProgress, _
	trimQuotesFromValues As Boolean _
)
C#
public static void ConvertCsvToShapeFile(
	string csvPath,
	string shapefilePath,
	string xCoordFieldName,
	string yCoordFieldName,
	bool matchFieldsExact,
	ConvertShapeFileProgress progressHandler,
	bool trimQuotesFromValues
)
Visual C++
public:
static void ConvertCsvToShapeFile(
	String^ csvPath, 
	String^ shapefilePath, 
	String^ xCoordFieldName, 
	String^ yCoordFieldName, 
	bool matchFieldsExact, 
	ConvertShapeFileProgress^ progressHandler, 
	bool trimQuotesFromValues
)
JavaScript
EGIS.ShapeFileLib.CsvUtil.convertCsvToShapeFile = function(csvPath, shapefilePath, xCoordFieldName, yCoordFieldName, matchFieldsExact, progressHandler, trimQuotesFromValues);

Parameters

csvPath
Type: System..::..String
shapefilePath
Type: System..::..String
xCoordFieldName
Type: System..::..String
yCoordFieldName
Type: System..::..String
matchFieldsExact
Type: System..::..Boolean
progressHandler
Type: EGIS.ShapeFileLib..::..ConvertShapeFileProgress
trimQuotesFromValues
Type: System..::..Boolean

Remarks

CSV data must contain fields with point coordinates

See Also