Geojson Overlay

SJ3 months ago

Hi,

I would like to explore if geojson file is supported on the web app as i would like to use the geojson as overlap for the area of interest.

Any input is appreciated.

Thank you!

screenshot.3585.jpg

SJ3 months ago

This is the example of the geojson file:

{"type":"GeometryCollection", "geometries": [
{"type":"Polygon","coordinates":[[[102.36862000000002,2.6698760000000448],[102.368559,2.6698750000000473],[102.36834000000005,2.6698710000000005],[102.36797900000005,2.6698430000000144],[102.36797900000005,2.6699090000000183],[102.36795200000006,2.669904000000031],[102.367793,2.6698750000000473],[102.36766100000006,2.669851000000051],[102.367388,2.669731000000013],[102.36702300000002,2.669668999999999],[102.36596200000002,2.6692920000000413],[102.36582400000003,2.6690960000000246],[102.36534100000006,2.6687670000000026],[102.36515700000001,2.668642000000034],[102.36478100000005,2.6687070000000404],[102.364281,2.6686339999999973],[102.364079,2.66867400000001],[102.36389400000002,2.6687160000000176],[102.36371400000002,2.6687580000000253],[102.36340700000005,2.668706000000043],[102.36303900000001,2.668819000000042],[102.36296400000003,2.6689210000000116],[102.36286900000005,2.6690250000000333],[102.36258700000002,2.669099000000017],[102.36244000000005,2.669083999999998],[102.36232500000006,2.6690740000000233],[102.36213600000002,2.6691090000000486],[102.36197900000002,2.6691540000000487],[102.36144800000005,2.6693800000000465],[102.36119300000001,2.6694889999999987],[102.36095900000004,2.6695250000000215],[102.360836,2.6696170000000166],[102.36075200000005,2.669727000000023],[102.36066500000004,2.669887000000017],[102.36059500000005,2.6700570000000425],[102.36044400000003,2.670135000000016],[102.36027900000005,2.6701910000000453],[102.36003500000004,2.6701790000000187],[102.35957300000001,2.6701490000000376],[102.359306,2.6701320000000237],[102.35906500000004,2.6701160000000073],[102.35890500000005,2.6701740000000314],[102.35881500000005,2.670218000000034],[102.35879400000005,2.6702230000000213],[102.35869300000002,2.6702360000000454],[102.35867600000006,2.670257000000049],[102.35864200000003,2.6702940000000126],[102.35863500000005,2.6703020000000492],[102.35864000000004,2.6702920000000177],[102.35867100000002,2.6702380000000403],[102.35868400000004,2.670214000000044],[102.35870900000003,2.670126000000039],[102.35871500000002,2.670028000000002],[102.35870100000005,2.6699910000000386],[102.35866500000003,2.669891000000007],[102.35864400000003,2.6698350000000346],[102.35863100000006,2.6698350000000346],[102.35857100000004,2.669836000000032],[102.35826600000001,2.6698390000000245],[102.35816600000004,2.669654000000037],[102.35836700000004,2.6680540000000406],[102.35836300000005,2.668046000000004],[102.35818500000005,2.6680390000000216],[102.35788800000006,2.6680620000000204],[102.35762100000005,2.6681710000000294],[102.35779300000002,2.6679450000000315],[102.35779800000006,2.667944000000034],[102.35781000000003,2.667940000000044],[102.35781300000002,2.667942000000039],[102.35782800000004,2.6678830000000175],[102.35787800000003,2.667760000000044],[102.35795100000001,2.6676550000000248],[102.35801100000003,2.667552999999998],[102.35807900000003,2.6674640000000522],[102.35814200000004,2.667367000000013],[102.35819400000003,2.6672490000000266],[102.35821300000003,2.667124000000001],[102.35823800000003,2.6669930000000477],[102.35825200000005,2.6668620000000374],[102.35827900000004,2.6667190000000005],[102.35827700000004,2.6665760000000205],[102.35825600000004,2.666468000000009],[102.35824300000002,2.6663580000000024],[102.35824100000002,2.6662620000000175],[102.35823600000003,2.6661600000000476],[102.35821800000002,2.6660850000000096],[102.35820700000005,2.6660790000000247],[102.35817500000002,2.6660320000000297],[102.35811600000005,2.665931999999998],[102.358044,2.6658540000000244],[102.358,2.665830000000028],[102.35810400000003,2.6657240000000115],[102.35822900000005,2.665717000000029],[102.35836900000004,2.6657030000000077],[102.35850800000003,2.665728999999999],[102.35906200000005,2.6658610000000067],[102.35913700000003,2.665911000000051],[102.35921800000006,2.6659650000000283],[102.35923600000001,2.6659970000000044],[102.35992700000003,2.666095000000041],[102.35994400000004,2.6661040000000185],[102.36003100000005,2.6661680000000274],[102.360319,2.6662360000000263],[102.36032300000005,2.6662370000000237],[102.36043500000005,2.666287000000011],[102.36074500000001,2.6664240000000063],[102.36076200000002,2.6663320000000112],[102.36102200000005,2.6660740000000374],[102.36130500000002,2.665975000000003],[102.36144700000006,2.665941000000032],[102.36160300000006,2.6659460000000195],[102.36166000000003,2.665971000000013],[102.36166100000003,2.6659680000000208],[102.36166200000002,2.665966000000026],[102.36188100000004,2.665960000000041],[102.36283800000001,2.6659650000000283],[102.36515700000001,2.665960000000041],[102.36766000000006,2.6659539999999993],[102.36809800000003,2.6677810000000477],[102.36859200000004,2.669763000000046],[102.36862000000002,2.6698760000000448]]]},
{"type":"Polygon","coordinates":[[[102.36188100000004,2.665960000000041],[102.36166200000002,2.665966000000026],[102.36166100000003,2.6659680000000208],[102.36166000000003,2.665971000000013],[102.36160300000006,2.6659460000000195],[102.36144700000006,2.665941000000032],[102.36130500000002,2.665975000000003],[102.36102200000005,2.6660740000000374],[102.36076200000002,2.6663320000000112],[102.36074500000001,2.6664240000000063],[102.36043500000005,2.666287000000011],[102.36032300000005,2.6662370000000237],[102.360319,2.6662360000000263],[102.36003100000005,2.6661680000000274],[102.35994400000004,2.6661040000000185],[102.35992700000003,2.666095000000041],[102.35923600000001,2.6659970000000044],[102.35921800000006,2.6659650000000283],[102.35913700000003,2.665911000000051],[102.35906200000005,2.6658610000000067],[102.35850800000003,2.665728999999999],[102.35836900000004,2.6657030000000077],[102.35822900000005,2.665717000000029],[102.35810400000003,2.6657240000000115],[102.358,2.665830000000028],[102.358044,2.6658540000000244],[102.35811600000005,2.665931999999998],[102.35817500000002,2.6660320000000297],[102.35820700000005,2.6660790000000247],[102.35821800000002,2.6660850000000096],[102.35823600000003,2.6661600000000476],[102.35824100000002,2.6662620000000175],[102.35824300000002,2.6663580000000024],[102.35825600000004,2.666468000000009],[102.35827700000004,2.6665760000000205],[102.35827900000004,2.6667190000000005],[102.35825200000005,2.6668620000000374],[102.35823800000003,2.6669930000000477],[102.35821300000003,2.667124000000001],[102.35819400000003,2.6672490000000266],[102.35814200000004,2.667367000000013],[102.35807900000003,2.6674640000000522],[102.35801100000003,2.667552999999998],[102.35795100000001,2.6676550000000248],[102.35787800000003,2.667760000000044],[102.35782800000004,2.6678830000000175],[102.35781300000002,2.667942000000039],[102.35781000000003,2.667940000000044],[102.35779800000006,2.667944000000034],[102.35779300000002,2.6679450000000315],[102.35762100000005,2.6681710000000294],[102.35737900000004,2.6684550000000513],[102.35715300000004,2.6687760000000367],[102.35689200000002,2.6690020000000345],[102.35652100000004,2.6691210000000183],[102.35614000000004,2.669276000000025],[102.35573500000004,2.669460000000015],[102.35539000000006,2.6697040000000243],[102.35518700000006,2.6698260000000005],[102.35510100000005,2.6698780000000397],[102.35477500000002,2.669953000000021],[102.354488,2.67000900000005],[102.35430300000002,2.6701100000000224],[102.35427600000003,2.6700760000000514],[102.35470200000003,2.668913000000032],[102.35370500000005,2.668456000000049],[102.35366000000005,2.6683980000000247],[102.35359500000004,2.6683120000000145],[102.35349800000006,2.6682840000000283],[102.35356300000001,2.6682550000000447],[102.35317500000002,2.6669070000000374],[102.35316800000004,2.666868000000022],[102.35306700000001,2.6658650000000534],[102.35314900000003,2.665503000000001],[102.35316700000004,2.664762000000053],[102.35303100000004,2.6643830000000435],[102.352777,2.664019000000053],[102.35260600000004,2.6639040000000023],[102.352213,2.663765000000012],[102.35201300000006,2.663671000000022],[102.35182100000003,2.662879000000032],[102.35179700000003,2.6628350000000296],[102.35173500000002,2.662641000000008],[102.35172500000004,2.662436000000014],[102.35169800000006,2.662244000000044],[102.35163700000004,2.6620300000000157],[102.35162100000002,2.661988000000008],[102.35163100000005,2.6619460000000004],[102.35149000000001,2.6614640000000236],[102.35152700000003,2.6613490000000297],[102.35151000000002,2.661078000000032],[102.35241900000005,2.6611800000000017],[102.35270300000002,2.6612120000000345],[102.35595600000005,2.6615620000000035],[102.35958100000005,2.6619660000000067],[102.36093900000003,2.662114000000031],[102.36141700000002,2.6640760000000228],[102.36143000000004,2.6641290000000026],[102.36188100000004,2.665960000000041]],[[102.35504700000001,2.666139000000044],[102.35447800000003,2.6660590000000184],[102.35440200000005,2.6666250000000105],[102.35496600000005,2.6667060000000333],[102.35504700000001,2.666139000000044]]]},
{"type":"Polygon","coordinates":[[[102.35793100000001,2.671559000000002],[102.35860300000002,2.670359000000019],[102.35863500000005,2.6703020000000492],[102.35864200000003,2.6702940000000126],[102.35867600000006,2.670257000000049],[102.35869300000002,2.6702360000000454],[102.35879400000005,2.6702230000000213],[102.35881500000005,2.670218000000034],[102.35890500000005,2.6701740000000314],[102.35906500000004,2.6701160000000073],[102.359306,2.6701320000000237],[102.35957300000001,2.6701490000000376],[102.36003500000004,2.6701790000000187],[102.36027900000005,2.6701910000000453],[102.36044400000003,2.670135000000016],[102.36059500000005,2.6700570000000425],[102.36066500000004,2.669887000000017],[102.36075200000005,2.669727000000023],[102.360836,2.6696170000000166],[102.36095900000004,2.6695250000000215],[102.36119300000001,2.6694889999999987],[102.36144800000005,2.6693800000000465],[102.36197900000002,2.6691540000000487],[102.36213600000002,2.6691090000000486],[102.36232500000006,2.6690740000000233],[102.36244000000005,2.669083999999998],[102.36258700000002,2.669099000000017],[102.36286900000005,2.6690250000000333],[102.36296400000003,2.6689210000000116],[102.36303900000001,2.668819000000042],[102.36340700000005,2.668706000000043],[102.36371400000002,2.6687580000000253],[102.36389400000002,2.6687160000000176],[102.364079,2.66867400000001],[102.364281,2.6686339999999973],[102.36478100000005,2.6687070000000404],[102.36515700000001,2.668642000000034],[102.36534100000006,2.6687670000000026],[102.36582400000003,2.6690960000000246],[102.36596200000002,2.6692920000000413],[102.36702300000002,2.669668999999999],[102.367388,2.669731000000013],[102.36766100000006,2.669851000000051],[102.367793,2.6698750000000473],[102.36795200000006,2.669904000000031],[102.36797900000005,2.6699090000000183],[102.36797900000005,2.6698430000000144],[102.36834000000005,2.6698710000000005],[102.368559,2.6698750000000473],[102.36862000000002,2.6698760000000448],[102.36871100000002,2.6702390000000378],[102.36906000000005,2.671604000000002],[102.36523500000004,2.6715900000000374],[102.36526800000001,2.671476000000041],[102.36516700000004,2.6710480000000416],[102.36377800000002,2.669402000000048],[102.36369200000001,2.6695360000000505],[102.36340000000001,2.669699000000037],[102.36336200000005,2.669603000000052],[102.36327600000004,2.669665000000009],[102.36326200000002,2.669736999999998],[102.36307000000005,2.669859000000031],[102.36283300000002,2.669977000000017],[102.36267700000002,2.6700340000000438],[102.36253600000003,2.6701570000000174],[102.36241100000001,2.6703860000000077],[102.36248100000006,2.6704520000000116],[102.36242200000004,2.670634000000007],[102.36273600000004,2.6705650000000105],[102.362863,2.6705990000000384],[102.362773,2.6706950000000234],[102.36265900000001,2.670803000000035],[102.36251800000002,2.67090300000001],[102.36239800000004,2.670974000000001],[102.36227600000001,2.67103400000002],[102.36222600000002,2.6710630000000037],[102.36206000000004,2.6711480000000165],[102.36189900000005,2.6712010000000532],[102.36170800000002,2.671198000000004],[102.36148600000001,2.6711779999999976],[102.361265,2.6711720000000128],[102.36110200000002,2.6711610000000405],[102.36096000000003,2.671123000000023],[102.36089600000003,2.671113000000048],[102.360859,2.6711090000000013],[102.36084200000005,2.6711030000000164],[102.36072100000001,2.671055000000024],[102.36077000000006,2.6711050000000114],[102.36081700000005,2.671145000000024],[102.36086500000005,2.6711840000000393],[102.36090700000005,2.671226000000047],[102.36094800000001,2.671264000000008],[102.36099500000006,2.6712950000000433],[102.36103800000001,2.6713320000000067],[102.36108100000001,2.6713720000000194],[102.361129,2.6714060000000472],[102.361175,2.671433000000036],[102.36122700000004,2.671476000000041],[102.36126900000005,2.6714980000000423],[102.361309,2.671514000000002],[102.36135200000001,2.671531000000016],[102.36136400000004,2.671537999999998],[102.36138900000003,2.6715620000000513],[102.36113400000005,2.671560999999997],[102.35793100000001,2.671559000000002]]]},
{"type":"Polygon","coordinates":[[[102.35151000000002,2.661078000000032],[102.35152700000003,2.6613490000000297],[102.35149000000001,2.6614640000000236],[102.35163100000005,2.6619460000000004],[102.35162100000002,2.661988000000008],[102.35163700000004,2.6620300000000157],[102.35169800000006,2.662244000000044],[102.35172500000004,2.662436000000014],[102.35173500000002,2.662641000000008],[102.35179700000003,2.6628350000000296],[102.35182100000003,2.662879000000032],[102.35201300000006,2.663671000000022],[102.352213,2.663765000000012],[102.35260600000004,2.6639040000000023],[102.352777,2.664019000000053],[102.35303100000004,2.6643830000000435],[102.35316700000004,2.664762000000053],[102.35314900000003,2.665503000000001],[102.35306700000001,2.6658650000000534],[102.35316800000004,2.666868000000022],[102.35317500000002,2.6669070000000374],[102.35356300000001,2.6682550000000447],[102.35349800000006,2.6682840000000283],[102.35359500000004,2.6683120000000145],[102.35366000000005,2.6683980000000247],[102.35370500000005,2.668456000000049],[102.353182,2.6695680000000266],[102.35191900000001,2.6689810000000307],[102.351268,2.6688970000000154],[102.35102800000004,2.6687310000000366],[102.35098200000004,2.668700000000001],[102.35028800000003,2.668219000000022],[102.35025100000001,2.668168000000037],[102.34948700000001,2.667575999999997],[102.34758200000005,2.6654780000000073],[102.34670500000004,2.664177000000052],[102.34670400000005,2.662481000000014],[102.34748700000006,2.6606290000000286],[102.34925000000004,2.6608250000000453],[102.35151000000002,2.661078000000032]]]},
{"type":"Polygon","coordinates":[[[102.35430300000002,2.6701100000000224],[102.354488,2.67000900000005],[102.35477500000002,2.669953000000021],[102.35510100000005,2.6698780000000397],[102.35518700000006,2.6698260000000005],[102.35539000000006,2.6697040000000243],[102.35573500000004,2.669460000000015],[102.35614000000004,2.669276000000025],[102.35652100000004,2.6691210000000183],[102.35689200000002,2.6690020000000345],[102.35715300000004,2.6687760000000367],[102.35737900000004,2.6684550000000513],[102.35762100000005,2.6681710000000294],[102.35788800000006,2.6680620000000204],[102.35818500000005,2.6680390000000216],[102.35836300000005,2.668046000000004],[102.35836700000004,2.6680540000000406],[102.35816600000004,2.669654000000037],[102.35826600000001,2.6698390000000245],[102.35857100000004,2.669836000000032],[102.35863100000006,2.6698350000000346],[102.35864400000003,2.6698350000000346],[102.35866500000003,2.669891000000007],[102.35870100000005,2.6699910000000386],[102.35871500000002,2.670028000000002],[102.35870900000003,2.670126000000039],[102.35868400000004,2.670214000000044],[102.35867100000002,2.6702380000000403],[102.35864000000004,2.6702920000000177],[102.35863500000005,2.6703020000000492],[102.35860300000002,2.670359000000019],[102.35793100000001,2.671559000000002],[102.35790800000001,2.671559000000002],[102.35761000000002,2.671559000000002],[102.35533700000002,2.6715710000000286],[102.35522800000001,2.671262000000013],[102.35458400000005,2.6704600000000482],[102.35430300000002,2.6701100000000224]]]}
]}
Anton Tananaev3 months ago

Not GeoJSON, but we support KML overlay.

SJ3 months ago

Is there away not to display the dots/nodes on the KML? I want to use it as a shape rather then points:

screenshot.3589.jpg

Anton Tananaev3 months ago

Not sure, but why not convert it into a geofence?

SJ3 months ago

Hi Anton,

Thanks for you feedback, I try to convert the kml to gpx so that I can upload to the server but i am having the following error:

screenshot.3593.jpg

May I know what is the possible cause?

Anton Tananaev3 months ago

There's a size limit on the area column in the database. You can try increasing it.

SJ3 months ago

Hi Anton, thanks for the input. How do I increase the limit of the area column? Do I do it through the configuration file or directly to the database?

Anton Tananaev3 months ago

Directly in the database.