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

DeveloperError: normalized result is not a number #4863

Open
grmc144 opened this issue Jan 13, 2017 · 53 comments
Open

DeveloperError: normalized result is not a number #4863

grmc144 opened this issue Jan 13, 2017 · 53 comments

Comments

@grmc144
Copy link

grmc144 commented Jan 13, 2017

ipmsgclip_r_1484313212_0

@hpinkos
Copy link
Contributor

hpinkos commented Jan 13, 2017

@grmc144 I wasn't able to reproduce this. Could you please provide more information? Thanks!

@ketulm
Copy link

ketulm commented Jan 19, 2017

I also came across this recently but haven't been able to reproduce it on Sandcastle. I was able to get around it by setting scene3DOnly: true after seeing that mentioned in the forums.

@tomvantilburg
Copy link

This seems to happen when your cartesian coordinate is 0,0,0. The resulting magnitude then is also 0 which results in a division by 0 in the normalize function. (see https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Core/Cartesian3.js#L408)

It happens a lot with us when transforming our data to a custom cartesian tiling grid where the lower left vertex usually falls on 0,0,0.

@hpinkos
Copy link
Contributor

hpinkos commented Jan 19, 2017

@ketulm @tomvantilburg do either of you have sample code or sample data to reproduce this? Cesium shouldn't be trying to normalize the zero vector. This case should be caught further up the pipeline before this error is thrown.

@tomvantilburg
Copy link

tomvantilburg commented Jan 19, 2017

This should do the trick: Cesium.Cartesian3.normalize({x: 0, y: 0, z: 0},{x: 0, y: 0, z: 0})

@hpinkos
Copy link
Contributor

hpinkos commented Jan 19, 2017

Thanks @tomvantilburg, but I know that's what is causing the developer error to be thrown. The error is in place so we can catch bad data coming in from other parts of the code, so it is expected to be thrown when you're trying to normalize the zero vector.
It would be helpful if you could give me an example of a polygon or something higher level that's causing the error to be thrown.

@tomvantilburg
Copy link

tomvantilburg commented Jan 20, 2017

Thanks for looking into this @hpinkos and sorry for being not verbose. Here's the full story:

We are trying to convert a set of obj files to a gltf file with the help of obj2gltf. The error message shows up in obj2gltf but originates from cesium (see stack below). Oddly enough, there are no vector normals in the obj file, so I can't see where this goes wrong along the way. Worth noting: We did translate all coordinates to a 0 0 based grid first, so some lower left coordinates are very close to 0, 0, 0

Here is the defaulting obj file: http://research.geodan.nl/sites/cesium/data/object.tar.gz
http://research.geodan.nl/sites/cesium/data/object2.tar.gz

And here the corresponding code calling for obj2gltf: https://github.com/Geodan/3dfier-tiles/blob/master/src/obj2gltf.js

Error Stack:

{ [DeveloperError: normalized result is not a number]
  name: 'DeveloperError',
  message: 'normalized result is not a number',
  stack: 'Error\n    at new DeveloperError (/var/data/git_repos/3dfier-tiles/node_modules/cesium/Source/Core/DeveloperError.js:44:19)\n    at Function.Cartesian3.normalize (/var/data/git_repos/3dfier-tiles/node_modules/cesium/Source/Core/Cartesian3.js:422:19)\n    at Object.GeometryPipeline.computeNormal (/var/data/git_repos/3dfier-tiles/node_modules/cesium/Source/Core/GeometryPipeline.js:1176:28)\n    at generateNormals (/var/data/git_repos/3dfier-tiles/node_modules/gltf-pipeline/lib/generateNormals.js:57:34)\n    at Function.Pipeline.processJSONWithExtras (/var/data/git_repos/3dfier-tiles/node_modules/gltf-pipeline/lib/Pipeline.js:91:5)\n    at /var/data/git_repos/3dfier-tiles/node_modules/gltf-pipeline/lib/Pipeline.js:194:29\n    at tryCatcher (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/util.js:16:23)\n    at Promise._settlePromiseFromHandler (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/promise.js:510:31)\n    at Promise._settlePromise (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/promise.js:567:18)\n    at Promise._settlePromise0 (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/promise.js:612:10)\n    at Promise._settlePromises (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/promise.js:691:18)\n    at Async._drainQueue (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/async.js:133:16)\n    at Async._drainQueues (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/async.js:143:10)\n    at Immediate.Async.drainQueues [as _onImmediate] (/var/data/git_repos/3dfier-tiles/node_modules/bluebird/js/release/async.js:17:14)\n    at processImmediate [as _immediateCallback] (timers.js:383:17)' }

@likangning93
Copy link
Contributor

likangning93 commented Jan 20, 2017 via email

@grmc144
Copy link
Author

grmc144 commented Jan 20, 2017

that error came on angular js error.now its fix

error

@tomvantilburg
Copy link

It seems I gave the wrong example file, apologies. Here is one that goes wrong: http://research.geodan.nl/sites/cesium/data/object2.tar.gz

@likangning93
Copy link
Contributor

likangning93 commented Jan 27, 2017 via email

@JakeDluhy
Copy link

problem_obj.zip

I ran into this same problem, using the obj in the zip and obj2gltf as well. I haven't modified it at all.

@JakeDluhy
Copy link

Looks like it's happening at line 1178 of GeometryPipeline:

Cartesian3.clone(Cartesian3.ZERO, normal);
for (j = 0; j < vertexNormalData.count; j++) {
    Cartesian3.add(normal, normalsPerTriangle[normalIndices[vertexNormalData.indexOffset + j]], normal);
}
Cartesian3.normalize(normal, normal);

In my case vertexNormalData.count is 2, but both of the normalsPerTriangle values are also 0,0,0 so it all adds up to 0,0,0.

@likangning93
Copy link
Contributor

@JakeDluhy sorry for the extremely slow response. This case can happen if your model's winding order is inconsistent, see here: CesiumGS/gltf-pipeline#242 (comment)

For now, if you can get your model imported into blender and then re-exported with normals, it should be able to go through obj2gltf without having to compute new normals. We're working on a fix in the meantime.

@cfickler
Copy link

Hi Guys, this is a little off topic, but same error. Looks like if you have a polygon covering the poles that has a fill a DeveloperError: normalized result is not a number error is thrown.

The following code gives an example.

var viewer = new Cesium.Viewer('cesiumContainer');

var hierarchy = [ -180,90,-180,50,180,50,180,90];

viewer.entities.add({
    polygon: {
        hierarchy: new Cesium.PolygonHierarchy(Cesium.Cartesian3.fromDegreesArray(hierarchy)),
        outline: true,
        outlineColor: Cesium.Color.YELLOW,
        fill: true,
        //fill: false,
        material: Cesium.Color.RED,
        outlineWidth: 10
    }
})

Setting fill to false results in no error being thrown.

normalizeissue

@hpinkos
Copy link
Contributor

hpinkos commented Jun 19, 2017

Thanks @cfickler! We have an issue written up for that as well in #4801

@primozs
Copy link

primozs commented Dec 14, 2017

I get this while drawing walls. Here is sandcastle working and not working data example:

var viewer = new Cesium.Viewer('cesiumContainer');

var dataOk = [{"x":4275945.9824068565,"y":1107800.9025642173,"z":4587695.880722421},{"x":4275942.364458469,"y":1107810.0271602964,"z":4587697.218922266},{"x":4275939.159145871,"y":1107819.8152021402,"z":4587699.22238232},{"x":4275935.301931963,"y":1107826.779722856,"z":4587702.506606695},{"x":4275932.072016638,"y":1107833.9067606523,"z":4587703.787370615},{"x":4275927.503940587,"y":1107840.687092489,"z":4587703.622741782},{"x":4275926.76592329,"y":1107841.8396275593,"z":4587703.553797735}];

var dataFail = [{"x":4275839.559924875,"y":1108128.491490115,"z":4587218.256350457},{"x":4275839.560187584,"y":1108128.4915581993,"z":4587218.255867044},{"x":4275839.560187584,"y":1108128.4915581993,"z":4587218.255867044},{"x":4275839.560187584,"y":1108128.4915581993,"z":4587218.255867044},{"x":4275839.560187584,"y":1108128.4915581993,"z":4587218.255867044},{"x":4275839.560187584,"y":1108128.4915581993,"z":4587218.255867044},{"x":4275839.559983776,"y":1108128.4926396976,"z":4587218.25594444}];

var wall = {
  wall: {
    // positions: dataOk, // works
    positions: dataFail, // does not work: DeveloperError: normalized result is not a number
    material: Cesium.Color.fromCssColorString('red').withAlpha(0.2),
    outline: true,
    outlineColor: Cesium.Color.fromCssColorString('red').withAlpha(0.2)
  }
};
 
viewer.entities.add(wall);

viewer.scene.camera.flyTo({
    destination: new Cesium.Cartesian3(4275945.9824068565, 1107800.9025642173, 4587695.880722421),
});

@hpinkos
Copy link
Contributor

hpinkos commented Dec 14, 2017

Thanks for reporting this @primozs! I opened a new issue for this because it's not the same problem as the other issues reported in this issue: #6050

@DustinPham
Copy link

You can reproduce this problem in the billboard sandcastle:

https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Billboards.html&label=

Zoom in close-ish to the Cesium billboard and hold the mousewheel down to rotate. If you rotate over and over in random directions (basically spinning around) then the normalize error will occur.

error

@gtzaniboni
Copy link

Hi!
I have this same problem, and I can reproduce it.
Just use this code:

console.log("teste");
var x = new Cesium.Cartesian3(0.0, 0.0, 0.0);
var r = new Cesium.Cartesian3();
console.log(x);
console.log(r);
Cesium.Cartesian3.normalize(x, r);
console.log("FIM Teste");

I use the code on https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Billboards.html&label=
and add this code in line 17.

the function became

function addBillboard() {
Sandcastle.declare(addBillboard);

viewer.entities.add({
    position : Cesium.Cartesian3.fromDegrees(-75.59777, 40.03883),
    billboard :{
        image : '../images/Cesium_Logo_overlay.png'
    }
});

console.log("teste");
var x = new Cesium.Cartesian3(0.0, 0.0, 0.0);
var r = new Cesium.Cartesian3();
console.log(x);
console.log(r);
Cesium.Cartesian3.normalize(x, r);
console.log("FIM Teste");

}

The problem really happens on normalize with (0,0,0)

Its easy to correct the Cesium code.

Just verify 3258 of Cesiun.js
var magnitude = Cartesian3.magnitude(cartesian);

before calc result, verify if magnitude is 0; or to be more smart, verify before to call normalize, because normalizing a vector with zeros is everytime zero.

@hpinkos
Copy link
Contributor

hpinkos commented May 21, 2018

@gtzaniboni It is expected that Cartesian3.normalize throws if you try to normalize the zero vector. The zero vector doesn't have a direction, so we can't create a vector with a magnitude of 1 in the direction of that vector.

@chenluweixi
Copy link

image
Hi!
I have this same problem, and I can reproduce it.
code:`var viewer = new Cesium.Viewer('cesiumContainer');

var greenPolygon = viewer.entities.add({
name : 'Green extruded polygon',
polygon : {
hierarchy:{
positions:[
{x:-1282429.5526432437,y:5188158.424384381,z:3469566.094463261},
{x:-1282588.3417658736,y:5188166.113893098,z:3469496.3696201444},
{x:-1282690.3232170227,y:5188085.603724499,z:3469578.504749636},
{x:-1282441.982679572,y:5188092.993331375,z:3469658.715187507},
{x:-1282927.91953463,y:5190058.841008679,z:3470982.2823311253}
]
},
extrudedHeight:2423.0,
material:Cesium.Color.GREEN.withAlpha(0.3),
outline:true,
outlineColor:Cesium.Color.WHITE,
outlineWidth:2.0,
closeTop:false,
closeBottom:false
}
});

viewer.zoomTo(viewer.entities);`

@GatorScott
Copy link

What you have is a polygon with a duplicate point in latitude/longitude, differing only in height.

(103.88428702847558, 33.16795772591805, 0) (103.88591985578114, 33.16720668602253, 0) (103.88718838345685, 33.1680914037599, 0) (103.8845847278203, 33.16895539819639, 0) (103.8845847278203, 33.16895539819639, 2419.198565875114)

This will work if perPositionHeight: true is specified when you define the polygon.

@hpinkos
Copy link
Contributor

hpinkos commented Jun 25, 2018

Thanks for reporting that @chenluweix! We should be removing those duplicate positions to avoid that crash. I open up this pull request to fix that problem: #6731

@andreddosantos
Copy link

@gtzaniboni thank you for answer, i''ve done a similar local fix myself ahah, and its kind of working, at least the app doesn't crash and i get to see the full tiles. But it would be great if someone from cesium with more context of the code, could solve it.

@hpinkos
Copy link
Contributor

hpinkos commented Oct 10, 2018

@andreddosantos does this only happen on iOS? Does the crash happen when there is no tileset loaded? Can you paste the callstack from the unminified version of Cesium?

@gtzaniboni
Copy link

gtzaniboni commented Oct 10, 2018 via email

@hpinkos
Copy link
Contributor

hpinkos commented Oct 15, 2018

Thanks for the update @gtzaniboni. I noted in #7143 (comment) that there seems to be an influx of camera related crashes and I'm hoping our graphics team will be able to look into it soon.

@andreddosantos
Copy link

@hpinkos Nope this is also happening in android.

@hanyingling
Copy link

hanyingling commented Jan 3, 2019

(1)在http://localhost:8080/Apps/Sandcastle/index.html?src=Rectangle.html&label=All里
var redRectangle = viewer.entities.add({
name : 'Red translucent rectangle',
rectangle : {
coordinates : Cesium.Rectangle.fromDegrees(-180.0, -80.0, 180.0, 90.0),
material : Cesium.Color.RED.withAlpha(0.5),

}

});
当纬度=90或-90时,会出现 normalized result is not a number问题,但是使用压缩的cesium.js,不会出现此问题。
(2)还有在画矩形时,在矩形里会出现一条线,随着镜头转动而转动,如下图
default

@hpinkos
Copy link
Contributor

hpinkos commented Jan 3, 2019

@HuZhuangQiang I just opened a pull request with a fix for that issue yesterday: #7452
I'm hoping that will get merged and be ready for the 1.54 release in February

@hanyingling
Copy link

@hpinkos
您好,我在西半球画矩形时,会出现一条线,随着镜头的转动而转动,请问有什么好的处理方法
image

@hpinkos
Copy link
Contributor

hpinkos commented Jan 8, 2019

@HuZhuangQiang unfortunately no. We have a separate issue open for that here: #4746
If you are not using terrain, you can set height: 0 as a workaround:

var redRectangle = viewer.entities.add({
    name : 'Red translucent rectangle',
    rectangle : {
        height: 0,
        coordinates : Cesium.Rectangle.fromDegrees(-180.0, -80.0, 180.0, 90.0),
        material : Cesium.Color.RED.withAlpha(0.5),

    }
});

@Gnumster
Copy link

We have also encountered this error. The cause was two identical points used for making a polygon. In other words, a zero-length line seemed to be the cause or the absence of the third point in the polygon. Didn't work-out which one of these two though.

@hpinkos
Copy link
Contributor

hpinkos commented Apr 11, 2019

@Gnumster do you have some sample code you can share with us to reproduce that error?

@andreddosantos
Copy link

I'm still having this error, randomly when interacting with features.

@lydonchandra
Copy link

lydonchandra commented Jul 31, 2019

It was erroring because
viewer.scene.globe.enableLighting = true;
viewer.shadowMap.enabled = true

so it is irrelevant.

Had this issue loading the attached b3dm
Was expecting Cesium to render a simple cube

image

DeveloperError: normalized result is not a number
Error
at new DeveloperError (http://localhost:8081/Build/CesiumUnminified/Cesium.js:540:19)
at Function.Cartesian3.normalize (http://localhost:8081/Build/CesiumUnminified/Cesium.js:7753:19)
at Ellipsoid.geodeticSurfaceNormal (http://localhost:8081/Build/CesiumUnminified/Cesium.js:9147:27)
at Ellipsoid.cartesianToCartographic (http://localhost:8081/Build/CesiumUnminified/Cesium.js:9235:22)
at fitShadowMapToScene (http://localhost:8081/Build/CesiumUnminified/Cesium.js:237683:44)
at ShadowMap.update (http://localhost:8081/Build/CesiumUnminified/Cesium.js:237863:17)
at updateShadowMaps (http://localhost:8081/Build/CesiumUnminified/Cesium.js:242008:23)
at updateAndRenderPrimitives (http://localhost:8081/Build/CesiumUnminified/Cesium.js:242031:9)
at executeCommandsInViewport (http://localhost:8081/Build/CesiumUnminified/Cesium.js:241867:13)
at updateAndExecuteCommands (http://localhost:8081/Build/CesiumUnminified/Cesium.js:241675:13)

1cube-vertexpaint-no-draco.zip

@Maarondesigns
Copy link

I am getting this error when I use camera.lookAt with HeadingPitchRange and range is 0.

@GatorScott
Copy link

Range must be a non-zero, positive value in this situation where you are essentially defining a vector/line between two points.

@electricsam
Copy link

I am getting this error with a simple example:

var viewer = new Cesium.Viewer('cesiumContainer');
//var dataSource = Cesium.GeoJsonDataSource.load({"type":"Polygon","coordinates":[[[0,0],[10,0],[10,5],[2,5],[2,30],[0,30],[0,0]]]});
var dataSource = Cesium.GeoJsonDataSource.load({"type":"LineString","coordinates":[[0,0],[10,0],[10,5],[2,5],[2,30],[0,30]]});
viewer.dataSources.add(dataSource);

Note: The commented out polygon works fine.

Here is the sandcastle for it: https://sandcastle.cesium.com/#c=pZHfS8MwEMf/lZCXVShJp/iiXREmCDJQKPjS9CFrzhlMk5KkHVX8301mtzn0QTAPOe7H5/K9y8AtGiRswaIF0rBFS3Cyb8nTLpbMmp27NNpzqcHOzq6ZpnQIlOCel6a3DQRyou7A3Dujbw8pogwXyTvDfuyA4SuGH40aN0YznDLcGGOF1NyDC7mqqrI0q9NqfjCXwZxP90WMZXuT1XX9EcX8Q8oqTFR6K/XmVzV/EzOp2K2LHIU4woVIjn4swinOnR8VFEyjcG5k2xnrUW9VQgj10HYqvk7XffMKnjTORSyneygXckBSLILW029hGDWKOxcyz71SpXwLExY5DfUnWFxBGPdhAKv4GEte5sXqK0gIyWlwf1LeGLXm9lvHTw

@Maarondesigns
Copy link

I am getting this error with a simple example:

var viewer = new Cesium.Viewer('cesiumContainer');
//var dataSource = Cesium.GeoJsonDataSource.load({"type":"Polygon","coordinates":[[[0,0],[10,0],[10,5],[2,5],[2,30],[0,30],[0,0]]]});
var dataSource = Cesium.GeoJsonDataSource.load({"type":"LineString","coordinates":[[0,0],[10,0],[10,5],[2,5],[2,30],[0,30]]});
viewer.dataSources.add(dataSource);

Note: The commented out polygon works fine.

Here is the sandcastle for it: https://sandcastle.cesium.com/#c=pZHfS8MwEMf/lZCXVShJp/iiXREmCDJQKPjS9CFrzhlMk5KkHVX8301mtzn0QTAPOe7H5/K9y8AtGiRswaIF0rBFS3Cyb8nTLpbMmp27NNpzqcHOzq6ZpnQIlOCel6a3DQRyou7A3Dujbw8pogwXyTvDfuyA4SuGH40aN0YznDLcGGOF1NyDC7mqqrI0q9NqfjCXwZxP90WMZXuT1XX9EcX8Q8oqTFR6K/XmVzV/EzOp2K2LHIU4woVIjn4swinOnR8VFEyjcG5k2xnrUW9VQgj10HYqvk7XffMKnjTORSyneygXckBSLILW029hGDWKOxcyz71SpXwLExY5DfUnWFxBGPdhAKv4GEte5sXqK0gIyWlwf1LeGLXm9lvHTw

Weird. This renders:
Cesium.GeoJsonDataSource.load({"type":"LineString","coordinates":[ [0.0, 0.0], [10.0, 0.0] ]});
while this throws the error:
Cesium.GeoJsonDataSource.load({"type":"LineString","coordinates":[ [0.0, 0.0], [10.0, 0.0], [10.0, 5.0] ]});

@OmarShehata
Copy link
Contributor

@electricsam thanks for reporting this, and @Maarondesigns thanks for the reduced test case. This looks like a separate issue where the geometry pipeline may be making an incorrect assumption. I opened a separate bug report for this here: #8464

@he-hesce
Copy link

he-hesce commented Sep 12, 2020

I am having this error message though I do not know if it is related to this issue. Feel free to split it out. I didn't want to create a duplicate issue.

I get this error message if I am using orthographic projection but not if I use perspective projection.

It happens when using QtWebKit 5.6.1 (CentOS 6.10), 5.9.1 (CentOS 7.8), and 5.212-alpha3 (CentOS 8.2) as the "web browser". This is new for Cesium version 1.73. It did not happen with version 1.70. I have not tested version 1.71 and version 1.72.

It happens when I call both flyHome and setView. Would appreciate if this could be addressed. It doesn't seem to break anything that I can see but the error message causes concern with the user of the product who thinks the product is broken when they see the error in the terminal (I redirect JavaScript console messages to the terminal).

Below is a traceback for flyHome call:

qrc:///map/cesium/CesiumUnminified/Cesium.js:83: DeveloperError: normalized result is not a number
DeveloperError@qrc:///map/cesium/CesiumUnminified/Cesium.js:83:24
normalize@qrc:///map/cesium/CesiumUnminified/Cesium.js:2040:31
flyHome@qrc:///map/cesium/CesiumUnminified/Cesium.js:227345:27
_refreshMap@qrc:///map/map.js:3908:33
showProjection@qrc:///map/map.js:124:16
global code

Thanks.

@OmarShehata
Copy link
Contributor

@he-hesce are you able to reproduce this in the browser outside of Qt? If not it would be helpful for you to run off of the CesiumJS and git bisect to find where this break might have happened. Either way, feel free to open a new topic on the community forum (https://community.cesium.com/) to document this until it can be determined what the cause of the issue is and we can open a GitHub issue here.

@he-hesce
Copy link

@OmarShehata, It would take some effort to get it running outside of embedded QtWebKit. I tried to create a minimal example to reproduce it with Sandcastle and latest Safari but I can't reproduce the error message there. For now I will downgrade to 1.70 (or 1.71 or 1.72 if they work fine) to get rid of the error message until I have time to return to this some day, and I'll keep trying new releases of Cesium to see if it goes away.

@he-hesce
Copy link

he-hesce commented Oct 3, 2020

@OmarShehata: I've now tested 1.70.1, 1.71, 1.72, 1.73, and 1.74. The issue was introduced between 1.70.1 and 1.71. For now I will use 1.70.1 as it is working. Cheers.

@lishulincug
Copy link

汉娜,它并没有以严格的方式发生在我身上......换句话说,直接在画布上完成的一些来自捏合,旋转和其他转换的组合使系统处于某些情况下,一个零向量被传递给规范化函数。我们可以用严格的方式来重现它,强制归一化一个零向量,这是一种磨损,但它是重现错误的方式。但是,通过手势缩放/旋转/平移地图时会出现错误...谢谢,Em qua,2018 年 10 月 11 点 18 分,Hannah notifications@github.com escreveu:

@andreddosantos < https://github.com/andreddosantos > 这只发生在 iOS 上吗?没有加载tileset时是否会发生崩溃?您可以粘贴未缩小版本的 Cesium 中的调用堆栈吗?- 你收到这个是因为你被提及。直接回复本邮件,在 GitHub 上查看 < #4863(评论) >,或将线程静音 < https://github.com/notifications/unsubscribe-auth/Alh5m-YyL29LojlhthXrQ__TlrKSxodNks5ujgHLgaJpZM4Li3so > 。

have the same problem
image

@thw0rted
Copy link
Contributor

Did this ever get anywhere? Like @Gnumster almost 3 years ago, I accidentally supplied identical points to a PolygonHierarchy and suffered the same crash. Minimal sandcastle -- should crash after 10 seconds, when it tries to add a polygon that only uses the same point repeatedly.

(I was reading coordinates from a WKT string, and accidentally passed the lat/lon to parseInt instead of parseFloat 🤦‍♂️ )

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