Git Product home page Git Product logo

Comments (4)

mourner avatar mourner commented on August 16, 2024 2

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 and converFeatures static method from public API
  • make GeoJSONVT index creation a one-step process again (accepting geometry.hpp in constructor instead of ProjectedFeature vector generated by convertFeatures)
  • 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 use geometry.hppFeature, 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.

mourner avatar mourner commented on August 16, 2024 1

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.

artemp avatar artemp commented on August 16, 2024

@mourner - I thinks taking GeoJSON specific stuff out is a smart move, yes ^

from geojson-vt-cpp.

kkaefer avatar kkaefer commented on August 16, 2024

🎉

from geojson-vt-cpp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.