Re: [GRASS-user] output tables

2009-03-01 Thread Hamish

Matthew Mulbrandon wrote:
 I just want to output all my data in file tenn_county_all
 into a comma delimited file with all variables. 
 
 I have done 
 
 v.out.ascii format=standard
 
 it works but I only get x,y coord and the ID but I need all
 variables.
 
 -84.28851567|35.99395611|1
 -84.25999586|36.01053534|2
 -84.25146063|35.95974559|3
 -84.24508926|36.01258551|4
 -84.20325976|36.00941242|5

try v.out.ascii.db from wiki addons or v.out.ascii's new column= option
in GRASS 6.4.

also v.db.select or db.select might help.


Hamish



  

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] output tables

2009-02-28 Thread Matthew Mulbrandon


Hello,

I just want to output all my data in file tenn_county_all into a comma 
delimited file with all variables. 

I have done 

v.out.ascii format=standard

it works but I only get x,y coord and the ID but I need all variables.

-84.28851567|35.99395611|1
-84.25999586|36.01053534|2
-84.25146063|35.95974559|3
-84.24508926|36.01258551|4
-84.20325976|36.00941242|5

Thanks 

Matthew

From: mulb...@hotmail.com
To: grass-user@lists.osgeo.org
Subject: bounding box grid and polygon layer
Date: Wed, 28 Jan 2009 10:27:54 +









Hello,

I want to give census tracts categories values ( layer tenn_county_all) based 
on there centroids location in a grid layer that I have made 
(tenn_county_grid). The grid is nubered 1-42 and also as letters i.e. row A 
colunm G. 
 I was planning to do something like

if centroid of tract X in grid box 12 write out category 12 for that tract X.  

I don't want to do this by hand but I am not sure how or if I can query between 
two layers. 

I am not attached to any particular method just need something that will do the 
job. 

I looked up info on the web and found bounding box in v.edit so I think that is 
a way to go but have not seen anything on how to do this. 

Thanks,

Matthew

Windows Live™: E-mail. Chat. Share. Get more ways to connect.  See how it works.
_
Windows Live™ Hotmail®:…more than just e-mail. 
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_022009___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] output tables

2009-02-28 Thread Vincent Bain
Which db driver do you use ? which variables do you need to export
(elevation, length, etc.)?

Have a look at v.to.db.

Good luck,
Vincent


Le samedi 28 février 2009 à 09:26 +, Matthew Mulbrandon a écrit :
 
 Hello,
 
 I just want to output all my data in file tenn_county_all into a comma
 delimited file with all variables. 
 
 I have done 
 
 v.out.ascii format=standard
 
 it works but I only get x,y coord and the ID but I need all variables.
 
 -84.28851567|35.99395611|1
 -84.25999586|36.01053534|2
 -84.25146063|35.95974559|3
 -84.24508926|36.01258551|4
 -84.20325976|36.00941242|5
 
 Thanks 
 
 Matthew
 
 
 __
 From: mulb...@hotmail.com
 To: grass-user@lists.osgeo.org
 Subject: bounding box grid and polygon layer
 Date: Wed, 28 Jan 2009 10:27:54 +
 
 
 Hello,
 
 I want to give census tracts categories values ( layer
 tenn_county_all) based on there centroids location in a grid layer
 that I have made (tenn_county_grid). The grid is nubered 1-42 and also
 as letters i.e. row A colunm G. 
  I was planning to do something like
 
 if centroid of tract X in grid box 12 write out category 12 for that
 tract X.  
 
 I don't want to do this by hand but I am not sure how or if I can
 query between two layers. 
 
 I am not attached to any particular method just need something that
 will do the job. 
 
 I looked up info on the web and found bounding box in v.edit so I
 think that is a way to go but have not seen anything on how to do
 this. 
 
 Thanks,
 
 Matthew
 
 
 __
 Windows Live™: E-mail. Chat. Share. Get more ways to connect. See how
 it works.
 
 __
 Windows Live™ Hotmail®:…more than just e-mail. Check it out.
 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user