Hi everyone. I'm sure this question has been asked numerous times, but I have not been able to find any help on it. Sorry if this is repetitive.
I am having a hard time installing Grass 5.0 for OS X v 10.2.3 using Apple's X11. I downloaded the precompiled binary and unzipped it and installed it. When I type grass5 I get a no file or directory can be found error. Once I have ran the install script what do I need to do next in order to get this working? Should I be using some other XWindows version besides Apple's X11?
The directions online say
"You will likely need to add X11R6/bin to your search path and set your DISPLAY variable if you are using the Terminal application."
How do I do that?
Any help would be much appreciated. Thanks for your time.
Hi everyone. I'm sure this question has been asked numerous times, but I have not been able to find any help on it. Sorry if this is repetitive.
Yes, indeed.
I am having a hard time installing Grass 5.0 for OS X v 10.2.3 using Apple's X11. I downloaded the precompiled binary and unzipped it and installed it. When I type grass5 I get a no file or directory can be found error. Once I have ran the install script what do I need to do next in order to get this working? Should I be using some other XWindows version besides Apple's X11?
The directions online say
"You will likely need to add X11R6/bin to your search path and set your DISPLAY variable if you are using the Terminal application."
How do I do that?
That's what you should do. In my case, I extracted it and moved the whole grass5 directory to /usr/local, and it finally recognised the init script.
Run X11
Rename the folder to "grass5" in your home.
I seem to be having a conceptual problem with Grass and images. I would like to bring a scanned image into Grass and to assign coordinates to the image and then probably save it as a geotiff or geojpg. I thought i.rectify would be the ticket but after trying to do so and reading the manual pages I now think that i.rectify is only for use with an already rectified image and actually seems to be used to transform an already rectified image rather than to assign coordinate for the first time. So how does one put coordinates on a scanned image the first time? Can this be done in Grass or do I have to go out and get a multi-hundred/thousand dollar program to assign coordinates to a scanned map that doesn’t have coordinates assigned yet?
On Fri, Mar 28, 2003 at 10:29:55PM -0800, John Doucette wrote:
I seem to be having a conceptual problem with Grass and images. I
would like to bring a scanned image into Grass and to assign
coordinates to the image and then probably save it as a geotiff or
geojpg. I thought i.rectify would be the ticket but after trying to
do so and reading the manual pages I now think that i.rectify is only
for use with an already rectified image and actually seems to be used
to transform an already rectified image rather than to assign
coordinate for the first time. So how does one put coordinates on a
scanned image the first time? Can this be done in Grass or do I have
to go out and get a multi-hundred/thousand dollar program to assign
coordinates to a scanned map that doesn't have coordinates assigned
yet?
i.rectify is exactly the tool. There's an old image processing tutorial
on the GRASS websites that is still mostly accurate regarding various
procedures. Actually locating the registration points is handled by
other tools (i.vpoints, etc...). Registration points are merely a cross
walk (Pixel(X,Y) maps to Coordinate(E,N)) and can be written in a text
editor!
Eric G. Miller writes:
> other tools (i.vpoints, etc...). Registration points are merely a cross
> walk (Pixel(X,Y) maps to Coordinate(E,N)) and can be written in a text
> editor!
Oh, really?? It would be a heck of a lot easier to create a gimp
plugin than use the grass tools. Take about thirty lines of python
code using pygimp.
--
-russ nelson angry-economist.russnelson.com | If war is the answer, the
Crynwr sells support for free software | PGPok | the question must be truly
521 Pleasant Valley Rd. | +1 315 268 1925 voice | horrific.
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX |
----- Original Message ----- From:Eric G. Miller To:GRASSLIST@baylor.edu Sent: Friday, March 28, 2003 10:53 PM Subject: [GRASSLIST:5906] Re: Scanned images - how to assign coordinates for the first time
On Fri, Mar 28, 2003 at 10:29:55PM -0800, John Doucette wrote:
I seem to be having a conceptual problem with Grass and images. I
would like to bring a scanned image into Grass and to assign
coordinates to the image and then probably save it as a geotiff or
geojpg. I thought i.rectify would be the ticket but after trying to
do so and reading the manual pages I now think that i.rectify is only
for use with an already rectified image and actually seems to be used
to transform an already rectified image rather than to assign
coordinate for the first time. So how does one put coordinates on a
scanned image the first time? Can this be done in Grass or do I have
to go out and get a multi-hundred/thousand dollar program to assign
coordinates to a scanned map that doesn’t have coordinates assigned
yet?
i.rectify is exactly the tool. There’s an old image processing tutorial
on the GRASS websites that is still mostly accurate regarding various
procedures. Actually locating the registration points is handled by
other tools (i.vpoints, etc…). Registration points are merely a cross
walk (Pixel(X,Y) maps to Coordinate(E,N)) and can be written in a text
editor!
----- Original Message ----- From:Russell Nelson To:GRASSLIST@baylor.edu Sent: Friday, March 28, 2003 10:55 PM Subject: [GRASSLIST:5907] Re: Scanned images - how to assign coordinates for the first time
Eric G. Miller writes:
other tools (i.vpoints, etc…). Registration points are merely a cross
walk (Pixel(X,Y) maps to Coordinate(E,N)) and can be written in a text
editor!
Oh, really?? It would be a heck of a lot easier to create a gimp
plugin than use the grass tools. Take about thirty lines of python
code using pygimp.
Would it? How? Got the code?
–
-russ nelson angry-economist.russnelson.com | If war is the answer, the
Crynwr sells support for free software | PGPok | the question must be truly
521 Pleasant Valley Rd. | +1 315 268 1925 voice | horrific.
Potsdam, NY 13676-3213 | +1 315 268 9201 FAX |
I would like to bring a scanned image into Grass and to assign
coordinates to the image and then probably save it as a geotiff or
geojpg. I thought i.rectify would be the ticket [...]
To register a TIFF:
eg map7624.tiff:
info from GIMP/Paint Shop Pro:
299x299 dpi
Orig Map Scale 1:60,000
256-colours
8412x12601 pixels
As per Intro to GRASS GIS, p27:
1cm = 600m
299 dpi = 299/2.54cm = 117.72 lines/cm
Per cm, the ratio is: 600m/117.72 = 5.097m/line
Cell resolution is therefore 5.097m^2, which is
pretty close to my orig 5m cell size!
(g.region res=5)
r.in.tiff Easier with support file.
(i.group) Make a new map group, add new raster to that group
i.target \
i.point \
i.rectify _\/_