-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Dohun Kang edited this page May 31, 2019
·
16 revisions
InFactory_Extension includes 3 extension modules(Non-Navigable Space, Public Safety, Textured Surface) in InFactory. Please refer to InFactory_Wiki for the basic usage of InFactory_Extension. You need to know the JSON format to use the 3 extension modules supported by InFactory_Extension.
Non-Navigable Space represents the space occupied by obstacles.
{
"type" : "NonNavigableSpace",
"id" : "c1",
"parentId" : "psf1",
"docId" : "doc1",
"geometry" : {
// the data of the attribute 'NonNavigableSpaceGeometry' will be described at here
// the type of the geometry
"type" : "Solid|Surface",
"coordinates" : [] | "wkt",
// the data of the geometry need to be described in WKT String
"properties" : {
// the data of the attribute of 'NonNavigableSpaceGeometry' will be described at here
// the identifier of the geometry feature
"id" : "cg1"
}
},
"properties" : {
"name" : "NonNavigableSpace1",
"description" : "blah blah blah",
"class" : "1000",
"function" : "1000",
"usage" : "1000",
"obstacleType" : "1024",
"partialboundedBy" : [“cb1", “cb2","cb3"]
}
}
{
“type" : "PublicSafetyDoor",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'PublicSafetyDoorGeometry' will be described at here
// the type of the geometry
“type" : “Solid|Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'PublicSafetyDoorGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
"name" : “publicSafetyDoor1",
"description": “blah blah blah",
"duality":"T1"
},
"DoorHandling":"Right | Left",
"DoorSwing":"Inswing | Outswing",
"FireEscape":"True | False",
"LockType":"SimpleLock",
"Material":"Wood",
"SizeHeight":10,
"SizeWidth":10
}
{
“type" : "PublicSafetyWindow",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'PublicSafetyWindowGeometry' will be described at here
// the type of the geometry
“type" : “Solid | Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'PublicSafetyWindowGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
"name" : “PublicSafetyWindow1",
"description": “blah blah blah",
"duality":"T1"
},
"FireEscape":"True"|"False",
"LockType":"SimpleLock",
"Openable":"True"|"False",
"Material":"Glass",
"SizeHeight":10,
"SizeWidth":10,
"WindowHandling":"Right"|"Left"
}
{
“type" : "PublicSafetyHatch",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'PublicSafetyHatchGeometry' will be described at here
// the type of the geometry
“type" : “Solid|Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'PublicSafetyHatchGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
"name" : “PublicSafetyHatch1",
"description": “blah blah blah",
"duality":"T1"
},
"FireEscape":"True | False",
"HatchLocation":"Ceiling",
"LockType":"SimpleLock",
"Openable":"True | False",
"Material":"Glass",
"SizeHeight":10,
"SizeWidth":10,
"WindowHandling":"Right | Left"
}
{
“type" : "PublicSafetyRoom",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'cellspaceGeometry' will be described at here
// the type of the geometry
“type" : “Solid|Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'cellspaceGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
“name" : “PublicSafetyRoom1",
“description": “blah blah blah",
"class":"1000",
"function":"1000",
"usage":"1000",
"PSRoomType":"Medical"|"Security",
“partialboundedBy" : [“cb1", “cb2","cb3"]
}
}
{
“type" : "PublicSafetyElevator",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'PublicSafetyElevatorGeometry' will be described at here
// the type of the geometry
“type" : “Solid|Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'PublicSafetyElevatorGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
“name" : “cell1",
“description": “blah blah blah",
“partialboundedBy" : [“cb1", “cb2","cb3"]
}
}
{
“type" : "PublicSafetyStair",
“id" : “c1",
“parentId" : “psf1",
“docId" : “doc1",
“geometry" : {
// the data of the attribute 'PublicSafetyStairGeometry' will be described at here
// the type of the geometry
“type" : “Solid|Surface",
“coordinates" : [] | “wkt",
// the data of the geometry need to be described in WKT String
“properties" : {
// the data of the attribute of 'PublicSafetyStairGeometry' will be described at here
// the identifier of the geometry feature
“id" : “cg1"
}
},
“properties" : {
“name" : “PublicSafetyStair1",
“description": “blah blah blah",
“partialboundedBy" : [“cb1", “cb2","cb3"]
}
}
{
“type":"PublicSafetyIndoorInstallation",
“id" : “s1",
“parentId" : “n1",
“docId" : “doc1",
“geometry" : {
“type" : “Point",
“coordinates" : [],
“properties" : {
“id" : “sg1"
}
},
"properties" : {
“name" : “s1",
“description" : “PublicSafetyIndoorInstallation",
“duality" : “c1",
“connects" : [“t1"],
"PSLegend":"AlarmAndDetectors"
}
}
{
"id" : "textureimage1",
"parentId" : "d874e041-69a3-4112-b91b-9554478a3b9d",
"docId" : "db174b3c-e8de-49b4-aeb7-407e61d1fbe3",
"type" : "TextureSurface",
"geometry" : {
"type" : "Surface",
"coordinates" : []",
"properties" : {
"id" : "CBG-CORRIDORSIDE-DOOR1",
"type" : "wkt",
"extrude" : "false"
}
},
"properties" : {
"name":"textureimage1-DOOR1",
"description":"",
"duality":"T1"
},
"TextureCoordinate" : {
"type" : "Surface",
"coordinates" : []
},
"TextureImage":"textureimage1.png"
}