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

Tracker: v3.0 Release checklist #772

Closed
9 tasks
ibgreen opened this issue Jun 7, 2020 · 2 comments
Closed
9 tasks

Tracker: v3.0 Release checklist #772

ibgreen opened this issue Jun 7, 2020 · 2 comments
Assignees
Milestone

Comments

@ibgreen
Copy link
Collaborator

ibgreen commented Jun 7, 2020

  • Lighting is broken in gltf example?
  • MVTLoader tests fail under Safari (yarn test browser, open localhost:5000 in Safari) P1 @kylebarron @jesusbotella
  • deck.gl
    • Update 3d-tile example to not import and register DracoLoader @dryabinin-actionengine
    • Update gltf example to not import and register DracoLoader @dryabinin-actionengine
    • Update 3d-tile JSON example to not import and register DracoLoader @dryabinin-actionengine
    • Update i3s JSON example to not import and register DracoLoader @dryabinin-actionengine
    • Update pydeck examples to not import and register DracoLoader @dryabinin-actionengine
    • Remove draco install from package.json files @dryabinin-actionengine
@ibgreen ibgreen added this to the v2.2.0 milestone Jun 7, 2020
@kylebarron
Copy link
Collaborator

  • MVTLoader tests fail under Safari

It's this test that's failing.

test('Polygons MVT to GeoJSON', async t => {
const response = await fetchFile(MVT_POLYGONS_DATA_URL);
const mvtArrayBuffer = await response.arrayBuffer();
const loaderOptions = {
mvt: {
coordinates: 'wgs84',
tileIndex: {
x: 133,
y: 325,
z: 10
}
}
};
const geojson = await parse(mvtArrayBuffer, MVTLoader, loaderOptions);
t.deepEqual(geojson, decodedPolygonsGeoJSON);
t.end();
});

Specifically it looks like there are some float precision errors in Safari. The created geojson is expected to match this file. In this screenshot the first console.log is the geojson decoded from MVT, and the latter is what's expected to match. There are several such differences.
image

So I'd guess a good solution would be to use some epsilon instead of strict equality for float checking here?

@ibgreen
Copy link
Collaborator Author

ibgreen commented Jun 15, 2020

Thanks for investigating, this makes sense. It is not really a bug then, but nevertheless, it would be good to get a clean test run.

There is a test/utils/tape-assertions that exports tapeEqualsEpsilon(t, value, expected, epsilon, message),

@ibgreen ibgreen removed this from the v2.2.0 milestone Jun 29, 2020
@ibgreen ibgreen changed the title Tracker 2.2.0 release checklist Tracker 2.3 release checklist Jul 22, 2020
@ibgreen ibgreen added this to the v2.3.0 (Shapefile) milestone Jul 22, 2020
@ibgreen ibgreen changed the title Tracker 2.3 release checklist Tracker 3.0 release checklist Oct 27, 2020
@ibgreen ibgreen modified the milestones: v2.3.0 (Shapefile), 3.0.0 Oct 27, 2020
@ibgreen ibgreen changed the title Tracker 3.0 release checklist Tracker: Release checklist Jul 6, 2021
@ibgreen ibgreen modified the milestones: 3.0.0, v3.1.0 Jul 15, 2021
@ibgreen ibgreen mentioned this issue Apr 25, 2022
11 tasks
@ibgreen ibgreen changed the title Tracker: Release checklist Tracker: v3.0 Release checklist Feb 11, 2023
@ibgreen ibgreen closed this as completed Feb 11, 2023
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

3 participants