[GRASS-dev] [GRASS GIS] #394: v.mkgrid: lines not areas

#394: v.mkgrid: lines not areas
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@lists.osgeo.org
     Type: enhancement | Status: new
Priority: minor | Milestone: 6.4.0
Component: Vector | Version: unspecified
Keywords: v.mkgrid | Platform: Unspecified
      Cpu: Unspecified |
-------------------------+--------------------------------------------------
Hi,

Nice to see the new -p points mode for v.mkgrid to save the v.extract
centroids + v.type step.

It would also be nice to have a -l flag to create the grid as lines
to save the v.extract boundary + v.type step. These are nice to create in
a wgs84 lat/lon location and then v.proj into a projected location.
'd.grid -w' does this, but it's nice e.g. for a shapefile
you can use as an overlay in QGIS.

or get rid of the flags and have a type=area,points,lines option.

thanks,
Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/394&gt;
GRASS GIS <http://grass.osgeo.org>

#394: v.mkgrid: lines not areas
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.5.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.mkgrid
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by hamish):

  * platform: Unspecified => All
  * cpu: Unspecified => All
  * milestone: 6.4.0 => 6.5.0

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

#394: v.mkgrid: lines not areas
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@lists.osgeo.org
      Type: enhancement | Status: new
  Priority: minor | Milestone: 6.5.0
Component: Vector | Version: unspecified
Resolution: | Keywords: v.mkgrid
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Comment (by hamish):

Replying to [ticket:394 hamish]:
> It would also be nice to have a -l flag to create the grid as
> lines to save the v.extract boundary + v.type step.

(v.category step also needed)

also all segments of those grid lines should share a common cat, and that
cat be linked to attribute columns ??_str and ??_dbl with nicely formatted
& raw ordinate value.

[ G_format_easting(), G_format_northing() ]

Hamish

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

#394: v.mkgrid: lines not areas
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-releasebranch70
Keywords: v.mkgrid | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------
Changes (by neteler):

  * priority: minor => normal
  * version: unspecified => svn-releasebranch70
  * milestone: 6.5.0 => 7.0.0

Comment:

The option to generate lines instead of areas (new -l flag) would be
highly welcome.

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

#394: v.mkgrid: lines not areas
-------------------------+--------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
     Type: enhancement | Status: new
Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-releasebranch70
Keywords: v.mkgrid | Platform: All
      Cpu: All |
-------------------------+--------------------------------------------------

Comment(by lucadelu):

Replying to [comment:3 neteler]:
> The option to generate lines instead of areas (new -l flag) would be
highly welcome.

Please check and try r61519.

If it works should be backported?

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

#394: v.mkgrid: lines not areas
--------------------------+-------------------------------------------------
  Reporter: hamish | Owner: grass-dev@…
      Type: enhancement | Status: closed
  Priority: normal | Milestone: 7.0.0
Component: Vector | Version: svn-releasebranch70
Resolution: fixed | Keywords: v.mkgrid
  Platform: All | Cpu: All
--------------------------+-------------------------------------------------
Changes (by neteler):

  * status: new => closed
  * resolution: => fixed

Comment:

Replying to [comment:4 lucadelu]:
> Replying to [comment:3 neteler]:
> > The option to generate lines instead of areas (new -l flag) would be
highly welcome.
>
> Please check and try r61519.

Thanks, works fine. Backported in r61643, closing.

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