Importing shapefile data into WMS 7.0
In version 6.1 of WMS, a shapefile is automatically
converted to feature objects when imported. In version 7.0, users first
import the shapefile data into WMS as GIS Objects, and then convert the
shapefile into Feature Objects. This sequence allows users to convert only
the portion of shapefile data that overlaps the watershed boundary to feature
objects.
If a user has a functional license for ArcGIS 8.x on the
same computer that is running WMS 7.0, then he or she can access many of the
ArcGIS functions via the WMS interface. To access the ArcGIS capabilities
in WMS 7.0, users select the Enable ArcObjects command.
Users that do not own an ArcGIS license can also
import a shapefile into WMS and select which polygons they want to convert to
feature objects.
Depending on whether ArcObjects are enabled or not,
the steps for importing shapefile data into WMS 7.0 and converting it to feature
objects are slightly different.
| To import a shapefile: |
To import a shapefile using
ArcObjects: |
- Change to the GIS Module
,
- Select Add Shapefile Data... from the Data menu,
- Find and open the shapefile,
- Click the Frame button
to ensure that all the items are
displayed in the graphics window,
|
- Change to the GIS Module
,
- Select Enable ArcObjects from the Data menu,
- Select Add Data... from the Data menu,
- If necessary, click the Connect to Folder button
and
select the desired folder,
- Locate and highlight the shapefile, then click the Add
button,
- Click the Frame button to ensure that all the items are
displayed in the graphics window.
|
When importing non-drainage shapefile data, you should
create a new coverage before converting the shapefile to feature objects. Examples of
non-drainage data include land use and soil type shapefiles. Examples of
drainage data are stream networks, outlets, and watershed basin polygons. To create
a new coverage before converting the shapefile data:
- Change to the Conceptual Design module
,
- Right click on the Map Coverages folder, located in the
data tree frame, and select New coverage,
- Rename the new coverage, if desired, and press the
Enter key when done typing,
- Right click on the new coverage and select
Properties...,
- Select the appropriate coverage type from the drop-down
list,
- Click the OK button,
|
|
 |
| To convert a shapefile to
feature objects: |
To convert a shapefile to
feature objects using ArcObjects: |
- Make sure the correct coverage is active in the
Conceptual Design Module, since the new feature objects will be added to the
active coverage,
- Switch to the GIS Module
,
- Select the Select shapes tool
,
- Draw a selection box around your watershed boundary,
- Select Shapes -> Feature Objects from
the Mapping menu,
- Click the Next button in the GIS to Feature Objects
Wizard,
- Choose a selection from the combo boxes to map
attributes to the features listed,
- Click the Next button,
- Click the Finish button.
|
- Make sure the correct coverage is active in the
Conceptual Design Module, since the new feature objects will be added to the
active coverage,
- Switch to the GIS Module
,
- Select the Select features tool
,
- Draw a selection box around your watershed boundary,
- Select ArcObjects -> Feature Objects from
the Mapping menu,
- Click the Next button in the GIS to Feature Objects
Wizard,
- Choose a selection from the combo boxes to map
attributes to the features listed,
- Click the Next button,
- Click the Finish button.
|

Figure 1.
When drawing the selection box, be sure to include the entire watershed.
[ Top
] [ All Tips ] [
GSDA Home ]