Thank you both Sean and Even.
SWIG is too complicated for me, and I will find a work around.
Shawn
From: Even Rouault [even.roua...@spatialys.com]
Sent: November-27-17 2:10 PM
To: gdal-dev@lists.osgeo.org
Cc: Sean Gillies; Shawn Gong
Subject: Re: [gdal-dev
.com]
Sent: November-27-17 11:09 AM
To: Shawn Gong
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] pass gdal dataset as an argument from Python to C
Shawn,
PyObject and GDALDatasetH are incompatible types and you can't pass the former
to a function that expects the latter. I'm surp
Hi list,
Has anyone done this before?
I try to pass a gdal dataset as an argument from Python to C.
in my C code, I have
PyObject* py_my_func(PyObject *self, PyObject *args)
{
PyObject *poDataset;
if(!PyArg_ParseTuple(args, "Odd", &poDataset, &a1, &a2))
{
return NULL;
}
Hi list,
I am using mingw64 GCC to build gdal-2.2.2 and got the following error.
gdal-2.1.4. was built fine. and I couldn't find syntax difference in cpl_port.h
between gdal 2.2.2 and 2.1.4.
Thanks,
Shawn
building 'osgeo._gdal_array' extension
C:\msys64\mingw64\bin/x86_64-w64-mingw32-gcc.ex
Hi list,
I have seen some simulated datasets for RADARSAT Constellation Mission (RCM).
It is smilar to RSAT-2: GeoTiff + product.xml for metadata
But the file structure is different.
Is there a plan to develop a RCM driver, and if so, what is the timeline?
Thanks,
Shawn Gong
Hi list,
I have seen some simulated datasets for RADARSAT Constellation Mission (RCM).
It is smilar to RSAT-2: GTiff + product.xml for metadata
But the file structure is different.
Is there a plan to develop a RCM driver, and if so, what is the timeline?
Thanks,
Shawn Gong
Thank you Even.
Shawn
From: Even Rouault [even.roua...@spatialys.com]
Sent: July-15-16 12:02 PM
To: gdal-dev@lists.osgeo.org
Cc: Shawn Gong
Subject: Re: [gdal-dev] SPOT-7 and Worldview 3
Le vendredi 15 juillet 2016 17:29:19, Shawn Gong a écrit :
>
Hi all,
I have downloaded and built gdal 2.1.1
Ran some tests on SPOT-7 and Worldview 3
SPOT-7 tiled dimap: the DIM_SPOT7_*.xml file was loaded fine. But the
georeferencing was wrong. The xml seems to indicate ITRF2005 (epsg 4896) but
it has no projection information in gdal. The individ
Hi Even,
I tried to compile 2.1.0 RC1 and got this link error:
link /nologo /dll /INCLUDE:_OSRValidate /INCLUDE:_OPTGetProjectionMethods
/INCLUDE:_OGR_G_GetPointCount /INCLUDE:_OGRRegisterAll
/INCLUDE:_GDALSimpleImageWarp@36 /INCLUDE:_GDALReprojectImage@48
/INCLUDE:_GDALComputeMedianCutP
Hi list,
I am looking for ways to access/extract COSMO-Skymed rational polynomial
coefficients (RPCs). The objective is to georeference a small chip within CSK.
ds=gdal.Open("CSKS1_SCS_B_S2_24_HH_RA_FF_20150813071015_20150813071023.h5")
ds.GetMetadata().keys() = ['S01_Reference_Dechirping_Tim
Hello Even,
To where can I submit the code?
Thanks,
Shawn
From: Even Rouault [even.roua...@spatialys.com]
Sent: March-26-15 12:52 PM
To: gdal-dev@lists.osgeo.org
Cc: Shawn Gong
Subject: Re: [gdal-dev] NITF2.1 complex data type
Shawn,
>
>
> W
Hi list,
We receive SAR SLC (single look complex) images in NITF2.1. But the I and O
bands are separate (HH_I, HH_Q, VV_I, VV_Q, etc)
My colleague modified the gdal NITF driver nitfdataset.cpp to rewrite them as
NITFComplexRasterBand (see below)
It works with a single-pol SLC and outputs as I
Hi,
Will there be a Sentenel-1 gdal driver soon?
I heard that it contains a GTiff and XML.
thanks,
Shawn
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Hi list,
I have a RSAT-2 image and a shoreline vector (consists of 2 polygons). I
want to generate a mask with the same # of lines and pixels as the RSAT-2
image, and make inside polygons as 0, outside as 1.
The example that I could find is UTM based, which I tried and sort of
worked. But the mas
Thank you, Even.
Good to know that.
Shawn
From: Even Rouault [even.roua...@mines-paris.org]
Sent: April 20, 2012 5:36 PM
To: gdal-dev@lists.osgeo.org
Cc: Shawn Gong; Frank Warmerdam
Subject: Re: [gdal-dev] gdal_translate alters NITF's metadata
Le ven
m
[warmer...@pobox.com]
Sent: April 20, 2012 12:35 PM
To: Shawn Gong
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] gdal_translate alters NITF's metadata
Shawn,
I see the values you get for NITF_ISORCE and NITF_IDATIM
are the default ones in the NITF Create code. Looking through
the
Hi list,
I use gdal 1.9.0
I have a NITF image that has 12 bands. The first 8 are I and Q of a quad-pol
complex.
I ran "gdal_translate -of NITF -b 9 -b 12 -b 10 -b 11 pp1.NTF test" to get rid
of them and keep the last 4 magnitude bands.
However the NITF tags are altered, e.g. the NITF_ISORCE a
Thank you, Frank.
I'll go with GDAL 1.9.0
Shawn
From: fwarmer...@gmail.com [fwarmer...@gmail.com] On Behalf Of Frank Warmerdam
[warmer...@pobox.com]
Sent: March 1, 2012 5:26 PM
To: Shawn Gong
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] GDAL
Hi list,
I am using GDAL1.8.1 and gdal.Open() failed on some PCIDSK linked files
The error message is “ERROR 4: `LNK=1024File requires a newer PCIDSK file
reader to read' does not exist in the file system, and is not recognised as a
supported dataset name."
I have seen the ticket on http://trac
header UL,LL,UR,LR
On 11-02-24 04:16 PM, Shawn Gong wrote:
> Hi list,
>
> I have a flat binary image "HH.img" and a HH.aux header
>
> The header file looks like:
> AuxiliaryTarget: HH.img
> RawDefinition: 1492 1680 1
> ChanDefinition-1: 32R 0 4 5968 Unswapped
> C
Hi list,
I have a flat binary image "HH.img" and a HH.aux header
The header file looks like:
AuxiliaryTarget: HH.img
RawDefinition: 1492 1680 1
ChanDefinition-1: 32R 0 4 5968 Unswapped
ChanDesc-1: HH intensity
SegDesc-1-0: Contents Not Specified
MapUnits: LONG/LATD-04
UpLeftX: -5.601451
UpLef
Hi list,
I have a flat binary image "HH.img" and a HH.aux header
The header file looks like:
AuxiliaryTarget: HH.img
RawDefinition: 1492 1680 1
ChanDefinition-1: 32R 0 4 5968 Unswapped
ChanDesc-1: HH intensity
SegDesc-1-0: Contents Not Specified
MapUnits: LONG/LATD-04
UpLeftX: -5.601451
UpLef
Hi list,
How do you set Gdal nodata in Complex? Would someone give me an example?
Thanks,
Shawn
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Thanks Chaitanya
Shawn
From: Chaitanya kumar CH [chaitanya...@gmail.com]
Sent: Tuesday, July 13, 2010 3:28 PM
To: Shawn GONG
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] WMS and TMS
Shawn,
If you have libcurl, wms is automatically included.
On
Hi List,
A quick question: If I want to include WMS (Web Map Services), do I add
"--with-wms" in configure?
What about TMS, add "--with-tms" ?
Thanks,
Shawn
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gda
Hi Frank and list,
I reopened Ticket #3564 to submit a modified TSX driver. Changes made by Adam
Klein in:
Open() will return NULL when one of the raster bands cannot be loaded. This
fix prevents a crash (dereferencing NULL pointer).
The driver no longer saves the image file pointer (it wa
I submitted proposed changes as tickets 3563, 3564 and 3565.
Please delete 3562, my mistake.
Thanks,
Shawn
From: gdal-dev-boun...@lists.osgeo.org on behalf of Shawn GONG
Sent: Thu 4/29/2010 6:52 PM
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] how to submit
SX dataset.
Thanks,
Shawn
-Original Message-
From: gdal-dev-boun...@lists.osgeo.org on behalf of Shawn GONG
Sent: Thu 4/29/2010 6:52 PM
To: gdal-dev@lists.osgeo.org
Subject: [gdal-dev] how to submit modified drivers for GDAL
Hi list,
My colleague, Adam Klein, and I have made changes to the
Hi list,
My colleague, Adam Klein, and I have made changes to the following drivers:
netCDF: corrects for longitudes >180 deg (western hemisphere)
RSAT2: able to ingest NITF complex products
TSX: utilizes all GCPs instead of the default of 5 (4 corners + 1 centre)
Please advise how to submit the
I am on Windows 32-bit.
I went to ./swig/python and ran "python setup.py build" and "python setup.py
install"
It is good.
Thanks,
Shawn
-Original Message-
From: gdal-dev-boun...@lists.osgeo.org on behalf of John Cartwright
Sent: Mon 3/29/2010 12:36 PM
To: gdal-dev@lists.osgeo.org
Subj
Hi list,
I am building GEOS3.2.0 on windows, using MS VS 2008.
I got an error: can't find inttypes.h, I downloaded inttypes.h and stdint.h
Then error message: headers/geos/platform.h(72) : error C3861: 'isfinite':
identifier not found
Have anyone made GEOS on windows? How did you deal with the
hi Frank and list,
Does gdal_translate do individual band scaling ?
i.e. gdal_translate -b 1 -scale [min1 max1] -b 2 -scale [min2 max2] -b 3 -scale
[min3 max3]
Thanks,
Shawn
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/m
Hi list,
I use gdal2tiles.py to generate KML for Google Earth.
gdal2tiles.py requires gdal_translate and gdalwarp to convert images to
EPSG:4326
If an optical image is in UTM, then "gdalwarp -s_srs '+proj=utm +zone=## ...'
Has anybody extracted projection info using Gdal Python function? I can
hi list,
I need help to set JP2KAK parameters in Gdal 1.6.2 nmake.opt on Windows.
I have unzipped Kakadu 6.21 (non-commercial license) on
C:\build2\kakadu\v6_2_1. I ran MS VisualStudio 2008 using coresys_2008.sln and
kdu_managed_2008.sln. *.dll are generated in bin_x86\ and *.lib are in
lib_x
34 matches
Mail list logo