Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on findout centre of location from a set of long and lat within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; dear all can anybody help to find out center of point from a set of longitude and latitude. i am ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| findout centre of location from a set of long and lat can anybody help to find out center of point from a set of longitude and latitude. i am using mapxtreme2005 let me describe my problem in detail... from sql based on some condition in map i have set of points eg:i have 4 points 1. long=58.23 lat=23.69 2. long=59.23 lat=21.69 3. long=60.23 lat=22.69 4. long=61.23 lat=25.69 from these points i want to findout the centre of the location... i want to display this centre point as centre of the map.... can anybody help me for this regards |
| ||||
| Re: findout centre of location from a set of long and lat
One approach is a simple mean. This will give you the centre of the points - but not necessarily the centre of the polygon defined by the points. This is because you might have a shape with lots of points on one side, but only a few on the other. A simple mean is usually "good enough" unless you are near the poles, the International Date Line or high latitudes. Richard
__________________ Winwaed Software Technology LLC http://www.winwaed.com See http://www.mapping-tools.com for MapPoint Tools See the Geoweb Guru for online mapping |
| |||
| Re: findout centre of location from a set of long and lat
Hi, I completely agree with the reply of Richard. Maybe you can multiply long with Cos(Lat) to get closer in calculation, specially if you are at high latitudes.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
![]() |
| Tags |
| centre, findout, lat, location, long, set |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Does MapPoint Europe contain a location long/lat database? | Anonymous | MapPoint 2006/2009 Discussion | 2 | 12-08-2004 02:16 PM |
| FindAdress : how to know the point location (long & lat) | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-01-2004 08:26 AM |
| Lat/Long | lgeeck | MapPoint 2006/2009 Discussion | 1 | 07-01-2003 09:03 AM |
| Lat/Long improvements and ActiveX access to Location Sensor | MarioD | Wish List | 1 | 11-23-2002 11:27 PM |
| Lat/Long improvements and ActiveX access to Location Sensor | MarioD | MapPoint 2006/2009 Discussion | 0 | 11-15-2002 04:32 PM |
Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...