Skip to content

Viewer.plot issues #53

@moovida

Description

@moovida

Given the following testcode:

import geoscript.geom.*
import geoscript.viewer.*

def multiLineCoordinates = [
    [[10,10],[20,20],[10,40]],
    [[40,40],[30,30],[40,20],[30,10]]
]
def geom = new MultiLineString(multiLineCoordinates)

Viewer.plot([size: [800,800]],[geom])

I get the following:

image

You can see the points being shifted against the lines they are part of.

The same result can be obtained by avoiding to set the size:

Viewer.plot([geom])

and then enlarging the plot window.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions