View Single Post

  #3 (permalink)  
Old 06-17-2008
Winwaed's Avatar
Winwaed Winwaed is online now
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 890
Blog Entries: 9
Re: Shape Vertices slow on accessing large poly

----
In my mind, ALL I want in this case is the lat/lon, and I'm surprised lat and lon are not intrinsic (I always avoid this word, throws me sometimes) - I mean, if the shape object is on a map, you'd THINK each 'point' of the poly would HAVE to already have lat/lon computed and stored in the shape object.
----

They are stored in the shape object! A shape has lots of coordinates - infact a coordinate for each vertex - hence an array of vertices.

I think you have a conceptual problem. An array of longitudes, and an array of latitudes is a very poor design. For example, vertices might be defined in other ways (street addresses). No defining an array of vertices and each vertex as a location is the proper way of doing it.


Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Pre-Order MapPoint 2009 today: http://www.mapping-tools.com/mappoint2009
Reply With Quote