* @param storeType
* The type of storage to use for holding node locations.
*/
public WayGeometryBuilder(NodeLocationStoreType storeType) {
if (NodeLocationStoreType.InMemory.equals(storeType)) {
locationStore = new InMemoryNodeLocationStore();
} else if (NodeLocationStoreType.TempFile.equals(storeType)) {
locationStore = new PersistentNodeLocationStore();
} else if (NodeLocationStoreType.CompactTempFile.equals(storeType)) {
locationStore = new CompactPersistentNodeLocationStore();
} else {