Epidemiology & Technology

Making a HTML Table from GeoJSON data

GeoJSON objects have a “Type” : “FeaturesCollection” property and a “Features” property whose value is an array of objects. Each child object of this has

  • “type” = “feature”,
  • “geometry” = containes the GIS Coordinate data
  • “properties” = contains the attribute data – Name, address, contact, facilities, serivices, whjatever catches your fancy !

An example is below

{
  "type": "FeatureCollection",
    "features":
         [
                {  "type":"Feature",
                   "properties":{"stname":"Ladakh", "stcode11":"37", "Zone":1},
                    "geometry":{"type":"Polygon","coordinates":[[[76.79597690427906,33.254862798480694],[76.84001196990546,33.24745610418781],[76.82907875343152,33.21452704946003],[76.83517270517953,33.21128355907968],[76.83658734232273,33.20461563451404],[76.82127348926049,33.19289674498482],[76.82454441695303,33.1837625022087],[76.81833643027372,33.176822309329424],[76.81604718116786,33.1723212189062],[76.81716805540245,33.16847486805422],[76.81991059826144,33.16503616949572],[76.81932963969592,33.16054010868139],[76.8213461884174,33.15468154456006],[76.83511938159474,33.14094659478245],[76.84083972820888,33.140232904961266],[76.84705222641018,33.136636478494594],[76.87038777748832,33.11039282362967],[76.87826437279094,33.115211667379434],[76.88655040703043,33.11905249689351],[76.89505709806708,33.11304505985481],[76.90854560849648,33.07950106874185],[76.91415486308073,33.07452824644018],[76.91787282766556,33.06283178234805],[76.92798453369932,33.04887294447344],[76.93521995968804,33.03231268487111],[77.0161397699713,32.98801193335157],[77.02893675499011,32.99167342936302],[77.03761640193176,32.99016519617969],[77.04213234436857,32.99537268108258],[77.05304121385255,32.998076841981195],[77.09258906542823,32.97164605936291],[77.11483026163846,32.975855724586],[77.12089078141831,32.98548434729315],[77.1301082541705,32.98239095375711],[77.13781103989254,32.98096975004825],[77.14524780650457,32.982087050754075],[77.15413219109712,32.97868239361911],[77.15358933039796,32.97266893494761],[77.15201380823324,32.96770053155851],[77.15407889376561,32.95595360563208],[77.16382592236026,32.954575013653866],[77.16377759682946,32.94092047331797],[77.16377759729899,32.94092036341351],[77.16644221926798,32.93953472093297],[77.16622891786585,32.93605636261887],[77.16460543528696,32.93253108085291],[77.16688463751737,32.923923235941636],[77.16836140395793,32.91834507642732],[77.17505588381225,32.9113400189068],[77.2458971057553,32.893548099706074],[77.33915515454768,32.82015011908141],[77.35350472947295,32.816647852805914],[77.36594977231469,32.81892131673962],[77.37404789308768,32.822983881538434],[77.37713224480498,32.83588641765323],[77.38027230431945,32.84433670269094],[77.37742721614602,32.849358076233834],[77.3763469516513,32.8541615149721],[77.37731031265463,32.857343296795506],[77.38071175337957,32.861285727942146],[77.38888707496452,32.865171027255336],[77.39708019765577,32.87859657305176],[77.47291396069852,32.85938140984992],[77.53736082743465,32.88498576414252],[77.59946051165188,32.936819774641314],[77.67130807005952,32.956935323614566],[77.67801964773533,32.966502710424955],[77.68112974592349,32.973471799388335],[77.6832842425735,32.98359280821521],[77.68894579466273,32.9838301426281],[77.69606996301745,32.97825623455146],[77.69755483823944,32.975320179155844],[77.71308900425588,32.975329075059825],[77.71794574636954,32.96653942868989],[77.72638118169593,32.964810479213526],[77.73056538418655,32.96929088570558],[77.74121387825663,32.96182792148711],[77.75447011890105,32.94530191480828],[77.77757308929931,32.924785692214805],[77.7960235185658,32.91312044279028],[77.80814363961017,32.902737070477215],[77.79068905905186,32.88822093933181],[77.78389287046515,32.87760086551866],[77.77930439284856,32.86211676103656],[77.84295614281088,32.837064479059],[77.86545975546355,32.825568336071335],[77.87039595481016,32.82232830927196],[77.87281631299834,32.81833360216445],[77.87910792057387,32.813288555608416],[77.8816589932367,32.808572845972044],[77.88236851524276,32.80362470006305],[77.88681180914844,32.7974651943282],[77.8847719307777,32.78737470089272],[77.88477191640483,32.78737460166211],[77.89003509348531,32.7833244107556],[77.89407263059294,32.7770774135802],[77.89866452678763,32.772463958738264],[77.90865045975929,32.77155342275284],[77.91728569459646,32.772356753450296],[77.93290595230644,32.763076449794056],[77.93569223951712,32.7539133656917],[77.92954814266119,32.73348222724416],[77.93616436493973,32.727760792294816],[77.92973252457115,32.72272274911791],[77.92711748604829,32.71835448914664],[77.92613740426907,32.71335202060756],[77.92392038881864,32.70930214812208],[77.92085922511562,32.69002444071484],[77.92857774744428,32.68509351674193],[77.93781989332882,32.67640839093163],[77.99415769106687,32.58868209037253],[78.05328338573062,32.58863860461027],[78.05912613375685,32.59592658922557],[78.05900046008719,32.6019990704096],[78.05900041519983,32.60199912261832],[78.05900041363157,32.60199921897258],[78.05429027665944,32.60757253286737],[78.05197210991116,32.61236439722036],[78.06167120224332,32.625547540743234],[78.07658878060325,32.62128814368608],[78.08289786478518,32.62097907806499],[78.08502524865513,32.62231281637109],[78.09056623758087,32.641114752832806],[78.11104328906953,32.65886276775268],[78.11693235763104,32.65668393375897],[78.1337989459856,32.639086501960776],[78.15371867793878,32.66700949697526],[78.20167283477076,32.66050230101061],[78.31360850719051,32.709415192571036],[78.31645911478405,32.71635204795128],[78.30558069959882,32.73447021089327],[78.33191446349268,32.74561501771537],[78.36274687488691,32.760053143527365],[78.39080102866757,32.7567455239478],[78.38871720200459,32.742433878216275],[78.38918281611278,32.730272907270624],[78.39575122339559,32.715857116795526],[78.38098156011394,32.66849630018117],[78.38870546888822,32.63460693414146],[78.39366141856287,32.626049587820965],[78.40656732231275,32.61965934103336],[78.3947945627686,32.6113133547024],[78.35829250343967,32.58949009441311],[78.34939954407699,32.581300414951606],[78.33560970279994,32.57663928270812],[78.31998287440689,32.575141002091854],[78.31422977145527,32.57395073834479],[78.31669669899748,32.52565580420816],[78.31254989845793,32.51884286321967],[78.29598167363804,32.504317787329356],[78.29598175103,32.50431770354739],[78.29598171922852,32.50431767593918],[78.32365561563458,32.47407494157135],[78.32782320125811,32.47224773487125],[78.37387952925137,32.50898582477548],[78.39423034385416,32.52237081642013],[78.3999842569464,32.525973098925995],[78.40545133199007,32.52877207258015],[78.44386024209992,32.56992120513658],[78.53573562577277,32.60864849414034],[78.58813759270471,32.61590651517873],[78.61903629563623,32.59606756081054],[78.66206537546928,32.653568774171184],[78.74957270181964,32.681579081375915],[78.79251500700458,32.61843256816669],[78.77641638931314,32.57313998543517],[78.82722373037777,32.43870562695521],[78.85886607459659,32.44064517942972],[78.90347371058192,32.3928686358118],[78.96014947392506,32.36697245155681],[79.06057590757655,32.390574761301224],[79.11509357837737,32.38422396561386],[79.14725012322042,32.437022394637495],[79.13196265289457,32.47086607264623],[79.19513542014515,32.482998610750066],[79.27716146606531,32.53399917864364],[79.33950806017519,32.59201201700474],[79.39452993584969,32.57230893651433],[79.39943242652319,32.537063643479115],[79.44812866496142,32.53251729707122],[79.46980970727245,32.576307420354624],[79.51574063363391,32.6081197448112],[79.62689617443738,32.73753783398427],[79.57326021617344,32.78243392131518],[79.46404399111374,32.920073447957364],[79.42230992015168,32.9615381740164],[79.38347320496598,32.97230704951291],[79.33555311778898,33.016331571434215],[79.38231754792649,33.02772084276185],[79.37739113203845,33.08473647175211],[79.43827688424282,33.18983215515056],[79.45490562889323,33.258548288142094],[79.36578697599703,33.282711224748525],[79.32757150570792,33.27258610056751],[79.24062408770462,33.29780628455271],[79.09732224324236,33.29459687332271],[78.99344870767108,33.3307818262686],[78.9333478921973,33.4327962647411],[78.94058998421771,33.526554154183195],[78.91532577832865,33.57598325087568],[78.91924642247137,33.633580162633244],[78.98991795692018,33.61118729476134],[79.03015237401748,33.626116258040945],[79.10546191493518,33.613658027027],[79.09212214588986,33.67952878121446],[79.02052211468319,33.705737397410395],[79.02020254300767,33.77573030735471],[78.90568264765476,33.97620644464591],[78.94056395356147,34.024008339682446],[79.01477244528314,34.05030265308109],[79.08409547682255,34.021895219292425],[79.1980540306707,34.0512430543551],[79.37565229945929,34.03339595864461],[79.43420375087555,34.09331159934087],[79.49473993997596,34.1358784118906],[79.49477824974896,34.17997126521751],[79.58423179950475,34.23835634641524],[79.5921621464757,34.28165232508332],[79.5595684322937,34.3324320757638],[79.55960137362183,34.411181674822046],[79.5281389384016,34.41798528895243],[79.50851027830846,34.47427970602431],[79.58021393535392,34.48992997573731],[79.73339524137273,34.47832790115292],[79.79403280755733,34.48505450506551],[79.81029071160751,34.53130810204496],[79.75846108342344,34.55471612472599],[79.79252091248712,34.592587643483796],[79.77197666068489,34.622474881796684],[79.86066619206638,34.688754365162865],[79.94456097731843,34.681062973779405],[80.0690400166529,34.71477705637766],[80.07314951550605,34.82843171350895],[80.12367353778313,34.89342733783887],[80.17089088001066,34.988860502680886],[80.1858740132021,35.063219297858815],[80.18353720607226,35.166730839978676],[80.22868929287365,35.228095782807735],[80.23566987213817,35.27662840159078],[80.28354950164005,35.38787662121104],[80.28107723026673,35.440859823044505],[80.32864389972423,35.472575952844586],[80.29467636123915,35.60239585680297],[80.23733566199562,35.64193566826117],[80.11542339740926,35.67698453456889],[80.0582352180671,35.749937000508595],[80.0382387103896,35.7997621800829],[79.99917735223956,35.837752876823856],[79.91855292271856,35.822250277989625],[79.86887729768546,35.78282797383419],[79.74604896693648,35.80032187510489],[79.66550613367063,35.835271649443435],[79.55985894899938,35.86176971353729],[79.5183740444988,35.88351406102965],[79.42563405317834,35.89512433243894],[79.40314107926112,35.91879233232079],[79.38681724704485,35.99046604842949],[79.24182124268633,35.986752018020155],[79.18980941300957,35.94719526204639],[79.1802710658154,35.87024624471515],[79.1176676941185,35.83662276845977],[79.00854539971189,35.85401885511979],[78.93991393008874,35.87957658621909],[78.80445036776378,35.8557997503794],[78.76877342796796,35.8696695456951],[78.65819275560946,35.853954406328626],[78.5212694419682,35.763769319897946],[78.42322140305181,35.785320638654014],[78.39054952855334,35.73838721411254],[78.33885784739617,35.72055421925664],[78.27334212768733,35.721954010556665],[78.27207432972997,35.66889037687057],[78.19980139670993,35.65362419305003],[78.1664842492426,35.61317257246905],[78.1373162008438,35.538868954081046],[78.07771099930879,35.54915714871427],[78.04631883259061,35.585324373164546],[77.96730790136166,35.57497332573527],[77.90595876654547,35.46931743439588],[77.8256576245182,35.51043717761718],[77.72545789083132,35.47709161415469],[77.62402892905263,35.47209307736822],[77.51687083386719,35.48860561351742],[77.45059581181273,35.46289466835352],[77.37779990680819,35.47836330091007],[77.3222283173372,35.53680363054184],[77.37839425471387,35.55034813613474],[77.44023074103383,35.51805896013852],[77.47241449934337,35.52111366077504],[77.43791171864635,35.64108992203106],[77.3584377052535,35.71772001279401],[77.22458208300533,35.71497804751175],[77.17531648254227,35.73172848492575],[77.11953618561402,35.79641395514843],[77.03332096103455,35.776417362139085],[76.93522436199959,35.784056919295466],[76.80377935341984,35.85041174657719],[76.78568156400345,35.88994448353413],[76.72277072589053,35.95343050755447],[76.80072846476477,36.04899255815811],[76.72600343894013,36.078477062044385],[76.69727329534693,36.135897055217285],[76.63727976534578,36.18492417959965],[76.60116467338793,36.1655488668669],[76.4817067808312,36.211409320781314],[76.4320039718477,36.30816098044929],[76.35240797196786,36.35987386265952],[76.25476112729723,36.34779368093229],[76.17313488341357,36.390301951930866],[76.06922719158288,36.477546382306706],[75.92336175856188,36.502447732028216],[75.74833318374289,36.588406418529736],[75.67518963210368,36.6960314579222],[75.61647857049468,36.76159959770575],[75.47899126120402,36.80677204970712],[75.4480511190219,36.88036453369367],[75.34519657668848,37.00306946943975],[75.34493034737604,37.051372194392165],[75.26496179244819,37.05192516396371],[75.20228820359311,37.02110691445186],[75.13584433123853,36.95736354413887],[75.08707726950803,36.94291312347679],[75.01874122777068,36.976370721372746],[74.9140565914301,36.909121598164965],[74.84604631495642,36.98993811891419],[74.83386582670059,37.0248913715049],[74.72824336199241,37.02598763299153],[74.70869466164113,37.077615079493704],[74.58944326122148,37.0285800725466],[74.57869093520448,36.94859374759445],[74.533721990508,36.98609667511141],[74.429377334702,36.98979688649051],[74.26137478840475,36.8865660802223],[74.17352618903037,36.90392970234715],[74.14642766942988,36.84709397511262],[74.09268321074147,36.83858701423527],[74.05216328870742,36.80657808479107],[73.97135620435813,36.8400864461764],[73.93779995745247,36.87394947894826],[73.87877128785173,36.894402037437885],[73.71119899407745,36.912757492517514],[73.68143033904813,36.88556771378166],[73.7265064754372,36.8326900265135],[73.86360160484638,36.78824376342917],[73.90006689062864,36.74970075876971],[73.90080940645827,36.70671912574534],[73.80906085366026,36.71671308687412],[73.72507774203416,36.710003087103715],[73.70058044684087,36.68486784319862],[73.60746198723822,36.69851480331609],[73.43628469826754,36.744555490091514],[73.3691352265672,36.73264764591735],[73.31473586877208,36.70642031641855],[73.20985511615969,36.70192146914502],[73.08497490843651,36.68231556168462],[73.11247233219584,36.61009630370725],[73.06150484104646,36.53774244777194],[72.99252779095744,36.49688592151547],[72.99205247718909,36.45810558221932],[72.92227478107876,36.462958851048654],[72.87745053185684,36.438103167510945],[72.89009886546143,36.3978311197496],[72.83699077031649,36.366056025214775],[72.77855060943372,36.30988106312026],[72.66439251567456,36.263956500404554],[72.5970973152197,36.264249369585954],[72.55154137241006,36.181161385725574],[72.57380884850903,36.15096317697274],[72.5366006786451,36.11451870395796],[72.53173021146796,36.072412233948675],[72.59602537678535,36.02734706855505],[72.54892791183082,35.96345250329422],[72.53372479615958,35.91744113482883],[72.59503769113823,35.875630468447824],[72.64564753749302,35.866347869856064],[72.69114151679754,35.832876997020435],[72.72339901071143,35.85392290758034],[72.77729009343844,35.844024155221696],[72.79902009820556,35.86749044548151],[72.90162953508161,35.88166942365757],[72.92940957350335,35.84554029396412],[72.98791957342203,35.861241074088916],[73.03810914468235,35.85476225887742],[73.07915729302941,35.88626135072914],[73.15303416133551,35.84255830311533],[73.13497851407435,35.78548026083703],[73.13929740700975,35.71857354033518],[73.27273466624578,35.629756985455515],[73.3696866358018,35.60419176240538],[73.40682763624312,35.564011870470814],[73.481753978583,35.577282849096235],[73.55785539872454,35.55567227367985],[73.63935277606026,35.57081862956552],[73.72079024610845,35.55347405103318],[73.78604238154439,35.52433405904299],[73.79563953946572,35.461977640482935],[73.72606795981172,35.407332237669934],[73.80255559904296,35.391507208863466],[73.90430724302131,35.355756631249456],[74.02255915359073,35.35300658681761],[74.04730955347735,35.37775698670423],[74.17106155291047,35.44375805306856],[74.2893134634799,35.570260096933524],[74.36631470757162,35.482258675114416],[74.50381692916396,35.391507208863466],[74.64131915075632,35.27600534272589],[74.74307079473466,35.06975201033736],[74.6658981385432,35.00597647971701],[74.76488078356785,34.97805829778699],[74.83111193333086,35.0035318169266],[74.97631099242669,34.94239537099152],[75.09858388429686,34.822669831035306],[75.13934151492025,34.830311886777196],[75.16990973788779,34.90163774036813],[75.25142499913457,34.89144833271228],[75.26925646253231,34.94749007481944],[75.32529820463947,34.924563907593786],[75.33803496420929,34.85833275783077],[75.38133994674664,34.79719631189569],[75.38643465057456,34.60869227026251],[75.4042661139723,34.56029258389723],[75.39284159673394,34.495562028786814],[75.39994956989113,34.42271057509565],[75.43362167727241,34.3500951268833],[75.3701775542833,34.35460729052758],[75.52865176141938,34.26610839252133],[75.62498016498009,34.234624738140106],[75.68626159306244,34.231661020972155],[75.74169078054386,34.19810704228173],[75.79351223189376,34.10346331339234],[75.86307678144561,34.06993674693651],[75.94309729735794,33.98724522964044],[76.0163007453848,34.00112606924035],[76.05710041514054,33.98602159249423],[76.1104517276064,33.89464156589775],[76.19002867932431,33.82026614522317],[76.21046193292243,33.78640453927736],[76.22092030449133,33.69486775476502],[76.24957757447453,33.60845732123391],[76.31236753513116,33.622136659541106],[76.36701048143233,33.67307568547171],[76.39743677506789,33.6680189665452],[76.48465169285565,33.58498027185125],[76.58182644572338,33.515436568910935],[76.59797558609326,33.47642840696204],[76.66465127529814,33.42888143146808],[76.68669583911797,33.33898957844639],[76.75330389737353,33.32191314222719],[76.79597690427906,33.254862798480694]]]}
                },
                { "type":"Feature",
                   "properties":{"stname":"Andaman & Nicobar Island","stcode11":"35", "Zone":2},
                   "geometry":{"type":"MultiPolygon","coordinates":[[[[93.84861388352397,7.240511941073294],[93.73864250664644,7.190689919704084],[93.69123542847228,7.19085093252454],[93.65621511573505,7.126739829579492],[93.67784740013747,7.016118856200308],[93.74676860258899,6.961872622723433],[93.773564311244,6.866382707695834],[93.83509814426401,6.757034477359298],[93.85410266360708,6.815878420153012],[93.88733871780767,6.798418523296277],[93.90105844129408,6.9079270595862],[93.92668166063021,6.954783188793158],[93.93079768856256,7.010122046395395],[93.88722430156031,7.087056626462186],[93.88260671902492,7.203706274425087],[93.84861388352397,7.240511941073294]]],[[[93.71289515388833,7.443673046873641],[93.70827357746367,7.394194653760337],[93.63287730484382,7.371026646562541],[93.62945780183617,7.268895221137598],[93.64717290470583,7.24386973260215],[93.69972386306591,7.302803461910287],[93.72420376079498,7.308199535380311],[93.75647657273572,7.374499617863137],[93.72134991066991,7.405397921277086],[93.71289515388833,7.443673046873641]]],[[[93.38259491822095,8.022880219946217],[93.32627975300824,7.999675086036461],[93.31102532835627,7.962072461774767],[93.37827301568717,7.883540520278814],[93.46286858032079,7.934439380872789],[93.39628442718464,7.969475012661746],[93.38259491822095,8.022880219946217]]],[[[93.54775448747966,8.026143720256528],[93.50812422924986,7.984910161474829],[93.5732504950144,7.930733178493426],[93.58226566882564,7.992388051267596],[93.54775448747966,8.026143720256528]]],[[[93.52598961063211,8.231715037918718],[93.45517505558439,8.175179630535581],[93.46171438860819,8.11921316935235],[93.48553958528368,8.052043794985195],[93.50829893694646,8.034179523366333],[93.55205273604497,8.074164498492848],[93.51252338984261,8.138960162681428],[93.537766480139,8.185565598673463],[93.52598961063211,8.231715037918718]]],[[[93.12733566720732,8.355592038941495],[93.09551817662259,8.339466891583811],[93.08511186042409,8.276390920904305],[93.1207784979294,8.224059660624903],[93.12733566720732,8.355592038941495]]],[[[92.79464721979343,9.239083354113575],[92.76506897635221,9.215145786249082],[92.72461363151393,9.219024266356882],[92.71967773573897,9.145753276092876],[92.73326515636194,9.123192789715517],[92.80250291118045,9.119698880399085],[92.83180261569822,9.16363468249466],[92.79464721979343,9.239083354113575]]],[[[92.51840403711668,10.897494223379738],[92.38181963446863,10.762559117109618],[92.38271244092647,10.667565965996573],[92.4208564444694,10.61563488873918],[92.41911231368238,10.54789746929282],[92.49923565050494,10.510882829878767],[92.53089481184617,10.51797789266567],[92.56824630402377,10.576215297597969],[92.53992792173625,10.614654124987908],[92.59786602869434,10.700237996886074],[92.58709334757998,10.78762739179075],[92.56334143485941,10.803875925233797],[92.55823425510687,10.86297173845503],[92.51840403711668,10.897494223379738]]],[[[92.64190197119905,11.510217993265826],[92.61154955986433,11.458647914669598],[92.61964197529699,11.402358337867042],[92.58847019434404,11.401405255248392],[92.59822921090944,11.347769341282117],[92.63821141432538,11.347187639997628],[92.69084863295808,11.370816556039301],[92.65799606406716,11.412443109561877],[92.68571469657604,11.436206619040263],[92.67057515402018,11.485938951021808],[92.64190197119905,11.510217993265826]]],[[[92.22963151318385,11.587637354680226],[92.2076691524095,11.549627953567267],[92.27014318795784,11.523368772351034],[92.27030193088945,11.58484267724782],[92.22963151318385,11.587637354680226]]],[[[92.97456392008888,12.042940592034768],[92.93457173060096,11.985385530617805],[93.05333724501793,11.904079391950404],[93.00675108419523,12.001028715103189],[92.97456392008888,12.042940592034768]]],[[[93.07447236350885,12.210406877375533],[93.0367775425496,12.133313590349985],[93.09328032702552,12.11290236585154],[93.09040979087922,12.177128486690378],[93.07447236350885,12.210406877375533]]],[[[92.69742646865666,12.239906732309919],[92.66277279872571,12.217854219896367],[92.64428910915512,12.17663540729825],[92.61928576192844,12.0648370244092],[92.61276896321715,11.958618088553976],[92.5936227080216,11.899126936958623],[92.56250603212771,11.946867070059284],[92.5262792707718,11.896224951520367],[92.51362352620481,11.84951023440982],[92.54902808238018,11.817107380501284],[92.55216064949445,11.723165240083802],[92.59542123340327,11.711041994892184],[92.59134322431044,11.670560486976967],[92.61788287079793,11.58603949502674],[92.64705139120878,11.572468232522965],[92.64762974431733,11.521547390699595],[92.72743322916028,11.518853539859037],[92.75260176475967,11.609154933253592],[92.75475159141286,11.71820158583455],[92.78627634367837,11.866836214120042],[92.78513505274054,11.936327705459291],[92.71669822424371,11.945750889092324],[92.76347025604753,11.999189103294555],[92.77233994293408,12.046644043387914],[92.73624577042602,12.083719454489255],[92.73567930095902,12.104365817528503],[92.7579074977329,12.177314164317295],[92.71774148638053,12.176671606809236],[92.69742646865666,12.239906732309919]]],[[[92.73146189335176,12.242318437945585],[92.72107119477988,12.19017803718674],[92.76324166906784,12.181654251142845],[92.76274518034586,12.229382100403654],[92.73146189335176,12.242318437945585]]],[[[92.82568147641905,12.30419412306037],[92.80994833005144,12.313565366348655],[92.77951315590747,12.28828272476801],[92.74211767429131,12.245724766784633],[92.76863452656221,12.229094935183184],[92.76517437779535,12.175659173432166],[92.7394631831794,12.099248145385673],[92.76264797442457,12.06512281456628],[92.79303062276506,12.083722585928626],[92.82489488798876,12.167820725646038],[92.8738944748502,12.20592687402609],[92.88348996768792,12.257435269921814],[92.8723025678093,12.30130835509658],[92.82568147641905,12.30419412306037]]],[[[92.8989788321075,12.915877368345946],[92.87325024190523,12.880903776288278],[92.84431881695991,12.875154401454495],[92.84033111688757,12.876684774183047],[92.84298491552147,12.884965115547686],[92.83956348796465,12.890999574570742],[92.83101376907024,12.884687606347995],[92.82266693003487,12.89616036380977],[92.80351240017717,12.897436745509424],[92.79112306627655,12.889191354497484],[92.79276919704085,12.864271512920027],[92.72364242216014,12.82726409775995],[92.73888251161867,12.737806135344897],[92.73619393080531,12.639875851489421],[92.70072102705382,12.600256203461072],[92.69517437919433,12.519158180505656],[92.7002197836162,12.334072502643949],[92.71960356235456,12.303628959409025],[92.77128154610654,12.31651777497541],[92.79487730054706,12.306052367023142],[92.81079477555852,12.314752217840635],[92.83010133221075,12.304640018622024],[92.87032998224294,12.317168530703157],[92.87319262683832,12.35290754115016],[92.82869375381375,12.426111995971894],[92.89945436842441,12.416801329218004],[92.9419455517459,12.449974363426179],[92.97555816197968,12.541557037127632],[92.95708867989873,12.593349025237387],[92.96854479270809,12.740039551284326],[92.93390895453467,12.773662769920918],[92.9537978959562,12.807866762641027],[92.92815750856221,12.883973552737302],[92.8989788321075,12.915877368345946]]],[[[92.69625226972653,12.991513173594115],[92.6651240267525,12.88216611327556],[92.64857569531216,12.86209044202036],[92.66571344152214,12.811727301274004],[92.71961608721273,12.874334060568515],[92.72031532808995,12.978889611266595],[92.69625226972653,12.991513173594115]]],[[[93.03018817754241,13.571134792936391],[92.9867292823306,13.569546596498299],[92.96664709278917,13.542275808381874],[92.91729732701009,13.535615336678518],[92.92477298018895,13.49600567831942],[92.87205008944011,13.472014327399336],[92.88389550707205,13.429558706868875],[92.84727519519419,13.411018765603615],[92.82696258585469,13.329193813443794],[92.82923936890182,13.208865613657167],[92.78830883668354,13.017223391546338],[92.794416857552,12.915007588129754],[92.8019065293629,12.89987464300043],[92.81039749644737,12.90021360467415],[92.82641870555886,12.895360144355209],[92.83040376432234,12.886329697357723],[92.83923271012151,12.89261169747192],[92.84359403083994,12.890351678687068],[92.84363355874183,12.885072617807111],[92.84136629771655,12.877477498687654],[92.85584830365633,12.878351646011708],[92.87232590161915,12.88268061811607],[92.85389416948038,12.926279507193556],[92.93850700379522,12.972391797243688],[92.90838230350056,13.000007098548792],[92.95119565365655,13.029344769745364],[93.00649916070773,13.031815743401864],[93.03403308955552,13.081061563740207],[93.0318130051661,13.177660347347228],[93.05755394935534,13.25176338946892],[92.97572119377816,13.350425917522102],[93.07134845057061,13.347386753096202],[93.03317574336592,13.426030263585858],[93.04315026357386,13.504593005962477],[93.03018817754241,13.571134792936391]]]]}
                  },
          ]
}Code language: JSON / JSON with Comments (json)

