SharpMap Geospatial Application Framework

This is a very nice LGPL SDK for projecting geospatial objects to a 2-D space. Written for .net.  A geospatial library handles the translation of geo based vector data into it?s 2-Dimensional representation.  This allows you to render your own maps from vector data in different projections.  What this library does is very similar to what happens when a 3-Model is rendered unto the 2-D screen by a 3-D rendering engine, only this is for map data.

Sharp Map  

 

Free Geo Spatial data is available from www.openstreetmap.org.  Now you have everything you need to build your own Google maps, or virtual earth replacement.  (Well, that and about about 100,000 hours of developer time :)

Currently rated 4.0 by 1 people

  • Currently 4/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: mcstar
Posted on: 9/8/2009 at 2:57 AM
Categories: Mapping/Cartography
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (17) | Post RSSRSS comment feed

How to Calculate the Arc Length on a sphere

This is how you calculate the distance between two points on on the earth.

Haversine formula:  (^  = Change in)

R = earth?s radius (mean radius = 6,371km)
^lat = lat2- lat1
^long = long2- long1
a = sin^2(^lat/2) + cos(lat1).cos(lat2).sin^2(^long/2)
c = 2.atan2(Sqrt(a), Sqrt((1-a)))
d = R.c

(Note that angles need to be in radians to pass to trig functions).

JavaScript:

var R = 6371; // km
var dLat = (lat2-lat1).toRad();
var dLon = (lon2-lon1).toRad();
var a = Math.sin(dLat/2) * Math.sin(dLat/2) +
        Math.cos(lat1.toRad()) * Math.cos(lat2.toRad()) *
        Math.sin(dLon/2) * Math.sin(dLon/2);
var c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1-a));
var d = R * c;

 

More info (including bearing)

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: mcstar
Posted on: 9/6/2009 at 8:57 AM
Categories: Mapping/Cartography
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (11) | Post RSSRSS comment feed

ArcGIS Online Services

image

http://edn.esri.com/index.cfm?fa=media.detail&media=145

Free (and pay) online services for creating/generating maps, geocoding and visualization of maps.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Posted by: mcstar
Posted on: 9/6/2009 at 8:29 AM
Categories: Mapping/Cartography
Actions: E-mail | Kick it! | DZone it! | del.icio.us
Post Information: Permalink | Comments (8) | Post RSSRSS comment feed

About the author

I've been a software desinger and developer for over ten years, for the last 8 I've worked in corporate IT.  Recently I've become aware that my youthful desire to program has been suppressed by the needs of my job.  Originally, I had an intense desire to design more intelligent solutions and this desire spurred me to learn to program.  Early on, it was my interest in AI that got me in to the software industry, but due to the demands of Corporate IT, much of the work I acutally do tends to be in the UI/CRUD/Framework area.  This blog is intended to focus discussion about the use of Artificial Intelligence programming techniques and algorithms in the business world.

It's apparent to me that more intelligent designs could go a long way towards assisting users in making faster, better decisions.  How though do we integrate AI algorithms into the coporate world?  How can we get users used to interacting with smarter algorithms?  Much of what IT programming does today is centered around displaying and editing data.  Can we build Intelligence into our frameworks that is more aware and capable of delivering data in more useful ways?  Can we build Intelligence into capacity and load planning that will prevent the kinds of failures systems are prone to under heavy use? 

This blog will explore these ideas and discuss AI that is actually in use in various business applications.

Page List

Tag cloud