o
    ó<âg   ã                   @   sT   d Z ddlmZ ddlmZmZmZmZ g d¢ZG dd„ deƒZ	G dd„ deƒZ
d	S )
z¨
Module that holds classes for performing I/O operations on GEOS geometry
objects.  Specifically, this has Python implementations of WKB/WKT
reader and writer classes.
é    )ÚGEOSGeometry)Ú	WKBWriterÚ	WKTWriterÚ
_WKBReaderÚ
_WKTReader)r   r   Ú	WKBReaderÚ	WKTReaderc                       ó   e Zd Z‡ fdd„Z‡  ZS )r   c                    ó   t tƒ  |¡ƒS )z/Return a GEOSGeometry for the given WKB buffer.©r   ÚsuperÚread)ÚselfÚwkb©Ú	__class__© úM/var/www/html/venv/lib/python3.10/site-packages/django/contrib/gis/geos/io.pyr      ó   zWKBReader.read©Ú__name__Ú
__module__Ú__qualname__r   Ú__classcell__r   r   r   r   r      ó    r   c                       r	   )r   c                    r
   )z/Return a GEOSGeometry for the given WKT string.r   )r   Úwktr   r   r   r      r   zWKTReader.readr   r   r   r   r   r      r   r   N)Ú__doc__Ú django.contrib.gis.geos.geometryr   Ú%django.contrib.gis.geos.prototypes.ior   r   r   r   Ú__all__r   r   r   r   r   r   Ú<module>   s    