[ggl2-users] Re: [ggl2, Milestone 5] strange behavior with MULTIPOINT

  • From: Fernando González <fergonco@xxxxxxxxx>
  • To: ggl2-users@xxxxxxxxxxxxx
  • Date: Tue, 19 Jun 2012 17:05:02 +0200

Hi Guillaume. I don't know what the standard specifies but
Wikipedia[1] has examples of both syntax for multipoints.

In GGL code, I'm afraid we only accept the shortest one. I've opened a
ticket[2].

As for the output, the only requirement we've taken into account is
that it should be human readable. The output is not necessarily valid
GGL2. Should it be? What are you trying to do?

Regards.

[1] http://en.wikipedia.org/wiki/Well-known_text
[2] http://xp-dev.com/trac/ggl2/ticket/120

On Tue, Jun 19, 2012 at 3:45 PM, Guillaume Chauvat
<guillaume.chauvat@xxxxxxxxxxxxxx> wrote:
> Dear ggl2 users and developpers,
>
> Geometry declaration is not clear to me. As an example, ggl2 seems not to be
> fully compliant with WKT standard. If I try:
>   r = MULTIPOINT (0 0, 1 1);
>   show r;
>
> it compiles and produces at runtime:
>   MULTIPOINT ((0 0), (1 1))
> which is a bit different.
>
> What's the right way to declare a MULTIPOLYGON?
>
>

Other related posts: