[GRASS-SVN] r51710 - grass-addons/grass6/vector/v.in.ovl

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 24 12:18:25 EDT 2012


Author: neteler
Date: 2012-05-24 09:18:23 -0700 (Thu, 24 May 2012)
New Revision: 51710

Added:
   grass-addons/grass6/vector/v.in.ovl/Makefile
   grass-addons/grass6/vector/v.in.ovl/description.html
Removed:
   grass-addons/grass6/vector/v.in.ovl/grass.smlogo.gif
   grass-addons/grass6/vector/v.in.ovl/index.html
Modified:
   grass-addons/grass6/vector/v.in.ovl/v.in.ovl.pl
Log:
prettified in collaboration with author

Added: grass-addons/grass6/vector/v.in.ovl/Makefile
===================================================================
--- grass-addons/grass6/vector/v.in.ovl/Makefile	                        (rev 0)
+++ grass-addons/grass6/vector/v.in.ovl/Makefile	2012-05-24 16:18:23 UTC (rev 51710)
@@ -0,0 +1,7 @@
+MODULE_TOPDIR = ../..
+
+PGM = v.in.ovl.pl
+
+include $(MODULE_TOPDIR)/include/Make/Script.make
+
+default: script


Property changes on: grass-addons/grass6/vector/v.in.ovl/Makefile
___________________________________________________________________
Added: svn:mime-type
   + text/x-makefile
Added: svn:eol-style
   + native

Copied: grass-addons/grass6/vector/v.in.ovl/description.html (from rev 51709, grass-addons/grass6/vector/v.in.ovl/index.html)
===================================================================
--- grass-addons/grass6/vector/v.in.ovl/description.html	                        (rev 0)
+++ grass-addons/grass6/vector/v.in.ovl/description.html	2012-05-24 16:18:23 UTC (rev 51710)
@@ -0,0 +1,38 @@
+<h2>DESCRIPTION</h2>
+
+<i>v.in.ovl</i> imports vector data from an ASCII OVL file
+into a (lat lon/EPS:4326) GRASS location. <br>
+If no parameters are provided, <i>v.in.ovl</i> will ask for the input file
+and the name of the vector layer to be created.
+<br>
+An OVL file can contain multiple vector geometries, such as polygons, lines
+and several varieties of point data with specific attributes (different
+icons, text, size, orientation).
+<br>
+All geometries of the OVL are imported into the GRASS vector layer. All OVL
+attributes (colors, size, orientation, text, etc.) are stored in the vectors
+database table.
+
+<h2>Notes</h2>
+
+This script will not work on binary OVL files. Make sure that ASCII OVL
+is exported.
+<br>
+OVL files can be created from german TOP[10|25|50|100] products, Austrian
+AUSTRIA MAP products and the Swiss SWISSMAP 100.
+<p>
+The script automatically converts the line-end characters from MS-Windows to
+UN*X-style. 
+
+<h2>Extended Mapping Opportunity</h2>
+
+It might be interesting to know that the SWISSMAP 100 CDROM includes a
+general map (low res) of central Europe which allows to create OVLs also for
+parts of France, Italy and other countries.
+
+<h2>AUTHOR</h2>
+
+<p>Peter L&uml;we, gisix.com
+
+<p><i>Last changed: $Date$</i>
+


Property changes on: grass-addons/grass6/vector/v.in.ovl/description.html
___________________________________________________________________
Added: svn:mime-type
   + text/html
Added: svn:keywords
   + Author Date Id
Added: svn:eol-style
   + native

Deleted: grass-addons/grass6/vector/v.in.ovl/grass.smlogo.gif
===================================================================
(Binary files differ)

