gengoogmaphtml - takes a formatted data file and generates a HTML file with Google Maps API place marks.
Author
Description
Documented Version
Examples
Exit Status
Files
Input
Input Generated By
Options
Permissions
Rcs Information
Rcs.sh Version
Synopsis
Warning(s)
1.3 - 2010/02/14 06:58:55
gengoogmaphtml [-f infile] [-w px] [-h px] [-x]* [-X]*
Script to take a data file with garage sale address information from
classified.van.net (or any properly formated data) and generate a HTML file
that will allow the loading of place marks using the Google Maps API.
Renamed from gengmtest2 to gengoogmaphtml 2009/11/29.
-f infile input file (default=$infile) -h px set map height to <px> pixels (default=$mapheight) -w px set map width to <px> pixels (default=$mapwidth) -x does set -x (may be used in functions and external script calls) (see DIAGNOSTICS below) -X sets debugging level--the number of times -X is specified" (see DIAGNOSTICS below)
/Library/Webserver/Documents/gengoogmaphtml.1 - Prefix HTML code including the Google Maps API JavaScript stuff.
/Library/Webserver/Documents/gengoogmaphtml.2 - Suffix HTML code.
a default inputfile file named gmtest2.in or one file specified with the -f flag
The input file is of the form:
{CITY= goggle_recognized_city_name, province, country
{goggle_recognized_address|any text description}+}+
hand
Inputfile:
CITY= Surrey, BC, CA
9612 152 Street|JHEFC
CITY= Tsawwassen, BC, CA
1220 Pacific Dr|Tsawwassen BIG moving sale Sat July 28th: 9am til gone
870 Bayview Drive|Tsawwassen KIDS STUFF ONLY- FRONT yard sale Mabels Labels
00012
$Id: gengoogmaphtml,v 1.3 2010/02/14 06:58:55 earneson Exp $
$Author: earneson $
$Date: 2010/02/14 06:58:55 $
$Revision: 1.3 $
$Source: /Users/cvs/scripts/all/Users/earneson/bin/gengoogmaphtml,v $
$State: Exp $
rwxr-xr-x userUID staff
If an address isnt known to Google Maps, without warning the marker will be placed where
it would appear if just the city were specified to Google Maps.
40 - The localize script could not be found. Global machine settings can not be set.
51 - An unknown option was passed to the script, or syntax of the parameters is wrong.
51 - Unknown option >$errflag<
56 - The USAGE was requested using -z or -?.
Edwin Arneson
\\$4 | gengoogmaphtml (1) | EJA UTILITY |