94 Commits

Author SHA1 Message Date
Vladimir Agafonkin
ffa28f80ec add initial support for VT3 draft spec 2018-10-31 18:56:58 +01:00
Anand Thakker
58df1e9344 v1.3.1 2018-03-02 19:42:41 -05:00
Anand Thakker
a9a91029c0
Fix infinite loop when reading closepath command (#63)
* Fix ininite loop when length goes below 0

* Fix infinite loop

* Add unit test
2018-03-02 19:33:28 -05:00
Dane Springmeyer
3085c2dfd7 Use ~ to install node-mapnik (#62)
This will protect your module from automatically upgrading to node-mapnik v3.7.0 (when it is published). This in turn will protect your users from breakages if they are running windows.

Refs mapnik/node-mapnik#848
2018-02-23 12:28:52 -08:00
Sam Matthews
3e292e2707 Merge pull request #56 from mapbox/mbx-scope-example
Updated README example to reflect @mapbox scope
2017-08-14 11:12:00 -05:00
Sam Matthews
29a189d3b2 Updated README example to reflect @mapbox scope 2017-08-14 10:18:04 -05:00
Blake Thompson
7fa4d808ac Merge pull request #55 from ezheidtmann/patch-1
Use namespaced package name
2017-05-05 12:23:19 -05:00
Evan Heidtmann
cc2f0d42d2 Use namespaced package name
Based on instructions from NPM:

$ npm install vector-tile
npm WARN deprecated vector-tile@1.3.0: This module has moved: please install @mapbox/vector-tile instead
npm WARN deprecated point-geometry@0.0.0: This module has moved: please install @mapbox/point-geometry instead
mvt-compare@1.0.0 /home/evan/knock/mvt-compare
└─┬ vector-tile@1.3.0 
  └── point-geometry@0.0.0 

$ npm install @mapbox/vector-tile
mvt-compare@1.0.0 /home/evan/knock/mvt-compare
└─┬ @mapbox/vector-tile@1.3.0 
  └── @mapbox/point-geometry@0.1.0
2017-05-05 09:35:11 -07:00
Blake Thompson
e49aff8a97 Merge pull request #54 from mapbox/namespace
Update to mapbox namespace and update dev dependency of mapnik
2017-04-21 15:30:25 -05:00
Blake Thompson
d96dc077d4 Update to mapbox namespace and update dev dependency of mapnik 2017-04-21 12:18:52 -05:00
Tom MacWright
b7abef267d Merge pull request #48 from nyurik/patch-2
Update package.json
2016-09-26 08:45:54 -04:00
Tom MacWright
33abe9508d Merge pull request #49 from nyurik/patch-1
Update LICENSE.txt
2016-09-26 08:37:16 -04:00
Yuri Astrakhan
e9e9ce56fc Update package.json
Seems like the text of the LICENSE.txt is BSD-3-Clause
2016-09-26 14:02:58 +02:00
Yuri Astrakhan
3efadbbf0e Update LICENSE.txt
I am guessing it was a copy/paste error?
2016-09-26 14:01:43 +02:00
John Firebaugh
a3aef5186d 1.3.0 v1.3.0 2016-07-18 17:34:00 -07:00
John Firebaugh
5c453951e1 Make VectorTileFeature#id a public property 2016-07-18 13:57:47 -07:00
John Firebaugh
91b1349853 1.2.1 v1.2.1 2016-05-18 11:54:06 -07:00
John Firebaugh
c16b5c0d59 Classify polygon rings to distinguish inner polygon rings and multipolygons 2016-05-18 11:40:35 -07:00
John Firebaugh
df74de2098 Drop all but node 4 from test matrix 2016-05-17 16:23:25 -07:00
John Firebaugh
10795be36e Fix coordinates for MultiPoints in toGeoJSON 2016-05-17 16:19:43 -07:00
John Firebaugh
5177aec30b Add approximateDeepEqual function for tests 2016-05-17 16:19:26 -07:00
Tom MacWright
40f73eb2c4 Add eslint 2016-02-09 15:48:52 -05:00
John Firebaugh
4eba80337d 1.2.0 v1.2.0 2015-12-10 10:50:42 -08:00
John Firebaugh
3d15fbae71 Include id in toGeoJSON result
Fixes #40
2015-12-10 10:49:46 -08:00
Vladimir Agafonkin
a3e6da8c02 upgrade travis config for more targets 2015-11-11 16:28:11 +02:00
Tom MacWright
3426fc4231 Merge pull request #30 from ahocevar/patch-1
Mention public 'properties' property
2015-08-25 09:01:28 -04:00
Andreas Hocevar
e15dcd9522 Mention public 'properties' property
VectorTileFeature has a public 'properties'  property, which was missing from the API documentation.
2015-08-11 15:47:26 +02:00
Tom MacWright
1fae05a6ba Retitle readme 2015-07-07 17:30:45 -04:00
Tom MacWright
4afd5a3a05 Use svg badges 2015-07-07 17:30:08 -04:00
Tom MacWright
3ba9367b3e Add example with gunzip coding. Fixes #29 2015-07-07 17:28:57 -04:00
John Firebaugh
d1b8401c54 1.1.3 v1.1.3 2015-06-15 10:54:51 -07:00
John Firebaugh
a615643598 Workaround for mapnik-vector-tile bug
https://github.com/mapbox/mapnik-vector-tile/issues/90
https://github.com/mapbox/mapbox-gl-js/issues/1019
2015-06-15 10:49:58 -07:00
John Firebaugh
3263ad998f Merge pull request #27 from anandthakker/master
Document toGeoJSON
2015-04-13 10:49:15 -07:00
Anand Thakker
dc27d43776 Document toGeoJSON 2015-04-12 17:10:44 -04:00
Vladimir Agafonkin
c6f6d83f57 1.1.2 v1.1.2 2015-03-05 19:16:05 +02:00
Vladimir Agafonkin
14753c01f1 update changelog 2015-03-05 19:15:56 +02:00
Vladimir Agafonkin
e3f9a54b27 update pbf to 1.3.2 2015-03-05 19:14:09 +02:00
Vladimir Agafonkin
5b91663df4 decode negative int64 properly 2015-03-05 19:14:09 +02:00
Vladimir Agafonkin
d47400e700 minor fixes, update deps 2015-03-05 19:13:09 +02:00
John Firebaugh
c6407a579b Merge pull request #22 from mapbox/readme-fix
fixing readme: require(..); --> require(..).VectorTile
2015-03-04 11:33:00 -08:00
dnomadb
a69c58f146 fixing readme: require(..); --> require(..).VectorTile 2015-03-04 11:27:26 -08:00
John Firebaugh
a17e228dac sudo: false 2015-02-26 14:40:57 -08:00
John Firebaugh
bc79ebbeb7 v1.1.1 v1.1.1 2015-02-25 11:54:16 -08:00
John Firebaugh
51d4f30a3f Handle what MultiPoints and MultiLineStrings we can
Upstream: https://github.com/mapbox/vector-tile-spec/issues/30
2015-02-25 11:35:35 -08:00
John Firebaugh
bb979b79eb Be clear that a Protobuf object is required 2015-02-24 10:47:14 -08:00
John Firebaugh
1d3f4c1ebb Inline Mercator math 2015-02-23 15:36:37 -08:00
John Firebaugh
8b44523394 1.1.0 v1.1.0 2015-02-21 09:28:58 -08:00
John Firebaugh
98113ef7a3 Merge pull request #20 from mapbox/toGeoJSON
Add feature.toGeoJSON(x, y, z)
2015-02-21 09:25:13 -08:00
John Firebaugh
b15016a0e4 Add feature.toGeoJSON(x, y, z) 2015-02-20 21:17:53 -08:00
Vladimir Agafonkin
5b562b945a fix typo v1.0.0 2014-12-26 20:30:04 +02:00