WallGeometry - unique positions must be greater than or equal to 2

Hi, I have the following wall that Im trying to create:

ellipsoid.cartographicArrayToCartesianArray([
Cesium.Cartographic.fromDegrees(-47.93121266896352,-15.771192496304398),
Cesium.Cartographic.fromDegrees(-47.93119792786269,-15.771148001875085)]),10.0,null);

Im getting the this error "unique positions must be greater than or equal to 2".
Its a 5,8 meters wall. Is there something that I can change on WallGeometry to allow creting 5 meters walls? I tried changing granularity but didnt work.

Another example that is not working:

newWallRenderer(ellipsoid.cartographicArrayToCartesianArray([
Cesium.Cartographic.fromDegrees(-47.93168187690835,-15.771046653062806),
Cesium.Cartographic.fromDegrees(-47.93166526395507,-15.77099495448627)]),1000000.0,null);

Thanks

---- Edit -----

Im sorry, thats the correct code:

-- Wall 1 --

ellipsoid.cartographicArrayToCartesianArray([
Cesium.Cartographic.fromDegrees(-47.93121266896352,-15.771192496304398),
Cesium.Cartographic.fromDegrees(-47.93119792786269,-15.771148001875085)]);

-- Wall 2 --

ellipsoid.cartographicArrayToCartesianArray([
Cesium.Cartographic.fromDegrees(-47.93168187690835,-15.771046653062806),
Cesium.Cartographic.fromDegrees(-47.93166526395507,-15.77099495448627)]);

The same problem is happening with this one:

ellipsoid.cartographicArrayToCartesianArray([
Cesium.Cartographic.fromDegrees(-47.92558879803101, -15.766462950564001),
Cesium.Cartographic.fromDegrees(-47.92557962674168, -15.766436471847367),
Cesium.Cartographic.fromDegrees(-47.92553682739143, -15.766454124325506),
Cesium.Cartographic.fromDegrees(-47.925545998680775, -15.766474718881403),
Cesium.Cartographic.fromDegrees(-47.925582683838115, -15.76646000848455)])

Its a simple linestring:

LINESTRING (-47.92558879803101 -15.766462950564001, -47.92557962674168 -15.766436471847367, -47.92553682739143 -15.766454124325506, -47.925545998680775 -15.766474718881403, -47.925582683838115 -15.76646000848455)

There was a bug where the WallGeometry would remove points that were close together by at least 6 decimal places. I opened a PR (#1483) to fix the issue.

Regards,

Dan

I changed to CorridorGeometry and its working fine.

We are using Cesium to create 3D from opeanlayers geometries: http://postimg.org/image/7gf4ok6s1/

Thanks Dan