Fix layers + UI changes

This commit is contained in:
Nicolò P 2024-06-14 11:42:29 +02:00
parent c04a015c4a
commit c48eeca754
7 changed files with 63 additions and 36 deletions

View File

@ -3,18 +3,6 @@
"name": "gradola", "name": "gradola",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [ "features": [
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1217", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.204783959977876, 40.560736085146679 ], [ 14.204985627898537, 40.560780095383812 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1218", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205309344372759, 40.560904313405423 ], [ 14.204985627898537, 40.560780095383812 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1219", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121A", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121B", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121C", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121D", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205154730197778, 40.560892904798934 ], [ 14.205266841339524, 40.560932298422806 ], [ 14.205309344372759, 40.560904313405423 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121E", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205155279543538, 40.560891995426871 ], [ 14.205266623131617, 40.560931119348062 ], [ 14.205308486473195, 40.560903555518912 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "121F", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.20490751281052, 40.560763048281053 ], [ 14.204912502701694, 40.560893845735507 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1220", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205154361678105, 40.560952446891946 ], [ 14.205158677480508, 40.560932195344307 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1221", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205158677480508, 40.560932195344307 ], [ 14.204965006288564, 40.560908185439409 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "123E", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205306808312445, 40.560906939323658 ], [ 14.205308702981744, 40.560904067289172 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbCircle:AcDbArc", "Linetype": null, "EntityHand": "1283", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205709817800795, 40.560814095046815 ], [ 14.205710560000556, 40.560813243957419 ], [ 14.205711222878049, 40.560812355598102 ], [ 14.205711803229818, 40.560811434261886 ], [ 14.205712298251372, 40.560810484401166 ], [ 14.205712705550406, 40.560809510606227 ], [ 14.205713023158715, 40.560808517583013 ], [ 14.205713249541384, 40.560807510130346 ], [ 14.205713383604412, 40.560806493116758 ], [ 14.205713424699951, 40.560805471457044 ], [ 14.205713372629411, 40.560804450088476 ], [ 14.205713227644436, 40.560803433946852 ], [ 14.205712990445665, 40.560802427942697 ], [ 14.205712662179369, 40.560801436937616 ], [ 14.205712244431934, 40.560800465720654 ], [ 14.205711739222147, 40.560799518985377 ], [ 14.205711148991474, 40.560798601306828 ], [ 14.205710476592214, 40.560797717119755 ], [ 14.205709725273829, 40.560796870697054 ], [ 14.205708898667028, 40.560796066129143 ], [ 14.205708000766519, 40.560795307304105 ], [ 14.205707035911392, 40.560794597888972 ], [ 14.205706008764411, 40.560793941312092 ], [ 14.205704924289284, 40.560793340746386 ], [ 14.20570378772682, 40.560792799094102 ], [ 14.20570260456951, 40.560792318972837 ], [ 14.205701380535025, 40.560791902702775 ], [ 14.205700121538587, 40.560791552295548 ], [ 14.205698833664341, 40.560791269444593 ], [ 14.205697523136045, 40.560791055516695 ], [ 14.205696196286848, 40.560790911545737 ], [ 14.205694859528849, 40.560790838227483 ], [ 14.20569351932201, 40.560790835916187 ], [ 14.205692182142931, 40.560790904623076 ], [ 14.205690854453611, 40.560791044016099 ], [ 14.205689542670166, 40.560791253421563 ], [ 14.205688253131878, 40.560791531827633 ], [ 14.205686992070495, 40.560791877888825 ], [ 14.20568576558019, 40.56079228993282 ], [ 14.205684579587988, 40.560792765968316 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbCircle:AcDbArc", "Linetype": null, "EntityHand": "1283", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205709817800795, 40.560814095046815 ], [ 14.205710560000556, 40.560813243957419 ], [ 14.205711222878049, 40.560812355598102 ], [ 14.205711803229818, 40.560811434261886 ], [ 14.205712298251372, 40.560810484401166 ], [ 14.205712705550406, 40.560809510606227 ], [ 14.205713023158715, 40.560808517583013 ], [ 14.205713249541384, 40.560807510130346 ], [ 14.205713383604412, 40.560806493116758 ], [ 14.205713424699951, 40.560805471457044 ], [ 14.205713372629411, 40.560804450088476 ], [ 14.205713227644436, 40.560803433946852 ], [ 14.205712990445665, 40.560802427942697 ], [ 14.205712662179369, 40.560801436937616 ], [ 14.205712244431934, 40.560800465720654 ], [ 14.205711739222147, 40.560799518985377 ], [ 14.205711148991474, 40.560798601306828 ], [ 14.205710476592214, 40.560797717119755 ], [ 14.205709725273829, 40.560796870697054 ], [ 14.205708898667028, 40.560796066129143 ], [ 14.205708000766519, 40.560795307304105 ], [ 14.205707035911392, 40.560794597888972 ], [ 14.205706008764411, 40.560793941312092 ], [ 14.205704924289284, 40.560793340746386 ], [ 14.20570378772682, 40.560792799094102 ], [ 14.20570260456951, 40.560792318972837 ], [ 14.205701380535025, 40.560791902702775 ], [ 14.205700121538587, 40.560791552295548 ], [ 14.205698833664341, 40.560791269444593 ], [ 14.205697523136045, 40.560791055516695 ], [ 14.205696196286848, 40.560790911545737 ], [ 14.205694859528849, 40.560790838227483 ], [ 14.20569351932201, 40.560790835916187 ], [ 14.205692182142931, 40.560790904623076 ], [ 14.205690854453611, 40.560791044016099 ], [ 14.205689542670166, 40.560791253421563 ], [ 14.205688253131878, 40.560791531827633 ], [ 14.205686992070495, 40.560791877888825 ], [ 14.20568576558019, 40.56079228993282 ], [ 14.205684579587988, 40.560792765968316 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbCircle:AcDbArc", "Linetype": null, "EntityHand": "1284", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205820223897046, 40.560822011370313 ], [ 14.205819616866329, 40.560821117744119 ], [ 14.205818931213955, 40.560820257830606 ], [ 14.205818170143122, 40.560819435647154 ], [ 14.205817337209359, 40.560818655034723 ], [ 14.205816436303962, 40.560817919640172 ], [ 14.205815471635749, 40.560817232899133 ], [ 14.205814447711383, 40.560816598019834 ], [ 14.205813369314422, 40.560816017968278 ], [ 14.20581224148286, 40.560815495454406 ], [ 14.205811069485712, 40.560815032919187 ], [ 14.205809858798185, 40.560814632523531 ], [ 14.205808615076396, 40.560814296137934 ], [ 14.205807344130641, 40.560814025333954 ], [ 14.205806051898522, 40.560813821376712 ], [ 14.205804744417048, 40.560813685219038 ], [ 14.205803427794402, 40.560813617497047 ], [ 14.205802108181576, 40.560813618527106 ], [ 14.205800791743457, 40.560813688304393 ], [ 14.205799484630136, 40.560813826502965 ], [ 14.205798192948128, 40.560814032477104 ], [ 14.205796922731887, 40.560814305264671 ], [ 14.205795679915516, 40.560814643591172 ], [ 14.205794470305152, 40.560815045876048 ], [ 14.205793299551853, 40.560815510239955 ], [ 14.205792173125054, 40.560816034513479 ], [ 14.205791096287175, 40.560816616247315 ], [ 14.205790074068911, 40.560817252723787 ], [ 14.205789111245851, 40.560817940969386 ], [ 14.205788212316087, 40.560818677768815 ], [ 14.205787381479178, 40.560819459679941 ], [ 14.205786622616616, 40.560820283049836 ], [ 14.205785939273602, 40.560821144031905 ], [ 14.205785334642576, 40.560822038603838 ], [ 14.205784811548222, 40.560822962586492 ], [ 14.205784372434305, 40.560823911663157 ], [ 14.205784019352302, 40.560824881400009 ], [ 14.20578375395168, 40.560825867266658 ], [ 14.205783577472396, 40.560826864657358 ], [ 14.205783490738849, 40.560827868912554 ], [ 14.205783494156289, 40.560828875340611 ], [ 14.205783587708769, 40.560829879239719 ], [ 14.205783770959174, 40.560830875919933 ], [ 14.205784043051482, 40.560831860724967 ], [ 14.205784402714482, 40.56083282905405 ], [ 14.205784848267928, 40.560833776383376 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbCircle:AcDbArc", "Linetype": null, "EntityHand": "1284", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205820223897046, 40.560822011370313 ], [ 14.205819616866329, 40.560821117744119 ], [ 14.205818931213955, 40.560820257830606 ], [ 14.205818170143122, 40.560819435647154 ], [ 14.205817337209359, 40.560818655034723 ], [ 14.205816436303962, 40.560817919640172 ], [ 14.205815471635749, 40.560817232899133 ], [ 14.205814447711383, 40.560816598019834 ], [ 14.205813369314422, 40.560816017968278 ], [ 14.20581224148286, 40.560815495454406 ], [ 14.205811069485712, 40.560815032919187 ], [ 14.205809858798185, 40.560814632523531 ], [ 14.205808615076396, 40.560814296137934 ], [ 14.205807344130641, 40.560814025333954 ], [ 14.205806051898522, 40.560813821376712 ], [ 14.205804744417048, 40.560813685219038 ], [ 14.205803427794402, 40.560813617497047 ], [ 14.205802108181576, 40.560813618527106 ], [ 14.205800791743457, 40.560813688304393 ], [ 14.205799484630136, 40.560813826502965 ], [ 14.205798192948128, 40.560814032477104 ], [ 14.205796922731887, 40.560814305264671 ], [ 14.205795679915516, 40.560814643591172 ], [ 14.205794470305152, 40.560815045876048 ], [ 14.205793299551853, 40.560815510239955 ], [ 14.205792173125054, 40.560816034513479 ], [ 14.205791096287175, 40.560816616247315 ], [ 14.205790074068911, 40.560817252723787 ], [ 14.205789111245851, 40.560817940969386 ], [ 14.205788212316087, 40.560818677768815 ], [ 14.205787381479178, 40.560819459679941 ], [ 14.205786622616616, 40.560820283049836 ], [ 14.205785939273602, 40.560821144031905 ], [ 14.205785334642576, 40.560822038603838 ], [ 14.205784811548222, 40.560822962586492 ], [ 14.205784372434305, 40.560823911663157 ], [ 14.205784019352302, 40.560824881400009 ], [ 14.20578375395168, 40.560825867266658 ], [ 14.205783577472396, 40.560826864657358 ], [ 14.205783490738849, 40.560827868912554 ], [ 14.205783494156289, 40.560828875340611 ], [ 14.205783587708769, 40.560829879239719 ], [ 14.205783770959174, 40.560830875919933 ], [ 14.205784043051482, 40.560831860724967 ], [ 14.205784402714482, 40.56083282905405 ], [ 14.205784848267928, 40.560833776383376 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1287", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205925238748693, 40.560830697080661 ], [ 14.205836564634412, 40.560810329413037 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "1287", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205925238748693, 40.560830697080661 ], [ 14.205836564634412, 40.560810329413037 ] ] ] } },
@ -65,21 +53,8 @@
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12BA", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205793049722004, 40.560804857292268 ], [ 14.205793726068027, 40.560802202400765 ], [ 14.205797344912531, 40.560802424282919 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12BA", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205793049722004, 40.560804857292268 ], [ 14.205793726068027, 40.560802202400765 ], [ 14.205797344912531, 40.560802424282919 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": "ACAD_ISO03W100", "EntityHand": "12BB", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205839801664572, 40.560811072931919 ], [ 14.205841113104492, 40.560810716796844 ], [ 14.205841834461951, 40.560810123022698 ], [ 14.205842532871381, 40.5608074425922 ], [ 14.205842855415986, 40.560804930303178 ], [ 14.205843424687361, 40.560803423423664 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": "ACAD_ISO03W100", "EntityHand": "12BB", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205839801664572, 40.560811072931919 ], [ 14.205841113104492, 40.560810716796844 ], [ 14.205841834461951, 40.560810123022698 ], [ 14.205842532871381, 40.5608074425922 ], [ 14.205842855415986, 40.560804930303178 ], [ 14.205843424687361, 40.560803423423664 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": "ACAD_ISO03W100", "EntityHand": "12BC", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205854387792639, 40.560805832492946 ], [ 14.205853209513029, 40.560806975317476 ], [ 14.205852938825588, 40.560807664536121 ], [ 14.205853438715531, 40.560809795772379 ], [ 14.20585492818832, 40.560812353501063 ], [ 14.205856557692815, 40.560814040480494 ], [ 14.205857312875805, 40.560815095109618 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": "ACAD_ISO03W100", "EntityHand": "12BC", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205854387792639, 40.560805832492946 ], [ 14.205853209513029, 40.560806975317476 ], [ 14.205852938825588, 40.560807664536121 ], [ 14.205853438715531, 40.560809795772379 ], [ 14.20585492818832, 40.560812353501063 ], [ 14.205856557692815, 40.560814040480494 ], [ 14.205857312875805, 40.560815095109618 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12BD", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.204783959977876, 40.560736085146679 ], [ 14.204985627898537, 40.560780095383812 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12BE", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205309344372759, 40.560904313405423 ], [ 14.204985627898537, 40.560780095383812 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12BF", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C0", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C1", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C2", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205174656485832, 40.560859919344551 ], [ 14.205258926336381, 40.560889530103864 ], [ 14.205272256874485, 40.560880752957573 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C3", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205154730197778, 40.560892904798934 ], [ 14.205266841339524, 40.560932298422806 ], [ 14.205309344372759, 40.560904313405423 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C4", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205155279543538, 40.560891995426871 ], [ 14.205266623131617, 40.560931119348062 ], [ 14.205308486473195, 40.560903555518912 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C5", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.20490751281052, 40.560763048281053 ], [ 14.204912502701694, 40.560893845735507 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C6", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205154361678105, 40.560952446891946 ], [ 14.205158677480508, 40.560932195344307 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12C7", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205158677480508, 40.560932195344307 ], [ 14.204965006288564, 40.560908185439409 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E4", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205306808312445, 40.560906939323658 ], [ 14.205308702981744, 40.560904067289172 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E5", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205910743011811, 40.560847437614541 ], [ 14.205904056859788, 40.560864369558466 ], [ 14.205904999821376, 40.560864702822819 ], [ 14.205906944826388, 40.560864041351145 ], [ 14.205908641730757, 40.560863771907137 ], [ 14.205911380356143, 40.560863157265189 ], [ 14.205912172008874, 40.560861997611212 ], [ 14.205912992880064, 40.560860399322664 ], [ 14.205913255590394, 40.560859734037621 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E5", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205910743011811, 40.560847437614541 ], [ 14.205904056859788, 40.560864369558466 ], [ 14.205904999821376, 40.560864702822819 ], [ 14.205906944826388, 40.560864041351145 ], [ 14.205908641730757, 40.560863771907137 ], [ 14.205911380356143, 40.560863157265189 ], [ 14.205912172008874, 40.560861997611212 ], [ 14.205912992880064, 40.560860399322664 ], [ 14.205913255590394, 40.560859734037621 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E6", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205810743057013, 40.560759009976834 ], [ 14.205829072478913, 40.560763004358989 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E6", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205810743057013, 40.560759009976834 ], [ 14.205829072478913, 40.560763004358989 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PUNTI_POSIZIONAMENTO", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E7", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205266623131617, 40.560931119348062 ], [ 14.205266841339524, 40.560932298422806 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E9", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205889977725825, 40.560804823272953 ], [ 14.205869356244879, 40.560800524859999 ], [ 14.205827781998112, 40.560791858967079 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12E9", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205889977725825, 40.560804823272953 ], [ 14.205869356244879, 40.560800524859999 ], [ 14.205827781998112, 40.560791858967079 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12EA", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205678596344399, 40.560775848182544 ], [ 14.20559725598104, 40.560758893123733 ], [ 14.205597149286511, 40.560757764256529 ], [ 14.205596635192059, 40.560756167549997 ], [ 14.205596117568486, 40.560755620437391 ], [ 14.205594954711005, 40.560755468230752 ], [ 14.205594306989823, 40.560754842572436 ], [ 14.205593674479758, 40.560754161554158 ], [ 14.205592614393453, 40.560753314414114 ], [ 14.205592873552073, 40.560752488120428 ], [ 14.205593015729685, 40.560750708970318 ], [ 14.205593281124022, 40.560749968388315 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12EA", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205678596344399, 40.560775848182544 ], [ 14.20559725598104, 40.560758893123733 ], [ 14.205597149286511, 40.560757764256529 ], [ 14.205596635192059, 40.560756167549997 ], [ 14.205596117568486, 40.560755620437391 ], [ 14.205594954711005, 40.560755468230752 ], [ 14.205594306989823, 40.560754842572436 ], [ 14.205593674479758, 40.560754161554158 ], [ 14.205592614393453, 40.560753314414114 ], [ 14.205592873552073, 40.560752488120428 ], [ 14.205593015729685, 40.560750708970318 ], [ 14.205593281124022, 40.560749968388315 ] ] ] } },
{ "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12EB", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205906236202267, 40.560775215324206 ], [ 14.205906585283053, 40.560774665639684 ], [ 14.205907136978507, 40.560773434008894 ], [ 14.205907601759272, 40.560772823282718 ], [ 14.205908415771988, 40.560772987965869 ], [ 14.205910435331059, 40.56077322958879 ], [ 14.205912315513975, 40.56077346266251 ], [ 14.205913917769159, 40.560773500466588 ], [ 14.205914373971613, 40.560773489321875 ], [ 14.205915290655357, 40.560773633678139 ], [ 14.205915836398669, 40.560773975421846 ], [ 14.205916832530839, 40.560774376569498 ], [ 14.205918427864903, 40.560774483127659 ], [ 14.205918730296039, 40.560774302156609 ], [ 14.205919478351836, 40.560774528486533 ], [ 14.205919832452226, 40.560775057191847 ], [ 14.205919862807976, 40.560775470362159 ] ] ] } }, { "type": "Feature", "properties": { "Layer": "PLANIMETRIA", "PaperSpace": null, "SubClasses": "AcDbEntity:AcDbPolyline", "Linetype": null, "EntityHand": "12EB", "Text": null }, "geometry": { "type": "MultiLineString", "coordinates": [ [ [ 14.205906236202267, 40.560775215324206 ], [ 14.205906585283053, 40.560774665639684 ], [ 14.205907136978507, 40.560773434008894 ], [ 14.205907601759272, 40.560772823282718 ], [ 14.205908415771988, 40.560772987965869 ], [ 14.205910435331059, 40.56077322958879 ], [ 14.205912315513975, 40.56077346266251 ], [ 14.205913917769159, 40.560773500466588 ], [ 14.205914373971613, 40.560773489321875 ], [ 14.205915290655357, 40.560773633678139 ], [ 14.205915836398669, 40.560773975421846 ], [ 14.205916832530839, 40.560774376569498 ], [ 14.205918427864903, 40.560774483127659 ], [ 14.205918730296039, 40.560774302156609 ], [ 14.205919478351836, 40.560774528486533 ], [ 14.205919832452226, 40.560775057191847 ], [ 14.205919862807976, 40.560775470362159 ] ] ] } },

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 384 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -132,12 +132,16 @@ GIS.initMap = async function (mapId, zoomLevel = this.INIT_ZOOM) {
*/ */
GIS.initLayers = async function(map) { GIS.initLayers = async function(map) {
let layerMater = await this.loadLayer('matermania.geojson', optionsSiti, false); let layerMater = await this.loadLayer('matermania.geojson', optionsSiti, false);
let layerMaterArea = await this.loadLayer('matermania_area.geojson', optionsSiti, false);
let layerArsenale = await this.loadLayer('arsenale.geojson', optionsSiti, false); let layerArsenale = await this.loadLayer('arsenale.geojson', optionsSiti, false);
let layerArsenaleArea = await this.loadLayer('arsenale_area.geojson', optionsSiti, false); let layerArsenaleArea = await this.loadLayer('arsenale_area.geojson', optionsSiti, false);
let layerGradola = await this.loadLayer('gradola.geojson', optionsSiti, false); let layerGradola = await this.loadLayer('gradola.geojson', optionsSiti, false);
let layerGradolaArea = await this.loadLayer('gradola_area.geojson', optionsSiti, false);
layerMater.id = 'matermania'; layerMater.id = 'matermania';
layerMaterArea.id = 'matermania_area';
layerGradola.id = 'gradola'; layerGradola.id = 'gradola';
layerGradolaArea.id = 'gradola_area';
layerArsenale.id = 'arsenale'; layerArsenale.id = 'arsenale';
layerArsenaleArea.id = 'arsenale_area'; layerArsenaleArea.id = 'arsenale_area';
@ -150,7 +154,14 @@ GIS.initLayers = async function(map) {
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors' attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
}); });
const sitesGroup = new L.LayerGroup([layerMater, layerGradola, layerArsenale, layerArsenaleArea]); const sitesGroup = new L.LayerGroup([
layerMater,
layerMaterArea,
layerGradola,
layerGradolaArea,
layerArsenale,
layerArsenaleArea,
]);
const baseGroup = new L.LayerGroup([osmap]); const baseGroup = new L.LayerGroup([osmap]);
baseGroup.addTo(map); baseGroup.addTo(map);
sitesGroup.addTo(map); sitesGroup.addTo(map);
@ -158,8 +169,10 @@ GIS.initLayers = async function(map) {
"OpenStreetMap" : osmap "OpenStreetMap" : osmap
}; };
const archeo = { const archeo = {
"Villa di Gradola" : layerGradola, "Villa di Gradola (planimetria)" : layerGradola,
"Grotta di Matermania" : layerMater, "Villa di Gradola (area)" : layerGradolaArea,
"Grotta di Matermania (planimetria)" : layerMater,
"Grotta di Matermania (area)" : layerMaterArea,
"Grotta dell'Arsenale (planimetria)" : layerArsenale, "Grotta dell'Arsenale (planimetria)" : layerArsenale,
"Grotta dell'Arsenale (area)" : layerArsenaleArea, "Grotta dell'Arsenale (area)" : layerArsenaleArea,
"Vincoli archeologici" : layerVincoli, "Vincoli archeologici" : layerVincoli,

View File

@ -10,10 +10,6 @@
"opts": { "opts": {
"encoding": "utf8", "encoding": "utf8",
"destination": "docs/", "destination": "docs/",
"recurse": true, "recurse": true
"verbose": true,
"theme_opts": {
"theme": "dark"
}
} }
} }

