AnsweredAssumed Answered

Add WKT data on map

Question asked by ozcandurak on Aug 29, 2016
Latest reply on Aug 29, 2016 by Yue_Wu-esristaff

Hi,

 

I m creating a search engine which returns WKT data. How can i use and display it on map with IOS ArcGIS SDK ?

 

I m not sure if i m on the right path but so far here is what i have achieved. Not able to find any sample either.

 

Here is a sample which i have created with WKT data :

 

var WKT_Data = "LINESTRING (514108.3456489 4252278.0780065, 514132.2315816 4252286.3389939, 514154.3147193 4252293.9783672, 514159.3727057 4252295.4812072, 514166.303487 4252297.5412621, 514193.4674137 4252305.6154771, 514198.4214004 4252307.0887163, 514225.8693286 4252314.3637349, 514227.5265242 4252314.8017481, 514253.7752555 4252321.7591571, 514257.9124447 4252322.8547901, 514311.1283029 4252337.9844123, 514321.9850699 4252342.7084961, 514325.2410523 4252347.2185167, 514333.7658062 4252359.0265708, 514356.7316894 4252387.8787207)"

    

var line = AGSSpatialReference.spatialReferenceWithWKID(5253, WKT: WKT_Data)

 

 

Regards.

Outcomes