Bret:
We use the JTS Topology Suite library for 95% of our geometry needs - it
uses the "Simple Feature for SQL" geometry model of POINT, LINE and
POLYGON. We have our own customization called WKTReader2 of the JTS
WKTReader that also supports curves.
See: http://docs.geotools.org/latest/userguide/library/jts/geometry.html
I have used this with Z before, but I cannot remember if it supports M
values. The JTS Topology Suite data model is able to support coordinates
with M and Z - but only uses X and Y for spatial relationships and
operations.
We also have an experiment with a different geometry model, ISO geometry
model, consisting of POINT, CURVE, SURFACE. We made a WKTReader for that
one which reads "point,line,polygon" but creates POINT, CURVE, SURFACE. A
team in Korea has been working on adapting GeoServer to this geometry
model, using a different library to perform spatial relationships.
--
Jody Garnett
On 25 July 2017 at 17:46, Bret Webb <[email protected]> wrote:
> I appologize in advance if this is supposed to be obvious, but looking at
> the API here: http://docs.geotools.org/latest/javadocs/ and WKT Parser, I
> could not tell if it can identify and handle M and Z and ZM for the
> geometry (eg. POINT, POLYGON, etc.).It also sounds like MULTILINESTRING
> , MULTIPOLYGON and MULTIPOINT seem to not have matching types in GEOAPI,
> and might not be handled? Not sure what this means.
>
> I need a parser that will handle M and Z for the various geometry. Can
> someone please confirm that Geotools can do this?
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users