Autodesk 15606-011408-9330 User Guide - Page 96

Polygons/Polypolygons, Text, Creating a Spatial Data File

Page 96 highlights

Polygons/Polypolygons A polygon represents a filled area on a map, such as a country or a lake. A polypolygon is a map feature consisting of two or more polygons, for example, a house with a detached garage. Although the polygons forming the house and the garage are not connected, you may still want to treat them as a single map feature. You can achieve this by making them both part of the same polypolygon. Each vertex on a polygon or polypolygon is a coordinate pair, and all the coordinate pairs make up the polygon. Autodesk MapGuide treats polygons and polypolygons the same way-to use the polygons and polypolygons from a Spatial Data File in a map, you create a polygon layer. Text Also known as annotations in other applications, text features are blocks of text placed at specific coordinates on the map. Like points, each text feature has a single coordinate pair associated with it. Creating a Spatial Data File Typically, you use a GIS application to create your spatial data, then export it to an Autodesk MapGuide SDF. If the application you are using does not support the SDF format, you can use SDF Loader or the SDF Component Toolkit to convert the data to SDF format. Then, Autodesk MapGuide® Server reads the SDF data and sends it to Autodesk MapGuide® Author and Autodesk MapGuide® Viewer to be displayed. If you need to convert data to SDF format, you should be aware of the coordinate precision you will need (see "About Coordinate Precision" on page 119), and then choose the best conversion tool for your needs. When creating SDFs, you should use only one type of data in each SDF, if possible. For example, an SDF might contain only points, lines/polylines, polygons, or annotations (text) from your Autodesk Map® data. This optimizes performance in Autodesk MapGuide. Note When naming the SDF, make sure that the file name does not contain any of the following characters: double quote ("), asterisk (*), colon (:), slash (/), backslash (\), less than (), question mark (?), pound symbol (#), or vertical bar (|). 96 | Chapter 5 Working with Data in Autodesk MapGuide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

96
|
Chapter 5
Working with Data in Autodesk MapGuide
Polygons/Polypolygons
A polygon represents a filled area on a map, such as a country or a lake. A
polypolygon is a map feature consisting of two or more polygons, for
example, a house with a detached garage. Although the polygons forming
the house and the garage are not connected, you may still want to treat them
as a single map feature. You can achieve this by making them both part of
the same polypolygon. Each vertex on a polygon or polypolygon is a coordi-
nate pair, and all the coordinate pairs make up the polygon. Autodesk
MapGuide treats polygons and polypolygons the same way
to use the poly-
gons and polypolygons from a Spatial Data File in a map, you create a
polygon layer.
Text
Also known as annotations in other applications, text features are blocks of
text placed at specific coordinates on the map. Like points, each text feature
has a single coordinate pair associated with it.
Creating a Spatial Data File
Typically, you use a GIS application to create your spatial data, then export
it to an Autodesk MapGuide SDF. If the application you are using does not
support the SDF format, you can use SDF Loader or the SDF Component
Toolkit to convert the data to SDF format. Then, Autodesk MapGuide
®
Server
reads the SDF data and sends it to Autodesk MapGuide
®
Author and
Autodesk MapGuide
®
Viewer to be displayed.
If you need to convert data to SDF format, you should be aware of the coor-
dinate precision you will need (see
About Coordinate Precision
on
page 119), and then choose the best conversion tool for your needs.
When creating SDFs, you should use only one type of data in each SDF, if
possible. For example, an SDF might contain only points, lines/polylines,
polygons, or annotations (text) from your Autodesk Map
®
data. This opti-
mizes performance in Autodesk MapGuide.
Note
When naming the SDF, make sure that the file name does not contain any
of the following characters: double quote ("), asterisk (*), colon (:), slash (/), back-
slash (\), less than (<), greater than (>), question mark (?), pound symbol (#), or
vertical bar (|).