[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:48:09 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:  closed
  Priority:  medium   |  Milestone:  PostGIS 3.0.3
 Component:  postgis  |    Version:  2.5.x
Resolution:  wontfix  |   Keywords:
----------------------+---------------------------

Comment (by komzpa):

 I had to do that in the past for Landsat imagery. I did it via defining an
 larger extent and only using zooms from 1, which contained 4 tiles of
 which only upper 2 were explored.

 That required a base box of  (-180.0, -166.0, 332.0, 346.0), but
 afterwards the grids were aligned:
  https://github.com/Komzpa/twms/blob/master/twms/projections.py#L31

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4774#comment:2>
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