mapbox / geometry.hpp

C++ geometry types
ISC License
94 stars 37 forks source link

Coordination #16

Open springmeyer opened 8 years ago

springmeyer commented 8 years ago

The goal of this library is to start sharing core types for geometries.

The primary motivation is to enable ABI compatible, zero-copy operations between modular C++ libraries when they are combined into the same program.

A secondary motivation is general code sharing across C++ codebases implementing support for GeoJSON-like/OGC style geometries. The focus will be on Mapbox maintained code, but this library should be easily pluggable anywhere.

Running list of the primary downstream consumers this library is prioritizing and integration needs (will be editing in place):

Downstream

springmeyer commented 8 years ago

Progress so far:

mourner commented 8 years ago

Also: https://github.com/mapbox/geojson-cpp. It will be used in gl-native, and indirectly geojson-vt-cpp and supercluster.hpp.

jfirebaugh commented 8 years ago

Biggest remaining integration task in mapbox-gl-native is to replace these types with geometry.hpp's geometry type.

@mourner put it perfectly: "the choice is either to get rid of this first and then integrate new geojson-vt & supercluster effortlessly, or write tons of conversion code"

springmeyer commented 6 years ago

Back here to update more success in code sharing and adoption of geometry.hpp:

Next step I'm seeing here before closing is to (I will do this):