WKTParser bug

Issue #2 resolved
Yaming Zhang created an issue

If we parse a point and the argument of IGeometry is an empty point, there will be a NullPointerException. Below is an example.

WKTParser wkt = new WKTParser();
        Point p =new Point();
        String str1 = "POINT (30 10)";
        wkt.parse(str1,p);

Comments (2)

  1. Ahmed Eldawy repo owner

    Fixed Issue #2

    Refactor: Renamed Point#setNumDimensions to Point#setCoordinateDimension for consistency

    Fixed the WKTParser to set the correct number of dimensions for the point

    → <<cset e560f5c1068e>>

  2. Log in to comment