vector-datasource icon indicating copy to clipboard operation
vector-datasource copied to clipboard

Only return intermittent=true properties

Open rmarianski opened this issue 8 years ago • 1 comments

Only return back true values, and leave off the property in the tile when it's false.

rmarianski avatar Dec 12 '16 20:12 rmarianski

Example tile:

  • http://tile.mapzen.com/mapzen/vector/v1/all/14/2615/6329.topojson

{"geometry": {"type": "Polygon", "coordinates": [[[-122.52576, 37.832308], [-122.524494, 37.832164], [-122.524378, 37.832243], [-122.524028, 37.831963], [-122.525065, 37.831664], [-122.525357, 37.831684], [-122.52576, 37.832308]]]}, "type": "Feature", "properties": {"kind": "water", "name": "Rodeo Lake", "area": 9938, "sort_rank": 200, "intermittent": false, "source": "openstreetmap.org", "min_zoom": 12.0, "id": 24656347}},...

nvkelso avatar Dec 12 '16 22:12 nvkelso