<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<br>If your dxf is in a local coordinate system (like old topo drawings) with shifting parameters you can use v.transform or you can put it in place with a CAD software (align) and them import into GRASS.<br>If it already have an utm coordinate and you want to change the reference system (datum) create the coresponding location import, change location and them v.proj (should be no problem).<br><br>I work with a lot of CAD drawings and charts with GRASS and here is a very usefull advice:<br>The fundaments of areas, boundary and lines in CAD and GIS are different, before importing a drawing into a GIS try to make it clean and "GIS like", ex. make two areas share the same boundary. Also import only the objects of interest, do not import text, paper layout or hatches.<br><br>I'am sorry about my english.<br><br>Pablo Torres Carreira
<br><br><br><br>> Date: Wed, 18 Nov 2009 14:28:46 +0200<br>> Subject: Re: [GRASS-user] DXF to UTM32<br>> From: maris.gis@gmail.com<br>> To: raffaele.morelli@gmail.com<br>> CC: grass-user@lists.osgeo.org<br>> <br>> Hello,<br>> be care full with QGIS layer CRS definitions. By default QGIS will<br>> assign WGS84 as layers CRS if layer lacks CRS definition or definition<br>> is bogus. Use ogrinfo -ro -so MyFile to check files CRS. Still IIRC<br>> DXF doesn't contain CRS definition - You have to look into metadata<br>> provided with Your DXF file (if You have metadata) or do Your best<br>> guess based on DXF data location (i.e. DXF file from Latvia most<br>> likely will contain data in LKS-92/TM CRS).<br>> If You are interested in transforming DXF ?? to UTM, You can also try<br>> to use ogr2ogr and then import result into GRASS for<br>> analysis/processing. ogr2ogr provides -s_srs option where You can<br>> specify source CRS.<br>> <br>> Hope this helps,<br>> Maris.<br>> <br>> 2009/11/18, Raffaele Morelli <raffaele.morelli@gmail.com>:<br>> > 2009/11/11 Micha Silver <micha@arava.co.il><br>> ><br>> >> Raffaele Morelli wrote:<br>> >><br>> >> Hi you all,<br>> >><br>> >> how can I transform a dxf (imported with v.in.dxf) layer in utm32<br>> >> coordinates system? I am currently doing some trials with v.transform with<br>> >> no success.<br>> >><br>> >> Is the dxf in some coordinate system?<br>> >> If yes, then make a location based on that CRS, import the dxf into that<br>> >> location, then v.proj inot the UTM location.<br>> >> If not, then make an X-Y based location, import the dxf there, then again<br>> >> v.proj into your UTM location.<br>> >><br>> ><br>> > I have created an XY based location but whe using v.proj grass fails<br>> > complainig about PROJ file not found... so still stucked<br>> ><br>> > Opening the dxf (converted using dxf2shp plugin) in Qgis reports that is a<br>> > "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"<br>> ><br>> > regards<br>> > -raffaele<br>> ><br>> _______________________________________________<br>> grass-user mailing list<br>> grass-user@lists.osgeo.org<br>> http://lists.osgeo.org/mailman/listinfo/grass-user<br>                                            <br /><hr />Novo Windows 7. Você vai achar que nasceu sabendo! <a href='http://www.microsoft.com/brasil/windows7/default.html?WT.mc_id=1539' target='_new'>Clique e conheça.</a></body>
</html>