Loading large kmz & Geojson file

I’m uploading a large kmz file but it won’t be displayed. Any hints on what to do?


It appears this GeoJSON file has a coordinate system of urn:ogc:def:crs:EPSG::32630 that is not supported by default. You can see this by opening the Open complete code example link and viewing the following error in the console

RuntimeError: Unknown crs name: urn:ogc:def:crs:EPSG::32630

Here are the coordinate reference systems that are supported by default in GeoJSON. If you are able to covert from EPSG 32630 in Javascript you can add your own handler to extend support to this coordinate system as follows:

Cesium.GeoJsonDataSource.crsNames['urn:ogc:def:crs:EPSG::32630'] = function (coordinates) { 
  // return a  WGS84 Earth-fixed Cartesian for the provided number[] coordinates array

Otherwise you can try converting the file to EPSG::4326 in an third party tool. That will allow CesiumJS to process the file without any additional work.

Please let us know if you have any other issues with displaying this file. Regards.