背景
转自互联网
http://www.baike.com/wiki/srid
http://www.cnblogs.com/jackdong/archive/2010/12/20/1911558.html
https://en.wikipedia.org/wiki/Geographic_coordinate_system
https://en.wikipedia.org/wiki/Spatial_reference_system#Identifier
地球并不是平的,也不是正圆形,而是一个非标准的椭圆,在不同的经纬度位置,计算两点的距离没有一个完美的公式(即快速、有准确)。
所以坐标系应运而生,SRID是指数据的坐标系,例如:
在PostGIS中可以查到支持的SRID。查询与北京、中国有关的坐标系。
postgres=# select * from spatial_ref_sys where srtext ~* 'beijing';
postgres=# select * from spatial_ref_sys where srtext ~* 'china';