<div>Hello Achim... Not really. It didn't work</div><div>Let me start from the beggining:</div><div>1- My orioginal raster file has the following:</div><div><div>| Type of Map: raster Number of Categories: 11 |</div>
<div> | Data Type: CELL |</div><div> | Rows: 5381 |</div><div> | Columns: 4481 |</div>
<div> | Total Cells: 24112261 |</div><div> | Projection: UTM (zone -24) |</div><div> | N: 9659623.5017993 S: 8045266.26306668 Res: 300.01063719 |</div>
<div> | E: 1077874.87767815 W: -266394.50364563 Res: 299.993167 |</div><div> | Range of data: min = 1 max = 11 |</div></div><div>It's a landcover map</div>
<div><br></div><div>2- I convert to vectorusing the following expression</div><div>r.to.vect -v input=teste01_LULC@Regional output=teste05 feature=area </div><div>and it returns:</div><div><div><div><div>Extracting areas...</div>
<div>Building topology for vector map <teste05>...</div><div>Registering primiti 907000907256 primitives registered</div><div>3527832 vertices registered</div><div>Building areas...</div><div>321179 areas built</div>
<div>85875 isles built</div><div>Attaching islands...</div><div>Attaching centroids...</div><div>Number of nodes: 671952</div><div>Number of primitives: 907256</div><div>Number of points: 0</div><div>Number of lines: 0</div>
<div>Number of boundaries: 586103</div><div>Number of centroids: 321153</div><div>Number of areas: 321179</div><div>Number of isles: 85875</div><div>Number of areas without centroid: 26</div><div>r.to.vect complete.</div>
</div></div></div><div>My vector is:</div><div><div> |----------------------------------------------------------------------------|</div><div> | Type of Map: vector (level: 2) |</div>
<div> | |</div><div> | Number of points: 0 Number of areas: 321179 |</div><div> | Number of lines: 0 Number of islands: 85875 |</div>
<div> | Number of boundaries: 586103 Number of faces: 0 |</div><div> | Number of centroids: 321153 Number of kernels: 0 |</div><div> | |</div>
<div> | Map is 3D: No |</div><div> | Number of dblinks: 1 |</div><div> | |</div>
<div> | Projection: Universal Transverse Mercator (zone 0) |</div><div> | N: 9659623.5017993 S: 8045266.26306668 |</div><div> | E: 911978.65632755 W: -266394.50364563 |</div>
<div> | |</div><div> | Digitization threshold: 0 |</div><div> | Comments: |</div>
<div> | |</div><div> +----------------------------------------------------------------------------+</div></div><div>this is a vector composed by areas (as far as I wanted and I believe)</div>
<div>3- I reduced the region in order to export just a piece</div><div>4- I exported but, when I open it in QGIS I get an empty vector file</div><div>5- Then again: v.out.ogr -c input=teste05@Regional type=area dsn=c:\teste07.shp </div>
<div>Exporting 321179 areas (may take some time)...</div><div>And after 20 minutes it seems freezed</div><div><br></div><div>It this too much polygons?<br><br><div class="gmail_quote">On Fri, Nov 12, 2010 at 9:06 AM, Achim Kisseler <span dir="ltr"><<a href="mailto:ak7@jupiter.uni-freiburg.de">ak7@jupiter.uni-freiburg.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<br>
Am 12.11.2010 09:40, schrieb Luis Lisboa:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The problem is that, I left it this night processing and, when I returned it has freezed. So, v.out.ogr is not being able to export vector files produced by r.to.vect... As I said, maybe it's related with some option in r.to.vect that is messing this up. Or something related with tables.<br>
<br>
Can anyone give me some tips on this?<br>
</blockquote>
<br></div>
I guess it freezes because it uses so much memory.<br>
<br>
Please check if v.out.ogr works with a small vector map. E.g. shrink region before r.to.vect or choose only some features from the vector map to export.<br>
<br>
?<br>
<br>
Achim<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
Thanks<br>
<br>
Luis<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
...that´ll be a HUGE vector file!<br>
So it´s normal, that it takes some minutes.<br>
</blockquote>
<br>
<br>
On Thu, Nov 11, 2010 at 3:08 PM, Luis Lisboa <<a href="mailto:luislisboa1975@gmail.com" target="_blank">luislisboa1975@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:luislisboa1975@gmail.com" target="_blank">luislisboa1975@gmail.com</a>>> wrote:<br>
<br>
Greetings<br>
<br>
I have produced a vector map (with r.to.vector) with the following<br>
metadata:<br></div>
<a href="http://v.info" target="_blank">v.info</a> <<a href="http://v.info" target="_blank">http://v.info</a>> test01<div><div></div><div class="h5"><br>
+----------------------------------------------------------------------------+<br>
| Layer: teste01<br>
|<br>
| Mapset: Regional<br>
|<br>
| Location: Country<br>
|<br>
| Database: E:\v3<br>
|<br>
| Title:<br>
|<br>
| Map scale: 1:1<br>
|<br>
| Map format: native<br>
|<br>
| Name of creator: orbit<br>
|<br>
| Organization:<br>
|<br>
| Source date: Tue Nov 09 11:11:40 2010<br>
|<br>
|----------------------------------------------------------------------------|<br>
| Type of Map: vector (level: 2)<br>
|<br>
|<br>
|<br>
| Number of points: 0 Number of areas:<br>
213680 |<br>
| Number of lines: 0 Number of islands:<br>
73649 |<br>
| Number of boundaries: 348770 Number of faces:<br>
0 |<br>
| Number of centroids: 213666 Number of kernels:<br>
0 |<br>
|<br>
|<br>
| Map is 3D: No<br>
|<br>
| Number of dblinks: 1<br>
|<br>
|<br>
|<br>
| Projection: Universal Transverse Mercator (zone 0)<br>
|<br>
| N: 8832707.83027649 S: 7028073.62772369<br>
|<br>
| E: 1347458.42001915 W: 200792.5777576<br>
|<br>
|<br>
|<br>
| Digitization threshold: 0<br>
|<br>
| Comments:<br>
|<br>
|<br>
|<br>
+----------------------------------------------------------------------------+<br>
<br>
<br>
Now I'm trying to export it to SHAPEFILE but, after 10 minutes the<br>
processing bar is not even in 40%. What might be happening? I mean,<br>
is it some error with the vector or when I convert to vector (from<br>
raster)? Because, taking more than 10 minutes to export to vector<br>
it's not normal (I guess) and taking nearly 7 min to convert to<br>
vector also...<br>
<br>
Thanks for the reply<br>
Luis L<br>
<br>
<br>
<br>
<br></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote>
</blockquote></div><br></div>