Skip to content

Commit

Permalink
Documented precision parameter support in Vector provider
Browse files Browse the repository at this point in the history
  • Loading branch information
migurski committed Mar 15, 2012
1 parent 094d096 commit 334385f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions API.html
Expand Up @@ -1040,6 +1040,12 @@ <h4><a id="vector-provider" name="vector-provider">Vector</a></h4>
spherical mercator projection. Stylistically a poor fit for GeoJSON, but
useful when returning Arc GeoServices responses.
</dd>
<dt>precision</dt>
<dd>
Default is <samp>6</samp>.
<br>
Optional number of decimal places to use for floating point values.
</dd>
<dt>spacing</dt>
<dd>
Optional number of tile pixels for spacing geometries in responses. Used
Expand Down
4 changes: 4 additions & 0 deletions TileStache/Vector/__init__.py
Expand Up @@ -76,6 +76,10 @@
mercator projection. Stylistically a poor fit for GeoJSON, but useful
when returning Arc GeoServices responses.
precision:
Default is 6.
Optional number of decimal places to use for floating point values.
spacing:
Optional number of tile pixels for spacing geometries in responses. Used
to cut down on the number of returned features by ensuring that only those
Expand Down

0 comments on commit 334385f

Please sign in to comment.