mojodna / tessera

A tilelive-based tile server.
BSD 2-Clause "Simplified" License
324 stars 80 forks source link

WFS server proxy ? #85

Closed cyrilchapon closed 6 years ago

cyrilchapon commented 6 years ago

Hey :)

Is there any know way to proxying a plain old WFS server with this ? Maybe with tilelive-http plugin ?

Basically, the WFS server returns FeatureCollection, accepts some bbox arguments so this shouldn't be hard, but I can't find any example.

Thank :)

mojodna commented 6 years ago

I don't think tessera is a good fit for that; it's intended to serve up tiled data. Initially, that meant images, but with the advent of vector tiles, it's also those.

It would probably work if you wanted to serve up tiled WFS FeatureCollection responses, but you'd need to write your own tilelive module (perhaps similar to tilelive-http) in order to make the WFS requests and massage the responses accordingly.