[GRASS-user] Fwd: ASC files - Contours lines on elevation map on GRASS 7.4/Ubuntu 16.04
Kevin Labre
kxmlab at gmail.com
Wed Feb 21 17:18:11 PST 2018
HI Daniel, Moritz,
Thanks a lot for your quick replies.
I did not set the region to the extent of my maps, because I didn't know
what values to use
Following Moritz's advice, I've attached a .txt file with the output
g-region -p, r-info on each of the raster files and v.info on the 4 contour
vector files.
Daniel I'll try the r.patch command as soon as I have a moment.
Have a good evening,
Kevin
On Wed, Feb 21, 2018 at 10:18 AM, Moritz Lennert <
mlennert at club.worldonline.be> wrote:
>
>
> Am 21. Februar 2018 11:31:15 MEZ schrieb Kevin Labre <kxmlab at gmail.com>:
> >Dear list,
> >
> >I'm quite new to GRASS and Ubuntu, it might be an easy question.
> >
> >I'm trying to display contour lines on a map of the piece of land I'm
> >buying.
> >
> >The data used is 4 .asc files with respective .prj files created under
> >ARCGis on Windows, projection RGFG95 UTM 22N. They're imported into
> >Grass
> >using the r.import command.
> >
> >I can load them and managed to display contour lines using r.contour on
> >one
> >or the other, but not the four tiles altogether:
> >
> >
> >
> >
> >Are there any steps I'm missing?
>
> Did you set your region to the extent of all 4 elevation maps ?
>
> For us to help you, we need some more info. Could you give us the output
> of:
>
> - g.region -p
> - r.info on each of the contour files
>
> ?
>
> Moritz
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180221/5ef09293/attachment-0001.html>
-------------- next part --------------
(Wed Feb 21 20:20:18 2018)
g.region -p
projection: 1 (UTM)
zone: 22
datum: towgs84=0,0,0,0,0,0,0
ellipsoid: grs80
north: 558194.5
south: 557694
west: 322072
east: 322572.5
nsres: 0.5
ewres: 0.5
rows: 1001
cols: 1001
cells: 1002001
(Wed Feb 21 20:29:49 2018)
r.info map=MNT_Kourou_50cm_000517 at K
+----------------------------------------------------------------------------+
| Map: MNT_Kourou_50cm_000517 at K Date: Mon Feb 19 20:33:39 2018 |
| Mapset: K Login of Creator: k |
| Location: Matiti |
| DataBase: /home/k/grassdata |
| Title: MNT_Kourou_50cm_000517 |
| Timestamp: none |
|----------------------------------------------------------------------------|
| |
| Type of Map: raster Number of Categories: 0 |
| Data Type: FCELL |
| Rows: 1001 |
| Columns: 1001 |
| Total Cells: 1002001 |
| Projection: UTM (zone 22) |
| N: 558194.5 S: 557694 Res: 0.5 |
| E: 322072.5 W: 321572 Res: 0.5 |
| Range of data: min = 3.04 max = 10.37 |
| |
| Data Description: |
| generated by r.in.gdal |
| |
| Comments: |
| r.in.gdal -k input="/home/k/Documents/MNT_Kourou_50cm_000517.asc" ou\ |
| tput="MNT_Kourou_50cm_000517" memory=300 offset=0 num_digits=0 |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 20:29:49 2018) Command finished (0 sec)
r.info MNT_Kourou_50cm_000518 at K
+----------------------------------------------------------------------------+
| Map: MNT_Kourou_50cm_000518 at K Date: Mon Feb 19 20:22:51 2018 |
| Mapset: K Login of Creator: k |
| Location: Matiti |
| DataBase: /home/k/grassdata |
| Title: MNT_Kourou_50cm_000518 |
| Timestamp: none |
|----------------------------------------------------------------------------|
| |
| Type of Map: raster Number of Categories: 0 |
| Data Type: FCELL |
| Rows: 1001 |
| Columns: 1001 |
| Total Cells: 1002001 |
| Projection: UTM (zone 22) |
| N: 558194.5 S: 557694 Res: 0.5 |
| E: 322572.5 W: 322072 Res: 0.5 |
| Range of data: min = -0.79 max = 7.72 |
| |
| Data Description: |
| generated by r.in.gdal |
| |
| Comments: |
| r.in.gdal -k input="/home/k/Documents/MNT_Kourou_50cm_000518.asc" ou\ |
| tput="MNT_Kourou_50cm_000518" memory=300 offset=0 num_digits=0 |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 20:34:33 2018) Command finished (0 sec)
(Wed Feb 21 21:04:34 2018)
r.info map=MNT_Kourou_50cm_000551 at K
+----------------------------------------------------------------------------+
| Map: MNT_Kourou_50cm_000551 at K Date: Mon Feb 19 20:28:54 2018 |
| Mapset: K Login of Creator: k |
| Location: Matiti |
| DataBase: /home/k/grassdata |
| Title: MNT_Kourou_50cm_000551 |
| Timestamp: none |
|----------------------------------------------------------------------------|
| |
| Type of Map: raster Number of Categories: 0 |
| Data Type: FCELL |
| Rows: 1001 |
| Columns: 1001 |
| Total Cells: 1002001 |
| Projection: UTM (zone 22) |
| N: 558694.5 S: 558194 Res: 0.5 |
| E: 322072.5 W: 321572 Res: 0.5 |
| Range of data: min = -0.94 max = 8.25 |
| |
| Data Description: |
| generated by r.in.gdal |
| |
| Comments: |
| r.in.gdal -k input="/home/k/Documents/MNT_Kourou_50cm_000551.asc" ou\ |
| tput="MNT_Kourou_50cm_000551" memory=300 offset=0 num_digits=0 |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 21:07:04 2018)
r.info map=MNT_Kourou_50cm_000552 at K
+----------------------------------------------------------------------------+
| Map: MNT_Kourou_50cm_000552 at K Date: Mon Feb 19 20:31:17 2018 |
| Mapset: K Login of Creator: k |
| Location: Matiti |
| DataBase: /home/k/grassdata |
| Title: MNT_Kourou_50cm_000552 |
| Timestamp: none |
|----------------------------------------------------------------------------|
| |
| Type of Map: raster Number of Categories: 0 |
| Data Type: FCELL |
| Rows: 1001 |
| Columns: 1001 |
| Total Cells: 1002001 |
| Projection: UTM (zone 22) |
| N: 558694.5 S: 558194 Res: 0.5 |
| E: 322572.5 W: 322072 Res: 0.5 |
| Range of data: min = -0.9 max = 7.37 |
| |
| Data Description: |
| generated by r.in.gdal |
| |
| Comments: |
| r.in.gdal -k input="/home/k/Documents/MNT_Kourou_50cm_000552.asc" ou\ |
| tput="MNT_Kourou_50cm_000552" memory=300 offset=0 num_digits=0 |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 22:03:50 2018)
v.info Contours517 at K
+----------------------------------------------------------------------------+
| Name: Contours517 |
| Mapset: K |
| Location: Matiti |
| Database: /home/k/grassdata |
| Title: |
| Map scale: 1:1 |
| Name of creator: k |
| Organization: |
| Source date: Mon Feb 19 20:35:33 2018 |
| Timestamp (first layer): none |
|----------------------------------------------------------------------------|
| Map format: native |
|----------------------------------------------------------------------------|
| Type of map: vector (level: 2) |
| |
| Number of points: 0 Number of centroids: 0 |
| Number of lines: 22 Number of boundaries: 0 |
| Number of areas: 0 Number of islands: 0 |
| Number of faces: 0 Number of kernels: 0 |
| Number of volumes: 0 Number of holes: 0 |
| |
| Map is 3D: Yes |
| Number of dblinks: 1 |
| |
| Projection: UTM (zone 22) |
| |
| N: 558185.33333466 S: 557724.75 |
| E: 322072.25 W: 322072.25 |
| B: 4 T: 7 |
| |
| Digitization threshold: 0 |
| Comment: |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 22:04:18 2018)
v.info Contours518 at K
+----------------------------------------------------------------------------+
| Name: Contours518 |
| Mapset: K |
| Location: Matiti |
| Database: /home/k/grassdata |
| Title: |
| Map scale: 1:1 |
| Name of creator: k |
| Organization: |
| Source date: Mon Feb 19 20:27:26 2018 |
| Timestamp (first layer): none |
|----------------------------------------------------------------------------|
| Map format: native |
|----------------------------------------------------------------------------|
| Type of map: vector (level: 2) |
| |
| Number of points: 0 Number of centroids: 0 |
| Number of lines: 621 Number of boundaries: 0 |
| Number of areas: 0 Number of islands: 0 |
| Number of faces: 0 Number of kernels: 0 |
| Number of volumes: 0 Number of holes: 0 |
| |
| Map is 3D: Yes |
| Number of dblinks: 1 |
| |
| Projection: UTM (zone 22) |
| |
| N: 558194.25 S: 557694.75 |
| E: 322572.25 W: 322072.75 |
| B: 1 T: 7 |
| |
| Digitization threshold: 0 |
| Comment: |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 22:05:02 2018)
v.info Contour551 at K
+----------------------------------------------------------------------------+
| Name: Contour551 |
| Mapset: K |
| Location: Matiti |
| Database: /home/k/grassdata |
| Title: |
| Map scale: 1:1 |
| Name of creator: k |
| Organization: |
| Source date: Mon Feb 19 20:29:54 2018 |
| Timestamp (first layer): none |
|----------------------------------------------------------------------------|
| Map format: native |
|----------------------------------------------------------------------------|
| Type of map: vector (level: 2) |
| |
| Number of points: 0 Number of centroids: 0 |
| Number of lines: 0 Number of boundaries: 0 |
| Number of areas: 0 Number of islands: 0 |
| Number of faces: 0 Number of kernels: 0 |
| Number of volumes: 0 Number of holes: 0 |
| |
| Map is 3D: Yes |
| Number of dblinks: 1 |
| |
| Projection: UTM (zone 22) |
| |
| N: 0 S: 0 |
| E: 0 W: 0 |
| B: 0 T: 0 |
| |
| Digitization threshold: 0 |
| Comment: |
| |
+----------------------------------------------------------------------------+
(Wed Feb 21 22:05:22 2018)
v.info Contour552 at K
+----------------------------------------------------------------------------+
| Name: Contour552 |
| Mapset: K |
| Location: Matiti |
| Database: /home/k/grassdata |
| Title: |
| Map scale: 1:1 |
| Name of creator: k |
| Organization: |
| Source date: Mon Feb 19 20:32:37 2018 |
| Timestamp (first layer): none |
|----------------------------------------------------------------------------|
| Map format: native |
|----------------------------------------------------------------------------|
| Type of map: vector (level: 2) |
| |
| Number of points: 0 Number of centroids: 0 |
| Number of lines: 0 Number of boundaries: 0 |
| Number of areas: 0 Number of islands: 0 |
| Number of faces: 0 Number of kernels: 0 |
| Number of volumes: 0 Number of holes: 0 |
| |
| Map is 3D: Yes |
| Number of dblinks: 1 |
| |
| Projection: UTM (zone 22) |
| |
| N: 0 S: 0 |
| E: 0 W: 0 |
| B: 0 T: 0 |
| |
| Digitization threshold: 0 |
| Comment: |
| |
+----------------------------------------------------------------------------+
More information about the grass-user
mailing list