PostGIS Core Support

Luna Modeler offers optional support for PostGIS core features.
In the project settings, you can enable or disable support for the PostGIS database extension.

Project properties

To view the Project settings, click the project name in the Object List.

Luna Modeler and PostGIS support in data model for PostgreSQL

Alternatively, edit the project properties on a modal form. Click the Edit icon to open it.

Luna Modeler and a modal form with section Database Extensions where PostGIS can be enabled for your PostgreSQL data modeling project.

Advanced Geospatial Modeling with PostGIS

By default, this feature is enabled, which means you can:

  • Automatically include the CREATE EXTENSION IF NOT EXISTS postgis; statement in your generated SQL scripts with a single click.
  • Define the PostGIS schema.
  • Effortlessly map GEOMETRY, GEOGRAPHY, and other PostGIS-specific data types directly in your diagrams.

These data types are available in Luna Modeler if the PostGIS extension is enabled:

  • box2d
  • box2df
  • box3d
  • geography
  • geometry
  • geometry_dump
  • gidx
  • spheroid
  • valid_detail
PostGIS datatypes in Luna Modeler data modeling tool for PostgreSQL and other relational databases.

Dependencies

Luna Modeler also allows you to detect dependencies and display them in a diagram. For models that support PostGIS, the types and other objects of the PostGIS extension are taken into account, ensuring that dependencies are displayed correctly.

Dependecies detected in a data model for PostgreSQL with PostGIS extension enabled.

#

DATA MODELING TOOLS
DRAW Diagrams and
GENERATE Scripts
Download data modeling tools
Blog Categories
Blog by Platforms