Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

ST_Extrude (in PostGIS) of M geometries looses M #110

Closed
robe2 opened this issue Oct 3, 2015 · 5 comments
Closed

ST_Extrude (in PostGIS) of M geometries looses M #110

robe2 opened this issue Oct 3, 2015 · 5 comments
Assignees
Labels

Comments

@robe2
Copy link
Contributor

robe2 commented Oct 3, 2015

I think the issue we have ticketed at https://trac.osgeo.org/postgis/ticket/2756 is an SFCGAL issue.
So switched milestone to SFCGAL. Let me know if this can be fixed or not. I can mark it as a no-fix and just put a warning in docs. It's a rare use I think anyway.

SELECT ST_AsText(ST_Extrude('LINESTRING M (-10 50 1,50 -10 1)'::geometry, 20.1,20.1,20.1) );

Gives:


POLYHEDRALSURFACE Z (((-10 50 0,50 -10 0,70.1 10.1 20.1,10.1 70.1 20.1,-10 50 0)))

@mhugo
Copy link
Contributor

mhugo commented Feb 25, 2016

There is no common rule of what is expected when creating a new M (copy it ? multiply it by the length of the extrusion vector ?). So we drop it. It should be documented this way indeed :)

@mhugo mhugo added the postgis label Feb 25, 2016
@danielcu888
Copy link
Contributor

@mhugo I don't mind doing this if you wish to assign it to me.

@danielcu888
Copy link
Contributor

Thanks, @lbartoletti I'll get started on this today.

danielcu888 added a commit to danielcu888/SFCGAL that referenced this issue Jun 13, 2020
* Extended extrude function descriptions to indicate how
  Geometries that contain measures that are input into
  extrude will generate results with thise measures stripped.
danielcu888 added a commit to danielcu888/SFCGAL that referenced this issue Jun 13, 2020
* Extended extrude function descriptions to indicate how
  Geometries that contain measures that are input into
  extrude will generate results with thise measures stripped.
@danielcu888
Copy link
Contributor

@lbartoletti I have submitted PR 228 to address this issue.

danielcu888 added a commit to danielcu888/SFCGAL that referenced this issue Jun 15, 2020
danielcu888 added a commit to danielcu888/SFCGAL that referenced this issue Jun 15, 2020
* Extended extrude function descriptions to indicate how
  Geometries that contain measures that are input into
  extrude will generate results with thise measures stripped.
lbartoletti added a commit that referenced this issue Jun 15, 2020
…or-measures

Issue #110: Added documentation to SFCGAL::algorithm::extrude
@danielcu888
Copy link
Contributor

@lbartoletti this can now be resolved I think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants