73bd1ab83e
>>> from mapnik import * >>> ds = Shapefile(file='./demo/data/boundaries',encoding='latin1') >>> pt = ds.envelope().center() >>> print ds.describe() >>> for f in ds.features_at_point(pt): >>> print f.properties['NOM_FR'].unicode() >>> print f.properties['NOM_FR'].__str__() |
||
---|---|---|
.. | ||
postgis | ||
raster | ||
shape |