[GRASSLIST:991] Re: problem with import

Jachym Cepicky jachym.cepicky at centrum.cz
Wed May 3 03:18:24 EDT 2006


Hi,
I would say, you are trying to import ungeoreferenced image to lat-long
location. 

1) You have to create location in XY coordinate system
2) Import there our image
3) Georeferecing your image to your lat-long location

see http://gdf-hannover.de/media.php?lg=en - GRASS GIS 6.0 Tutorial.
Version 1.2, page 38

Jachym

On Tue, May 02, 2006 at 10:11:46PM +0100, Ana Soares wrote:
> Hei!
> 
> It says :
> 
> Driver: JPEG/JPEG JFIF
> Coordinate System is `'
> Corner Coordinates :
> Upper Left    (     0.0,    0.0 )
> Lower Left    (     0.0, 930.0 )
> Upper Right ( 1107.0,    0.0 )
> Lower Right ( 1107.0, 930.0 )
> Center         (   553.5, 465.0 )
> Band 1 Block=1107x1 Type=Byte, ColorInterp=Red
> Band 2 Block=1107x1 Type=Byte, ColorInterp=Green
> Band 3 Block=1107x1 Type=Byte, ColorInterp=Blue
> 
> Help please! :-)
> 
> 2006/5/2, Jachym Cepicky <jachym.cepicky at centrum.cz>:
> >
> >hallo,
> >how does your florida.jgw look like? What does
> >
> >    gdalinfo florida.jpg
> >
> >say?
> >
> >Jachym
> >
> >On Tue, May 02, 2006 at 04:54:03PM +0100, Ana Soares wrote:
> >> Hello!
> >>
> >> I've created a lat-long region like this :
> >> GRASS 6.0.1 (New_loc1):~/Desktop/eaps/Demonstracao/Prototype1 > 
> >g.region-p
> >> projection: 3 (Latitude-Longitude)
> >> zone:       0
> >> datum:      ** unknown (default: WGS84) **
> >> ellipsoid:  wgs84
> >> north:      90N
> >> south:      90S
> >> west:       180W
> >> east:       180E
> >> nsres:      1
> >> ewres:      1
> >> rows:       180
> >> cols:       360
> >>
> >> And I've tried to import an image (it is as attachment) and I get this
> >error
> >> :
> >> GRASS 6.0.1 (New_loc1):~/Desktop/eaps/Demonstracao/Prototype1 >
> >> r.in.gdalinput=/home/seabiscuit/Desktop/florida.jpg out=florida -o
> >> Over-riding projection check.
> >> Proceeding with import...
> >> WARNING: G_set_window(): Illegal latitude for South
> >>
> >> Can anywone help me ?
> >>
> >> Thanks!
> >
> >
> >
> >--
> >Jachym Cepicky
> >e-mail: jachym.cepicky at centrum.cz
> >URL: http://les-ejk.cz
> >GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
> >-----------------------------------------
> >OFFICE:
> >GDF-Hannover
> >Mengendamm 16d
> >30177 Hannover
> >Germany
> >e-mail: cepicky at gdf-hannover.de
> >URL:    http://gdf-hannover.de
> >Tel.:   +49 511-39088507
> >
> >
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.4.2.2 (GNU/Linux)
> >
> >iD8DBQFEV6N5yKt0uAjU4I8RAo6IAJ9qs5EhOUKPskxyrEYxNoJbTu3oDQCgnWvR
> >qiGamrgLL/ftUq/wDY0U6lk=
> >=HZCD
> >-----END PGP SIGNATURE-----
> >
> >
> >

-- 
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://les-ejk.cz/gnupg_public_key/jachym_cepicky-gpg_public_key.asc
-----------------------------------------   
OFFICE:                                     
GDF-Hannover
Mengendamm 16d
30177 Hannover
Germany
e-mail: cepicky at gdf-hannover.de
URL:    http://gdf-hannover.de
Tel.:   +49 511-39088507
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : http://lists.osgeo.org/pipermail/grass-user/attachments/20060503/40133b36/attachment.bin


More information about the grass-user mailing list