Codebase list python-shapely / 1b812b06-68ff-411c-8b98-56ec6fbddd36/main FAQ.rst
1b812b06-68ff-411c-8b98-56ec6fbddd36/main

Tree @1b812b06-68ff-411c-8b98-56ec6fbddd36/main (Download .tar.gz)

FAQ.rst @1b812b06-68ff-411c-8b98-56ec6fbddd36/mainraw · history · blame

Frequently asked questions and answers
======================================

Are there references for the algorithms used by shapely?
--------------------------------------------------------

Generally speaking, shapely's predicates and operations are derived from
methods of the same name from GEOS_ and the `JTS Topology Suite`_.  See the `JTS FAQ`_ for references
describing the JTS algorithms.

I used .buffer() on a geometry with Z coordinates. Where did the Z coordinates go?
----------------------------------------------------------------------------------

The buffer algorithm in GEOS_ is purely two-dimensional and discards any Z coordinates.
This is generally the case for the GEOS algorithms.


.. _GEOS: https://trac.osgeo.org/geos/
.. _JTS Topology Suite: https://locationtech.github.io/jts/
.. _JTS FAQ: https://locationtech.github.io/jts/jts-faq.html#E1