This tutorial uses Visio 2013 Professional on a Windows 7 machine.
Custom Visio Template for Geospatial Entity |
Start
Create blank drawingOpen Chen's Database Notation.
More Shapes > Software and Database > Chen's Database Notation
Select all the shapes (Entity, Relationship, Attribute, Relationship Connector) and
Right click and choose Add to My Shapes > Add to New Stencil
Save the Stencil with a filename you'll recognize. I used GeoStencil
Right click on the GeoStencil and choose Edit Stencil
//TODO [insert video]
Entity
Right click on Entity and select CopyPaste
Right click and Rename the Master to GeoEntity
Right click on GeoEntity and choose Edit Master > Edit Master Shape
Use the Line tool to draw the horizontal line and two vertical lines.
Click on the Text and resize the current text box.
Type in "Object (entity)" in the original label.
Add three new text boxes. Type in "Spatial Object", "G", and "T"
- Spatial Object is the Associated Spatial Object Type
- G represents the XY Coordinate Indicator
- T represents the Topology Indicator
Close the window. It will ask you to "Update GeoEntity?" Choose Yes.
//TODO [insert video]
Entity Temporal
Copy the GeoEntity shape and rename to GeoEntity Temporal
Edit the Master > Edit Master Shape
Highlight all shapes and select Group.
Copy and paste
Edit the new shape and remove the text.
Send to back
Copy and paste new empty shape and send to back.
Rearrange them.
Highlight all and select Group.
Close the window. It will ask you to "Update GeoEntity Temporal?" Choose Yes.
//TODO [insert video]
Topology
Right click on Relationship and select CopyPaste
Right click and Rename the Master to GeoTopology
Right click on GeoTopology and choose Edit Master > Edit Master Shape
Delete the current shape.
Use the Line tool to draw a hexagon.
Close the window. It will ask you to "Update GeoEntity?" Choose Yes.
//TODO [insert video]
Derived Topology
Right click on GeoToplogy and select CopyPaste
Right click and Rename the Master to GeoDerivedTopology
Right click on GeoDerivedTopology and choose Edit Master > Edit Master Shape
Select the shape, copy and paste.
Resize the new shape
Send to Back
Highlight both shapes and select Group > Group
Close the window. It will ask you to "Update GeoEntity?" Choose Yes.
//TODO [insert video]
If anyone has ideas on how to improve this or if there are other technologies that do something similar, please let me know.
References
1 Calkins, Hugh W., Entity Relationship Modeling of Spatial Data for Geographic Information Systems, International Journal of Geographical Information Systems, January 1996.Link
No comments:
Post a Comment