[postgis-tickets] [PostGIS] #4238: st_asmvtgeom in 2.5 throws out geometries

PostGIS trac at osgeo.org
Thu Nov 15 03:59:01 PST 2018


#4238: st_asmvtgeom in 2.5 throws out geometries
--------------------------+---------------------------
  Reporter:  nextstopsun  |      Owner:  pramsey
      Type:  defect       |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 2.5.1
 Component:  postgis      |    Version:  2.5.x
Resolution:  fixed        |   Keywords:
--------------------------+---------------------------
Changes (by Algunenano):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 > On postgis 2.4.5 it returns good output, while on 2.5.0 it throws input
  geometry out.

 Hi, this should be fixed in the upcoming 2.5.1.

 # 2.5.0 (Ubuntu 16.04 from http://apt.postgresql.org/pub/repos/apt/)
 {{{
 MULTILINESTRING((2745 4049,2744 4049),(2785 4077,2784 4077))
 }}}

 # 2.5.0 from source
 {{{
 MULTILINESTRING((2745 4049,2744 4049),(2785 4077,2784 4077))
 }}}


 # svn-2.5 (future 2.5.1) from source:
 {{{
 MULTIPOLYGON(((2744 4049,2745 4046,2753 4046,2757 4047,2767 4057,2767
 4059,2777 4074,2782 4077,2784 4077,2779 4084,2753 4064,2739 4058,2742
 4051,2743 4049,2744 4049)))
 }}}


 # 3.0 from source:
 {{{
 MULTIPOLYGON(((2744 4049,2745 4046,2753 4046,2757 4047,2767 4057,2767
 4059,2777 4074,2782 4077,2784 4077,2779 4084,2753 4064,2739 4058,2742
 4051,2743 4049,2744 4049)))
 }}}


 > Offtop: If someone goes after fixing this one, please add an argument to
 st_asmvt to encode a column as feature ids.

 New features won't be available until 3.0 ships.

 Thanks for reporting!

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