Missing spatial reference system (srsName) and no source SRS given (--source-srs)

Hi Cesium Community,

May I know how to solve this error?

Error: Invalid File
Filepath: C:\Cesium2\bin\Data_LOD\LOD2\M59TBBB7\UPI_10089200050385.S.0B.M1.D2.gml
Details: Missing spatial reference system (srsName) and no source SRS given (–source-srs).

If I need to specify the srs, how to I write it command line to run transformation from CityGML to 3D Tiles?

Thanks,
Saharil

Can you share how the SRS is listed in the CityGML file?

Hey @Shehzan_Mohammed ,

We downloaded a CityGML file for Florida from opencitymodels. To clip the CityGML file with respect to a bounding box, we imported the file into 3D City Importer Exporter, gave in the coordinates for the bounding box and created a clipped CityGML file.

However, when we upload the clipped CityGML file onto Ion, we get the following error.
image

This is top of the clipped CityGML file

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- Written by 3D City Database Importer/Exporter, version "4.3.0" -->
<!-- Chair of Geoinformatics, Technical University of Munich -->
<CityModel xmlns:xAL="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0" xmlns:gml="http://www.opengis.net/gml" xmlns:wtr="http://www.opengis.net/citygml/waterbody/2.0" xmlns:app="http://www.opengis.net/citygml/appearance/2.0" xmlns="http://www.opengis.net/citygml/2.0" xmlns:veg="http://www.opengis.net/citygml/vegetation/2.0" xmlns:dem="http://www.opengis.net/citygml/relief/2.0" xmlns:tran="http://www.opengis.net/citygml/transportation/2.0" xmlns:bldg="http://www.opengis.net/citygml/building/2.0" xmlns:grp="http://www.opengis.net/citygml/cityobjectgroup/2.0" xmlns:tun="http://www.opengis.net/citygml/tunnel/2.0" xmlns:frn="http://www.opengis.net/citygml/cityfurniture/2.0" xmlns:brid="http://www.opengis.net/citygml/bridge/2.0" xmlns:gen="http://www.opengis.net/citygml/generics/2.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:luse="http://www.opengis.net/citygml/landuse/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/citygml/waterbody/2.0 http://schemas.opengis.net/citygml/waterbody/2.0/waterBody.xsd http://www.opengis.net/citygml/appearance/2.0 http://schemas.opengis.net/citygml/appearance/2.0/appearance.xsd http://www.opengis.net/citygml/2.0 http://schemas.opengis.net/citygml/2.0/cityGMLBase.xsd http://www.opengis.net/citygml/vegetation/2.0 http://schemas.opengis.net/citygml/vegetation/2.0/vegetation.xsd http://www.opengis.net/citygml/relief/2.0 http://schemas.opengis.net/citygml/relief/2.0/relief.xsd http://www.opengis.net/citygml/transportation/2.0 http://schemas.opengis.net/citygml/transportation/2.0/transportation.xsd http://www.opengis.net/citygml/building/2.0 http://schemas.opengis.net/citygml/building/2.0/building.xsd http://www.opengis.net/citygml/cityobjectgroup/2.0 http://schemas.opengis.net/citygml/cityobjectgroup/2.0/cityObjectGroup.xsd http://www.opengis.net/citygml/tunnel/2.0 http://schemas.opengis.net/citygml/tunnel/2.0/tunnel.xsd http://www.opengis.net/citygml/cityfurniture/2.0 http://schemas.opengis.net/citygml/cityfurniture/2.0/cityFurniture.xsd http://www.opengis.net/citygml/generics/2.0 http://schemas.opengis.net/citygml/generics/2.0/generics.xsd http://www.opengis.net/citygml/bridge/2.0 http://schemas.opengis.net/citygml/bridge/2.0/bridge.xsd http://www.opengis.net/citygml/landuse/2.0 http://schemas.opengis.net/citygml/landuse/2.0/landUse.xsd">
  <cityObjectMember>
    <bldg:Building gml:id="NzZWWDZSN0YrOjE2Mjk2MTkwNQ">
      <gml:boundedBy>
        <gml:Envelope srsName="EPSG:4979" srsDimension="3">
          <gml:lowerCorner>-80.1757274 27.2134622 0.0</gml:lowerCorner>
          <gml:upperCorner>-80.1756599 27.2135197 3.87</gml:upperCorner>
        </gml:Envelope>
      </gml:boundedBy>
....