[OSM-dev] [Mapnik-devel] curves

Richard Fairhurst richard at systemeD.net
Thu Jan 3 16:02:06 GMT 2008


(to: trimmed)

Artem Pavlenko wrote:

> Yes, indeed, storing contours as bezier curves would make more compact files.
> But in what format? I guess we can create our own format (easy) or
> extent SFS (abstract spec mentions curves but there's no open source
> implementation I aware of)

The data requirements are so elementary I'd suggest just a CSV or  
similar - let's kill those dependencies. ;)

- either "start new contour at height n" or "join to previous point"
- anchor point (x,y)
- control points (x1,y1 for quadratic, x1,y1,x2,y2 for cubic)

cheers
Richard





More information about the dev mailing list