The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Added images.
Ramiro Nuñez Dosio888f4ad5e807
diff --git a/apps/www/_blog/2023-02-28-supabase-geoqueries-with-postgis.mdx b/apps/www/_blog/2023-02-28-supabase-geoqueries-with-postgis.mdxindex aa7cfc74047..737a3670e5e 100644--- a/apps/www/_blog/2023-02-28-supabase-geoqueries-with-postgis.mdx+++ b/apps/www/_blog/2023-02-28-supabase-geoqueries-with-postgis.mdx@@ -5,9 +5,11 @@ author: simon_grimmimage: WIPthumb: WIPtags:- - postgres- - planetpg-date: '2023-02-17'+ - ionic+ - postgis+ - geoqueries+ - storage+date: '2023-02-28'toc_depth: 3---@@ -15,7 +17,7 @@ Does your app need to handle geo data like latitude, longitude, or distance betwThen Supabase got you covered again as you can unlock all of this with the **PostGIS** extension!-+In this tutorial you will learn to:@@ -37,7 +39,7 @@ To get started we need a new Supabase project. If you don't have a Supabase accoIn your dashboard, click "New Project" and leave it to the default settings, but make sure you keep a copy o your Database password!-+After a minute your project should be ready, and we can configure our tables and extensions with SQL.@@ -64,7 +66,7 @@ create extension postgis with schema extensions;You can now find this and many other extensions under **Database** -> **Extensions**:-+It's as easy as that, and we can now create the rest of our table structure.@@ -405,7 +407,7 @@ At this point, you can already log the values, but we can also quickly display tIf you open the modal, you should now see a list like this after your position was loaded:-+It looks so easy - but so many things are already coming together at this point:@@ -578,7 +580,7 @@ The view is not really special and simply holds a bunch of input fields that areAs a result, you should have a clean input modal:-+Give your storage inserter a try and add some places around you - they should be available in your nearby list immediately!@@ -735,7 +737,7 @@ capacitor-google-map {Now the map should fill the whole screen.-+This brings us to the last missing piece…@@ -910,7 +912,7 @@ That means we also need the real ID of that object, and so we create an array `aAt this point, you should be able to see markers on your map. If you can't see them, zoom out and you might find them.-+To wrap this up, let's take a look at one more cool Supabase feature.@@ -1039,7 +1041,7 @@ This will now be used to trigger an **inline modal**, so we don't need to come uBecause we also used `breakpoints` and the `initialBreakpoint` properties of the modal we get this nice bottom sheet modal UI whenever we click on a marker:-+And with that, we have finished our Ionic app with Supabase geo-queries using PostGIS!diff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/capacitor-map.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/capacitor-map.pngnew file mode 100644index 00000000000..be25c5f428fBinary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/capacitor-map.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-inputs.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-inputs.pngnew file mode 100644index 00000000000..60af6081d3eBinary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-inputs.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-map-marker.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-map-marker.pngnew file mode 100644index 00000000000..b2a989abfc2Binary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-map-marker.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-marker-with-image.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-marker-with-image.pngnew file mode 100644index 00000000000..4b8cc6ebb98Binary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-marker-with-image.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-nearby.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-nearby.pngnew file mode 100644index 00000000000..99a8b474cbfBinary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/ionic-nearby.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-extensions.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-extensions.pngnew file mode 100644index 00000000000..4b32a04c7d8Binary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-extensions.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-gis.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-gis.pngnew file mode 100644index 00000000000..fa4f448b407Binary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-gis.png differdiff --git a/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-project-setup.png b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-project-setup.pngnew file mode 100644index 00000000000..d946dbc3370Binary files /dev/null and b/apps/www/public/images/blog/2023-02-28-geoqueries-postgis/supabase-project-setup.png differ