Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

Archived entries for geolocation

Geo Location Services

Christian Heilmann macht einen ausführlichen Ausflug in die Welt der Geo Location.

Eine Sache die ich gar nicht auf dem Schirm hatte:

One freely available but lesser-known reverse geo-coder that works worldwide comes from a surprising source: Flickr. The flickr.places.findByLatLon service returns a location from a latitude and longitude coordinates.

addmap.js

Chris Heilmann stellt addmap.js vor.

Mit nur wenigen Zeilen JavaScript

<script src="http://github.com/codepo8/geotoys/raw/master/addmap.js"></script>
<script>
addmap.config.mapkey = 'YOUR_GOOGLE_MAPS_API_KEY';
addmap.analyse('content');
</script>

wird der Text auf der Seite dank Yahoo Placemaker auf Orte analysiert und eine Karte mit entsprechenden Markierungen erstellt.

Entfernung zwischen zwei lat/long Werten berechnen

Könnte mal praktisch sein: John D. Cooks Computing distance using lat/long coordinates.

function distance() {
	// Get numeric values out of form elements.
	var lat_1 = parseFloat(document.getElementById("lat1").value);
	var lat_2 = parseFloat(document.getElementById("lat2").value);
	var lon_1 = parseFloat(document.getElementById("lon1").value);
	var lon_2 = parseFloat(document.getElementById("lon2").value);
	// Compute spherical coordinates
	var rho = 3960.0; // earth diameter in miles
	// convert latitude and longitude to spherical coordinates in radians
	// phi = 90 - latitude
	var phi_1 = (90.0 - lat_1)*Math.PI/180.0;
	var phi_2 = (90.0 - lat_2)*Math.PI/180.0;
	// theta = longitude
	var theta_1 = lon_1*Math.PI/180.0;
	var theta_2 = lon_2*Math.PI/180.0;
	// compute spherical distance from spherical coordinates
	// arc length = \arccos(\sin\phi\sin\phi'\cos(\theta-\theta') + \cos\phi\cos\phi')
	// distance = rho times arc length
	var d = rho*Math.acos( Math.sin(phi_1)*Math.sin(phi_2)*Math.cos(theta_1 - theta_2) + Math.cos(phi_1)*Math.cos(phi_2) );
	// Display result in miles and in kilometers
	var output = "Distance = " + d + " miles or " + 1.609344*d + " kilometers";
}

daily links

  • Features | Open Atrium
    Open Atrium is an intranet in a box that has group spaces to allow different teams to have their own conversations. It comes with six features - a blog, a wiki, a calendar, a to do list, a shoutbox, and a dashboard to manage it all.
  • Lazy backup 2 plugin for Joomla!
    This administrator side plugin will save you lots of time and lots of trouble while it automatically sends your database backups to your inbox. It is the easiest automatic database backup solution to configure for any Joomla websites.
  • First Steps in Flex by Bruce Eckel and James Ward
  • gotoandlearn.com
    Free video tutorials by Lee Brimelow on the Flash Platform
  • Image Assist | drupal.org
    Image Assist allows users to upload and insert images inline into content. It automatically generates an “Add image” link under fields of your choice. Clicking the link opens an image browser, displaying all images that have been uploaded via the Image module.
  • SEOSimple Joomla 1.5 Plugin
    This native Joomla 1.5 plugin automatically generates description meta tags by pulling text from the content to help with SEO. It also gives you the ability to set different title configurations.
  • Postcode distance search
    # Postcode distance search in 50 countries
    # All files contain postal code, town, region and longitude and latitude
    # High quality data
    # Onetime payment - no returning fees
    # Receive free updates if datas change
    # Host datas in your own database # Independency of remote web services
  • GeoNames
    The GeoNames geographical database covers all countries and contains over eight million placenames that are available for download free of charge.

GeoMarker

Christian Heilmann stellt den Service GeoMaker vor.

In just three steps you can either get from URL to map or from text to map. If you add the site address to analyze as a URL parameter it even goes down to two steps.

Der Service nutz Yahoo Placemaker und versucht die Geo-Informationen aus dem Text zu extrahieren. Neben einer Map werden die gefundenen Orte auch gleich als hCard formatiert.

Ich habe es gerade ein wenig getestet. Die Ergebnisse waren nicht immer perfekt, aber trotzdem recht nützlich wenn man bedenkt wie wenig Arbeit es einen kostet ;-)



Copyright © 2004–2009. All rights reserved. – Impressum

RSS Feed. This blog is proudly powered by Wordpress and uses Modern Clix, a theme by Rodrigo Galindez.