All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.index.model.AreaShort Maven / Gradle / Ivy

package org.opentripplanner.index.model;

import org.locationtech.jts.geom.Geometry;
import org.opentripplanner.model.FeedScopedId;
import org.opentripplanner.util.PolylineEncoder;
import org.opentripplanner.util.model.EncodedPolylineBean;

public class AreaShort {
    public FeedScopedId areaId;
    public EncodedPolylineBean polygon;

    public AreaShort(FeedScopedId areaId, Geometry polygon) {
        this.areaId = areaId;
        this.polygon = PolylineEncoder.createEncodings(polygon.getBoundary());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy