[GRASSweb-list]markus: web/grass51/tutorial troubleshooting.html,NONE,1.1 examples.html,1.11,1.12

grass at intevation.de grass at intevation.de
Sat Feb 8 16:31:08 EST 2003

Author: markus

Update of /grassrepository/web/grass51/tutorial
In directory doto:/tmp/cvs-serv10189

Modified Files:
Added Files:
Log Message:
DB file updates, initial troubleshooting

--- NEW FILE: troubleshooting.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
   <DEFANGED_meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <DEFANGED_meta name="Author" content="Markus Neteler">
   <DEFANGED_link rel="stylesheet" type="text/css" href="../../sitestyle.css">
   <title>GRASS 5.1 Usage examples</title>

<!-- HEADER -->
<table width=100%><tr><td width=80>
<A HREF="index.html">
<DEFANGED_IMG src="../../images/grass.smlogo.gif" alt="HOME" border="0" align=middle></A>
GRASS 5.1 Troubleshooting
<!-- END OF HEADER -->

<a href="index.html">Tutorial HOME</a> |
<a href="demo.html">Demo LOCATION</a> |
<a href="geom_storage.html">Geometry management</a> |
<a href="attrib_storage.html">Attribute management</a> |
<a href="examples.html">Usage Examples</a> | <br>
<a href="troubleshooting.html">Troubleshooting</a> |
<a href="links.html">Links</a>

GRASS 5.1 is currently under development. It is neither complete (it still
contains only a few modules) nor it is intended to productional usage. 
Development releases are provided for people who want to help test, debug,
and improve GRASS 5.1. Knowing this, please read on.

<i><b>Disclaimer:</b> These examples described here may work or
        not. You are kindly invited to send us further examples and/or
        code bugfixes/enhancements.</i>

<a name="toc"></a>
<li><a href="#sqlnames">My SQL query is rejected (parse error)!</a>

<a name="sqlnames"></a>
<b>Q: My SQL query is rejected (parse error)!</b><br>

A: Check the table name. SQL does not support '.' (dots) in table names.<br>
Supported table name characters are:

<!-- FOOTER -->
<DIV ALIGN=right>&copy; 2002-2003 Markus Neteler<br>
<a href="mailto:weblist at grass.itc.it">Comments</a> about this page | <a href="../../faq/index.html">FAQ</a> | <a href="../../download.html">Download</a> | <a href="../../support.html">Support</a> | <a href="../../gdp/index.html">Docs</a>  | <a href="../../grassdevel.html">Programming</a> | Back <a href=index.html>5.1 Tutorial Home</a><br>
<i>Last change:
$Date: 2003/02/08 21:31:06 $


Index: examples.html
RCS file: /grassrepository/web/grass51/tutorial/examples.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- examples.html	29 Jan 2003 14:48:51 -0000	1.11
+++ examples.html	8 Feb 2003 21:31:06 -0000	1.12
@@ -57,6 +57,8 @@
 <li><a href="#postgismapserver">Example: Writing the GRASS 5.0 Spearfish
    'streams' map into PostGIS for MapServer</a>
+<li><a href="shortestpath">Example: shortest path vector networking with
+    d.path</a>
 <p><table width="100%" cellpadding="3" border="0">
@@ -79,7 +81,8 @@
 <li>g.copy g.gisenv g.list g.mapsets g.region g.remove g.rename
 <li>v.build v.build.polylines v.category v.clean v.convert v.db.connect
-     v.digit v.extract v.format v.in.ascii v.info v.in.sites v.out.ascii
+     v.digit v.extract v.format v.in.ascii v.in.ogr v.in.sites v.info 
+     v.out.ascii
      v.out.ogr v.patch v.shape.register v.shape.unregister v.surf.rst
@@ -593,6 +596,22 @@
 Should work... As the 'streams' map does not have exciting attributes, you
 may calculate the length of each vector, assign it to the attributes table
 and enjoy the map queries.
+<p><table width="100%" cellpadding="3" border="0">
+<tr><td align="left" bgcolor="#B0F0B0"><font color="#00000"><big><b>
+<a name="shortestpath"></a>
+Example: shortest path vector networking with d.path 
+<DIV ALIGN=right><a href="#toc">[UP]</a></DIV>
+The first module based on that library is d.path:
+http://mpa.itc.it/radim/g51/d.path.jpg which uses for costs either line
+lengths, or costs saved as attributes in database (supports costs for both
+arcs and nodes), for example (g51-test):
+<div class="code"><pre>
+d.path map=net nfield=2 ncol=cost afield=1 afcol=fcost abcol=bcost

More information about the grass-web mailing list