<div dir="ltr">Thanks Anna,<div>yuor example gave me the hint: I didn't set the output parameter, which I thought could be obtained from the input dataset name.</div><div><br></div><div>giovanni<br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 15:28 GMT+01:00 Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Feb 18, 2015 at 7:07 AM, G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I forgot to say that I'm using grass 7 on a Ubuntu machine</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-18 13:06 GMT+01:00 G. Allegri <span dir="ltr"><<a href="mailto:giohappy@gmail.com" target="_blank">giohappy@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I'm using v.in.ogr with the location option. The new location is created correctly, and the projection is set to the one defined by my shapefile's .prj file, but no data is imported. The mapset is empty.<div><br></div><div>The command line reports the following message:</div><div><div>WARNING: All available OGR layers will be imported into vector map</div><div> <centroidi_province></div><div>Location <workLocation> created</div></div><div><br></div><div>The same command launched in a preexisting location (and without the location option) works fine and the data is correctly imported.</div></div></blockquote></div></div></div></div></blockquote><div><br></div></span><div>Hm, it is working for me in G70 and G71 (Ubuntu as well):</div><div>v.in.ogr input=/home/anna/grassdata/data/shoreline_oceanfront_1998/Shoreline_Oceanfront_1998.shp output=test location=testLoc</div><div><br></div><div><div>Location <testLoc> created</div><div>Check if OGR layer <Shoreline_Oceanfront_1998> contains polygons...</div><div> 100%</div><div>Importing 21 features (OGR layer <Shoreline_Oceanfront_1998>)...</div><div> 100%</div><div>-----------------------------------------------------</div><div>Building topology for vector map <test@PERMANENT>...</div><div>Registering primitives...</div><div>67 primitives registered</div><div>19183 vertices registered</div><div>Building areas...</div><div> 100%</div><div>0 areas built</div><div>0 isles built</div><div>Attaching islands...</div><div>Attaching centroids...</div><div> 100%</div><div>Number of nodes: 128</div><div>Number of primitives: 67</div><div>Number of points: 0</div><div>Number of lines: 67</div><div>Number of boundaries: 0</div><div>Number of centroids: 0</div><div>Number of areas: 0</div><div>Number of isles: 0</div></div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class=""><div><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>giovanni</div><span><font color="#888888"><div><div><br></div>-- <br><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</div></font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</div>
</div></div><br></span>_______________________________________________<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></div><br></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</div>