ANOTHER EXAMPLE

{
"type": "FeatureCollection",
"name": "Data2",
"features": [
   { "type": "Feature", 
     "properties": { "sr": 6864, "nm": "XXXXXXXXX", "s": 19, "d": 337, "o": "Private", "a": "XXXXXXXXXXX Kolkata", "lat": 24.6199, "long": 89.43974Y99, "ph": "xxxxxxxxxxx", "m": "xxxxx.xxxxxxx@xxxxx.com", "h": "Dr xxxxx xxxxx", "emer": 0, "ot": 1, "eb": 0, "res": 1, "lv": 1, "c": 1, "g": 1, "sq": 1, "vr": 1, "kp": 1, "op": 1, "no": 1, "pes": 1, "go": 1 }, 
     "geometry": { "type": "Point", "coordinates": [ 88.12345567, 21.1234567 ] } },
   { "type": "Feature", 
     "properties": { "sr": 6865, "nm": "YYYYYYYYYY", "s": 19, "d": 338, "o": "Private", "a": "YYYYYYYY", "lat": 23.86727582, "long": 89.3951786, "ph": "033-xxxxxxxxxx", "m": "xxxxx@xxxxx.com", "h": "Dr xxxxx xxxxx", "emer": 0, "ot": 1, "eb": 0, "res": 0, "lv": 0, "c": 1, "g": 1, "sq": 1, "vr": 0, "kp": 0, "op": 0, "no": 1, "pes": 0, "go": 1 }, 
     "geometry": { "type": "Point", "coordinates": [ 87.364583, 23.856843444 ] } },
   { "type": "Feature", 
     "properties": { "sr": 6866, "nm": "ZZZZZZZZZZ", "s": 19, "d": 343, "o": "NGO\/Charitable\/Trust\/Society", "a": "ZZZZZZZZZZ", "lat": 26.835774, "long": 88.867066048, "ph": "ZZZZZZZZZZ", "m": "xxxxx@xxxxx.com", "h": "Dr xxxxx xxxxx", "emer": 1, "ot": 1, "eb": 0, "res": 0, "lv": 0, "c": 1, "g": 1, "sq": 1, "vr": 0, "kp": 1, "op": 0, "no": 0, "pes": 0, "go": 1 }, 
     "geometry": { "type": "Point", "coordinates": [ 88.874684, 22.84568745 ] } }
]
}
Code language: JSON / JSON with Comments (json)

