Directus Map Interface requires the PostGIS extension on postgres
-
Hi Girish,
Great work bundling up Directus 9, however, I've run into a problem.While looking to implement the built in map interface, it errored because PostGIS isn't installed.
The logs files during startup also highlights this issue -
PostGIS isn't installed. Geometry type support will be limited.A quick google suggests this is an extension that can be added to Postgres.
Is this something I can add into the postgres bundled with Cloudron?
Thanks!
-
Hi Girish,
Great work bundling up Directus 9, however, I've run into a problem.While looking to implement the built in map interface, it errored because PostGIS isn't installed.
The logs files during startup also highlights this issue -
PostGIS isn't installed. Geometry type support will be limited.A quick google suggests this is an extension that can be added to Postgres.
Is this something I can add into the postgres bundled with Cloudron?
Thanks!
@markjames I have enabled the postgis extensions in the next release (7.1). Should be out next week.
-
@markjames I have enabled the postgis extensions in the next release (7.1). Should be out next week.
-
@markjames I have enabled the postgis extensions in the next release (7.1). Should be out next week.
-
@girish I just installed a fresh Directus and it still shows what @markjames mentioned earlier. Are the changes live yet?
-
@girish I just installed a fresh Directus and it still shows what @markjames mentioned earlier. Are the changes live yet?
@msbt yes. So, the expectation was that the app will do "CREATE EXTENSION postgis" if it needs it but looks like directus doesn't do this automatically. I will fix the app package but in the meantime, Web Terminal -> Postgresql ->
CREATE EXTENSION postgis. Then restart directus. -
@msbt yes. So, the expectation was that the app will do "CREATE EXTENSION postgis" if it needs it but looks like directus doesn't do this automatically. I will fix the app package but in the meantime, Web Terminal -> Postgresql ->
CREATE EXTENSION postgis. Then restart directus.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
