Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbcdef9d

Browse files
author
Alexander Korotkov
committed
Merge with master.
2 parentse582329 +8de326d commitbcdef9d

File tree

61 files changed

+7580
-2308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+7580
-2308
lines changed

‎Makefile‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,23 @@ MODULE_big = pg_sphere
22
OBJS = sscan.o sparse.o sbuffer.o vector3d.o point.o\
33
euler.o circle.o line.o ellipse.o polygon.o\
44
path.o box.o output.o gq_cache.o gist.o key.o\
5-
crossmatch.o
5+
crossmatch.o gnomo.o
66

77
EXTENSION = pg_sphere
88
DATA_built = pg_sphere--1.0.sql
99
DOCS = README.pg_sphere COPYRIGHT.pg_sphere
10-
REGRESS = init tables points euler circle line ellipse poly path box index
10+
REGRESS = init tables points euler circle line ellipse poly path box index\
11+
contains_ops contains_ops_compat bounding_box_gist gnomo
12+
1113
EXTRA_CLEAN = pg_sphere--1.0.sql$(PGS_SQL)
1214

1315
CRUSH_TESTS = init_extended circle_extended
1416

1517
# order of sql files is important
1618
PGS_SQL = pgs_types.sql pgs_point.sql pgs_euler.sql pgs_circle.sql\
1719
pgs_line.sql pgs_ellipse.sql pgs_polygon.sql pgs_path.sql\
18-
pgs_box.sql pgs_gist.sql pgs_crossmatch.sql
20+
pgs_box.sql pgs_contains_ops.sql pgs_contains_ops_compat.sql\
21+
pgs_gist.sql pgs_crossmatch.sql gnomo.sql\
1922

2023
ifdefUSE_PGXS
2124
ifndef PG_CONFIG
@@ -56,4 +59,3 @@ endif
5659
dist : clean sparse.c sscan.c
5760
find. -name'*~' -type f -exec rm {}\;
5861
cd ..&& tar --exclude CVS -czf pg_sphere.tar.gz pg_sphere&&cd -
59-

‎README.pg_sphere‎

Lines changed: 12 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,31 @@
1-
This is R-Tree implementation using GiST for spherical objects
2-
like spherical points and spherical circles with
1+
This isanR-Tree implementation using GiST for spherical objects
2+
like spherical points and spherical circles with
33
useful functions and operators.
44

55

66
NOTICE:
7-
This version willworks only with postgresql version8.0 and above.
7+
This version willwork only with postgresql version9.1 and above.
88

9-
INSTALLATION AS EXTENSION (RECOMMENDED):
9+
INSTALLATION:
1010

1111
-- build and install
1212
gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config
1313
gmake USE_PGXS=1 PG_CONFIG=/usr/bin/pg_config install
1414
-- load extension
15-
psql<database>-c "CREATE EXTENSION pg_sphere;"
15+
psql -c "CREATE EXTENSION pg_sphere;" <database>
1616

17-
INSTALLATION AS MODULE (DEPRECATED):
17+
REGRESSION TEST (as the same user as the currently running postgresql server):
1818

19-
-- build and install
20-
gmake
21-
gmake install
22-
-- load functions
23-
psql <database> < pg_sphere.sql
24-
25-
REGRESSION TEST:
26-
27-
gmake installcheck
19+
make USE_PGXS=1 installcheck
2820

2921
LONG REGRESSION TEST:
3022

31-
gmake crushtest
23+
make USE_PGXS=1 crushtest
24+
25+
The 'make' program must be compatible with GNU make.
3226

33-
For more informations have a look at http://pgsphere.projects.postgresql.org/
27+
For more information, have a look at http://pgsphere.projects.postgresql.org
28+
and https://github.com/akorotkov/pgsphere
3429

3530
Have a lot of fun!
3631

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp