Dashboard
PHP:
8.2.30
OS:
Linux
User:
dh_nv8b2m
/
/
usr
/
lib
/
python3
/
dist-packages
/
django
/
contrib
/
gis
/
geos
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: collections.cpython-310.pyc
o 3�a7 � @ s� d Z ddlmZmZmZ ddlmZ ddlm Z m Z ddlmZ ddl mZmZ ddlmZ ddlmZ G d d � d e �ZG dd� de�ZG d d� de e�ZG dd� de�Zeeeeeeefe_dS )zy This module houses the Geometry Collection objects: GeometryCollection, MultiPoint, MultiLineString, and MultiPolygon � )�byref�c_int�c_uint)� prototypes)�GEOSGeometry�LinearGeometryMixin)�GEOM_PTR)� LinearRing� LineString)�Point)�Polygonc sx e Zd ZdZ� fdd�Zdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z ejZ ejZedd� �Zedd� �ZeZ� ZS )�GeometryCollection� c sd t |�dkrt|d ttf�r|d }n|}n|}| �|� | �t |�|�}t� j|fi |�� dS )zEInitialize a Geometry Collection from a sequence of Geometry objects.� r N)�len� isinstance�tuple�list�_check_allowed�_create_collection�super�__init__)�self�args�kwargs� init_geoms� collection�� __class__� �E/usr/lib/python3/dist-packages/django/contrib/gis/geos/collections.pyr s zGeometryCollection.__init__c c s"