[postgis-tickets] [PostGIS] #3710: ST_AsMVT doesn't support numeric or arrays
PostGIS
trac at osgeo.org
Mon Feb 13 07:40:15 PST 2017
#3710: ST_AsMVT doesn't support numeric or arrays
---------------------+---------------------------
Reporter: stvn | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.4.0
Component: postgis | Version: trunk
Keywords: |
---------------------+---------------------------
I'm using r15304 and I have a table with a numeric (numeric(16,0)), a
numeric array (numeric[]) and a string array and I want to produce mapbox
vector tiles with the new ST_AsMVT function.
However ST_AsMVT fails on the numeric with the error:
ERROR: parse_values: numeric type not supported
When I cast the numeric to a bigint the query continues without a hitch
and the value shows up in the feature properties.
However the arrays don't appear, nor does the query produce any error.
I would have expected the values of the arrays to be stored as arrays of
values in the feature property, or at least produce an error.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3710>
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