Josh Livni & Mano Marks
Guest Speaker: Brian Flood
Feedback: http://j.mp/gis-geo
#io2011,
#GIS
Portable Globe
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false &libraries=geometry"> ... var geodesicOptions = { strokeColor: '#CC0099', strokeOpacity: 1.0, strokeWeight: 3, geodesic: true } geodesic = new google.maps.Polyline(geodesicOptions); geodesic.setMap(map);
GallPetersProjection.prototype.fromPointToLatLng = function(point) { var y = point.y; var x = point.x; if (y > 0) { y = 0; } if (y >= GALL_PETERS_RANGE_Y) { y = GALL_PETERS_RANGE_Y; } var origin = this.worldOrigin_; var lng = (x - origin.x) / this.worldCoordinatePerLonDegree_; var latRadians = Math.asin((origin.y - y) / this.worldCoordinateLatRange); var lat = radiansToDegrees(latRadians); return new google.maps.LatLng(lat, lng); };
google.maps.geometry.encoding (for polylines)
google.maps.geometry.spherical
google.maps.Projection
SELECT name FROM 790805 LIMIT 5;
name,address FIRST CUP,"2911 VAN NESS AVE , 94109" UNION STREET COFFEE ROASTERY,"2191 UNION ST , 94123" NAPOLI PIZZA RESTAURANT,"1045 POLK ST , 94109" WAYO,"1407 VAN NESS AVE , 94109" MIFUNE RESTAURANT,"1737 POST ST , 94115"
SELECT * FROM 790805 ORDER BY ST_Distance( address, LatLng(37.7832, -122.4035)) LIMIT 5;
SELECT name,address FROM 790805 WHERE ST_Intersects( address, CIRCLE(LATLNG(37.2, -122.3), 100));demo
SELECT name,address FROM 790805 WHERE ST_Intersects( address, CIRCLE(LATLNG(37.2, -122.3), 100));demo
SELECT count(), description FROM 790805 WHERE ST_Intersects( address, CIRCLE(LATLNG(37.2, -122.3), 100)) GROUP BY description;demo
Manage all your map data in Google's cloud
Just-in-time computation of scientific map products
On a lot of data
Utility libraries for
Google Maps Premier | |
Google AppEngine | |
Google Fusion Tables | |
ArcGIS | |
Arc2Cloud |
Demo
Demo
Josh Livni & Mano Marks
Guest Speaker: Brian Flood
Feedback: http://j.mp/gis-geo
#io2011,
#GIS