Skip to content

Instantly share code, notes, and snippets.

@jnsprnw
Last active April 17, 2019 07:51
Show Gist options
  • Save jnsprnw/be13f3557751410371a6b3c8041e1973 to your computer and use it in GitHub Desktop.
Save jnsprnw/be13f3557751410371a6b3c8041e1973 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny" width="800" height="1889" viewBox="0 0 800 1889" stroke-linecap="round" stroke-linejoin="round">
<g id="map1" fill="none" stroke="black" stroke-width="1">
<path d="M 1.0725 1 126.0216 18.7998 145.2904 22.9348 152.5641 27.5195 155.1201 34.0823 153.6462 43.0717 144.3002 93.4302 139.8823 117.2378 124.4486 149.6926 115.0107 196.6222 101.543 289.6763 89.8441 353.5147 89.0268 394.0992 96.6197 514.0282 98.9302 580.8058 99.7512 585.0605 103.365 659.9364 104.3589 670.83 122.2348 737.1312 127.9767 759.7418 140.2317 803.6041 151.4082 843.41 155.4683 858.0662 180.7243 914.2681 223.49 1016.1459 256.8298 1093.1473 271.8052 1128.9053 279.9639 1153.7551 290.3195 1190.0256 302.016 1227.1498 323.4357 1296.2863 333.755 1354.141 335.9047 1394.4003 337.5261 1418.6202 338.6348 1435.1831 342.1205 1439.2963 346.6146 1441.9828 355.9703 1442.6551 404.5842 1439.549 409.9959 1440.1366 414.2155 1442.5704 417.5175 1450.2105 457.9678 1556.4131 486.77 1647.257 484.2007 1689.5741 480.5324 1736.9305 479.0646 1756.2428 478.4226 1776.5635 480.2568 1838.6185 485.7604 1845.4195 493.924 1851.7175 566.1544 1862.7066 584.0546 1866.1512 667.2838 1870.1085 700.3045 1870.6961 731.8041 1878.5018 799 1887.2384" id="way/612562211"/>
<path d="M 1 1.4256 125.9309 19.2229 145.0957 23.3362 152.1712 27.7952 154.6364 34.1246 153.1807 43.0039 143.8359 93.3577 139.4277 117.1145 123.9952 149.5656 114.5452 196.5545 101.0775 289.6122 89.3738 353.4748 88.5553 394.1076 96.1494 514.0476 98.4599 580.8506 99.2821 585.1077 102.8947 659.9642 103.8922 670.9001 121.7766 737.2316 127.5184 759.8434 139.7759 803.7105 150.9512 843.5164 155.0197 858.2016 180.2866 914.4277 223.0511 1016.3031 256.3909 1093.3033 271.3591 1129.0443 279.5105 1153.8711 289.8649 1190.1393 301.5626 1227.2683 322.975 1296.3806 333.2859 1354.1869 335.4344 1394.4245 337.0557 1418.6468 338.1729 1435.3427 341.7965 1439.6179 346.4574 1442.4048 355.9679 1443.0867 404.5733 1439.9818 409.8351 1440.5525 413.8335 1442.8606 417.0762 1450.3604 457.5192 1556.5437 486.2948 1647.3066 483.7316 1689.5475 480.0621 1736.9003 478.5943 1756.2223 477.9511 1776.5635 479.7901 1838.766 485.4146 1845.7169 493.7197 1852.1237 566.0674 1863.131 583.9941 1866.5792 667.2669 1870.5389 700.2367 1871.1265 731.7086 1878.9249 798.9335 1887.6652" id="way/671984898"/>
</g>
<g id="map2">
<circle cx="134.9348" cy="858.9476" id="node/3264772161"/>
<circle cx="116.3407" cy="188.4949" id="node/6292785243"/>
<circle cx="89.2614" cy="370.6531" id="node/6292785242"/>
<circle cx="98.4079" cy="583.1877" id="node/6292785241"/>
<circle cx="110.941" cy="688.2876" id="node/6292785239"/>
<circle cx="199.4418" cy="957.0338" id="node/6292785238"/>
<circle cx="245.6025" cy="1065.5699" id="node/6292785237"/>
<circle cx="284.2875" cy="1166.3329" id="node/6292785236"/>
<circle cx="336.3134" cy="1360.6542" id="node/6292785235"/>
<circle cx="374.7506" cy="1439.6747" id="node/6292785234"/>
<circle cx="455.8616" cy="1545.0056" id="node/6292785233"/>
<circle cx="485.7362" cy="1687.3905" id="node/6292785232"/>
<circle cx="479.4056" cy="1793.0575" id="node/6292785231"/>
<circle cx="636.6934" cy="1867.295" id="node/6292785230"/>
<circle cx="798.942" cy="1887.4174" id="node/6292785229"/>
</g>
</svg>

Open https://www.openstreetmap.org/, look for the metro, right-click and ask for the object. Copy the name and go to https://overpass-turbo.eu/#.

(way["name"="ঢাকা মেট্রো লাইন ৬"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Uttara North"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Uttara Center"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Uttara South"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Pallabi"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Mirpur 11"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Mirpur-10"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Kazipara"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Shewrapara"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Agargaon"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Bijoy Sarani"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Farmgate"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Karwan Bazar"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Shahbag"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Dhaka University"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Bangladesh Secretariat"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

(node["name"="Motijheel"](23.6685719, 90.273379,24, 90.5756343);>;);
out skel;

Click on Export as GeoJSON and import that at http://geojson.io/.

Or import at https://mapshaper.org/ and export as SVG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment