private FeatureShape getFeatureShape ( Map < Long , FeatureShape > featureIds , long featureId ) { FeatureShape featureShape = featureIds . get ( featureId ) ; if ( featureShape == null ) { featureShape = new FeatureShape ( featureId ) ; featureIds . put ( featureId , featureShape ) ; } return featureShape ; }
Get the map shapes for the feature ids and feature id