[postgis-tickets] [PostGIS] #2810: [raster docs] "delimiter" argument to ST_Band ?
PostGIS
trac at osgeo.org
Fri Jul 4 21:23:00 PDT 2014
#2810: [raster docs] "delimiter" argument to ST_Band ?
----------------------------+-----------------------------------------------
Reporter: strk | Owner: robe
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS 2.2.0
Component: documentation | Version: 2.1.x
Resolution: fixed | Keywords:
----------------------------+-----------------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
Comment:
I documented the arg in #12726, moved that version to bottom, and also
removed the example demonstrating how to use it.
In doing so I discovered a bug. Not sure if its worth fixing if we are
going to remove it in future.
Since the function uses regexp_split_to_array to convert the string to an
array of bands, I can't use my favorite '|' splitter because its a keyword
in regexp. It really should be using split_to_array function since it
only allows a one field delimeter. You also can't use any white space
character as a delimiter since it strips all white space from the text.
I'll open a separate ticket for this issue and close this one.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2810#comment:5>
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