Comments (7)
Interesting. How did you determine that it's a null feature?
from geojson-vt-cpp.
Sorry, edited to be more clear above. It looks like a geometry type is being requested that is not inside the variant, not necessarily a null. I don't have a testcase or conclusive proof, just reading the backtrace shows that .get<>
is failing which means the requested type does not exist.
from geojson-vt-cpp.
I think the underlying issue is that geojson-vt-cpp wants the invariant that a Point
feature always has a ProjectedPoints
geometry, and a non-Point
feature always has a ProjectedRings
geometry. If that's the case, then a fix like #43 is hiding the underlying issue, which is that some other part of the code is violating that invariant.
from geojson-vt-cpp.
@jfirebaugh thanks for the help. I'll close #43 then and we'll wait for more of a sense of the underlying problem.
from geojson-vt-cpp.
I remember @mikemorris having a similar problem very long time ago, but we couldn't get a reproducible test case that time either.
from geojson-vt-cpp.
@mourner Yea, I was trying to diagnose mapbox/mapbox-gl-native#2926 and found the problematic line, but couldn't determine the proper fix.
from geojson-vt-cpp.
Addressed by #45 (with visitor pattern for bbox calculation).
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
- Converting from geometry.hpp to internal representation HOT 4
- GLFW app not tested on travis HOT 1
- 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.