[GRASSLIST:6865] Lat long; illegal latitude

Hello,

this issue was already discussed a few weeks ago
(http://grass.itc.it/pipermail/grass5/2005-April/017946.html), however I do
not understand what the best work around is. Which file do I have to modify
or should it work with the most recent cvs version?

lat long location (EPSG 4326-- set up with GRASS 6 not 6.1):
Import of Lambert Azimuthal Equal-area img file (as well as UTM Wgs84 files)
failed

r.in.gdal input=/mnt/hdg1/ndvi_mask.img output=test -o -e
Over-riding projection check.
Proceeding with import...
WARNING: G_set_window(): Illegal latitude for North

Using GRASS 6.1 cvs minutes ago.

thanks in advance Martin

--
Martin Wegmann

DLR - German Aerospace Center
German Remote Sensing Data Center
@
Dept.of Geography
Remote Sensing and Biodiversity Unit
University of Wuerzburg
Am Hubland
97074 Würzburg

phone: +49-(0)931 - 888 4797
fax: +49-(0)931 - 888 4961
http://www.biota-africa.org
http://www.biogis.de

On Tue, May 24, 2005 at 12:05:52PM +0200, Martin Wegmann wrote:

Hello,

this issue was already discussed a few weeks ago
(http://grass.itc.it/pipermail/grass5/2005-April/017946.html), however I do
not understand what the best work around is. Which file do I have to modify
or should it work with the most recent cvs version?

Unfortunately the problem is still open (I ran into it recently again
with global MODIS data). The only way I found so far (without hacking
GRASS) was to make the map smaller with gdal_translate. Of course
not the preferred way...

lat long location (EPSG 4326-- set up with GRASS 6 not 6.1):
Import of Lambert Azimuthal Equal-area img file (as well as UTM Wgs84 files)
failed

r.in.gdal input=/mnt/hdg1/ndvi_mask.img output=test -o -e
Over-riding projection check.
Proceeding with import...
WARNING: G_set_window(): Illegal latitude for North

Using GRASS 6.1 cvs minutes ago.

Please post the coordinates section of

gdalinfo /mnt/hdg1/ndvi_mask.img

Markus

hi everybody,
Im trying to rectify some ortho-photos using the command i.ortho.photo, but i dont know where to find the coordinate to use with the photo.2image command. i dont have a camera reference file and i dont know where to find it. Any suggestion? is there a standard set of parameters i can try to use? The only parameter i know is the focus lenght (153.26mm) that can be readed directly from the photo. On the photo i can also read: "UAiG 6025 153.26", but i dont know what does it mean, (maybe the camere ID? where can i find parameters for this camera?).
Thanks for the help....
Luca p.

Email.it, the professional e-mail, gratis per te: http://www.email.it/f
  Sponsor:
Personalizza il tuo cellulare con un semplice sms, clicca qui
* Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3115&d=25-5

On Wednesday 25 May 2005 10:38, Markus Neteler wrote:

Unfortunately the problem is still open (I ran into it recently again
with global MODIS data). The only way I found so far (without hacking
GRASS) was to make the map smaller with gdal_translate. Of course
not the preferred way...

I made the map smaller, but the problem remains. How small does it have to be?

[...]

> r.in.gdal input=/mnt/hdg1/ndvi_mask.img output=test -o -e
> Over-riding projection check.
> Proceeding with import...
> WARNING: G_set_window(): Illegal latitude for North
>
> Using GRASS 6.1 cvs minutes ago.

Please post the coordinates section of

gdalinfo /mnt/hdg1/ndvi_mask.img

gdalinfo /mnt/hdg1/africa_mask.img
Driver: HFA/Erdas Imagine Images (.img)
Size is 3308, 2303
Coordinate System is:
PROJCS["Lambert Azimuthal Equal-area",
    GEOGCS["Sphere of Radius 6370997m",
        DATUM["Sphere of Radius 6370997m",
            SPHEROID["Sphere of Radius 6370997m",6370997,0],
            TOWGS84[0,0,0,0,0,0,0]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Lambert_Azimuthal_Equal_Area"],
    PARAMETER["latitude_of_center",0],
    PARAMETER["longitude_of_center",20],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0],
    UNIT["meters",1]]
Origin = (-3995068.181818,1875795.454545)
Pixel Size = (1000.00000000,-1000.00000000)
Corner Coordinates:
Upper Left (-3995068.182, 1875795.455) ( 17d44'19.50"W, 16d 2'0.95"N)
Lower Left (-3995068.182, -427204.545) ( 16d36'16.52"W, 3d38'54.28"S)
Upper Right ( -687068.182, 1875795.455) ( 13d36'30.94"E, 16d54'18.15"N)
Lower Right ( -687068.182, -427204.545) ( 13d48'27.40"E, 3d50'13.41"S)
Center (-2341068.182, 724295.455) ( 1d16'34.00"W, 6d24'19.75"N)
Band 1 Block=64x64 Type=Byte, ColorInterp=Palette
  Min=0.000 Max=1.000
  Overviews: 827x576, 414x288, 207x144, 104x72, 52x36
Metadata:
  STATISTICS_MINIMUM=0
  STATISTICS_MAXIMUM=1
  STATISTICS_MEAN=0.57226930752748
  STATISTICS_MEDIAN=1
  STATISTICS_MODE=1
  STATISTICS_STDDEV=0.49474961275331
  STATISTICS_HISTONUMBINS=2
  STATISTICS_HISTOMIN=0
  STATISTICS_HISTOMAX=1
  LAYER_TYPE=thematic
  STATISTICS_HISTOBINVALUES=3258591|4359733|
  Color Table (RGB with 2 entries)
    0: 255,255,255,255
    1: 210,210,210,0