Skip to content

Commit

Permalink
19-11-Version removed military parcels
Browse files Browse the repository at this point in the history
  • Loading branch information
brych92 committed Nov 19, 2023
0 parents commit 20d53a2
Show file tree
Hide file tree
Showing 49 changed files with 4,468 additions and 0 deletions.
114 changes: 114 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="./resources/ol.css">
<link rel="stylesheet" href="resources/fontawesome-all.min.css">
<link rel="stylesheet" href="./resources/ol-layerswitcher.css">
<link rel="stylesheet" href="./resources/qgis2web.css">
<style>
.search-layer {
top: 100px;
left: .5em;
}
.ol-touch .search-layer {
top: 130px;
}
</style>
<style>
html, body {
background-color: #ffffff;
}
.ol-control button {
background-color: #dce6e8 !important;
color: #42515f !important;
border-radius: 0px !important;
}
.ol-zoom, .geolocate, .gcd-gl-control .ol-control {
background-color: rgba(255,255,255,.4) !important;
padding: 3px !important;
}
.ol-scale-line {
background: none !important;
}
.ol-scale-line-inner {
border: 2px solid #dce6e8 !important;
border-top: none !important;
background: rgba(255, 255, 255, 0.5) !important;
color: black !important;
}
</style>
<style>
.tooltip {
position: relative;
background: rgba(0, 0, 0, 0.5);
border-radius: 4px;
color: white;
padding: 4px 8px;
opacity: 0.7;
white-space: nowrap;
}
.tooltip-measure {
opacity: 1;
font-weight: bold;
}
.tooltip-static {
background-color: #ffcc33;
color: black;
border: 1px solid white;
}
.tooltip-measure:before,
.tooltip-static:before {
border-top: 6px solid rgba(0, 0, 0, 0.5);
border-right: 6px solid transparent;
border-left: 6px solid transparent;
content: "";
position: absolute;
bottom: -6px;
margin-left: -7px;
left: 50%;
}
.tooltip-static:before {
border-top-color: #ffcc33;
}
.measure-control {
top: 65px;
left: .5em;
}
.ol-touch .measure-control {
top: 80px;
}
</style>
<style>
html, body, #map {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
</style>
<title>Карта ділянок Виноградівського ОТГ</title>
</head>
<body>
<div id="map">
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
</div>
<script src="resources/qgis2web_expressions.js"></script>
<script src="resources/polyfills.js"></script>
<script src="./resources/functions.js"></script>
<script src="./resources/ol.js"></script>
<script src="./resources/ol-layerswitcher.js"></script>
<script src="layers/_4.js"></script><script src="layers/_5.js"></script>
<script src="styles/_4_style.js"></script><script src="styles/_5_style.js"></script>
<script src="./layers/layers.js" type="text/javascript"></script>
<script src="./resources/Autolinker.min.js"></script>
<script src="./resources/qgis2web.js"></script>
</body>
</html>
Binary file added layers/_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions layers/_3.png.aux.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<PAMDataset>
<SRS dataAxisToSRSAxisMapping="1,2">PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_1SP"],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0 +lon_0=0 +x_0=0 +y_0=0 +k=1 +units=m +nadgrids=@null +wktext +no_defs"],AUTHORITY["EPSG","3857"]]</SRS>
<GeoTransform> 2.4822391122053433e+06, 3.8533095343697227e+01, 0.0000000000000000e+00, 6.1749413489383496e+06, 0.0000000000000000e+00, -3.8528062668903274e+01</GeoTransform>
<Metadata domain="IMAGE_STRUCTURE">
<MDI key="INTERLEAVE">PIXEL</MDI>
</Metadata>
<Metadata>
<MDI key="AREA_OR_POINT">Area</MDI>
</Metadata>
<PAMRasterBand band="1">
<NoDataValue>0.00000000000000E+00</NoDataValue>
</PAMRasterBand>
<PAMRasterBand band="2">
<NoDataValue>0.00000000000000E+00</NoDataValue>
</PAMRasterBand>
<PAMRasterBand band="3">
<NoDataValue>0.00000000000000E+00</NoDataValue>
</PAMRasterBand>
<PAMRasterBand band="4">
<NoDataValue>0.00000000000000E+00</NoDataValue>
</PAMRasterBand>
</PAMDataset>
1 change: 1 addition & 0 deletions layers/_4.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions layers/_5.js

Large diffs are not rendered by default.

100 changes: 100 additions & 0 deletions layers/layers.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
var wms_layers = [];


var lyr_Visicom_0 = new ol.layer.Tile({
'title': 'Visicom',
'type': 'base',
'opacity': 1.000000,


source: new ol.source.XYZ({
attributions: ' ',
url: 'https://tms1.visicom.ua/2.0.0/planet3/base/{z}/{x}/{-y}.png'
})
});

