#3819 closed defect (fixed)
ST_AsMVTGeom changes line direction
Reported by: | nextstopsun | Owned by: | Björn Harrtell |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.4.0 |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
While this may be the expected behaviour for polygons (forcing right-hand-rule), this causes issues when styling or analysing line objects. I.e. road directions get messed.
Change History (11)
comment:1 by , 7 years ago
Milestone: | PostGIS 2.3.4 → PostGIS 2.4.0 |
---|---|
Owner: | changed from | to
comment:2 by , 7 years ago
I'm pretty sure I can easily fix this, will report back ASAP and within the timeframe.
comment:3 by , 7 years ago
I think https://git.osgeo.org/gogs/postgis/postgis/pulls/16 is the solution but would like CI testing before pushing to svn. Well, would like to not have to push to svn at all I've forgot how to.. :)
comment:4 by , 7 years ago
Ack seems I needed to get it into svn to get proper CI. But indeed having problem doing the git svn dcommit dance (no problem with git svn fetch though), getting "Unable to determine upstream SVN information from HEAD history.".
comment:9 by , 7 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Still appears to be an issue. I kept ST_Normalize as the last step which I didn't think would change orientation but it probably does. Will move that logic to tests where it belongs (was only added to get consistent output for the test cases).
comment:11 by , 7 years ago
As a side-effect this should improve performance as the normalization did more work than I expected.
ST_AsMVTGeom is a 2.4 feature not a 2.3.
Bjorn,
Can you see if this is quick to address in a week or 2, if not we'll have to table it till 2.4.1 or 2.5