Skip to content

Commit 731ba45

Browse files
committed
Removing tiger geocoder
1 parent ae010eb commit 731ba45

102 files changed

Lines changed: 15 additions & 26367 deletions

File tree

Some content is hidden

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

.codespellrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ skip =
44
./deps/**,
55
./extensions/*/sql/**,
66
./extensions/*/sql_bits/*.sql,
7-
./extensions/postgis_tiger_geocoder/sql_bits/*.sql.in,
87
./doc/html/**,
98
./doc/po/**,
109
./doc/postgis-out.xml,

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Execute the same test targets used in CI:
162162

163163
```bash
164164
# Standard compile + regression suite
165-
make check RUNTESTFLAGS="--verbose --extension --raster --topology --sfcgal --tiger"
165+
make check RUNTESTFLAGS="--verbose --extension --raster --topology --sfcgal"
166166

167167
# Undefined behaviour sanitiser runs
168168
CC=clang ./configure CFLAGS="-g3 -O0 -fno-omit-frame-pointer -fsanitize=undefined" LDFLAGS="-fsanitize=undefined"

GNUmakefile.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ postgis_revision.h:
276276
include $(top_builddir)/regress/core/tests.mk
277277
include $(top_srcdir)/regress/loader/tests.mk
278278
include $(top_srcdir)/regress/dumper/tests.mk
279-
include $(top_srcdir)/extensions/postgis_tiger_geocoder/tests.mk
280279
ifeq ($(HAVE_SFCGAL),yes)
281280
override RUNTESTFLAGS := $(RUNTESTFLAGS) --sfcgal
282281
include $(top_builddir)/sfcgal/regress/tests.mk

LICENSE.TXT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The documentation for PostGIS is under a creative commons share-alike
5555
3.0 license. http://creativecommons.org/licenses/by-sa/3.0/
5656

5757
Data used in documentation falls in one of the following categories
58-
- Many of the examples in the topology and tiger geocoder section utilize
58+
- Many of the examples in the topology section utilize
5959
data from US Census Tiger data 2010
6060
https://www.census.gov/geo/www/tiger/tgrshp2010/tgrshp2010.html
6161
- data or snapshots generated by community

README.postgis

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ Directory structure::
1616
./doc PostGIS Documentation
1717
./extensions Support for the PostgreSQL Extensions framework
1818
./extras Various pieces that didn't belong to mainstream
19-
(package management specfiles, sample WKB parser,
20-
postgis_tiger_geocoder)
19+
(package management specfiles, sample WKB parser)
2120
./fuzzers Google fuzz tests for liblwgeom
2221
./liblwgeom LWGEOM geometry library
2322
./libpgcommon PostGIS library to bridge LWGEOM to PostgreSQL

ci/winnie/package_postgis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ value=${value//UPGRADEABLE_VERSIONS = /}
171171
export UPGRADEABLE_VERSIONS=$value
172172
#echo "Versions are: $UPGRADEABLE_VERSIONS"
173173
export WIN_RELEASED_VERSIONS="2.0.0 2.0.1 2.0.3 2.0.4 2.0.6 2.1.4 2.1.7 2.1.8 2.2.0 2.2.3 2.3.0 2.3.7 2.4.0 2.4.4"
174-
for EXTNAME in postgis postgis_raster postgis_topology postgis_sfcgal postgis_tiger_geocoder ; do
174+
for EXTNAME in postgis postgis_raster postgis_topology postgis_sfcgal; do
175175
cp extensions/$EXTNAME/sql/* ${RELDIR}/${RELVERDIR}/share/extension
176176

177177
cp extensions/$EXTNAME/sql/$EXTNAME--ANY--${POSTGIS_MICRO_VER}.sql ${RELDIR}/${RELVERDIR}/share/extension/$EXTNAME--${POSTGIS_MINOR_MAX_VER}--${POSTGIS_MICRO_VER}.sql

ci/winnie/regress_postgis.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ value=${value//UPGRADEABLE_VERSIONS = /}
135135
#echo $value
136136
export UPGRADEABLE_VERSIONS=$value
137137
export WIN_RELEASED_VERSIONS="2.0.0 2.0.1 2.0.3 2.0.4 2.0.6 2.1.4 2.1.7 2.1.8 2.2.0 2.2.3 2.3.0 2.3.7 2.4.0 2.4.4"
138-
export extensions_to_install="postgis postgis_sfcgal postgis_tiger_geocoder"
138+
export extensions_to_install="postgis postgis_sfcgal"
139139

140140
if [ $REGRESS_WITHOUT_TOPOLOGY == "0" ]; then
141141
extensions_to_install="${extensions_to_install} postgis_topology"
@@ -170,14 +170,6 @@ if [ "$UPGRADE_TEST" == "1" ]; then
170170
RUNTESTFLAGS='--extension' ${POSTGIS_SRC}/utils/check_all_upgrades.sh -s "${CURRENTVERSION}" --skip "unpackaged"
171171
fi
172172

173-
#test tiger geocoder
174-
# cd ${POSTGIS_SRC}
175-
# cd extensions/postgis_tiger_geocoder
176-
# make installcheck
177-
# if [ "$?" != "0" ]; then
178-
# exit $?
179-
# fi
180-
#end extension
181173
fi
182174

183175
if [ "$DUMP_RESTORE" == "1" ]; then

configure.ac

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1422,23 +1422,6 @@ AC_SUBST([POSTGIS_BUILD_DATE])
14221422
AC_SUBST([POSTGIS_SCRIPTS_VERSION])
14231423

14241424

1425-
dnl ====================================
1426-
dnl tiger_geocoder stuff
1427-
dnl ====================================
1428-
AC_ARG_WITH([tiger],
1429-
[AS_HELP_STRING([--without-tiger],
1430-
[Disable the tiger geocoder extension])],
1431-
[], [])
1432-
1433-
if test "x$with_tiger" != "xno"; then
1434-
TIGER="tiger"
1435-
AC_MSG_RESULT([TIGER: Tiger geocoder support requested])
1436-
else
1437-
AC_MSG_RESULT([TIGER: Tiger geocoder support disabled])
1438-
fi
1439-
1440-
AC_SUBST([TIGER])
1441-
14421425
CPPFLAGS="$PGSQL_CPPFLAGS $GEOS_CPPFLAGS $PROJ_CPPFLAGS $PROTOBUF_CPPFLAGS $XML2_CPPFLAGS $SFCGAL_CPPFLAGS $JSON_CPPFLAGS $CPPFLAGS"
14431426
dnl AC_MSG_RESULT([CPPFLAGS: $CPPFLAGS])
14441427

@@ -1863,7 +1846,6 @@ AC_CONFIG_FILES([GNUmakefile
18631846
extensions/Makefile
18641847
extensions/postgis/Makefile
18651848
extensions/postgis_topology/Makefile
1866-
extensions/postgis_tiger_geocoder/Makefile
18671849
$ADDRESS_STANDARDIZER_MAKEFILE_LIST
18681850
liblwgeom/Makefile
18691851
liblwgeom/cunit/Makefile
@@ -1990,12 +1972,6 @@ else
19901972
AC_MSG_RESULT([ Address Standardizer support: disabled])
19911973
fi
19921974

1993-
if test "x$TIGER" = "xtiger"; then
1994-
AC_MSG_RESULT([ PostGIS Tiger Geocoder: enabled])
1995-
else
1996-
AC_MSG_RESULT([ PostGIS Tiger Geocoder: disabled])
1997-
fi
1998-
19991975
AC_MSG_RESULT()
20001976
AC_MSG_RESULT([ -------- Documentation Generation -------- ])
20011977
AC_MSG_RESULT([ xsltproc: ${XSLTPROC}])

doc/Makefile.in

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ XML_SOURCES = \
163163
administration.xml \
164164
database_tuning.xml \
165165
extras_historytable.xml \
166-
extras_tigergeocoder.xml \
167166
extras_topology.xml \
168167
extras.xml \
169168
installation.xml \
@@ -538,8 +537,7 @@ comments-install:
538537
if test -e postgis_comments.sql -a \
539538
-e raster_comments.sql -a \
540539
-e topology_comments.sql -a \
541-
-e sfcgal_comments.sql -a \
542-
-e tiger_geocoder_comments.sql; then \
540+
-e sfcgal_comments.sql ; then \
543541
$(MAKE) -f Makefile.comments install; \
544542
fi
545543
else

doc/developer.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ run ALTER EXTENSION or SELECT postgis_extensions_upgrade() in a micro, so taking
100100
* For postgis_raster, raster/rt_pg/rtpg_legacy.c
101101
* postgis_topology extension has never had any deprecated functions so there is currently no legacy file for it.
102102
If there comes a need to deprecate C functions, then a file topology/postgis_topology_legacy.c will be created to store these.
103-
* postgis_tiger_geocoder is all sql and plpgsql so it has no C backing functions.
104103

105104
Why do we even bother replacing a good function with a function that throws an error? Because of pg_upgrade tool used
106105
to upgrade PostgreSQL clusters. When pg_upgrade runs, it does not use the regular CREATE EXTENSION routine that loads function definitions from

0 commit comments

Comments
 (0)