Changes between Version 1 and Version 2 of UsersWikiNewbieDistanceMeasurement
- Timestamp:
- 04/15/09 08:04:18 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UsersWikiNewbieDistanceMeasurement
v1 v2 31 31 32 32 {{{ 33 SELECT ST_Distance_Spheroid(34 ST_GeomFromText('POINT(5.0 52.0)', 4326),35 ST_GeomFromText('POINT(6.0 56.0)', 4326),36 'SPHEROID[ wiki:UsersWiki"WGS 84",6378137,298.257223563"WGS 84",6378137,298.257223563]'37 ) ;33 SELECT ST_Distance_Spheroid( 34 ST_GeomFromText('POINT(5.0 52.0)', 4326), 35 ST_GeomFromText('POINT(6.0 56.0)', 4326), 36 'SPHEROID["WGS 84",6378137,298.257223563]' 37 ) ; 38 38 39 SELECT ST_Distance_Spheroid(t1.the_geom, t2.the_geom, 'SPHEROID[ wiki:UsersWiki"WGS 84",6378137,298.257223563"WGS 84",6378137,298.257223563]')39 SELECT ST_Distance_Spheroid(t1.the_geom, t2.the_geom, 'SPHEROID["WGS 84",6378137,298.257223563]') 40 40 FROM t1 INNER JOIN t2 ON t1.somefield1 = t2.somefield2; 41 41