[postgis-tickets] [PostGIS] #4289: A multipolygon is inverted in ST_AsMVTGeom in some cases

PostGIS trac at osgeo.org
Wed Jan 9 22:19:10 PST 2019


#4289: A multipolygon is inverted in ST_AsMVTGeom in some cases
----------------------+-------------------------
  Reporter:  ajolma   |      Owner:  pramsey
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:  vector tile
----------------------+-------------------------

Comment (by ajolma):

 The result:

 {{{
 MULTIPOLYGON(((-10 -10,2 -10,266 -10,266 101,266 102,266 266,-10 266,-10
 135,-10 134,-10 124,-10 123,-10 37,-10 35,-10 34,-10 32,-10 -1,-10
 -10),(-10 37,-5 38,-4 36,-6 35,-8 36,-9 37,-10 37),(-6 35,-2 36,4 35,2
 26,0 28,-1 30,-2 32,-3 35,-3.8 34.6,-5 34,-5.33333333333333
 34.3333333333333,-6 35),(262.111111111111 102.555555555556,260.4 102.8,261
 103,262.111111111111 102.555555555556),(260.4 102.8,258 102,251
 97,245.157894736842 95.0526315789474,246 96,250 97,259 103,260.4
 102.8),(245.157894736842 95.0526315789474,238 87,245 95,245.157894736842
 95.0526315789474),(238 87,233 87,232 84,232 87,234 88,238 87),(232 84,232
 83,231.5 82.5,232 84),(231.5 82.5,231 81,229 79,224.333333333333
 76.6666666666667,229 80,231.5 82.5),(224.333333333333 76.6666666666667,222
 75,221 75,224.333333333333 76.6666666666667),(75 148,78 149,81 148,83
 148,81 147,78 148,75 148),(83 148,87 151,84 148,83 148),(87 151,89 155,90
 155,89 154,87 151),(90 155,96 155,99 156,100 158,100 161,110 161,103
 160,105 146,92 144,90 155),(217 81,219 80,220 78,219 76,219 78,217
 81),(219 76,220 75,219 75,219 76),(217 81,213 80,212 79,208 81,140 92,127
 89,104 106,127 88,141 91,207 81,207 79,208 79,207 74,201 66,193 69,174
 69,168 73,166 81,144 84,145 80,143 81,143 79,142 76,144 73,142 70,134
 63,135 59,125 49,116 60,105 63,100 61,95 66,94 64,91 53,78 67,72 67,70
 71,87 78,104 86,103 88,103 86,90 80,89 83,84 85,79 82,83 77,42 60,70 72,66
 81,77 85,73 89,67 97,67 106,64 110,66 112,69 126,79 134,86 114,80 134,107
 131,127 140,125 153,125 154,129 152,136 152,139 155,142 154,146 150,150
 149,152 146,157 144,157 143,154 141,153 137,157 133,158 130,162 130,163
 128,165 128,168 128,173 130,174 128,174 124,175 122,178 122,176 125,177
 126,180 125,183 126,183 125,182 123,182 121,184 120,185 122,186 123,190
 121,195 117,196 115,192 108,193 102,195 99,197 101,200 101,203 102,207
 99,207 96,204 89,209 85,211 81,217 81),(42 60,38 60,42 61,42 60),(17
 141,15 149,18 149,18 150,22 150,24 149,25 151,25 153,27 155,29 157,30
 157,33 153,41 148,34 129,53 137,55 128,22 120,17 141),(30 157,33.8 157,34
 156,30 157),(33.8 157,33 161,34 157,33.8 157),(33 161,37 166,39 167,41
 164,40 164,39 166,38 166,33 161),(41 164,45 167,45 166,42 164,41 164),(44
 181,44 182,50 187,50 189,52 190,51 189,51 187,48 184,45 182,44 181),(52
 190,62 191,63.5 191.75,63 191,52 190),(63.5 191.75,64.3333333333333 193,64
 192,63.5 191.75),(64.3333333333333 193,65 195,66 194,67 191,66 193,65
 194,64.3333333333333 193),(67 191,68 191,69 189,67 191),(67 187,67 185,72
 182,75 179,75.82 174.9,67 170,56 176,57 182,75 177,71 182,66 185,66 186,67
 187),(75.82 174.9,76 175,76 174,75.82 174.9),(76 174,79 172,78 169,78
 172,76 173,76 174),(78 169,74 164,72 162,73 157,71 162,78 169),(1 138,2
 141,7 144,3 141,1 138),(7 144,7 146,9 147,8 146,7 144),(116 160,119
 159,121 156,119 158,116 160),(39 59,42 59,40 56,42 49,44 50,46 45,43 44,39
 59),(-4 135,-3 135,-1 135,-3 134,-4 135),(12 146,12 147,11 148,13 147,12
 146),(184 52,182 52,183 54,187 52,186 50,184 52)),((120 81,119 87,105
 83,105 79,109 78,119 80,120 81)),((86 114,85 114,85 112,87 112,87 111,88
 107,85 104,86 102,89 105,103 88,91 103,88 110,88 112,92 111,104 106,93
 111,88 113,86 114)))
 }}}

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