Skip to content

Instantly share code, notes, and snippets.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / retain-internal-mask.ipynb
Created July 23, 2018 05:31
Retain internal mask
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / south-up-image-reprojection.ipynb
Last active July 21, 2018 21:46
south-up image reprojection
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / north-up-image-reprojection.ipynb
Last active July 21, 2018 10:45
north-up image reprojection
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / gdalwarp-resampling.ipynb
Last active July 21, 2018 11:54
gdalwarp resampling
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / dissolve.ipynb
Created July 10, 2018 04:50
telluric-dissolve
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / telluric-reproject.ipynb
Created July 9, 2018 04:20
Reproject raster with telluric
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drnextgis
drnextgis / admin.md
Last active December 10, 2022 03:22
Extract administrative boundaries from citypopulation.de as GeoJSON

Open page, for example, and type the following commands into web browser's console and copy output to file:

script = document.createElement('script');
document.head.appendChild(script);

script.onload = function () {
    polygons = [];
    adminLayer.forEach(function (polygon) {
        linearRing = [];
@drnextgis
drnextgis / glg.md
Last active November 17, 2015 11:37
GetLegendGraphic

GetLegendGraphic

Для слоёв WMS-сервиса, созданных на базе ресурса "Стиль MapServer" доступны запросы получения легенды GetLegendGraphic.

Пример запроса:

http://demo.nextgis.ru/ngw/api/resource/83/wms?SERVICE=WMS&REQUEST=GetLegendGraphic&LAYER=boundary-polygon