what's the point? http://www.flickr.com/photos/darren/35248684/ |
However, that lat+long pair may indicate the centre of a location in your content, but it doesn't reveal anything about the scale or type of the location. There are two ways you can do this. One is to make use of a geometry, the other is to identify the feature type. And you can use both together.
Geo Geometries
Geometry at the National Mosque http://www.flickr.com/photos/swamibu/2527486134/ |
Point
Line
Polygon
Box
Circle
The polygon, box and circle all express areas. The needs of your application will likely drive which one might be most appropriate. For example, if you want to display a map at the right "zoom level", it is likely that a point (aka the centroid) and a box (aka the bounding box) are enough. (In which case, you'll need three points to express them - one for the centroid, two for the corners of the bounding box. Obviously, the other geometries have different characteristics - you only need the centroid and a radius to express a circle, whereas a polygon must have at least three points, but can have many more).
Geo Features
Pigeon Point / Sky Whale... http://www.flickr.com/photos/nzdave/303236483/ |
No comments:
Post a Comment