var lyr_OSMStandard_1 = new ol.layer.Tile({
'title': 'OSM Standard',
'type': 'base',
'opacity': 1.000000,


source: new ol.source.XYZ({
attributions: ' &middot; <a href="https://www.openstreetmap.org/copyright">© OpenStreetMap contributors, CC-BY-SA</a>',
url: 'http://tile.openstreetmap.org/{z}/{x}/{y}.png'
})
});

var lyr_GoogleHybrid_2 = new ol.layer.Tile({
'title': 'Google Hybrid',
'type': 'base',
'opacity': 1.000000,


source: new ol.source.XYZ({
attributions: ' &middot; <a href="https://www.google.at/permissions/geoguidelines/attr-guide.html">Map data ©2015 Google</a>',
url: 'https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}'
})
});
var lyr__3 = new ol.layer.Image({
opacity: 1,
title: "Висотка псевдоколір",


source: new ol.source.ImageStatic({
url: "./layers/_3.png",
attributions: ' ',
projection: 'EPSG:3857',
alwaysInRange: true,
imageExtent: [2482239.112205, 6094225.057647, 2641766.126928, 6174941.348938]
})
});
var format__4 = new ol.format.GeoJSON();
var features__4 = format__4.readFeatures(json__4,
{dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'});
var jsonSource__4 = new ol.source.Vector({
attributions: ' ',
});
jsonSource__4.addFeatures(features__4);
var lyr__4 = new ol.layer.Vector({
declutter: true,
source:jsonSource__4,
style: style__4,
interactive: true,
title: 'Земельні ділянки<br />\
<img src="styles/legend/_4_0.png" /> Землі житлової та громадської забудови<br />\
<img src="styles/legend/_4_1.png" /> Землі сільськогосподарського призначення<br />\
<img src="styles/legend/_4_2.png" /> Землі промисловості, транспорту, зв’язку, енергетики, оборони та іншого призначення<br />\
<img src="styles/legend/_4_3.png" /> Землі природно-заповідного та іншого природоохоронного призначення<br />\
<img src="styles/legend/_4_4.png" /> Землі рекреаційного призначення<br />\
<img src="styles/legend/_4_5.png" /> Землі лісогосподарського призначення<br />\
<img src="styles/legend/_4_6.png" /> Землі історико-культурного призначення<br />\
<img src="styles/legend/_4_7.png" /> Землі водного фонду<br />\
<img src="styles/legend/_4_8.png" /> <br />'
});
var format__5 = new ol.format.GeoJSON();
var features__5 = format__5.readFeatures(json__5,
{dataProjection: 'EPSG:4326', featureProjection: 'EPSG:3857'});
var jsonSource__5 = new ol.source.Vector({
attributions: ' ',
});
jsonSource__5.addFeatures(features__5);
var lyr__5 = new ol.layer.Vector({
declutter: true,
source:jsonSource__5,
style: style__5,
interactive: false,
title: '<img src="styles/legend/_5.png" /> Межа громади'
});

lyr_Visicom_0.setVisible(false);lyr_OSMStandard_1.setVisible(false);lyr_GoogleHybrid_2.setVisible(true);lyr__3.setVisible(false);lyr__4.setVisible(true);lyr__5.setVisible(true);
var layersList = [lyr_Visicom_0,lyr_OSMStandard_1,lyr_GoogleHybrid_2,lyr__3,lyr__4,lyr__5];
lyr__4.set('fieldAliases', {'fid': 'fid', 'landuse.cadnum': 'Кадастровий номер', 'category': 'Категорія земель', 'purpose_code': 'purpose_code', 'purpose': 'Цільове призначення', 'use': 'Цільове використання', 'area': 'Площа', 'unit_area': 'одиниці площі', 'ownershipcode': 'ownershipcode', 'ownership': 'Форма власності', 'address': 'Адреса', });
lyr__5.set('fieldAliases', {'fid': 'fid', });
lyr__4.set('fieldImages', {'fid': 'TextEdit', 'landuse.cadnum': 'TextEdit', 'category': 'TextEdit', 'purpose_code': 'TextEdit', 'purpose': 'TextEdit', 'use': 'TextEdit', 'area': 'TextEdit', 'unit_area': 'TextEdit', 'ownershipcode': 'TextEdit', 'ownership': 'TextEdit', 'address': 'TextEdit', });
lyr__5.set('fieldImages', {'fid': 'TextEdit', });
lyr__4.set('fieldLabels', {'fid': 'no label', 'landuse.cadnum': 'header label', 'category': 'inline label', 'purpose_code': 'no label', 'purpose': 'inline label', 'use': 'inline label', 'area': 'inline label', 'unit_area': 'inline label', 'ownershipcode': 'no label', 'ownership': 'inline label', 'address': 'inline label', });
lyr__5.set('fieldLabels', {'fid': 'no label', });
lyr__5.on('precompose', function(evt) {
evt.context.globalCompositeOperation = 'normal';
});
11 changes: 11 additions & 0 deletions resources/Autolinker.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/Autolinker.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 20d53a2

Please sign in to comment.