bin/loadTweets.js
//Ensure the GeoJSON Point is within limits
Ensure the GeoJSON Point is within limits
Ensure the GeoJSON Point is within limits
function validGeoJsonPoint(point) {
	if (point.geometry.coordinates[0] < -180 || point.geometry.coordinates[0] > 180) {
		return false;
	}
	if (point.geometry.coordinates[1] < -90 || point.geometry.coordinates[1] > 90) {
		return false;
	}
	return true;
}
function validGeoJsonPoint ( point ) { if ( point . geometry . coordinates [ 0 ] < - 180 || point . geometry . coordinates [ 0 ] > 180 ) { return false ; } if ( point . geometry . coordinates [ 1 ] < - 90 || point . geometry . coordinates [ 1 ] > 90 ) { return false ; } return true ; }
Ensure the GeoJSON Point is within limits
Ensure the GeoJSON Point is within limits