Dear friends,
  My data is a .shp file, which shows  two crossed rivers. When i read it
into R software, the results are multiple lines (see the bottom
information). I want to convert the coordinates to the fixed interval (
e.g.unit square), because the other data in the study have been converted.
  It's easy if there is only a line, but maybe a little difficult for
multiple lines.
  Any help/suggestions are greatly appreciated. I'd like to send you the
shape file if needed.
rivers<-readShapeLines("e:/qiupu.shp")
rivers
An object of class "SpatialLinesDataFrame"
Slot "data":
   FID_guichi OBJECTID   NAME
0           0     1097   낀쉭
1           0     1097   낀쉭
2           0     1097   낀쉭
3           4     1141 헬팻붉
4           1     1131 헬팻붉
5           1     1131 헬팻붉
6           1     1131 헬팻붉
7           3     1137   <NA>
8           3     1137   <NA>
9           2     1136   <NA>
10          1     1131 헬팻붉
11          2     1136   <NA>
12          0     1097   낀쉭
13          1     1131 헬팻붉
14          1     1131 헬팻붉
15          0     1097   낀쉭
16          1     1131 헬팻붉
17          0     1097   낀쉭
18          1     1131 헬팻붉
19          1     1131 헬팻붉
20          0     1097   낀쉭
21          0     1097   낀쉭
22          0     1097   낀쉭
23          0     1097   낀쉭
24          0     1097   낀쉭
25          0     1097   낀쉭
26          0     1097   낀쉭
 Thanks very much.
-- 
With Kind Regards,

oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::
:::::::::::::
[***********************************************************************]
Zhi Jie,Zhang ,PHD
Tel:86-21-54237149
Dept. of Epidemiology,School of Public Health,Fudan University
Address:No. 138 Yi Xue Yuan Road,Shanghai,China
Postcode:200032
Email:epistat@gmail.com
Website: www.statABC.com
[***********************************************************************]
oooO:::::::::
(..):::::::::
:\.(:::Oooo::
::\_)::(..)::
:::::::)./:::
::::::(_/::::
:::::::::::::

	[[alternative HTML version deleted]]

