Creating Digital maps from Scanned Images Manual

Creating Digital Scanned Maps Manual 1 Creating Digital maps from Scanned Images – Manual. Cropping Scanned Images Copy file from data source (usuall...
25 downloads 0 Views 111KB Size
Creating Digital Scanned Maps Manual 1

Creating Digital maps from Scanned Images – Manual. Cropping Scanned Images Copy file from data source (usually CD) to computer data drive. PC start menu: PROGRAMS > ADOBE PHOTOSHOP. “Create customised colour palette”: NO Open first scanned image from data drive. Zoom in to top left corner Click on lasso tool to select Right click on lasso tool and select polygonal lasso tool. Starting top left innermost border line corner left click at points around the whole edge of the map until return to start point. N.B. Please ensure all areas jutting out from regular map rectangle are incorporated. N.B. Any separate boxes depicting islands on the map sheet need to be cropped as a separate image, one cropped image per box. If it goes wrong start again! Top menu: EDIT > COPY Top menu: FILE > NEW (auto height / auto width OK) Top menu: EDIT > PASTE If any edges look particularly wonky at this point they can be straightened by using the rectangle tool. Click on rectangle tool to select. Click on map in one corner and drag out box to required size to straighten line. Top menu: EDIT > CUT Repeat as required. Top Menu: SELECT > ALL Top Menu: EDIT > COPY Top menu: FILE > NEW (auto height / auto width OK) Top menu: EDIT > PASTE Using new file: Top Menu: IMAGE > MODE > INDEXED COLOUR. “Flatten images”: OK OK (leave all defaults in place) This will reduce the colour to 256 bit so can be saved as ARCGIS file. Top Menu: IMAGE > IMAGE SIZE: Resolution 300 pixels/inch Top Menu: FILE > SAVE AS > (new file name).TIFF SAVE Image compression: NONE Byte order: IBM PC Repeat for all scans.

Creating Digital Scanned Maps Manual 2

Geo-registering Scanned Images PC start menu: PROGRAMS > ARCGIS > ARCMAP Select new project. Top Menu: FILE > ADD DATA Select correct data drive (connect to drive if not on the list) Select tileindices covering area interested in. It does not have to be maps of the same date, but they must be geo-registered. Use the tileindices to identify maps from that data which are geo-registered. Top Menu: FILE > ADD DATA Select geo-registered file identified as relevant area from tileindices. Select DO NOT BUILD PYRAMIDS: OK Top Menu: FILE > ADD DATA Select correct data drive (connect to drive if not on the list) Select file created in photoshop. Select DO NOT BUILD PYRAMIDS: OK Top Menu: VIEW > TOOLBARS > GEOREFERENCING Make sure new photoshop file is selected. Geo-referencing Menu: FIT TO DISPLAY Select from geo-referencing toolbar: ADD CONTROL POINTS Left click to select easily identifiable geographic point (e.g. spot height, road junction, church) near the edge of the map in the top left corner in new photoshop file. Once point identified in new photoshop file then select view of already registered map and select same point on that map. Repeat process four times for each corner of the map. Select from geo-referencing toolbar: VIEW LINK TABLE This will show margin of error for your control points on the new photoshop file. Biggest discrepancy should be no greater than 8.5 metres. If error margin too large delete control points by right click selecting in link table and using keyboard delete button. Then add a new control point. Once happy… Select from geo-referencing toolbar: VIEW LINK TABLE Click: SAVE > (new photoshop file name.txt) Geo-referencing Menu: RECTIFY Leave default settings Output raster: (final file name).TIF OK

Creating Digital Scanned Maps Manual 3 Repeat for all maps needing geo-registering. N.B. White spaces round the edges where maps overlap will be automatically resolved in Mapserver. If user puts geo-registered maps back into Photoshop, the map resolution will have been altered, this does not matter. If any files need extra cropping work doing to them, after geo-registering then… PC Start menu: PROGRAMS > ACCESSORIES > WORDPAD Open world file [file name].tfw Remove all line spaces that ARCGIS has added SAVE (as same file) Open GEOTIFF-EXAMINE Select filename All data will appear in the world file column on the right. Click the button to transfer the data to the GeoTiff file Click UPDATE REFERENCING IN TIFF FILE button Will confirm the file is now geo-registered. Click close Tiff file is again ready to be used in ARCMAP. Ensure all new files are in same directory as any old files to use all together when creating one new coverage. N.B. All [file name].rrd files and all [file name].aux files can be deleted as created by ARCGIS and not needed.

Create Shapefile PC Start Menu: RUN Then type… cmd G: cd maps\tileindices gdaltindex [name of tileindices to be created].shp ../directory structure to file/*.tif [e.g. gdaltindex lus_stamp.shp ../r_data/lus_stamp/*.tif] exit This will create new tileindices in the right directory with the right pathways to the data so will work on pc and on server. PC Start Menu: ACADEMIC APPLICATIONS > ENVIRONMENT > DEPARTMENT OF GEOGRAPHY > ARCVIEW GIS Select open with a new view. Select add data: Click on new command prompt shape file Click on old shape file Click OPEN THEME TABLE for new command prompt shape file Click OPEN THEME TABLE for old shape file

Creating Digital Scanned Maps Manual 4 Top Menu: TABLE > START EDITING Click on new command prompt shape file table LOCATION column Click on old shape file table LOCATION column Reselect new command prompt shape file table Click JOIN N.B. Should create another new shape file amalgamating the 2 tables with blank rows. Close attributes table SAVE attributes Top Menu: TABLE > SAVE EDITS Top Menu: THEME > CONVERT TO SHAPEFILE Give file new name and save Open new shape file Click OPEN THEME TABLE for new shape file Top Menu: TABLE > START EDITING Type in data to blank cells on table. Top Menu: TABLE > SAVE EDITS N.B. Ensure new shape file has saved properly.

Transfer Files to Edinburgh PC Start Menu: GENERAL APPLICATIONS > INTERNET > SSH SHELL (will get error messages on opening this, they do not matter, just click OK) Top Menu: WINDOW > NEW FILE TRANSFER Tope Menu: FILE > CONNECT Type in… Host: vision… User: gbhgis Password: [password] Select relevant directory on PC in left column Select relevant directory on remote server in right column e.g. public_docs/pn_714/html/phase 2/maps/r_data/lus_stamp Once there select zipped data files (rectified TIFFs and world files) from left column and drag across to the right. Transfer progress for each file will be in the area at the bottom of the page. When all data files moved change directories and transfer the new shape files as well. Top menu: FILE > DISCONNECT PC Start Menu: GENERAL APPLICATIONS > INTERNET > PUTTY (SSH Client)

Creating Digital Scanned Maps Manual 5 Type in… Host name: vision… User: gbhgis Password: [password] Go to correct directory.. e.g. public_docs/pn_714/html/phase 2/maps/r_data/lus_stamp Type… Unzip [file name].zip Files will automatically be unzipped. Repeat for all zipped files. Any problems with Edina server contact them! The End!!!