deployed geocode_postalcode_polygons
This commit is contained in:
parent
875c3fa57f
commit
a949e25dd6
@ -21,13 +21,11 @@ SELECT the_geom, 'GBR', postalcode FROM uk_postcodes;
|
||||
INSERT INTO postal_code_polygons (the_geom,adm0_a3,postal_code)
|
||||
SELECT the_geom, 'CAN', cfsauid FROM gfsa000a11a_e;
|
||||
|
||||
|
||||
-- Insert Australia zip codes
|
||||
|
||||
INSERT INTO postal_code_polygons (the_geom,adm0_a3,postal_code)
|
||||
SELECT the_geom, 'AUS', name FROM doc;
|
||||
|
||||
|
||||
-- Insert USA zip codes
|
||||
|
||||
INSERT INTO postal_code_polygons (the_geom,adm0_a3,postal_code)
|
||||
|
@ -1,8 +1,6 @@
|
||||
--SELECT (geocode_postalcode_polygons(Array['10013','G9H','03782'], Array['USA', 'Canada', 'US'])).*
|
||||
|
||||
|
||||
|
||||
CREATE OR REPLACE FUNCTION test_geocode_postalcode_polygons(code text[], inputcountries text[])
|
||||
CREATE OR REPLACE FUNCTION geocode_postalcode_polygons(code text[], inputcountries text[])
|
||||
RETURNS SETOF geocode_namedplace_country_v1 AS $$
|
||||
DECLARE
|
||||
ret geocode_namedplace_country_v1%rowtype;
|
||||
|
Loading…
Reference in New Issue
Block a user