Opened 13 years ago
Last modified 5 years ago
#1332 new enhancement
ST_AsX3D option for bounding box output
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS Fund Me |
Component: | postgis | Version: | master |
Keywords: | Cc: |
Description
Add an opt option similar to what ST_AsGML has to allow outputting coordinates in a different orientation and also just the bounding box of the geometry.
Ideally would have an option to output a true mimimum bounding box (arbitrarily orientated minimum bounding box) not just an axis aligned one. As described here:
http://en.wikipedia.org/wiki/Minimum_bounding_box
Once I figure out how compute that.
Change History (8)
comment:1 by , 13 years ago
Milestone: | PostGIS 2.0.0 → PostGIS 2.1.0 |
---|---|
Owner: | changed from | to
comment:2 by , 12 years ago
Milestone: | PostGIS 2.1.0 → PostGIS Future |
---|
comment:3 by , 7 years ago
Milestone: | PostGIS Future → PostGIS Fund Me |
---|
comment:4 by , 7 years ago
This would be quite useful, as X3D has a y-up coordinate-system, while postgis is z-up. So currently all exported objects are rotated by 90°. I would even go as far as calling this a bug, since it violates the X3D specifications.
comment:5 by , 7 years ago
Milestone: | PostGIS Fund Me → PostGIS 2.5.0 |
---|
Hmm looks like I did put in an axis ordering (though looks to just flip x,y) rather than the Z which is the common case you mention.
http://postgis.net/docs/manual-dev/ST_AsX3D.html
I'll try to accomplish this for 2.5
comment:6 by , 6 years ago
Milestone: | PostGIS 2.5.0 → PostGIS next |
---|
comment:8 by , 5 years ago
Milestone: | PostGIS 3.0.0 → PostGIS Fund Me |
---|---|
Summary: | ST_AsX3D opt option for axis ordering and bounding box output → ST_AsX3D option for bounding box output |
renaming the subject since axis ordering was implemented in 2.2
Milestone renamed