<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 10/21/2010 10:19 PM, Ricardo Rodríguez wrote:
<blockquote
cite="mid:AANLkTi=sUMPrB-4VxP=S8xjfT=Oj1PGzuaHe03EXgCfG@mail.gmail.com"
type="cite"><span id="result_box" class="" lang="en"><span title="">hello.<br>
</span><span style="" title="">how to make g.region and v.in.ogr use
the same projection that an incoming file. </span><span style=""
title="">since at run-d g.region v.in.ogr and maintaining the
coordinates but not the coordinate system, given the same coordinate
system of the lease, what should I do to keep your incoming file
coordinate system </span><span title="">.<br>
<br>
</span></span></blockquote>
<br>
Maybe to clear up some concepts. <br>
First your GRASS Location should be created from the start with the
*same* Coordinate system as the incoming files. GRASS checks that the
incoming file and the LOCATION CRS are the same.<br>
Second, g.region does not alter the projection or coordinate system.
(Only the *region*; that is the current X-Y bounds).<br>
Third, it's possible to have GRASS ignore the coordinate system of the
input file by using the -c option to v.in.ogr. But you should use this
option *only* if you know for sure that the LOCATION CRS and the
incoming file CRS are the same.<br>
Fourth, if the input file has a properly defined CRS, you can use
v.in.ogr to create a whole new LOCATION based on that CRS. See the
'location=' parameter.<br>
<br>
-- <br>
Micha <br>
<br>
<blockquote
cite="mid:AANLkTi=sUMPrB-4VxP=S8xjfT=Oj1PGzuaHe03EXgCfG@mail.gmail.com"
type="cite"><span id="result_box" class="" lang="en"><span title=""><br>
</span><span style="" title="">thanks for your help and attention<br>
<br clear="all">
</span></span>Ricardo Rodríguez<br>
Univalle<br>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
grass-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/grass-user">http://lists.osgeo.org/mailman/listinfo/grass-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
Arava Development Co. +972-52-3665918
<a class="moz-txt-link-freetext" href="http://surfaces.co.il">http://surfaces.co.il</a>
</pre>
</body>
</html>