File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* (Beta) Export of data model OSMAddressPoint of the subject dataModel.OpenStreetMap
2+ for a PostgreSQL database. Pending translation of enumerations and multityped attributes */
3+ CREATE TYPE osmType_type AS ENUM (' node' , ' way' , ' relation' );
4+ CREATE TYPE OSMAddressPoint_type AS ENUM (' OSMAddressPoint' );
5+
6+ CREATE TABLE OSMAddressPoint (
7+ address JSON,
8+ addressCity TEXT ,
9+ addressCountry TEXT ,
10+ addressDistrict TEXT ,
11+ addressProvince TEXT ,
12+ alternateName TEXT ,
13+ areaServed TEXT ,
14+ dataProvider TEXT ,
15+ dateCreated TIMESTAMP ,
16+ dateModified TIMESTAMP ,
17+ description TEXT ,
18+ fullAddress TEXT ,
19+ houseName TEXT ,
20+ houseNumber TEXT ,
21+ id TEXT PRIMARY KEY ,
22+ location JSON,
23+ name TEXT ,
24+ osmId NUMERIC ,
25+ osmLastModified TIMESTAMP ,
26+ osmType osmType_type,
27+ owner JSON,
28+ postalCode TEXT ,
29+ refBuilding TEXT ,
30+ seeAlso JSON,
31+ source TEXT ,
32+ streetAddress TEXT ,
33+ type OSMAddressPoint_type
34+ );
You can’t perform that action at this time.
0 commit comments