View File

@ -91,9 +91,36 @@ UI.openModal = async function (data) {
<tr><th>Documenti</th><td>${data.documenti}</td></tr> <tr><th>Documenti</th><td>${data.documenti}</td></tr>
<tr><th>Descrizione</th><td>${data.descrizione}</td></tr> <tr><th>Descrizione</th><td>${data.descrizione}</td></tr>
`; `;
if (data.images.length) { if (data.documents.length) {
table += `<tr><th class="has-text-centered" colspan="2">Immagini</th></tr>`; table += `<tr>
for (const img of data.images) { <th class="has-text-centered">Pubblicazioni</th>
<td><ul>
`;
for (const doc of data.documents) {
table += `
<li><a href="docs/${doc.filename}">${doc.titolo}</a></li>
`;
}
table += '</ul></td></tr>';
}
if (data.surveys.length) {
table += `<tr><th class="has-text-centered" colspan="2">Elaborazioni CNR da rilievi</th></tr>`;
for (const img of data.surveys) {
table += `
<tr>
<td colspan="2" style="max-width: 70%">
<figure class="image">
<img src="/img/${img.filename}" />
<figcaption class="p-2 has-text-centered">${img.didascalia}</figcaption>
</figure>
</td>
</tr>
`;
}
}
if (data.photos.length) {
table += `<tr><th class="has-text-centered" colspan="2">Fotografie</th></tr>`;
for (const img of data.photos) {
table += ` table += `
<tr> <tr>
<td colspan="2" style="max-width: 70%"> <td colspan="2" style="max-width: 70%">