mod of admin0 geocoder to consolidate search function
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
--- Function
|
||||
|
||||
CREATE OR REPLACE FUNCTION geocode_admin1_polygons(name text[])
|
||||
CREATE OR REPLACE FUNCTION test_geocode_admin1_polygons(name text[])
|
||||
RETURNS SETOF geocode_admin_v1 AS $$
|
||||
DECLARE
|
||||
ret geocode_admin_v1%rowtype;
|
||||
@@ -38,7 +38,7 @@ Text array, country name
|
||||
--- SELECT (geocode_admin1_polygons(Array['az', 'Texas'], 'Ecuador')).*
|
||||
|
||||
--- Function
|
||||
CREATE OR REPLACE FUNCTION geocode_admin1_polygons(name text[], inputcountry text)
|
||||
CREATE OR REPLACE FUNCTION test_geocode_admin1_polygons(name text[], inputcountry text)
|
||||
RETURNS SETOF geocode_admin_v1 AS $$
|
||||
DECLARE
|
||||
ret geocode_admin_v1%rowtype;
|
||||
@@ -75,7 +75,7 @@ Text array, country array
|
||||
|
||||
--- Function
|
||||
|
||||
CREATE OR REPLACE FUNCTION geocode_admin1_polygons(names text[], country text[])
|
||||
CREATE OR REPLACE FUNCTION test_geocode_admin1_polygons(names text[], country text[])
|
||||
RETURNS SETOF geocode_admin_country_v1 AS $$
|
||||
DECLARE
|
||||
ret geocode_admin_country_v1%rowtype;
|
||||
|
||||
Reference in New Issue
Block a user