Skip to content

Extending multiprovider #3

Closed
hkrishna wants to merge 7 commits intomasterfrom
extend-multiprovider
Closed

Extending multiprovider #3
hkrishna wants to merge 7 commits intomasterfrom
extend-multiprovider

Conversation

@hkrishna
Copy link
Copy Markdown

@hkrishna hkrishna commented Apr 7, 2014

to handle requests that have a "," in the path (separating individual layers for ex: /buildings,places,pois/123/132.json)

Valid URLs:

/all/15/9660/12314.json //returns all the layers specified with this multiprovider 
/buildings/15/9660/12314.json //returns just buildings 
/pois,places/15/9660/12314.json //returns pois and places only 
/places,land-usages,buildings/15/9660/12314.json //returns places, land-usages and buildings

and these are obviously invalid and throws a 404

/foo/15/9660/12314.json //foo is not a valid layer
/buildings,pois,foo,places/15/9660/12314.json //foo is not a valid layer
/buildings,all,pois/15/9660/12314.json //this throws a 404 because all is a multiprovider 

…+" in the path (seperating individual layers for ex: /buildings+places+pois/123/132.json) - requires the config file to have a empty layer called "+" with class "TileStache.Goodies.VecTiles:MultiProvider" and empty names [].
@hkrishna
Copy link
Copy Markdown
Author

hkrishna commented Apr 7, 2014

@bcamper, I just saw your comments - will work on it soon. thanks

@hkrishna hkrishna mentioned this pull request Jun 10, 2014
…yer_name to the layername combination (better caching key uniqueness for a given z/x/y)
@nvkelso
Copy link
Copy Markdown
Member

nvkelso commented Oct 8, 2015

This is no longer relevant, closing.

@nvkelso nvkelso closed this Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants