< Day Day Up > |
Planning your map at the outset can save you tremendous amounts of time later. Evaluating what you want to do, what you have to work with, and what you need to collect will help you make realistic decisions about your project. 9.1.1. Choosing a General Scale and ExtentThe size and scale of the map you are making will affect various parts of your project. If you want a wall-size map covering your neighborhood, you will have very different requirements than someone planning a world map for a small book. You need to ensure that the data you create will work well with your intended map. Here are some questions to consider:
9.1.2. Identifying Data Requirements for Your Base MapWhen creating new or customized data it helps to have a base map to start with. You need data in the correct scale, covering the right area. You can then draw features on top of the base to create custom data. The data itself is the goal of this chapter, not a final map product. The base map gives you a reference to the real world. You may have an air photo you can scan or a topographic map image downloaded from the Internet. Your base data doesn't necessarily need to look good if you are just using it as a reference for creating data. For example, highway data can be the reference for roughly locating towns. Since all highways won't be visible at a country-wide map scale, they won't end up on your final map. When considering your base map requirements, keep in mind that global scale datasets are available but are often very coarse. There are a lot of detailed air photo and road line files available for the United States. You can probably even locate your house. Canada has a handful of satellite images available for most of the country but not to a scale you can use to locate a home. Other countries have varying levels of data available. Chapter 5 has a list of data sources that can help you find useful base map data. 9.1.3. What Are Your Sources?Once you've figured out your base map requirements, you need to find the appropriate data so, where do you go to get data? There are many options. 9.1.3.1 GPSGlobal positioning system receivers can be an excellent source for getting locations of interest on to a map. However, receivers don't always come with programs for getting data out of them in a digital form. If you can get your GPS data into a text file, or better yet a GIS shapefile, you can start using it pretty quickly in your maps. You can even read coordinates off the screen of a receiver and type them into a spreadsheet or text file. You'll find some ways to access data from a GPS receiver in the O'Reilly book Mapping Hacks.
9.1.3.2 Air photo interpretationAir photos can be an excellent source for both a base map or locating features of interest. Digital air photos are ideal for getting started quickly. If they aren't available don't despair; you might be able to just scan a printed air photo. A printed air photo can usually be obtained for a reasonable price from a local government map/photo sales office. Purchasing digital images (e.g., satellite imagery) is also possible but often at a premium price. A digital photo doesn't have to be sophisticated to be useful. You may find a photo or image of a scanned map on the Internet. If it provides a good frame of reference as a base, it can work. Your photo image will need to be geo-referenced. Geo-referencing is the process of taking an image or other map data and giving it coordinates. You might specify what the coordinates of the corners of the image are. When you use it as a base map, your new data will be positioned somewhere in the real world. Other geo-referenced data will then be displayed in the same position. More on this is discussed in the "Preprocessing Data Examples" section later in this chapter.
When creating new data using a photo base, you go through a process of digitizing a feature. Digitizing is the process of identifying features on the photo base by drawing points, lines, or polygons showing their location. Information is then assigned to those features to identify them later, such as a road name. 9.1.3.3 Derived productsSometimes your data is almost exactly what you need, but it requires some modifications. For example, you might have data for all the counties in your state, but only need data for three. You need to remove the unwanted parts. Utilities such as ogr2ogr and gdal_translate allow you to select portions of data and put it into new files, which make your work more efficient and reduces computing resources required for the task. See Chapter 4 for more on these utilities. Your information may also need further analysis. For example, you want to map features within a certain distance of a stream. If you already have the stream line data, you can create a buffer or area around them to show your area of interest. Two datasets might also be overlaid or intersected to create a new set of information. Deriving products from a more basic source is typical for custom mapping projects.
9.1.3.4 Local knowledgeSometimes the most satisfying map projects involve taking personal knowledge or experiences and putting them on a map. This is information that no one else may be able to map (or want to). You can represent this information in several ways, including drawing on a photo, listing a set of coordinates, referring to place names, postal codes, etc. For mapping street addresses, online street mapping applications such as MapQuest (http://mapquest.com) can serve as a useful point of orientation. MapQuest produces a map image showing you the location of a certain street address. There are limitations to using this in your own projects, but it is a great tool for getting your bearings or comparing one address to another. O'Reilly's Mapping Hacks also has some great examples that use these kinds of data. Ultimately, to map these locations you need some coordinates or a GIS data file. Compiling a list of coordinates can be as easy as putting them into a text file or spreadsheet. If you plan to use MapServer, you can also put coordinates right in the configuration map file. If you can do some programming, various tools are available that allow you to create GIS data files from other sources. For example, you could use MapServer MapScript and write a Python script to convert a text file into a shapefile. |
< Day Day Up > |