🧪 Version 0.3.1 is our alpha release candidate. Please send us bug reports and suggestions!

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference for start_geo_polygon

Create a new GeoPolygon. This is part of the reference section.

Purpose

Start building a closed shape using geographic coordinates (longitude and latitude provided in degrees) instead of pixel coordinates.

Snippet

Start a geopolygon at longitude of 1 degrees and latitude 2 degrees.
geo_polygon = sketch.start_geo_polygon(1, 2)

Parameters

  • longitude: The starting geographic point longitude coordinate or the E/W component of the first point of the polygon.
  • latitude: The starting geographic point longitude coordinate or the N/S component of the first point of the polygon.

Examples

Availability

Available for all platforms.

See also