Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Considering binary format output? #14

Closed
ThomasG77 opened this issue Nov 17, 2017 · 4 comments
Closed

Considering binary format output? #14

ThomasG77 opened this issue Nov 17, 2017 · 4 comments

Comments

@ThomasG77
Copy link
Contributor

ThomasG77 commented Nov 17, 2017

Contrary to most REST API, the response size in web mapping can be really large due to complex geometry data.

Most of the time, the trick is about restricting number of returned features with attributes filtering, geometry filtering or a limit.

Unfortunately, for a complex geometry, it's not always enough.

Providing an output based on Protocol buffers or MessagePack could lower waiting time.

An existing implementation example for geospatial could be https://github.com/mapbox/geobuf based on 'Protocol buffer'.

@cholmes
Copy link
Member

cholmes commented Nov 17, 2017

I'd definitely be +1 for binary output formats, but I don't think it should be in the core. Ideally there'd be small OGC standards for message pack and protobuf representations of 'simple features', and a WFS could choose to support them.

Hopefully the core is flexible enough already to supply alternate output formats, so you could pretty easily make a WFS that outputs geobuf. And/or mapbox would contribute the interface of geobuf

@ogcscotts
Copy link
Contributor

Interesting idea - we have interest from at least one member to introduce a protobuf-focused standard for transmittal of 3D data.

@cportele
Copy link
Member

Yes, we briefly discussed protocol buffers as a candidate for an encoding, but felt that it should not be in the core, as Chris said. It would be straightforward to add a conformance class for a binary encoding in another part, if there is interest.

However, the specification does not mandate any encoding. I.e., an implementation may also choose to not support GeoJSON or GML and only support an encoding based on protocol buffers.

The "Core" does not mandate any encoding or format for representing features or feature collections.

cportele added a commit that referenced this issue Nov 24, 2017
… and shorten text of GitHub URLs in the text
@cportele
Copy link
Member

Discussed during the meeting on 2017-11-28:

Do not add a conformance class right now. A conformance class for a binary encoding could be added, if we see WFS implementations using such an encoding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants