Creating secure areas in an image service

By creating a secure area in an image service definition, you are either blocking out an area from the display or you are resampling the pixel resolution so the client cannot view the image at its best resolution. For either method, you can define the area by drawing a polygon, using tools on the Draw toolbar such as the Draw Polygon tool ポリゴン or Draw Rectangle tool 四角形.

Securing an area with a derived tile

This section walks you through defining a secure area in an image service definition that will be displayed at a poorer resolution.

手順:
  1. Open an image service definition in ArcMap (click the Add Data button データの追加).
  2. Ensure this image service definition has been built and has a valid boundary. If not, build the image service definition and check the Create Boundary option.
  3. Check the Preview layer on.
  4. Optionally, zoom to the area of the image that needs to be secured.
  5. Click the New Rectangle tool 四角形 on the Draw toolbar and draw a rectangle over the area that needs to be secured.
  6. On the Image Service Definition Editor toolbar, point to Advanced, point to Optimize, point to Derived Tiles, then click Add.

    You can also choose to add this as a service overview instead.

  7. Set the pixel size to be 5 or 10 times larger than the highest value selectable from the Pixel Size drop-down arrow.

    This value should be the best pixel resolution you want people to view in the secured area.

  8. Open the service table (click the Service Table button サービス テーブル).
  9. Click and highlight the last record.
  10. Right-click the MinPS field and click Field Calculator.
  11. Type 0 in the MinPS = text box and click OK.
  12. Right-click the DispOrder field and click Field Calculator.
  13. Type -1 in the DispOrder = text box and click OK.

    This sets the display order so this image will always be displayed on top.

  14. Build the image service definition with only Generate Derived Images checked.
  15. Zoom out to refresh the image service definition preview and use the Zoom In and Pan tools to examine the secured area.

Graying out a secure area

This section walks you though turning the secure area defined above into an area that appears completely grayed out in the viewer.

手順:
  1. Open an image service definition that has a secured area, as described in the first procedure.
  2. Click the Service Properties button イメージ サービス プロパティ on the Image Service Definition Editor toolbar.
  3. Click the Service Definition node.
  4. Click the Transparency drop-down arrow and click Unchanged.
  5. Click the Default Client Properties node.
  6. Click the Background Color box and choose a new color, such as gray.

    This is the color that will be displayed, rather than the raster data, to the client viewing the secured area.

  7. Click the Service Table button サービス テーブル on the Image Service Definition Editor toolbar.
  8. Click to highlight the row containing the secured image derived tile or service overview.

    If you used the steps above (in "Securing an area with a derived tile") to create one secure area, this will be the last row in the service table.

  9. Close the service table.
  10. Click the Raster Properties button ラスタ プロパティ on the Image Service Definition Editor toolbar.
  11. Click the General node.
  12. Check the Transparency check box.
  13. Click the Processes node.
  14. Add the Classify Pixel process to the Selected processes list.

    You do not need to edit the default properties set for this process.

  15. Close the Raster Properties dialog box.
  16. Zoom out to refresh the Preview, then pan or zoom to the secure area to preview the results.

関連項目


7/10/2012