Automate the boring, Engineer the awesome!
Pinned Loading
-
Convert a VIKTOR SDK GeoPoint, GeoPo...
Convert a VIKTOR SDK GeoPoint, GeoPolyline or GeoPolygon in RD into a shapely Point, LineString or Polygon 1from shapely.geometry import Point, LineString, Polygon
2from viktor.geometry import GeoPoint, GeoPolyline, GeoPolygon
34def convert_geo_point_to_shapeply_point(geo_point: GeoPoint) -> Point:
5"""Convert a VIKTOR SDK GeoPoint in RD into a shapely Point"""
-
Parse AHN4, get heigths as numpy arr...
Parse AHN4, get heigths as numpy array or pandas dataframe 1import itertools
2import math
3from io import BytesIO
4from typing import List
5 -
Conversion functions from shapely to...
Conversion functions from shapely to viktor geopoints, geopolylines and geopolygons for visualisation on a map 1from shapely import LineString, Polygon, Point
2from viktor.geometry import GeoPoint, GeoPolygon, Geopolyline
34def convert_shapely_point_to_geo_point(point: Point) -> GeoPoint:
5"""Convert a shapely Point in RD coordinates into a VIKTOR GeoPoint"""
-
Parse DXF files with VIKTOR
Parse DXF files with VIKTOR 1import os
2from pathlib import Path
3from tempfile import NamedTemporaryFile
4import ezdxf
5from viktor import File
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.