I recently updated our GDAL source to version 1.7.3 from 1.7.1 and
suddenly we appear to have lots of black lines across any imagery read
using the GDAL (e.g. NITF files, WMS geotiffs). Wondering if it was a
1.7.3 issue, I switched to 1.7.2 which showed exactly the same problem.
Moving back to 1.7
We are reading NITF images which occupy the lower 12bits of a 16bit
datatype. These images clearly have ABPP=12 and NBPP=16 set in the
header. However, when I use GetMetadataItem("NBITS"), the string
returned is always 'null'. I have also tried GetMetadataItem("ABPP") -
which also returns 'null'
Does anyone have an example of adding a mask while creating a NITF file?
I can create NITF files OK but can't figure out from the "RFC 15: Band
Masks" documentation how to include a rectangular mask area. When I
call CreateMaskBand on the dataset, where does it go? Calling
GetMaskBand from any o
This email contained a .zip file attachment. Raytheon does not allow email
attachments that are considered likely to contain malicious code. For your
protection this attachment has been removed.
If this email is from an unknown source, please simply delete this email.
If this email was expected
.
> -Original Message-
> From: Peter J Halls [mailto:p.ha...@york.ac.uk]
> Sent: 28 January 2010 07:25
> To: Smart, Gary
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] Re-aligning maps from grid north to true north
>
> Gary,
>
> what do you mean by
> -Original Message-
> From: fwarmer...@gmail.com [mailto:fwarmer...@gmail.com] On Behalf Of
> Frank Warmerdam
> Sent: 28 January 2010 02:36
> To: Smart, Gary
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] Projection for OSGB36
>
> On Wed, Jan 27, 2
l-dev-boun...@lists.osgeo.org] On Behalf Of Smart, Gary
Sent: 27 January 2010 11:21
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] Projection for OSGB36
I have a series of OS map TIF files with associated tfw files. However,
the tif files contain no information about the projection. I understand
that these
We have tif maps which are OSGB grid aligned, but we need them aligned
to true-north. I presume this could be achieved by gdalwarp. Can
anyone give me a clue how to do this? Am I right in thinking that
simply setting the correct s_srs and t_srs would achieve everything I
need? If so - what part
I have a series of OS map TIF files with associated tfw files. However,
the tif files contain no information about the projection. I understand
that these files are using OSGB36 AIRY1830
Can anyone tell me the precise text specification I need to be able to
set up this projection.
An ex
OK - this has been sorted. A simple misused pointer.
Thanks to all contributors.
> -Original Message-
> From: Frank Warmerdam [mailto:warmer...@pobox.com]
> Sent: 19 January 2010 15:31
> To: Smart, Gary
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [g
I still can't get to the bottom of this message - can anyone explain
it...
ERROR 1: No PROJ.4 translation for source SRS, coordinate
transformation initialization has failed.
I'm trying to convert the native coordinates in a file into WGS84
lat/longs.
However, when I create the OGRCoord
Gary
From: gdal-dev-boun...@lists.osgeo.org
[mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Smart, Gary
Sent: 07 January 2010 18:25
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] geoTransforms and OGRSpatialTransforms
// First create a spatial reference in the input
1) Can anyone tell me why the following program returns a
GetProjectionRef as 'empty string' (not NULL) from some files and not
others (even though openEv seems to be able to open them and
georeference them all fine?) I am looking at geotiffs from the
MapServer tutorial directory.
2)
stuff also. I installed everything from the
FWTools package. I don't suppose anyone knows a reliable installation
source for GDAL on SUSE10?
From: Greg Coats [mailto:gregco...@mac.com]
Sent: 18 August 2009 17:36
To: Smart, Gary
Cc: gdal-dev@lists.osgeo.org
Su
:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Greg Coats
Sent: 18 August 2009 15:44
To: Smart, Gary
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Converting to J2K
$ gdal_translate --version
GDAL 1.6.2, released 2009/07/31
$ gdal_translate -of JPEG2000 18stj940125.tif 18stj940125.jp2
Can someone quickly tell me how to convert a ntf file into J2K format?
I am trying 'gdal_translate -of JPEG2000 thingy.ntf thingy.j2k' but
GDAL complains that it doesn't understand the format thingy.j2k
I think its getting the arguments confused. What am I doing wrong?
Gary
__
(&tmp);
// Create a spatial reference in WGS88 lat/long space and
// create a transform object betseen input and output space
OGRSpatialReference oref;
oref.SetWellKnownGeogCS("WGS84");
OGRCoordinateTransformation *coord_transform
= OGRCreateCoordinateTransfo
files I used, and the response they give, are included in the
attachment as comments.
Gary
From: Martin Chapman [mailto:chapm...@pixia.com]
Sent: 20 July 2009 22:46
To: Smart, Gary
Subject: RE: [gdal-dev] Converting raster pixel space to geospace
Gary,
GL or something)?
Gary
> -Original Message-
> From: Even Rouault [mailto:even.roua...@mines-paris.org]
> Sent: 20 July 2009 22:03
> To: gdal-dev@lists.osgeo.org
> Cc: Smart, Gary
> Subject: Re: [gdal-dev] How do I open vector files (e.g. shp) using GDAL
>
> Le M
I understand that GDAL can open vector formats as if they were a
dataset?
E.g. I read that it is possible to pass the GDALOpen either a single
.shp file (in which case it treats it as if it only had one layer) or a
directory containing multiple .shp files - which presumably it opens as
multi la
ata' directory under the FWTools
directory somewhere? There is no GDAL source in this directory - just include
files and libraries. I presumed this was all that was needed to use GDAL?
From: Martin Chapman [mailto:chapm...@pixia.com]
Sent: 20 July 2
R["central_meridian",-124.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]]]
...and I am looking to output WGS84 lat/longs.
> -Orig
MapServer!
From: Craig Miller [mailto:craig.mil...@spatialminds.com]
Sent: 15 July 2009 21:20
To: Smart, Gary
Subject: RE: [gdal-dev] MapServer interface
Would it work for you to setup MapServer as a WMS, then use the GDAL WMS
driver?
From: gda
> -Original Message-
> From: Even Rouault [mailto:even.roua...@mines-paris.org]
> Sent: 15 July 2009 21:14
> To: Smart, Gary
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] Converting raster pixel space to geospace
>
> Le Wednesday 15 July 2009 20:50:1
Still a newbee to this so forgive any daft questions.
In an answer to a previous question of mine, it was hinted (thank you
Even) that I could possibly MapServer to return tiles of rasterised
maps for display using my display application. From my initial studies,
MapServer seems to be aimed a
OK - having messed with GDAL for a couple of days now, I can display
imagery using the GDAL c++ classes to extract raster tiles.
However, I now need to be able to convert xPixel/Line couplets to
geo-positions (UTM, LL or whatever). I have scanned the classes and
have failed to come across a me
OK - I have been coding c++ raster image display systems on Linux for
years now and long ago developed our own raster map display system based
on CADRG/ASRP files. Our system effectively maps a huge raster image
space around the world and stitches together tiles from raster map files
as the use
27 matches
Mail list logo