Skip to content

HTTPS clone URL

Subversion checkout URL

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

    authored
    fix typo in help
  2. @strepon

    fix typo in help

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

    authored
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:
    
      https://groups.google.com/d/topic/nodejs/SxNKLclbM5k/discussion
    
    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.

    authored
  2. Regenerate world examples.

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

    authored
  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
    endpoints.
  2. @jasondavies
Commits on Jul 17, 2014
  1. Merge branch '1.6.15'

    authored
  2. Merge branch 'rw' into 1.6.15

    authored
  3. Slightly cleaner.

    authored
  4. Update to rw 0.1.

    authored
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'

    authored
  2. @jasondavies

    Simplify.

    jasondavies authored
  3. Alternative fix.

    authored
  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.

    authored
  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.

    authored
    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'

    authored
  2. Fix for empty paths.

    authored
  3. Add --precision.

    authored
Something went wrong with that request. Please try again.