数据查询语句
1.1.1
空间范围查询
语法:
1.   select  
2.     fieldList  
3.   from  
4.     <tableName>  
5.   where  
6.     geoField within|intersects   
7.     st_makeMBR(lng_min, lat_min, lng_max, lat_max)  
功能:给定一个空间范围,找出那些穿过指定空间范围的所有轨迹
参数:
   intersects:返回与给定空间范围有相交的所有轨迹
示例:
1.   select   
2.       order_time,   
3.       order_position,  
4.       attr12   
5.   from   
6.       <tableName>   
7.   where   
8.   order_position within st_makeMBR(116, 39, 116.5, 39.5)  







 
  
  1041浏览
1041浏览
      

 
  
  
  
 