From 90d7506c2eab2915a80af890c5af5578d7d1b000 Mon Sep 17 00:00:00 2001 From: Ahmed Ayad Date: Sun, 23 Aug 2020 14:01:13 +0300 Subject: [PATCH 1/9] adding the routesRef in firebase --- src/api/firebase.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/firebase.js b/src/api/firebase.js index df284a2..0dbebb7 100644 --- a/src/api/firebase.js +++ b/src/api/firebase.js @@ -18,7 +18,7 @@ firebase.initializeApp(firebaseConfig); // firebase.analytics(); const db = firebase.firestore(); export const usersRef = db.collection('users'); - +export const routesRef = db.collection('routes'); export const auth = firebase.auth(); if (!window.isJest) { auth.setPersistence(firebase.auth.Auth.Persistence.LOCAL); From d41accea570f49e461b1d35f5e48306661005084 Mon Sep 17 00:00:00 2001 From: Ahmed Ayad Date: Sun, 23 Aug 2020 14:02:11 +0300 Subject: [PATCH 2/9] adding the routedetails component intothe route switch --- src/App.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.js b/src/App.js index 486808c..2ea8f27 100644 --- a/src/App.js +++ b/src/App.js @@ -5,6 +5,7 @@ import RouteList from './components/RouteList'; import home from './pages/home'; import about from './pages/about'; import { AuthProvider } from './providers/AuthProvider'; +import routedetails from './pages/routedetails'; function App() { return ( @@ -26,6 +27,7 @@ function App() {
} />
} /> + From c610228b29dd63e90468194c9398e3aa4d71ea60 Mon Sep 17 00:00:00 2001 From: Ahmed Ayad Date: Sun, 23 Aug 2020 14:02:48 +0300 Subject: [PATCH 3/9] adding routedetails pages --- src/pages/routedetails.js | 160 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 160 insertions(+) create mode 100644 src/pages/routedetails.js diff --git a/src/pages/routedetails.js b/src/pages/routedetails.js new file mode 100644 index 0000000..1584f83 --- /dev/null +++ b/src/pages/routedetails.js @@ -0,0 +1,160 @@ +import React, { useState, useRef, useEffect } from 'react'; +import ReactMapGL, { Source, Layer } from 'react-map-gl'; +import BusInfoContainer from '../components/BusInfoContainer'; +import { useParams } from 'react-router-dom'; +import { routesRef } from '../api/firebase'; +import pointMark from '../assets/point-marker.png'; +import destMark from '../assets/destination-marker.png'; + +export default function Routedetails() { + const { id } = useParams(); + const [viewport, setViewport] = useState({ + latitude: 36.206291, + longitude: 44.008869, + // width: '100%', + // height: '100%', + zoom: 11, + }); + const [route, setRoute] = useState(); + useEffect(() => { + routesRef + .doc(id) + .get() + .then((document) => { + const route = document.data(); + route.path = + //JSON.parse(route.path); + { + type: 'FeatureCollection', + features: [ + { + type: 'Feature', + properties: {}, + geometry: { + type: 'LineString', + coordinates: [ + [44.00972843170166, 36.210035031115694], + [44.00852680206299, 36.19753385192636], + [44.01170253753662, 36.19043395558332], + [44.01994228363037, 36.18936025668664], + [44.01994228363037, 36.20044289180151], + [44.01547908782959, 36.20106624342554], + [44.014620780944824, 36.19878059653753], + ], + }, + }, + { + type: 'start', + properties: {}, + geometry: { + type: 'Point', + coordinates: [44.014577865600586, 36.198745965010886], + }, + }, + { + type: 'end', + properties: {}, + geometry: { + type: 'Point', + coordinates: [44.0097713470459, 36.21000040456822], + }, + }, + ], + }; + setRoute(route); + }); + }, []); + const _mapRef = useRef(); + + useEffect(() => { + // Load all markers and images + const map = _mapRef.current.getMap(); + if (map) { + map.loadImage(pointMark, (error, image) => { + if (error) throw error; + if (!map.hasImage('pointMark')) map.addImage('pointMark', image); + }); + + map.loadImage(destMark, (error, image) => { + if (error) throw error; + if (!map.hasImage('destMark')) map.addImage('destMark', image); + }); + } + }, [_mapRef]); + + return ( +
+ { + setViewport({ ...viewport, width: '100%', height: '100%' }); + }} + mapStyle="mapbox://styles/shna/ckd4x2xmy02kh1ir3hihcr36m" + > + {/* {route && ( + + + + )} */} + + {/* Show Route */} + {route && ( + + + + + + + )} + + {route && ( +
+ +
+ )} +
+ ); +} From e1603383f9b3cf7c27399febe1ff21f40ff3903b Mon Sep 17 00:00:00 2001 From: Ahmed Ayad Date: Sun, 23 Aug 2020 14:08:13 +0300 Subject: [PATCH 4/9] Fixing firebase.js conflict --- src/api/firebase.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/api/firebase.js b/src/api/firebase.js index 2c8730a..0cd51a9 100644 --- a/src/api/firebase.js +++ b/src/api/firebase.js @@ -19,11 +19,8 @@ firebase.initializeApp(firebaseConfig); const db = firebase.firestore(); export const usersRef = db.collection('users'); export const routesRef = db.collection('routes'); -<<<<<<< HEAD -======= export const bussesRef = db.collection('busses'); ->>>>>>> 587027a976866e669f301489610df6c97220dad0 export const auth = firebase.auth(); if (!window.isJest) { auth.setPersistence(firebase.auth.Auth.Persistence.LOCAL); From 2bf98f2c409e21916cb9db68dbe73955f7e04417 Mon Sep 17 00:00:00 2001 From: Ahmed Ayad Date: Sun, 23 Aug 2020 22:55:54 +0300 Subject: [PATCH 5/9] Feat: Create the route detail page Fixes #69 --- src/components/BusInfoContainer.js | 29 +- src/components/BusInformations.js | 9 +- src/data/RouteList.json | 318 +-- src/data/routes.json | 3281 +++++++++++++++------------- src/pages/routedetails.js | 121 +- 5 files changed, 1991 insertions(+), 1767 deletions(-) diff --git a/src/components/BusInfoContainer.js b/src/components/BusInfoContainer.js index e172c07..1c15cc2 100644 --- a/src/components/BusInfoContainer.js +++ b/src/components/BusInfoContainer.js @@ -10,22 +10,22 @@ import BusInformations from './BusInformations'; import VerticalLineDivide from './VerticalLineDivide'; import PropTypes from 'prop-types'; -export default function BusInfoContainer({ dontShowTakeIt, fillHeart }) { - const way = [ - { id: 0, isStart: true, name: '32 peak' }, - { id: 1, name: 'Italian Village' }, - { id: 2, name: 'Park View' }, - { id: 3, name: 'Naz Naz' }, - { id: 4, name: 'Empire' }, - { id: 5, name: 'Ankawa', isEnd: true }, - ]; - +export default function BusInfoContainer({ + route = {}, + dontShowTakeIt, + fillHeart, +}) { + const { way = [], bus = { working_hours: ' ', working_days: [] } } = route; + const time = bus.working_hours[0] + .split('-') + .map((time) => time.substr(0, 2) + ':' + time.substr(2)) + .join(' - '); return (
- Bus No. (473824 EBL - IRQ) + Bus No. ({bus.plate_number} EBL - IRQ)
@@ -56,7 +56,7 @@ export default function BusInfoContainer({ dontShowTakeIt, fillHeart }) {
bus icon
-
6:22 PM - 7:09 PM
+
{time}
Wifi available @@ -71,12 +71,12 @@ export default function BusInfoContainer({ dontShowTakeIt, fillHeart }) {
- +
-

Work days: Saturday - Thusday

+

Work days: {bus.working_days.join(', ')}.

{!dontShowTakeIt && ( @@ -95,6 +95,7 @@ export default function BusInfoContainer({ dontShowTakeIt, fillHeart }) { ); } BusInfoContainer.propTypes = { + route: PropTypes.node, dontShowTakeIt: PropTypes.bool.isRequired, fillHeart: PropTypes.bool.isRequired, }; diff --git a/src/components/BusInformations.js b/src/components/BusInformations.js index 36cf234..e18ed13 100644 --- a/src/components/BusInformations.js +++ b/src/components/BusInformations.js @@ -1,6 +1,7 @@ import React from 'react'; +import PropTypes from 'prop-types'; -export default function BusInformations() { +export default function BusInformations({ time }) { return (
@@ -10,8 +11,12 @@ export default function BusInformations() {

Date: 23/07/2020

-

Work time: 9:00 Am - 9:00 PM

+

Work time: {time}

); } + +BusInformations.propTypes = { + time: PropTypes.string, +}; diff --git a/src/data/RouteList.json b/src/data/RouteList.json index 19ca66b..d963205 100644 --- a/src/data/RouteList.json +++ b/src/data/RouteList.json @@ -1,7 +1,9 @@ -[{ +[ + { "id": 0, "name": "100 Meter St.", - "way": [{ + "way": [ + { "id": 0, "isStart": true, "name": "32 peak" @@ -31,34 +33,39 @@ "time": "2:00 AM - 2:00 PM", "path": { "type": "FeatureCollection", - "features": [{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01165962219238, 36.20376737643796], - [44.0167236328125, 36.20279774967046], - [44.023332595825195, 36.19909227958814], - [44.0262508392334, 36.19161154389828], - [44.026336669921875, 36.18496140107185], - [44.023933410644524, 36.18056229840559], - [44.01852607727051, 36.17619759021374], - [44.00299072265625, 36.174188357098366], - [43.99960041046142, 36.17605902406675] - ] + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01165962219238, 36.20376737643796], + [44.0167236328125, 36.20279774967046], + [44.023332595825195, 36.19909227958814], + [44.0262508392334, 36.19161154389828], + [44.026336669921875, 36.18496140107185], + [44.023933410644524, 36.18056229840559], + [44.01852607727051, 36.17619759021374], + [44.00299072265625, 36.174188357098366], + [43.99960041046142, 36.17605902406675] + ] + } } - }] + ] }, - "availableBuses": [{ - "id": 0, - "busNumber": "1234iraq-erbil" - }] + "availableBuses": [ + { + "id": 0, + "busNumber": "1234iraq-erbil" + } + ] }, { "id": 1, "name": "60 Meter St.", - "way": [{ + "way": [ + { "id": 0, "isStart": true, "name": "32 peak" @@ -88,41 +95,46 @@ "time": "1:00 AM - 1:00 PM", "path": { "type": "FeatureCollection", - "features": [{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.0031623840332, 36.18755918032003], - [44.00075912475586, 36.18811336207514], - [43.99904251098633, 36.19074567186058], - [43.99904251098633, 36.19351642868068], - [44.00075912475586, 36.19601002599509], - [44.00299072265625, 36.19760311603671], - [44.00891304016113, 36.198434280581516], - [44.015607833862305, 36.19725679487209], - [44.01783943176269, 36.19476323726451], - [44.01989936828613, 36.191230561381204], - [44.01869773864746, 36.186035160274244], - [44.01595115661621, 36.182432813193316], - [44.01002883911133, 36.18021590187694], - [44.00642395019531, 36.18208642493563], - [44.00290489196777, 36.18638153107045], - [44.00350570678711, 36.18742063426855] - ] + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.0031623840332, 36.18755918032003], + [44.00075912475586, 36.18811336207514], + [43.99904251098633, 36.19074567186058], + [43.99904251098633, 36.19351642868068], + [44.00075912475586, 36.19601002599509], + [44.00299072265625, 36.19760311603671], + [44.00891304016113, 36.198434280581516], + [44.015607833862305, 36.19725679487209], + [44.01783943176269, 36.19476323726451], + [44.01989936828613, 36.191230561381204], + [44.01869773864746, 36.186035160274244], + [44.01595115661621, 36.182432813193316], + [44.01002883911133, 36.18021590187694], + [44.00642395019531, 36.18208642493563], + [44.00290489196777, 36.18638153107045], + [44.00350570678711, 36.18742063426855] + ] + } } - }] + ] }, - "availableBuses": [{ - "id": 1, - "busNumber": "1234iraq-duhok" - }] + "availableBuses": [ + { + "id": 1, + "busNumber": "1234iraq-duhok" + } + ] }, { "id": 2, "name": "30 Meter St.", - "way": [{ + "way": [ + { "id": 0, "isStart": true, "name": "32 peak" @@ -152,44 +164,49 @@ "time": "5:00 AM - 5:00 PM", "path": { "type": "FeatureCollection", - "features": [{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01200294494629, 36.19143837025664], - [44.011831283569336, 36.192338869011174], - [44.0126895904541, 36.19296228515972], - [44.01449203491211, 36.194416903538226], - [44.01869773864746, 36.199473223853715], - [44.02067184448242, 36.200996982379074], - [44.014835357666016, 36.20314404632341], - [44.009342193603516, 36.20349034144432], - [44.0101146697998, 36.20626064725774], - [44.01071548461914, 36.21630218384659], - [44.01174545288086, 36.22765795501122], - [44.01294708251953, 36.243996293376384], - [44.01569366455078, 36.279568822374095], - [44.01577949523926, 36.28628010878037], - [44.01801109313964, 36.28849401481101], - [44.02298927307129, 36.28973930935084], - [44.029083251953125, 36.289255030502474], - [44.04067039489746, 36.28759462306131], - [44.041099548339844, 36.2875254386512] - ] + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01200294494629, 36.19143837025664], + [44.011831283569336, 36.192338869011174], + [44.0126895904541, 36.19296228515972], + [44.01449203491211, 36.194416903538226], + [44.01869773864746, 36.199473223853715], + [44.02067184448242, 36.200996982379074], + [44.014835357666016, 36.20314404632341], + [44.009342193603516, 36.20349034144432], + [44.0101146697998, 36.20626064725774], + [44.01071548461914, 36.21630218384659], + [44.01174545288086, 36.22765795501122], + [44.01294708251953, 36.243996293376384], + [44.01569366455078, 36.279568822374095], + [44.01577949523926, 36.28628010878037], + [44.01801109313964, 36.28849401481101], + [44.02298927307129, 36.28973930935084], + [44.029083251953125, 36.289255030502474], + [44.04067039489746, 36.28759462306131], + [44.041099548339844, 36.2875254386512] + ] + } } - }] + ] }, - "availableBuses": [{ - "id": 2, - "busNumber": "1234iraq-suli" - }] + "availableBuses": [ + { + "id": 2, + "busNumber": "1234iraq-suli" + } + ] }, { "id": 3, "name": "40 Meter St.", - "way": [{ + "way": [ + { "id": 0, "isStart": true, "name": "32 peak" @@ -219,37 +236,42 @@ "time": "3:00 AM - 3:00 PM", "path": { "type": "FeatureCollection", - "features": [{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.019126892089844, 36.18970661277785], - [44.025306701660156, 36.19136910069278], - [44.03852462768555, 36.19317008943965], - [44.052085876464844, 36.195248101907744], - [44.086074829101555, 36.200096583198935], - [44.130191802978516, 36.20674544069406], - [44.153194427490234, 36.211177698587676], - [44.16074752807617, 36.21436322889413], - [44.16933059692383, 36.21616368865783], - [44.18169021606445, 36.21754862951341], - [44.196624755859375, 36.22114936100031], - [44.203834533691406, 36.21934901597362] - ] + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.019126892089844, 36.18970661277785], + [44.025306701660156, 36.19136910069278], + [44.03852462768555, 36.19317008943965], + [44.052085876464844, 36.195248101907744], + [44.086074829101555, 36.200096583198935], + [44.130191802978516, 36.20674544069406], + [44.153194427490234, 36.211177698587676], + [44.16074752807617, 36.21436322889413], + [44.16933059692383, 36.21616368865783], + [44.18169021606445, 36.21754862951341], + [44.196624755859375, 36.22114936100031], + [44.203834533691406, 36.21934901597362] + ] + } } - }] + ] }, - "availableBuses": [{ - "id": 3, - "busNumber": "1234iraq-hawler" - }] + "availableBuses": [ + { + "id": 3, + "busNumber": "1234iraq-hawler" + } + ] }, { "id": 4, "name": "120 Meter St.", - "way": [{ + "way": [ + { "id": 0, "isStart": true, "name": "32 peak" @@ -279,42 +301,46 @@ "time": "4:00 AM - 4:00 PM", "path": { "type": "FeatureCollection", - "features": [{ - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01972770690918, 36.19033004988186], - [44.01715278625488, 36.18354124532501], - [44.01329040527344, 36.18070085658819], - [44.01226043701171, 36.18021590187694], - [44.013376235961914, 36.173772647262695], - [44.01655197143555, 36.159983688197705], - [44.01895523071289, 36.14896463588831], - [44.02118682861328, 36.140300771818495], - [44.02324676513672, 36.12823908005751], - [44.02376174926757, 36.118810260119545], - [44.02144432067871, 36.107091986879624], - [44.020843505859375, 36.10064272384701], - [44.021100997924805, 36.09599615249214], - [44.02942657470703, 36.07768460014911], - [44.03766632080078, 36.0618666453036], - [44.036293029785156, 36.04437994215496], - [44.03800964355469, 36.011894330530374], - [44.03972625732421, 36.00633989397899], - [44.039855003356934, 36.00456933507765], - [44.03401851654053, 36.00408329234553], - [44.03316020965576, 36.00408329234553], - [44.031658172607415, 36.01005446676931], - [44.03071403503418, 36.01522680460955] - ] + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01972770690918, 36.19033004988186], + [44.01715278625488, 36.18354124532501], + [44.01329040527344, 36.18070085658819], + [44.01226043701171, 36.18021590187694], + [44.013376235961914, 36.173772647262695], + [44.01655197143555, 36.159983688197705], + [44.01895523071289, 36.14896463588831], + [44.02118682861328, 36.140300771818495], + [44.02324676513672, 36.12823908005751], + [44.02376174926757, 36.118810260119545], + [44.02144432067871, 36.107091986879624], + [44.020843505859375, 36.10064272384701], + [44.021100997924805, 36.09599615249214], + [44.02942657470703, 36.07768460014911], + [44.03766632080078, 36.0618666453036], + [44.036293029785156, 36.04437994215496], + [44.03800964355469, 36.011894330530374], + [44.03972625732421, 36.00633989397899], + [44.039855003356934, 36.00456933507765], + [44.03401851654053, 36.00408329234553], + [44.03316020965576, 36.00408329234553], + [44.031658172607415, 36.01005446676931], + [44.03071403503418, 36.01522680460955] + ] + } } - }] + ] }, - "availableBuses": [{ - "id": 4, - "busNumber": "1234iraq-akree" - }] + "availableBuses": [ + { + "id": 4, + "busNumber": "1234iraq-akree" + } + ] } -] \ No newline at end of file +] diff --git a/src/data/routes.json b/src/data/routes.json index e4e7c89..51d8265 100644 --- a/src/data/routes.json +++ b/src/data/routes.json @@ -1,1574 +1,1735 @@ -[{ - "name": "40 meter st.", - "way": [{ - "name": "Mufti", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Mamostayan", - "id": 1, - "coordinates": null - }, { - "name": "Xabat", - "id": 2, - "coordinates": null - }, { - "name": "Lnaga", - "id": 3, - "coordinates": null - }, { - "name": "Rizgari Hospital", - "id": 4, - "coordinates": null - }, { - "name": "Brayati st.", - "id": 5, - "coordinates": null - }, { - "name": "Raparin", - "id": 6, - "coordinates": null - }, { - "name": "Kwestan", - "id": 7, - "coordinates": null - }, { - "name": "Kani QR", - "id": 8, - "coordinates": null - }, { - "name": "Nusaran", - "id": 9, - "coordinates": null - }, { - "name": "Baxtyari", - "id": 10, - "coordinates": null - }, { - "name": "Sami Abdulrahman", - "id": 11, - "coordinates": null - }, { - "name": "Nishtiman Rizgari", - "id": 12, - "coordinates": null - }, { - "name": "Kuran", - "id": 13, - "coordinates": null - }, { - "name": "AZADI", - "id": 14, - "coordinates": null - }, { - "name": "Ronaki", - "id": 15, - "coordinates": null, - "is_end": true - }], - "availability": "0630-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.02822494506836, 36.16563121850451], - [44.0311861038208, 36.16564854159117], - [44.03189420700073, 36.165925710456946], - [44.03288125991821, 36.16734618551112], - [44.03427600860596, 36.16900914798529], - [44.03646469116211, 36.171893264858596], - [44.036625623703, 36.17257746920034], - [44.036561250686646, 36.1740844298462], - [44.036550521850586, 36.17679515391545], - [44.036421775817864, 36.18054497861556], - [44.036357402801514, 36.18518654535006], - [44.03627157211303, 36.18915244229668], - [44.03621792793274, 36.19264191914776], - [44.03640568256378, 36.19286271208017], - [44.03636813163757, 36.193066187368615], - [44.03620719909668, 36.19321338192853], - [44.03618574142456, 36.194243736100624], - [44.03614819049835, 36.196170202274786], - [44.0361213684082, 36.19826112202904], - [44.036051630973816, 36.20137791737618], - [44.03596043586731, 36.20485386359033], - [44.03588533401489, 36.20861100170874], - [44.03599798679352, 36.20871055475894], - [44.03599262237549, 36.20883824218145], - [44.03587728738785, 36.208890182768286], - [44.03588533401489, 36.21018652208086], - [44.035837054252625, 36.21241124133416], - [44.03573513031006, 36.21476573911984], - [44.03569221496582, 36.21705524714484], - [44.036180377006524, 36.217440431891916], - [44.03649687767029, 36.21764817119303], - [44.03643786907196, 36.21776502430751], - [44.03636276721954, 36.217786663753984], - [44.0361213684082, 36.217635187502886], - [44.035332798957825, 36.21702927956556], - [44.03425455093384, 36.21621995235784], - [44.033079743385315, 36.21521585562938], - [44.03229117393494, 36.21451038341033], - [44.03218924999237, 36.21448874305764], - [44.03167426586151, 36.21485662823907], - [44.030553102493286, 36.215618361468835], - [44.0290242433548, 36.21673497973142], - [44.02824103832245, 36.21733223412078], - [44.0274041891098, 36.21787322148008], - [44.0259450674057, 36.218487778581576], - [44.02424991130829, 36.21923216522511], - [44.02375102043152, 36.21945937485362], - [44.02296245098114, 36.219664944901275], - [44.021106362342834, 36.21991162824536], - [44.01695966720581, 36.220093394422214], - [44.01264667510986, 36.219504816700145], - [44.010597467422485, 36.219089347406566], - [44.00247573852539, 36.21650992617009], - [43.99853825569153, 36.21514227906928], - [43.99532496929169, 36.214146824691106], - [43.9954000711441, 36.213874154543085], - [43.99593651294708, 36.21298688796114], - [43.99712204933166, 36.21086606365913], - [43.99850606918335, 36.207766959890314], - [43.998860120773315, 36.20697052234019], - [43.99762630462646, 36.206602600082924], - [43.99243354797363, 36.2050226789655], - [43.990110754966736, 36.20428248577281], - [43.987112045288086, 36.20637318885881], - [43.98549199104309, 36.20751590979816], - [43.985148668289185, 36.2075245667113], - [43.98344278335571, 36.20531702285126], - [43.98243427276611, 36.20351631351661], - [43.98053526878357, 36.20049483795976], - [43.978614807128906, 36.19726545291988], - [43.97552490234375, 36.19093616453032], - [43.97458076477051, 36.18761113502616], - [43.97428035736083, 36.185342414086634], - [43.97453784942627, 36.18362784092477], - [43.975160121917725, 36.18241549381681], - [43.97708058357238, 36.18001672317941], - [43.979215621948235, 36.178449255756256], - [43.98210167884827, 36.17618892983672], - [43.98427963256836, 36.1745867436214], - [43.98550808429718, 36.17361242517472], - [43.987927436828606, 36.17180232585708], - [43.988882303237915, 36.17115708895852], - [43.98957431316376, 36.17067207517483], - [43.990373611450195, 36.169922896199054], - [43.99126142263412, 36.16901564386328], - [43.99178981781006, 36.16862155962466], - [43.99271786212921, 36.16796113928748], - [43.994112610816956, 36.166969415672966], - [43.9949870109558, 36.16633496581832], - [43.995856046676636, 36.165704841596344], - [43.996092081069946, 36.165509956790736], - [43.994643688201904, 36.1628984536474], - [43.99346351623535, 36.16066366546099], - [43.992154598236084, 36.158303209536264], - [43.99144113063812, 36.15695620192244], - [43.99159133434296, 36.15683492678953], - [43.991779088974, 36.15697785817642], - [43.99226725101471, 36.1579827017841], - [43.99356544017792, 36.1603518294864], - [43.99479389190674, 36.16263859782916], - [43.99578630924225, 36.164409931246254], - [43.99748682975769, 36.16377329523707], - [43.99978816509247, 36.16296774838677], - [44.00257766246796, 36.16199328548835], - [44.00519549846649, 36.16104479663434], - [44.00590360164642, 36.160784934671675], - [44.00673508644104, 36.160598699735225], - [44.00780797004699, 36.16071563800283], - [44.00978744029999, 36.16106645175902], - [44.01027828454971, 36.161176892801834], - [44.01152819395065, 36.16122669949571], - [44.012351632118225, 36.16125485109131], - [44.01424527168274, 36.161434587963306], - [44.01617646217346, 36.16157317996876], - [44.0162381529808, 36.16157967646301], - [44.016348123550415, 36.161062120734556], - [44.01654124259948, 36.160174255668856], - [44.01668071746826, 36.15936867183562], - [44.01666462421417, 36.15874931949683], - [44.01675045490265, 36.158142955823955], - [44.016932845115655, 36.15709913308827], - [44.017088413238525, 36.15661836358564], - [44.01704415678977, 36.15658587905348], - [44.01699855923653, 36.156475431543406], - [44.01700124144554, 36.15637797772889], - [44.017083048820496, 36.156269695570664], - [44.01722252368927, 36.156203643380735], - [44.01740625500678, 36.15620147773421], - [44.01750683784485, 36.15624803912107], - [44.017581939697266, 36.15631192563015], - [44.01763558387756, 36.15642887029158], - [44.017624855041504, 36.1565328209553], - [44.017561823129654, 36.15661294949789], - [44.017471969127655, 36.15667575289291], - [44.01747331023216, 36.156754798473806], - [44.01735663414001, 36.157365504111155], - [44.01724934577942, 36.15795671461163], - [44.01708573102951, 36.15869951122907], - [44.01691138744354, 36.15927988386372], - [44.01679873466492, 36.159652359559836], - [44.016702175140374, 36.16006814429322], - [44.01636958122253, 36.16169877876208], - [44.015859961509705, 36.16417606555799], - [44.015704393386834, 36.16488199134325], - [44.01627033948898, 36.164894983782794], - [44.01717692613602, 36.16492963027768], - [44.01845633983612, 36.164998923221546], - [44.020650386810296, 36.165120185725904], - [44.02205049991607, 36.165172155313186], - [44.02397364377975, 36.165265267404266], - [44.02565270662308, 36.16533672544564], - [44.02821555733681, 36.16545257395007], - [44.02849316596985, 36.16489281837636], - [44.02881234884262, 36.16453769091089], - [44.029182493686676, 36.164115433598994], - [44.02961701154709, 36.163662857852074], - [44.02975112199783, 36.163530765873524], - [44.02990132570267, 36.16359139828477], - [44.029818177223206, 36.16372349016114], - [44.02933269739151, 36.16425618628903], - [44.02875602245331, 36.16487766052959], - [44.02850925922394, 36.165293417549556], - [44.02828931808472, 36.165611730027436], - [44.028287306427956, 36.165628511771864] - ] +[ + { + "name": "40 meter st.", + "way": [ + { + "name": "Mufti", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Mamostayan", + "id": 1, + "coordinates": null + }, + { + "name": "Xabat", + "id": 2, + "coordinates": null + }, + { + "name": "Lnaga", + "id": 3, + "coordinates": null + }, + { + "name": "Rizgari Hospital", + "id": 4, + "coordinates": null + }, + { + "name": "Brayati st.", + "id": 5, + "coordinates": null + }, + { + "name": "Raparin", + "id": 6, + "coordinates": null + }, + { + "name": "Kwestan", + "id": 7, + "coordinates": null + }, + { + "name": "Kani QR", + "id": 8, + "coordinates": null + }, + { + "name": "Nusaran", + "id": 9, + "coordinates": null + }, + { + "name": "Baxtyari", + "id": 10, + "coordinates": null + }, + { + "name": "Sami Abdulrahman", + "id": 11, + "coordinates": null + }, + { + "name": "Nishtiman Rizgari", + "id": 12, + "coordinates": null + }, + { + "name": "Kuran", + "id": 13, + "coordinates": null + }, + { + "name": "AZADI", + "id": 14, + "coordinates": null + }, + { + "name": "Ronaki", + "id": 15, + "coordinates": null, + "is_end": true + } + ], + "availability": "0630-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.02822494506836, 36.16563121850451], + [44.0311861038208, 36.16564854159117], + [44.03189420700073, 36.165925710456946], + [44.03288125991821, 36.16734618551112], + [44.03427600860596, 36.16900914798529], + [44.03646469116211, 36.171893264858596], + [44.036625623703, 36.17257746920034], + [44.036561250686646, 36.1740844298462], + [44.036550521850586, 36.17679515391545], + [44.036421775817864, 36.18054497861556], + [44.036357402801514, 36.18518654535006], + [44.03627157211303, 36.18915244229668], + [44.03621792793274, 36.19264191914776], + [44.03640568256378, 36.19286271208017], + [44.03636813163757, 36.193066187368615], + [44.03620719909668, 36.19321338192853], + [44.03618574142456, 36.194243736100624], + [44.03614819049835, 36.196170202274786], + [44.0361213684082, 36.19826112202904], + [44.036051630973816, 36.20137791737618], + [44.03596043586731, 36.20485386359033], + [44.03588533401489, 36.20861100170874], + [44.03599798679352, 36.20871055475894], + [44.03599262237549, 36.20883824218145], + [44.03587728738785, 36.208890182768286], + [44.03588533401489, 36.21018652208086], + [44.035837054252625, 36.21241124133416], + [44.03573513031006, 36.21476573911984], + [44.03569221496582, 36.21705524714484], + [44.036180377006524, 36.217440431891916], + [44.03649687767029, 36.21764817119303], + [44.03643786907196, 36.21776502430751], + [44.03636276721954, 36.217786663753984], + [44.0361213684082, 36.217635187502886], + [44.035332798957825, 36.21702927956556], + [44.03425455093384, 36.21621995235784], + [44.033079743385315, 36.21521585562938], + [44.03229117393494, 36.21451038341033], + [44.03218924999237, 36.21448874305764], + [44.03167426586151, 36.21485662823907], + [44.030553102493286, 36.215618361468835], + [44.0290242433548, 36.21673497973142], + [44.02824103832245, 36.21733223412078], + [44.0274041891098, 36.21787322148008], + [44.0259450674057, 36.218487778581576], + [44.02424991130829, 36.21923216522511], + [44.02375102043152, 36.21945937485362], + [44.02296245098114, 36.219664944901275], + [44.021106362342834, 36.21991162824536], + [44.01695966720581, 36.220093394422214], + [44.01264667510986, 36.219504816700145], + [44.010597467422485, 36.219089347406566], + [44.00247573852539, 36.21650992617009], + [43.99853825569153, 36.21514227906928], + [43.99532496929169, 36.214146824691106], + [43.9954000711441, 36.213874154543085], + [43.99593651294708, 36.21298688796114], + [43.99712204933166, 36.21086606365913], + [43.99850606918335, 36.207766959890314], + [43.998860120773315, 36.20697052234019], + [43.99762630462646, 36.206602600082924], + [43.99243354797363, 36.2050226789655], + [43.990110754966736, 36.20428248577281], + [43.987112045288086, 36.20637318885881], + [43.98549199104309, 36.20751590979816], + [43.985148668289185, 36.2075245667113], + [43.98344278335571, 36.20531702285126], + [43.98243427276611, 36.20351631351661], + [43.98053526878357, 36.20049483795976], + [43.978614807128906, 36.19726545291988], + [43.97552490234375, 36.19093616453032], + [43.97458076477051, 36.18761113502616], + [43.97428035736083, 36.185342414086634], + [43.97453784942627, 36.18362784092477], + [43.975160121917725, 36.18241549381681], + [43.97708058357238, 36.18001672317941], + [43.979215621948235, 36.178449255756256], + [43.98210167884827, 36.17618892983672], + [43.98427963256836, 36.1745867436214], + [43.98550808429718, 36.17361242517472], + [43.987927436828606, 36.17180232585708], + [43.988882303237915, 36.17115708895852], + [43.98957431316376, 36.17067207517483], + [43.990373611450195, 36.169922896199054], + [43.99126142263412, 36.16901564386328], + [43.99178981781006, 36.16862155962466], + [43.99271786212921, 36.16796113928748], + [43.994112610816956, 36.166969415672966], + [43.9949870109558, 36.16633496581832], + [43.995856046676636, 36.165704841596344], + [43.996092081069946, 36.165509956790736], + [43.994643688201904, 36.1628984536474], + [43.99346351623535, 36.16066366546099], + [43.992154598236084, 36.158303209536264], + [43.99144113063812, 36.15695620192244], + [43.99159133434296, 36.15683492678953], + [43.991779088974, 36.15697785817642], + [43.99226725101471, 36.1579827017841], + [43.99356544017792, 36.1603518294864], + [43.99479389190674, 36.16263859782916], + [43.99578630924225, 36.164409931246254], + [43.99748682975769, 36.16377329523707], + [43.99978816509247, 36.16296774838677], + [44.00257766246796, 36.16199328548835], + [44.00519549846649, 36.16104479663434], + [44.00590360164642, 36.160784934671675], + [44.00673508644104, 36.160598699735225], + [44.00780797004699, 36.16071563800283], + [44.00978744029999, 36.16106645175902], + [44.01027828454971, 36.161176892801834], + [44.01152819395065, 36.16122669949571], + [44.012351632118225, 36.16125485109131], + [44.01424527168274, 36.161434587963306], + [44.01617646217346, 36.16157317996876], + [44.0162381529808, 36.16157967646301], + [44.016348123550415, 36.161062120734556], + [44.01654124259948, 36.160174255668856], + [44.01668071746826, 36.15936867183562], + [44.01666462421417, 36.15874931949683], + [44.01675045490265, 36.158142955823955], + [44.016932845115655, 36.15709913308827], + [44.017088413238525, 36.15661836358564], + [44.01704415678977, 36.15658587905348], + [44.01699855923653, 36.156475431543406], + [44.01700124144554, 36.15637797772889], + [44.017083048820496, 36.156269695570664], + [44.01722252368927, 36.156203643380735], + [44.01740625500678, 36.15620147773421], + [44.01750683784485, 36.15624803912107], + [44.017581939697266, 36.15631192563015], + [44.01763558387756, 36.15642887029158], + [44.017624855041504, 36.1565328209553], + [44.017561823129654, 36.15661294949789], + [44.017471969127655, 36.15667575289291], + [44.01747331023216, 36.156754798473806], + [44.01735663414001, 36.157365504111155], + [44.01724934577942, 36.15795671461163], + [44.01708573102951, 36.15869951122907], + [44.01691138744354, 36.15927988386372], + [44.01679873466492, 36.159652359559836], + [44.016702175140374, 36.16006814429322], + [44.01636958122253, 36.16169877876208], + [44.015859961509705, 36.16417606555799], + [44.015704393386834, 36.16488199134325], + [44.01627033948898, 36.164894983782794], + [44.01717692613602, 36.16492963027768], + [44.01845633983612, 36.164998923221546], + [44.020650386810296, 36.165120185725904], + [44.02205049991607, 36.165172155313186], + [44.02397364377975, 36.165265267404266], + [44.02565270662308, 36.16533672544564], + [44.02821555733681, 36.16545257395007], + [44.02849316596985, 36.16489281837636], + [44.02881234884262, 36.16453769091089], + [44.029182493686676, 36.164115433598994], + [44.02961701154709, 36.163662857852074], + [44.02975112199783, 36.163530765873524], + [44.02990132570267, 36.16359139828477], + [44.029818177223206, 36.16372349016114], + [44.02933269739151, 36.16425618628903], + [44.02875602245331, 36.16487766052959], + [44.02850925922394, 36.165293417549556], + [44.02828931808472, 36.165611730027436], + [44.028287306427956, 36.165628511771864] + ] + } } - } -}, { - "name": "Mantkawa, 92, Zanko", - "way": [{ - "name": "Zanko", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Engineering College", - "id": 1, - "coordinates": null - }, { - "name": "92", - "id": 2, - "coordinates": null - }, { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, { - "name": "Garaki Ronaki", - "id": 4, - "coordinates": null - }, { - "name": "Garaki Komari", - "id": 5, - "coordinates": null - }, { - "name": "Saydawa", - "id": 6, - "coordinates": null - }, { - "name": "Down Town", - "id": 7, - "coordinates": null - }, { - "name": "Garaki Xabat", - "id": 8, - "coordinates": null - }, { - "name": "PAR Hospital", - "id": 9, - "coordinates": null - }, { - "name": "Eskan.", - "id": 10, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.020612835884094, 36.14202928910779], - [44.019993245601654, 36.14481043247796], - [44.01923418045044, 36.14819359077874], - [44.018375873565674, 36.15228264239094], - [44.01715278625488, 36.15755824355528], - [44.01629447937012, 36.161984623541585], - [44.0147602558136, 36.16931228838401], - [44.0136981010437, 36.17445683519514], - [44.01272177696228, 36.17856183733473], - [44.012356996536255, 36.18040642015725], - [44.014588594436646, 36.18161879835813], - [44.01671290397644, 36.18366247913786], - [44.01851534843444, 36.18659801204023], - [44.01945948600769, 36.189031216981206], - [44.01938438415527, 36.190148214572524], - [44.021841287612915, 36.19067640168397], - [44.02516722679138, 36.19114397418701], - [44.026572704315186, 36.19131714847965], - [44.02641177177429, 36.18774968074065], - [44.02565002441406, 36.18430328331728], - [44.02426600456237, 36.18083075466183], - [44.02055382728577, 36.17723682850498], - [44.0172815322876, 36.17570394719661], - [44.01371955871582, 36.17481191771672], - [44.0136256814003, 36.17480325718655] - ] + }, + { + "name": "Mantkawa, 92, Zanko", + "way": [ + { + "name": "Zanko", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Engineering College", + "id": 1, + "coordinates": null + }, + { + "name": "92", + "id": 2, + "coordinates": null + }, + { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, + { + "name": "Garaki Ronaki", + "id": 4, + "coordinates": null + }, + { + "name": "Garaki Komari", + "id": 5, + "coordinates": null + }, + { + "name": "Saydawa", + "id": 6, + "coordinates": null + }, + { + "name": "Down Town", + "id": 7, + "coordinates": null + }, + { + "name": "Garaki Xabat", + "id": 8, + "coordinates": null + }, + { + "name": "PAR Hospital", + "id": 9, + "coordinates": null + }, + { + "name": "Eskan.", + "id": 10, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.020612835884094, 36.14202928910779], + [44.019993245601654, 36.14481043247796], + [44.01923418045044, 36.14819359077874], + [44.018375873565674, 36.15228264239094], + [44.01715278625488, 36.15755824355528], + [44.01629447937012, 36.161984623541585], + [44.0147602558136, 36.16931228838401], + [44.0136981010437, 36.17445683519514], + [44.01272177696228, 36.17856183733473], + [44.012356996536255, 36.18040642015725], + [44.014588594436646, 36.18161879835813], + [44.01671290397644, 36.18366247913786], + [44.01851534843444, 36.18659801204023], + [44.01945948600769, 36.189031216981206], + [44.01938438415527, 36.190148214572524], + [44.021841287612915, 36.19067640168397], + [44.02516722679138, 36.19114397418701], + [44.026572704315186, 36.19131714847965], + [44.02641177177429, 36.18774968074065], + [44.02565002441406, 36.18430328331728], + [44.02426600456237, 36.18083075466183], + [44.02055382728577, 36.17723682850498], + [44.0172815322876, 36.17570394719661], + [44.01371955871582, 36.17481191771672], + [44.0136256814003, 36.17480325718655] + ] + } } - } -}, { - "name": "Down Town -> Qushtapa", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Ronaki", - "id": 2, - "coordinates": null - }, { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, { - "name": "College of Engineering", - "id": 4, - "coordinates": null - }, { - "name": "Zanko", - "id": 5, - "coordinates": null - }, { - "name": "Shahid Shawkat Dorm", - "id": 6, - "coordinates": null - }, { - "name": "Knowlegde University", - "id": 7, - "coordinates": null - }, { - "name": "Qarachnagha", - "id": 8, - "coordinates": null - }, { - "name": "Qushtapa", - "id": 9, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01714205741882, 36.18441585648311], - [44.01564538478851, 36.18260167691358], - [44.014105796813965, 36.18140230362693], - [44.012882709503174, 36.18064456735609], - [44.012335538864136, 36.18046270956049], - [44.01277542114258, 36.178016248177464], - [44.01376247406006, 36.17359943418024], - [44.015135765075684, 36.167051698895655], - [44.01640176773071, 36.16110976199042], - [44.017174243927, 36.15700384567333], - [44.01820421218872, 36.15244723958106], - [44.019169807434075, 36.147994330697664], - [44.02004957199097, 36.14383574392117], - [44.02101516723633, 36.13929570164957], - [44.022603034973145, 36.131774595564394], - [44.023804664611816, 36.12581265373426], - [44.02397632598877, 36.122484861381245], - [44.02298927307129, 36.11489280712249], - [44.02122974395752, 36.10480359930836], - [44.02092933654785, 36.10029597427826], - [44.021358489990234, 36.09720983570064], - [44.02217388153076, 36.09284048842407], - [44.0247917175293, 36.08826281643795], - [44.02998447418213, 36.07830892784222], - [44.03423309326172, 36.070192281208456], - [44.03526306152344, 36.0669662018575], - [44.03599262237549, 36.06190133728114], - [44.0361213684082, 36.05700961747586], - [44.03646469116211, 36.04458814004193], - [44.03702259063721, 36.03233822776377], - [44.0375804901123, 36.015712778641046], - [44.037837982177734, 36.009672602871746], - [44.039597511291504, 36.00533311046048], - [44.04039144515991, 36.00370139952558], - [44.04120683670044, 36.00156623740852], - [44.045047760009766, 35.992764593029214], - [44.046528339385986, 35.989292273810364] - ] + }, + { + "name": "Down Town -> Qushtapa", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Ronaki", + "id": 2, + "coordinates": null + }, + { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, + { + "name": "College of Engineering", + "id": 4, + "coordinates": null + }, + { + "name": "Zanko", + "id": 5, + "coordinates": null + }, + { + "name": "Shahid Shawkat Dorm", + "id": 6, + "coordinates": null + }, + { + "name": "Knowlegde University", + "id": 7, + "coordinates": null + }, + { + "name": "Qarachnagha", + "id": 8, + "coordinates": null + }, + { + "name": "Qushtapa", + "id": 9, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01714205741882, 36.18441585648311], + [44.01564538478851, 36.18260167691358], + [44.014105796813965, 36.18140230362693], + [44.012882709503174, 36.18064456735609], + [44.012335538864136, 36.18046270956049], + [44.01277542114258, 36.178016248177464], + [44.01376247406006, 36.17359943418024], + [44.015135765075684, 36.167051698895655], + [44.01640176773071, 36.16110976199042], + [44.017174243927, 36.15700384567333], + [44.01820421218872, 36.15244723958106], + [44.019169807434075, 36.147994330697664], + [44.02004957199097, 36.14383574392117], + [44.02101516723633, 36.13929570164957], + [44.022603034973145, 36.131774595564394], + [44.023804664611816, 36.12581265373426], + [44.02397632598877, 36.122484861381245], + [44.02298927307129, 36.11489280712249], + [44.02122974395752, 36.10480359930836], + [44.02092933654785, 36.10029597427826], + [44.021358489990234, 36.09720983570064], + [44.02217388153076, 36.09284048842407], + [44.0247917175293, 36.08826281643795], + [44.02998447418213, 36.07830892784222], + [44.03423309326172, 36.070192281208456], + [44.03526306152344, 36.0669662018575], + [44.03599262237549, 36.06190133728114], + [44.0361213684082, 36.05700961747586], + [44.03646469116211, 36.04458814004193], + [44.03702259063721, 36.03233822776377], + [44.0375804901123, 36.015712778641046], + [44.037837982177734, 36.009672602871746], + [44.039597511291504, 36.00533311046048], + [44.04039144515991, 36.00370139952558], + [44.04120683670044, 36.00156623740852], + [44.045047760009766, 35.992764593029214], + [44.046528339385986, 35.989292273810364] + ] + } } - } -}, { - "name": "Down Town -> Darato", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Ronaki", - "id": 2, - "coordinates": null - }, { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, { - "name": "College of Engineering", - "id": 4, - "coordinates": null - }, { - "name": "Zanko", - "id": 5, - "coordinates": null - }, { - "name": "Shahid Shawkat Dorm", - "id": 6, - "coordinates": null - }, { - "name": "Darato", - "id": 7, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017131328582764, 36.18436389965741], - [44.01487827301025, 36.18191323023236], - [44.01273250579834, 36.18073549609554], - [44.01238918304444, 36.18031982099633], - [44.01307582855224, 36.17647472177247], - [44.01453495025635, 36.17010044793332], - [44.01603698730468, 36.162513000541566], - [44.01749610900879, 36.15534062850759], - [44.01989936828613, 36.144424890452136], - [44.022560119628906, 36.13201722314151], - [44.023804664611816, 36.12638460383812], - [44.023847579956055, 36.12031825408571], - [44.02389049530029, 36.1275284915437], - [44.03419017791748, 36.12737250783815], - [44.040842056274414, 36.126852559914326], - [44.050283432006836, 36.125535343092864], - [44.05890941619874, 36.123420817238795], - [44.05975699424744, 36.12515403936139], - [44.06359791755676, 36.12402744933458], - [44.06792163848877, 36.122770849077114], - [44.07538890838622, 36.12053491750585] - ] + }, + { + "name": "Down Town -> Darato", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Ronaki", + "id": 2, + "coordinates": null + }, + { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, + { + "name": "College of Engineering", + "id": 4, + "coordinates": null + }, + { + "name": "Zanko", + "id": 5, + "coordinates": null + }, + { + "name": "Shahid Shawkat Dorm", + "id": 6, + "coordinates": null + }, + { + "name": "Darato", + "id": 7, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017131328582764, 36.18436389965741], + [44.01487827301025, 36.18191323023236], + [44.01273250579834, 36.18073549609554], + [44.01238918304444, 36.18031982099633], + [44.01307582855224, 36.17647472177247], + [44.01453495025635, 36.17010044793332], + [44.01603698730468, 36.162513000541566], + [44.01749610900879, 36.15534062850759], + [44.01989936828613, 36.144424890452136], + [44.022560119628906, 36.13201722314151], + [44.023804664611816, 36.12638460383812], + [44.023847579956055, 36.12031825408571], + [44.02389049530029, 36.1275284915437], + [44.03419017791748, 36.12737250783815], + [44.040842056274414, 36.126852559914326], + [44.050283432006836, 36.125535343092864], + [44.05890941619874, 36.123420817238795], + [44.05975699424744, 36.12515403936139], + [44.06359791755676, 36.12402744933458], + [44.06792163848877, 36.122770849077114], + [44.07538890838622, 36.12053491750585] + ] + } } - } -}, { - "name": "Down Town -> Hawleri nwe, Sebardan", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, { - "name": "Rizagari hospital", - "id": 2, - "coordinates": null - }, { - "name": "Havalan", - "id": 3, - "coordinates": null - }, { - "name": "Sarwaran", - "id": 4, - "coordinates": null - }, { - "name": "Majdi Mall", - "id": 5, - "coordinates": null - }, { - "name": "Hawleri nwe", - "id": 6, - "coordinates": null - }, { - "name": "Sebardan", - "id": 7, - "coordinates": null - }, { - "name": "CMC Hospital", - "id": 8, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017174243927, 36.18426864538754], - [44.01865482330322, 36.18683181081555], - [44.01944875717163, 36.18962002389865], - [44.019598960876465, 36.19020882638922], - [44.027602672576904, 36.191542274487574], - [44.037065505981445, 36.193048870343375], - [44.0482234954834, 36.19464202063457], - [44.061827659606934, 36.19642561782671], - [44.07214879989624, 36.19784553994047], - [44.07191276550293, 36.19950785505866], - [44.070560932159424, 36.20297089818844], - [44.070775508880615, 36.203334508829506], - [44.071065187454224, 36.20375006177959], - [44.070764780044556, 36.20473699119425], - [44.069252014160156, 36.21107382041607], - [44.078264236450195, 36.21131620260199], - [44.085516929626465, 36.21145470637118], - [44.08845663070679, 36.21168843092577], - [44.089261293411255, 36.212086626707226], - [44.091235399246216, 36.21345432721931], - [44.092276096343994, 36.21410354377867], - [44.09242630004883, 36.214371885049815], - [44.09241020679473, 36.214514711480135], - [44.0938800573349, 36.21487826849], - [44.09546256065368, 36.215644329516394], - [44.095741510391235, 36.215787153623964], - [44.096224308013916, 36.215289432120294], - [44.096513986587524, 36.21506870244001], - [44.09735083580017, 36.21545389696741], - [44.09781217575073, 36.21558806540246], - [44.09855782985687, 36.2156962655857], - [44.098740220069885, 36.21570492159388], - [44.09886360168457, 36.21487394044027], - [44.09905672073364, 36.21422040218728], - [44.098729491233826, 36.21396504469801], - [44.09840226173401, 36.21368804580123], - [44.098273515701294, 36.21332881139644], - [44.09814476966858, 36.212995544269084], - [44.0983110666275, 36.212735854614444], - [44.09905672073364, 36.20929055696808], - [44.09970045089722, 36.207022464166606], - [44.09985065460205, 36.206992164772046], - [44.09995257854462, 36.20685365310473], - [44.09988820552826, 36.20664588514412], - [44.099764823913574, 36.206563643507366], - [44.09991502761841, 36.206126462829594], - [44.10029053688049, 36.20430412894794], - [44.10085916519165, 36.20209649425596], - [44.08246994018554, 36.199403961397834], - [44.072153493762016, 36.197847433874244] - ] + }, + { + "name": "Down Town -> Hawleri nwe, Sebardan", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, + { + "name": "Rizagari hospital", + "id": 2, + "coordinates": null + }, + { + "name": "Havalan", + "id": 3, + "coordinates": null + }, + { + "name": "Sarwaran", + "id": 4, + "coordinates": null + }, + { + "name": "Majdi Mall", + "id": 5, + "coordinates": null + }, + { + "name": "Hawleri nwe", + "id": 6, + "coordinates": null + }, + { + "name": "Sebardan", + "id": 7, + "coordinates": null + }, + { + "name": "CMC Hospital", + "id": 8, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017174243927, 36.18426864538754], + [44.01865482330322, 36.18683181081555], + [44.01944875717163, 36.18962002389865], + [44.019598960876465, 36.19020882638922], + [44.027602672576904, 36.191542274487574], + [44.037065505981445, 36.193048870343375], + [44.0482234954834, 36.19464202063457], + [44.061827659606934, 36.19642561782671], + [44.07214879989624, 36.19784553994047], + [44.07191276550293, 36.19950785505866], + [44.070560932159424, 36.20297089818844], + [44.070775508880615, 36.203334508829506], + [44.071065187454224, 36.20375006177959], + [44.070764780044556, 36.20473699119425], + [44.069252014160156, 36.21107382041607], + [44.078264236450195, 36.21131620260199], + [44.085516929626465, 36.21145470637118], + [44.08845663070679, 36.21168843092577], + [44.089261293411255, 36.212086626707226], + [44.091235399246216, 36.21345432721931], + [44.092276096343994, 36.21410354377867], + [44.09242630004883, 36.214371885049815], + [44.09241020679473, 36.214514711480135], + [44.0938800573349, 36.21487826849], + [44.09546256065368, 36.215644329516394], + [44.095741510391235, 36.215787153623964], + [44.096224308013916, 36.215289432120294], + [44.096513986587524, 36.21506870244001], + [44.09735083580017, 36.21545389696741], + [44.09781217575073, 36.21558806540246], + [44.09855782985687, 36.2156962655857], + [44.098740220069885, 36.21570492159388], + [44.09886360168457, 36.21487394044027], + [44.09905672073364, 36.21422040218728], + [44.098729491233826, 36.21396504469801], + [44.09840226173401, 36.21368804580123], + [44.098273515701294, 36.21332881139644], + [44.09814476966858, 36.212995544269084], + [44.0983110666275, 36.212735854614444], + [44.09905672073364, 36.20929055696808], + [44.09970045089722, 36.207022464166606], + [44.09985065460205, 36.206992164772046], + [44.09995257854462, 36.20685365310473], + [44.09988820552826, 36.20664588514412], + [44.099764823913574, 36.206563643507366], + [44.09991502761841, 36.206126462829594], + [44.10029053688049, 36.20430412894794], + [44.10085916519165, 36.20209649425596], + [44.08246994018554, 36.199403961397834], + [44.072153493762016, 36.197847433874244] + ] + } } - } -}, { - "name": "Down Town -> Kasnazan", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, { - "name": "Rizagari hospital", - "id": 3, - "coordinates": null - }, { - "name": "Havalan", - "id": 4, - "coordinates": null - }, { - "name": "Sarwaran", - "id": 5, - "coordinates": null - }, { - "name": "Majdi Mall ", - "id": 6, - "coordinates": null - }, { - "name": "CMC Hospital", - "id": 7, - "coordinates": null - }, { - "name": "Andazyaran", - "id": 8, - "coordinates": null - }, { - "name": "Kasnazan", - "id": 9, - "coordinates": null - }, { - "name": "Majdi Land", - "id": 10, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017174243927, 36.18430328331728], - [44.01891231536865, 36.18742063426855], - [44.01947021484375, 36.19015687340634], - [44.023826122283936, 36.19100543447715], - [44.03103590011597, 36.192079110817765], - [44.050025939941406, 36.195040303142605], - [44.07517433166504, 36.198295753770175], - [44.104228019714355, 36.20238219166467], - [44.12358283996582, 36.2058104792352], - [44.132080078125, 36.20712634771599], - [44.13338899612427, 36.203914550879546], - [44.13688659667968, 36.19597539324287], - [44.13879096508026, 36.1917544118643], - [44.140545129776, 36.19709229178225], - [44.14132833480834, 36.19927409412792], - [44.14229393005371, 36.20077188355494], - [44.142674803733826, 36.20131731420517], - [44.143200516700745, 36.202364876699896], - [44.142690896987915, 36.20393186550153], - [44.14174675941467, 36.206416474046904], - [44.140952825546265, 36.20832965544736], - [44.140936732292175, 36.208420552042384], - [44.14285182952881, 36.208745181877156], - [44.145909547805786, 36.209316527115725], - [44.147502779960625, 36.20968010827755], - [44.14731502532959, 36.20986189822502], - [44.14362967014313, 36.209147721002104], - [44.14086699485779, 36.208649957265195], - [44.13747131824493, 36.20807427873443], - [44.13381814956665, 36.207489939053026], - [44.13209617137909, 36.207223738418314], - [44.132080748677254, 36.20713284043325] - ] + }, + { + "name": "Down Town -> Kasnazan", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, + { + "name": "Rizagari hospital", + "id": 3, + "coordinates": null + }, + { + "name": "Havalan", + "id": 4, + "coordinates": null + }, + { + "name": "Sarwaran", + "id": 5, + "coordinates": null + }, + { + "name": "Majdi Mall ", + "id": 6, + "coordinates": null + }, + { + "name": "CMC Hospital", + "id": 7, + "coordinates": null + }, + { + "name": "Andazyaran", + "id": 8, + "coordinates": null + }, + { + "name": "Kasnazan", + "id": 9, + "coordinates": null + }, + { + "name": "Majdi Land", + "id": 10, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017174243927, 36.18430328331728], + [44.01891231536865, 36.18742063426855], + [44.01947021484375, 36.19015687340634], + [44.023826122283936, 36.19100543447715], + [44.03103590011597, 36.192079110817765], + [44.050025939941406, 36.195040303142605], + [44.07517433166504, 36.198295753770175], + [44.104228019714355, 36.20238219166467], + [44.12358283996582, 36.2058104792352], + [44.132080078125, 36.20712634771599], + [44.13338899612427, 36.203914550879546], + [44.13688659667968, 36.19597539324287], + [44.13879096508026, 36.1917544118643], + [44.140545129776, 36.19709229178225], + [44.14132833480834, 36.19927409412792], + [44.14229393005371, 36.20077188355494], + [44.142674803733826, 36.20131731420517], + [44.143200516700745, 36.202364876699896], + [44.142690896987915, 36.20393186550153], + [44.14174675941467, 36.206416474046904], + [44.140952825546265, 36.20832965544736], + [44.140936732292175, 36.208420552042384], + [44.14285182952881, 36.208745181877156], + [44.145909547805786, 36.209316527115725], + [44.147502779960625, 36.20968010827755], + [44.14731502532959, 36.20986189822502], + [44.14362967014313, 36.209147721002104], + [44.14086699485779, 36.208649957265195], + [44.13747131824493, 36.20807427873443], + [44.13381814956665, 36.207489939053026], + [44.13209617137909, 36.207223738418314], + [44.132080748677254, 36.20713284043325] + ] + } } - } -}, { - "name": "30 meter st.", - "way": [{ - "name": "Minara Park", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Shanadar Park", - "id": 1, - "coordinates": null - }, { - "name": "Zanyari", - "id": 2, - "coordinates": null - }, { - "name": "Kurdistan University", - "id": 3, - "coordinates": null - }, { - "name": "Saydawa", - "id": 4, - "coordinates": null - }, { - "name": "Garaki Setaqan", - "id": 5, - "coordinates": null - }, { - "name": "Tairawa", - "id": 6, - "coordinates": null - }, { - "name": "Garaki Mstawfi", - "id": 7, - "coordinates": null - }, { - "name": "Salahaddin st.", - "id": 8, - "coordinates": null - }, { - "name": "Kurdistan Parliament", - "id": 9, - "coordinates": null - }, { - "name": "Garaki Araban", - "id": 10, - "coordinates": null, - "is_end": true - }], - "availability": "0700-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [43.99898886680603, 36.18225528940259], - [43.99950385093689, 36.18177250925408], - [44.00007784366608, 36.181196633078095], - [44.00068402290344, 36.180601267919236], - [44.00119364261627, 36.180272191417075], - [44.002373814582825, 36.179917133640764], - [44.00293976068497, 36.17970712919863], - [44.00371491909027, 36.179585889264416], - [44.004012644290924, 36.179544754244084], - [44.004731476306915, 36.179546919245695], - [44.005052000284195, 36.17957722926191], - [44.00542616844177, 36.17965733424837], - [44.00600954890251, 36.17977749157442], - [44.00668814778328, 36.179914968649385], - [44.00785893201827, 36.18014662238741], - [44.008360505104065, 36.18025054159873], - [44.00851607322693, 36.180183427123865], - [44.00870382785797, 36.180226726791645], - [44.009012281894684, 36.18025920152679], - [44.00939851999283, 36.18025920152679], - [44.01145711541176, 36.18030033617199], - [44.012204110622406, 36.1802992536816], - [44.012382477521896, 36.18030683111398], - [44.01238650083542, 36.18033605834633], - [44.0125997364521, 36.18038910033273], - [44.013124108314514, 36.18068028937346], - [44.01382952928543, 36.18106673561116], - [44.01418894529343, 36.18127240650102], - [44.01500165462494, 36.18189591074102], - [44.01567488908767, 36.18248260637945], - [44.01624619960785, 36.18303682405356], - [44.01677459478378, 36.18367979823865], - [44.017174243927, 36.18423833718646], - [44.01759803295135, 36.18490944460807], - [44.01796817779541, 36.185498282513045], - [44.01843219995499, 36.18625813664994], - [44.01883319020271, 36.18695412193382], - [44.018984735012054, 36.187321054142664], - [44.01912420988083, 36.18770855000722], - [44.0192985534668, 36.18819995262014], - [44.019467532634735, 36.188792012906454], - [44.019531905651085, 36.189178419125575], - [44.019535928964615, 36.18954534091345], - [44.019503742456436, 36.18990576683667], - [44.0194796025753, 36.19022506168929], - [44.019411206245415, 36.19104223411148], - [44.01935487985611, 36.191574744531465], - [44.019062519073486, 36.192531522448085], - [44.01877284049988, 36.19331078994106], - [44.01842147111893, 36.19394285676704], - [44.018123745918274, 36.194421232719264], - [44.01769995689392, 36.194845491299404], - [44.01711255311966, 36.19535416564821], - [44.016353487968445, 36.195925608634745], - [44.01557296514511, 36.19642128875651], - [44.01478171348572, 36.19695376259638], - [44.01418089866638, 36.19734553981651], - [44.013596177101135, 36.19766155758218], - [44.01290953159332, 36.197912639281185], - [44.012552797794335, 36.198064153709964], - [44.011858105659485, 36.198207009902845], - [44.01119023561478, 36.198313069635], - [44.01049554347992, 36.198358523761925], - [44.009580910205834, 36.19838233305598], - [44.008639454841614, 36.19832172756597], - [44.00643467903137, 36.19816155568793], - [44.00448739528656, 36.19801653492109], - [44.003865122795105, 36.1979516001623], - [44.00343328714371, 36.197828223972216], - [44.002620577812195, 36.197477574791556], - [44.00198221206665, 36.19705333047349], - [44.00131702423096, 36.196594451378196], - [44.0008744597435, 36.196243796671816], - [44.000482857227325, 36.19577409006735], - [43.99994373321533, 36.19507277173599], - [43.99956554174423, 36.19444287862085], - [43.99943143129349, 36.19416581062875], - [43.9992356300354, 36.193670116228176], - [43.99912565946579, 36.19325667439353], - [43.99891376495361, 36.19260079098371], - [43.99880647659302, 36.19188212694665], - [43.99880111217499, 36.1913539479675], - [43.99888426065445, 36.19072186024428], - [43.99903982877731, 36.19023480286772], - [43.999238312244415, 36.189791036842884], - [43.999501168727875, 36.18929315001683], - [44.00011271238327, 36.18855930235889], - [44.000477492809296, 36.18824974214018], - [44.00091737508774, 36.18799646468749], - [44.001502096652985, 36.18776699893771], - [44.00194600224495, 36.187615464583445], - [44.00213375687599, 36.1875018136253], - [44.002273231744766, 36.18731780696251], - [44.00234833359718, 36.187128387887476], - [44.00231748819351, 36.186927061968376], - [44.002200812101364, 36.18652765579068], - [44.001748859882355, 36.18532076566954], - [44.00140017271042, 36.1845479132599], - [44.00109976530075, 36.18406081748753], - [44.00059551000595, 36.183554234671064], - [43.99973452091217, 36.18292857872222], - [43.998903036117554, 36.18240466920456], - [43.99836122989654, 36.1820582808224], - [43.9980648458004, 36.18183421002186], - [43.998150005936616, 36.18175464849645], - [43.99825796484947, 36.18182717397185], - [43.99855434894562, 36.18202255943338], - [43.99878568947315, 36.18217464584039], - [43.99891845881939, 36.182269361425085], - [43.99895533919334, 36.182291281301225], - [43.99898651987314, 36.18225772494513] - ] + }, + { + "name": "30 meter st.", + "way": [ + { + "name": "Minara Park", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Shanadar Park", + "id": 1, + "coordinates": null + }, + { + "name": "Zanyari", + "id": 2, + "coordinates": null + }, + { + "name": "Kurdistan University", + "id": 3, + "coordinates": null + }, + { + "name": "Saydawa", + "id": 4, + "coordinates": null + }, + { + "name": "Garaki Setaqan", + "id": 5, + "coordinates": null + }, + { + "name": "Tairawa", + "id": 6, + "coordinates": null + }, + { + "name": "Garaki Mstawfi", + "id": 7, + "coordinates": null + }, + { + "name": "Salahaddin st.", + "id": 8, + "coordinates": null + }, + { + "name": "Kurdistan Parliament", + "id": 9, + "coordinates": null + }, + { + "name": "Garaki Araban", + "id": 10, + "coordinates": null, + "is_end": true + } + ], + "availability": "0700-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [43.99898886680603, 36.18225528940259], + [43.99950385093689, 36.18177250925408], + [44.00007784366608, 36.181196633078095], + [44.00068402290344, 36.180601267919236], + [44.00119364261627, 36.180272191417075], + [44.002373814582825, 36.179917133640764], + [44.00293976068497, 36.17970712919863], + [44.00371491909027, 36.179585889264416], + [44.004012644290924, 36.179544754244084], + [44.004731476306915, 36.179546919245695], + [44.005052000284195, 36.17957722926191], + [44.00542616844177, 36.17965733424837], + [44.00600954890251, 36.17977749157442], + [44.00668814778328, 36.179914968649385], + [44.00785893201827, 36.18014662238741], + [44.008360505104065, 36.18025054159873], + [44.00851607322693, 36.180183427123865], + [44.00870382785797, 36.180226726791645], + [44.009012281894684, 36.18025920152679], + [44.00939851999283, 36.18025920152679], + [44.01145711541176, 36.18030033617199], + [44.012204110622406, 36.1802992536816], + [44.012382477521896, 36.18030683111398], + [44.01238650083542, 36.18033605834633], + [44.0125997364521, 36.18038910033273], + [44.013124108314514, 36.18068028937346], + [44.01382952928543, 36.18106673561116], + [44.01418894529343, 36.18127240650102], + [44.01500165462494, 36.18189591074102], + [44.01567488908767, 36.18248260637945], + [44.01624619960785, 36.18303682405356], + [44.01677459478378, 36.18367979823865], + [44.017174243927, 36.18423833718646], + [44.01759803295135, 36.18490944460807], + [44.01796817779541, 36.185498282513045], + [44.01843219995499, 36.18625813664994], + [44.01883319020271, 36.18695412193382], + [44.018984735012054, 36.187321054142664], + [44.01912420988083, 36.18770855000722], + [44.0192985534668, 36.18819995262014], + [44.019467532634735, 36.188792012906454], + [44.019531905651085, 36.189178419125575], + [44.019535928964615, 36.18954534091345], + [44.019503742456436, 36.18990576683667], + [44.0194796025753, 36.19022506168929], + [44.019411206245415, 36.19104223411148], + [44.01935487985611, 36.191574744531465], + [44.019062519073486, 36.192531522448085], + [44.01877284049988, 36.19331078994106], + [44.01842147111893, 36.19394285676704], + [44.018123745918274, 36.194421232719264], + [44.01769995689392, 36.194845491299404], + [44.01711255311966, 36.19535416564821], + [44.016353487968445, 36.195925608634745], + [44.01557296514511, 36.19642128875651], + [44.01478171348572, 36.19695376259638], + [44.01418089866638, 36.19734553981651], + [44.013596177101135, 36.19766155758218], + [44.01290953159332, 36.197912639281185], + [44.012552797794335, 36.198064153709964], + [44.011858105659485, 36.198207009902845], + [44.01119023561478, 36.198313069635], + [44.01049554347992, 36.198358523761925], + [44.009580910205834, 36.19838233305598], + [44.008639454841614, 36.19832172756597], + [44.00643467903137, 36.19816155568793], + [44.00448739528656, 36.19801653492109], + [44.003865122795105, 36.1979516001623], + [44.00343328714371, 36.197828223972216], + [44.002620577812195, 36.197477574791556], + [44.00198221206665, 36.19705333047349], + [44.00131702423096, 36.196594451378196], + [44.0008744597435, 36.196243796671816], + [44.000482857227325, 36.19577409006735], + [43.99994373321533, 36.19507277173599], + [43.99956554174423, 36.19444287862085], + [43.99943143129349, 36.19416581062875], + [43.9992356300354, 36.193670116228176], + [43.99912565946579, 36.19325667439353], + [43.99891376495361, 36.19260079098371], + [43.99880647659302, 36.19188212694665], + [43.99880111217499, 36.1913539479675], + [43.99888426065445, 36.19072186024428], + [43.99903982877731, 36.19023480286772], + [43.999238312244415, 36.189791036842884], + [43.999501168727875, 36.18929315001683], + [44.00011271238327, 36.18855930235889], + [44.000477492809296, 36.18824974214018], + [44.00091737508774, 36.18799646468749], + [44.001502096652985, 36.18776699893771], + [44.00194600224495, 36.187615464583445], + [44.00213375687599, 36.1875018136253], + [44.002273231744766, 36.18731780696251], + [44.00234833359718, 36.187128387887476], + [44.00231748819351, 36.186927061968376], + [44.002200812101364, 36.18652765579068], + [44.001748859882355, 36.18532076566954], + [44.00140017271042, 36.1845479132599], + [44.00109976530075, 36.18406081748753], + [44.00059551000595, 36.183554234671064], + [43.99973452091217, 36.18292857872222], + [43.998903036117554, 36.18240466920456], + [43.99836122989654, 36.1820582808224], + [43.9980648458004, 36.18183421002186], + [43.998150005936616, 36.18175464849645], + [43.99825796484947, 36.18182717397185], + [43.99855434894562, 36.18202255943338], + [43.99878568947315, 36.18217464584039], + [43.99891845881939, 36.182269361425085], + [43.99895533919334, 36.182291281301225], + [43.99898651987314, 36.18225772494513] + ] + } } - } -}, { - "name": "Down Town -> Ankawa", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Setaqan", - "id": 2, - "coordinates": null - }, { - "name": "Farid Hotel", - "id": 3, - "coordinates": null - }, { - "name": "Kurdistan School for boys", - "id": 4, - "coordinates": null - }, { - "name": "Xanzad Hospital", - "id": 5, - "coordinates": null - }, { - "name": "Hawler Mall", - "id": 6, - "coordinates": null - }, { - "name": "Medicine College", - "id": 7, - "coordinates": null - }, { - "name": "Royal Mall", - "id": 8, - "coordinates": null - }, { - "name": "Surchyan Bazar", - "id": 9, - "coordinates": null - }, { - "name": "Samad", - "id": 10, - "coordinates": null - }, { - "name": "Soran Hospital", - "id": 11, - "coordinates": null - }, { - "name": "Baxtyari", - "id": 12, - "coordinates": null - }, { - "name": "Kurani Ankawa", - "id": 13, - "coordinates": null - }, { - "name": "Ankawa", - "id": 14, - "coordinates": null, - "is_end": true - }], - "availability": "0800-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017120599746704, 36.184337921231695], - [44.01870846748352, 36.186918402777444], - [44.01940584182739, 36.189143783351795], - [44.01926636695862, 36.19173276521954], - [44.01850461959838, 36.19375020680239], - [44.01701331138611, 36.195421267124125], - [44.01614427566528, 36.196061975094665], - [44.01625692844391, 36.19613773413645], - [44.016584157943726, 36.19647107304946], - [44.01740223169327, 36.197371513927564], - [44.01806741952896, 36.198209174388595], - [44.018842577934265, 36.19910310189398], - [44.019604325294495, 36.20004030790631], - [44.02021586894989, 36.200754568233975], - [44.020470678806305, 36.20101862646268], - [44.02056992053985, 36.20112035357543], - [44.01997983455658, 36.20142120532672], - [44.019100069999695, 36.20185841228554], - [44.01821494102478, 36.20224367183915], - [44.017619490623474, 36.20244495837991], - [44.017174243927, 36.202561834198285], - [44.01650369167328, 36.2027739417193], - [44.01589214801788, 36.20295358335389], - [44.014615416526794, 36.20326957848174], - [44.01305705308914, 36.203572586310386], - [44.01154160499573, 36.20374140444897], - [44.00998592376709, 36.20382364905125], - [44.009578227996826, 36.203782526760904], - [44.008365869522095, 36.20362453039181], - [44.00709718465805, 36.20334749489257], - [44.005925059318535, 36.20307478711538], - [44.00485754013061, 36.2028107358226], - [44.00393754243851, 36.202349726102554], - [44.00269836187363, 36.20170257642187], - [44.001770317554474, 36.20120043652861], - [44.00148332118987, 36.20167443935787], - [44.00103807449341, 36.20258997094334], - [44.000405073165894, 36.20401843855404], - [43.999836444854736, 36.205321351429575], - [43.99922490119934, 36.20670215568792], - [43.99857580661774, 36.208290699731435], - [43.998114466667175, 36.20947234782049], - [43.9975780248642, 36.2105068162988], - [43.9966607093811, 36.21213423693677], - [43.99589359760284, 36.2135452178619], - [43.99513453245163, 36.21489341666207], - [43.99476706981659, 36.21557291736485], - [43.99438887834549, 36.21633897158993], - [43.9941930770874, 36.21679773493598], - [43.9940482378006, 36.217286791012285], - [43.99389535188675, 36.218152369494305], - [43.993771970272064, 36.21882318623083], - [43.99364322423935, 36.21957622526275], - [43.993503749370575, 36.22042663131618], - [43.99344205856323, 36.22104982377563], - [43.994281589984894, 36.22126404503693], - [43.99731785058975, 36.22209063066723], - [43.998146653175354, 36.22235245308986], - [43.998068869113915, 36.222560179347106], - [43.99394094944, 36.22137656506038], - [43.99342060089111, 36.22124240655233], - [43.99328917264938, 36.22187208400706], - [43.99309605360031, 36.22253854122107], - [43.992905616760254, 36.22311411333622], - [43.99252474308014, 36.2247369442383], - [43.991113901138306, 36.22931098239696], - [43.99063915014267, 36.230643764374115], - [43.99017512798309, 36.231245239710596], - [43.990105390548706, 36.231340436821796], - [43.990105390548706, 36.23154164851637], - [43.99038165807724, 36.2320479208124], - [43.99074375629425, 36.23278568781931], - [43.99143576622009, 36.233486668203625], - [43.991403579711914, 36.23404052480367], - [43.99111926555633, 36.23442129894035], - [43.99100661277771, 36.234490530402304], - [43.98993909358978, 36.234343413472345], - [43.98891985416412, 36.23414437247938], - [43.9881956577301, 36.233793886021004], - [43.98772895336151, 36.23353426540929], - [43.98699939250946, 36.23339580073054], - [43.98701012134551, 36.2331231976777], - [43.98733198642731, 36.23235298074144], - [43.988152742385864, 36.23117600537512], - [43.989145159721375, 36.22967879787434], - [43.990100026130676, 36.228480145774775], - [43.990475535392754, 36.228060396833406], - [43.991097807884216, 36.226853065153975], - [43.99199903011322, 36.2249316816839], - [43.99229407310486, 36.22422629707834], - [43.99259984493255, 36.22317469962829], - [43.9929860830307, 36.22199758612419], - [43.99319529533386, 36.22121860421233], - [43.99183809757233, 36.22083776578766], - [43.989161252975464, 36.219941922637524], - [43.98660778999328, 36.21892489020164], - [43.98373246192932, 36.217587580620524], - [43.982922434806824, 36.21719806867678], - [43.983110189437866, 36.21702495163483], - [43.984472751617425, 36.21770443382549], - [43.986420035362244, 36.218643581023315], - [43.98874282836913, 36.219565405787755], - [43.99124801158905, 36.22045259776777], - [43.992664217948914, 36.22086805982113], - [43.99324893951416, 36.22101087439238], - [43.993433341383934, 36.22104738943974] - ] + }, + { + "name": "Down Town -> Ankawa", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Setaqan", + "id": 2, + "coordinates": null + }, + { + "name": "Farid Hotel", + "id": 3, + "coordinates": null + }, + { + "name": "Kurdistan School for boys", + "id": 4, + "coordinates": null + }, + { + "name": "Xanzad Hospital", + "id": 5, + "coordinates": null + }, + { + "name": "Hawler Mall", + "id": 6, + "coordinates": null + }, + { + "name": "Medicine College", + "id": 7, + "coordinates": null + }, + { + "name": "Royal Mall", + "id": 8, + "coordinates": null + }, + { + "name": "Surchyan Bazar", + "id": 9, + "coordinates": null + }, + { + "name": "Samad", + "id": 10, + "coordinates": null + }, + { + "name": "Soran Hospital", + "id": 11, + "coordinates": null + }, + { + "name": "Baxtyari", + "id": 12, + "coordinates": null + }, + { + "name": "Kurani Ankawa", + "id": 13, + "coordinates": null + }, + { + "name": "Ankawa", + "id": 14, + "coordinates": null, + "is_end": true + } + ], + "availability": "0800-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017120599746704, 36.184337921231695], + [44.01870846748352, 36.186918402777444], + [44.01940584182739, 36.189143783351795], + [44.01926636695862, 36.19173276521954], + [44.01850461959838, 36.19375020680239], + [44.01701331138611, 36.195421267124125], + [44.01614427566528, 36.196061975094665], + [44.01625692844391, 36.19613773413645], + [44.016584157943726, 36.19647107304946], + [44.01740223169327, 36.197371513927564], + [44.01806741952896, 36.198209174388595], + [44.018842577934265, 36.19910310189398], + [44.019604325294495, 36.20004030790631], + [44.02021586894989, 36.200754568233975], + [44.020470678806305, 36.20101862646268], + [44.02056992053985, 36.20112035357543], + [44.01997983455658, 36.20142120532672], + [44.019100069999695, 36.20185841228554], + [44.01821494102478, 36.20224367183915], + [44.017619490623474, 36.20244495837991], + [44.017174243927, 36.202561834198285], + [44.01650369167328, 36.2027739417193], + [44.01589214801788, 36.20295358335389], + [44.014615416526794, 36.20326957848174], + [44.01305705308914, 36.203572586310386], + [44.01154160499573, 36.20374140444897], + [44.00998592376709, 36.20382364905125], + [44.009578227996826, 36.203782526760904], + [44.008365869522095, 36.20362453039181], + [44.00709718465805, 36.20334749489257], + [44.005925059318535, 36.20307478711538], + [44.00485754013061, 36.2028107358226], + [44.00393754243851, 36.202349726102554], + [44.00269836187363, 36.20170257642187], + [44.001770317554474, 36.20120043652861], + [44.00148332118987, 36.20167443935787], + [44.00103807449341, 36.20258997094334], + [44.000405073165894, 36.20401843855404], + [43.999836444854736, 36.205321351429575], + [43.99922490119934, 36.20670215568792], + [43.99857580661774, 36.208290699731435], + [43.998114466667175, 36.20947234782049], + [43.9975780248642, 36.2105068162988], + [43.9966607093811, 36.21213423693677], + [43.99589359760284, 36.2135452178619], + [43.99513453245163, 36.21489341666207], + [43.99476706981659, 36.21557291736485], + [43.99438887834549, 36.21633897158993], + [43.9941930770874, 36.21679773493598], + [43.9940482378006, 36.217286791012285], + [43.99389535188675, 36.218152369494305], + [43.993771970272064, 36.21882318623083], + [43.99364322423935, 36.21957622526275], + [43.993503749370575, 36.22042663131618], + [43.99344205856323, 36.22104982377563], + [43.994281589984894, 36.22126404503693], + [43.99731785058975, 36.22209063066723], + [43.998146653175354, 36.22235245308986], + [43.998068869113915, 36.222560179347106], + [43.99394094944, 36.22137656506038], + [43.99342060089111, 36.22124240655233], + [43.99328917264938, 36.22187208400706], + [43.99309605360031, 36.22253854122107], + [43.992905616760254, 36.22311411333622], + [43.99252474308014, 36.2247369442383], + [43.991113901138306, 36.22931098239696], + [43.99063915014267, 36.230643764374115], + [43.99017512798309, 36.231245239710596], + [43.990105390548706, 36.231340436821796], + [43.990105390548706, 36.23154164851637], + [43.99038165807724, 36.2320479208124], + [43.99074375629425, 36.23278568781931], + [43.99143576622009, 36.233486668203625], + [43.991403579711914, 36.23404052480367], + [43.99111926555633, 36.23442129894035], + [43.99100661277771, 36.234490530402304], + [43.98993909358978, 36.234343413472345], + [43.98891985416412, 36.23414437247938], + [43.9881956577301, 36.233793886021004], + [43.98772895336151, 36.23353426540929], + [43.98699939250946, 36.23339580073054], + [43.98701012134551, 36.2331231976777], + [43.98733198642731, 36.23235298074144], + [43.988152742385864, 36.23117600537512], + [43.989145159721375, 36.22967879787434], + [43.990100026130676, 36.228480145774775], + [43.990475535392754, 36.228060396833406], + [43.991097807884216, 36.226853065153975], + [43.99199903011322, 36.2249316816839], + [43.99229407310486, 36.22422629707834], + [43.99259984493255, 36.22317469962829], + [43.9929860830307, 36.22199758612419], + [43.99319529533386, 36.22121860421233], + [43.99183809757233, 36.22083776578766], + [43.989161252975464, 36.219941922637524], + [43.98660778999328, 36.21892489020164], + [43.98373246192932, 36.217587580620524], + [43.982922434806824, 36.21719806867678], + [43.983110189437866, 36.21702495163483], + [43.984472751617425, 36.21770443382549], + [43.986420035362244, 36.218643581023315], + [43.98874282836913, 36.219565405787755], + [43.99124801158905, 36.22045259776777], + [43.992664217948914, 36.22086805982113], + [43.99324893951416, 36.22101087439238], + [43.993433341383934, 36.22104738943974] + ] + } } - } -}, { - "name": "Bahrka", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "30 meter st.", - "id": 1, - "coordinates": null - }, { - "name": "Hawler Mall", - "id": 2, - "coordinates": null - }, { - "name": "Jalil Xayat", - "id": 3, - "coordinates": null - }, { - "name": "Hawler Medicine College", - "id": 4, - "coordinates": null - }, { - "name": "Shorsh St.", - "id": 5, - "coordinates": null - }, { - "name": "Raparin Hospital", - "id": 6, - "coordinates": null - }, { - "name": "Italian Village 2", - "id": 7, - "coordinates": null - }, { - "name": "Atconz", - "id": 8, - "coordinates": null - }, { - "name": "Lebanon Village", - "id": 9, - "coordinates": null - }, { - "name": "Bahrka Road", - "id": 10, - "coordinates": null - }, { - "name": "Ganjan City", - "id": 11, - "coordinates": null - }, { - "name": "Hasm City", - "id": 12, - "coordinates": null - }, { + }, + { "name": "Bahrka", - "id": 13, - "coordinates": null, - "is_end": true - }], - "availability": "0700-1700", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.0167236328125, 36.184450494347736], - [44.01716351509094, 36.18432926175452], - [44.01900887489318, 36.18741197513219], - [44.01954531669617, 36.18942952802744], - [44.01928782463074, 36.19157690920057], - [44.0186333656311, 36.1935597209781], - [44.01789307594299, 36.19466799564251], - [44.0167772769928, 36.19564638133283], - [44.01645541191101, 36.19590612769248], - [44.01649832725525, 36.19636501082199], - [44.0175175666809, 36.19754250994351], - [44.01970624923706, 36.20013554299319], - [44.02092665433884, 36.20161167202479], - [44.02325212955475, 36.20438204432895], - [44.02667999267578, 36.208589359724535], - [44.028117656707764, 36.21027741651917], - [44.029340744018555, 36.21148067580061], - [44.03089642524719, 36.212900324829114], - [44.03266668319702, 36.21447575884317], - [44.03428673744201, 36.21599056932708], - [44.03645396232605, 36.21760056431858], - [44.03926491737366, 36.21972986164619], - [44.042547941207886, 36.22222262389892], - [44.04487609863281, 36.223988282432444], - [44.05056238174438, 36.22828108985666], - [44.05496120452881, 36.2316217003369], - [44.05659198760986, 36.232781360760356], - [44.057163298130035, 36.232857084257], - [44.057388603687286, 36.232843021327454], - [44.057604521512985, 36.23278352428986], - [44.05785530805588, 36.23264614004829], - [44.058029651641846, 36.23246115773541], - [44.05813157558441, 36.23219071496991], - [44.05808866024017, 36.2319700329802], - [44.057772159576416, 36.23172122410763], - [44.05747711658478, 36.231671462238104], - [44.05712306499481, 36.2317428596932], - [44.05688166618347, 36.23186834597142], - [44.056524932384484, 36.232138789851895], - [44.05600190162658, 36.232690492467604], - [44.05270814895629, 36.23544678369976], - [44.04938220977783, 36.23771405246898], - [44.04487609863281, 36.23965242859016], - [44.03676509857177, 36.24235222951966], - [44.02846097946167, 36.244013599127776], - [44.021809101104736, 36.24475774281345], - [44.01590824127197, 36.244965409554226], - [44.014856815338135, 36.245579753765035], - [44.013751745224, 36.24649693472683], - [44.013322591781616, 36.24751793483498], - [44.01355862617493, 36.2509355923725], - [44.01393413543701, 36.25653330595581], - [44.014577865600586, 36.26586770430287], - [44.01620864868163, 36.287179515680556], - [44.01671290397644, 36.28767029343963], - [44.01747465133667, 36.29052625606898], - [44.01664853096008, 36.290638676380816], - [44.01721715927124, 36.293034055298236], - [44.017335176467896, 36.29351831069144], - [44.01780724525452, 36.29400256307884], - [44.01890158653259, 36.29749600909685], - [44.019598960876465, 36.29884492163227], - [44.03423309326172, 36.317684024117796], - [44.03586387634277, 36.3200699280071], - [44.03517723083496, 36.32217914453544] - ] + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "30 meter st.", + "id": 1, + "coordinates": null + }, + { + "name": "Hawler Mall", + "id": 2, + "coordinates": null + }, + { + "name": "Jalil Xayat", + "id": 3, + "coordinates": null + }, + { + "name": "Hawler Medicine College", + "id": 4, + "coordinates": null + }, + { + "name": "Shorsh St.", + "id": 5, + "coordinates": null + }, + { + "name": "Raparin Hospital", + "id": 6, + "coordinates": null + }, + { + "name": "Italian Village 2", + "id": 7, + "coordinates": null + }, + { + "name": "Atconz", + "id": 8, + "coordinates": null + }, + { + "name": "Lebanon Village", + "id": 9, + "coordinates": null + }, + { + "name": "Bahrka Road", + "id": 10, + "coordinates": null + }, + { + "name": "Ganjan City", + "id": 11, + "coordinates": null + }, + { + "name": "Hasm City", + "id": 12, + "coordinates": null + }, + { + "name": "Bahrka", + "id": 13, + "coordinates": null, + "is_end": true + } + ], + "availability": "0700-1700", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.0167236328125, 36.184450494347736], + [44.01716351509094, 36.18432926175452], + [44.01900887489318, 36.18741197513219], + [44.01954531669617, 36.18942952802744], + [44.01928782463074, 36.19157690920057], + [44.0186333656311, 36.1935597209781], + [44.01789307594299, 36.19466799564251], + [44.0167772769928, 36.19564638133283], + [44.01645541191101, 36.19590612769248], + [44.01649832725525, 36.19636501082199], + [44.0175175666809, 36.19754250994351], + [44.01970624923706, 36.20013554299319], + [44.02092665433884, 36.20161167202479], + [44.02325212955475, 36.20438204432895], + [44.02667999267578, 36.208589359724535], + [44.028117656707764, 36.21027741651917], + [44.029340744018555, 36.21148067580061], + [44.03089642524719, 36.212900324829114], + [44.03266668319702, 36.21447575884317], + [44.03428673744201, 36.21599056932708], + [44.03645396232605, 36.21760056431858], + [44.03926491737366, 36.21972986164619], + [44.042547941207886, 36.22222262389892], + [44.04487609863281, 36.223988282432444], + [44.05056238174438, 36.22828108985666], + [44.05496120452881, 36.2316217003369], + [44.05659198760986, 36.232781360760356], + [44.057163298130035, 36.232857084257], + [44.057388603687286, 36.232843021327454], + [44.057604521512985, 36.23278352428986], + [44.05785530805588, 36.23264614004829], + [44.058029651641846, 36.23246115773541], + [44.05813157558441, 36.23219071496991], + [44.05808866024017, 36.2319700329802], + [44.057772159576416, 36.23172122410763], + [44.05747711658478, 36.231671462238104], + [44.05712306499481, 36.2317428596932], + [44.05688166618347, 36.23186834597142], + [44.056524932384484, 36.232138789851895], + [44.05600190162658, 36.232690492467604], + [44.05270814895629, 36.23544678369976], + [44.04938220977783, 36.23771405246898], + [44.04487609863281, 36.23965242859016], + [44.03676509857177, 36.24235222951966], + [44.02846097946167, 36.244013599127776], + [44.021809101104736, 36.24475774281345], + [44.01590824127197, 36.244965409554226], + [44.014856815338135, 36.245579753765035], + [44.013751745224, 36.24649693472683], + [44.013322591781616, 36.24751793483498], + [44.01355862617493, 36.2509355923725], + [44.01393413543701, 36.25653330595581], + [44.014577865600586, 36.26586770430287], + [44.01620864868163, 36.287179515680556], + [44.01671290397644, 36.28767029343963], + [44.01747465133667, 36.29052625606898], + [44.01664853096008, 36.290638676380816], + [44.01721715927124, 36.293034055298236], + [44.017335176467896, 36.29351831069144], + [44.01780724525452, 36.29400256307884], + [44.01890158653259, 36.29749600909685], + [44.019598960876465, 36.29884492163227], + [44.03423309326172, 36.317684024117796], + [44.03586387634277, 36.3200699280071], + [44.03517723083496, 36.32217914453544] + ] + } } - } -}, { - "name": "MamiZawa -> Down Town Front-Gate", - "way": [{ - "name": "Sarkarez", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "MamiZawa", - "id": 1, - "coordinates": null - }, { - "name": "Qatawe", - "id": 2, - "coordinates": null - }, { - "name": "Kuran Bazar", - "id": 3, - "coordinates": null - }, { - "name": "Azadi Schoole", - "id": 4, - "coordinates": null - }, { - "name": "Down Town Front-Gate", - "id": 5, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [43.96333694458008, 36.107230674892925], - [43.96576166152954, 36.11161655699079], - [43.967671394348145, 36.11499681282482], - [43.9712119102478, 36.12823908005751], - [43.97234916687012, 36.13260645842031], - [43.97301435470581, 36.134235497637846], - [43.97445201873779, 36.13612444758036], - [43.9778208732605, 36.139798238343445], - [43.98367881774902, 36.14484075592772], - [43.985652923583984, 36.14659083230876], - [43.988163471221924, 36.150627988287624], - [43.990373611450195, 36.15443970447918], - [43.99457931518555, 36.16258229562169], - [43.99672508239746, 36.16656665970523], - [43.99816274642944, 36.168272944992594], - [43.99917125701904, 36.16993588780302], - [44.00046944618225, 36.172257019809344], - [44.00147795677185, 36.1740671086241], - [44.00206804275512, 36.175097714675104], - [44.002346992492676, 36.175236282522114], - [44.002583026885986, 36.175201640583325], - [44.00437474250793, 36.174682009663776], - [44.005576372146606, 36.174396211189176], - [44.00676727294922, 36.174188357098366], - [44.01031851768494, 36.17411907227891], - [44.01054382324219, 36.1741970176965], - [44.01027560234069, 36.174733972910786], - [44.00978207588195, 36.17618892983672], - [44.009385108947754, 36.17700300109126], - [44.00891304016113, 36.17777376288804], - [44.00864481925964, 36.17828471315822], - [44.00854021310806, 36.17910309266508], - [44.00854289531708, 36.17971145919283], - [44.008601903915405, 36.1799084736749], - [44.00869309902191, 36.18005352797688], - [44.00878965854645, 36.18014662238741], - [44.0089613199234, 36.180224561808835], - [44.00924026966095, 36.18026353149047], - [44.01077449321747, 36.180287346286356], - [44.011973440647125, 36.1802851813052], - [44.01241332292557, 36.18031332605543], - [44.012214839458466, 36.180910858366516], - [44.011890292167664, 36.18258002773903], - [44.011600613594055, 36.18371010665583], - [44.011348485946655, 36.18490511490117], - [44.01123449206352, 36.1849754726082], - [44.01115134358406, 36.185030676303306] - ] + }, + { + "name": "MamiZawa -> Down Town Front-Gate", + "way": [ + { + "name": "Sarkarez", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "MamiZawa", + "id": 1, + "coordinates": null + }, + { + "name": "Qatawe", + "id": 2, + "coordinates": null + }, + { + "name": "Kuran Bazar", + "id": 3, + "coordinates": null + }, + { + "name": "Azadi Schoole", + "id": 4, + "coordinates": null + }, + { + "name": "Down Town Front-Gate", + "id": 5, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [43.96333694458008, 36.107230674892925], + [43.96576166152954, 36.11161655699079], + [43.967671394348145, 36.11499681282482], + [43.9712119102478, 36.12823908005751], + [43.97234916687012, 36.13260645842031], + [43.97301435470581, 36.134235497637846], + [43.97445201873779, 36.13612444758036], + [43.9778208732605, 36.139798238343445], + [43.98367881774902, 36.14484075592772], + [43.985652923583984, 36.14659083230876], + [43.988163471221924, 36.150627988287624], + [43.990373611450195, 36.15443970447918], + [43.99457931518555, 36.16258229562169], + [43.99672508239746, 36.16656665970523], + [43.99816274642944, 36.168272944992594], + [43.99917125701904, 36.16993588780302], + [44.00046944618225, 36.172257019809344], + [44.00147795677185, 36.1740671086241], + [44.00206804275512, 36.175097714675104], + [44.002346992492676, 36.175236282522114], + [44.002583026885986, 36.175201640583325], + [44.00437474250793, 36.174682009663776], + [44.005576372146606, 36.174396211189176], + [44.00676727294922, 36.174188357098366], + [44.01031851768494, 36.17411907227891], + [44.01054382324219, 36.1741970176965], + [44.01027560234069, 36.174733972910786], + [44.00978207588195, 36.17618892983672], + [44.009385108947754, 36.17700300109126], + [44.00891304016113, 36.17777376288804], + [44.00864481925964, 36.17828471315822], + [44.00854021310806, 36.17910309266508], + [44.00854289531708, 36.17971145919283], + [44.008601903915405, 36.1799084736749], + [44.00869309902191, 36.18005352797688], + [44.00878965854645, 36.18014662238741], + [44.0089613199234, 36.180224561808835], + [44.00924026966095, 36.18026353149047], + [44.01077449321747, 36.180287346286356], + [44.011973440647125, 36.1802851813052], + [44.01241332292557, 36.18031332605543], + [44.012214839458466, 36.180910858366516], + [44.011890292167664, 36.18258002773903], + [44.011600613594055, 36.18371010665583], + [44.011348485946655, 36.18490511490117], + [44.01123449206352, 36.1849754726082], + [44.01115134358406, 36.185030676303306] + ] + } } - } -}, { - "name": "Down Town -> Havalan", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, { - "name": "Rizagari hospital", - "id": 3, - "coordinates": null - }, { - "name": "Havbalan", - "id": 4, - "coordinates": null - }, { - "name": "Sarwaran", - "id": 5, - "coordinates": null - }, { - "name": "Minara", - "id": 6, - "coordinates": null - }, { - "name": "Chwarchra", - "id": 7, - "coordinates": null - }, { - "name": "Minara Bazar", - "id": 8, - "coordinates": null - }, { - "name": "Kamaran City", - "id": 9, - "coordinates": null - }, { - "name": "Suq Markazi Hawre", - "id": 10, - "coordinates": null - }, { - "name": "5 Hasarok", - "id": 11, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017066955566406, 36.18437255913077], - [44.017860889434814, 36.185342414086634], - [44.019169807434075, 36.18806140770216], - [44.01947021484375, 36.19000101425099], - [44.020349979400635, 36.1903820027498], - [44.026358127593994, 36.19133446588785], - [44.03575658798218, 36.192806431587904], - [44.03620719909668, 36.19271984613617], - [44.0366792678833, 36.19291033400358], - [44.04200077056885, 36.19370691461029], - [44.052386283874505, 36.195109569458914], - [44.06541109085083, 36.196806575067825], - [44.06961679458618, 36.19739532352179], - [44.06991720199585, 36.19722216267137], - [44.06998157501221, 36.196806575067825], - [44.06968116760254, 36.19644293410516], - [44.06935930252075, 36.19614855685072], - [44.069037437438965, 36.196131240507164], - [44.0686297416687, 36.196373668968405], - [44.06837224960327, 36.19753385192636], - [44.068286418914795, 36.19838233305598], - [44.06845808029175, 36.1987113334689], - [44.06886577606201, 36.198815228048886], - [44.06940221786499, 36.198676701911594], - [44.0697455406189, 36.198347701353136], - [44.070003032684326, 36.1980013834822], - [44.06983137130737, 36.19779359202429], - [44.06865119934081, 36.19746458775471], - [44.06466007232666, 36.1969797368374], - [44.05970335006714, 36.19621782218663], - [44.05762195587158, 36.19595807686101], - [44.057815074920654, 36.195542482547694], - [44.05798673629761, 36.194711287303235], - [44.058018922805786, 36.19442556190005], - [44.05474662780762, 36.19405325147695], - [44.054768085479736, 36.193940692163295], - [44.05318021774292, 36.19371557305063], - [44.053072929382324, 36.1939666674039], - [44.05167818069458, 36.19374154836589], - [44.05025124549866, 36.19356837943473], - [44.04921054840088, 36.193429844014034], - [44.04891014099121, 36.19230423463516], - [44.05290126800537, 36.192321551825074], - [44.060068130493164, 36.191905938210134], - [44.0616774559021, 36.19183666905985], - [44.061806201934814, 36.19019150873207], - [44.06094789505005, 36.186918402777444], - [44.060046672821045, 36.18310826589031], - [44.05890941619873, 36.17872637935075], - [44.0582013130188, 36.17626687319532], - [44.057278633117676, 36.172698719979536], - [44.0571928024292, 36.17261211229926], - [44.05698895454406, 36.17267273768551], - [44.05625939369202, 36.17310577479473], - [44.05631303787231, 36.17297586391322], - [44.057031869888306, 36.17241291427134], - [44.05842661857605, 36.171226376396866], - [44.059263467788696, 36.170446889183495], - [44.058802127838135, 36.16862805553478], - [44.05846953392028, 36.167432799010996], - [44.05811548233032, 36.16663595120192], - [44.05683875083923, 36.16455717965497], - [44.056766331195824, 36.16443808169871], - [44.05596971511841, 36.16477805174944], - [44.054290652275085, 36.1655597607316], - [44.05327945947647, 36.16604047540352], - [44.05079573392868, 36.16714913944237], - [44.05071794986725, 36.16705386424245], - [44.0525096654892, 36.166226697412085], - [44.05681729316711, 36.16428000595002], - [44.058330059051514, 36.16357840562916], - [44.05995011329651, 36.166653274066526], - [44.06013250350952, 36.16672256548662], - [44.06408071517944, 36.16648870669823], - [44.07556056976318, 36.16611626348364], - [44.07887578010559, 36.165934371968206], - [44.07886505126953, 36.166064294522315], - [44.07832860946655, 36.16611626348364], - [44.0787148475647, 36.170689397147356], - [44.07892942428589, 36.172698719979536], - [44.07723426818848, 36.172750684541775], - [44.07721281051635, 36.17337425660069], - [44.076032638549805, 36.173391577975934], - [44.07596826553345, 36.1728372920689], - [44.0645956993103, 36.173253006866744], - [44.063576459884644, 36.17102717484652], - [44.06241774559021, 36.16842018614435], - [44.06160235404968, 36.16671390406246], - [44.060035943984985, 36.16684382532443], - [44.06193494796753, 36.17101851389807], - [44.05745029449463, 36.17280264906953] - ] + }, + { + "name": "Down Town -> Havalan", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, + { + "name": "Rizagari hospital", + "id": 3, + "coordinates": null + }, + { + "name": "Havbalan", + "id": 4, + "coordinates": null + }, + { + "name": "Sarwaran", + "id": 5, + "coordinates": null + }, + { + "name": "Minara", + "id": 6, + "coordinates": null + }, + { + "name": "Chwarchra", + "id": 7, + "coordinates": null + }, + { + "name": "Minara Bazar", + "id": 8, + "coordinates": null + }, + { + "name": "Kamaran City", + "id": 9, + "coordinates": null + }, + { + "name": "Suq Markazi Hawre", + "id": 10, + "coordinates": null + }, + { + "name": "5 Hasarok", + "id": 11, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017066955566406, 36.18437255913077], + [44.017860889434814, 36.185342414086634], + [44.019169807434075, 36.18806140770216], + [44.01947021484375, 36.19000101425099], + [44.020349979400635, 36.1903820027498], + [44.026358127593994, 36.19133446588785], + [44.03575658798218, 36.192806431587904], + [44.03620719909668, 36.19271984613617], + [44.0366792678833, 36.19291033400358], + [44.04200077056885, 36.19370691461029], + [44.052386283874505, 36.195109569458914], + [44.06541109085083, 36.196806575067825], + [44.06961679458618, 36.19739532352179], + [44.06991720199585, 36.19722216267137], + [44.06998157501221, 36.196806575067825], + [44.06968116760254, 36.19644293410516], + [44.06935930252075, 36.19614855685072], + [44.069037437438965, 36.196131240507164], + [44.0686297416687, 36.196373668968405], + [44.06837224960327, 36.19753385192636], + [44.068286418914795, 36.19838233305598], + [44.06845808029175, 36.1987113334689], + [44.06886577606201, 36.198815228048886], + [44.06940221786499, 36.198676701911594], + [44.0697455406189, 36.198347701353136], + [44.070003032684326, 36.1980013834822], + [44.06983137130737, 36.19779359202429], + [44.06865119934081, 36.19746458775471], + [44.06466007232666, 36.1969797368374], + [44.05970335006714, 36.19621782218663], + [44.05762195587158, 36.19595807686101], + [44.057815074920654, 36.195542482547694], + [44.05798673629761, 36.194711287303235], + [44.058018922805786, 36.19442556190005], + [44.05474662780762, 36.19405325147695], + [44.054768085479736, 36.193940692163295], + [44.05318021774292, 36.19371557305063], + [44.053072929382324, 36.1939666674039], + [44.05167818069458, 36.19374154836589], + [44.05025124549866, 36.19356837943473], + [44.04921054840088, 36.193429844014034], + [44.04891014099121, 36.19230423463516], + [44.05290126800537, 36.192321551825074], + [44.060068130493164, 36.191905938210134], + [44.0616774559021, 36.19183666905985], + [44.061806201934814, 36.19019150873207], + [44.06094789505005, 36.186918402777444], + [44.060046672821045, 36.18310826589031], + [44.05890941619873, 36.17872637935075], + [44.0582013130188, 36.17626687319532], + [44.057278633117676, 36.172698719979536], + [44.0571928024292, 36.17261211229926], + [44.05698895454406, 36.17267273768551], + [44.05625939369202, 36.17310577479473], + [44.05631303787231, 36.17297586391322], + [44.057031869888306, 36.17241291427134], + [44.05842661857605, 36.171226376396866], + [44.059263467788696, 36.170446889183495], + [44.058802127838135, 36.16862805553478], + [44.05846953392028, 36.167432799010996], + [44.05811548233032, 36.16663595120192], + [44.05683875083923, 36.16455717965497], + [44.056766331195824, 36.16443808169871], + [44.05596971511841, 36.16477805174944], + [44.054290652275085, 36.1655597607316], + [44.05327945947647, 36.16604047540352], + [44.05079573392868, 36.16714913944237], + [44.05071794986725, 36.16705386424245], + [44.0525096654892, 36.166226697412085], + [44.05681729316711, 36.16428000595002], + [44.058330059051514, 36.16357840562916], + [44.05995011329651, 36.166653274066526], + [44.06013250350952, 36.16672256548662], + [44.06408071517944, 36.16648870669823], + [44.07556056976318, 36.16611626348364], + [44.07887578010559, 36.165934371968206], + [44.07886505126953, 36.166064294522315], + [44.07832860946655, 36.16611626348364], + [44.0787148475647, 36.170689397147356], + [44.07892942428589, 36.172698719979536], + [44.07723426818848, 36.172750684541775], + [44.07721281051635, 36.17337425660069], + [44.076032638549805, 36.173391577975934], + [44.07596826553345, 36.1728372920689], + [44.0645956993103, 36.173253006866744], + [44.063576459884644, 36.17102717484652], + [44.06241774559021, 36.16842018614435], + [44.06160235404968, 36.16671390406246], + [44.060035943984985, 36.16684382532443], + [44.06193494796753, 36.17101851389807], + [44.05745029449463, 36.17280264906953] + ] + } } - } -}, { - "name": "Down Town -> Setaqan, Langa", - "way": [{ - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, { - "name": "Rizgari Hospital", - "id": 3, - "coordinates": null - }, { - "name": "Langa Bazar", - "id": 4, - "coordinates": null - }, { - "name": "Mamostayan 2", - "id": 5, - "coordinates": null - }, { - "name": "Badawa", - "id": 6, - "coordinates": null - }, { - "name": "Mufti", - "id": 7, - "coordinates": null - }, { - "name": "Eskan", - "id": 8, - "coordinates": null - }, { - "name": "Garaki Ronaki", - "id": 9, - "coordinates": null - }, { - "name": "Garaki Komari", - "id": 10, - "coordinates": null - }, { - "name": "Erbil Civilization museum", - "id": 11, - "coordinates": null - }, { - "name": "Saydawa.", - "id": 12, - "coordinates": null, - "is_end": true - }], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01711523532867, 36.18413009351546], - [44.017624855041504, 36.18496573077562], - [44.01846706867218, 36.186325245920294], - [44.019083976745605, 36.18757216899977], - [44.01949167251586, 36.18892947416086], - [44.01954799890518, 36.18925418482734], - [44.01953995227814, 36.18965249473957], - [44.019499719142914, 36.190035649645644], - [44.019499719142914, 36.19008110857791], - [44.02015954256058, 36.19025861463211], - [44.02149260044098, 36.19053353175122], - [44.02274519205093, 36.19074567186058], - [44.02459055185318, 36.190994611051984], - [44.02575999498367, 36.19112882141816], - [44.026763141155236, 36.191310654450575], - [44.028179347515106, 36.19156175651552], - [44.02971088886261, 36.191804199124576], - [44.03140068054199, 36.192085604783095], - [44.03305828571319, 36.19234319830709], - [44.035332798957825, 36.19271984613617], - [44.03566002845764, 36.19275339801007], - [44.03607174754143, 36.19282050171476], - [44.037013202905655, 36.192967696736524], - [44.03800696134567, 36.19312463230053], - [44.038226902484894, 36.19314627856055], - [44.038889408111565, 36.19314411393483], - [44.039455354213715, 36.19320255880857], - [44.03997838497162, 36.19325450977084], - [44.04043972492218, 36.19308350439004], - [44.0408393740654, 36.19287786451348], - [44.04130071401596, 36.19262243738853], - [44.04148042201996, 36.192341033659154], - [44.04148578643799, 36.192079110817765], - [44.04139995574951, 36.19168081324769], - [44.04137045145035, 36.19136910069278], - [44.04123902320862, 36.19091668234673], - [44.040831327438354, 36.18967630668102], - [44.04023051261902, 36.18746825950138], - [44.03977453708649, 36.18555023858626], - [44.03912007808685, 36.18281383850769], - [44.03868556022644, 36.18101261160303], - [44.03824567794799, 36.1790078319981], - [44.038057923316956, 36.17813749054076], - [44.037843346595764, 36.1764920424624], - [44.03773605823517, 36.174500138027824], - [44.03765559196472, 36.173395908319144], - [44.03761804103851, 36.17233280187821], - [44.037419557571404, 36.17045988070058], - [44.037054777145386, 36.169108751388514], - [44.03627693653107, 36.167519412415146], - [44.03539180755615, 36.16625051647429], - [44.03428673744201, 36.164886322156676], - [44.03302609920502, 36.16314531587685], - [44.03250575065613, 36.16252599337376], - [44.03192102909088, 36.16209722877464], - [44.03169840574264, 36.16204958811886], - [44.03147041797638, 36.162157862294656], - [44.03076767921448, 36.162790180494476], - [44.029850363731384, 36.16367801593374], - [44.02912348508835, 36.16447705923161], - [44.02876138687134, 36.164864668087205], - [44.028447568416595, 36.16537137174527], - [44.028227627277374, 36.16571025505626], - [44.02795806527138, 36.16600691208746], - [44.027575850486755, 36.16643348993804], - [44.027182906866074, 36.16685898279097], - [44.02666255831718, 36.16742305499704], - [44.026249498128884, 36.16786694773677], - [44.0256741642952, 36.16848189742718], - [44.025192707777016, 36.169012395924355], - [44.024703204631805, 36.169540725552665], - [44.0241613984108, 36.17015349684906], - [44.02367055416107, 36.170720793212816], - [44.02312070131302, 36.171328142210896], - [44.022739827632904, 36.17183372147668], - [44.02249172329903, 36.17221696354331], - [44.02203172445297, 36.17290549542915], - [44.02159854769707, 36.17353339659175], - [44.021279364824295, 36.1739891630773], - [44.021027237176895, 36.1743474954361], - [44.020722806453705, 36.17477078018993], - [44.02018368244171, 36.17550042680167], - [44.01953458786011, 36.17636646737403], - [44.01950776576996, 36.17639786116499], - [44.01955336332321, 36.1764974551772], - [44.019499719142914, 36.17663710308982], - [44.01933073997497, 36.17669772536199], - [44.01919662952423, 36.17683737291767], - [44.01910275220871, 36.176914233094045], - [44.018943160772324, 36.177018156592936], - [44.0185421705246, 36.17738513534553], - [44.01620328426361, 36.179484134174785], - [44.015350341796875, 36.18023322173974], - [44.014347195625305, 36.18112951941374], - [44.01416480541229, 36.18130704575565], - [44.01493459939957, 36.18185261199583], - [44.01566416025161, 36.18245879225089], - [44.01644468307495, 36.18326197386364], - [44.01685506105423, 36.18378154787854], - [44.01710953563451, 36.18412901107801] - ] + }, + { + "name": "Down Town -> Setaqan, Langa", + "way": [ + { + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, + { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, + { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, + { + "name": "Rizgari Hospital", + "id": 3, + "coordinates": null + }, + { + "name": "Langa Bazar", + "id": 4, + "coordinates": null + }, + { + "name": "Mamostayan 2", + "id": 5, + "coordinates": null + }, + { + "name": "Badawa", + "id": 6, + "coordinates": null + }, + { + "name": "Mufti", + "id": 7, + "coordinates": null + }, + { + "name": "Eskan", + "id": 8, + "coordinates": null + }, + { + "name": "Garaki Ronaki", + "id": 9, + "coordinates": null + }, + { + "name": "Garaki Komari", + "id": 10, + "coordinates": null + }, + { + "name": "Erbil Civilization museum", + "id": 11, + "coordinates": null + }, + { + "name": "Saydawa.", + "id": 12, + "coordinates": null, + "is_end": true + } + ], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01711523532867, 36.18413009351546], + [44.017624855041504, 36.18496573077562], + [44.01846706867218, 36.186325245920294], + [44.019083976745605, 36.18757216899977], + [44.01949167251586, 36.18892947416086], + [44.01954799890518, 36.18925418482734], + [44.01953995227814, 36.18965249473957], + [44.019499719142914, 36.190035649645644], + [44.019499719142914, 36.19008110857791], + [44.02015954256058, 36.19025861463211], + [44.02149260044098, 36.19053353175122], + [44.02274519205093, 36.19074567186058], + [44.02459055185318, 36.190994611051984], + [44.02575999498367, 36.19112882141816], + [44.026763141155236, 36.191310654450575], + [44.028179347515106, 36.19156175651552], + [44.02971088886261, 36.191804199124576], + [44.03140068054199, 36.192085604783095], + [44.03305828571319, 36.19234319830709], + [44.035332798957825, 36.19271984613617], + [44.03566002845764, 36.19275339801007], + [44.03607174754143, 36.19282050171476], + [44.037013202905655, 36.192967696736524], + [44.03800696134567, 36.19312463230053], + [44.038226902484894, 36.19314627856055], + [44.038889408111565, 36.19314411393483], + [44.039455354213715, 36.19320255880857], + [44.03997838497162, 36.19325450977084], + [44.04043972492218, 36.19308350439004], + [44.0408393740654, 36.19287786451348], + [44.04130071401596, 36.19262243738853], + [44.04148042201996, 36.192341033659154], + [44.04148578643799, 36.192079110817765], + [44.04139995574951, 36.19168081324769], + [44.04137045145035, 36.19136910069278], + [44.04123902320862, 36.19091668234673], + [44.040831327438354, 36.18967630668102], + [44.04023051261902, 36.18746825950138], + [44.03977453708649, 36.18555023858626], + [44.03912007808685, 36.18281383850769], + [44.03868556022644, 36.18101261160303], + [44.03824567794799, 36.1790078319981], + [44.038057923316956, 36.17813749054076], + [44.037843346595764, 36.1764920424624], + [44.03773605823517, 36.174500138027824], + [44.03765559196472, 36.173395908319144], + [44.03761804103851, 36.17233280187821], + [44.037419557571404, 36.17045988070058], + [44.037054777145386, 36.169108751388514], + [44.03627693653107, 36.167519412415146], + [44.03539180755615, 36.16625051647429], + [44.03428673744201, 36.164886322156676], + [44.03302609920502, 36.16314531587685], + [44.03250575065613, 36.16252599337376], + [44.03192102909088, 36.16209722877464], + [44.03169840574264, 36.16204958811886], + [44.03147041797638, 36.162157862294656], + [44.03076767921448, 36.162790180494476], + [44.029850363731384, 36.16367801593374], + [44.02912348508835, 36.16447705923161], + [44.02876138687134, 36.164864668087205], + [44.028447568416595, 36.16537137174527], + [44.028227627277374, 36.16571025505626], + [44.02795806527138, 36.16600691208746], + [44.027575850486755, 36.16643348993804], + [44.027182906866074, 36.16685898279097], + [44.02666255831718, 36.16742305499704], + [44.026249498128884, 36.16786694773677], + [44.0256741642952, 36.16848189742718], + [44.025192707777016, 36.169012395924355], + [44.024703204631805, 36.169540725552665], + [44.0241613984108, 36.17015349684906], + [44.02367055416107, 36.170720793212816], + [44.02312070131302, 36.171328142210896], + [44.022739827632904, 36.17183372147668], + [44.02249172329903, 36.17221696354331], + [44.02203172445297, 36.17290549542915], + [44.02159854769707, 36.17353339659175], + [44.021279364824295, 36.1739891630773], + [44.021027237176895, 36.1743474954361], + [44.020722806453705, 36.17477078018993], + [44.02018368244171, 36.17550042680167], + [44.01953458786011, 36.17636646737403], + [44.01950776576996, 36.17639786116499], + [44.01955336332321, 36.1764974551772], + [44.019499719142914, 36.17663710308982], + [44.01933073997497, 36.17669772536199], + [44.01919662952423, 36.17683737291767], + [44.01910275220871, 36.176914233094045], + [44.018943160772324, 36.177018156592936], + [44.0185421705246, 36.17738513534553], + [44.01620328426361, 36.179484134174785], + [44.015350341796875, 36.18023322173974], + [44.014347195625305, 36.18112951941374], + [44.01416480541229, 36.18130704575565], + [44.01493459939957, 36.18185261199583], + [44.01566416025161, 36.18245879225089], + [44.01644468307495, 36.18326197386364], + [44.01685506105423, 36.18378154787854], + [44.01710953563451, 36.18412901107801] + ] + } } } -}] \ No newline at end of file +] diff --git a/src/pages/routedetails.js b/src/pages/routedetails.js index 1584f83..711c71e 100644 --- a/src/pages/routedetails.js +++ b/src/pages/routedetails.js @@ -2,7 +2,7 @@ import React, { useState, useRef, useEffect } from 'react'; import ReactMapGL, { Source, Layer } from 'react-map-gl'; import BusInfoContainer from '../components/BusInfoContainer'; import { useParams } from 'react-router-dom'; -import { routesRef } from '../api/firebase'; +import { routesRef, bussesRef } from '../api/firebase'; import pointMark from '../assets/point-marker.png'; import destMark from '../assets/destination-marker.png'; @@ -22,46 +22,76 @@ export default function Routedetails() { .get() .then((document) => { const route = document.data(); - route.path = - //JSON.parse(route.path); - { - type: 'FeatureCollection', - features: [ - { - type: 'Feature', - properties: {}, - geometry: { - type: 'LineString', - coordinates: [ - [44.00972843170166, 36.210035031115694], - [44.00852680206299, 36.19753385192636], - [44.01170253753662, 36.19043395558332], - [44.01994228363037, 36.18936025668664], - [44.01994228363037, 36.20044289180151], - [44.01547908782959, 36.20106624342554], - [44.014620780944824, 36.19878059653753], - ], - }, - }, - { - type: 'start', - properties: {}, - geometry: { - type: 'Point', - coordinates: [44.014577865600586, 36.198745965010886], - }, - }, - { - type: 'end', - properties: {}, - geometry: { - type: 'Point', - coordinates: [44.0097713470459, 36.21000040456822], - }, - }, - ], - }; - setRoute(route); + const path = JSON.parse(route.path); + const coordinates = path.geometry.coordinates; + const start = { + type: 'Feature', + properties: { type: 'start' }, + geometry: { + type: 'Point', + coordinates: coordinates[0], + }, + }; + const end = { + type: 'Feature', + properties: { type: 'end' }, + geometry: { + type: 'Point', + coordinates: coordinates[coordinates.length - 1], + }, + }; + route.path = { + type: 'FeatureCollection', + features: [path, start, end], + }; + // route.path = + // { + // type: 'FeatureCollection', + // features: [ + // { + // type: 'Feature', + // properties: {}, + // geometry: { + // type: 'LineString', + // coordinates: [ + // [44.00972843170166, 36.210035031115694], + // [44.00852680206299, 36.19753385192636], + // [44.01170253753662, 36.19043395558332], + // [44.01994228363037, 36.18936025668664], + // [44.01994228363037, 36.20044289180151], + // [44.01547908782959, 36.20106624342554], + // [44.014620780944824, 36.19878059653753], + // ], + // }, + // }, + // { + // type: 'Feature', + // properties: { type: 'start' }, + // geometry: { + // type: 'Point', + // coordinates: [44.014577865600586, 36.198745965010886], + // }, + // }, + // { + // type: 'Feature', + // properties: { type: 'end' }, + // geometry: { + // type: 'Point', + // coordinates: [44.0097713470459, 36.21000040456822], + // }, + // }, + // ], + // }; + bussesRef + .where('route_id', '==', id) + .limit(1) + .get() + .then((document) => { + const bus = document.docs[0].data(); + route.bus = bus; + console.log(JSON.stringify(route)); + setRoute(route); + }); }); }, []); const _mapRef = useRef(); @@ -109,6 +139,7 @@ export default function Routedetails() { )} */} {/* Show Route */} + {route && ( )} {route && ( -
- +
+
)}
From a30cda9b583bc4b22281a9533d9639e10164ab9a Mon Sep 17 00:00:00 2001 From: Wisam Naji Date: Mon, 24 Aug 2020 14:14:48 +0300 Subject: [PATCH 6/9] fixed routes --- src/App.js | 5 ++--- src/pages/route.js | 4 ---- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 src/pages/route.js diff --git a/src/App.js b/src/App.js index 9182783..161b98f 100644 --- a/src/App.js +++ b/src/App.js @@ -7,7 +7,7 @@ import about from './pages/about'; import favorite from './pages/favorite'; import history from './pages/history'; import { AuthProvider } from './providers/AuthProvider'; -import routedetails from './pages/routedetails'; +import route from './pages/routedetails'; function App() { return ( @@ -18,7 +18,6 @@ function App() { {/* */} -
} />
} />
} /> - + diff --git a/src/pages/route.js b/src/pages/route.js deleted file mode 100644 index 0fb7d61..0000000 --- a/src/pages/route.js +++ /dev/null @@ -1,4 +0,0 @@ -import React from 'react'; -export default function route() { - return
@todo return route details page
; -} From bf15fc2f539adbe9d528abe5f7af63e8e8d6bf82 Mon Sep 17 00:00:00 2001 From: Wisam Naji Date: Mon, 24 Aug 2020 14:15:27 +0300 Subject: [PATCH 7/9] renamed page --- src/App.js | 2 +- src/pages/{routedetails.js => route.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/{routedetails.js => route.js} (100%) diff --git a/src/App.js b/src/App.js index 161b98f..7ac13f8 100644 --- a/src/App.js +++ b/src/App.js @@ -7,7 +7,7 @@ import about from './pages/about'; import favorite from './pages/favorite'; import history from './pages/history'; import { AuthProvider } from './providers/AuthProvider'; -import route from './pages/routedetails'; +import route from './pages/route'; function App() { return ( diff --git a/src/pages/routedetails.js b/src/pages/route.js similarity index 100% rename from src/pages/routedetails.js rename to src/pages/route.js From 162c8c6189022ada7ac571e715b699987c128abc Mon Sep 17 00:00:00 2001 From: Wisam Naji Date: Mon, 24 Aug 2020 14:15:54 +0300 Subject: [PATCH 8/9] reverted irrelevent changes --- src/data/RouteList.json | 318 ++-- src/data/routes.json | 3281 +++++++++++++++++++-------------------- 2 files changed, 1706 insertions(+), 1893 deletions(-) diff --git a/src/data/RouteList.json b/src/data/RouteList.json index d963205..19ca66b 100644 --- a/src/data/RouteList.json +++ b/src/data/RouteList.json @@ -1,9 +1,7 @@ -[ - { +[{ "id": 0, "name": "100 Meter St.", - "way": [ - { + "way": [{ "id": 0, "isStart": true, "name": "32 peak" @@ -33,39 +31,34 @@ "time": "2:00 AM - 2:00 PM", "path": { "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01165962219238, 36.20376737643796], - [44.0167236328125, 36.20279774967046], - [44.023332595825195, 36.19909227958814], - [44.0262508392334, 36.19161154389828], - [44.026336669921875, 36.18496140107185], - [44.023933410644524, 36.18056229840559], - [44.01852607727051, 36.17619759021374], - [44.00299072265625, 36.174188357098366], - [43.99960041046142, 36.17605902406675] - ] - } + "features": [{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01165962219238, 36.20376737643796], + [44.0167236328125, 36.20279774967046], + [44.023332595825195, 36.19909227958814], + [44.0262508392334, 36.19161154389828], + [44.026336669921875, 36.18496140107185], + [44.023933410644524, 36.18056229840559], + [44.01852607727051, 36.17619759021374], + [44.00299072265625, 36.174188357098366], + [43.99960041046142, 36.17605902406675] + ] } - ] + }] }, - "availableBuses": [ - { - "id": 0, - "busNumber": "1234iraq-erbil" - } - ] + "availableBuses": [{ + "id": 0, + "busNumber": "1234iraq-erbil" + }] }, { "id": 1, "name": "60 Meter St.", - "way": [ - { + "way": [{ "id": 0, "isStart": true, "name": "32 peak" @@ -95,46 +88,41 @@ "time": "1:00 AM - 1:00 PM", "path": { "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.0031623840332, 36.18755918032003], - [44.00075912475586, 36.18811336207514], - [43.99904251098633, 36.19074567186058], - [43.99904251098633, 36.19351642868068], - [44.00075912475586, 36.19601002599509], - [44.00299072265625, 36.19760311603671], - [44.00891304016113, 36.198434280581516], - [44.015607833862305, 36.19725679487209], - [44.01783943176269, 36.19476323726451], - [44.01989936828613, 36.191230561381204], - [44.01869773864746, 36.186035160274244], - [44.01595115661621, 36.182432813193316], - [44.01002883911133, 36.18021590187694], - [44.00642395019531, 36.18208642493563], - [44.00290489196777, 36.18638153107045], - [44.00350570678711, 36.18742063426855] - ] - } + "features": [{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.0031623840332, 36.18755918032003], + [44.00075912475586, 36.18811336207514], + [43.99904251098633, 36.19074567186058], + [43.99904251098633, 36.19351642868068], + [44.00075912475586, 36.19601002599509], + [44.00299072265625, 36.19760311603671], + [44.00891304016113, 36.198434280581516], + [44.015607833862305, 36.19725679487209], + [44.01783943176269, 36.19476323726451], + [44.01989936828613, 36.191230561381204], + [44.01869773864746, 36.186035160274244], + [44.01595115661621, 36.182432813193316], + [44.01002883911133, 36.18021590187694], + [44.00642395019531, 36.18208642493563], + [44.00290489196777, 36.18638153107045], + [44.00350570678711, 36.18742063426855] + ] } - ] + }] }, - "availableBuses": [ - { - "id": 1, - "busNumber": "1234iraq-duhok" - } - ] + "availableBuses": [{ + "id": 1, + "busNumber": "1234iraq-duhok" + }] }, { "id": 2, "name": "30 Meter St.", - "way": [ - { + "way": [{ "id": 0, "isStart": true, "name": "32 peak" @@ -164,49 +152,44 @@ "time": "5:00 AM - 5:00 PM", "path": { "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01200294494629, 36.19143837025664], - [44.011831283569336, 36.192338869011174], - [44.0126895904541, 36.19296228515972], - [44.01449203491211, 36.194416903538226], - [44.01869773864746, 36.199473223853715], - [44.02067184448242, 36.200996982379074], - [44.014835357666016, 36.20314404632341], - [44.009342193603516, 36.20349034144432], - [44.0101146697998, 36.20626064725774], - [44.01071548461914, 36.21630218384659], - [44.01174545288086, 36.22765795501122], - [44.01294708251953, 36.243996293376384], - [44.01569366455078, 36.279568822374095], - [44.01577949523926, 36.28628010878037], - [44.01801109313964, 36.28849401481101], - [44.02298927307129, 36.28973930935084], - [44.029083251953125, 36.289255030502474], - [44.04067039489746, 36.28759462306131], - [44.041099548339844, 36.2875254386512] - ] - } + "features": [{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01200294494629, 36.19143837025664], + [44.011831283569336, 36.192338869011174], + [44.0126895904541, 36.19296228515972], + [44.01449203491211, 36.194416903538226], + [44.01869773864746, 36.199473223853715], + [44.02067184448242, 36.200996982379074], + [44.014835357666016, 36.20314404632341], + [44.009342193603516, 36.20349034144432], + [44.0101146697998, 36.20626064725774], + [44.01071548461914, 36.21630218384659], + [44.01174545288086, 36.22765795501122], + [44.01294708251953, 36.243996293376384], + [44.01569366455078, 36.279568822374095], + [44.01577949523926, 36.28628010878037], + [44.01801109313964, 36.28849401481101], + [44.02298927307129, 36.28973930935084], + [44.029083251953125, 36.289255030502474], + [44.04067039489746, 36.28759462306131], + [44.041099548339844, 36.2875254386512] + ] } - ] + }] }, - "availableBuses": [ - { - "id": 2, - "busNumber": "1234iraq-suli" - } - ] + "availableBuses": [{ + "id": 2, + "busNumber": "1234iraq-suli" + }] }, { "id": 3, "name": "40 Meter St.", - "way": [ - { + "way": [{ "id": 0, "isStart": true, "name": "32 peak" @@ -236,42 +219,37 @@ "time": "3:00 AM - 3:00 PM", "path": { "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.019126892089844, 36.18970661277785], - [44.025306701660156, 36.19136910069278], - [44.03852462768555, 36.19317008943965], - [44.052085876464844, 36.195248101907744], - [44.086074829101555, 36.200096583198935], - [44.130191802978516, 36.20674544069406], - [44.153194427490234, 36.211177698587676], - [44.16074752807617, 36.21436322889413], - [44.16933059692383, 36.21616368865783], - [44.18169021606445, 36.21754862951341], - [44.196624755859375, 36.22114936100031], - [44.203834533691406, 36.21934901597362] - ] - } + "features": [{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.019126892089844, 36.18970661277785], + [44.025306701660156, 36.19136910069278], + [44.03852462768555, 36.19317008943965], + [44.052085876464844, 36.195248101907744], + [44.086074829101555, 36.200096583198935], + [44.130191802978516, 36.20674544069406], + [44.153194427490234, 36.211177698587676], + [44.16074752807617, 36.21436322889413], + [44.16933059692383, 36.21616368865783], + [44.18169021606445, 36.21754862951341], + [44.196624755859375, 36.22114936100031], + [44.203834533691406, 36.21934901597362] + ] } - ] + }] }, - "availableBuses": [ - { - "id": 3, - "busNumber": "1234iraq-hawler" - } - ] + "availableBuses": [{ + "id": 3, + "busNumber": "1234iraq-hawler" + }] }, { "id": 4, "name": "120 Meter St.", - "way": [ - { + "way": [{ "id": 0, "isStart": true, "name": "32 peak" @@ -301,46 +279,42 @@ "time": "4:00 AM - 4:00 PM", "path": { "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01972770690918, 36.19033004988186], - [44.01715278625488, 36.18354124532501], - [44.01329040527344, 36.18070085658819], - [44.01226043701171, 36.18021590187694], - [44.013376235961914, 36.173772647262695], - [44.01655197143555, 36.159983688197705], - [44.01895523071289, 36.14896463588831], - [44.02118682861328, 36.140300771818495], - [44.02324676513672, 36.12823908005751], - [44.02376174926757, 36.118810260119545], - [44.02144432067871, 36.107091986879624], - [44.020843505859375, 36.10064272384701], - [44.021100997924805, 36.09599615249214], - [44.02942657470703, 36.07768460014911], - [44.03766632080078, 36.0618666453036], - [44.036293029785156, 36.04437994215496], - [44.03800964355469, 36.011894330530374], - [44.03972625732421, 36.00633989397899], - [44.039855003356934, 36.00456933507765], - [44.03401851654053, 36.00408329234553], - [44.03316020965576, 36.00408329234553], - [44.031658172607415, 36.01005446676931], - [44.03071403503418, 36.01522680460955] - ] - } + "features": [{ + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01972770690918, 36.19033004988186], + [44.01715278625488, 36.18354124532501], + [44.01329040527344, 36.18070085658819], + [44.01226043701171, 36.18021590187694], + [44.013376235961914, 36.173772647262695], + [44.01655197143555, 36.159983688197705], + [44.01895523071289, 36.14896463588831], + [44.02118682861328, 36.140300771818495], + [44.02324676513672, 36.12823908005751], + [44.02376174926757, 36.118810260119545], + [44.02144432067871, 36.107091986879624], + [44.020843505859375, 36.10064272384701], + [44.021100997924805, 36.09599615249214], + [44.02942657470703, 36.07768460014911], + [44.03766632080078, 36.0618666453036], + [44.036293029785156, 36.04437994215496], + [44.03800964355469, 36.011894330530374], + [44.03972625732421, 36.00633989397899], + [44.039855003356934, 36.00456933507765], + [44.03401851654053, 36.00408329234553], + [44.03316020965576, 36.00408329234553], + [44.031658172607415, 36.01005446676931], + [44.03071403503418, 36.01522680460955] + ] } - ] + }] }, - "availableBuses": [ - { - "id": 4, - "busNumber": "1234iraq-akree" - } - ] + "availableBuses": [{ + "id": 4, + "busNumber": "1234iraq-akree" + }] } -] +] \ No newline at end of file diff --git a/src/data/routes.json b/src/data/routes.json index 51d8265..e4e7c89 100644 --- a/src/data/routes.json +++ b/src/data/routes.json @@ -1,1735 +1,1574 @@ -[ - { - "name": "40 meter st.", - "way": [ - { - "name": "Mufti", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Mamostayan", - "id": 1, - "coordinates": null - }, - { - "name": "Xabat", - "id": 2, - "coordinates": null - }, - { - "name": "Lnaga", - "id": 3, - "coordinates": null - }, - { - "name": "Rizgari Hospital", - "id": 4, - "coordinates": null - }, - { - "name": "Brayati st.", - "id": 5, - "coordinates": null - }, - { - "name": "Raparin", - "id": 6, - "coordinates": null - }, - { - "name": "Kwestan", - "id": 7, - "coordinates": null - }, - { - "name": "Kani QR", - "id": 8, - "coordinates": null - }, - { - "name": "Nusaran", - "id": 9, - "coordinates": null - }, - { - "name": "Baxtyari", - "id": 10, - "coordinates": null - }, - { - "name": "Sami Abdulrahman", - "id": 11, - "coordinates": null - }, - { - "name": "Nishtiman Rizgari", - "id": 12, - "coordinates": null - }, - { - "name": "Kuran", - "id": 13, - "coordinates": null - }, - { - "name": "AZADI", - "id": 14, - "coordinates": null - }, - { - "name": "Ronaki", - "id": 15, - "coordinates": null, - "is_end": true - } - ], - "availability": "0630-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.02822494506836, 36.16563121850451], - [44.0311861038208, 36.16564854159117], - [44.03189420700073, 36.165925710456946], - [44.03288125991821, 36.16734618551112], - [44.03427600860596, 36.16900914798529], - [44.03646469116211, 36.171893264858596], - [44.036625623703, 36.17257746920034], - [44.036561250686646, 36.1740844298462], - [44.036550521850586, 36.17679515391545], - [44.036421775817864, 36.18054497861556], - [44.036357402801514, 36.18518654535006], - [44.03627157211303, 36.18915244229668], - [44.03621792793274, 36.19264191914776], - [44.03640568256378, 36.19286271208017], - [44.03636813163757, 36.193066187368615], - [44.03620719909668, 36.19321338192853], - [44.03618574142456, 36.194243736100624], - [44.03614819049835, 36.196170202274786], - [44.0361213684082, 36.19826112202904], - [44.036051630973816, 36.20137791737618], - [44.03596043586731, 36.20485386359033], - [44.03588533401489, 36.20861100170874], - [44.03599798679352, 36.20871055475894], - [44.03599262237549, 36.20883824218145], - [44.03587728738785, 36.208890182768286], - [44.03588533401489, 36.21018652208086], - [44.035837054252625, 36.21241124133416], - [44.03573513031006, 36.21476573911984], - [44.03569221496582, 36.21705524714484], - [44.036180377006524, 36.217440431891916], - [44.03649687767029, 36.21764817119303], - [44.03643786907196, 36.21776502430751], - [44.03636276721954, 36.217786663753984], - [44.0361213684082, 36.217635187502886], - [44.035332798957825, 36.21702927956556], - [44.03425455093384, 36.21621995235784], - [44.033079743385315, 36.21521585562938], - [44.03229117393494, 36.21451038341033], - [44.03218924999237, 36.21448874305764], - [44.03167426586151, 36.21485662823907], - [44.030553102493286, 36.215618361468835], - [44.0290242433548, 36.21673497973142], - [44.02824103832245, 36.21733223412078], - [44.0274041891098, 36.21787322148008], - [44.0259450674057, 36.218487778581576], - [44.02424991130829, 36.21923216522511], - [44.02375102043152, 36.21945937485362], - [44.02296245098114, 36.219664944901275], - [44.021106362342834, 36.21991162824536], - [44.01695966720581, 36.220093394422214], - [44.01264667510986, 36.219504816700145], - [44.010597467422485, 36.219089347406566], - [44.00247573852539, 36.21650992617009], - [43.99853825569153, 36.21514227906928], - [43.99532496929169, 36.214146824691106], - [43.9954000711441, 36.213874154543085], - [43.99593651294708, 36.21298688796114], - [43.99712204933166, 36.21086606365913], - [43.99850606918335, 36.207766959890314], - [43.998860120773315, 36.20697052234019], - [43.99762630462646, 36.206602600082924], - [43.99243354797363, 36.2050226789655], - [43.990110754966736, 36.20428248577281], - [43.987112045288086, 36.20637318885881], - [43.98549199104309, 36.20751590979816], - [43.985148668289185, 36.2075245667113], - [43.98344278335571, 36.20531702285126], - [43.98243427276611, 36.20351631351661], - [43.98053526878357, 36.20049483795976], - [43.978614807128906, 36.19726545291988], - [43.97552490234375, 36.19093616453032], - [43.97458076477051, 36.18761113502616], - [43.97428035736083, 36.185342414086634], - [43.97453784942627, 36.18362784092477], - [43.975160121917725, 36.18241549381681], - [43.97708058357238, 36.18001672317941], - [43.979215621948235, 36.178449255756256], - [43.98210167884827, 36.17618892983672], - [43.98427963256836, 36.1745867436214], - [43.98550808429718, 36.17361242517472], - [43.987927436828606, 36.17180232585708], - [43.988882303237915, 36.17115708895852], - [43.98957431316376, 36.17067207517483], - [43.990373611450195, 36.169922896199054], - [43.99126142263412, 36.16901564386328], - [43.99178981781006, 36.16862155962466], - [43.99271786212921, 36.16796113928748], - [43.994112610816956, 36.166969415672966], - [43.9949870109558, 36.16633496581832], - [43.995856046676636, 36.165704841596344], - [43.996092081069946, 36.165509956790736], - [43.994643688201904, 36.1628984536474], - [43.99346351623535, 36.16066366546099], - [43.992154598236084, 36.158303209536264], - [43.99144113063812, 36.15695620192244], - [43.99159133434296, 36.15683492678953], - [43.991779088974, 36.15697785817642], - [43.99226725101471, 36.1579827017841], - [43.99356544017792, 36.1603518294864], - [43.99479389190674, 36.16263859782916], - [43.99578630924225, 36.164409931246254], - [43.99748682975769, 36.16377329523707], - [43.99978816509247, 36.16296774838677], - [44.00257766246796, 36.16199328548835], - [44.00519549846649, 36.16104479663434], - [44.00590360164642, 36.160784934671675], - [44.00673508644104, 36.160598699735225], - [44.00780797004699, 36.16071563800283], - [44.00978744029999, 36.16106645175902], - [44.01027828454971, 36.161176892801834], - [44.01152819395065, 36.16122669949571], - [44.012351632118225, 36.16125485109131], - [44.01424527168274, 36.161434587963306], - [44.01617646217346, 36.16157317996876], - [44.0162381529808, 36.16157967646301], - [44.016348123550415, 36.161062120734556], - [44.01654124259948, 36.160174255668856], - [44.01668071746826, 36.15936867183562], - [44.01666462421417, 36.15874931949683], - [44.01675045490265, 36.158142955823955], - [44.016932845115655, 36.15709913308827], - [44.017088413238525, 36.15661836358564], - [44.01704415678977, 36.15658587905348], - [44.01699855923653, 36.156475431543406], - [44.01700124144554, 36.15637797772889], - [44.017083048820496, 36.156269695570664], - [44.01722252368927, 36.156203643380735], - [44.01740625500678, 36.15620147773421], - [44.01750683784485, 36.15624803912107], - [44.017581939697266, 36.15631192563015], - [44.01763558387756, 36.15642887029158], - [44.017624855041504, 36.1565328209553], - [44.017561823129654, 36.15661294949789], - [44.017471969127655, 36.15667575289291], - [44.01747331023216, 36.156754798473806], - [44.01735663414001, 36.157365504111155], - [44.01724934577942, 36.15795671461163], - [44.01708573102951, 36.15869951122907], - [44.01691138744354, 36.15927988386372], - [44.01679873466492, 36.159652359559836], - [44.016702175140374, 36.16006814429322], - [44.01636958122253, 36.16169877876208], - [44.015859961509705, 36.16417606555799], - [44.015704393386834, 36.16488199134325], - [44.01627033948898, 36.164894983782794], - [44.01717692613602, 36.16492963027768], - [44.01845633983612, 36.164998923221546], - [44.020650386810296, 36.165120185725904], - [44.02205049991607, 36.165172155313186], - [44.02397364377975, 36.165265267404266], - [44.02565270662308, 36.16533672544564], - [44.02821555733681, 36.16545257395007], - [44.02849316596985, 36.16489281837636], - [44.02881234884262, 36.16453769091089], - [44.029182493686676, 36.164115433598994], - [44.02961701154709, 36.163662857852074], - [44.02975112199783, 36.163530765873524], - [44.02990132570267, 36.16359139828477], - [44.029818177223206, 36.16372349016114], - [44.02933269739151, 36.16425618628903], - [44.02875602245331, 36.16487766052959], - [44.02850925922394, 36.165293417549556], - [44.02828931808472, 36.165611730027436], - [44.028287306427956, 36.165628511771864] - ] - } +[{ + "name": "40 meter st.", + "way": [{ + "name": "Mufti", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Mamostayan", + "id": 1, + "coordinates": null + }, { + "name": "Xabat", + "id": 2, + "coordinates": null + }, { + "name": "Lnaga", + "id": 3, + "coordinates": null + }, { + "name": "Rizgari Hospital", + "id": 4, + "coordinates": null + }, { + "name": "Brayati st.", + "id": 5, + "coordinates": null + }, { + "name": "Raparin", + "id": 6, + "coordinates": null + }, { + "name": "Kwestan", + "id": 7, + "coordinates": null + }, { + "name": "Kani QR", + "id": 8, + "coordinates": null + }, { + "name": "Nusaran", + "id": 9, + "coordinates": null + }, { + "name": "Baxtyari", + "id": 10, + "coordinates": null + }, { + "name": "Sami Abdulrahman", + "id": 11, + "coordinates": null + }, { + "name": "Nishtiman Rizgari", + "id": 12, + "coordinates": null + }, { + "name": "Kuran", + "id": 13, + "coordinates": null + }, { + "name": "AZADI", + "id": 14, + "coordinates": null + }, { + "name": "Ronaki", + "id": 15, + "coordinates": null, + "is_end": true + }], + "availability": "0630-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.02822494506836, 36.16563121850451], + [44.0311861038208, 36.16564854159117], + [44.03189420700073, 36.165925710456946], + [44.03288125991821, 36.16734618551112], + [44.03427600860596, 36.16900914798529], + [44.03646469116211, 36.171893264858596], + [44.036625623703, 36.17257746920034], + [44.036561250686646, 36.1740844298462], + [44.036550521850586, 36.17679515391545], + [44.036421775817864, 36.18054497861556], + [44.036357402801514, 36.18518654535006], + [44.03627157211303, 36.18915244229668], + [44.03621792793274, 36.19264191914776], + [44.03640568256378, 36.19286271208017], + [44.03636813163757, 36.193066187368615], + [44.03620719909668, 36.19321338192853], + [44.03618574142456, 36.194243736100624], + [44.03614819049835, 36.196170202274786], + [44.0361213684082, 36.19826112202904], + [44.036051630973816, 36.20137791737618], + [44.03596043586731, 36.20485386359033], + [44.03588533401489, 36.20861100170874], + [44.03599798679352, 36.20871055475894], + [44.03599262237549, 36.20883824218145], + [44.03587728738785, 36.208890182768286], + [44.03588533401489, 36.21018652208086], + [44.035837054252625, 36.21241124133416], + [44.03573513031006, 36.21476573911984], + [44.03569221496582, 36.21705524714484], + [44.036180377006524, 36.217440431891916], + [44.03649687767029, 36.21764817119303], + [44.03643786907196, 36.21776502430751], + [44.03636276721954, 36.217786663753984], + [44.0361213684082, 36.217635187502886], + [44.035332798957825, 36.21702927956556], + [44.03425455093384, 36.21621995235784], + [44.033079743385315, 36.21521585562938], + [44.03229117393494, 36.21451038341033], + [44.03218924999237, 36.21448874305764], + [44.03167426586151, 36.21485662823907], + [44.030553102493286, 36.215618361468835], + [44.0290242433548, 36.21673497973142], + [44.02824103832245, 36.21733223412078], + [44.0274041891098, 36.21787322148008], + [44.0259450674057, 36.218487778581576], + [44.02424991130829, 36.21923216522511], + [44.02375102043152, 36.21945937485362], + [44.02296245098114, 36.219664944901275], + [44.021106362342834, 36.21991162824536], + [44.01695966720581, 36.220093394422214], + [44.01264667510986, 36.219504816700145], + [44.010597467422485, 36.219089347406566], + [44.00247573852539, 36.21650992617009], + [43.99853825569153, 36.21514227906928], + [43.99532496929169, 36.214146824691106], + [43.9954000711441, 36.213874154543085], + [43.99593651294708, 36.21298688796114], + [43.99712204933166, 36.21086606365913], + [43.99850606918335, 36.207766959890314], + [43.998860120773315, 36.20697052234019], + [43.99762630462646, 36.206602600082924], + [43.99243354797363, 36.2050226789655], + [43.990110754966736, 36.20428248577281], + [43.987112045288086, 36.20637318885881], + [43.98549199104309, 36.20751590979816], + [43.985148668289185, 36.2075245667113], + [43.98344278335571, 36.20531702285126], + [43.98243427276611, 36.20351631351661], + [43.98053526878357, 36.20049483795976], + [43.978614807128906, 36.19726545291988], + [43.97552490234375, 36.19093616453032], + [43.97458076477051, 36.18761113502616], + [43.97428035736083, 36.185342414086634], + [43.97453784942627, 36.18362784092477], + [43.975160121917725, 36.18241549381681], + [43.97708058357238, 36.18001672317941], + [43.979215621948235, 36.178449255756256], + [43.98210167884827, 36.17618892983672], + [43.98427963256836, 36.1745867436214], + [43.98550808429718, 36.17361242517472], + [43.987927436828606, 36.17180232585708], + [43.988882303237915, 36.17115708895852], + [43.98957431316376, 36.17067207517483], + [43.990373611450195, 36.169922896199054], + [43.99126142263412, 36.16901564386328], + [43.99178981781006, 36.16862155962466], + [43.99271786212921, 36.16796113928748], + [43.994112610816956, 36.166969415672966], + [43.9949870109558, 36.16633496581832], + [43.995856046676636, 36.165704841596344], + [43.996092081069946, 36.165509956790736], + [43.994643688201904, 36.1628984536474], + [43.99346351623535, 36.16066366546099], + [43.992154598236084, 36.158303209536264], + [43.99144113063812, 36.15695620192244], + [43.99159133434296, 36.15683492678953], + [43.991779088974, 36.15697785817642], + [43.99226725101471, 36.1579827017841], + [43.99356544017792, 36.1603518294864], + [43.99479389190674, 36.16263859782916], + [43.99578630924225, 36.164409931246254], + [43.99748682975769, 36.16377329523707], + [43.99978816509247, 36.16296774838677], + [44.00257766246796, 36.16199328548835], + [44.00519549846649, 36.16104479663434], + [44.00590360164642, 36.160784934671675], + [44.00673508644104, 36.160598699735225], + [44.00780797004699, 36.16071563800283], + [44.00978744029999, 36.16106645175902], + [44.01027828454971, 36.161176892801834], + [44.01152819395065, 36.16122669949571], + [44.012351632118225, 36.16125485109131], + [44.01424527168274, 36.161434587963306], + [44.01617646217346, 36.16157317996876], + [44.0162381529808, 36.16157967646301], + [44.016348123550415, 36.161062120734556], + [44.01654124259948, 36.160174255668856], + [44.01668071746826, 36.15936867183562], + [44.01666462421417, 36.15874931949683], + [44.01675045490265, 36.158142955823955], + [44.016932845115655, 36.15709913308827], + [44.017088413238525, 36.15661836358564], + [44.01704415678977, 36.15658587905348], + [44.01699855923653, 36.156475431543406], + [44.01700124144554, 36.15637797772889], + [44.017083048820496, 36.156269695570664], + [44.01722252368927, 36.156203643380735], + [44.01740625500678, 36.15620147773421], + [44.01750683784485, 36.15624803912107], + [44.017581939697266, 36.15631192563015], + [44.01763558387756, 36.15642887029158], + [44.017624855041504, 36.1565328209553], + [44.017561823129654, 36.15661294949789], + [44.017471969127655, 36.15667575289291], + [44.01747331023216, 36.156754798473806], + [44.01735663414001, 36.157365504111155], + [44.01724934577942, 36.15795671461163], + [44.01708573102951, 36.15869951122907], + [44.01691138744354, 36.15927988386372], + [44.01679873466492, 36.159652359559836], + [44.016702175140374, 36.16006814429322], + [44.01636958122253, 36.16169877876208], + [44.015859961509705, 36.16417606555799], + [44.015704393386834, 36.16488199134325], + [44.01627033948898, 36.164894983782794], + [44.01717692613602, 36.16492963027768], + [44.01845633983612, 36.164998923221546], + [44.020650386810296, 36.165120185725904], + [44.02205049991607, 36.165172155313186], + [44.02397364377975, 36.165265267404266], + [44.02565270662308, 36.16533672544564], + [44.02821555733681, 36.16545257395007], + [44.02849316596985, 36.16489281837636], + [44.02881234884262, 36.16453769091089], + [44.029182493686676, 36.164115433598994], + [44.02961701154709, 36.163662857852074], + [44.02975112199783, 36.163530765873524], + [44.02990132570267, 36.16359139828477], + [44.029818177223206, 36.16372349016114], + [44.02933269739151, 36.16425618628903], + [44.02875602245331, 36.16487766052959], + [44.02850925922394, 36.165293417549556], + [44.02828931808472, 36.165611730027436], + [44.028287306427956, 36.165628511771864] + ] } - }, - { - "name": "Mantkawa, 92, Zanko", - "way": [ - { - "name": "Zanko", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Engineering College", - "id": 1, - "coordinates": null - }, - { - "name": "92", - "id": 2, - "coordinates": null - }, - { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, - { - "name": "Garaki Ronaki", - "id": 4, - "coordinates": null - }, - { - "name": "Garaki Komari", - "id": 5, - "coordinates": null - }, - { - "name": "Saydawa", - "id": 6, - "coordinates": null - }, - { - "name": "Down Town", - "id": 7, - "coordinates": null - }, - { - "name": "Garaki Xabat", - "id": 8, - "coordinates": null - }, - { - "name": "PAR Hospital", - "id": 9, - "coordinates": null - }, - { - "name": "Eskan.", - "id": 10, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.020612835884094, 36.14202928910779], - [44.019993245601654, 36.14481043247796], - [44.01923418045044, 36.14819359077874], - [44.018375873565674, 36.15228264239094], - [44.01715278625488, 36.15755824355528], - [44.01629447937012, 36.161984623541585], - [44.0147602558136, 36.16931228838401], - [44.0136981010437, 36.17445683519514], - [44.01272177696228, 36.17856183733473], - [44.012356996536255, 36.18040642015725], - [44.014588594436646, 36.18161879835813], - [44.01671290397644, 36.18366247913786], - [44.01851534843444, 36.18659801204023], - [44.01945948600769, 36.189031216981206], - [44.01938438415527, 36.190148214572524], - [44.021841287612915, 36.19067640168397], - [44.02516722679138, 36.19114397418701], - [44.026572704315186, 36.19131714847965], - [44.02641177177429, 36.18774968074065], - [44.02565002441406, 36.18430328331728], - [44.02426600456237, 36.18083075466183], - [44.02055382728577, 36.17723682850498], - [44.0172815322876, 36.17570394719661], - [44.01371955871582, 36.17481191771672], - [44.0136256814003, 36.17480325718655] - ] - } + } +}, { + "name": "Mantkawa, 92, Zanko", + "way": [{ + "name": "Zanko", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Engineering College", + "id": 1, + "coordinates": null + }, { + "name": "92", + "id": 2, + "coordinates": null + }, { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, { + "name": "Garaki Ronaki", + "id": 4, + "coordinates": null + }, { + "name": "Garaki Komari", + "id": 5, + "coordinates": null + }, { + "name": "Saydawa", + "id": 6, + "coordinates": null + }, { + "name": "Down Town", + "id": 7, + "coordinates": null + }, { + "name": "Garaki Xabat", + "id": 8, + "coordinates": null + }, { + "name": "PAR Hospital", + "id": 9, + "coordinates": null + }, { + "name": "Eskan.", + "id": 10, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.020612835884094, 36.14202928910779], + [44.019993245601654, 36.14481043247796], + [44.01923418045044, 36.14819359077874], + [44.018375873565674, 36.15228264239094], + [44.01715278625488, 36.15755824355528], + [44.01629447937012, 36.161984623541585], + [44.0147602558136, 36.16931228838401], + [44.0136981010437, 36.17445683519514], + [44.01272177696228, 36.17856183733473], + [44.012356996536255, 36.18040642015725], + [44.014588594436646, 36.18161879835813], + [44.01671290397644, 36.18366247913786], + [44.01851534843444, 36.18659801204023], + [44.01945948600769, 36.189031216981206], + [44.01938438415527, 36.190148214572524], + [44.021841287612915, 36.19067640168397], + [44.02516722679138, 36.19114397418701], + [44.026572704315186, 36.19131714847965], + [44.02641177177429, 36.18774968074065], + [44.02565002441406, 36.18430328331728], + [44.02426600456237, 36.18083075466183], + [44.02055382728577, 36.17723682850498], + [44.0172815322876, 36.17570394719661], + [44.01371955871582, 36.17481191771672], + [44.0136256814003, 36.17480325718655] + ] } - }, - { - "name": "Down Town -> Qushtapa", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Ronaki", - "id": 2, - "coordinates": null - }, - { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, - { - "name": "College of Engineering", - "id": 4, - "coordinates": null - }, - { - "name": "Zanko", - "id": 5, - "coordinates": null - }, - { - "name": "Shahid Shawkat Dorm", - "id": 6, - "coordinates": null - }, - { - "name": "Knowlegde University", - "id": 7, - "coordinates": null - }, - { - "name": "Qarachnagha", - "id": 8, - "coordinates": null - }, - { - "name": "Qushtapa", - "id": 9, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01714205741882, 36.18441585648311], - [44.01564538478851, 36.18260167691358], - [44.014105796813965, 36.18140230362693], - [44.012882709503174, 36.18064456735609], - [44.012335538864136, 36.18046270956049], - [44.01277542114258, 36.178016248177464], - [44.01376247406006, 36.17359943418024], - [44.015135765075684, 36.167051698895655], - [44.01640176773071, 36.16110976199042], - [44.017174243927, 36.15700384567333], - [44.01820421218872, 36.15244723958106], - [44.019169807434075, 36.147994330697664], - [44.02004957199097, 36.14383574392117], - [44.02101516723633, 36.13929570164957], - [44.022603034973145, 36.131774595564394], - [44.023804664611816, 36.12581265373426], - [44.02397632598877, 36.122484861381245], - [44.02298927307129, 36.11489280712249], - [44.02122974395752, 36.10480359930836], - [44.02092933654785, 36.10029597427826], - [44.021358489990234, 36.09720983570064], - [44.02217388153076, 36.09284048842407], - [44.0247917175293, 36.08826281643795], - [44.02998447418213, 36.07830892784222], - [44.03423309326172, 36.070192281208456], - [44.03526306152344, 36.0669662018575], - [44.03599262237549, 36.06190133728114], - [44.0361213684082, 36.05700961747586], - [44.03646469116211, 36.04458814004193], - [44.03702259063721, 36.03233822776377], - [44.0375804901123, 36.015712778641046], - [44.037837982177734, 36.009672602871746], - [44.039597511291504, 36.00533311046048], - [44.04039144515991, 36.00370139952558], - [44.04120683670044, 36.00156623740852], - [44.045047760009766, 35.992764593029214], - [44.046528339385986, 35.989292273810364] - ] - } + } +}, { + "name": "Down Town -> Qushtapa", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Ronaki", + "id": 2, + "coordinates": null + }, { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, { + "name": "College of Engineering", + "id": 4, + "coordinates": null + }, { + "name": "Zanko", + "id": 5, + "coordinates": null + }, { + "name": "Shahid Shawkat Dorm", + "id": 6, + "coordinates": null + }, { + "name": "Knowlegde University", + "id": 7, + "coordinates": null + }, { + "name": "Qarachnagha", + "id": 8, + "coordinates": null + }, { + "name": "Qushtapa", + "id": 9, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01714205741882, 36.18441585648311], + [44.01564538478851, 36.18260167691358], + [44.014105796813965, 36.18140230362693], + [44.012882709503174, 36.18064456735609], + [44.012335538864136, 36.18046270956049], + [44.01277542114258, 36.178016248177464], + [44.01376247406006, 36.17359943418024], + [44.015135765075684, 36.167051698895655], + [44.01640176773071, 36.16110976199042], + [44.017174243927, 36.15700384567333], + [44.01820421218872, 36.15244723958106], + [44.019169807434075, 36.147994330697664], + [44.02004957199097, 36.14383574392117], + [44.02101516723633, 36.13929570164957], + [44.022603034973145, 36.131774595564394], + [44.023804664611816, 36.12581265373426], + [44.02397632598877, 36.122484861381245], + [44.02298927307129, 36.11489280712249], + [44.02122974395752, 36.10480359930836], + [44.02092933654785, 36.10029597427826], + [44.021358489990234, 36.09720983570064], + [44.02217388153076, 36.09284048842407], + [44.0247917175293, 36.08826281643795], + [44.02998447418213, 36.07830892784222], + [44.03423309326172, 36.070192281208456], + [44.03526306152344, 36.0669662018575], + [44.03599262237549, 36.06190133728114], + [44.0361213684082, 36.05700961747586], + [44.03646469116211, 36.04458814004193], + [44.03702259063721, 36.03233822776377], + [44.0375804901123, 36.015712778641046], + [44.037837982177734, 36.009672602871746], + [44.039597511291504, 36.00533311046048], + [44.04039144515991, 36.00370139952558], + [44.04120683670044, 36.00156623740852], + [44.045047760009766, 35.992764593029214], + [44.046528339385986, 35.989292273810364] + ] } - }, - { - "name": "Down Town -> Darato", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Ronaki", - "id": 2, - "coordinates": null - }, - { - "name": "Mantkawa", - "id": 3, - "coordinates": null - }, - { - "name": "College of Engineering", - "id": 4, - "coordinates": null - }, - { - "name": "Zanko", - "id": 5, - "coordinates": null - }, - { - "name": "Shahid Shawkat Dorm", - "id": 6, - "coordinates": null - }, - { - "name": "Darato", - "id": 7, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017131328582764, 36.18436389965741], - [44.01487827301025, 36.18191323023236], - [44.01273250579834, 36.18073549609554], - [44.01238918304444, 36.18031982099633], - [44.01307582855224, 36.17647472177247], - [44.01453495025635, 36.17010044793332], - [44.01603698730468, 36.162513000541566], - [44.01749610900879, 36.15534062850759], - [44.01989936828613, 36.144424890452136], - [44.022560119628906, 36.13201722314151], - [44.023804664611816, 36.12638460383812], - [44.023847579956055, 36.12031825408571], - [44.02389049530029, 36.1275284915437], - [44.03419017791748, 36.12737250783815], - [44.040842056274414, 36.126852559914326], - [44.050283432006836, 36.125535343092864], - [44.05890941619874, 36.123420817238795], - [44.05975699424744, 36.12515403936139], - [44.06359791755676, 36.12402744933458], - [44.06792163848877, 36.122770849077114], - [44.07538890838622, 36.12053491750585] - ] - } + } +}, { + "name": "Down Town -> Darato", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Ronaki", + "id": 2, + "coordinates": null + }, { + "name": "Mantkawa", + "id": 3, + "coordinates": null + }, { + "name": "College of Engineering", + "id": 4, + "coordinates": null + }, { + "name": "Zanko", + "id": 5, + "coordinates": null + }, { + "name": "Shahid Shawkat Dorm", + "id": 6, + "coordinates": null + }, { + "name": "Darato", + "id": 7, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017131328582764, 36.18436389965741], + [44.01487827301025, 36.18191323023236], + [44.01273250579834, 36.18073549609554], + [44.01238918304444, 36.18031982099633], + [44.01307582855224, 36.17647472177247], + [44.01453495025635, 36.17010044793332], + [44.01603698730468, 36.162513000541566], + [44.01749610900879, 36.15534062850759], + [44.01989936828613, 36.144424890452136], + [44.022560119628906, 36.13201722314151], + [44.023804664611816, 36.12638460383812], + [44.023847579956055, 36.12031825408571], + [44.02389049530029, 36.1275284915437], + [44.03419017791748, 36.12737250783815], + [44.040842056274414, 36.126852559914326], + [44.050283432006836, 36.125535343092864], + [44.05890941619874, 36.123420817238795], + [44.05975699424744, 36.12515403936139], + [44.06359791755676, 36.12402744933458], + [44.06792163848877, 36.122770849077114], + [44.07538890838622, 36.12053491750585] + ] } - }, - { - "name": "Down Town -> Hawleri nwe, Sebardan", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, - { - "name": "Rizagari hospital", - "id": 2, - "coordinates": null - }, - { - "name": "Havalan", - "id": 3, - "coordinates": null - }, - { - "name": "Sarwaran", - "id": 4, - "coordinates": null - }, - { - "name": "Majdi Mall", - "id": 5, - "coordinates": null - }, - { - "name": "Hawleri nwe", - "id": 6, - "coordinates": null - }, - { - "name": "Sebardan", - "id": 7, - "coordinates": null - }, - { - "name": "CMC Hospital", - "id": 8, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017174243927, 36.18426864538754], - [44.01865482330322, 36.18683181081555], - [44.01944875717163, 36.18962002389865], - [44.019598960876465, 36.19020882638922], - [44.027602672576904, 36.191542274487574], - [44.037065505981445, 36.193048870343375], - [44.0482234954834, 36.19464202063457], - [44.061827659606934, 36.19642561782671], - [44.07214879989624, 36.19784553994047], - [44.07191276550293, 36.19950785505866], - [44.070560932159424, 36.20297089818844], - [44.070775508880615, 36.203334508829506], - [44.071065187454224, 36.20375006177959], - [44.070764780044556, 36.20473699119425], - [44.069252014160156, 36.21107382041607], - [44.078264236450195, 36.21131620260199], - [44.085516929626465, 36.21145470637118], - [44.08845663070679, 36.21168843092577], - [44.089261293411255, 36.212086626707226], - [44.091235399246216, 36.21345432721931], - [44.092276096343994, 36.21410354377867], - [44.09242630004883, 36.214371885049815], - [44.09241020679473, 36.214514711480135], - [44.0938800573349, 36.21487826849], - [44.09546256065368, 36.215644329516394], - [44.095741510391235, 36.215787153623964], - [44.096224308013916, 36.215289432120294], - [44.096513986587524, 36.21506870244001], - [44.09735083580017, 36.21545389696741], - [44.09781217575073, 36.21558806540246], - [44.09855782985687, 36.2156962655857], - [44.098740220069885, 36.21570492159388], - [44.09886360168457, 36.21487394044027], - [44.09905672073364, 36.21422040218728], - [44.098729491233826, 36.21396504469801], - [44.09840226173401, 36.21368804580123], - [44.098273515701294, 36.21332881139644], - [44.09814476966858, 36.212995544269084], - [44.0983110666275, 36.212735854614444], - [44.09905672073364, 36.20929055696808], - [44.09970045089722, 36.207022464166606], - [44.09985065460205, 36.206992164772046], - [44.09995257854462, 36.20685365310473], - [44.09988820552826, 36.20664588514412], - [44.099764823913574, 36.206563643507366], - [44.09991502761841, 36.206126462829594], - [44.10029053688049, 36.20430412894794], - [44.10085916519165, 36.20209649425596], - [44.08246994018554, 36.199403961397834], - [44.072153493762016, 36.197847433874244] - ] - } + } +}, { + "name": "Down Town -> Hawleri nwe, Sebardan", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, { + "name": "Rizagari hospital", + "id": 2, + "coordinates": null + }, { + "name": "Havalan", + "id": 3, + "coordinates": null + }, { + "name": "Sarwaran", + "id": 4, + "coordinates": null + }, { + "name": "Majdi Mall", + "id": 5, + "coordinates": null + }, { + "name": "Hawleri nwe", + "id": 6, + "coordinates": null + }, { + "name": "Sebardan", + "id": 7, + "coordinates": null + }, { + "name": "CMC Hospital", + "id": 8, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017174243927, 36.18426864538754], + [44.01865482330322, 36.18683181081555], + [44.01944875717163, 36.18962002389865], + [44.019598960876465, 36.19020882638922], + [44.027602672576904, 36.191542274487574], + [44.037065505981445, 36.193048870343375], + [44.0482234954834, 36.19464202063457], + [44.061827659606934, 36.19642561782671], + [44.07214879989624, 36.19784553994047], + [44.07191276550293, 36.19950785505866], + [44.070560932159424, 36.20297089818844], + [44.070775508880615, 36.203334508829506], + [44.071065187454224, 36.20375006177959], + [44.070764780044556, 36.20473699119425], + [44.069252014160156, 36.21107382041607], + [44.078264236450195, 36.21131620260199], + [44.085516929626465, 36.21145470637118], + [44.08845663070679, 36.21168843092577], + [44.089261293411255, 36.212086626707226], + [44.091235399246216, 36.21345432721931], + [44.092276096343994, 36.21410354377867], + [44.09242630004883, 36.214371885049815], + [44.09241020679473, 36.214514711480135], + [44.0938800573349, 36.21487826849], + [44.09546256065368, 36.215644329516394], + [44.095741510391235, 36.215787153623964], + [44.096224308013916, 36.215289432120294], + [44.096513986587524, 36.21506870244001], + [44.09735083580017, 36.21545389696741], + [44.09781217575073, 36.21558806540246], + [44.09855782985687, 36.2156962655857], + [44.098740220069885, 36.21570492159388], + [44.09886360168457, 36.21487394044027], + [44.09905672073364, 36.21422040218728], + [44.098729491233826, 36.21396504469801], + [44.09840226173401, 36.21368804580123], + [44.098273515701294, 36.21332881139644], + [44.09814476966858, 36.212995544269084], + [44.0983110666275, 36.212735854614444], + [44.09905672073364, 36.20929055696808], + [44.09970045089722, 36.207022464166606], + [44.09985065460205, 36.206992164772046], + [44.09995257854462, 36.20685365310473], + [44.09988820552826, 36.20664588514412], + [44.099764823913574, 36.206563643507366], + [44.09991502761841, 36.206126462829594], + [44.10029053688049, 36.20430412894794], + [44.10085916519165, 36.20209649425596], + [44.08246994018554, 36.199403961397834], + [44.072153493762016, 36.197847433874244] + ] } - }, - { - "name": "Down Town -> Kasnazan", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, - { - "name": "Rizagari hospital", - "id": 3, - "coordinates": null - }, - { - "name": "Havalan", - "id": 4, - "coordinates": null - }, - { - "name": "Sarwaran", - "id": 5, - "coordinates": null - }, - { - "name": "Majdi Mall ", - "id": 6, - "coordinates": null - }, - { - "name": "CMC Hospital", - "id": 7, - "coordinates": null - }, - { - "name": "Andazyaran", - "id": 8, - "coordinates": null - }, - { - "name": "Kasnazan", - "id": 9, - "coordinates": null - }, - { - "name": "Majdi Land", - "id": 10, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017174243927, 36.18430328331728], - [44.01891231536865, 36.18742063426855], - [44.01947021484375, 36.19015687340634], - [44.023826122283936, 36.19100543447715], - [44.03103590011597, 36.192079110817765], - [44.050025939941406, 36.195040303142605], - [44.07517433166504, 36.198295753770175], - [44.104228019714355, 36.20238219166467], - [44.12358283996582, 36.2058104792352], - [44.132080078125, 36.20712634771599], - [44.13338899612427, 36.203914550879546], - [44.13688659667968, 36.19597539324287], - [44.13879096508026, 36.1917544118643], - [44.140545129776, 36.19709229178225], - [44.14132833480834, 36.19927409412792], - [44.14229393005371, 36.20077188355494], - [44.142674803733826, 36.20131731420517], - [44.143200516700745, 36.202364876699896], - [44.142690896987915, 36.20393186550153], - [44.14174675941467, 36.206416474046904], - [44.140952825546265, 36.20832965544736], - [44.140936732292175, 36.208420552042384], - [44.14285182952881, 36.208745181877156], - [44.145909547805786, 36.209316527115725], - [44.147502779960625, 36.20968010827755], - [44.14731502532959, 36.20986189822502], - [44.14362967014313, 36.209147721002104], - [44.14086699485779, 36.208649957265195], - [44.13747131824493, 36.20807427873443], - [44.13381814956665, 36.207489939053026], - [44.13209617137909, 36.207223738418314], - [44.132080748677254, 36.20713284043325] - ] - } + } +}, { + "name": "Down Town -> Kasnazan", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, { + "name": "Rizagari hospital", + "id": 3, + "coordinates": null + }, { + "name": "Havalan", + "id": 4, + "coordinates": null + }, { + "name": "Sarwaran", + "id": 5, + "coordinates": null + }, { + "name": "Majdi Mall ", + "id": 6, + "coordinates": null + }, { + "name": "CMC Hospital", + "id": 7, + "coordinates": null + }, { + "name": "Andazyaran", + "id": 8, + "coordinates": null + }, { + "name": "Kasnazan", + "id": 9, + "coordinates": null + }, { + "name": "Majdi Land", + "id": 10, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017174243927, 36.18430328331728], + [44.01891231536865, 36.18742063426855], + [44.01947021484375, 36.19015687340634], + [44.023826122283936, 36.19100543447715], + [44.03103590011597, 36.192079110817765], + [44.050025939941406, 36.195040303142605], + [44.07517433166504, 36.198295753770175], + [44.104228019714355, 36.20238219166467], + [44.12358283996582, 36.2058104792352], + [44.132080078125, 36.20712634771599], + [44.13338899612427, 36.203914550879546], + [44.13688659667968, 36.19597539324287], + [44.13879096508026, 36.1917544118643], + [44.140545129776, 36.19709229178225], + [44.14132833480834, 36.19927409412792], + [44.14229393005371, 36.20077188355494], + [44.142674803733826, 36.20131731420517], + [44.143200516700745, 36.202364876699896], + [44.142690896987915, 36.20393186550153], + [44.14174675941467, 36.206416474046904], + [44.140952825546265, 36.20832965544736], + [44.140936732292175, 36.208420552042384], + [44.14285182952881, 36.208745181877156], + [44.145909547805786, 36.209316527115725], + [44.147502779960625, 36.20968010827755], + [44.14731502532959, 36.20986189822502], + [44.14362967014313, 36.209147721002104], + [44.14086699485779, 36.208649957265195], + [44.13747131824493, 36.20807427873443], + [44.13381814956665, 36.207489939053026], + [44.13209617137909, 36.207223738418314], + [44.132080748677254, 36.20713284043325] + ] } - }, - { - "name": "30 meter st.", - "way": [ - { - "name": "Minara Park", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Shanadar Park", - "id": 1, - "coordinates": null - }, - { - "name": "Zanyari", - "id": 2, - "coordinates": null - }, - { - "name": "Kurdistan University", - "id": 3, - "coordinates": null - }, - { - "name": "Saydawa", - "id": 4, - "coordinates": null - }, - { - "name": "Garaki Setaqan", - "id": 5, - "coordinates": null - }, - { - "name": "Tairawa", - "id": 6, - "coordinates": null - }, - { - "name": "Garaki Mstawfi", - "id": 7, - "coordinates": null - }, - { - "name": "Salahaddin st.", - "id": 8, - "coordinates": null - }, - { - "name": "Kurdistan Parliament", - "id": 9, - "coordinates": null - }, - { - "name": "Garaki Araban", - "id": 10, - "coordinates": null, - "is_end": true - } - ], - "availability": "0700-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [43.99898886680603, 36.18225528940259], - [43.99950385093689, 36.18177250925408], - [44.00007784366608, 36.181196633078095], - [44.00068402290344, 36.180601267919236], - [44.00119364261627, 36.180272191417075], - [44.002373814582825, 36.179917133640764], - [44.00293976068497, 36.17970712919863], - [44.00371491909027, 36.179585889264416], - [44.004012644290924, 36.179544754244084], - [44.004731476306915, 36.179546919245695], - [44.005052000284195, 36.17957722926191], - [44.00542616844177, 36.17965733424837], - [44.00600954890251, 36.17977749157442], - [44.00668814778328, 36.179914968649385], - [44.00785893201827, 36.18014662238741], - [44.008360505104065, 36.18025054159873], - [44.00851607322693, 36.180183427123865], - [44.00870382785797, 36.180226726791645], - [44.009012281894684, 36.18025920152679], - [44.00939851999283, 36.18025920152679], - [44.01145711541176, 36.18030033617199], - [44.012204110622406, 36.1802992536816], - [44.012382477521896, 36.18030683111398], - [44.01238650083542, 36.18033605834633], - [44.0125997364521, 36.18038910033273], - [44.013124108314514, 36.18068028937346], - [44.01382952928543, 36.18106673561116], - [44.01418894529343, 36.18127240650102], - [44.01500165462494, 36.18189591074102], - [44.01567488908767, 36.18248260637945], - [44.01624619960785, 36.18303682405356], - [44.01677459478378, 36.18367979823865], - [44.017174243927, 36.18423833718646], - [44.01759803295135, 36.18490944460807], - [44.01796817779541, 36.185498282513045], - [44.01843219995499, 36.18625813664994], - [44.01883319020271, 36.18695412193382], - [44.018984735012054, 36.187321054142664], - [44.01912420988083, 36.18770855000722], - [44.0192985534668, 36.18819995262014], - [44.019467532634735, 36.188792012906454], - [44.019531905651085, 36.189178419125575], - [44.019535928964615, 36.18954534091345], - [44.019503742456436, 36.18990576683667], - [44.0194796025753, 36.19022506168929], - [44.019411206245415, 36.19104223411148], - [44.01935487985611, 36.191574744531465], - [44.019062519073486, 36.192531522448085], - [44.01877284049988, 36.19331078994106], - [44.01842147111893, 36.19394285676704], - [44.018123745918274, 36.194421232719264], - [44.01769995689392, 36.194845491299404], - [44.01711255311966, 36.19535416564821], - [44.016353487968445, 36.195925608634745], - [44.01557296514511, 36.19642128875651], - [44.01478171348572, 36.19695376259638], - [44.01418089866638, 36.19734553981651], - [44.013596177101135, 36.19766155758218], - [44.01290953159332, 36.197912639281185], - [44.012552797794335, 36.198064153709964], - [44.011858105659485, 36.198207009902845], - [44.01119023561478, 36.198313069635], - [44.01049554347992, 36.198358523761925], - [44.009580910205834, 36.19838233305598], - [44.008639454841614, 36.19832172756597], - [44.00643467903137, 36.19816155568793], - [44.00448739528656, 36.19801653492109], - [44.003865122795105, 36.1979516001623], - [44.00343328714371, 36.197828223972216], - [44.002620577812195, 36.197477574791556], - [44.00198221206665, 36.19705333047349], - [44.00131702423096, 36.196594451378196], - [44.0008744597435, 36.196243796671816], - [44.000482857227325, 36.19577409006735], - [43.99994373321533, 36.19507277173599], - [43.99956554174423, 36.19444287862085], - [43.99943143129349, 36.19416581062875], - [43.9992356300354, 36.193670116228176], - [43.99912565946579, 36.19325667439353], - [43.99891376495361, 36.19260079098371], - [43.99880647659302, 36.19188212694665], - [43.99880111217499, 36.1913539479675], - [43.99888426065445, 36.19072186024428], - [43.99903982877731, 36.19023480286772], - [43.999238312244415, 36.189791036842884], - [43.999501168727875, 36.18929315001683], - [44.00011271238327, 36.18855930235889], - [44.000477492809296, 36.18824974214018], - [44.00091737508774, 36.18799646468749], - [44.001502096652985, 36.18776699893771], - [44.00194600224495, 36.187615464583445], - [44.00213375687599, 36.1875018136253], - [44.002273231744766, 36.18731780696251], - [44.00234833359718, 36.187128387887476], - [44.00231748819351, 36.186927061968376], - [44.002200812101364, 36.18652765579068], - [44.001748859882355, 36.18532076566954], - [44.00140017271042, 36.1845479132599], - [44.00109976530075, 36.18406081748753], - [44.00059551000595, 36.183554234671064], - [43.99973452091217, 36.18292857872222], - [43.998903036117554, 36.18240466920456], - [43.99836122989654, 36.1820582808224], - [43.9980648458004, 36.18183421002186], - [43.998150005936616, 36.18175464849645], - [43.99825796484947, 36.18182717397185], - [43.99855434894562, 36.18202255943338], - [43.99878568947315, 36.18217464584039], - [43.99891845881939, 36.182269361425085], - [43.99895533919334, 36.182291281301225], - [43.99898651987314, 36.18225772494513] - ] - } + } +}, { + "name": "30 meter st.", + "way": [{ + "name": "Minara Park", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Shanadar Park", + "id": 1, + "coordinates": null + }, { + "name": "Zanyari", + "id": 2, + "coordinates": null + }, { + "name": "Kurdistan University", + "id": 3, + "coordinates": null + }, { + "name": "Saydawa", + "id": 4, + "coordinates": null + }, { + "name": "Garaki Setaqan", + "id": 5, + "coordinates": null + }, { + "name": "Tairawa", + "id": 6, + "coordinates": null + }, { + "name": "Garaki Mstawfi", + "id": 7, + "coordinates": null + }, { + "name": "Salahaddin st.", + "id": 8, + "coordinates": null + }, { + "name": "Kurdistan Parliament", + "id": 9, + "coordinates": null + }, { + "name": "Garaki Araban", + "id": 10, + "coordinates": null, + "is_end": true + }], + "availability": "0700-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [43.99898886680603, 36.18225528940259], + [43.99950385093689, 36.18177250925408], + [44.00007784366608, 36.181196633078095], + [44.00068402290344, 36.180601267919236], + [44.00119364261627, 36.180272191417075], + [44.002373814582825, 36.179917133640764], + [44.00293976068497, 36.17970712919863], + [44.00371491909027, 36.179585889264416], + [44.004012644290924, 36.179544754244084], + [44.004731476306915, 36.179546919245695], + [44.005052000284195, 36.17957722926191], + [44.00542616844177, 36.17965733424837], + [44.00600954890251, 36.17977749157442], + [44.00668814778328, 36.179914968649385], + [44.00785893201827, 36.18014662238741], + [44.008360505104065, 36.18025054159873], + [44.00851607322693, 36.180183427123865], + [44.00870382785797, 36.180226726791645], + [44.009012281894684, 36.18025920152679], + [44.00939851999283, 36.18025920152679], + [44.01145711541176, 36.18030033617199], + [44.012204110622406, 36.1802992536816], + [44.012382477521896, 36.18030683111398], + [44.01238650083542, 36.18033605834633], + [44.0125997364521, 36.18038910033273], + [44.013124108314514, 36.18068028937346], + [44.01382952928543, 36.18106673561116], + [44.01418894529343, 36.18127240650102], + [44.01500165462494, 36.18189591074102], + [44.01567488908767, 36.18248260637945], + [44.01624619960785, 36.18303682405356], + [44.01677459478378, 36.18367979823865], + [44.017174243927, 36.18423833718646], + [44.01759803295135, 36.18490944460807], + [44.01796817779541, 36.185498282513045], + [44.01843219995499, 36.18625813664994], + [44.01883319020271, 36.18695412193382], + [44.018984735012054, 36.187321054142664], + [44.01912420988083, 36.18770855000722], + [44.0192985534668, 36.18819995262014], + [44.019467532634735, 36.188792012906454], + [44.019531905651085, 36.189178419125575], + [44.019535928964615, 36.18954534091345], + [44.019503742456436, 36.18990576683667], + [44.0194796025753, 36.19022506168929], + [44.019411206245415, 36.19104223411148], + [44.01935487985611, 36.191574744531465], + [44.019062519073486, 36.192531522448085], + [44.01877284049988, 36.19331078994106], + [44.01842147111893, 36.19394285676704], + [44.018123745918274, 36.194421232719264], + [44.01769995689392, 36.194845491299404], + [44.01711255311966, 36.19535416564821], + [44.016353487968445, 36.195925608634745], + [44.01557296514511, 36.19642128875651], + [44.01478171348572, 36.19695376259638], + [44.01418089866638, 36.19734553981651], + [44.013596177101135, 36.19766155758218], + [44.01290953159332, 36.197912639281185], + [44.012552797794335, 36.198064153709964], + [44.011858105659485, 36.198207009902845], + [44.01119023561478, 36.198313069635], + [44.01049554347992, 36.198358523761925], + [44.009580910205834, 36.19838233305598], + [44.008639454841614, 36.19832172756597], + [44.00643467903137, 36.19816155568793], + [44.00448739528656, 36.19801653492109], + [44.003865122795105, 36.1979516001623], + [44.00343328714371, 36.197828223972216], + [44.002620577812195, 36.197477574791556], + [44.00198221206665, 36.19705333047349], + [44.00131702423096, 36.196594451378196], + [44.0008744597435, 36.196243796671816], + [44.000482857227325, 36.19577409006735], + [43.99994373321533, 36.19507277173599], + [43.99956554174423, 36.19444287862085], + [43.99943143129349, 36.19416581062875], + [43.9992356300354, 36.193670116228176], + [43.99912565946579, 36.19325667439353], + [43.99891376495361, 36.19260079098371], + [43.99880647659302, 36.19188212694665], + [43.99880111217499, 36.1913539479675], + [43.99888426065445, 36.19072186024428], + [43.99903982877731, 36.19023480286772], + [43.999238312244415, 36.189791036842884], + [43.999501168727875, 36.18929315001683], + [44.00011271238327, 36.18855930235889], + [44.000477492809296, 36.18824974214018], + [44.00091737508774, 36.18799646468749], + [44.001502096652985, 36.18776699893771], + [44.00194600224495, 36.187615464583445], + [44.00213375687599, 36.1875018136253], + [44.002273231744766, 36.18731780696251], + [44.00234833359718, 36.187128387887476], + [44.00231748819351, 36.186927061968376], + [44.002200812101364, 36.18652765579068], + [44.001748859882355, 36.18532076566954], + [44.00140017271042, 36.1845479132599], + [44.00109976530075, 36.18406081748753], + [44.00059551000595, 36.183554234671064], + [43.99973452091217, 36.18292857872222], + [43.998903036117554, 36.18240466920456], + [43.99836122989654, 36.1820582808224], + [43.9980648458004, 36.18183421002186], + [43.998150005936616, 36.18175464849645], + [43.99825796484947, 36.18182717397185], + [43.99855434894562, 36.18202255943338], + [43.99878568947315, 36.18217464584039], + [43.99891845881939, 36.182269361425085], + [43.99895533919334, 36.182291281301225], + [43.99898651987314, 36.18225772494513] + ] } - }, - { - "name": "Down Town -> Ankawa", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Saydawa", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Setaqan", - "id": 2, - "coordinates": null - }, - { - "name": "Farid Hotel", - "id": 3, - "coordinates": null - }, - { - "name": "Kurdistan School for boys", - "id": 4, - "coordinates": null - }, - { - "name": "Xanzad Hospital", - "id": 5, - "coordinates": null - }, - { - "name": "Hawler Mall", - "id": 6, - "coordinates": null - }, - { - "name": "Medicine College", - "id": 7, - "coordinates": null - }, - { - "name": "Royal Mall", - "id": 8, - "coordinates": null - }, - { - "name": "Surchyan Bazar", - "id": 9, - "coordinates": null - }, - { - "name": "Samad", - "id": 10, - "coordinates": null - }, - { - "name": "Soran Hospital", - "id": 11, - "coordinates": null - }, - { - "name": "Baxtyari", - "id": 12, - "coordinates": null - }, - { - "name": "Kurani Ankawa", - "id": 13, - "coordinates": null - }, - { - "name": "Ankawa", - "id": 14, - "coordinates": null, - "is_end": true - } - ], - "availability": "0800-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017120599746704, 36.184337921231695], - [44.01870846748352, 36.186918402777444], - [44.01940584182739, 36.189143783351795], - [44.01926636695862, 36.19173276521954], - [44.01850461959838, 36.19375020680239], - [44.01701331138611, 36.195421267124125], - [44.01614427566528, 36.196061975094665], - [44.01625692844391, 36.19613773413645], - [44.016584157943726, 36.19647107304946], - [44.01740223169327, 36.197371513927564], - [44.01806741952896, 36.198209174388595], - [44.018842577934265, 36.19910310189398], - [44.019604325294495, 36.20004030790631], - [44.02021586894989, 36.200754568233975], - [44.020470678806305, 36.20101862646268], - [44.02056992053985, 36.20112035357543], - [44.01997983455658, 36.20142120532672], - [44.019100069999695, 36.20185841228554], - [44.01821494102478, 36.20224367183915], - [44.017619490623474, 36.20244495837991], - [44.017174243927, 36.202561834198285], - [44.01650369167328, 36.2027739417193], - [44.01589214801788, 36.20295358335389], - [44.014615416526794, 36.20326957848174], - [44.01305705308914, 36.203572586310386], - [44.01154160499573, 36.20374140444897], - [44.00998592376709, 36.20382364905125], - [44.009578227996826, 36.203782526760904], - [44.008365869522095, 36.20362453039181], - [44.00709718465805, 36.20334749489257], - [44.005925059318535, 36.20307478711538], - [44.00485754013061, 36.2028107358226], - [44.00393754243851, 36.202349726102554], - [44.00269836187363, 36.20170257642187], - [44.001770317554474, 36.20120043652861], - [44.00148332118987, 36.20167443935787], - [44.00103807449341, 36.20258997094334], - [44.000405073165894, 36.20401843855404], - [43.999836444854736, 36.205321351429575], - [43.99922490119934, 36.20670215568792], - [43.99857580661774, 36.208290699731435], - [43.998114466667175, 36.20947234782049], - [43.9975780248642, 36.2105068162988], - [43.9966607093811, 36.21213423693677], - [43.99589359760284, 36.2135452178619], - [43.99513453245163, 36.21489341666207], - [43.99476706981659, 36.21557291736485], - [43.99438887834549, 36.21633897158993], - [43.9941930770874, 36.21679773493598], - [43.9940482378006, 36.217286791012285], - [43.99389535188675, 36.218152369494305], - [43.993771970272064, 36.21882318623083], - [43.99364322423935, 36.21957622526275], - [43.993503749370575, 36.22042663131618], - [43.99344205856323, 36.22104982377563], - [43.994281589984894, 36.22126404503693], - [43.99731785058975, 36.22209063066723], - [43.998146653175354, 36.22235245308986], - [43.998068869113915, 36.222560179347106], - [43.99394094944, 36.22137656506038], - [43.99342060089111, 36.22124240655233], - [43.99328917264938, 36.22187208400706], - [43.99309605360031, 36.22253854122107], - [43.992905616760254, 36.22311411333622], - [43.99252474308014, 36.2247369442383], - [43.991113901138306, 36.22931098239696], - [43.99063915014267, 36.230643764374115], - [43.99017512798309, 36.231245239710596], - [43.990105390548706, 36.231340436821796], - [43.990105390548706, 36.23154164851637], - [43.99038165807724, 36.2320479208124], - [43.99074375629425, 36.23278568781931], - [43.99143576622009, 36.233486668203625], - [43.991403579711914, 36.23404052480367], - [43.99111926555633, 36.23442129894035], - [43.99100661277771, 36.234490530402304], - [43.98993909358978, 36.234343413472345], - [43.98891985416412, 36.23414437247938], - [43.9881956577301, 36.233793886021004], - [43.98772895336151, 36.23353426540929], - [43.98699939250946, 36.23339580073054], - [43.98701012134551, 36.2331231976777], - [43.98733198642731, 36.23235298074144], - [43.988152742385864, 36.23117600537512], - [43.989145159721375, 36.22967879787434], - [43.990100026130676, 36.228480145774775], - [43.990475535392754, 36.228060396833406], - [43.991097807884216, 36.226853065153975], - [43.99199903011322, 36.2249316816839], - [43.99229407310486, 36.22422629707834], - [43.99259984493255, 36.22317469962829], - [43.9929860830307, 36.22199758612419], - [43.99319529533386, 36.22121860421233], - [43.99183809757233, 36.22083776578766], - [43.989161252975464, 36.219941922637524], - [43.98660778999328, 36.21892489020164], - [43.98373246192932, 36.217587580620524], - [43.982922434806824, 36.21719806867678], - [43.983110189437866, 36.21702495163483], - [43.984472751617425, 36.21770443382549], - [43.986420035362244, 36.218643581023315], - [43.98874282836913, 36.219565405787755], - [43.99124801158905, 36.22045259776777], - [43.992664217948914, 36.22086805982113], - [43.99324893951416, 36.22101087439238], - [43.993433341383934, 36.22104738943974] - ] - } + } +}, { + "name": "Down Town -> Ankawa", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Saydawa", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Setaqan", + "id": 2, + "coordinates": null + }, { + "name": "Farid Hotel", + "id": 3, + "coordinates": null + }, { + "name": "Kurdistan School for boys", + "id": 4, + "coordinates": null + }, { + "name": "Xanzad Hospital", + "id": 5, + "coordinates": null + }, { + "name": "Hawler Mall", + "id": 6, + "coordinates": null + }, { + "name": "Medicine College", + "id": 7, + "coordinates": null + }, { + "name": "Royal Mall", + "id": 8, + "coordinates": null + }, { + "name": "Surchyan Bazar", + "id": 9, + "coordinates": null + }, { + "name": "Samad", + "id": 10, + "coordinates": null + }, { + "name": "Soran Hospital", + "id": 11, + "coordinates": null + }, { + "name": "Baxtyari", + "id": 12, + "coordinates": null + }, { + "name": "Kurani Ankawa", + "id": 13, + "coordinates": null + }, { + "name": "Ankawa", + "id": 14, + "coordinates": null, + "is_end": true + }], + "availability": "0800-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017120599746704, 36.184337921231695], + [44.01870846748352, 36.186918402777444], + [44.01940584182739, 36.189143783351795], + [44.01926636695862, 36.19173276521954], + [44.01850461959838, 36.19375020680239], + [44.01701331138611, 36.195421267124125], + [44.01614427566528, 36.196061975094665], + [44.01625692844391, 36.19613773413645], + [44.016584157943726, 36.19647107304946], + [44.01740223169327, 36.197371513927564], + [44.01806741952896, 36.198209174388595], + [44.018842577934265, 36.19910310189398], + [44.019604325294495, 36.20004030790631], + [44.02021586894989, 36.200754568233975], + [44.020470678806305, 36.20101862646268], + [44.02056992053985, 36.20112035357543], + [44.01997983455658, 36.20142120532672], + [44.019100069999695, 36.20185841228554], + [44.01821494102478, 36.20224367183915], + [44.017619490623474, 36.20244495837991], + [44.017174243927, 36.202561834198285], + [44.01650369167328, 36.2027739417193], + [44.01589214801788, 36.20295358335389], + [44.014615416526794, 36.20326957848174], + [44.01305705308914, 36.203572586310386], + [44.01154160499573, 36.20374140444897], + [44.00998592376709, 36.20382364905125], + [44.009578227996826, 36.203782526760904], + [44.008365869522095, 36.20362453039181], + [44.00709718465805, 36.20334749489257], + [44.005925059318535, 36.20307478711538], + [44.00485754013061, 36.2028107358226], + [44.00393754243851, 36.202349726102554], + [44.00269836187363, 36.20170257642187], + [44.001770317554474, 36.20120043652861], + [44.00148332118987, 36.20167443935787], + [44.00103807449341, 36.20258997094334], + [44.000405073165894, 36.20401843855404], + [43.999836444854736, 36.205321351429575], + [43.99922490119934, 36.20670215568792], + [43.99857580661774, 36.208290699731435], + [43.998114466667175, 36.20947234782049], + [43.9975780248642, 36.2105068162988], + [43.9966607093811, 36.21213423693677], + [43.99589359760284, 36.2135452178619], + [43.99513453245163, 36.21489341666207], + [43.99476706981659, 36.21557291736485], + [43.99438887834549, 36.21633897158993], + [43.9941930770874, 36.21679773493598], + [43.9940482378006, 36.217286791012285], + [43.99389535188675, 36.218152369494305], + [43.993771970272064, 36.21882318623083], + [43.99364322423935, 36.21957622526275], + [43.993503749370575, 36.22042663131618], + [43.99344205856323, 36.22104982377563], + [43.994281589984894, 36.22126404503693], + [43.99731785058975, 36.22209063066723], + [43.998146653175354, 36.22235245308986], + [43.998068869113915, 36.222560179347106], + [43.99394094944, 36.22137656506038], + [43.99342060089111, 36.22124240655233], + [43.99328917264938, 36.22187208400706], + [43.99309605360031, 36.22253854122107], + [43.992905616760254, 36.22311411333622], + [43.99252474308014, 36.2247369442383], + [43.991113901138306, 36.22931098239696], + [43.99063915014267, 36.230643764374115], + [43.99017512798309, 36.231245239710596], + [43.990105390548706, 36.231340436821796], + [43.990105390548706, 36.23154164851637], + [43.99038165807724, 36.2320479208124], + [43.99074375629425, 36.23278568781931], + [43.99143576622009, 36.233486668203625], + [43.991403579711914, 36.23404052480367], + [43.99111926555633, 36.23442129894035], + [43.99100661277771, 36.234490530402304], + [43.98993909358978, 36.234343413472345], + [43.98891985416412, 36.23414437247938], + [43.9881956577301, 36.233793886021004], + [43.98772895336151, 36.23353426540929], + [43.98699939250946, 36.23339580073054], + [43.98701012134551, 36.2331231976777], + [43.98733198642731, 36.23235298074144], + [43.988152742385864, 36.23117600537512], + [43.989145159721375, 36.22967879787434], + [43.990100026130676, 36.228480145774775], + [43.990475535392754, 36.228060396833406], + [43.991097807884216, 36.226853065153975], + [43.99199903011322, 36.2249316816839], + [43.99229407310486, 36.22422629707834], + [43.99259984493255, 36.22317469962829], + [43.9929860830307, 36.22199758612419], + [43.99319529533386, 36.22121860421233], + [43.99183809757233, 36.22083776578766], + [43.989161252975464, 36.219941922637524], + [43.98660778999328, 36.21892489020164], + [43.98373246192932, 36.217587580620524], + [43.982922434806824, 36.21719806867678], + [43.983110189437866, 36.21702495163483], + [43.984472751617425, 36.21770443382549], + [43.986420035362244, 36.218643581023315], + [43.98874282836913, 36.219565405787755], + [43.99124801158905, 36.22045259776777], + [43.992664217948914, 36.22086805982113], + [43.99324893951416, 36.22101087439238], + [43.993433341383934, 36.22104738943974] + ] } - }, - { + } +}, { + "name": "Bahrka", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "30 meter st.", + "id": 1, + "coordinates": null + }, { + "name": "Hawler Mall", + "id": 2, + "coordinates": null + }, { + "name": "Jalil Xayat", + "id": 3, + "coordinates": null + }, { + "name": "Hawler Medicine College", + "id": 4, + "coordinates": null + }, { + "name": "Shorsh St.", + "id": 5, + "coordinates": null + }, { + "name": "Raparin Hospital", + "id": 6, + "coordinates": null + }, { + "name": "Italian Village 2", + "id": 7, + "coordinates": null + }, { + "name": "Atconz", + "id": 8, + "coordinates": null + }, { + "name": "Lebanon Village", + "id": 9, + "coordinates": null + }, { + "name": "Bahrka Road", + "id": 10, + "coordinates": null + }, { + "name": "Ganjan City", + "id": 11, + "coordinates": null + }, { + "name": "Hasm City", + "id": 12, + "coordinates": null + }, { "name": "Bahrka", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "30 meter st.", - "id": 1, - "coordinates": null - }, - { - "name": "Hawler Mall", - "id": 2, - "coordinates": null - }, - { - "name": "Jalil Xayat", - "id": 3, - "coordinates": null - }, - { - "name": "Hawler Medicine College", - "id": 4, - "coordinates": null - }, - { - "name": "Shorsh St.", - "id": 5, - "coordinates": null - }, - { - "name": "Raparin Hospital", - "id": 6, - "coordinates": null - }, - { - "name": "Italian Village 2", - "id": 7, - "coordinates": null - }, - { - "name": "Atconz", - "id": 8, - "coordinates": null - }, - { - "name": "Lebanon Village", - "id": 9, - "coordinates": null - }, - { - "name": "Bahrka Road", - "id": 10, - "coordinates": null - }, - { - "name": "Ganjan City", - "id": 11, - "coordinates": null - }, - { - "name": "Hasm City", - "id": 12, - "coordinates": null - }, - { - "name": "Bahrka", - "id": 13, - "coordinates": null, - "is_end": true - } - ], - "availability": "0700-1700", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.0167236328125, 36.184450494347736], - [44.01716351509094, 36.18432926175452], - [44.01900887489318, 36.18741197513219], - [44.01954531669617, 36.18942952802744], - [44.01928782463074, 36.19157690920057], - [44.0186333656311, 36.1935597209781], - [44.01789307594299, 36.19466799564251], - [44.0167772769928, 36.19564638133283], - [44.01645541191101, 36.19590612769248], - [44.01649832725525, 36.19636501082199], - [44.0175175666809, 36.19754250994351], - [44.01970624923706, 36.20013554299319], - [44.02092665433884, 36.20161167202479], - [44.02325212955475, 36.20438204432895], - [44.02667999267578, 36.208589359724535], - [44.028117656707764, 36.21027741651917], - [44.029340744018555, 36.21148067580061], - [44.03089642524719, 36.212900324829114], - [44.03266668319702, 36.21447575884317], - [44.03428673744201, 36.21599056932708], - [44.03645396232605, 36.21760056431858], - [44.03926491737366, 36.21972986164619], - [44.042547941207886, 36.22222262389892], - [44.04487609863281, 36.223988282432444], - [44.05056238174438, 36.22828108985666], - [44.05496120452881, 36.2316217003369], - [44.05659198760986, 36.232781360760356], - [44.057163298130035, 36.232857084257], - [44.057388603687286, 36.232843021327454], - [44.057604521512985, 36.23278352428986], - [44.05785530805588, 36.23264614004829], - [44.058029651641846, 36.23246115773541], - [44.05813157558441, 36.23219071496991], - [44.05808866024017, 36.2319700329802], - [44.057772159576416, 36.23172122410763], - [44.05747711658478, 36.231671462238104], - [44.05712306499481, 36.2317428596932], - [44.05688166618347, 36.23186834597142], - [44.056524932384484, 36.232138789851895], - [44.05600190162658, 36.232690492467604], - [44.05270814895629, 36.23544678369976], - [44.04938220977783, 36.23771405246898], - [44.04487609863281, 36.23965242859016], - [44.03676509857177, 36.24235222951966], - [44.02846097946167, 36.244013599127776], - [44.021809101104736, 36.24475774281345], - [44.01590824127197, 36.244965409554226], - [44.014856815338135, 36.245579753765035], - [44.013751745224, 36.24649693472683], - [44.013322591781616, 36.24751793483498], - [44.01355862617493, 36.2509355923725], - [44.01393413543701, 36.25653330595581], - [44.014577865600586, 36.26586770430287], - [44.01620864868163, 36.287179515680556], - [44.01671290397644, 36.28767029343963], - [44.01747465133667, 36.29052625606898], - [44.01664853096008, 36.290638676380816], - [44.01721715927124, 36.293034055298236], - [44.017335176467896, 36.29351831069144], - [44.01780724525452, 36.29400256307884], - [44.01890158653259, 36.29749600909685], - [44.019598960876465, 36.29884492163227], - [44.03423309326172, 36.317684024117796], - [44.03586387634277, 36.3200699280071], - [44.03517723083496, 36.32217914453544] - ] - } + "id": 13, + "coordinates": null, + "is_end": true + }], + "availability": "0700-1700", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.0167236328125, 36.184450494347736], + [44.01716351509094, 36.18432926175452], + [44.01900887489318, 36.18741197513219], + [44.01954531669617, 36.18942952802744], + [44.01928782463074, 36.19157690920057], + [44.0186333656311, 36.1935597209781], + [44.01789307594299, 36.19466799564251], + [44.0167772769928, 36.19564638133283], + [44.01645541191101, 36.19590612769248], + [44.01649832725525, 36.19636501082199], + [44.0175175666809, 36.19754250994351], + [44.01970624923706, 36.20013554299319], + [44.02092665433884, 36.20161167202479], + [44.02325212955475, 36.20438204432895], + [44.02667999267578, 36.208589359724535], + [44.028117656707764, 36.21027741651917], + [44.029340744018555, 36.21148067580061], + [44.03089642524719, 36.212900324829114], + [44.03266668319702, 36.21447575884317], + [44.03428673744201, 36.21599056932708], + [44.03645396232605, 36.21760056431858], + [44.03926491737366, 36.21972986164619], + [44.042547941207886, 36.22222262389892], + [44.04487609863281, 36.223988282432444], + [44.05056238174438, 36.22828108985666], + [44.05496120452881, 36.2316217003369], + [44.05659198760986, 36.232781360760356], + [44.057163298130035, 36.232857084257], + [44.057388603687286, 36.232843021327454], + [44.057604521512985, 36.23278352428986], + [44.05785530805588, 36.23264614004829], + [44.058029651641846, 36.23246115773541], + [44.05813157558441, 36.23219071496991], + [44.05808866024017, 36.2319700329802], + [44.057772159576416, 36.23172122410763], + [44.05747711658478, 36.231671462238104], + [44.05712306499481, 36.2317428596932], + [44.05688166618347, 36.23186834597142], + [44.056524932384484, 36.232138789851895], + [44.05600190162658, 36.232690492467604], + [44.05270814895629, 36.23544678369976], + [44.04938220977783, 36.23771405246898], + [44.04487609863281, 36.23965242859016], + [44.03676509857177, 36.24235222951966], + [44.02846097946167, 36.244013599127776], + [44.021809101104736, 36.24475774281345], + [44.01590824127197, 36.244965409554226], + [44.014856815338135, 36.245579753765035], + [44.013751745224, 36.24649693472683], + [44.013322591781616, 36.24751793483498], + [44.01355862617493, 36.2509355923725], + [44.01393413543701, 36.25653330595581], + [44.014577865600586, 36.26586770430287], + [44.01620864868163, 36.287179515680556], + [44.01671290397644, 36.28767029343963], + [44.01747465133667, 36.29052625606898], + [44.01664853096008, 36.290638676380816], + [44.01721715927124, 36.293034055298236], + [44.017335176467896, 36.29351831069144], + [44.01780724525452, 36.29400256307884], + [44.01890158653259, 36.29749600909685], + [44.019598960876465, 36.29884492163227], + [44.03423309326172, 36.317684024117796], + [44.03586387634277, 36.3200699280071], + [44.03517723083496, 36.32217914453544] + ] } - }, - { - "name": "MamiZawa -> Down Town Front-Gate", - "way": [ - { - "name": "Sarkarez", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "MamiZawa", - "id": 1, - "coordinates": null - }, - { - "name": "Qatawe", - "id": 2, - "coordinates": null - }, - { - "name": "Kuran Bazar", - "id": 3, - "coordinates": null - }, - { - "name": "Azadi Schoole", - "id": 4, - "coordinates": null - }, - { - "name": "Down Town Front-Gate", - "id": 5, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [43.96333694458008, 36.107230674892925], - [43.96576166152954, 36.11161655699079], - [43.967671394348145, 36.11499681282482], - [43.9712119102478, 36.12823908005751], - [43.97234916687012, 36.13260645842031], - [43.97301435470581, 36.134235497637846], - [43.97445201873779, 36.13612444758036], - [43.9778208732605, 36.139798238343445], - [43.98367881774902, 36.14484075592772], - [43.985652923583984, 36.14659083230876], - [43.988163471221924, 36.150627988287624], - [43.990373611450195, 36.15443970447918], - [43.99457931518555, 36.16258229562169], - [43.99672508239746, 36.16656665970523], - [43.99816274642944, 36.168272944992594], - [43.99917125701904, 36.16993588780302], - [44.00046944618225, 36.172257019809344], - [44.00147795677185, 36.1740671086241], - [44.00206804275512, 36.175097714675104], - [44.002346992492676, 36.175236282522114], - [44.002583026885986, 36.175201640583325], - [44.00437474250793, 36.174682009663776], - [44.005576372146606, 36.174396211189176], - [44.00676727294922, 36.174188357098366], - [44.01031851768494, 36.17411907227891], - [44.01054382324219, 36.1741970176965], - [44.01027560234069, 36.174733972910786], - [44.00978207588195, 36.17618892983672], - [44.009385108947754, 36.17700300109126], - [44.00891304016113, 36.17777376288804], - [44.00864481925964, 36.17828471315822], - [44.00854021310806, 36.17910309266508], - [44.00854289531708, 36.17971145919283], - [44.008601903915405, 36.1799084736749], - [44.00869309902191, 36.18005352797688], - [44.00878965854645, 36.18014662238741], - [44.0089613199234, 36.180224561808835], - [44.00924026966095, 36.18026353149047], - [44.01077449321747, 36.180287346286356], - [44.011973440647125, 36.1802851813052], - [44.01241332292557, 36.18031332605543], - [44.012214839458466, 36.180910858366516], - [44.011890292167664, 36.18258002773903], - [44.011600613594055, 36.18371010665583], - [44.011348485946655, 36.18490511490117], - [44.01123449206352, 36.1849754726082], - [44.01115134358406, 36.185030676303306] - ] - } + } +}, { + "name": "MamiZawa -> Down Town Front-Gate", + "way": [{ + "name": "Sarkarez", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "MamiZawa", + "id": 1, + "coordinates": null + }, { + "name": "Qatawe", + "id": 2, + "coordinates": null + }, { + "name": "Kuran Bazar", + "id": 3, + "coordinates": null + }, { + "name": "Azadi Schoole", + "id": 4, + "coordinates": null + }, { + "name": "Down Town Front-Gate", + "id": 5, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [43.96333694458008, 36.107230674892925], + [43.96576166152954, 36.11161655699079], + [43.967671394348145, 36.11499681282482], + [43.9712119102478, 36.12823908005751], + [43.97234916687012, 36.13260645842031], + [43.97301435470581, 36.134235497637846], + [43.97445201873779, 36.13612444758036], + [43.9778208732605, 36.139798238343445], + [43.98367881774902, 36.14484075592772], + [43.985652923583984, 36.14659083230876], + [43.988163471221924, 36.150627988287624], + [43.990373611450195, 36.15443970447918], + [43.99457931518555, 36.16258229562169], + [43.99672508239746, 36.16656665970523], + [43.99816274642944, 36.168272944992594], + [43.99917125701904, 36.16993588780302], + [44.00046944618225, 36.172257019809344], + [44.00147795677185, 36.1740671086241], + [44.00206804275512, 36.175097714675104], + [44.002346992492676, 36.175236282522114], + [44.002583026885986, 36.175201640583325], + [44.00437474250793, 36.174682009663776], + [44.005576372146606, 36.174396211189176], + [44.00676727294922, 36.174188357098366], + [44.01031851768494, 36.17411907227891], + [44.01054382324219, 36.1741970176965], + [44.01027560234069, 36.174733972910786], + [44.00978207588195, 36.17618892983672], + [44.009385108947754, 36.17700300109126], + [44.00891304016113, 36.17777376288804], + [44.00864481925964, 36.17828471315822], + [44.00854021310806, 36.17910309266508], + [44.00854289531708, 36.17971145919283], + [44.008601903915405, 36.1799084736749], + [44.00869309902191, 36.18005352797688], + [44.00878965854645, 36.18014662238741], + [44.0089613199234, 36.180224561808835], + [44.00924026966095, 36.18026353149047], + [44.01077449321747, 36.180287346286356], + [44.011973440647125, 36.1802851813052], + [44.01241332292557, 36.18031332605543], + [44.012214839458466, 36.180910858366516], + [44.011890292167664, 36.18258002773903], + [44.011600613594055, 36.18371010665583], + [44.011348485946655, 36.18490511490117], + [44.01123449206352, 36.1849754726082], + [44.01115134358406, 36.185030676303306] + ] } - }, - { - "name": "Down Town -> Havalan", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, - { - "name": "Rizagari hospital", - "id": 3, - "coordinates": null - }, - { - "name": "Havbalan", - "id": 4, - "coordinates": null - }, - { - "name": "Sarwaran", - "id": 5, - "coordinates": null - }, - { - "name": "Minara", - "id": 6, - "coordinates": null - }, - { - "name": "Chwarchra", - "id": 7, - "coordinates": null - }, - { - "name": "Minara Bazar", - "id": 8, - "coordinates": null - }, - { - "name": "Kamaran City", - "id": 9, - "coordinates": null - }, - { - "name": "Suq Markazi Hawre", - "id": 10, - "coordinates": null - }, - { - "name": "5 Hasarok", - "id": 11, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.017066955566406, 36.18437255913077], - [44.017860889434814, 36.185342414086634], - [44.019169807434075, 36.18806140770216], - [44.01947021484375, 36.19000101425099], - [44.020349979400635, 36.1903820027498], - [44.026358127593994, 36.19133446588785], - [44.03575658798218, 36.192806431587904], - [44.03620719909668, 36.19271984613617], - [44.0366792678833, 36.19291033400358], - [44.04200077056885, 36.19370691461029], - [44.052386283874505, 36.195109569458914], - [44.06541109085083, 36.196806575067825], - [44.06961679458618, 36.19739532352179], - [44.06991720199585, 36.19722216267137], - [44.06998157501221, 36.196806575067825], - [44.06968116760254, 36.19644293410516], - [44.06935930252075, 36.19614855685072], - [44.069037437438965, 36.196131240507164], - [44.0686297416687, 36.196373668968405], - [44.06837224960327, 36.19753385192636], - [44.068286418914795, 36.19838233305598], - [44.06845808029175, 36.1987113334689], - [44.06886577606201, 36.198815228048886], - [44.06940221786499, 36.198676701911594], - [44.0697455406189, 36.198347701353136], - [44.070003032684326, 36.1980013834822], - [44.06983137130737, 36.19779359202429], - [44.06865119934081, 36.19746458775471], - [44.06466007232666, 36.1969797368374], - [44.05970335006714, 36.19621782218663], - [44.05762195587158, 36.19595807686101], - [44.057815074920654, 36.195542482547694], - [44.05798673629761, 36.194711287303235], - [44.058018922805786, 36.19442556190005], - [44.05474662780762, 36.19405325147695], - [44.054768085479736, 36.193940692163295], - [44.05318021774292, 36.19371557305063], - [44.053072929382324, 36.1939666674039], - [44.05167818069458, 36.19374154836589], - [44.05025124549866, 36.19356837943473], - [44.04921054840088, 36.193429844014034], - [44.04891014099121, 36.19230423463516], - [44.05290126800537, 36.192321551825074], - [44.060068130493164, 36.191905938210134], - [44.0616774559021, 36.19183666905985], - [44.061806201934814, 36.19019150873207], - [44.06094789505005, 36.186918402777444], - [44.060046672821045, 36.18310826589031], - [44.05890941619873, 36.17872637935075], - [44.0582013130188, 36.17626687319532], - [44.057278633117676, 36.172698719979536], - [44.0571928024292, 36.17261211229926], - [44.05698895454406, 36.17267273768551], - [44.05625939369202, 36.17310577479473], - [44.05631303787231, 36.17297586391322], - [44.057031869888306, 36.17241291427134], - [44.05842661857605, 36.171226376396866], - [44.059263467788696, 36.170446889183495], - [44.058802127838135, 36.16862805553478], - [44.05846953392028, 36.167432799010996], - [44.05811548233032, 36.16663595120192], - [44.05683875083923, 36.16455717965497], - [44.056766331195824, 36.16443808169871], - [44.05596971511841, 36.16477805174944], - [44.054290652275085, 36.1655597607316], - [44.05327945947647, 36.16604047540352], - [44.05079573392868, 36.16714913944237], - [44.05071794986725, 36.16705386424245], - [44.0525096654892, 36.166226697412085], - [44.05681729316711, 36.16428000595002], - [44.058330059051514, 36.16357840562916], - [44.05995011329651, 36.166653274066526], - [44.06013250350952, 36.16672256548662], - [44.06408071517944, 36.16648870669823], - [44.07556056976318, 36.16611626348364], - [44.07887578010559, 36.165934371968206], - [44.07886505126953, 36.166064294522315], - [44.07832860946655, 36.16611626348364], - [44.0787148475647, 36.170689397147356], - [44.07892942428589, 36.172698719979536], - [44.07723426818848, 36.172750684541775], - [44.07721281051635, 36.17337425660069], - [44.076032638549805, 36.173391577975934], - [44.07596826553345, 36.1728372920689], - [44.0645956993103, 36.173253006866744], - [44.063576459884644, 36.17102717484652], - [44.06241774559021, 36.16842018614435], - [44.06160235404968, 36.16671390406246], - [44.060035943984985, 36.16684382532443], - [44.06193494796753, 36.17101851389807], - [44.05745029449463, 36.17280264906953] - ] - } + } +}, { + "name": "Down Town -> Havalan", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, { + "name": "Rizagari hospital", + "id": 3, + "coordinates": null + }, { + "name": "Havbalan", + "id": 4, + "coordinates": null + }, { + "name": "Sarwaran", + "id": 5, + "coordinates": null + }, { + "name": "Minara", + "id": 6, + "coordinates": null + }, { + "name": "Chwarchra", + "id": 7, + "coordinates": null + }, { + "name": "Minara Bazar", + "id": 8, + "coordinates": null + }, { + "name": "Kamaran City", + "id": 9, + "coordinates": null + }, { + "name": "Suq Markazi Hawre", + "id": 10, + "coordinates": null + }, { + "name": "5 Hasarok", + "id": 11, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.017066955566406, 36.18437255913077], + [44.017860889434814, 36.185342414086634], + [44.019169807434075, 36.18806140770216], + [44.01947021484375, 36.19000101425099], + [44.020349979400635, 36.1903820027498], + [44.026358127593994, 36.19133446588785], + [44.03575658798218, 36.192806431587904], + [44.03620719909668, 36.19271984613617], + [44.0366792678833, 36.19291033400358], + [44.04200077056885, 36.19370691461029], + [44.052386283874505, 36.195109569458914], + [44.06541109085083, 36.196806575067825], + [44.06961679458618, 36.19739532352179], + [44.06991720199585, 36.19722216267137], + [44.06998157501221, 36.196806575067825], + [44.06968116760254, 36.19644293410516], + [44.06935930252075, 36.19614855685072], + [44.069037437438965, 36.196131240507164], + [44.0686297416687, 36.196373668968405], + [44.06837224960327, 36.19753385192636], + [44.068286418914795, 36.19838233305598], + [44.06845808029175, 36.1987113334689], + [44.06886577606201, 36.198815228048886], + [44.06940221786499, 36.198676701911594], + [44.0697455406189, 36.198347701353136], + [44.070003032684326, 36.1980013834822], + [44.06983137130737, 36.19779359202429], + [44.06865119934081, 36.19746458775471], + [44.06466007232666, 36.1969797368374], + [44.05970335006714, 36.19621782218663], + [44.05762195587158, 36.19595807686101], + [44.057815074920654, 36.195542482547694], + [44.05798673629761, 36.194711287303235], + [44.058018922805786, 36.19442556190005], + [44.05474662780762, 36.19405325147695], + [44.054768085479736, 36.193940692163295], + [44.05318021774292, 36.19371557305063], + [44.053072929382324, 36.1939666674039], + [44.05167818069458, 36.19374154836589], + [44.05025124549866, 36.19356837943473], + [44.04921054840088, 36.193429844014034], + [44.04891014099121, 36.19230423463516], + [44.05290126800537, 36.192321551825074], + [44.060068130493164, 36.191905938210134], + [44.0616774559021, 36.19183666905985], + [44.061806201934814, 36.19019150873207], + [44.06094789505005, 36.186918402777444], + [44.060046672821045, 36.18310826589031], + [44.05890941619873, 36.17872637935075], + [44.0582013130188, 36.17626687319532], + [44.057278633117676, 36.172698719979536], + [44.0571928024292, 36.17261211229926], + [44.05698895454406, 36.17267273768551], + [44.05625939369202, 36.17310577479473], + [44.05631303787231, 36.17297586391322], + [44.057031869888306, 36.17241291427134], + [44.05842661857605, 36.171226376396866], + [44.059263467788696, 36.170446889183495], + [44.058802127838135, 36.16862805553478], + [44.05846953392028, 36.167432799010996], + [44.05811548233032, 36.16663595120192], + [44.05683875083923, 36.16455717965497], + [44.056766331195824, 36.16443808169871], + [44.05596971511841, 36.16477805174944], + [44.054290652275085, 36.1655597607316], + [44.05327945947647, 36.16604047540352], + [44.05079573392868, 36.16714913944237], + [44.05071794986725, 36.16705386424245], + [44.0525096654892, 36.166226697412085], + [44.05681729316711, 36.16428000595002], + [44.058330059051514, 36.16357840562916], + [44.05995011329651, 36.166653274066526], + [44.06013250350952, 36.16672256548662], + [44.06408071517944, 36.16648870669823], + [44.07556056976318, 36.16611626348364], + [44.07887578010559, 36.165934371968206], + [44.07886505126953, 36.166064294522315], + [44.07832860946655, 36.16611626348364], + [44.0787148475647, 36.170689397147356], + [44.07892942428589, 36.172698719979536], + [44.07723426818848, 36.172750684541775], + [44.07721281051635, 36.17337425660069], + [44.076032638549805, 36.173391577975934], + [44.07596826553345, 36.1728372920689], + [44.0645956993103, 36.173253006866744], + [44.063576459884644, 36.17102717484652], + [44.06241774559021, 36.16842018614435], + [44.06160235404968, 36.16671390406246], + [44.060035943984985, 36.16684382532443], + [44.06193494796753, 36.17101851389807], + [44.05745029449463, 36.17280264906953] + ] } - }, - { - "name": "Down Town -> Setaqan, Langa", - "way": [ - { - "name": "Down Town", - "id": 0, - "coordinates": null, - "is_start": true - }, - { - "name": "Garaki Setaqan", - "id": 1, - "coordinates": null - }, - { - "name": "Garaki Xabat", - "id": 2, - "coordinates": null - }, - { - "name": "Rizgari Hospital", - "id": 3, - "coordinates": null - }, - { - "name": "Langa Bazar", - "id": 4, - "coordinates": null - }, - { - "name": "Mamostayan 2", - "id": 5, - "coordinates": null - }, - { - "name": "Badawa", - "id": 6, - "coordinates": null - }, - { - "name": "Mufti", - "id": 7, - "coordinates": null - }, - { - "name": "Eskan", - "id": 8, - "coordinates": null - }, - { - "name": "Garaki Ronaki", - "id": 9, - "coordinates": null - }, - { - "name": "Garaki Komari", - "id": 10, - "coordinates": null - }, - { - "name": "Erbil Civilization museum", - "id": 11, - "coordinates": null - }, - { - "name": "Saydawa.", - "id": 12, - "coordinates": null, - "is_end": true - } - ], - "availability": "0600-1800", - "path": { - "type": "Feature", - "properties": {}, - "geometry": { - "type": "LineString", - "coordinates": [ - [44.01711523532867, 36.18413009351546], - [44.017624855041504, 36.18496573077562], - [44.01846706867218, 36.186325245920294], - [44.019083976745605, 36.18757216899977], - [44.01949167251586, 36.18892947416086], - [44.01954799890518, 36.18925418482734], - [44.01953995227814, 36.18965249473957], - [44.019499719142914, 36.190035649645644], - [44.019499719142914, 36.19008110857791], - [44.02015954256058, 36.19025861463211], - [44.02149260044098, 36.19053353175122], - [44.02274519205093, 36.19074567186058], - [44.02459055185318, 36.190994611051984], - [44.02575999498367, 36.19112882141816], - [44.026763141155236, 36.191310654450575], - [44.028179347515106, 36.19156175651552], - [44.02971088886261, 36.191804199124576], - [44.03140068054199, 36.192085604783095], - [44.03305828571319, 36.19234319830709], - [44.035332798957825, 36.19271984613617], - [44.03566002845764, 36.19275339801007], - [44.03607174754143, 36.19282050171476], - [44.037013202905655, 36.192967696736524], - [44.03800696134567, 36.19312463230053], - [44.038226902484894, 36.19314627856055], - [44.038889408111565, 36.19314411393483], - [44.039455354213715, 36.19320255880857], - [44.03997838497162, 36.19325450977084], - [44.04043972492218, 36.19308350439004], - [44.0408393740654, 36.19287786451348], - [44.04130071401596, 36.19262243738853], - [44.04148042201996, 36.192341033659154], - [44.04148578643799, 36.192079110817765], - [44.04139995574951, 36.19168081324769], - [44.04137045145035, 36.19136910069278], - [44.04123902320862, 36.19091668234673], - [44.040831327438354, 36.18967630668102], - [44.04023051261902, 36.18746825950138], - [44.03977453708649, 36.18555023858626], - [44.03912007808685, 36.18281383850769], - [44.03868556022644, 36.18101261160303], - [44.03824567794799, 36.1790078319981], - [44.038057923316956, 36.17813749054076], - [44.037843346595764, 36.1764920424624], - [44.03773605823517, 36.174500138027824], - [44.03765559196472, 36.173395908319144], - [44.03761804103851, 36.17233280187821], - [44.037419557571404, 36.17045988070058], - [44.037054777145386, 36.169108751388514], - [44.03627693653107, 36.167519412415146], - [44.03539180755615, 36.16625051647429], - [44.03428673744201, 36.164886322156676], - [44.03302609920502, 36.16314531587685], - [44.03250575065613, 36.16252599337376], - [44.03192102909088, 36.16209722877464], - [44.03169840574264, 36.16204958811886], - [44.03147041797638, 36.162157862294656], - [44.03076767921448, 36.162790180494476], - [44.029850363731384, 36.16367801593374], - [44.02912348508835, 36.16447705923161], - [44.02876138687134, 36.164864668087205], - [44.028447568416595, 36.16537137174527], - [44.028227627277374, 36.16571025505626], - [44.02795806527138, 36.16600691208746], - [44.027575850486755, 36.16643348993804], - [44.027182906866074, 36.16685898279097], - [44.02666255831718, 36.16742305499704], - [44.026249498128884, 36.16786694773677], - [44.0256741642952, 36.16848189742718], - [44.025192707777016, 36.169012395924355], - [44.024703204631805, 36.169540725552665], - [44.0241613984108, 36.17015349684906], - [44.02367055416107, 36.170720793212816], - [44.02312070131302, 36.171328142210896], - [44.022739827632904, 36.17183372147668], - [44.02249172329903, 36.17221696354331], - [44.02203172445297, 36.17290549542915], - [44.02159854769707, 36.17353339659175], - [44.021279364824295, 36.1739891630773], - [44.021027237176895, 36.1743474954361], - [44.020722806453705, 36.17477078018993], - [44.02018368244171, 36.17550042680167], - [44.01953458786011, 36.17636646737403], - [44.01950776576996, 36.17639786116499], - [44.01955336332321, 36.1764974551772], - [44.019499719142914, 36.17663710308982], - [44.01933073997497, 36.17669772536199], - [44.01919662952423, 36.17683737291767], - [44.01910275220871, 36.176914233094045], - [44.018943160772324, 36.177018156592936], - [44.0185421705246, 36.17738513534553], - [44.01620328426361, 36.179484134174785], - [44.015350341796875, 36.18023322173974], - [44.014347195625305, 36.18112951941374], - [44.01416480541229, 36.18130704575565], - [44.01493459939957, 36.18185261199583], - [44.01566416025161, 36.18245879225089], - [44.01644468307495, 36.18326197386364], - [44.01685506105423, 36.18378154787854], - [44.01710953563451, 36.18412901107801] - ] - } + } +}, { + "name": "Down Town -> Setaqan, Langa", + "way": [{ + "name": "Down Town", + "id": 0, + "coordinates": null, + "is_start": true + }, { + "name": "Garaki Setaqan", + "id": 1, + "coordinates": null + }, { + "name": "Garaki Xabat", + "id": 2, + "coordinates": null + }, { + "name": "Rizgari Hospital", + "id": 3, + "coordinates": null + }, { + "name": "Langa Bazar", + "id": 4, + "coordinates": null + }, { + "name": "Mamostayan 2", + "id": 5, + "coordinates": null + }, { + "name": "Badawa", + "id": 6, + "coordinates": null + }, { + "name": "Mufti", + "id": 7, + "coordinates": null + }, { + "name": "Eskan", + "id": 8, + "coordinates": null + }, { + "name": "Garaki Ronaki", + "id": 9, + "coordinates": null + }, { + "name": "Garaki Komari", + "id": 10, + "coordinates": null + }, { + "name": "Erbil Civilization museum", + "id": 11, + "coordinates": null + }, { + "name": "Saydawa.", + "id": 12, + "coordinates": null, + "is_end": true + }], + "availability": "0600-1800", + "path": { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "LineString", + "coordinates": [ + [44.01711523532867, 36.18413009351546], + [44.017624855041504, 36.18496573077562], + [44.01846706867218, 36.186325245920294], + [44.019083976745605, 36.18757216899977], + [44.01949167251586, 36.18892947416086], + [44.01954799890518, 36.18925418482734], + [44.01953995227814, 36.18965249473957], + [44.019499719142914, 36.190035649645644], + [44.019499719142914, 36.19008110857791], + [44.02015954256058, 36.19025861463211], + [44.02149260044098, 36.19053353175122], + [44.02274519205093, 36.19074567186058], + [44.02459055185318, 36.190994611051984], + [44.02575999498367, 36.19112882141816], + [44.026763141155236, 36.191310654450575], + [44.028179347515106, 36.19156175651552], + [44.02971088886261, 36.191804199124576], + [44.03140068054199, 36.192085604783095], + [44.03305828571319, 36.19234319830709], + [44.035332798957825, 36.19271984613617], + [44.03566002845764, 36.19275339801007], + [44.03607174754143, 36.19282050171476], + [44.037013202905655, 36.192967696736524], + [44.03800696134567, 36.19312463230053], + [44.038226902484894, 36.19314627856055], + [44.038889408111565, 36.19314411393483], + [44.039455354213715, 36.19320255880857], + [44.03997838497162, 36.19325450977084], + [44.04043972492218, 36.19308350439004], + [44.0408393740654, 36.19287786451348], + [44.04130071401596, 36.19262243738853], + [44.04148042201996, 36.192341033659154], + [44.04148578643799, 36.192079110817765], + [44.04139995574951, 36.19168081324769], + [44.04137045145035, 36.19136910069278], + [44.04123902320862, 36.19091668234673], + [44.040831327438354, 36.18967630668102], + [44.04023051261902, 36.18746825950138], + [44.03977453708649, 36.18555023858626], + [44.03912007808685, 36.18281383850769], + [44.03868556022644, 36.18101261160303], + [44.03824567794799, 36.1790078319981], + [44.038057923316956, 36.17813749054076], + [44.037843346595764, 36.1764920424624], + [44.03773605823517, 36.174500138027824], + [44.03765559196472, 36.173395908319144], + [44.03761804103851, 36.17233280187821], + [44.037419557571404, 36.17045988070058], + [44.037054777145386, 36.169108751388514], + [44.03627693653107, 36.167519412415146], + [44.03539180755615, 36.16625051647429], + [44.03428673744201, 36.164886322156676], + [44.03302609920502, 36.16314531587685], + [44.03250575065613, 36.16252599337376], + [44.03192102909088, 36.16209722877464], + [44.03169840574264, 36.16204958811886], + [44.03147041797638, 36.162157862294656], + [44.03076767921448, 36.162790180494476], + [44.029850363731384, 36.16367801593374], + [44.02912348508835, 36.16447705923161], + [44.02876138687134, 36.164864668087205], + [44.028447568416595, 36.16537137174527], + [44.028227627277374, 36.16571025505626], + [44.02795806527138, 36.16600691208746], + [44.027575850486755, 36.16643348993804], + [44.027182906866074, 36.16685898279097], + [44.02666255831718, 36.16742305499704], + [44.026249498128884, 36.16786694773677], + [44.0256741642952, 36.16848189742718], + [44.025192707777016, 36.169012395924355], + [44.024703204631805, 36.169540725552665], + [44.0241613984108, 36.17015349684906], + [44.02367055416107, 36.170720793212816], + [44.02312070131302, 36.171328142210896], + [44.022739827632904, 36.17183372147668], + [44.02249172329903, 36.17221696354331], + [44.02203172445297, 36.17290549542915], + [44.02159854769707, 36.17353339659175], + [44.021279364824295, 36.1739891630773], + [44.021027237176895, 36.1743474954361], + [44.020722806453705, 36.17477078018993], + [44.02018368244171, 36.17550042680167], + [44.01953458786011, 36.17636646737403], + [44.01950776576996, 36.17639786116499], + [44.01955336332321, 36.1764974551772], + [44.019499719142914, 36.17663710308982], + [44.01933073997497, 36.17669772536199], + [44.01919662952423, 36.17683737291767], + [44.01910275220871, 36.176914233094045], + [44.018943160772324, 36.177018156592936], + [44.0185421705246, 36.17738513534553], + [44.01620328426361, 36.179484134174785], + [44.015350341796875, 36.18023322173974], + [44.014347195625305, 36.18112951941374], + [44.01416480541229, 36.18130704575565], + [44.01493459939957, 36.18185261199583], + [44.01566416025161, 36.18245879225089], + [44.01644468307495, 36.18326197386364], + [44.01685506105423, 36.18378154787854], + [44.01710953563451, 36.18412901107801] + ] } } -] +}] \ No newline at end of file From 3748f86e5b38ead4b7f17e76fa09fd4a44783e96 Mon Sep 17 00:00:00 2001 From: Wisam Naji Date: Mon, 24 Aug 2020 15:49:06 +0300 Subject: [PATCH 9/9] refactored route page --- src/pages/route.js | 136 +++++++++++++++++++-------------------------- 1 file changed, 56 insertions(+), 80 deletions(-) diff --git a/src/pages/route.js b/src/pages/route.js index 711c71e..48df2fe 100644 --- a/src/pages/route.js +++ b/src/pages/route.js @@ -11,89 +11,27 @@ export default function Routedetails() { const [viewport, setViewport] = useState({ latitude: 36.206291, longitude: 44.008869, - // width: '100%', - // height: '100%', + width: '100%', + height: '250px', zoom: 11, }); + const [route, setRoute] = useState(); + useEffect(() => { - routesRef - .doc(id) - .get() - .then((document) => { - const route = document.data(); - const path = JSON.parse(route.path); - const coordinates = path.geometry.coordinates; - const start = { - type: 'Feature', - properties: { type: 'start' }, - geometry: { - type: 'Point', - coordinates: coordinates[0], - }, - }; - const end = { - type: 'Feature', - properties: { type: 'end' }, - geometry: { - type: 'Point', - coordinates: coordinates[coordinates.length - 1], - }, - }; - route.path = { - type: 'FeatureCollection', - features: [path, start, end], - }; - // route.path = - // { - // type: 'FeatureCollection', - // features: [ - // { - // type: 'Feature', - // properties: {}, - // geometry: { - // type: 'LineString', - // coordinates: [ - // [44.00972843170166, 36.210035031115694], - // [44.00852680206299, 36.19753385192636], - // [44.01170253753662, 36.19043395558332], - // [44.01994228363037, 36.18936025668664], - // [44.01994228363037, 36.20044289180151], - // [44.01547908782959, 36.20106624342554], - // [44.014620780944824, 36.19878059653753], - // ], - // }, - // }, - // { - // type: 'Feature', - // properties: { type: 'start' }, - // geometry: { - // type: 'Point', - // coordinates: [44.014577865600586, 36.198745965010886], - // }, - // }, - // { - // type: 'Feature', - // properties: { type: 'end' }, - // geometry: { - // type: 'Point', - // coordinates: [44.0097713470459, 36.21000040456822], - // }, - // }, - // ], - // }; - bussesRef - .where('route_id', '==', id) - .limit(1) - .get() - .then((document) => { - const bus = document.docs[0].data(); - route.bus = bus; - console.log(JSON.stringify(route)); - setRoute(route); - }); - }); - }, []); + getRoute(id).then((route) => { + if (route) { + _mapRef.current + .getMap() + .fitBounds([ + route.path.features[1].geometry.coordinates, + route.path.features[2].geometry.coordinates, + ]); + setRoute(route); + } + }); + }, [id]); + const _mapRef = useRef(); useEffect(() => { @@ -120,7 +58,7 @@ export default function Routedetails() { ref={_mapRef} mapboxApiAccessToken={process.env.REACT_APP_MAPBOX_TOKEN} onViewportChange={(viewport) => { - setViewport({ ...viewport, width: '100%', height: '100%' }); + setViewport({ ...viewport, width: '100%', height: '250px' }); }} mapStyle="mapbox://styles/shna/ckd4x2xmy02kh1ir3hihcr36m" > @@ -189,3 +127,41 @@ export default function Routedetails() {
); } + +async function getRoute(id) { + if (window.isJest) return null; + const document = await routesRef.doc(id).get(); + const route = document.data(); + const path = JSON.parse(route.path); + const coordinates = path.geometry.coordinates; + const start = { + type: 'Feature', + properties: { type: 'start' }, + geometry: { + type: 'Point', + coordinates: coordinates[0], + }, + }; + const end = { + type: 'Feature', + properties: { type: 'end' }, + geometry: { + type: 'Point', + coordinates: coordinates[coordinates.length - 1], + }, + }; + route.path = { + type: 'FeatureCollection', + features: [path, start, end], + }; + + route.buses = []; + + const busesDocs = await bussesRef.where('route_id', '==', id).get(); + + busesDocs.forEach((doc) => { + route.buses.push({ id: doc.id, ...doc.data() }); + }); + + return route; +}