Marco, You mentioned that you cropped the original image. I guess you left the meta-data containing the projection info intact. See if you get the correct locations on the map with the original uncropped image. Better yet, check the original image using the '-projwin' option in gdal_translate.
On Thu, Jan 14, 2010 at 5:56 PM, Marco Afonso <[email protected]> wrote: > > Thanks for answering! > > Did not know that gdalinfo could give information about jpeg files. > I thought that only files with geo-reference information, like GeoTiff, could > give results. > > Here is: > > Driver: JPEG/JPEG JFIF > Files: worldmap_hires2.jpg > Size is 15000, 6225 > Coordinate System is `' > Origin = (-180.017964071749986,59.117964071850004) > Pixel Size = (0.035928143500000,-0.035928143700000) > Image Structure Metadata: > SOURCE_COLOR_SPACE=YCbCr > INTERLEAVE=PIXEL > COMPRESSION=JPEG > Corner Coordinates: > Upper Left (-180.0179641, 59.1179641) > Lower Left ( -180.018, -164.535) > Upper Right ( 358.904, 59.118) > Lower Right ( 358.904, -164.535) > Center ( 89.4431122, -52.7083832) > Band 1 Block=15000x1 Type=Byte, ColorInterp=Red > Image Structure Metadata: > COMPRESSION=JPEG > Band 2 Block=15000x1 Type=Byte, ColorInterp=Green > Image Structure Metadata: > COMPRESSION=JPEG > Band 3 Block=15000x1 Type=Byte, ColorInterp=Blue > Image Structure Metadata: > COMPRESSION=JPEG > > Ahh... I see the corners... > > What should i do to change the corners? I would like to obtain -180.0, -59.1, > 180, 90 (minx, miny, maxx, maxy). > > -- > Best regards, > Marco Afonso > ___________________________________ > The soul is much more than the sum of all body parts -- Best regards, Chaitanya kumar CH. /tʃaɪθənjə/ /kʊmɑr/ +91-9848167848 17.241582N 80.142635E _______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
