@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof PointData)) return false;

        PointData pointData = (PointData) o;

        if (!category.equals(pointData.category)) return false;
        if (!id.equals(pointData.id)) return false;
        if (!Arrays.equals(location, pointData.location)) return false;
        if (!title.equals(pointData.title)) return false;

        return true;
    }