IDRISI to ArcView by leader6

VIEWS: 26 PAGES: 37

									IDRISI to ArcMAP and
         Back

      Moving data from
           IDRISI
             To
   ArcMAP/Spatial Analyst
                                     Overview
                             Export IDRISI Vector or Image files
   Idrisi file               to intermediate files


Output File Extensions               Intermediate
   Images  .asc
Vectors .shp & .shx                     files      Import intermediate
                                                     file into ArcMap


                                                         ArcGIS
                                                    GRID or Shape files
                                                                          2
    esf Laboratory for Applied GIS
                              Step 1:Export
• From the IDRISI file menu select Export


                                         Select this
                                        for vector to
                                            shape



                                                   Select this
                                                  for image to 3
  esf Laboratory for Applied GIS
                                                      Grid
  Select Output Format (Image)
• This window will come up when you click
  ARCRASTER
                                   ASCII Works


                                             IDRISI Image file




                                                Name of
                                            intermediate file 4
  esf Laboratory for Applied GIS
           Select output for Vector




This will sometimes balk – I don’t know why yet!
And sometimes IDRISI will include files that are NOT
vector files in the pick list???
                                                       5
 esf Laboratory for Applied GIS
           Step 2: Setting up ArcGIS
1.       Launch ArcMap (9.x only – won’t work
         in 8.x!)
2.       Select the Spatial Analyst Extension
     •       View Menu
     •       Toolbars
     •       Check Spatial Analyst
3.       If Spatial Analyst is not in the list you
         may have to load it by going to the
         Tools menu/Extensions/ and checking
         Spatial Analyst




                                                     6
     esf Laboratory for Applied GIS
                                Step 2: Import
1.     If the toolbox is not open click 


2.     Double click ASCII to Raster tool




                                                 7
     esf Laboratory for Applied GIS
           ASCII to Raster Dialog

                                 Click




                                         Click
                                                 8
esf Laboratory for Applied GIS
           ASCII to Raster Dialog


                                 Notice that path to the input raster file is
                                 duplicated in the output raster and that the
                                 file name itself is similar to that of the input.
                                 You can browse for a different output folder
                                 and name if you wish by browsing for the
                                 directory and editing the file name
                                 Click OK when done     .




                                                                                     9
esf Laboratory for Applied GIS
           ASCII to Raster Dialog



                     Notice that path to the input raster file is
                     duplicated in the output raster and that the
                     file name itself is similar to that of the input.
                     You can browse for a different output folder
                     and name if you wish. Click OK when done.

                                                                         10
esf Laboratory for Applied GIS
               And this window opens
• This window opens and the processing
  message scrolls by until the job is done. If the
  “Close this dialog …..” check box is checked
  the window
  will close when
  the job is done.
• If not, then you
  will have to
  click Close
• Green or red
  text is bad
  news

                                                     11
    esf Laboratory for Applied GIS
                                   Grid is added
• This is the result
• Note that the attribute
  values for
  asciito_water1 were
  carried over.
• BUT if there is a text legend
  for the layer the attribute
  values will not be carried
  over as is shown in the next
  slide


                                                   12
       esf Laboratory for Applied GIS
Import of Roads with text Legend
• This is the grid that
  opened when I
  exported the roads
  image that had text as
  legend values
• Note that all roads
  have the same attribute
  value

                                   13
  esf Laboratory for Applied GIS
•When this opened the Table
of Contents (left of the image)
legend had a color value for 0
and you could not see the
elevation image below it.
•I Right Clicked the color box
(patch) for zero (0),
background value, and
clicked “No Color” as shown
next.
•When, in IDIRSI, I copied
the roads file with out a
background and deleted all
legend entries (road names)
and exported that to ArcMAP
this was the result                      14
        esf Laboratory for Applied GIS
         Changing Pallet manually
• This dialog
  gives you a
  wide range of
  colors to chose
  from
• Including “No
  Color”



                                    15
  esf Laboratory for Applied GIS
      More advanced symbology
