Applicable to SunDAT Pro, Standard, & Essential

Troubleshooting

Error MessagePotential Cause(s)Potential Solution(s)
Exception: Undefined Prefix XSI found

In the KMZ/KML, there is a "XSI" prefix to an XML attribute that is throwing an error on import

The "XSI" prefix needs to be removed from the KMZ/KML.  

  1. If the file in question is a KMZ, it needs to be saved as KML format.  This can be done by opening the KMZ in Google Earth and then saving the place as a KML.  
  2. Right-click on the KML file and open with text editorlike WordPad, Notepad, or Sublime text 2
  3. Look for "xsi:schemaLocation" or anything with "xsi".  Delete the text and the link that follows (click the image below to see an example) below. 
  4. Save the file and then import the KML in SunDAT 

If you're using a GIS platform to generate these KMLs there may be a way to eliminate that attribute during your export process

Exception: Not enough edges - at least 3 required

In order for a KMZ/KML to be successfully imported into SketchUp, the Google Earth polygons need to have at least 3 sides so that faces can be created in SketchUp.  Polygons cannot themselves be lines or have lines attached to a polygon (see the image below).

  • Remove all poylgons that are single lines in Google Earth.  Then save as new KMZ/KML and import with SunDAT.
  • If single line polygons cannot be removed, either recreate the polygon(s) from a program like ArcGIS or import it into a program like Maps3D or Civil3D and then export it as a DWG file.  Then import the DWG file into SketchUp.  

To prevent this error, make sure to remove all 'lines from the KMZ/KML.
Exception: wrong argument type Geo::Point3d (expected Array)
SketchUp cannot create faces based on a single Google Earth polygon with multiple objects.  All objects have to be their own polygons.  A common example is if you have a site with a keepout area in the center, the site and the keepout area have to be two separate polygons.  In the example below, each object will have have to be its own polygon instead of just one.
  • If the KMZ/KML was created in a program like ArcGIS, it will need to be recreate again with everything a polygon including the site boundary, keepouts, buildable area, etc.  
  • The other alternative is to import it into a program like Maps3D or Civil3D and then export it as a DWG file.  Then import the DWG file into SketchUp.  

To prevent this error, make sure to all areas that will become faces, need to be their own polygon in Google Earth and should not be lumped into one Google Earth Polygon.


See also: