public class ShapefileStreetSchema extends Object
Constructor and Description |
---|
ShapefileStreetSchema() |
public SimpleFeatureConverter<String> getIdConverter()
public void setIdConverter(SimpleFeatureConverter<String> idConverter)
public void setIdAttribute(String attributeName)
public SimpleFeatureConverter<String> getNameConverter()
public void setNameAttribute(String attributeName)
public void setNameConverter(SimpleFeatureConverter<String> nameConverter)
public SimpleFeatureConverter<P2<StreetTraversalPermission>> getPermissionConverter()
StreetTraversalPermission
for a street segment and
its reverse.public void setPermissionConverter(SimpleFeatureConverter<P2<StreetTraversalPermission>> permissionConverter)
public void setBicycleSafetyConverter(SimpleFeatureConverter<P2<Double>> safetyConverter)
public SimpleFeatureConverter<P2<Double>> getBicycleSafetyConverter()
public SimpleFeatureConverter<Boolean> getSlopeOverrideConverter()
setSlopeOverrideConverter
public void setSlopeOverrideConverter(SimpleFeatureConverter<Boolean> slopeOverrideConverter)
slopeOverrideConverter
- public void setFeatureSelector(SimpleFeatureConverter<Boolean> featureSelector)
featureSelector
- A featureSelector returns true if a feature is a street, and false otherwise.
Useful for centerline files that also have non-streets, such as political
boundaries or coastlinespublic SimpleFeatureConverter<Boolean> getFeatureSelector()
setFeatureSelector
public void setNoteConverter(SimpleFeatureConverter<String> noteConverter)
public SimpleFeatureConverter<String> getNoteConverter()
Copyright © 2018. All rights reserved.