[postgis-tickets] [PostGIS] #3522: ST_Subdivide() returns 0 rows on point geometries

PostGIS trac at osgeo.org
Thu Apr 7 19:00:26 PDT 2016


#3522: ST_Subdivide() returns 0 rows on point geometries
-------------------------+---------------------
 Reporter:  snorris      |      Owner:  pramsey
     Type:  enhancement  |     Status:  new
 Priority:  medium       |  Milestone:
Component:  postgis      |    Version:  2.2.x
 Keywords:               |
-------------------------+---------------------
 Based on http://blog.cartodb.com/subdivide-all-things/ I just tried
 ST_Subdivide. It works great, a nice performance benefit.

 Points weren't handled as I expected though:
 {{{
 SELECT ST_Subdivide(ST_GeomFromText('POINT(1 1)',4326),10);
  st_subdivide
 --------------
 (0 rows)
 }}}

 Of course subdividing points makes no sense, but the function might be
 easier to use if points were returned unchanged?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3522>
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