From 2cb3e569b35145fe70950b4b56f6ef4ab3f09ed0 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sun, 27 Oct 2019 20:34:20 +0100 Subject: [PATCH] Change SVN references to GIT --- doc/installation.xml | 38 +++++++++++++++++++------------------- doc/reporting.xml | 14 +++++++------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/doc/installation.xml b/doc/installation.xml index 9148a29e8..fe60ce966 100644 --- a/doc/installation.xml +++ b/doc/installation.xml @@ -307,21 +307,21 @@ tar -xvzf postgis-&last_release_version;.tar.gz Alternatively, checkout the source from the - - svn + + git repository - - https://svn.osgeo.org/postgis/trunk/ + + https://git.osgeo.org/gitea/postgis/postgis/ . - svn checkout https://svn.osgeo.org/postgis/trunk/ postgis-&last_release_version; + git clone https://git.osgeo.org/gitea/postgis/postgis.git postgis Change into the newly created - postgis-&last_release_version; directory to continue + postgis directory to continue the installation. @@ -2483,33 +2483,33 @@ ALTER EXTENSION postgis_topology UPDATE TO "&last_release_version;next";ALTER TABLE spatial_ref_sys ADD CONSTRAINT spatial_ref_sys_srid_check check (srid > 0 AND srid < 999000 ); ALTER TABLE spatial_ref_sys ADD PRIMARY KEY(srid)); - + If you are upgrading an old database containing french IGN - cartography, you will have probably SRIDs out + cartography, you will have probably SRIDs out of range and you will see, when importing your database, issues like this : - + WARNING: SRID 310642222 converted to 999175 (in reserved zone) - - In this case, you can try following steps : first throw - out completely the IGN from the sql which is resulting + + In this case, you can try following steps : first throw + out completely the IGN from the sql which is resulting from postgis_restore.pl. So, after having run : - + perl utils/postgis_restore.pl "/somepath/olddb.backup" > olddb.sql run this command : - + grep -v IGNF olddb.sql > olddb-without-IGN.sql - - Create then your newdb, activate the required Postgis extensions, + + Create then your newdb, activate the required Postgis extensions, and insert properly the french system IGN with : - + this script - + After these operations, import your data : - + psql -h localhost -p 5432 -U postgres -d newdb -f olddb-without-IGN.sql 2> errors.txt diff --git a/doc/reporting.xml b/doc/reporting.xml index 9784a2ba8..ddcc6f69b 100644 --- a/doc/reporting.xml +++ b/doc/reporting.xml @@ -14,7 +14,7 @@ version() [for postgresql]. If you aren't using the latest release, it's worth taking a look at - its release + its release changelog first, to find out if your bug has already been fixed. @@ -51,20 +51,20 @@ - Check out a copy of PostGIS' Subversion trunk. On Unix, + Clone the PostGIS' git repository. On Unix, type: - svn checkout - http://svn.osgeo.org/postgis/trunk/ + git clone + https://git.osgeo.org/gitea/postgis/postgis.git - This will be stored in the directory ./trunk + This will be stored in the directory postgis Make your changes to the documentation with your favorite text editor. On Unix, type (for example): - vim trunk/doc/postgis.xml + vim doc/postgis.xml Note that the documentation is written in DocBook XML rather than HTML, so if you are not familiar with it please follow the example of the @@ -75,7 +75,7 @@ Make a patch file containing the differences from the master copy of the documentation. On Unix, type: - svn diff trunk/doc/postgis.xml > + git diff doc/postgis.xml > doc.patch -- 2.40.0