Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Jul 15, 2015
  1. Merge pull request #254 from strepon/master

    fix typo in help
  2. @strepon

    fix typo in help

    strepon authored
Commits on Apr 9, 2015
  1. Add -- to usage. Fixes #223.

Commits on Oct 21, 2014
  1. @jasondavies

    Fix topojson-command-test on Linux.

    jasondavies authored
    It looks like Node’s child processes cannot always open /dev/stdout, at
    least on Linux.  An error such as "UNKNOWN" or "ENXIO" is thrown.
    This thread may be related:
    One workaround is to insert a pipe to cat, which allows the child
    process to open /dev/stdout, and pipe to cat.  Then the output of cat
    can be read by the test.
    Fixes #204.
Commits on Oct 20, 2014
  1. @jasondavies

    Fix test on Linux: use path.join with os.tmpdir.

    jasondavies authored
    Looks like os.tmpdir() isn’t guaranteed to return a trailing slash.
Commits on Sep 8, 2014
  1. Regenerate world files.

  2. Regenerate world examples.

Commits on Aug 21, 2014
  1. Tweak comment slightly.

  2. @jasondavies
Commits on Aug 14, 2014
  1. @jasondavies

    Fix --simplify-proportion calculation.

    jasondavies authored
    Previously, the minimum area required to retain a given proportion of
    points was incorrectly calculated when taking into account the ignored
  2. @jasondavies
Commits on Jul 17, 2014
  1. Merge branch '1.6.15'

  2. Merge branch 'rw' into 1.6.15

  3. Slightly cleaner.

  4. Update to rw 0.1.

Commits on Jul 14, 2014
  1. @jasondavies

    Simplify each arc separately.

    jasondavies authored
    Rather than build one large heap for all arcs, we build a heap for each
    arc separately and simplify one arc at a time.  A quick benchmark using
    Natural Earth’s 10m admin-0 data simplified at 1e-5 results in a 2x
    speedup with this change.  This is due to reduced peak memory usage and
    faster heap operations on the smaller heaps.
Commits on Jun 24, 2014
  1. @seeschloss
Commits on May 29, 2014
  1. Merge branch 'properties'

  2. @jasondavies


    jasondavies authored
  3. Alternative fix.

  4. @jasondavies

    Improve test for joining external properties.

    jasondavies authored
    This handles the case where an input feature has no `properties`, but it
    is joined with external properties.
  5. @jasondavies
Commits on May 9, 2014
  1. Fix help text.

  2. @jasondavies

    Bump version.

    jasondavies authored
Commits on May 6, 2014
  1. @jasondavies
Commits on May 4, 2014
  1. Allow --id-property and --properties expressions.

    You can now use JavaScript expressions to more flexibly define how ids and
    properties are computed. This is an expansion on the previous support for
    coercing numeric ids (`+foo`). For example, to concatenate the string properties
    foo and bar into baz, you can say `-p baz=foo+bar`. Similarly, to define the id
    as the last five characters of foo, say `--id-property='foo.slice(-5)'`.
    Generally, -p expressions should be combined with an explicit target name, of
    the form `-p target=source`, which target is the name of the output property,
    and source is the JavaScript expression to compute the value of the output
    property from the source properties. For backwards-compatibility, expressions of
    the form `+name` imply a target name of “name”. However, note that this does not
    apply to other expressions, such as `name+""`; to coerce to a string, you’d want
    to say `name=name+""`.
    Fixes #107.
Commits on Apr 30, 2014
  1. Merge branch 'svg'

  2. Fix for empty paths.

  3. Add --precision.

Something went wrong with that request. Please try again.