Ok, I've RTFM and what documentation I can find, and I can't seem to get
the following to work (although I can do it from the GUI)

 

What I'd like to do is take one or more Vector files, zoom in to a
specific area, and generate an SVG file with only the data inside that
region.  Using the GUI, I can do it by checking the "Save displayed
objects to new vector file" option on the Map Layers dialog for the
vector, then using the new vector file as the source for v.out.svg.  I
would think that this would be the equivalent via command line:

 

d.mon select=x0

d.erase

g.region n=51:53N s=49:10N e=62:57W w=72:30W

d.vect map=county_area

v.in.region output=mass type=area --overwrite

v.out.svg input=mass output=massachusetts.svg type=poly precision=6
layer=1

 

(Never mind that it's really looking at Long Island ATM...)

 

What happens is that the "mass" vector file is empty, rather than having
the data from the specified region.

 

Also, is there any way to trim a vector file to a region without needing
to have a monitor up?

 

James M. Turner

Senior Software Engineer - Kronos Labs

Kronos, Inc.

 

2 Omni Way, Chelmsford, MA 01824

(w) 978-947-4108, (c) 603-552-2020, (f) 978-256-2477

[EMAIL PROTECTED]

 

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

Reply via email to