The popularity of Google Maps and other "naive" applications demonstrates that there is a large group of users that do not need GDAL or MapServer?.

I've created a new minimal dependencies branch to work on isolating the dependencies on GDAL and MapServer? into optional components.

Here's the plan:

  • consolidate PCL-Referencing, PCL-Spatial, PCL-Cartography, PCL-Data into PCL-Core.
  • break cartography.data.disk out of PCL-Data and call it PCL-GDAL. perhaps change the module to cartography.data.gdal/ogr
  • implement a PIL or Cairo based renderer sufficient for rendering hundreds of features into a map image layer.
  • implement a cartography.data.disk module based on shapelib.
  • flatten namespaces.

New API (Proposal)

See

Summary

    >>> from cartography.proj import SpatialReference
    >>> from cartography.proj import ProjTransform
    >>> from cartography.proj.transform import transform_points

    >>> from cartography.geometry import Geometry, Point, LinearRing, Polygon

    >>> from cartography.data.feature import Feature, PropertyTypeCollection, StringProperty, GeometryProperty
    >>> from cartography.data.memory import MemoryFeatureStore

    >>> from cartography.styles import TextSymbolizer, PolygonSymbolizer
    >>> from cartography.styles import PointSymbolizer
    >>> from cartography.styles import Style, Rule
    >>> from cartography.styles import Font, Halo, Fill, Stroke, Mark, Graphic

    >>> from cartography.context import MapContext, ContextLayer