geokernel 1.5.40
100+ functions have 50+ basic blocksBasename is uppercase README.md
SHA-256d49278f281e2e4f67d43ae3252d9a5e9e380411572ae9ea7310e7e66f836c300
Evidence
18:5… sifier: Topic :: Scientific/Engineering :: GIS
19Requires-Python: >=3.10
20Description-Content-Type: text/markdown
21Requires-Dist: PySide6==6.11.0
22Provides-Extra: formats
23Requires-Dist: geokernel-formats==1.5.40; extra == "formats"
24Provides-Extra: all
25Requires-Dist: geokernel-formats==1.5.40; extra == "all"
26
27# GeoKernel Python
28
29Official Python package for the GeoKernel GIS SDK.
30
31The package name is `geokernel`:
32
33```powershell
34pip install geokernel
35```
36
⋯4 lines
⋯4 lines
47```
48
49## Usage
50
51```python
52import sys
53
54from PySide6.QtWidgets import QApplication, QMainWindow
55
56from geokernel import Viewer, ViewerTool
57
58app = QApplication(sys.argv)
59
60window = QMainWindow()
61window.setWindowTitle("HelloMap")
62window.resize(1200, 800)
63
64viewer = Viewer(width=1200, height=800)
65viewer.set_tool(ViewerTool.PAN)
66viewer.add_layer(r"D:\data\world_4326.shp")
67
68window.setCentralWidget(viewer.qt_widget()) …
113:43… inalizer. `GlobeWidget` releases its host
114on normal close, `deleteLater`, ancestor deletion, reparenting and application quit.
115For low-level `shiboken6.delete`, call `close_globe()` before deleting the parent.
116Reopening a closed widget creates a fresh session with its original settings.
117
118```python
119from geokernel import GlobeVectorRequest, GlobeVectorStyle
120
121job = widget.globe.load_vector(GlobeVectorRequest(
122 "buildings", building_path,
123 style=GlobeVectorStyle(category_field="type"),
124))
125# In event_received, on jobFinished, …
151:2… un `python -m unittest discover -s tests -p "test_globe_contract.py" -v` for
152ABI/codec checks without native libraries. For real integration tests set
153`GEOKERNEL_GLOBE_INTEGRATION=1`, `GEOKERNEL …
156:31… be listed in `GEOKERNEL_TEST_DLL_DIRS` using `;`.
157On Linux, configure `LD_LIBRARY_PATH` for the SDK/Qt dependencies and use X11/xcb
158(or Xvfb); foreign embedding on Wayland is unsupported by the native API.
159
160Run …
Showing the top 5 files — 7 more files (260 regions) not shown.