Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated postgis from 2.5 to 3.3.2 and fix bugs after updated #3

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# PostGIS for Cloudberry Database
# PostGIS 3.3.2 for Cloudberry Database

[![Slack](https://img.shields.io/badge/Join_Slack-6a32c9)](https://communityinviter.com/apps/cloudberrydb/welcome)
[![Twitter Follow](https://img.shields.io/twitter/follow/cloudberrydb)](https://twitter.com/cloudberrydb)
Expand Down Expand Up @@ -117,7 +117,7 @@ Now, let's get started.
Then we continue:

```bash
cd /home/gpadmin/postgis/postgis/build/postgis-2.5.4/
cd /home/gpadmin/postgis/postgis/build/postgis-3.3.2/
./autogen.sh
./configure --prefix="${GPHOME}" --with-pgconfig="${GPHOME}"/bin/pg_config --with-raster --without-topology --with-gdalconfig=/usr/local/gdal-2.2.1/bin/gdal-config --with-sfcgal=/usr/local/sfcgal-1.3.6/bin/sfcgal-config --with-geosconfig=/usr/local/geos-3.7.0/bin/geos-config
make && make install
Expand All @@ -142,9 +142,9 @@ For more usages, you can follow [PostGIS manual](https://postgis.net/documentati
## License

This project is under GPL v2, because PostGIS is under GPL v2, see the [LICENSE](./LICENSE). PostGIS also includes some files not
under GPL v2 license, you can check the original [LICENSE](./postgis/build/postgis-2.5.4/LICENSE.TXT) in PostGIS
under GPL v2 license, you can check the original [LICENSE](./postgis/build/postgis-3.3.2/LICENSE.TXT) in PostGIS
project for details.

## Acknowledgment

PostGIS is one project forked from [greenplum-db/geopatial](https://github.com/greenplum-db/geospatial/). Thanks to all the original contributors.
PostGIS is one project forked from [greenplum-db/geospatial](https://github.com/greenplum-db/geospatial/). Thanks to all the original contributors.
22 changes: 7 additions & 15 deletions postgis/Makefile.version
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,33 @@
# current version of postgis to compile
# -----------------------------------------

POSTGIS_VER = 2.5.4
POSTGIS_VER = 3.3.2

# -----------------------------------------
# remaining are used for enterprise build
# -----------------------------------------

# GEOS
GEOS_VER = 3.7.0
GEOS_VER = 3.10.2
GEOS_REL = 1

# PROJ.4
PROJ_VER = 4.8.0
PROJ_VER = 8.2.1
PROJ_REL = 1

# JSON-C
JSON_VER = 0.12
JSON_REL = 1

# SFCGAL
SFCGAL_VER = 1.3.6
SFCGAL_REL = 1

# CGAL
CGAL_VER = 4.13
CGAL_REL = 1

# GDAL
GDAL_VER = 2.2.1
GDAL_VER = 3.6.3
GDAL_REL = 1

# LIBEXPAT
LIBEXPAT_VER = 2.4.4
LIBEXPAT_VER = 2.5.0
LIBEXPAT_REL = 1

# GPDB gppkg
PIVOTAL_VER = 2.5
GPDB_VER = 6.0
PIVOTAL_VER = 3.3
GPDB_VER = 7.0
POSTGIS_REL = 1
6 changes: 3 additions & 3 deletions postgis/README.libs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
5. sudo yum install -y CUnit CUnit-devel

5. install gdal 1.11.1:
wget http://download.osgeo.org/gdal/1.11.1/gdal-1.11.1.tar.gz
tar zxf gdal-1.11.1.tar.gz
cd gdal-1.11.1
wget http://download.osgeo.org/gdal/3.6.3/gdal-3.6.3.tar.gz
tar zxf gdal-3.6.3.tar.gz
cd gdal-3.6.3
./configure --prefix=$GPHOME (or other place you want, default is /usr/local)
make
make install
34 changes: 0 additions & 34 deletions postgis/build/postgis-2.5.4/.drone-1.0.yml

This file was deleted.

34 changes: 0 additions & 34 deletions postgis/build/postgis-2.5.4/.drone.yml

This file was deleted.

58 changes: 0 additions & 58 deletions postgis/build/postgis-2.5.4/.editorconfig

This file was deleted.

8 changes: 0 additions & 8 deletions postgis/build/postgis-2.5.4/.gitattributes

This file was deleted.

20 changes: 0 additions & 20 deletions postgis/build/postgis-2.5.4/.gitlab-ci.yml

This file was deleted.

68 changes: 0 additions & 68 deletions postgis/build/postgis-2.5.4/.travis.yml

This file was deleted.

Loading