I am trying to recover a database created in PostGIS and hosted here (under resources):
https://github.com/cecois/dossin_art_api
I am able to download the file and open it as a text file but I do not know the file type extension which I should use to import this file into MySQL or view it in a meaningful way. Any help would be appreciated.
It’s a PostgreSQL archive file created by pg_dump, which doesn’t necessarily have any particular file type extension. Use pg_restore to restore the file to a PostreSQL database. You will need to install PostgreSQL and PostGIS, if you haven’t already done.
First create an empty database:
Then connect to this database, and spatially enable it (requires PostGIS to be installed):
Now from the system console, restore the file to the database:
Realistically, it would probably be simpler to request the original author for the data in a simpler format (CSV, Shapefile, etc.)