Coordinate Collections RRS feed

  • Question

  • I'm finding a number of situations where I have a collection of Geocoordinates but the property that I want to set requires an alternative, namely..

    List (of Geocoordinate), GeocoordinateCollection and Geometry.

    Is there a way to convert between these other than looping ?  Is there a 'preferred' collection to satisfy the majority of cases ?


    Friday, November 20, 2015 11:14 AM


  • You have to loop through them. Even if a method was exposed through these classes to let you pass say a list of Geocoordinates in to a GeocoordinateCollection, it would still loop through them internally.

    Saturday, November 21, 2015 12:30 AM