[GRASS-user] How we can Import data using XLS file rather csv and how we can build polygon by two or more line arc

Hello Grass User,

Any one can solve me the problem like-“How we can Import data using XLS file rather csv and how we can build polygon by two or more line-arc”.

Regards,

Swapan Ghosh

Hi,

2012/2/29 SWAPAN GHOSH <swap.ghsh@gmail.com>:

Any one can solve me the problem like-"How we can Import data using XLS file
rather csv"

try `v.in.ogr` with the most recent version of GDAL/OGR (ensure that
XLS driver is built [1]).

v.in.ogr -f
Available OGR Drivers:
...
XLS (ro): XLS
...

Martin

[1] http://gdal.org/ogr/drv_xls.html

--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa

On Wed, Feb 29, 2012 at 6:44 AM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Hello Grass User,

Any one can solve me the problem like-"How we can Import data using XLS file
rather csv and

(see Martin's answer)

how we can build polygon by two or more line-arc".

You need to convert the lines into "boundary" type with v.type
and then add a centroid with v.centroid. See also

http://grass.osgeo.org/wiki/Convert_vector_types

Markus

I am not satisfied with the answer with respect to the problem as " how we can build polygon by two or more line-arc ". The way said I am trying before that and I need more appropriate practical way not just concept.

Regards,

Swapan Ghosh

On Wed, Feb 29, 2012 at 4:56 PM, Markus Neteler <neteler@osgeo.org> wrote:

On Wed, Feb 29, 2012 at 6:44 AM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

Hello Grass User,

Any one can solve me the problem like-"How we can Import data using XLS file
rather csv and

(see Martin’s answer)

how we can build polygon by two or more line-arc".

You need to convert the lines into “boundary” type with v.type
and then add a centroid with v.centroid. See also

http://grass.osgeo.org/wiki/Convert_vector_types

Markus

On Thu, Mar 1, 2012 at 8:09 AM, SWAPAN GHOSH <swap.ghsh@gmail.com> wrote:

I am not satisfied with the answer with respect to the problem as " how we
can build polygon by two or more line-arc ".

Sorry about this.

The way said I am trying before
that and I need more appropriate practical way not just concept.

Then consider to be a bit more detailed with your question...

Markus