From 67088b9851082ff797156ea18be854eaa7ef7064 Mon Sep 17 00:00:00 2001 From: Kelvin Lawrence Date: Thu, 15 Aug 2024 16:42:12 -0500 Subject: [PATCH] Ensure all lat/lon properties are float types --- sample-data/Cypher/air-routes.cypher | 30 ++++++++++++++-------------- sample-data/Cypher/make-cypher.rb | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/sample-data/Cypher/air-routes.cypher b/sample-data/Cypher/air-routes.cypher index 1aa2991a..0666fa69 100644 --- a/sample-data/Cypher/air-routes.cypher +++ b/sample-data/Cypher/air-routes.cypher @@ -2247,7 +2247,7 @@ CREATE (a2245:Airport {id:'2245',code:'SSR',icao:'NVSH',city:'Pentecost Island', CREATE (a2246:Airport {id:'2246',code:'PBJ',icao:'NVSI',city:'Paama Island',desc:'Tavie Airport',region:'VU-MAP',runways:1,longest:1968,elev:160,country:'VU',continent:'OC',lat:-16.438999176,lon:168.257003784}) CREATE (a2247:Airport {id:'2247',code:'LPM',icao:'NVSL',city:'Lamap',desc:'Lamap Airport',region:'VU-MAP',runways:1,longest:2755,elev:7,country:'VU',continent:'OC',lat:-16.4540004730225,lon:167.822998046875}) CREATE (a2248:Airport {id:'2248',code:'LNB',icao:'NVSM',city:'Lamen Bay',desc:'Lamen Bay Airport',region:'VU-SEE',runways:1,longest:2789,elev:7,country:'VU',continent:'OC',lat:-16.5841999054,lon:168.158996582}) -CREATE (a2249:Airport {id:'2249',code:'MWF',icao:'NVSN',city:'Maewo Island',desc:'Maewo-Naone Airport',region:'VU-PAM',runways:1,longest:2789,elev:509,country:'VU',continent:'OC',lat:-15,lon:168.082992554}) +CREATE (a2249:Airport {id:'2249',code:'MWF',icao:'NVSN',city:'Maewo Island',desc:'Maewo-Naone Airport',region:'VU-PAM',runways:1,longest:2789,elev:509,country:'VU',continent:'OC',lat:-15.0,lon:168.082992554}) CREATE (a2250:Airport {id:'2250',code:'LNE',icao:'NVSO',city:'Lonorore',desc:'Lonorore Airport',region:'VU-PAM',runways:1,longest:2175,elev:43,country:'VU',continent:'OC',lat:-15.8655996323,lon:168.17199707}) CREATE (a2251:Airport {id:'2251',code:'NUS',icao:'NVSP',city:'Norsup',desc:'Norsup Airport',region:'VU-MAP',runways:1,longest:2972,elev:23,country:'VU',continent:'OC',lat:-16.0797004699707,lon:167.401000976562}) CREATE (a2252:Airport {id:'2252',code:'ZGU',icao:'NVSQ',city:'Gaua Island',desc:'Gaua Island Airport',region:'VU-TOB',runways:1,longest:2802,elev:100,country:'VU',continent:'OC',lat:-14.2180995941,lon:167.587005615}) @@ -3025,12 +3025,12 @@ CREATE (a3023:Airport {id:'3023',code:'NZH',icao:'ZBMZ',city:'Manzhouli',desc:'M CREATE (a3024:Airport {id:'3024',code:'RLK',icao:'ZBYZ',city:'Bayannur',desc:'Bayannur Tianjitai Airport',region:'CN-15',runways:1,longest:8530,elev:3389,country:'CN',continent:'AS',lat:40.926389,lon:107.738889}) CREATE (a3025:Airport {id:'3025',code:'IWK',icao:'RJOI',city:'Iwakuni',desc:'Iwakuni Marine Corps Air Station',region:'JP-35',runways:2,longest:8000,elev:7,country:'JP',continent:'AS',lat:34.1439018249512,lon:132.235992431641}) CREATE (a3026:Airport {id:'3026',code:'TCR',icao:'VO80',city:'Thoothukudi',desc:'Tuticorin Southwest Airport',region:'IN-TN',runways:1,longest:4434,elev:129,country:'IN',continent:'AS',lat:8.72424030303955,lon:78.0258026123047}) -CREATE (a3027:Airport {id:'3027',code:'SZE',icao:'HASM',city:'Semera',desc:'Semera Airport',region:'ET-AF',runways:1,longest:7218,elev:1436,country:'ET',continent:'AF',lat:11.787500,lon:40.991389}) +CREATE (a3027:Airport {id:'3027',code:'SZE',icao:'HASM',city:'Semera',desc:'Semera Airport',region:'ET-AF',runways:1,longest:7218,elev:1436,country:'ET',continent:'AF',lat:11.7875,lon:40.991389}) CREATE (a3028:Airport {id:'3028',code:'LMA',icao:'PAMH',city:'Minchumina',desc:'Minchumina Airport',region:'US-AK',runways:1,longest:4184,elev:681,country:'US',continent:'NA',lat:63.8860015869141,lon:-152.302001953125}) CREATE (a3029:Airport {id:'3029',code:'KZR',icao:'LTBZ',city:'Kutahya',desc:'Zafer Airport',region:'TR-43',runways:1,longest:9843,elev:3322,country:'TR',continent:'EU',lat:39.111456,lon:30.130217}) CREATE (a3030:Airport {id:'3030',code:'NOP',icao:'LTCM',city:'Sinop',desc:'Sinop Airport',region:'TR-57',runways:1,longest:5420,elev:3524,country:'TR',continent:'AS',lat:42.0158004760742,lon:35.0663986206055}) CREATE (a3031:Airport {id:'3031',code:'OSM',icao:'ORBM',city:'Mosul',desc:'Mosul International Airport',region:'IQ-NI',runways:1,longest:8694,elev:719,country:'IQ',continent:'AS',lat:36.3058013916016,lon:43.1473999023438}) -CREATE (a3032:Airport {id:'3032',code:'THD',icao:'VVTX',city:'Tho Xuan',desc:'Tho Xuan Airport',region:'VN-21',runways:1,longest:10499,elev:73,country:'VN',continent:'AS',lat:19.902500,lon:105.469167}) +CREATE (a3032:Airport {id:'3032',code:'THD',icao:'VVTX',city:'Tho Xuan',desc:'Tho Xuan Airport',region:'VN-21',runways:1,longest:10499,elev:73,country:'VN',continent:'AS',lat:19.9025,lon:105.469167}) CREATE (a3033:Airport {id:'3033',code:'LLB',icao:'ZULB',city:'Libo County',desc:'Libo Airport',region:'CN-52',runways:1,longest:7546,elev:2707,country:'CN',continent:'AS',lat:25.450833,lon:107.962222}) CREATE (a3034:Airport {id:'3034',code:'DCY',icao:'ZUDC',city:'Daocheng',desc:'Daocheng Yading Airport',region:'CN-51',runways:1,longest:13780,elev:14472,country:'CN',continent:'AS',lat:29.323056,lon:100.053333}) CREATE (a3035:Airport {id:'3035',code:'KGT',icao:'ZUDC',city:'Kangding',desc:'Kangding Airport',region:'CN-51',runways:1,longest:13123,elev:14042,country:'CN',continent:'AS',lat:30.142778,lon:101.738611}) @@ -3136,7 +3136,7 @@ CREATE (a3134:Airport {id:'3134',code:'GMA',icao:'FZFK',city:'Gemena',desc:'Geme CREATE (a3135:Airport {id:'3135',code:'MEH',icao:'ENMH',city:'Mehamn',desc:'Mehamn Airport',region:'NO-20',runways:1,longest:2887,elev:39,country:'NO',continent:'EU',lat:71.0297012329102,lon:27.8267002105713}) CREATE (a3136:Airport {id:'3136',code:'ZFN',icao:'CZFN',city:'Tulita',desc:'Tulita Airport',region:'CA-NT',runways:1,longest:3935,elev:332,country:'CA',continent:'NA',lat:64.9096984863281,lon:-125.572998046875}) CREATE (a3137:Airport {id:'3137',code:'ZEM',icao:'CZEM',city:'Eastmain River',desc:'Eastmain River Airport',region:'CA-QC',runways:1,longest:3510,elev:24,country:'CA',continent:'NA',lat:52.2263984680176,lon:-78.5224990844727}) -CREATE (a3138:Airport {id:'3138',code:'ZDY',icao:'OMDL',city:'Delma Island',desc:'Delma Island',region:'AE-AZ',runways:1,longest:8202,elev:25,country:'AE',continent:'AS',lat:24.509722,lon:52.335000}) +CREATE (a3138:Airport {id:'3138',code:'ZDY',icao:'OMDL',city:'Delma Island',desc:'Delma Island',region:'AE-AZ',runways:1,longest:8202,elev:25,country:'AE',continent:'AS',lat:24.509722,lon:52.335}) CREATE (a3139:Airport {id:'3139',code:'ZGS',icao:'CTT5',city:'La Romaine',desc:'La Romaine Airport',region:'CA-QC',runways:1,longest:3932,elev:90,country:'CA',continent:'NA',lat:50.2597007751465,lon:-60.6794013977051}) CREATE (a3140:Airport {id:'3140',code:'YXN',icao:'CYXN',city:'Whale Cove',desc:'Whale Cove Airport',region:'CA-NU',runways:1,longest:4000,elev:40,country:'CA',continent:'NA',lat:62.2400016785,lon:-92.5980987549}) CREATE (a3141:Airport {id:'3141',code:'YVM',icao:'CYVM',city:'Qikiqtarjuaq',desc:'Qikiqtarjuaq Airport',region:'CA-NU',runways:1,longest:3800,elev:21,country:'CA',continent:'NA',lat:67.5457992554,lon:-64.0314025879}) @@ -3212,7 +3212,7 @@ CREATE (a3210:Airport {id:'3210',code:'JQA',icao:'BGUQ',city:'Uummannaq',desc:'Q CREATE (a3211:Airport {id:'3211',code:'SHC',icao:'none',city:'Shire Indasilase',desc:'Shire Inda Selassie Airport',region:'ET-TI',runways:1,longest:7694,elev:6207,country:'ET',continent:'AF',lat:14.0781002044678,lon:38.2724990844727}) CREATE (a3212:Airport {id:'3212',code:'SDV',icao:'LLSD',city:'Tel Aviv',desc:'Sde Dov Airport',region:'IL-TA',runways:1,longest:5712,elev:43,country:'IL',continent:'AS',lat:32.1147003173828,lon:34.7821998596191}) CREATE (a3213:Airport {id:'3213',code:'SDG',icao:'OICS',city:'Sanandaj',desc:'Sanandaj Airport',region:'IR-16',runways:1,longest:8660,elev:4522,country:'IR',continent:'AS',lat:35.2458992004395,lon:47.0092010498047}) -CREATE (a3214:Airport {id:'3214',code:'RIB',icao:'SLRI',city:'Riberalta',desc:'Capitán Av. Selin Zeitun Lopez Airport',region:'BO-B',runways:1,longest:5906,elev:462,country:'BO',continent:'SA',lat:-11,lon:-66}) +CREATE (a3214:Airport {id:'3214',code:'RIB',icao:'SLRI',city:'Riberalta',desc:'Capitán Av. Selin Zeitun Lopez Airport',region:'BO-B',runways:1,longest:5906,elev:462,country:'BO',continent:'SA',lat:-11.0,lon:-66.0}) CREATE (a3215:Airport {id:'3215',code:'ZTB',icao:'CTB6',city:'Tête-à-la-Baleine',desc:'Tête-à-la-Baleine Airport',region:'CA-QC',runways:1,longest:1640,elev:107,country:'CA',continent:'NA',lat:50.6744003295898,lon:-59.3835983276367}) CREATE (a3216:Airport {id:'3216',code:'ZPB',icao:'CZPB',city:'Sachigo Lake',desc:'Sachigo Lake Airport',region:'CA-ON',runways:1,longest:3500,elev:876,country:'CA',continent:'NA',lat:53.8911018371582,lon:-92.196403503418}) CREATE (a3217:Airport {id:'3217',code:'ZLT',icao:'CTU5',city:'La Tabatière',desc:'La Tabatière Airport',region:'CA-QC',runways:1,longest:1640,elev:102,country:'CA',continent:'NA',lat:50.8307991027832,lon:-58.9756011962891}) @@ -3296,19 +3296,19 @@ CREATE (a3294:Airport {id:'3294',code:'PNT',icao:'SCNT',city:'Puerto Natales',de CREATE (a3295:Airport {id:'3295',code:'LLV',icao:'ZBLL',city:'Luliang',desc:'Luliang Airport',region:'CN-61',runways:1,longest:8530,elev:1273,country:'CN',continent:'AS',lat:37.681667,lon:111.142778}) CREATE (a3296:Airport {id:'3296',code:'WEH',icao:'ZSWH',city:'Weihai',desc:'Weihai Airport',region:'CN-37',runways:1,longest:8530,elev:145,country:'CN',continent:'AS',lat:37.1870994567871,lon:122.228996276855}) CREATE (a3297:Airport {id:'3297',code:'WDS',icao:'ZHSY',city:'Shiyan',desc:'Shiyan Wudangshan Airport',region:'CN-42',runways:1,longest:8530,elev:1207,country:'CN',continent:'AS',lat:32.593056,lon:110.905833}) -CREATE (a3298:Airport {id:'3298',code:'UCB',icao:'ZBWL',city:'Ulanqab',desc:'Ulanqab Airport',region:'CN-15',runways:1,longest:8530,elev:4622,country:'CN',continent:'AS',lat:41.130000,lon:113.106389}) +CREATE (a3298:Airport {id:'3298',code:'UCB',icao:'ZBWL',city:'Ulanqab',desc:'Ulanqab Airport',region:'CN-15',runways:1,longest:8530,elev:4622,country:'CN',continent:'AS',lat:41.13,lon:113.106389}) CREATE (a3299:Airport {id:'3299',code:'TNH',icao:'ZYTN',city:'Tonghua',desc:'Tonghua Sanyuanpu Airport',region:'CN-22',runways:1,longest:7874,elev:1200,country:'CN',continent:'AS',lat:42.2538888889,lon:125.703333333}) CREATE (a3300:Airport {id:'3300',code:'TLQ',icao:'ZWTP',city:'Turpan',desc:'Turpan Jiaohe Airport',region:'CN-65',runways:1,longest:9186,elev:108,country:'CN',continent:'AS',lat:43.030556,lon:89.098611}) CREATE (a3301:Airport {id:'3301',code:'THQ',icao:'ZLTS',city:'Tianshui',desc:'Tianshui Maijishan Airport',region:'CN-62',runways:1,longest:9186,elev:3590,country:'CN',continent:'AS',lat:34.5593986511,lon:105.86000061}) CREATE (a3302:Airport {id:'3302',code:'SQJ',icao:'ZSSM',city:'Sanming',desc:'Sanming Shaxian Airport',region:'CN-35',runways:1,longest:8530,elev:889,country:'CN',continent:'AS',lat:26.426111,lon:117.833611}) CREATE (a3303:Airport {id:'3303',code:'RKZ',icao:'ZURK',city:'Xigaze',desc:'Shigatse Peace Airport',region:'CN-54',runways:1,longest:16404,elev:12408,country:'CN',continent:'AS',lat:29.351944,lon:89.310278}) -CREATE (a3304:Airport {id:'3304',code:'RIZ',icao:'none',city:'Rizhao',desc:'Rizhao Shanzihe Airport',region:'CN-37',runways:1,longest:8530,elev:98,country:'CN',continent:'AS',lat:35.402,lon:119.320}) +CREATE (a3304:Airport {id:'3304',code:'RIZ',icao:'none',city:'Rizhao',desc:'Rizhao Shanzihe Airport',region:'CN-37',runways:1,longest:8530,elev:98,country:'CN',continent:'AS',lat:35.402,lon:119.32}) CREATE (a3305:Airport {id:'3305',code:'LPF',icao:'ZUPS',city:'Liupanshui',desc:'Liupanshui Yuezhao Airport',region:'CN-52',runways:1,longest:9186,elev:6440,country:'CN',continent:'AS',lat:26.608889,lon:104.978333}) CREATE (a3306:Airport {id:'3306',code:'CVN',icao:'KCVN',city:'Clovis',desc:'Clovis Municipal Airport',region:'US-NM',runways:3,longest:6200,elev:4216,country:'US',continent:'NA',lat:34.4250984192,lon:-103.07900238}) CREATE (a3307:Airport {id:'3307',code:'CVT',icao:'EGBE',city:'Coventry',desc:'Coventry Airport',region:'GB-ENG',runways:1,longest:5988,elev:267,country:'UK',continent:'EU',lat:52.3697013855,lon:-1.47971999645}) CREATE (a3308:Airport {id:'3308',code:'SZF',icao:'LTFH',city:'Samsun',desc:'Samsun Çarşamba Airport',region:'TR-55',runways:1,longest:9843,elev:18,country:'TR',continent:'AS',lat:41.2545013428,lon:36.5671005249}) CREATE (a3309:Airport {id:'3309',code:'KHE',icao:'UKOH',city:'Kherson',desc:'Chernobayevka Airport',region:'UA-65',runways:1,longest:8202,elev:148,country:'UA',continent:'EU',lat:46.6758003235,lon:32.506401062}) -CREATE (a3310:Airport {id:'3310',code:'NKT',icao:'LTCV',city:'Sirnak',desc:'Sirnak Airport',region:'TR-73',runways:1,longest:9843,elev:2038,country:'TR',continent:'AS',lat:37.359722,lon:42.062500}) +CREATE (a3310:Airport {id:'3310',code:'NKT',icao:'LTCV',city:'Sirnak',desc:'Sirnak Airport',region:'TR-73',runways:1,longest:9843,elev:2038,country:'TR',continent:'AS',lat:37.359722,lon:42.0625}) CREATE (a3311:Airport {id:'3311',code:'YKO',icao:'LTCW',city:'Hakkari',desc:'Hakkari Selahaddin Eyyubi Airport',region:'TR-30',runways:1,longest:10499,elev:2038,country:'TR',continent:'AS',lat:37.551667,lon:44.233611}) CREATE (a3312:Airport {id:'3312',code:'OGU',icao:'LTCB',city:'Ordu/Giresun',desc:'Ordu Giresun Airport',region:'TR-28',runways:1,longest:9843,elev:18,country:'TR',continent:'AS',lat:40.966667,lon:38.066667}) CREATE (a3313:Airport {id:'3313',code:'AFW',icao:'KAFW',city:'Fort Worth',desc:'Fort Worth Alliance Airport',region:'US-TX',runways:2,longest:9600,elev:722,country:'US',continent:'NA',lat:32.9875984192,lon:-97.3188018799}) @@ -3344,7 +3344,7 @@ CREATE (a3342:Airport {id:'3342',code:'TDK',icao:'UAAT',city:'Taldy Kurgan',desc CREATE (a3343:Airport {id:'3343',code:'XTO',icao:'YTAM',city:'Taroom',desc:'Taroom Airport',region:'AU-QLD',runways:2,longest:3609,elev:240,country:'AU',continent:'OC',lat:-25.801700592041,lon:149.899993896484}) CREATE (a3344:Airport {id:'3344',code:'CCL',icao:'YCCA',city:'Chinchilla',desc:'Chinchilla Airport',region:'AU-QLD',runways:2,longest:3497,elev:1028,country:'AU',continent:'OC',lat:-26.7749996185303,lon:150.617004394531}) CREATE (a3345:Airport {id:'3345',code:'TQP',icao:'YTEE',city:'Trepell',desc:'Trepell Airport',region:'AU-QLD',runways:1,longest:5903,elev:891,country:'AU',continent:'OC',lat:-21.8349990844727,lon:140.888000488281}) -CREATE (a3346:Airport {id:'3346',code:'RDP',icao:'VEDG',city:'Andal',desc:'Kazi Nazrul Islam Airport',region:'IN-WB',runways:1,longest:9186,elev:289,country:'IN',continent:'AS',lat:23.622500,lon:87.242778}) +CREATE (a3346:Airport {id:'3346',code:'RDP',icao:'VEDG',city:'Andal',desc:'Kazi Nazrul Islam Airport',region:'IN-WB',runways:1,longest:9186,elev:289,country:'IN',continent:'AS',lat:23.6225,lon:87.242778}) CREATE (a3347:Airport {id:'3347',code:'IFP',icao:'KIFP',city:'Bullhead City',desc:'Laughlin Bullhead International Airport',region:'US-AZ',runways:1,longest:7500,elev:698,country:'US',continent:'NA',lat:35.15739822,lon:-114.5599976}) CREATE (a3348:Airport {id:'3348',code:'KXK',icao:'UHKK',city:'Komsomolsk-on-Amur',desc:'Komsomolsk-on-Amur Airport',region:'RU-KHA',runways:1,longest:8202,elev:92,country:'RU',continent:'AS',lat:50.4090003967285,lon:136.934005737305}) CREATE (a3349:Airport {id:'3349',code:'GMQ',icao:'ZLGL',city:'Golog',desc:'Golog Maqin Airport',region:'CN-63',runways:1,longest:12467,elev:12427,country:'CN',continent:'AS',lat:34.415833,lon:100.311111}) @@ -3356,7 +3356,7 @@ CREATE (a3354:Airport {id:'3354',code:'SCV',icao:'LRSV',city:'Suceava',desc:'Suc CREATE (a3355:Airport {id:'3355',code:'VIT',icao:'LEVT',city:'Vitoria',desc:'Vitoria/Foronda Airport',region:'ES-PV',runways:1,longest:11483,elev:1682,country:'ES',continent:'EU',lat:42.8828010559082,lon:-2.72446990013123}) CREATE (a3356:Airport {id:'3356',code:'IQM',icao:'ZWCM',city:'Qiemo',desc:'Qiemo Yudu Airport',region:'CN-65',runways:1,longest:9186,elev:4108,country:'CN',continent:'AS',lat:38.233611,lon:85.465556}) CREATE (a3357:Airport {id:'3357',code:'KJH',icao:'ZUKJ',city:'Kaili',desc:'Kaili Huangping Airport',region:'CN-52',runways:1,longest:8530,elev:3115,country:'CN',continent:'AS',lat:26.971667,lon:107.987778}) -CREATE (a3358:Airport {id:'3358',code:'HXD',icao:'ZLDL',city:'Delingha',desc:'Delingha Airport',region:'CN-63',runways:1,longest:9843,elev:9383,country:'CN',continent:'AS',lat:37.125000,lon:97.268611}) +CREATE (a3358:Airport {id:'3358',code:'HXD',icao:'ZLDL',city:'Delingha',desc:'Delingha Airport',region:'CN-63',runways:1,longest:9843,elev:9383,country:'CN',continent:'AS',lat:37.125,lon:97.268611}) CREATE (a3359:Airport {id:'3359',code:'AHJ',icao:'ZUHY',city:'Hongyuan',desc:'Hongyuan Aba Airport',region:'CN-51',runways:1,longest:11811,elev:11598,country:'CN',continent:'AS',lat:32.531389,lon:102.352222}) CREATE (a3360:Airport {id:'3360',code:'CWC',icao:'UKLN',city:'Chernivtsi',desc:'Chernivtsi International Airport',region:'UA-77',runways:1,longest:7270,elev:826,country:'UA',continent:'EU',lat:48.2593002319336,lon:25.9808006286621}) CREATE (a3361:Airport {id:'3361',code:'BZK',icao:'UUBP',city:'Bryansk',desc:'Bryansk Airport',region:'RU-BRY',runways:1,longest:7874,elev:666,country:'RU',continent:'EU',lat:53.2141990662,lon:34.176399231}) @@ -3418,12 +3418,12 @@ CREATE (a3416:Airport {id:'3416',code:'DRT',icao:'KDRT',city:'Del Rio',desc:'Del CREATE (a3417:Airport {id:'3417',code:'BAR',icao:'ZJQH',city:'Qionghai',desc:'Bo\'ao Airport',region:'CN-46',runways:1,longest:8858,elev:52,country:'CN',continent:'AS',lat:19.138889,lon:110.454167}) CREATE (a3418:Airport {id:'3418',code:'USJ',icao:'UAAL',city:'Usharal',desc:'Usharal Airport',region:'KZ-ALM',runways:1,longest:7546,elev:1293,country:'KZ',continent:'AS',lat:46.1908,lon:80.8309}) CREATE (a3419:Airport {id:'3419',code:'TYL',icao:'SPYL',city:'Talara',desc:'Capitan Montes Airport',region:'PE-PIU',runways:1,longest:8071,elev:282,country:'PE',continent:'SA',lat:-4.57664012908936,lon:-81.2540969848633}) -CREATE (a3420:Airport {id:'3420',code:'CNN',icao:'VOKN',city:'Kannur',desc:'Kannurl International Airport',region:'IN-KL',runways:1,longest:10007,elev:344,country:'IN',continent:'AS',lat:11.920,lon:75.550}) +CREATE (a3420:Airport {id:'3420',code:'CNN',icao:'VOKN',city:'Kannur',desc:'Kannurl International Airport',region:'IN-KL',runways:1,longest:10007,elev:344,country:'IN',continent:'AS',lat:11.92,lon:75.55}) CREATE (a3421:Airport {id:'3421',code:'JAE',icao:'SPJE',city:'Jaén',desc:'Shumba Airport',region:'PE-CAJ',runways:1,longest:7874,elev:2477,country:'PE',continent:'SA',lat:-5.591388,lon:-78.771388}) CREATE (a3422:Airport {id:'3422',code:'INF',icao:'DATG',city:'In Guezzam',desc:'In Guezzam Airport',region:'DZ-11',runways:1,longest:7218,elev:1325,country:'DZ',continent:'AF',lat:19.5669994354248,lon:5.75}) CREATE (a3423:Airport {id:'3423',code:'KLB',icao:'FLKL',city:'Kalabo',desc:'Kalabo Airport',region:'ZM-01',runways:1,longest:3609,elev:3450,country:'ZM',continent:'AF',lat:-14.9982995986938,lon:22.6453990936279}) CREATE (a3424:Airport {id:'3424',code:'VDO',icao:'VVVD',city:'VanDon',desc:'Van Don International Airport',region:'VN-13',runways:1,longest:11811,elev:26,country:'VN',continent:'AS',lat:21.117778,lon:107.414167}) -CREATE (a3425:Airport {id:'3425',code:'RMU',icao:'LEMI',city:'Valladolises',desc:'Region of Murcia International Airport',region:'ES-MC',runways:1,longest:9842,elev:633,country:'ES',continent:'EU',lat:37.8030,lon:-1.1250}) +CREATE (a3425:Airport {id:'3425',code:'RMU',icao:'LEMI',city:'Valladolises',desc:'Region of Murcia International Airport',region:'ES-MC',runways:1,longest:9842,elev:633,country:'ES',continent:'EU',lat:37.803,lon:-1.125}) CREATE (a3426:Airport {id:'3426',code:'PAE',icao:'KPAE',city:'Everett',desc:'Snohomish County (Paine Field) Airport',region:'US-WA',runways:3,longest:9010,elev:607,country:'US',continent:'NA',lat:47.90629959,lon:-122.2819977}) CREATE (a3427:Airport {id:'3427',code:'LUA',icao:'VNLK',city:'Lukla',desc:'Tenzing-Hillary Airport',region:'NP-SA',runways:1,longest:1500,elev:9100,country:'NP',continent:'AS',lat:27.6868991851807,lon:86.7296981811523}) CREATE (a3428:Airport {id:'3428',code:'MRQ',icao:'RPUW',city:'Marinduque',desc:'Gasan Airport',region:'PH-MAD',runways:1,longest:4785,elev:32,country:'PH',continent:'AS',lat:13.3610000610352,lon:121.825996398926}) @@ -3460,9 +3460,9 @@ CREATE (a3458:Airport {id:'3458',code:'SEU',icao:'HTSN',city:'Seronera',desc:'Se CREATE (a3459:Airport {id:'3459',code:'NRR',icao:'TJRV',city:'Ceiba',desc:'Jose Aponte de la Torre Airport',region:'PR-U-A',runways:1,longest:11000,elev:38,country:'PR',continent:'NA',lat:18.245300293,lon:-65.6434020996}) CREATE (a3460:Airport {id:'3460',code:'LNL',icao:'ZLLN',city:'Longnan',desc:'Cheng Xian Airport',region:'CN-62',runways:1,longest:9186,elev:3707,country:'CN',continent:'AS',lat:33.789722,lon:105.788611}) CREATE (a3461:Airport {id:'3461',code:'XAI',icao:'ZHXY',city:'Xinyang',desc:'Xinyang Minggang Airport',region:'CN-41',runways:1,longest:8858,elev:4528,country:'CN',continent:'AS',lat:32.540556,lon:114.078889}) -CREATE (a3462:Airport {id:'3462',code:'YYA',icao:'ZGYY',city:'Yueyang',desc:'Sanhe Airport',region:'CN-43',runways:1,longest:8530,elev:230,country:'CN',continent:'AS',lat:29.312500,lon:113.281667}) +CREATE (a3462:Airport {id:'3462',code:'YYA',icao:'ZGYY',city:'Yueyang',desc:'Sanhe Airport',region:'CN-43',runways:1,longest:8530,elev:230,country:'CN',continent:'AS',lat:29.3125,lon:113.281667}) CREATE (a3463:Airport {id:'3463',code:'BQJ',icao:'UEBB',city:'Batagay',desc:'Batagay Airport',region:'RU-SA',runways:2,longest:6562,elev:699,country:'RU',continent:'AS',lat:67.647778,lon:134.693611}) -CREATE (a3464:Airport {id:'3464',code:'DPT',icao:'UEBD',city:'Deputatskij',desc:'Deputatskij Airport',region:'RU-SA',runways:1,longest:7021,elev:920,country:'RU',continent:'AS',lat:69.392500,lon:139.889444}) +CREATE (a3464:Airport {id:'3464',code:'DPT',icao:'UEBD',city:'Deputatskij',desc:'Deputatskij Airport',region:'RU-SA',runways:1,longest:7021,elev:920,country:'RU',continent:'AS',lat:69.3925,lon:139.889444}) CREATE (a3465:Airport {id:'3465',code:'AKR',icao:'DNAK',city:'Akure',desc:'Akure Airport',region:'NG-ON',runways:1,longest:9195,elev:1100,country:'NG',continent:'AF',lat:7.24673986434937,lon:5.30101013183594}) CREATE (a3466:Airport {id:'3466',code:'APK',icao:'NTGD',city:'Apataki',desc:'Apataki Airport',region:'PF-U-A',runways:1,longest:2700,elev:8,country:'PF',continent:'OC',lat:-15.5735998153687,lon:-146.414993286133}) CREATE (a3467:Airport {id:'3467',code:'BWB',icao:'YBWX',city:'Barrow Island',desc:'Barrow Island Airport',region:'AU-WA',runways:1,longest:6234,elev:26,country:'AU',continent:'OC',lat:-20.8644008636475,lon:115.40599822998}) @@ -3753,7 +3753,7 @@ CREATE (a3747:Continent {id:'3747',code:'OC', desc:'Oceania'}) CREATE (a3748:Continent {id:'3748',code:'AN', desc:'Antarctica'}) //Version -CREATE (v:Version {id:'0',code:'0.89',date:'2022-Aug-29',author:'Kelvin R. Lawrence',desc:'Air Routes Data - Version: 0.89 Generated: 2023-09-22 18:32:07 UTC'}) +CREATE (v:Version {id:'0',code:'0.89',date:'2022-Aug-29',author:'Kelvin R. Lawrence',desc:'Air Routes Data - Version: 0.89 Generated: 2024-08-15 20:27:16 UTC'}) //Routes CREATE diff --git a/sample-data/Cypher/make-cypher.rb b/sample-data/Cypher/make-cypher.rb index 6e309b35..e694128f 100644 --- a/sample-data/Cypher/make-cypher.rb +++ b/sample-data/Cypher/make-cypher.rb @@ -72,8 +72,8 @@ elev = ap[APT_ELEV] country = ap[APT_CTRY] continent = ap[APT_CONT] - lat = ap[APT_LAT] - lon = ap[APT_LON] + lat = ap[APT_LAT].to_f + lon = ap[APT_LON].to_f desc.gsub!("'","\\\\'") city.gsub!("'","\\\\'")