diff --git a/client/sql/16_custom_types.sql b/client/sql/16_custom_types.sql index 15dc782..bb13ee7 100644 --- a/client/sql/16_custom_types.sql +++ b/client/sql/16_custom_types.sql @@ -6,7 +6,7 @@ CREATE TYPE cdb_dataservices_client.isoline AS ( CREATE TYPE cdb_dataservices_client.geocoding AS ( cartodb_id integer, - the_geom geometry(Multipolygon,4326), + the_geom geometry(Point,4326), metadata jsonb ); diff --git a/client/sql/21_bulk_geocoding_functions.sql b/client/sql/21_bulk_geocoding_functions.sql index 723ead3..84168fd 100644 --- a/client/sql/21_bulk_geocoding_functions.sql +++ b/client/sql/21_bulk_geocoding_functions.sql @@ -58,7 +58,7 @@ BEGIN temp_table_name := 'bulk_geocode_street_' || md5(random()::text); EXECUTE format('CREATE TEMPORARY TABLE %s ' || - '(cartodb_id integer, the_geom geometry(Multipolygon,4326), metadata jsonb)', + '(cartodb_id integer, the_geom geometry(Point,4326), metadata jsonb)', temp_table_name); select diff --git a/server/extension/sql/21_bulk_geocode_street.sql b/server/extension/sql/21_bulk_geocode_street.sql index aa8a875..f350e9b 100644 --- a/server/extension/sql/21_bulk_geocode_street.sql +++ b/server/extension/sql/21_bulk_geocode_street.sql @@ -1,7 +1,7 @@ -- TODO: could cartodb_id be replaced by rowid, maybe needing extra care for offset? CREATE TYPE cdb_dataservices_server.geocoding AS ( cartodb_id integer, - the_geom geometry(Multipolygon,4326), + the_geom geometry(Point,4326), metadata jsonb );