MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




findout centre of location from a set of long and lat

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2008
Junior Member
Yellow Belt
 
Join Date: Mar 2008
Posts: 14
findout centre of location from a set of long and lat

dear all
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-07-2008
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,142
Blog Entries: 22
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-07-2008
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,175
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
centre, findout, lat, location, long, set


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

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


All times are GMT -5. The time now is 08:20 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Antalya Holiday
Check out the Antalya holiday options through UlookUbook and find amazing offers that suit your pocket...



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59