forked from MapComplete/MapComplete
Fix import flow for more advanced scenarios
This commit is contained in:
parent
913dc07eea
commit
700b48f693
18 changed files with 871 additions and 575 deletions
|
@ -7,9 +7,11 @@ export class ImportUtils {
|
|||
if (osmData?.features === undefined) {
|
||||
return undefined
|
||||
}
|
||||
if(osmData.features.length === 0){
|
||||
return {noNearby: toPartitionFeatureCollection.features, hasNearby: []}
|
||||
}
|
||||
const maxDist = cutoffDistanceInMeters.data
|
||||
|
||||
|
||||
const hasNearby = []
|
||||
const noNearby = []
|
||||
for (const toImportElement of toPartitionFeatureCollection.features) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue