User Tools

Site Tools


samples:samples:jupyternotebookdkforpython

Table of Contents

JupyterNotebookDKForPython sample

Documentation | Samples | JupyterNotebookDKForPython

Summary

Jupyter Notebook for TatukGIS DK Python - Interactive analysis and mapping demonstrations using Python within Jupyter notebooks.

Description

This Jupyter notebook demonstrates practical GIS analysis and mapping workflows using TatukGIS Developer Kernel for Python. It showcases interactive data visualization, layer management, geospatial analysis operations, and classification techniques within the Jupyter environment for scientific geospatial computing.

This sample illustrates use of:

Name Description
TGIS_ViewerBMPBitmap viewer class for rendering GIS maps to a bitmap surface rather than to a window or control.
TGIS_ViewerBMP.OpenOpen a project.
TGIS_ViewerBMP.AddAdd a layer to the Viewer.
TGIS_ViewerBMP.InvalidateWholeMapInvalidate whole map.
TGIS_ViewerBMP.GIS_BitmapUnderlying bitmap.
TGIS_ViewerBMP.CSCoordinate system assigned to the viewer.
TGIS_ViewerBMP.FullExtentCalculate the screen origin, zoom, and viewport to place the whole map in the window.
TGIS_ViewerBMP.GetRetrieve the layer identified by name.
TGIS_ExtentAxis-aligned 2D extent defined by minimum and maximum X/Y coordinates.
TGIS_Bitmap.AsPngExport the bitmap as an array of bytes in PNG format.
TGIS_Layer.ParamsActive rendering parameter section for the layer, including colors, fills, and related drawing settings.
TGIS_ClassificationFactory.CreateClassifierCreates a classifier derived from TGIS_ClassificationAbstract for the specified layer type.
TGIS_ClassificationAbstract.TargetIndicates the data used for classification; empty by default.
TGIS_ClassificationAbstract.MethodClassification method; NaturalBreaks by default.
TGIS_ClassificationAbstract.ColorRampThe color ramp that is used to assign colors for class breaks; not assigned by default.
TGIS_ClassificationAbstract.MustCalculateStatisticsIndicates whether statistics for the assigned layer must be calculated.
TGIS_ClassificationAbstract.ClassifyPerforms classification using the assigned layer ParamsList.
TGIS_Layer.StatisticsLayer statistics engine used by the layer.
TGIS_LayerVectorAbstract base class for vector layers managing collections of geometric shapes with spatial indexing, attribute fields, SQL-like queries, and coordinate transformations.
TGIS_LayerPixelAbstract base class for georeferenced pixel and raster layers, providing shared bitmap and numeric grid infrastructure.
TGIS_LayerPixel.BuildBuilds an in-memory georeferenced bitmap or grid layer using the specified pixel size.
TGIS_LayerPixel.ParamsReturns the pixel parameter section for the layer.
TGIS_LayerPixel.CuttingPolygonPolygon used to limit valid raster output to a selected area.
TGIS_StatisticsAbstract.CalculateCalculate requested statistics for the entire layer extent.
TGIS_Utils.GisColorRampListList of available color ramps.
TGIS_ColorRampList.ByNameGets a color ramp by name.
TGIS_GradientMap.RealizeColorMapRealizes a color map using the requested mode, subclass, and order.
TGIS_InterpolationKrigingImplementation of the ordinary Kriging interpolation method.
TGIS_ContourGeneratorImplements contour line and contour-band generation for raster grid and DEM (Digital Elevation Model) layers.
TGIS_ContourGenerator.ContourIntervalThe elevation interval between generated contours.
TGIS_ContourGenerator.SmoothenIf True, generated contours are smoothed.
TGIS_ContourGenerator.BusyEvent
TGIS_ContourGenerator.GenerateGenerates vector contours from a raster grid layer.
TGIS_LayerVector.LoopCreates an enumerator factory for traversing all shapes in the layer.
TGIS_Shape.MakeEditableMake the shape editable by materializing mutable shape data when necessary.
TGIS_Shape.IntersectionComputes the intersection of this shape and another shape.

Code

This sample is available on the following platforms (click to view the source code on GitHub):

2026/09/21 00:22

Page Tools