I often use QGIS sofware to add attribute data (imported as delimited text file) to GIS coordinate data layer and then export the merged data as GeoJSON for use with leaflet.

To extract the data from Leaflet to use with tabulator JS plugin, following code is helpful

var promise = $.getJSON("/data/Data4.geojson");
promise.then(function(data) { 
  facilityMap(data);
  makeTableData(data);
  makeTable();
});

let tabledata2; // Temporary table
function makeTableData(data) {
  tabledata2.length = 0;
  data.features.map( item => { tabledata2.push(item.properties)});
 // console.dir(tabledata2);
  return tabledata2
}


// USES TABULATOR JS PLUGIN - http://tabulator.info
// Include in the HTML file the JS and CSS 
//<link href="/src/tabulator_simple.min.css" rel="stylesheet">
// <script type="text/javascript" src="/src/tabulator.min.js"></script>
//
function makeTable() {
  table2 = new Tabulator("#facilities-table", {
  data:tabledata2,           //load row data from array
//  minHeight:400,
  layout:"fitColumns",      //fit columns to width of table
  responsiveLayout:"collapse",  //hide columns that dont fit on the table
  tooltips:true,            //show tool tips on cells
  addRowPos:"top",          //when adding a new row, add it to the top of the table
  history:true,             //allow undo and redo actions on the table
  pagination:"local",       //paginate the data
  paginationSize:10,         //allow 7 rows per page of data
  paginationSizeSelector:[10, 20, 50],
  movableColumns:false,      //allow column order to be changed
  resizableRows:true,       //allow row order to be changed
  clipboard:true,
  responsiveLayoutCollapseStartOpen:false,
  initialSort:[             //set the initial sort order of the data
      {column:"nm", dir:"asc"},
  ],
  
  columns:[
    
    {title:"Name", field:"nm",  width:200,  frozen:true, formatter:"textarea", headerFilter:"input", responsive:0},
    {title:"Type", field:"o", width:100, formatter:"textarea", responsive:5 },
    {formatter:"responsiveCollapse", width:30, minWidth:30, hozAlign:"center", resizable:true, headerSort:false, responsive:0},
    { 
      title:"Contact",
      columns:[ 
        {title:"Address", field:"a",  hozAlign:"left",  formatter:"textarea", responsive:5, headerFilter:"input"},
      ]},
      {title:"Facilities", //create column group
        columns:[ 
          {title:"Eye Emergency", field:"emer", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:1},
          {title:"Operation Theatre", field:"ot", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:0},
          {title:"Eye Bank", field:"eb", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true},
          {title:"Low Vision Services", field:"lv", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true},
          {title:"Refractive Surgery", field:"res", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:3},
      ]},
      {title:"Services", //create column group
      columns:[ 
        {title:"Cataract", field:"c", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:0},
        {title:"Glaucoma", field:"g", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:0},
        {title:"Keratoplasty", field:"kp", hozAlign:"center",formatter:"tickCross",  width:40, headerVertical : true, responsive:0},
        {title:"Pediatric Ophthalmology", field:"pes", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:0}, 
        {title:"Vitero-retina and Uvea", field:"vr", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true},
        {title:"Oculoplasty", field:"op", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:3},
        {title:"Squint", field:"sq", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:3},
        {title:"Neuro-ophthalmology", field:"no", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:3},
        {title:"General Ophthalmology", field:"go", hozAlign:"center", formatter:"tickCross", width:40, headerVertical : true, responsive:3},
      ]}
  ]
  });
}

Code language: JavaScript (javascript)

Related posts