PostGIS is a powerful spatial database for PostgreSQL Server. With this plugin, we can store our spatial data set in PostgreSQL database. In the other hand, Global Mapper is a well-known GIS software that can handle almost any GIS file types including PostGIS. I have written a short tutorial how to open PostGIS table in Global Mapper. And now, I want to create another article that will explain more detail about PostGIS and Global Mapper.
What you will learn?
Shortly you will learn the following:
- Create a new PostGIS Connection
- Manage Spatial Database Connection within Global Mapper
- Export and Import PostGIS layers to Global Mapper
A. Create a New PostGIS Connection
I assume you have a working PostGIS database in your computer or network. You may have a look at my other tutorial how to install PostGIS on Ubuntu Linux.
To create a new PostGIS Connection, do the following:
- Open Global Mapper
- Go to Tools >> Connection Manager
- Click New
- Select PostGIS from the Spatial Database Type
- Give a new name for this connection
- Enter the PostGIS server details such as server host, port, username, password and database.
- Click Test Connection and make sure it works
- Hit OK
B. Manage Spatial Database Connection
Global Mapper supports multiple spatial database connection. Not only PostGIS, you can connect to MySQL database, SQL Server, ArcSDE database and Oracle spatial database. Everytime you need to edit the connections, you can go back to the Spatial database connection manager anytime and manage the connection from there.
C. Export and Import PostGIS tables to Global Mapper
Import PostGIS Table to Global Mapper
To open or import PostGIS tables to Global Mapper, do the following:
- Go to File >> Open Spatial Database
- Select the PostGIS connection or create a new connection if you don’t have it yet.
- Click Open
- Select the tables you want to import. You can import multiple tables at once.
- Click OK
Export layer to PostGIS from Global Mapper
To export layer or table from Global Mapper to PostGIS, do the following:
- Open or load the layer to Global Mapper
- Go to File >> Export >> Export vector spatial database
- Choose Select Spatial Database Connection (ArcSDE, PostGIS…) from the list.
- Click OK
- Select the PostGIS connection and hit Open
- Configure the Spatial Database Export Options. Depends on your layer type, you can export areas, lines and points.
Additionally, you may need to specify the export bound for the layers.
Click OK to start export.
How to Connect Global Mapper to Oracle Spatial Database | GIS Tutorial
January 15, 2020[…] Welcome to Global Mapper Tutorial for Beginners. In the following article, we are going to show you how to connect Global Mapper to Oracle Spatial Database. The Global Mapper supports various spatial database including PostGIS, MySQL Spatial, Oracle, SQL Server as well as ESRI File Geodatabase. In the previous article, I have written some tutorials about Global Mapper and PostGIS. […]