forked from MapComplete/MapComplete
parent
4d783aae45
commit
aac736eba8
4 changed files with 8 additions and 19 deletions
|
@ -1,9 +1,4 @@
|
|||
import {Feature, Geometry} from "@turf/turf";
|
||||
|
||||
export type RelationId = `relation/${number}`
|
||||
export type WayId = `way/${number}`
|
||||
export type NodeId = `node/${number}`
|
||||
export type OsmId = NodeId | WayId | RelationId
|
||||
|
||||
export type OsmTags = Record<string, string> & {id: OsmId}
|
||||
export type OsmTags = Record<string, string> & {id: string}
|
||||
export type OsmFeature = Feature<Geometry, OsmTags>
|
Loading…
Add table
Add a link
Reference in a new issue