[postgis-users] Question on GEOMETRY type
strk at keybit.net
Wed May 19 08:25:45 PDT 2010
On Wed, May 19, 2010 at 07:43:03AM -0700, Paul Ramsey wrote:
> If you have an older version of PostGIS, the zmflag() function also
> returns the information you need.
Which was even more useful as you could get the whole information
with a single function rather than two, and hitting less keystrokes too! :)
Was that function deprecated ?
> 2010/5/19 Paul Ramsey <pramsey at opengeo.org>:
> > ST_NDims() returns the number of dimensions, but that doesn't
> > distinguish between XYM and XYZ.
> > The ESRI compatibility functions SE_IsMeasured() and SE_Is3D() (hey,
> > they are useful after all!) return the information you are looking
> > for.
> > P
> > On Wed, May 19, 2010 at 7:23 AM, Ëïçù <qsundw at gmail.com> wrote:
> >> Can anyone throw some lights on the question?
> >> Thanks,
> >> Cheney
> >> On Wed, May 19, 2010 at 6:27 PM, Ëïçù <qsundw at gmail.com> wrote:
> >>> Hi experts,
> >>> Do we have a way to resolve the third dimensionality of GEOMETRY data? As
> >>> known, those single types(POINT, LINESTRING, POLYGON....) all have the
> >>> corresponding XYM versions with suffix M. Thus, if we have
> >>> three-dimensionality feature, we can discriminate its third dimensionality
> >>> as Z or M by the returned geometry type. However, if the mixed-typed
> >>> (GEOMETRY) is used, it seems that it's hard to resolve the 3rd
> >>> dimensionality. By the Postgis 1.5.1 manual, no GEOMETRYM type is provided
> >>> to fix the issue. So can someone tell me if there is another way to do the
> >>> work?
> >>> Thanks,
> >>> Cheney
> >> _______________________________________________
> >> postgis-users mailing list
> >> postgis-users at postgis.refractions.net
> >> http://postgis.refractions.net/mailman/listinfo/postgis-users
> postgis-users mailing list
> postgis-users at postgis.refractions.net
() Free GIS & Flash consultant/developer
More information about the postgis-users