Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 280 | Rev 297 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 280 Rev 296
Line 39... Line 39...
39
    	
39
    	
40
    	$lat = $_GET['lat'];
40
    	$lat = $_GET['lat'];
Line 41... Line 41...
41
    	$lon = $_GET['lon'];
41
    	$lon = $_GET['lon'];
42
    	
42
    	
Line 43... Line 43...
43
    	$infos_altitude_json = file_get_contents('http://maps.googleapis.com/maps/api/elevation/json?sensor=false&locations='.$lat.','.$lon);
43
    	$infos_altitude_json = file_get_contents('http://maps.googleapis.com/maps/api/elevation/json?sensor=false&locations='.$lat.','.$lon);
44
    	$infos_commune_json = file_get_contents("http://ws.geonames.org/findNearbyJSON?featureClass=ADM4&lat=".urlencode($lat)."&lng=".urlencode($lon)."&style=full") ;
44
    	$infos_commune_json = file_get_contents("http://api.geonames.org/findNearbyJSON?featureClass=ADM4&lat=".urlencode($lat)."&lng=".urlencode($lon)."&style=full") ;
Line 45... Line 45...
45
 
45