Deleted: grass-addons/grass6/vector/v.in.ovl/index.html
===================================================================
--- grass-addons/grass6/vector/v.in.ovl/index.html	2012-05-24 14:14:36 UTC (rev 51709)
+++ grass-addons/grass6/vector/v.in.ovl/index.html	2012-05-24 16:18:23 UTC (rev 51710)
@@ -1,69 +0,0 @@
-<html><head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-<meta name="GENERATOR" content="Microsoft FrontPage Express 2.0">
-<title>v.in.ovl 101</title></head>
-
-<body bgcolor="#ffffff">
-
-<p><img src="./grass.smlogo.gif"> </p>
-
-<hr size="6" noshade="noshade">
-
-<h2>NAME</h2>
-
-<p><b><i>v.in.ovl</i></b> - A Perl-script to import ascii OVL-files into
-a GRASS location. <br>
-<i>(GRASS 6 Vector Program)</i> </p>
-
-<h2>SYNOPSIS</h2>
-
-<p><b>v.in.ovl</b> <br>
-<b>v.in.ovl  </b>input=OVL-File [output=GRASS-Vector] <br>
-
-<h2>DESCRIPTION</h2>
-
-<p><i>v.in.ovl</i> imports vector data from an ascii OVl file
-into a (lat lon/EPS:4326) GRASS location. <br>
-If no parameters are provided, <i>v.in.ovl</i> will ask for the input file
-and the name of the vector layer to be created. <br>
-An OVL file can contain multiple vector geometries, such as polygons, lines
-and several varieties of point data with specific attributes (different
-icons, text, size, orientation) <br>
-All geometries of the OVL are imported into the GRASS vector layer. All OVL
-attributes (colors, size, orientation, text, etc.) are stored in the vectors database table. </p>
-
-<h3>Parameters</h3>
-
-<dl><dt><b><i>input</i></b></dt><dd>Input ascii OVL file.
-</dd><dt><b><i>output</i></b></dt><dd>
-        Name of the new GRASS vector. <br>
-    </dd></dl>
-<h2>Notes</h2>
-<p>This script will not work on binary OVL files. Make sure that ASCII OVL
-is exported. <br>
-<p>OVL files can be created from german TOP[10|25|50|100] products, austrian
-AUSTRIA MAP products and the swiss SWISSMAP 100. </p>
-<br>
-<p>
-The script automatically converts the line-end characters from windows to
-un*x-style. 
-</p>
-
-<h2>Extended Mapping Opportunity</h2>
-
-<p>It might be interesting to know that the SWISSMAP 100 CDROM includes a
-general map (low res) of central europe which allows to create OVLs also for
-parts of France, Italy and other countries. <br>
-  </p>
-
-<h2>DOWNLOAD THE CODE</h2>
-
-<p><a
-href="http://grasslab.gisix.com/scripts/v.in.ovl/v.in.ovl.pl">v.in.ovl.pl</a> </p>
-
-<h2>AUTHOR</h2>
-
-<p>Peter Löwe </p>
-
-<p><i>Last changed: $Date: 2007/17/06 $</i> </p>
-</body></html>
\ No newline at end of file

Modified: grass-addons/grass6/vector/v.in.ovl/v.in.ovl.pl
===================================================================
--- grass-addons/grass6/vector/v.in.ovl/v.in.ovl.pl	2012-05-24 14:14:36 UTC (rev 51709)
+++ grass-addons/grass6/vector/v.in.ovl/v.in.ovl.pl	2012-05-24 16:18:23 UTC (rev 51710)
@@ -24,20 +24,20 @@
 # Perl
 
 #%Module
-#%  description: v.in.ovl Script to import ascii ovl-files generated by german TOP[25/50/200]-CDROMS
+#%  description: Imports ASCII OVL files generated by German TOP[25/50/200]-CDROMS
 #%End
 
 #%option
 #% key: input
 #% type: string
-# #% gisprompt: old,vector,vector
-#% description: vector input map
+#% gisprompt: old_file,file,input
+#% description: Name of input vector map
 #% required : yes
 #%end
 #%option
 #% key: output
 #% type: string
-#% description: optional name for output vector 
+#% description: Name for output vector map
 #% required : no
 #%end
 
@@ -451,13 +451,3 @@
 	}
 }
 
-#Erledigen:
-#Evtl schon beim Import anwählen, welche OVL-Primitve gezogen werden sollen ?
-#Also: Ikonen, Rechtecke, etc Angabe über Plaintext oder Nummern
-
-#Import in GRASS:
-#temporären Namen für das GML nehmen. ODer gleich im Speicher halten ?
-#von dort dann in die aktuelle Location reinziehen.
-
-##option: eine neu zu schaffende Location vorwählen
-


Property changes on: grass-addons/grass6/vector/v.in.ovl/v.in.ovl.pl
___________________________________________________________________
Added: svn:mime-type
   + text/x-perl
Added: svn:eol-style
   + native



More information about the grass-commit mailing list