Releases: clarisma/geodesk-py
Version 0.1.10
Version 0.1.9
Version 0.1.8
Enhancements
-
Implemented type hints for improved autocomplete in IDEs
-
lonlat()
andlatlon()
can now create lists of coordinates -
Coordinate()
andBox()
clamp latitude to valid range
Bug fixes
- Fixed regex matching of tag values (#48)
Version 0.1.7
Version 0.1.6
Enhancements
-
from_mercator()
support for shapes (#41) -
lon
andlat
are rounded to 7 digits, conforming to the default precision used by OSM (forCoordinate
andFeature
objects) -
Enhanced support for
Features
metadata:indexed_keys
strings
Tile.size
Bug fixes
Version 0.1.5
Enhancements
-
Formatters now support the following attributes:
id
linewise
precision
pretty
-
Line-by-line GeoJSON is now supported --
.geojsonl
or.geojson(linewise=True)
(#3) -
IDs in GeoJSON can now be customized by providing a formatter function via
id
(#37 partial) -
GeoJSON is now compact by default; for more human-readable (but bulkier) output, use
.geojson(pretty=True)
-
Support for geometry collections
-
Support for anonymous nodes -- e.g.
ways.nodes.geojson
(#36) -
__repr__()
now prints the contents of aFormatter
Bug fixes
-
Area-ways are now in correct format for GeoJSON and WKT (#34)
-
Formatter
: Fixed coordinate rounding bug -
area
,length
andshape
can now be used with feature sets that contain anonymous nodes
Version 0.1.4
Enhancements
within()
: A polygon is now considered to be within itself, which conforms
to the OGC definition
Performance Improvements
- Spatial filters that apply to large areas are now 4x to 30x faster,
thanks to optimizations that short-cut relational tests
Bug fixes
Version 0.1.3
Version 0.1.1
Enhancements
-
Creating
Coordinate
objects is now easier usinglonlat()
andlatlon()
(#10) -
Feature sets now support
__contains__
for Python'sin
operator (#23) -
Number of tags in a
Tags
object can now be obtained usinglen()
-
Partial support for
Features.tiles
Deprecations
Feature.is_placeholder
has been deprecated and will be removed in the next major release. Missing relation members will no longer be represented by a "placeholder" feature, but will be omitted from the relation, and the relation will be taggedgeodesk:missing_members={count}
Bug fixes
-
Features.members_of()
now properly returns an empty set if called on features that are not relations (#18) -
Tags
: Fixed bug that caused certain tags to be skipped while iterating
Other changes
- Maps now use the standard OSM Carto style by default (#17)
Open issues & workarounds
- #19: Way-node retrieval may fail when querying large GOLs (16K+ tiles) that were built with GOL Tool version 0.1.8 or below, due to an encoding bug in
gol build
(clarisma/gol-tool#105). We recommend upgrading your GOL Tool and re-building any affected GOLs.
Version 0.1.0
Welcome to our first release of GeoDesk for Python.
Now available on PyPI:
pip install geodesk