Errata


Print Print Icon

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.


Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question



Version Location Description Submitted By Corrected
Printed Page 179
Example 11-2 listing;

Missing opening element between and elements

Anonymous 
Printed Page 180
Example 11-3 listing; Opening of element missing between and elements.

Anonymous 
Printed Page 194
first paragraph

Last sentence, first paragraph: There are two "add"s in a row, i.e.,

"Now you'll add add three options..."

Anonymous 
Printed Page 226
1st paragraph, Example 12-5

Running the WMS request against the WMS file of Example 12-5 as printed on Mapserver 5.4.1 -

request - "http://domain.com/cgi-bin/mapserv?map=/var/www/vhosts/domain.com/httpdocs/example_12_5_wms.map&request=GetCapabilities&service=WMS"

WEB
HEADER none # Line 5
TEMPLATE global.html
FOOTER none # Line 7
IMAGEPATH "/srv/www/htdocs/tmp/"
IMAGEURL "/tmp/"
METADATA
"wms_title" "My Global Map WMS Server"
"wms_srs" "EPSG:4326"
END
END

Will returns 'getString(): Symbol definition error. Parsing error near (none):(line 5)

Removing lines 5 & 7 allows Mapserver to return a complete WMS capabilities XML file

The 3rd paragraph states 'A full map file is listed at the end of the chapter in Example 12-14.'

Corresponding lines in the map file of Example 12-14 are:

WEB
TEMPLATE global.html
IMAGEPATH "/srv/www/htdocs/tmp/"
IMAGEURL "/tmp/"
METADATA
"wms_title" "My Global Map WMS Server"
"wms_srs" "EPSG:4326"
END
END

Note from the Author or Editor:
This errata applies to a newer (current) version of the software. A 2nd edition of the book would have to address this, or a major update, since it would affect anyone using the version of the software as described in the book.

Anonymous 
Printed Page 272
Last code example; This line: select buffer( simplify(wkb_geometry,0.01), 0.2)

as wkb_geometry Has the simplify and buffer distance and simplify tolerance mixed up.
It should read: select buffer( simplify(wkb_geometry,0.2), 0.01) as wkb_geometry

Anonymous 


"If you want to create and edit personal map data...convert map data from one format to another...[or] do anything with maps stored in digital format, this is the book to have."
--Major Keary, PC Update