Wrong map render with region mapping in Chrome

68 views
Skip to first unread message

José Joaquín Escobar Gómez

unread,
Jul 30, 2020, 7:02:40 AM7/30/20
to TerriaJS
Hi all,

I'm writing this hopely to get a solution about a weird display behavior in all navigators but Firefox.

I Configured the region mapping like explained on the DOCs, and  when a CSV is uploaded and displayed is shown like transposed and mirrored, is being rendered incorrectly.This happens in Chrome, Opera and Edge, but on Firefox is showed correctly.

I have checked the order of the FID matches the region ID JSON file.

Has anyone a clue of what is happening or may be the cause?



FIREX CON CSV.png
chrome con.png
chrome preview.png

Andrés Maldonado

unread,
Aug 4, 2020, 1:30:45 AM8/4/20
to TerriaJS
Hi Jose, 

Have you already verified that the geometries are displaying well without linking the layer to the csv file? That would be the fist thing to check (geometry as an standalone layer).
Then if everything is all right, make sure that FID starts with 0, not 1.
I'm not an expert but I've had this problem before and had to generate my MVT layers again or double check the region mapping ids.

Stephen Davies

unread,
Aug 4, 2020, 8:31:49 AM8/4/20
to TerriaJS
Hi,

Have you set up your region mapping using WMS region mapping (with a Geoserver and the black to blue styling per feature ID)? It's possible that some recent changes to how Cesium requests imagery when running in Chromium (using createImageBitmap) would cause this problem. We have since added a new way to show region maps using vector tiles which gives a better visualisation. The steps to follow this method are outlined and scripted in TerriaJS/boundary-tiles. Region mapping no longer requires a GeoServer. There are instructions in that repo to help you upload the produced vector tiles to an Amazon Web Services S3 bucket and create a static site on there, but any static server will work.

Thanks,
Stephen
Reply all
Reply to author
Forward
0 new messages