[GRASS-user] Creating Points Map

Daniel Victoria daniel.victoria at gmail.com
Fri Nov 27 12:15:47 EST 2009


You forgot the <<EOF ??

Not a shell guru myself but I believe the <<EOF will tell the command
to recieve input from stdin until it reaches an EOF. Then it will
process everything. But you need to put the <<EOF after the command
and before you start typing the input.

I believe there is also a way for the cs2cs command to read input from a file...

Cheers
Daniel

On Fri, Nov 27, 2009 at 3:01 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Thu, 26 Nov 2009, Daniel Victoria wrote:
>
>> If it's just 3 points, why not reproject them first and them import into
>> Grass inside your final location?
>
> Daniel,
>
>  Good idea.
>
>> Take a look at the proj comand and the cs2cs. It will project your lat
>> long points. The cs2cs will allow for datun shifts
>
>  I'm not getting results because of a syntax error. Here's the script:
>
> cs2cs +proj=latlong +datum=NAD83 +to +proj=lcc +datum=NAD83 +ellps=GRS80
> +lat_1=43.0 +lat_2=45.5 +lat_0=41.75 +lon_0=-120.5 +x_0=1312336 +y_0=0
> +nadgrids=WO 122d30'32.43"   45d19'19.49"
> 122d30'17.92"   45d18'52.45"
> 122d29'34.08"   45d18'47.16"
> EOF
>
>  When I run the script nothing is returned; after a while I kill the
> process with ^C. What have I missed here?
>
> Thanks,
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>


More information about the grass-user mailing list