geoc_is_in_china_bbox.sql 282 B

12345678910
  1. CREATE OR REPLACE FUNCTION "public"."geoc_is_in_china_bbox"("lon" numeric, "lat" numeric)
  2. RETURNS "pg_catalog"."bool" AS $BODY$
  3. DECLARE
  4. BEGIN
  5. return lon >= 72.004 and lon <= 137.8347 and lat >= 0.8293 and lat <= 55.8271;
  6. END;
  7. $BODY$
  8. LANGUAGE plpgsql VOLATILE
  9. COST 100