Using Shapefiletable ... complains "invalid argument : unknown wkt"

2785
1
10-10-2014 08:57 AM
KrishnaVangapandu
New Contributor

Usage:

var shapeFilePath = @"PATH TO SHAPE FILE";

var shapeFileTable = await ShapefileTable.OpenAsync(shapeFilePath);

var shapeLayer = new FeatureLayer(shapeFileTable);

Map1.Layers.Add(shapeLayer);

Shapefile is in the South plainfield area.

Shape file attached.

0 Kudos
1 Reply
dotMorten_esri
Esri Frequent Contributor

It looks like there's an extra '.' at the end inside the .prj file. Try removing that.

0 Kudos