Comments (4)
Here's a rough bullet list of things that need to be done, per chat with @springmeyer:
- create a
mapbox/geojson.hpp
library that converts raw GeoJSON data to geometry.hpp (would be similar to convert.cpp code) - ditch GeoJSON conversion code from this repo and make geometry.hpp representation the input
- hide all
Projected*
classes andconverFeatures
static method from public API - make GeoJSONVT index creation a one-step process again (accepting geometry.hpp in constructor instead of
ProjectedFeature
vector generated byconvertFeatures
) - switch GL Native to use
geojson.hpp
for GeoJSON parsing and switch to new geojson-vt-cpp with geometry.hpp input - switch GL Native shape annotations implementation to use geometry.hpp representation instead of using
Projected*
- update remaining types in
types.hpp
to usegeometry.hpp
—Feature
,Tags
, etc. - if possible, update internal
Projected*
classes to reuse as much geometry.hpp as possible (relies on 3rd coord, etc.)
from geojson-vt-cpp.
Per chat, @kkaefer suggests making mapbox/geojson.hpp
that converts from GeoJSON to geometry.hpp representation, and then switch to that in gl-native while ditching GeoJSON code from this repo. Sounds like a great plan.
from geojson-vt-cpp.
@mourner - I thinks taking GeoJSON specific stuff out is a smart move, yes ^
from geojson-vt-cpp.
🎉
from geojson-vt-cpp.
Related Issues (20)
- configure: confusion about pyhton version. HOT 3
- buffer should be a uint16_t
- Classes with static methods only HOT 3
- GLFW app not tested on travis HOT 1
- Protect against invalid type access in Convert::calcBBox HOT 7
- Run Clipper StrictlySimple routine on tile polygons HOT 1
- Possible undefined var being used like in geojson-vt HOT 1
- Preserve feature identifiers
- Reorder fields to save memory
- undefined reference to `mapbox::geojson::parse` HOT 3
- Avoid deep call stacks on certain degenerate input
- Building fails HOT 1
- Publish example how to use HOT 1
- Missing some validation checks in InternalTile::transform() HOT 3
- Option to prevent simplification for simple polygons
- Support for MSVC 2015 and add appveyor CI.
- When clip a non-convex polygon, expect to return multiple linear_ring, but got a degenerated version... HOT 1
- How to convert from mvt to geojson?
- complier error in mapbox variant use geojson-vt-cpp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geojson-vt-cpp.