Ticket #25498: doc_gis_distance.patch

File doc_gis_distance.patch, 1.9 KB (added by Bibhas C Debnath, 9 years ago)

patch to rename st_distance to st_distance_sphere

  • docs/ref/contrib/gis/geoquerysets.txt

    diff --git a/docs/ref/contrib/gis/geoquerysets.txt b/docs/ref/contrib/gis/geoquerysets.txt
    index 9a42bd7..4934aaf 100644
    a b Example::  
    538538==========  ===============================================
    539539Backend     SQL Equivalent
    540540==========  ===============================================
    541 PostGIS     ``ST_Distance(poly, geom) > 5``
     541PostGIS     ``ST_Distance_Sphere(poly, geom) > 5``
    542542Oracle      ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) > 5``
    543543SpatiaLite  ``Distance(poly, geom) > 5``
    544544==========  ===============================================
    Example::  
    558558==========  ================================================
    559559Backend     SQL Equivalent
    560560==========  ================================================
    561 PostGIS     ``ST_Distance(poly, geom) >= 5``
     561PostGIS     ``ST_Distance_Sphere(poly, geom) >= 5``
    562562Oracle      ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) >= 5``
    563563SpatiaLite  ``Distance(poly, geom) >= 5``
    564564==========  ================================================
    Example::  
    578578==========  ===============================================
    579579Backend     SQL Equivalent
    580580==========  ===============================================
    581 PostGIS     ``ST_Distance(poly, geom) < 5``
     581PostGIS     ``ST_Distance_Sphere(poly, geom) < 5``
    582582Oracle      ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) < 5``
    583583SpatiaLite  ``Distance(poly, geom) < 5``
    584584==========  ===============================================
    Example::  
    598598==========  ================================================
    599599Backend     SQL Equivalent
    600600==========  ================================================
    601 PostGIS     ``ST_Distance(poly, geom) <= 5``
     601PostGIS     ``ST_Distance_Sphere(poly, geom) <= 5``
    602602Oracle      ``SDO_GEOM.SDO_DISTANCE(poly, geom, 0.05) <= 5``
    603603SpatiaLite  ``Distance(poly, geom) <= 5``
    604604==========  ================================================
Back to Top