Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
512 commits
Select commit Hold shift + click to select a range
fa5dccb
Better documentation of the dependency between `road_sort_key` and `p…
zerebubuth Oct 2, 2015
d364f49
Merge pull request #65 from mapzen/194-layer-attribute
zerebubuth Oct 2, 2015
8dee3f8
Set kind to `aboriginal_lands` for first nations state boundaries.
zerebubuth Oct 2, 2015
e27e602
Merge pull request #66 from mapzen/284-first-nations-states
zerebubuth Oct 2, 2015
9716e26
Only include labels with name or sport tags
rmarianski Oct 3, 2015
5102535
Use representative_point instead of centroid
rmarianski Oct 3, 2015
2420aca
Merge pull request #67 from mapzen/update-dynamic-label-behavior
rmarianski Oct 3, 2015
d593e69
Ensure original features always get added
rmarianski Oct 5, 2015
560d08d
Merge pull request #68 from mapzen/restore-missing-features
rmarianski Oct 5, 2015
992586a
Added an implementation of orient which can handle multi-polygons and…
zerebubuth Oct 6, 2015
ba0fe09
Merge pull request #69 from mapzen/fix-orient-multi-polygon
zerebubuth Oct 6, 2015
a428567
Version bump -> 0.4.0
rmarianski Oct 7, 2015
9f7d972
Make admin boundaries post-processing filter work with boundary lines…
zerebubuth Oct 13, 2015
8c8ac27
Merge pull request #71 from mapzen/302-reduce-boundary-payload-size
zerebubuth Oct 13, 2015
702cca3
Added a post-process function to generate address points from buildin…
zerebubuth Oct 11, 2015
77b92cc
Add zoom level filter to address point generator.
zerebubuth Oct 13, 2015
c182c9c
Suppress building names when they are copies of the address, or conve…
zerebubuth Oct 13, 2015
9fec493
Fix logic for address points already in the data.
zerebubuth Oct 13, 2015
dd9f576
Version bump -> 0.4.1
rmarianski Oct 13, 2015
5403334
As per comment, we do want house numbers on the label points, so leav…
zerebubuth Oct 14, 2015
848e4d4
Don't remove properties from the polygon any more.
zerebubuth Oct 14, 2015
088db01
Added post-process filter to drop certain features. This is needed so…
zerebubuth Oct 14, 2015
d61f347
Fix issue with footpaths not showing around Civic Center Plaza.
zerebubuth Oct 14, 2015
2d3e405
Add function to drop the area property if it's zero, as this isn't us…
zerebubuth Oct 15, 2015
15ed909
Extract multi-geometry type constructor logic to higher level.
zerebubuth Oct 15, 2015
33030aa
Use more descriptive exception type.
zerebubuth Oct 15, 2015
e14e976
Move shape type filter up to avoid doing more work than we have to.
zerebubuth Oct 15, 2015
256b963
Treat str, unicode the same way.
zerebubuth Oct 15, 2015
391da8a
Made docstring more clear about values for the property. Updated prop…
zerebubuth Oct 15, 2015
7254627
Merge pull request #72 from mapzen/201-sort-out-landuse-buildings-pois
zerebubuth Oct 15, 2015
ce54fda
Fixed typo - method is called pop, not drop.
zerebubuth Oct 15, 2015
5d58dd3
Merge pull request #73 from mapzen/201-sort-out-landuse-buildings-pois
zerebubuth Oct 15, 2015
f40c21d
Added post-process filter to remove duplicate features.
zerebubuth Oct 17, 2015
446f103
Merge pull request #74 from mapzen/267-filter-duplicate-pois
zerebubuth Oct 19, 2015
a8d1c3a
Sort by number of subway lines descending.
zerebubuth Oct 19, 2015
799b24d
Move to_float to its own file, as we need to re-sort after merging su…
zerebubuth Oct 20, 2015
e6ff5d7
Add post-process filter to normalise and merge station POIs and anoth…
zerebubuth Oct 20, 2015
2aedbd7
Add function to rank POIs of a certain type within the layer, which c…
zerebubuth Oct 21, 2015
742e3c1
Made logic more readable, more efficient and better documented.
zerebubuth Oct 21, 2015
28b965f
Merge pull request #75 from mapzen/268-too-many-subway-stations
zerebubuth Oct 21, 2015
3e7c3e7
Snap geometry coordinates to a static grid. This helps paper over num…
zerebubuth Oct 23, 2015
fad1f0e
Dirty hack to treat shapes with _exactly_ the same area as identical.
zerebubuth Oct 23, 2015
f35a651
Add extra check to avoid duplicate boundary geometries.
zerebubuth Oct 23, 2015
d5f8e73
Use ValueError instead of plain Exception.
zerebubuth Oct 23, 2015
355af65
Merge pull request #76 from mapzen/303-fix-water-boundaries
zerebubuth Oct 23, 2015
17bb9ad
Update sort order to account for service values.
zerebubuth Oct 26, 2015
ff359e0
Merge pull request #78 from mapzen/332-update-road-zooms
zerebubuth Oct 26, 2015
f3b947e
Try using the 'buffer' trick to make polygons valid after snapping. I…
zerebubuth Oct 26, 2015
9a9928e
Synthesize a volume attribute for the client to filter on.
zerebubuth Oct 26, 2015
2528f2d
Synthesize volume as a separate function.
zerebubuth Oct 26, 2015
d3dbd75
Add post-process filter function to ensure certain numeric minima. Us…
zerebubuth Oct 26, 2015
1da081e
Merge pull request #79 from mapzen/77-fix-polygons-after-snapping
zerebubuth Oct 26, 2015
1d9f765
Process aerialways and try to keep values distinct from roads.
zerebubuth Oct 26, 2015
204e788
Merge pull request #81 from mapzen/212-filter-by-building-volume
zerebubuth Oct 27, 2015
39ba713
Merge remote-tracking branch 'origin/integration-1' into 189-add-aeri…
zerebubuth Oct 27, 2015
9ca7961
Merge pull request #82 from mapzen/189-add-aerialways
zerebubuth Oct 27, 2015
711a785
Filter out features with empty subway_lines, as this is misleading.
zerebubuth Oct 27, 2015
3371be2
Rename: subway lines -> transit routes.
zerebubuth Oct 27, 2015
fb790dc
Merge pull request #83 from mapzen/268-subway-route-updates
zerebubuth Oct 27, 2015
c257cd1
Add support for dropping certain keys when copying them for label fea…
zerebubuth Oct 27, 2015
17f75c2
Merge pull request #84 from mapzen/333-drop-internal-property
zerebubuth Oct 28, 2015
adf0f45
Extracted deduplicator to a class, makes logic easier to read. Allowe…
zerebubuth Oct 28, 2015
26f0c15
Implement copy post-processor, which copies matching features to anot…
zerebubuth Oct 28, 2015
fba1168
Merge pull request #85 from mapzen/266-density-filter-pois
zerebubuth Oct 28, 2015
4017f33
Volume should be an int.
zerebubuth Oct 30, 2015
b2f4b64
Added post-processor function to replace geometry with representative…
zerebubuth Oct 30, 2015
1460e6c
Merge pull request #87 from mapzen/212-volume-should-be-integer
zerebubuth Oct 30, 2015
0f717ae
Merge pull request #88 from mapzen/fix-poi-centroid-reprensentative-p…
zerebubuth Oct 30, 2015
4ca3ebb
Replaced subway lines with transit routes, but needed to update the s…
zerebubuth Oct 30, 2015
dae48dd
Merge pull request #89 from mapzen/fix-sort-transit-routes
zerebubuth Oct 30, 2015
a466700
Remove neighbourhood scalerank
rmarianski Nov 3, 2015
de368a4
Update places sort to include n_photos and area
rmarianski Nov 3, 2015
db95c01
Update _match_props to support value lists
rmarianski Nov 3, 2015
937ec1c
Merge pull request #91 from mapzen/wof-neighbourhoods-transform-sort-…
rmarianski Nov 4, 2015
3b7e8c8
Try not to split up roads, or merge them back together if possible.
zerebubuth Nov 4, 2015
8a15695
Merge pull request #92 from mapzen/384-fix-broken-up-roads-on-boundary
zerebubuth Nov 4, 2015
fd5f5f1
Add transform to drop feature properties
rmarianski Nov 4, 2015
17a9390
Update n_photos property name to mz_n_photos
rmarianski Nov 4, 2015
2206ad9
Merge pull request #93 from mapzen/add-drop-properties-transform
rmarianski Nov 4, 2015
00150c3
Merge pull request #94 from mapzen/update-n_photos-property-name
rmarianski Nov 4, 2015
f39686f
Add sort by `min_zoom` to `places` layer
rmarianski Nov 6, 2015
c1049ee
Merge pull request #95 from mapzen/add-sort-min_zoom-places
rmarianski Nov 6, 2015
f64bf0b
Version bump -> 0.5.0
rmarianski Nov 13, 2015
13e77b2
Protect against empty snap geometries
rmarianski Nov 20, 2015
fd0f123
Merge pull request #96 from mapzen/protect-from-empty-snap
rmarianski Nov 20, 2015
e1cda82
Version bump -> v0.5.1
rmarianski Nov 24, 2015
7dc9a5d
Update CHANGELOG.md
nvkelso Nov 24, 2015
d480875
Add transform to make population an integer
rmarianski Nov 30, 2015
ef91c10
Remove population from props if parsing fails
rmarianski Dec 1, 2015
63576e9
Merge pull request #97 from mapzen/population-integer
rmarianski Dec 1, 2015
de107c9
Added piste as a kind of road and function to remove abandoned pistes.
zerebubuth Dec 4, 2015
b03a9d9
Add default for pop.
zerebubuth Dec 4, 2015
caa3d4b
Merge pull request #98 from mapzen/342-add-piste-routes
zerebubuth Dec 4, 2015
f43ce4a
Give exit nodes the kind 'exit', as that's a bit easier to understand…
zerebubuth Dec 7, 2015
17fe1d4
Merge pull request #100 from mapzen/160-add-highway-exits
zerebubuth Dec 7, 2015
c2e2cb0
Add racetracks as a kind of roads.
zerebubuth Dec 9, 2015
c6b6a77
Merge pull request #102 from mapzen/344-add-winter-sports-pois
zerebubuth Dec 9, 2015
746fcf0
Added function to grab the IATA code, if any, from the tags and put i…
zerebubuth Dec 10, 2015
7e86ba6
Merge pull request #103 from mapzen/398-add-iata-codes
zerebubuth Dec 10, 2015
c2cbe3c
Return `kind:path` for piers.
zerebubuth Dec 11, 2015
15f39f7
Merge pull request #104 from mapzen/382-add-pier-lines-to-roads
zerebubuth Dec 11, 2015
af41fdc
Added explicit beach and winter sports landuse area sort orders.
zerebubuth Dec 14, 2015
a6b7a10
Fixed bug: we default aerialway to the blank string, so it will alway…
zerebubuth Dec 14, 2015
5f41015
Keep aerialways above other linear features.
zerebubuth Dec 14, 2015
500ec20
Don't encroach on the reserved 'layer' range of orders.
zerebubuth Dec 14, 2015
f1cc75e
Merge pull request #105 from mapzen/343-366-landuse-sort-order
zerebubuth Dec 14, 2015
58a142b
Merge pull request #106 from mapzen/342-444-winter-sports-lines-sort-…
zerebubuth Dec 14, 2015
c0424ce
Make winter sports areas show underneath forests/parks.
zerebubuth Dec 14, 2015
87d9b3e
Merge pull request #107 from mapzen/343-reorder-winter-sports
zerebubuth Dec 14, 2015
3c12101
Only include affirmative calculated road props
rmarianski Dec 15, 2015
96b5c01
Merge pull request #108 from mapzen/include-roads-properties-conditio…
rmarianski Dec 16, 2015
21c2888
Updated changelog for v0.6.0.
zerebubuth Dec 16, 2015
097b429
Add transform to include aeroway tag for kind=gate
rmarianski Dec 21, 2015
e0c5866
Add code to normalise leisure kinds for fitness-related POIs.
zerebubuth Jan 5, 2016
b388231
Merge pull request #110 from mapzen/465-gym-and-fitness-pois
zerebubuth Jan 5, 2016
452bb97
Merge pull request #109 from mapzen/include-aeroway-for-kind-gate
zerebubuth Jan 5, 2016
0a96ab8
Implement merging for linear features.
zerebubuth Jan 5, 2016
3ad5539
Merge remote-tracking branch 'origin/integration-1' into 358-merge-ro…
zerebubuth Jan 6, 2016
695b056
Rewrite for clarity and move the drop-features functionality to confi…
zerebubuth Jan 6, 2016
04a4cae
Merge pull request #111 from mapzen/358-merge-road-segments
zerebubuth Jan 7, 2016
ed3d8c6
Add function to normalise tourism kind and related properties.
zerebubuth Jan 19, 2016
b5d7c92
Merge pull request #112 from mapzen/440-zoos-and-other-attractions
zerebubuth Jan 19, 2016
6e5c149
Update changelog for v0.7 release.
zerebubuth Jan 21, 2016
61f745b
Allow code in drop_features_where function
rmarianski Feb 8, 2016
15708d9
Update docstring
rmarianski Feb 9, 2016
97bcb14
Merge pull request #113 from mapzen/update-drop_features_where
rmarianski Feb 9, 2016
1c91717
Add bounding box clipping to exterior boundaries transform.
zerebubuth Feb 19, 2016
b06a4e7
Merge pull request #114 from mapzen/502-water-boundaries-slow
zerebubuth Feb 22, 2016
be9458a
Add normalisation functions for social facilities and medical places.
zerebubuth Feb 23, 2016
ebc0f62
Fix comment indent.
zerebubuth Feb 23, 2016
9f867b7
Merge pull request #115 from mapzen/526-inclusive-pois
zerebubuth Feb 23, 2016
3d80ca9
fix #364 so all landuse has friendly sort_key orders
nvkelso Feb 26, 2016
a99300f
set default landuse order to 11, and adjust everything else by +1
nvkelso Feb 26, 2016
f9e81c6
things above the water should be uniquely above the water
nvkelso Feb 26, 2016
56070fc
Merge pull request #116 from mapzen/nvkelso/landuse-sort
nvkelso Feb 26, 2016
1aa220d
Update road sort key values
rmarianski Feb 26, 2016
1b25770
First round of updates
rmarianski Feb 29, 2016
2cfbd98
Remove duplicate unclassified check
rmarianski Feb 29, 2016
1022813
Updates round 2
rmarianski Feb 29, 2016
425df44
Use context object for parameters.
zerebubuth Mar 1, 2016
8e065c4
Merge pull request #119 from mapzen/70-post-process-context
zerebubuth Mar 2, 2016
cdae7d4
Merge pull request #117 from mapzen/update-road-sort_key
rmarianski Mar 2, 2016
033b6b2
Add CSV property matching function.
zerebubuth Mar 1, 2016
1322501
Remove deprecated landuse sort key function.
zerebubuth Mar 1, 2016
37aae60
Use cache to avoid re-reading the CSV file.
zerebubuth Mar 1, 2016
fcd69f4
Use new 'resources' section for creating and storing the 'matcher' ob…
zerebubuth Mar 2, 2016
4f304d8
Fix typo 'guage' -> 'gauge'.
zerebubuth Mar 2, 2016
eac0325
Need layer for sort key - will have to delete it as a post-process step.
zerebubuth Mar 2, 2016
ec66eec
Added functionality to allow the column headings to specify what type…
zerebubuth Mar 2, 2016
c842c7f
Merge pull request #120 from mapzen/sort-key-csv-prototype
zerebubuth Mar 2, 2016
8cf93d9
Support matching on zoom levels
rmarianski Mar 3, 2016
4816bd2
Add tag value, not key
rmarianski Mar 4, 2016
6c0c474
Merge pull request #121 from mapzen/support-zoom-matching
rmarianski Mar 4, 2016
a3939f6
Add more precision to json formatter at z16
rmarianski Mar 4, 2016
d92467d
Fix typo - needs to use the key, rather than the string 'key'.
zerebubuth Mar 4, 2016
2f5a6e3
Merge pull request #123 from mapzen/json-precision-z16
rmarianski Mar 4, 2016
f23c38b
Merge pull request #124 from mapzen/fix-csv-matching-typo
zerebubuth Mar 4, 2016
578d85f
Add changelog for v0.8.0
rmarianski Mar 4, 2016
80f142f
update changelog
nvkelso Mar 5, 2016
de9863f
Merge pull request #125 from mapzen/changelog-v0.8.0
nvkelso Mar 5, 2016
0e891ab
After merging, simplify with a very small tolerance to remove duplica…
zerebubuth Mar 7, 2016
3425e2c
Merge pull request #126 from mapzen/569-duplicate-points
zerebubuth Mar 7, 2016
027755d
Add funicular to road kind rail
rmarianski Mar 7, 2016
329028c
Add transform to update parenthetical properties
rmarianski Mar 7, 2016
7aab27d
Added ability to drop parenthetical features below some given zoom le…
zerebubuth Mar 8, 2016
16f3ecb
Merge pull request #127 from mapzen/add-funicular-roads
rmarianski Mar 8, 2016
79a71a0
Merge pull request #128 from mapzen/update-parenthetical-properties
zerebubuth Mar 8, 2016
72bc17b
Add function to add construction state to stations.
zerebubuth Mar 8, 2016
a38c41c
Update function name - 'state' doesn't seem to be just about construc…
zerebubuth Mar 8, 2016
89cd101
Merge pull request #129 from mapzen/484-include-poi-state
zerebubuth Mar 8, 2016
3c68808
Adjust tile rank score for stations to take into accound the differen…
zerebubuth Mar 14, 2016
747c635
Remove temporary properties which shouldn't be public.
zerebubuth Mar 15, 2016
ca50c68
Add 'root_relation_id' for linking related features together in a sit…
zerebubuth Mar 15, 2016
4f02da7
Merge pull request #130 from mapzen/506-adjust-tile-rank-for-stations
zerebubuth Mar 15, 2016
e2ed241
Remove now unused landuse kind mapping transform
rmarianski Mar 15, 2016
69c0bac
Merge pull request #131 from mapzen/remove-unused-landuse-mapping-tra…
rmarianski Mar 16, 2016
472b943
Add uic_ref transform
rmarianski Mar 22, 2016
f6e66c7
Merge pull request #132 from mapzen/add-uic_ref-transform
rmarianski Mar 23, 2016
8fab34f
Initial changelog for v0.9.0
rmarianski Mar 24, 2016
089ee60
Merge pull request #133 from mapzen/changelog-v0.9.0
rmarianski Mar 24, 2016
36784d3
Shapely STRtree now uses the is_empty property to filter out empty ge…
zerebubuth Mar 30, 2016
4801a2b
Merge pull request #135 from mapzen/134-proxy-is-empty-property
zerebubuth Mar 30, 2016
9143f49
Add transform to convert admin_level to an int
rmarianski Mar 31, 2016
240e346
Merge pull request #136 from mapzen/transform-admin_level-int
rmarianski Mar 31, 2016
d38c632
connects to vector-datasource #680 (remove junk highway=minor and foo…
nvkelso Apr 5, 2016
0a5e7fb
Remove unused boundary transforms.
zerebubuth Apr 7, 2016
b6c8205
Merge pull request #138 from mapzen/687-yaml-transform-boundaries
zerebubuth Apr 7, 2016
a60510c
Merge pull request #137 from mapzen/nvkelso/remove-junk-highway-types
nvkelso Apr 8, 2016
c57e204
Removed unused building kind calculation.
zerebubuth Apr 8, 2016
cc82ada
Merge pull request #139 from mapzen/646-use-yaml-for-buildings
zerebubuth Apr 11, 2016
dd96b13
kind=portage_way when whitewater=portage_way
rmarianski Apr 11, 2016
73af54b
Delegate quantization to mapbox-vector-tile
rmarianski Apr 11, 2016
9e15acc
Remove the unused road_sort_key transform
rmarianski Apr 11, 2016
6bfb5a1
Merge pull request #140 from mapzen/roads-kind-portage_way
rmarianski Apr 12, 2016
20e7669
Merge pull request #141 from mapzen/delegate-quantization-mvt
rmarianski Apr 12, 2016
2c88ac8
Merge pull request #142 from mapzen/remove-unused-road-sort_key-trans…
rmarianski Apr 12, 2016
121a0ba
Fixed another source of duplicate points - not sure why this one appe…
zerebubuth Apr 15, 2016
f43cb03
Remove unused kind function and abandoned pistes filter.
zerebubuth Apr 15, 2016
c551e7d
Merge pull request #143 from mapzen/646-roads-yaml
zerebubuth Apr 15, 2016
a5b0cd1
Add function to convert any height present into meters.
zerebubuth Apr 20, 2016
fb174cd
Update conversion of lengths / heights to meters and add more units.
zerebubuth Apr 20, 2016
c68bae4
Merge pull request #145 from mapzen/677-add-waterfalls
zerebubuth Apr 21, 2016
9aa91cc
add transform for pois to convert capacity to int
nvkelso Apr 25, 2016
e5bbff1
Merge pull request #146 from mapzen/nvkelso/pois-capacity-to-int
nvkelso Apr 25, 2016
c5a6170
Add function to convert elevations to meters.
zerebubuth Apr 26, 2016
49a17c0
Merge pull request #147 from mapzen/523-add-elevation-to-peaks
zerebubuth Apr 26, 2016
42bf243
Sort POIs by elevation when they are peaks.
zerebubuth Apr 28, 2016
2881e4a
Extend peaks to include volcanos.
zerebubuth Apr 28, 2016
8ce9e19
Merge pull request #148 from mapzen/524-peak-tile-kind-rank
zerebubuth Apr 28, 2016
bd72015
Add an end_zoom parameter to control the behaviour of remove_duplicat…
zerebubuth Apr 29, 2016
ac8d0ce
Merge pull request #149 from mapzen/add-end-zoom-for-remove-duplicates
zerebubuth Apr 29, 2016
2faef8c
Add transform to add is_bicycle_route property
rmarianski May 2, 2016
46a3e92
Expand is_bicycle_route to include left/right/both
rmarianski May 2, 2016
e7f5842
Add transform to normalize bicycle left/right vals
rmarianski May 2, 2016
8968b8b
Normalize cycleway_both -> cycleway
rmarianski May 2, 2016
abfbaca
Don't label kind=rock|stone features
rmarianski May 2, 2016
ce4d614
Merge pull request #150 from mapzen/add-is_bicycle_route
rmarianski May 2, 2016
2338099
Merge pull request #151 from mapzen/restrict-label-generation
rmarianski May 2, 2016
03b021e
Update bicycle related transform behavior
rmarianski May 3, 2016
eee951f
Merge pull request #152 from mapzen/update-bicycle-related
rmarianski May 3, 2016
cd73f28
Make geometry types for label generation configurable.
zerebubuth May 3, 2016
cdeeaa7
Merge pull request #153 from mapzen/399-add-island-labels
zerebubuth May 3, 2016
cb210e1
Don't convert lines or points to points for labelling - leave them as…
zerebubuth May 3, 2016
4c60b28
Merge pull request #154 from mapzen/399-add-island-labels
zerebubuth May 3, 2016
85a28d0
v0.10 changelog
nvkelso May 4, 2016
e15ef4a
Merge pull request #155 from mapzen/nvkelso/v0.10-changelog
nvkelso May 4, 2016
6c75a67
Remove no longer used transform
rmarianski May 5, 2016
0019a2d
Merge pull request #156 from mapzen/normalize-ne-places
rmarianski May 5, 2016
69869fd
Update building properties to use _ separator
rmarianski May 10, 2016
03c72f5
Merge pull request #157 from mapzen/building-height-level
rmarianski May 10, 2016
2314841
Update behavior for route_name transform
rmarianski May 16, 2016
a7c30a2
Merge pull request #159 from mapzen/route-name-transform
rmarianski May 16, 2016
e1f1ea0
Start using true for boolean values rather than 'yes'.
zerebubuth May 17, 2016
775ccb8
Merge pull request #161 from mapzen/778-normalise-yes
zerebubuth May 17, 2016
865f7b0
Update tags transform to convert wof l10n names
rmarianski May 13, 2016
026826d
Use pycountry to convert language codes
rmarianski May 13, 2016
a1cf7af
Normalize l10n tags to use iso-639-3 code
rmarianski May 17, 2016
1ffe420
Correct iso-639-2 lookup
rmarianski May 19, 2016
aaf5dfc
Support l10n lookups and country suffixes
rmarianski May 20, 2016
d908367
Removed pois transforms transitioned to yaml
rmarianski May 18, 2016
286fe07
Remove unused road_kind transform
rmarianski May 18, 2016
cccd5bd
Merge pull request #162 from mapzen/transition-pois-transforms
rmarianski May 20, 2016
e52942f
Merge pull request #158 from mapzen/wof-name-l10n
rmarianski May 20, 2016
8d6c8e7
Add transform to drop properties with prefix
rmarianski May 25, 2016
eb692b0
Merge pull request #163 from mapzen/add-transform-drop-prefix
rmarianski May 25, 2016
5d2f029
Remove no longer necessary drop_keys
rmarianski May 25, 2016
ebf768f
Merge pull request #164 from mapzen/simplify-drop-keys
rmarianski May 25, 2016
03f311d
Add note that this repo is deprecated now
rmarianski Aug 3, 2016
bf00ae2
Fix ValueError: too many values to unpack when producing MVT tiles
ThomasG77 Sep 24, 2016
1c02ad5
Merge pull request #168 from ThomasG77/fix-mvt
rmarianski Sep 26, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ TileStache-*.*.tar.gz
*.shx
.coverage
.idea/
.DS_Store
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,26 @@ python:
virtualenv:
system_site_packages: true

services:
- memcached

before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
# - sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install -qq postgis gdal-bin libgdal-dev libgdal1 libgdal1-dev libpq-dev memcached python-pip
- sudo apt-get install -qq gdal-bin memcached python-pip
- sudo apt-get install -qq python-nose python-imaging python-memcache python-gdal
- sudo apt-get install -qq python-coverage python-werkzeug python-psycopg2
- ogrinfo --version
- ogrinfo --formats

before_script:
- sudo -u postgres psql -c "drop database if exists test_tilestache"
- sudo -u postgres psql -c "create database test_tilestache"
- sudo -u postgres psql -c "create extension postgis" -d test_tilestache
- sudo -u postgres ogr2ogr -nlt MULTIPOLYGON -f "PostgreSQL" PG:"user=postgres dbname=test_tilestache" ./examples/sample_data/world_merc.shp

install:
- sudo pip install -r requirements.txt --use-mirrors
- sudo pip install -r requirements.txt --use-mirrors --allow-external ModestMaps --allow-unverified ModestMaps

script:
- nosetests -v --with-coverage --cover-package TileStache
Expand Down
12 changes: 12 additions & 0 deletions API.html
Original file line number Diff line number Diff line change
Expand Up @@ -1082,6 +1082,10 @@ <h4><a id="proxy-provider" name="proxy-provider">Proxy</a> <a href="#proxy-provi
<code>ModestMaps.builtinProviders.keys()</code> for a list. Example:
<samp>"OPENSTREETMAP"</samp>.
</dd>
<dt>timeout</dt>
Defines a timeout in seconds for the request.
If not defined, the global default timeout setting will be used.
</dd>
</dl>

<p>
Expand Down Expand Up @@ -1312,6 +1316,14 @@ <h4><a id="url-template-provider" name="url-template-provider">URL Template</a>
Some WMS servers use the Referer request header to authenticate requests;
this parameter provides one.
</dd>
<dt>source projection</dt>
Names a geographic projection, explained in <a href="#projections">Projections</a>, that
coordinates should be transformed to for requests.
</dd>
<dt>timeout</dt>
Defines a timeout in seconds for the request.
If not defined, the global default timeout setting will be used.
</dd>
</dl>

<p>
Expand Down
127 changes: 127 additions & 0 deletions CHANGELOG → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,130 @@
v0.10.1
-------
* Update building transforms to work with `_` separated properties. The queries upstream changed to return `_` as the separator instead of `:`. See [#806](https://github.com/mapzen/vector-datasource/issues/806).

v0.10.0
-------
* Add `is_bicycle_related` transform. See [#152](https://github.com/mapzen/TileStache/pull/152).
* Normalize cycling related properties so shared properties for `cycleway:left` and `cycleway:right` are deleted and projected into `cycleway` directly, and if `cycleway:both` is included but `cycleway` is not, project that onto `cycleway`. [#150](https://github.com/mapzen/TileStache/pull/150).
* Don't label generate label placements for unnamed stone and rock features. See [#151](https://github.com/mapzen/TileStache/pull/151).
* Don't generate label placements for point or line features (for islands), make it configurable. See [#153](https://github.com/mapzen/TileStache/pull/153) and [#154](https://github.com/mapzen/TileStache/pull/154).
* Update road kind for `whitewater=portage_way`. See [#140](https://github.com/mapzen/TileStache/pull/140).
* Remove junk `highway=minor` and `highway=footpath` from logic. See [#137](https://github.com/mapzen/TileStache/pull/137).
* Remove outdated building kind calculation. See [#139](https://github.com/mapzen/TileStache/pull/139).
* Remove outdated `road_sort_key` transform. See [#142](https://github.com/mapzen/TileStache/pull/142).
* Remove outdated roads functions (logic is now carried in YAML queries), and fix duplicate points bug. See [#143](https://github.com/mapzen/TileStache/pull/143).
* Remove outdated boundary transforms (logic is now carried in YAML queries). See [#138](https://github.com/mapzen/TileStache/pull/138).
* Add transform to convert `admin_level` to an int. See [#136](https://github.com/mapzen/TileStache/pull/136).
* Add transform for convert `capacity` in pois layer to int. See [#146](https://github.com/mapzen/TileStache/pull/146).
* Add function to convert `height` values to meters. See [#145](https://github.com/mapzen/TileStache/pull/145).
* Add function to convert `elevation` values meters. See [#147](https://github.com/mapzen/TileStache/pull/147).
* Add sort order for `peak` and `volcano` features. See [#148](https://github.com/mapzen/TileStache/pull/148).
* Add end zoom for remove duplicates function. See [#149](https://github.com/mapzen/TileStache/pull/149).
* Add `is_empty` property for geometry proxy for Shapely's STRtree. See [#135](https://github.com/mapzen/TileStache/pull/135).
* Delegate quantization to mapbox-vector-tile. See [#141](https://github.com/mapzen/TileStache/pull/141).

v0.9.0
------
* After merging, simplify with a very small tolerance to remove duplicate and almost-colinear points
* Add transform to update parenthetical properties
* Add ability to drop parenthetical features below some given zoom level
* Add function to add construction state to stations
* Adjust tile rank score for stations to take into account the different types of routes
* Remove temporary properties which shouldn't be public
* Add 'root_relation_id' for linking related features together in a site or public transport 'stop area' or 'stop area group'
* Remove now unused landuse kind mapping transform
* Add uic_ref transform

v0.8.0
------
* Allow code in `drop_features_where` function.
* Add bounding box clipping to exterior boundaries transform to improve water boundary performance.
* Add kind normalisation functions for social facilities and medical features.
* Update road sort key value function.
* Add CSV spreadsheet property matching functions to provide sort_key value lookups for landuse, roads, and most other layers.
* Use more precision for json formatter on z16 and higher.

v0.7.0
------

* Add function to normalise tourism kind and related properties.
* Add function to drop properties from features under some configurable set of conditions.
* Implement merging for linear features.
* Add code to normalise leisure kinds for fitness-related POIs.
* Add transform to include aeroway tag for `kind=gate`.

v0.6.0
------
* Ensure that the `population` property, if present, is an integer.
* Add IATA short (3-character) codes to airports.
* Interpret road kinds for pistes, motorway junctions, racetracks and piers.
* Normalise `is_link`, `is_tunnel` and `is_bridge` so that it is not present in the negative; it should only be present when its value is positive.
* Re-order aerialways to be above all road types, including bridges, unless overriden by a `layer` property.
* Added sort order properties for beaches and winter sports areas.
* Added a function to remove abandoned pistes from the output.

v0.5.1
------
* Protect against empty snapped geometries - resolves segfault

v0.5.0
------
* Update sorts for `pois` and `places`
* Update `kind` calculation for roads to include `aerialway`s
* Add volume calculation transform
* Update road sort key calculation
* Remove `scalerank` for neighbourhoods
* Allow exterior boundaries to be snapped to a grid
* Improve exterior boundaries processing
* Add post processing functions:
- generate address points from buildings
- drop certain features
- drop certain feature properties
- remove features with zero area
- remove duplicate features
- normalize duplicate stations
- only keep the first N features matching a criteria
- rank features based on a key
- normalize `aerialway`s
- numeric min filter
- copy features across `layers`
- replace geometry with a representative point

v0.4.1
------
* Make admin boundaries post-processing filter work with boundary linestring fragments rather than needing an oriented polygon.

v0.4.0
------
* Add transform to dynamically create polygon `label_placement` features using representative point for existing layers (or exporte in new layer) as long as the input feature has a `name` or `sport` tag.
* Ported PostGIS SQL logic from Vector Datasource to Python, with spatial intersection logic for `maritime` boundaries.
* Use the input data's `kind` property when provided when determining building feature's kind.
* Add `ferry` lines to high roads logic.

v0.3.0
------
* Add intracut (intersection) algorithm for cutting within layers.
* Add smarts for dealing with maritime boundary attributes
* Add tranform for water `tunnel`s

v0.2.0
-----
* Stable

--------------------------------------------------------------------------------

Pre-fork changelog
------------------

2014-05-10: 1.49.10
- Fixed Travis build.
- Fixed import errors for case-insensitive filesystems.
- Added TileStache Vagrant machine configuration.
- Fixed some memcache testing problems.

2014-05-10: 1.49.9
- Moved everything to PyPI and fixed VERSION kerfuffle.

2013-07-02: 1.49.8
- Dropped Proxy provider srs=900913 check.
- Updated most JSON mime-types from text/json to application/json.
Expand Down
152 changes: 50 additions & 102 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,111 +1,59 @@
VERSION:=$(shell cat VERSION)
PACKAGE=TileStache-$(VERSION)
TARBALL=$(PACKAGE).tar.gz
VERSION:=$(shell cat TileStache/VERSION)
DOCROOT=tilestache.org:public_html/tilestache/www

all: $(TARBALL)
#

live: $(TARBALL) doc
scp $(TARBALL) $(DOCROOT)/download/
live: doc
rsync -Cr doc/ $(DOCROOT)/doc/
python setup.py register

$(TARBALL): doc
mkdir $(PACKAGE)
ln setup.py $(PACKAGE)/
ln README.md $(PACKAGE)/
ln VERSION $(PACKAGE)/
ln tilestache.cfg $(PACKAGE)/
ln tilestache.cgi $(PACKAGE)/

mkdir $(PACKAGE)/TileStache
ln TileStache/*.py $(PACKAGE)/TileStache/

rm $(PACKAGE)/TileStache/__init__.py
cp TileStache/__init__.py $(PACKAGE)/TileStache/__init__.py
perl -pi -e 's#\bN\.N\.N\b#$(VERSION)#' $(PACKAGE)/TileStache/__init__.py

mkdir $(PACKAGE)/TileStache/Vector
ln TileStache/Vector/*.py $(PACKAGE)/TileStache/Vector/

mkdir $(PACKAGE)/TileStache/Goodies
ln TileStache/Goodies/*.py $(PACKAGE)/TileStache/Goodies/

mkdir $(PACKAGE)/TileStache/Goodies/Caches
ln TileStache/Goodies/Caches/*.py $(PACKAGE)/TileStache/Goodies/Caches/

mkdir $(PACKAGE)/TileStache/Goodies/Providers
ln TileStache/Goodies/Providers/*.py $(PACKAGE)/TileStache/Goodies/Providers/
ln TileStache/Goodies/Providers/*.ttf $(PACKAGE)/TileStache/Goodies/Providers/

mkdir $(PACKAGE)/TileStache/Goodies/VecTiles
ln TileStache/Goodies/VecTiles/*.py $(PACKAGE)/TileStache/Goodies/VecTiles/

mkdir $(PACKAGE)/scripts
ln scripts/*.py $(PACKAGE)/scripts/

mkdir $(PACKAGE)/examples
#ln examples/*.py $(PACKAGE)/examples/

mkdir $(PACKAGE)/doc
ln doc/*.html $(PACKAGE)/doc/

mkdir $(PACKAGE)/man
ln man/*.1 $(PACKAGE)/man/

tar -czf $(TARBALL) $(PACKAGE)
rm -rf $(PACKAGE)
python setup.py sdist upload

doc:
mkdir doc

pydoc -w TileStache
pydoc -w TileStache.Core
pydoc -w TileStache.Caches
pydoc -w TileStache.Memcache
pydoc -w TileStache.Redis
pydoc -w TileStache.S3
pydoc -w TileStache.Config
pydoc -w TileStache.Vector
pydoc -w TileStache.Vector.Arc
pydoc -w TileStache.Geography
pydoc -w TileStache.Providers
pydoc -w TileStache.Mapnik
pydoc -w TileStache.MBTiles
pydoc -w TileStache.Sandwich
pydoc -w TileStache.Pixels
pydoc -w TileStache.Goodies
pydoc -w TileStache.Goodies.Caches
pydoc -w TileStache.Goodies.Caches.LimitedDisk
pydoc -w TileStache.Goodies.Caches.GoogleCloud
pydoc -w TileStache.Goodies.Providers
pydoc -w TileStache.Goodies.Providers.Composite
pydoc -w TileStache.Goodies.Providers.Cascadenik
pydoc -w TileStache.Goodies.Providers.PostGeoJSON
pydoc -w TileStache.Goodies.Providers.SolrGeoJSON
pydoc -w TileStache.Goodies.Providers.MapnikGrid
pydoc -w TileStache.Goodies.Providers.MirrorOSM
pydoc -w TileStache.Goodies.Providers.Monkeycache
pydoc -w TileStache.Goodies.Providers.UtfGridComposite
pydoc -w TileStache.Goodies.Providers.UtfGridCompositeOverlap
pydoc -w TileStache.Goodies.Providers.TileDataOSM
pydoc -w TileStache.Goodies.Providers.Grid
pydoc -w TileStache.Goodies.Providers.GDAL
pydoc -w TileStache.Goodies.AreaServer
pydoc -w TileStache.Goodies.StatusServer
pydoc -w TileStache.Goodies.Proj4Projection
pydoc -w TileStache.Goodies.ExternalConfigServer
pydoc -w TileStache.Goodies.VecTiles
pydoc -w TileStache.Goodies.VecTiles.server
pydoc -w TileStache.Goodies.VecTiles.client
pydoc -w TileStache.Goodies.VecTiles.geojson
pydoc -w TileStache.Goodies.VecTiles.topojson
pydoc -w TileStache.Goodies.VecTiles.mvt
pydoc -w TileStache.Goodies.VecTiles.wkb
pydoc -w TileStache.Goodies.VecTiles.ops

pydoc -w scripts/tilestache-*.py
python -m pydoc -w TileStache
python -m pydoc -w TileStache.Core
python -m pydoc -w TileStache.Caches
python -m pydoc -w TileStache.Memcache
python -m pydoc -w TileStache.Redis
python -m pydoc -w TileStache.S3
python -m pydoc -w TileStache.Config
python -m pydoc -w TileStache.Vector
python -m pydoc -w TileStache.Vector.Arc
python -m pydoc -w TileStache.Geography
python -m pydoc -w TileStache.Providers
python -m pydoc -w TileStache.Mapnik
python -m pydoc -w TileStache.MBTiles
python -m pydoc -w TileStache.Sandwich
python -m pydoc -w TileStache.Pixels
python -m pydoc -w TileStache.Goodies
python -m pydoc -w TileStache.Goodies.Caches
python -m pydoc -w TileStache.Goodies.Caches.LimitedDisk
python -m pydoc -w TileStache.Goodies.Caches.GoogleCloud
python -m pydoc -w TileStache.Goodies.Providers
python -m pydoc -w TileStache.Goodies.Providers.Composite
python -m pydoc -w TileStache.Goodies.Providers.Cascadenik
python -m pydoc -w TileStache.Goodies.Providers.PostGeoJSON
python -m pydoc -w TileStache.Goodies.Providers.SolrGeoJSON
python -m pydoc -w TileStache.Goodies.Providers.MapnikGrid
python -m pydoc -w TileStache.Goodies.Providers.MirrorOSM
python -m pydoc -w TileStache.Goodies.Providers.Monkeycache
python -m pydoc -w TileStache.Goodies.Providers.UtfGridComposite
python -m pydoc -w TileStache.Goodies.Providers.UtfGridCompositeOverlap
python -m pydoc -w TileStache.Goodies.Providers.TileDataOSM
python -m pydoc -w TileStache.Goodies.Providers.Grid
python -m pydoc -w TileStache.Goodies.Providers.GDAL
python -m pydoc -w TileStache.Goodies.AreaServer
python -m pydoc -w TileStache.Goodies.StatusServer
python -m pydoc -w TileStache.Goodies.Proj4Projection
python -m pydoc -w TileStache.Goodies.ExternalConfigServer
python -m pydoc -w TileStache.Goodies.VecTiles
python -m pydoc -w TileStache.Goodies.VecTiles.server
python -m pydoc -w TileStache.Goodies.VecTiles.client
python -m pydoc -w TileStache.Goodies.VecTiles.geojson
python -m pydoc -w TileStache.Goodies.VecTiles.topojson
python -m pydoc -w TileStache.Goodies.VecTiles.mvt
python -m pydoc -w TileStache.Goodies.VecTiles.wkb
python -m pydoc -w TileStache.Goodies.VecTiles.ops

python -m pydoc -w scripts/tilestache-*.py

mv TileStache.html doc/
mv TileStache.*.html doc/
Expand All @@ -119,4 +67,4 @@ doc:

clean:
find TileStache -name '*.pyc' -delete
rm -rf $(TARBALL) doc
rm -rf doc
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#TileStache
# Note: This repository is deprecated, and no longer supported.

To serve tiles, please have a look at our [documentation for getting started](https://github.com/tilezen/vector-datasource/wiki/Mapzen-Vector-Tile-Service).

##TileStache

_a stylish alternative for caching your map tiles_

[![Build Status](https://travis-ci.org/migurski/TileStache.png)](https://travis-ci.org/migurski/TileStache)
[![Build Status](https://travis-ci.org/TileStache/TileStache.png)](https://travis-ci.org/TileStache/TileStache)

**TileStache** is a Python-based server application that can serve up map tiles
based on rendered geographic data. You might be familiar with [TileCache](http://tilecache.org),
Expand Down Expand Up @@ -52,7 +56,7 @@ Install the pure python modules with pip:

Install pip (http://www.pip-installer.org/) like:

curl -O https://raw.github.com/pypa/pip/master/contrib/get-pip.py
curl -O -L https://raw.github.com/pypa/pip/master/contrib/get-pip.py
sudo python get-pip.py

Install Mapnik via instructions at:
Expand Down
Loading