You are currently reviewing an older revision of this page.
Problem
An user added a new layer in AWLRS ‘Map layers’ by loading a zipped shape file, but a new layer is not shown on maps and no errors were shown on uploading a shape file.
More details are provided in a browser Console (for that press ‘F12’ key) :
Error: Shape type not supported: 13:NaN
at SHPParser.parseShape (preprocess.js:161)
at SHPParser.parse (preprocess.js:81)
at XMLHttpRequest.xhr.onload (preprocess.js:39)
Solution
The current version (v01.00.01.02) does not support Z-values and the shapefile should not include them. Workaround for now is to first convert them to 2D and then add them.
The next version will ignore any Z values so it should be able to add XYZ shapefiles into the maps.