[GRASS-dev] [GRASS GIS] #120: New v.example proposal

#120: New v.example proposal
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@lists.osgeo.org
     Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: Docs | Version: svn-trunk
Keywords: example |
-------------------------+--------------------------------------------------
My C programming skills are poor and thus I found v.example not really
helpfull. I added some comments to v.example and db related code. I would
be happy, if some of GRASS C gurus could have a look at attached v.example
version and enhance it to provide best-practise example for new
developers.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/120&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#120: New v.example proposal
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Docs | Version: svn-trunk
Resolution: | Keywords: example
--------------------------+-------------------------------------------------
Comment (by neteler):

Hi Maris,

I have tried and the patch works. Please submit to SVN...

Markus

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/120#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#120: New v.example proposal
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.4.0
Component: Docs | Version: svn-trunk
Resolution: | Keywords: example
--------------------------+-------------------------------------------------
Comment (by marisn):

I *know* that this patch works, but as it's an example how GRASS modules
should be coded, it has to be work of art with all best-practises etc. I
would be happy, if some of GRASS C guru's could also take a look on
v.example after applying this patch.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/120#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#120: New v.example proposal
--------------------------+-------------------------------------------------
  Reporter: marisn | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: Docs | Version: svn-trunk
Resolution: fixed | Keywords: example
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * platform: => Unspecified
  * resolution: => fixed
  * cpu: => Unspecified

Comment:

Submitted to SVN for easier testing.

Markus

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/120#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>