MapPoint Forums

MapForums

Community of VE/MapPoint 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 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 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 4 Days Ago
Junior Member
White Belt
 
Join Date: Mar 2008
Posts: 10
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 4 Days Ago
Winwaed's Avatar
Mapping-Tools.com
Red Belt
 
Join Date: Feb 2004
Posts: 713
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
Buy MapPoint 2006 today: http://www.mapping-tools.com/mappoint2006
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 4 Days Ago
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 1,952
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


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 Discussion 2 12-08-2004 02:16 PM
FindAdress : how to know the point location (long & lat) Anonymous MapPoint 2006 Discussion 1 07-01-2004 08:26 AM
Lat/Long lgeeck MapPoint 2006 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 Discussion 0 11-15-2002 04:32 PM


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


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5
MP2K Magazine
Visitor Map

Ski Holidays Austria
Ski holidays in Austria offer ski schools for all types of skiers. They range from beginner classes of all ages to more advanced classes. Learn new techniques and refresh skills.

Travel Counselors
Travel Counselors are an award winning Travel Agent. Why not have a personal Travel Counselor help with your travel plans.

Holidays Jamaica
Holidays to Jamaica are a great way to immerse yourself in a different culture. Soak up some sun, indulge in some shopping, and relax at a beach resort. Use dealchecker.co.uk.

Holidays in Cyprus
Holidays in Cyprus are enriched by the abundance of churches, ruins and natural wonders. Book a holiday with us today!

Canaries
Find out all about the Canaries when you check out the ulookubook.com travel guides. Not only can you get a great holiday deal but you can find out useful information about potential holiday destinations.

Cheap family holidays
To plan cheap family holidays, use Travel.co.uk to explore all the delightful possibilities that there are.

Cheap holidays to Portugal
Enjoy a spectacular country at a fraction of the cost. Find information on cheap holidays to Portugal at On The Beach.


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