Example #1
0
 static function CreateMarkupSchema($geomType = -1)
 {
     $markupSchema = new MgFeatureSchema();
     $markupSchema->SetName('MarkupSchema');
     if ($geomType == -1) {
         $geomType = MgFeatureGeometricType::Point | MgFeatureGeometricType::Curve | MgFeatureGeometricType::Surface;
     }
     $markupSchema->GetClasses()->Add(MarkupSchemaFactory::CreateMarkupClass($geomType));
     return $markupSchema;
 }