GmlOptionsRestoreSchema Property |
Determines whether Aspose.GIS is allowed to parse attributes in a Gml file in which an XML schema is missing or cannot be loaded.
If set to , Aspose.GIS reader does not require the presence of an XML Schema.
Default is .
Namespace:
Aspose.Gis.Formats.Gml
Assembly:
Aspose.GIS (in Aspose.GIS.dll) Version: 20.3.0.0 (20.03)
Syntaxpublic bool RestoreSchema { get; set; }
Public Property RestoreSchema As Boolean
Get
Set
public:
property bool RestoreSchema {
bool get ();
void set (bool value);
}
member RestoreSchema : bool with get, set
Property Value
Type:
Boolean
Remarks
Driver attempts to automatically parse the feature classes and their associated properties
by scanning the file and looking for “known” objects to determine the organization.
While this approach is error prone, it has the advantage of working for GML files even
if the associated XML schema has been lost or cannot load from Internet.
See Also