John Firebaugh
b9be5fd768
[core] Simplify GeometryTile::setData
2016-06-13 10:59:34 -07:00
John Firebaugh
5c7dfd948f
[core] *Tile ↔ *TileData
...
Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
2016-06-13 10:59:33 -07:00
John Firebaugh
0d2db2a5e3
[core] Privatize vector_tile.hpp contents
2016-06-13 10:57:46 -07:00
John Firebaugh
13d0a8b815
[core] Merge vector_tile_data.{hpp,cpp} into vector_tile.{hpp,cpp}
2016-06-13 10:57:46 -07:00
Konstantin Käfer
e8d8f52d2e
[core] *TileMonitor => *TileSource
2016-06-10 12:42:14 +02:00
John Firebaugh
c902f9098b
[core] Rationalize naming for style-related code
2016-06-02 14:51:39 -07:00
Minh Nguyễn
fcacbb87ef
[core] Store feature keys in same order as in vector tile
...
The keys in the vector tile may not be in alphabetical order. Building a vector of keys by looping over std::map<std::string, …> effectively sorts the keys by alphabetical order without sorting the associated values. This change inserts keys in the same order in which they appear in the vector tile.
2016-06-01 12:07:53 -07:00
John Firebaugh
25eec28588
[core] Fix up v1 vector tile geometries with clipper
2016-05-31 10:15:18 -07:00
John Firebaugh
1a030e7c33
[core] Normalize tile coordinates in VectorTile ( #4966 )
...
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00
Konstantin Käfer
ec70125e41
[core] move TileData and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
Dane Springmeyer
0c6bce2819
[core] consistently protect against invalid tag encoding in vector tile
2016-05-04 10:12:15 -07:00
John Firebaugh
c8391729c7
[core] Use geometry.hpp feature type
2016-05-03 17:25:49 -07:00
Dane Springmeyer
c82b02c508
[core] port to protozero ( #4906 )
2016-05-03 13:57:17 -07:00
Ansis Brammanis
61d14089e0
[core] implement queryRenderedFeatures
2016-04-29 12:00:24 -07:00
John Firebaugh
169755e89a
[core] Unify FileRequest and WorkRequest
2016-03-24 10:54:32 -07:00
Bruno de Oliveira Abinader
f3fc87261c
[core] Coordinate is now GeometryCoordinate
...
Also introduced GeometryCoordinates (vector of GeometryCoordinate
items), to better cope with GeometryCollection.
2016-03-01 20:58:54 +00:00
John Firebaugh
7b39ce9521
[core] Remove ThreadContext::getFileSource; instead thread FileSource through
2016-02-18 15:15:24 -08:00
John Firebaugh
62bbf2627a
[core] Organize files that were in map folder better
...
Fixes #996
2016-02-11 17:30:35 -08:00