Hi,
I notice that try-ing exporting from Postgres using ogr2ogr.exe
It lost completely the primary key filed if that is a integer field.
Instead it don't lost the same primary key field if it is a varchar type.
Is a know bug this ?
I'm use the gdal 1.9.
I try exporting to a spatialite or to a
Hi,
I notice that try-ing exporting from Postgres using ogr2ogr.exe
It lost completely the primary key filed if that is a integer field.
Instead it don't lost the same primary key field if it is a varchar type.
Is a know bug this ?
I'm use the gdal 1.9.
I try exporting to a spatialite or to a
Anton,
you can get the extents of the modis swath file from the metadata.
you have to use the the geolocation arrays to create a grid from the
swath file. the further left and right from the center of the image the
more area the single pixel in the swath file covers. also modis is a
pushbroom sen
Martin,
This code below seems to work well:
...
checking if the band is a paletted one
...
else if (bandPalette)
{
// Paletted map
int pixelSpace=1*numBytesPerPixel;
int lineSpace=destWidth * pixelSpace;
unsigned char *rawImageData;
rawImageData = new unsigned char[destWidt
Dear Brian,
thank you very much for your reply!
The '-geoloc' switch does produce the error about points failing to
transform but the principal limitation is that I cannot use the '-te'
switch because I cannot know the extent in advance.
My task is to overlay one image (either projected like