[postgis-tickets] [PostGIS] #4774: How to set the geometry parameter of ST_TileEnvelope when 2 tiles exist at zoom level zero

PostGIS trac at osgeo.org
Fri Oct 23 05:16:49 PDT 2020


#4774: How to set the geometry parameter  of ST_TileEnvelope when 2 tiles exist at
zoom level zero
---------------------+---------------------------
 Reporter:  jingsam  |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.0.3
Component:  postgis  |    Version:  2.5.x
 Keywords:           |
---------------------+---------------------------
 I want to tile a dataset with a custom tiling scheme which is:
 1. crs is EPSG:4326
 2. 2 tiles exist at zoom 0, which is 0/0/0 and 0/1/0

 I tried this:
 SELECT st_astext(st_tileenvelope(0, 1, 0, st_makeenvelope(-180, -90, 0,
 90, 4326)))

 ERROR:  ST_TileEnvelope: Invalid tile x value, 1

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4774>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list