Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smellman/98ee9e7ccb42ea73145cd90ef3beb07c to your computer and use it in GitHub Desktop.
Save smellman/98ee9e7ccb42ea73145cd90ef3beb07c to your computer and use it in GitHub Desktop.
0001-supports-proj-changes-update-mercator-projection.patch
From cb83398706df33b08242e66714608c66e7d6b8e4 Mon Sep 17 00:00:00 2001
From: Taro Matsuzawa <taro@georepublic.co.jp>
Date: Fri, 6 Nov 2020 19:58:53 +0900
Subject: [PATCH] supports proj changes: update mercator projection
---
regress/core/tickets.sql | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/regress/core/tickets.sql b/regress/core/tickets.sql
index 70925f805..2478ad421 100644
--- a/regress/core/tickets.sql
+++ b/regress/core/tickets.sql
@@ -590,9 +590,9 @@ with inp as (
select '#1578', st_within(p, mp), st_intersects(p, mp) FROM inp;
-- #1580
-select '#1580.1', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
-select '#1580.2', ST_Transform('SRID=4326;POINT(180 90)'::geometry, 3395); -- fails
-select '#1580.3', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
+select '#1580.1', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 32631));
+select '#1580.2', ST_Transform('SRID=4326;POINT(180 90)'::geometry, 32631); -- fails
+select '#1580.3', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 32631));
-- #1596 --
CREATE TABLE road_pg (ID INTEGER, NAME VARCHAR(32));
--
2.29.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment