Enter your Logical Genetics login details here or Register Now!
![]()
| |||||||||||
LoginEnter your Logical Genetics login details here or Register Now! Recent Activity on the ForumsWiPi by ballista (Friday 20:11) WiPi by genious (Monday 15:03) WiPi by genious (Friday 05:58) Mono C# on the Raspberry Pi by genious (Monday 10:59) Google Maps API by genious (Monday 06:51) Interesting Linux Webcam Project by genious (Saturday 16:47) Mono C# on the Raspberry Pi by genious (Saturday 15:55) Mono C# on the Raspberry Pi by genious (Monday 06:58) Latest Photos
Mobile Photo...
Online ArticlesArtificial Intelligence:
Other Topics: Search |
Vector Data - vmap0The vmap0 dataset is provided in a very strange file format called "VPF". One of the first tasks is to convert it to a more sensible format which Mapserver will support. I'll cover the details of conversion in a couple of pages time. On this page I'll give a quick introduction to the data in the most general sense and some basic hints and tips for downloading and viewing it.Downloading vmap0The first step, obviously, is to download the files. I downloaded them from the US National Geospatial-Intelligence Agency who kindly make them available free of charge. Many other websites allow you to download them for a fee or buy a CD for an inflated price. The files are in tar/gzip compressed format but are still very large; four files are available: North America (246Mb), Europe and North Asia (240Mb), South America and Antarctica (168Mb) and South East Asia, Africa and Australasia (229Mb). These files uncompress to just under 2Gb. I have a reasonable broadband deal, but to save me waiting around I ran a simple bash script to download the files while I watched the TV #!/bin/bash BASE=http://geoengine.nima.mil/ftpdir/archive/vpf_data/ for F in v0noa.tar.gz v0eur.tar.gz v0soa.tar.gz v0sas.tar.gz; do wget $BASE$F done A Guided TourThe vmap0 data is split into four regions, as mentioned above: North America, Europe and North Asia, South America and Antarctica and SE Asia, Africa and Australasia. We will deal with how these four chunks of data can be combined to create one global dataset on a later page. Each dataset is divided into several directories which contain data like: Boundaries (bnd), elevation (elev), hydrography (hydro), population (pop), transport (trans) and vegitation (veg). These directories contain various files, each of which corresponds to a map layer. Here's a list of the layers I have used in this project - directory/filename first, followed by a description and data type (point, line or area):
Viewing the LayersThe quickest way to view the data is to use ESRI's ArcExplorer application, which can be downloaded here. ArcExplorer runs under Windows and Linux, but I describe the Windows version here. Install and run ArcExplorer, select Theme -> Add Theme from the main menu and browse into the vmap0 data directory. Browse into the appropriate directory, as shown in figure 1, and select a file.
The data file will then be displayed. Figure 2 shows the European political boundaries. Note that you can change colours and suchlike by right clicking the "theme" in the panel on the left hand side of the map view and altering the properties as you see fit.
You can add more and more layers this way, which can be useful for getting to grips with the layout of the vmap0 dataset. One word of warning, though, is that if you display many layers at the same time you may find the map draws very slowly. I was forced to copy the vmap0 data files from my file server to the C: drive of my Windows machine to get reasonable performance. The best way to get to grips with the data is to mess about with ArcExplorer until you know what data files you are interested in. After an introduction to raster datasets on the next page, I'll talk about installing Mapserver and give details of how the vmap0 data files can be converted to a file format that's supported by Mapserver.
|
||||||||||