<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Markus</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the tips and explaination. It works now
after</FONT></DIV>
<DIV><FONT face=Arial size=2>I insert the -r option in the
v.transform.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Firuz</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On Fri, Feb 28, 2003 at 03:42:09PM +0800, Dr.
Mohamad Firuz Ramli wrote:<BR>> Dear list<BR>> <BR>> Thanks to
Sandro for helping me in my first problems<BR>> with dxf data.<BR>>
<BR>> I have another problems.<BR>> <BR>> I try to import unrectified
dxf layer. I manage to do it.<BR>> However when I did the transformation
using v. transform,<BR>> it shows the transformation process with the
residual value.<BR>> But when I tried to display the rectified dxf. It did
not show anything.<BR>> <BR>> I followed the procedure in Neteler and
Mitasova's book but I encounter<BR>> a problem such as above.<BR>>
<BR>> This is the procedure that I did.<BR>> <BR>> v.in.dxf -a
dxf=vmap.dxf prefix=vmap --to import dxf data into
ascii<BR>> <BR>> I want to import road layer inside vmap <BR>>
<BR>> v.in.ascii in=vmap.road out=vmap_roadxy<BR>> v.support
vmap_roadxy<BR>> g.region -p vect=vmap_roadxy<BR>> d.erase<BR>> d.vect
vmap_roadxy<BR>> <BR>> <BR>> I managed to display the vmap_roadxy layer
on the screen and identify four gcpoints<BR>> in x and y coordinates and its
location on the map for the real coordinates and<BR>> save in in ASCII table
point as roadgcp<BR><BR>Hi,<BR>Up to now the map name is "vmap_roadxy",
right?<BR><BR>> After that<BR>> <BR>> v.transform in=vmap_road
out=vmap_roadtrans point=roadgcp (as in Neteler and Mitasova
book)<BR>> <BR>> ERROR:Could not find input vector vmap_road<BR><BR>Yes,
because the name was wrong.<BR>v.transform reads binary vectors
only:<BR>" v.transform - Transforms an binary vector map layer from
one<BR> coordinate system into another coordinate
system."<BR><BR>i.e. the result of v.in.ascii.<BR><BR>> After that I change
the input to the one that I convert to binary file<BR>> <BR>> v.transform
in=vmap_roadxy out=vmap_roadtrans point=roadgcp <BR><BR>Looks
better...<BR> <BR>> The map is transformed with the residual
value<BR>> Transformation is complete<BR>> <BR>> v.support
vmap_roadtrans<BR><BR>Here it may help to use<BR>v.support -r
vmap_roadtrans<BR><BR>[should we make "-r" a default?]<BR><BR>> g.region -p
vect=vmap_roadtrans<BR><BR>Now hopefully shows the correct boundary
coordinates.<BR><BR>Markus Neteler<BR></DIV></FONT></BODY></HTML>