• Right click on the
  name of the grid (I’m
  doing it for the roads
  grid that has numeric
  attributes
• Select “Properties”




                                   16
  esf Laboratory for Applied GIS
                           Symbology Dialog
• Click on the Symbology Tab                 1
  and this opens (1)
                                                      3
• You can change the colors by
  clicking the color box (2)
• Or by selecting the color
  scheme and picking a palette
                                             5
• If you right click on the palette
  it and uncheck Graphic View            2       4
  you will get a text descriptor of
  the palette (3)
• You can type in text
  descriptors in the second
  column (4)
• You can delete patches not
  needed (remove button) (5)

                                                     17
        esf Laboratory for Applied GIS
                           Text Attributes

• Type in text
                                   




• And the legend in the
  Table of Contents (TOC)
  is updated
                        


                                             18
  esf Laboratory for Applied GIS
                       The Layout View
• You can switch back              1     2
  and forth between the
  data view (1) and the
  Layout view (2)
• In the layout view you
  actually make the map
• Here is the layout
  view

                                             19
  esf Laboratory for Applied GIS
                                 20
esf Laboratory for Applied GIS
• Drawing boxes
  – Select with drawing cursor
  – Double click the change colors and line widths
• Neatline that encloses the data can be
  removed as above and selecting a line color
  of none


                                                     21
  esf Laboratory for Applied GIS
       Insert objects into Layout




                                    22
esf Laboratory for Applied GIS
                               Insert Legend
• Click Insert/legend
• You will go through a
  series of Wizards to
  construct the legend
• First you select the layers
  you want legend info for
  in the Legend
• Here I want only water
  and roads


                                               23
   esf Laboratory for Applied GIS
                             Legend Frame
• The other Wizard that
  tricky is the one for
  borders, fill, and drop
  shadow
• GAP is very important
  since that specifies the
  distance between elements
  of the legend and the
  surrounding border
• 10 is a good choice

                                            24
   esf Laboratory for Applied GIS
                                    Edit Legend
• Legend produced by the legend
  wizard
• Select legend with drawing tool
• You need to ungroup the legend
  elements in order to edit them.
• This is the legend that ArcGIS
  constructed after I removed the
  zero items in the layer’s
  Symbology tab
• I have to
    – Provide a subtitle for Roads and
      Water
    – Have only 1 legend item for water


                                                  25
   esf Laboratory for Applied GIS
                                Editing setup
• Right click on the legend
• The menu to the right
  pops up
• Click “Convert to
  Graphics” (Grayed out
  here but it won’t be when
  you do it!
• Rt click on legend again
  and click Ungroup


                                                26
   esf Laboratory for Applied GIS
• Green handles appear on all the
  elements of the legend
• You have to be careful here
  because it is easy to mess up the
  legend
• I needed a bit more space
  (length) of the Legend box and
  fill
• Clicked elsewhere and then on
  the surrounding box
• Select the box and drag the
  bottom of the box down abut 2
  of the patches
• Do the same for the fill


                                      27
    esf Laboratory for Applied GIS
                                    More
• This is what the legend
  looked like after I
   – Deleted on of the water
     patches
   – Ungrouped (right click) the
     remaining water patch,
     selected the text, and
     dragged up
   – Selected all the road
     patches and their text and
     dragged them down so I had
     space for a Transportation
     lable

                                           28
   esf Laboratory for Applied GIS
• This is the legend after I
    – Centered the word Legend using the
      arrow keys (click to select)
    – From the graphics tool bar (bottom of
      layout window) selected the text tool
      and inserted “Transportation” Set the
      size to 14 by right clicking it and
      selecting “text” and then “Change
      symbol” to change the text size
    – Centered it using the arrow keys
    – Made the Water label the same size
• Select the entire legend by dragging a
  box around it with the graphics tool,
  right clicking, and clicking “Group”
• Now I can move it around at will
  without screwing it up.
• If you forget to group it and then try
  to move it you WILL screw it up,
  CTRL Z to the rescue if you do that         29
    esf Laboratory for Applied GIS
                                 30
esf Laboratory for Applied GIS
                     ESRI Grid to Idrisi
• In ArcMap it is easy to convert between
  Feature data sets and Grids
• In ArcMap Rasters are called Grids.
• The conversion is done with command lines
  – Window\Command Line menue
• Opens this…


                                           31
  esf Laboratory for Applied GIS
                          Command line

                                         This is what
                                         you type in




                                               This is what
                                                   get



                                                        32
esf Laboratory for Applied GIS
                Using Command Line
• RasterToFloat inputraster output.fil


 As soon as you                       If you have          This in the
type the first few                      rasters in     output file. You
  letters of the                    ArcMap as soon     have to give the
     desired                         as you space a       entire path.
 command a list                     popup of rasters   It has to have an
pops up with the                       will appear     extension of .fil
     choices

                                                                      33
   esf Laboratory for Applied GIS
                        Grid in ArcMap




                                         34
esf Laboratory for Applied GIS
                             And in Idrisi




                                 How about them apples!
                                                          35
esf Laboratory for Applied GIS
                                 In IDRISI




                                  Browse for your .flt file

                                                              36
esf Laboratory for Applied GIS
                      MOVING GRIDS
• NEVER IN EXPLORER!
• You can move any folder which contains an
  INFO file
• Or you can EXPORT the data from
  ArcView
• Or move it in ArcCatalog


                                          37
  esf Laboratory for Applied GIS

								
To top