Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (4)
New upstream version 3.0.0~rc2+dfsg
· f71420d9
Bas Couwenberg
authored
May 05, 2019
f71420d9
Merge tag 'upstream/3.0.0_rc2+dfsg' into experimental
· dd910d6d
Bas Couwenberg
authored
May 05, 2019
Upstream version 3.0.0~rc2+dfsg
dd910d6d
New upstream release candidate.
· 326acd6e
Bas Couwenberg
authored
May 05, 2019
326acd6e
Set distribution to experimental.
· 1f92a2de
Bas Couwenberg
authored
May 05, 2019
1f92a2de
Show whitespace changes
Inline
Side-by-side
NEWS
View file @
1f92a2de
...
...
@@ -123,7 +123,7 @@ COSAR driver:
* avoid out-of-bound write on corrupted dataset. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12360.
EEDA driver:
*
report 'path' metdata in 'path' field
*
switch to v1alpha API (#1506)
GPKG driver:
* allow negative srs_id values in gpkg_spatial_ref_sys
...
...
debian/changelog
View file @
1f92a2de
gdal (3.0.0~rc2+dfsg-1~exp1) experimental; urgency=medium
* New upstream release candidate.
-- Bas Couwenberg <sebastic@debian.org> Sun, 05 May 2019 12:29:44 +0200
gdal (3.0.0~rc1+dfsg-1~exp1) experimental; urgency=medium
* New upstream release candidate.
...
...
frmts/eeda/eedacommon.cpp
View file @
1f92a2de
...
...
@@ -65,7 +65,7 @@ std::vector<EEDAIBandDesc> BuildBandDescArray(json_object* poBands,
continue
;
GDALDataType
eDT
=
GDT_Byte
;
bool
bSignedByte
=
false
;
if
(
EQUAL
(
pszPrecision
,
"INT
EGER
"
)
)
if
(
EQUAL
(
pszPrecision
,
"INT"
)
)
{
json_object
*
poRange
=
CPL_json_object_object_get
(
poDataType
,
"range"
);
...
...
@@ -108,11 +108,11 @@ std::vector<EEDAIBandDesc> BuildBandDescArray(json_object* poBands,
}
}
}
else
if
(
EQUAL
(
pszPrecision
,
"FLOAT
32
"
)
)
else
if
(
EQUAL
(
pszPrecision
,
"FLOAT"
)
)
{
eDT
=
GDT_Float32
;
}
else
if
(
EQUAL
(
pszPrecision
,
"
FLOAT64
"
)
)
else
if
(
EQUAL
(
pszPrecision
,
"
DOUBLE
"
)
)
{
eDT
=
GDT_Float64
;
}
...
...
frmts/eeda/eedadataset.cpp
View file @
1f92a2de
...
...
@@ -200,19 +200,19 @@ GDALEEDALayer::GDALEEDALayer(GDALEEDADataset* poDS,
m_poFeatureDefn
->
AddFieldDefn
(
&
oFieldDefn
);
}
{
OGRFieldDefn
oFieldDefn
(
"
path
"
,
OFTString
);
OGRFieldDefn
oFieldDefn
(
"
gdal_dataset
"
,
OFTString
);
m_poFeatureDefn
->
AddFieldDefn
(
&
oFieldDefn
);
}
{
OGRFieldDefn
oFieldDefn
(
"
gdal_dataset"
,
OFTString
);
OGRFieldDefn
oFieldDefn
(
"
updateTime"
,
OFTDateTime
);
m_poFeatureDefn
->
AddFieldDefn
(
&
oFieldDefn
);
}
{
OGRFieldDefn
oFieldDefn
(
"
t
ime"
,
OFTDateTime
);
OGRFieldDefn
oFieldDefn
(
"
startT
ime"
,
OFTDateTime
);
m_poFeatureDefn
->
AddFieldDefn
(
&
oFieldDefn
);
}
{
OGRFieldDefn
oFieldDefn
(
"
update
Time"
,
OFTDateTime
);
OGRFieldDefn
oFieldDefn
(
"
end
Time"
,
OFTDateTime
);
m_poFeatureDefn
->
AddFieldDefn
(
&
oFieldDefn
);
}
{
...
...
@@ -442,7 +442,7 @@ OGRFeature* GDALEEDALayer::GetNextRawFeature()
return
nullptr
;
m_poCurPageAssets
=
CPL_json_object_object_get
(
m_poCurPageObj
,
"
asset
s"
);
m_poCurPageObj
,
"
image
s"
);
}
if
(
m_poCurPageAssets
==
nullptr
||
...
...
@@ -503,15 +503,8 @@ OGRFeature* GDALEEDALayer::GetNextRawFeature()
poFeature
->
SetField
(
"id"
,
pszId
);
}
const
char
*
pszPath
=
json_object_get_string
(
CPL_json_object_object_get
(
poAsset
,
"path"
));
if
(
pszPath
)
{
poFeature
->
SetField
(
"path"
,
pszPath
);
}
const
char
*
const
apszBaseProps
[]
=
{
"
time"
,
"update
Time"
,
"sizeBytes"
};
{
"
updateTime"
,
"startTime"
,
"end
Time"
,
"sizeBytes"
};
for
(
size_t
i
=
0
;
i
<
CPL_ARRAYSIZE
(
apszBaseProps
);
i
++
)
{
const
char
*
pszVal
=
json_object_get_string
(
...
...
@@ -806,7 +799,7 @@ CPLString GDALEEDALayer::BuildFilter(swq_expr_node* poNode, bool bIsAndTopLevel)
poNode
->
papoSubExpr
[
0
]
->
eNodeType
==
SNT_COLUMN
&&
poNode
->
papoSubExpr
[
1
]
->
eNodeType
==
SNT_CONSTANT
&&
poNode
->
papoSubExpr
[
0
]
->
field_index
==
m_poFeatureDefn
->
GetFieldIndex
(
"
t
ime"
)
&&
m_poFeatureDefn
->
GetFieldIndex
(
"
startT
ime"
)
&&
poNode
->
papoSubExpr
[
1
]
->
field_type
==
SWQ_TIMESTAMP
)
{
if
(
poNode
->
nOperation
==
SWQ_GE
||
poNode
->
nOperation
==
SWQ_EQ
)
...
...
@@ -1120,7 +1113,7 @@ static json_object* GDALEEDADatasetGetConf()
bool
GDALEEDADataset
::
Open
(
GDALOpenInfo
*
poOpenInfo
)
{
m_osBaseURL
=
CPLGetConfigOption
(
"EEDA_URL"
,
"https://earthengine.googleapis.com/v1/"
);
"https://earthengine.googleapis.com/v1
alpha
/"
);
CPLString
osCollection
=
CSLFetchNameValueDef
(
poOpenInfo
->
papszOpenOptions
,
"COLLECTION"
,
""
);
...
...
@@ -1163,7 +1156,7 @@ bool GDALEEDADataset::Open(GDALOpenInfo* poOpenInfo)
if
(
poRootAsset
==
nullptr
)
return
false
;
json_object
*
poAssets
=
CPL_json_object_object_get
(
poRootAsset
,
"
asset
s"
);
json_object
*
poAssets
=
CPL_json_object_object_get
(
poRootAsset
,
"
image
s"
);
if
(
poAssets
==
nullptr
||
json_object_get_type
(
poAssets
)
!=
json_type_array
||
json_object_array_length
(
poAssets
)
!=
1
)
...
...
frmts/eeda/eedaidataset.cpp
View file @
1f92a2de
...
...
@@ -1191,7 +1191,7 @@ bool GDALEEDAIDataset::ComputeQueryStrategy()
if
(
EQUAL
(
m_osPixelEncoding
,
"PNG"
)
||
EQUAL
(
m_osPixelEncoding
,
"JPEG"
)
||
EQUAL
(
m_osPixelEncoding
,
"AUTO_
PNG_JPE
G"
)
)
EQUAL
(
m_osPixelEncoding
,
"AUTO_
JPEG_PN
G"
)
)
{
if
(
nBands
!=
1
&&
nBands
!=
3
)
{
...
...
@@ -1253,7 +1253,7 @@ CPLErr GDALEEDAIDataset::GetGeoTransform( double* adfGeoTransform )
bool
GDALEEDAIDataset
::
Open
(
GDALOpenInfo
*
poOpenInfo
)
{
m_osBaseURL
=
CPLGetConfigOption
(
"EEDA_URL"
,
"https://earthengine.googleapis.com/v1/"
);
"https://earthengine.googleapis.com/v1
alpha
/"
);
m_osAsset
=
CSLFetchNameValueDef
(
poOpenInfo
->
papszOpenOptions
,
"ASSET"
,
""
);
...
...
@@ -1658,7 +1658,7 @@ void GDALRegister_EEDAI()
" <Value>PNG</Value>"
" <Value>JPEG</Value>"
" <Value>GEO_TIFF</Value>"
" <Value>AUTO_
PNG_JPE
G</Value>"
" <Value>AUTO_
JPEG_PN
G</Value>"
" <Value>NPY</Value>"
" </Option>"
" <Option name='BLOCK_SIZE' type='integer' "
...
...
frmts/eeda/frmt_eedai.html
View file @
1f92a2de
...
...
@@ -28,7 +28,7 @@ The following open options are available :
<li><b>
ASSET
</b>
=string: To specify the asset if not specified in
the connection string.
</li>
<li><b>
BANDS
</b>
=bandname1[,bandnameX]*: Comma separated list of band names.
</li>
<li><b>
PIXEL_ENCODING
</b>
=AUTO/PNG/JPEG/AUTO_
PNG_JPE
G/GEO_TIFF/NPY: Format in which to
<li><b>
PIXEL_ENCODING
</b>
=AUTO/PNG/JPEG/AUTO_
JPEG_PN
G/GEO_TIFF/NPY: Format in which to
request pixels.
</li>
<li><b>
BLOCK_SIZE
</b>
=integer: Size of a GDAL block, which is the minimum unit
to query pixels. Default is 256.
</li>
...
...
@@ -95,7 +95,7 @@ metadata.
By default (PIXEL_ENCODING=AUTO), the driver will request pixels in a format
compatible of the number and data types of the bands. The PNG, JPEG and
AUTO_
PNG_JPE
G can only be used with bands of type Byte.
AUTO_
JPEG_PN
G can only be used with bands of type Byte.
<h3>
Examples
</h3>
...
...
frmts/hdf5/gh5_convenience.cpp
View file @
1f92a2de
...
...
@@ -28,7 +28,7 @@
#include
"gh5_convenience.h"
CPL_CVSID
(
"$Id: gh5_convenience.cpp
76569154904662bac0f3ddc4bfc110d9b6c8ec0f 2019-04-17 22:42:01
+0200 Even Rouault $"
)
CPL_CVSID
(
"$Id: gh5_convenience.cpp
637b8f2c0083c283e370b7a7f1e30fed74e082e1 2019-05-05 11:29:29
+0200 Even Rouault $"
)
/************************************************************************/
/* GH5_FetchAttribute(CPLString) */
...
...
@@ -38,6 +38,11 @@ bool GH5_FetchAttribute( hid_t loc_id, const char *pszAttrName,
CPLString
&
osResult
,
bool
bReportError
)
{
if
(
!
bReportError
&&
H5Aexists
(
loc_id
,
pszAttrName
)
<=
0
)
{
return
false
;
}
hid_t
hAttr
=
H5Aopen_name
(
loc_id
,
pszAttrName
);
osResult
.
clear
();
...
...
@@ -91,6 +96,11 @@ bool GH5_FetchAttribute( hid_t loc_id, const char *pszAttrName,
double
&
dfResult
,
bool
bReportError
)
{
if
(
!
bReportError
&&
H5Aexists
(
loc_id
,
pszAttrName
)
<=
0
)
{
return
false
;
}
const
hid_t
hAttr
=
H5Aopen_name
(
loc_id
,
pszAttrName
);
dfResult
=
0.0
;
...
...
gcore/gdal_version.h.in
View file @
1f92a2de
...
...
@@ -24,7 +24,7 @@
#if !defined(DO_NOT_DEFINE_GDAL_RELEASE_DATE_AND_GDAL_RELEASE_NAME)
#ifndef GDAL_RELEASE_DATE
# define GDAL_RELEASE_DATE 2019050
2
# define GDAL_RELEASE_DATE 2019050
5
#endif
#ifndef GDAL_RELEASE_NAME
# define GDAL_RELEASE_NAME "3.0.0"
...
...
man/man1/gdal-config.1
View file @
1f92a2de
.TH "gdal-config" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal-config" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal2tiles.1
View file @
1f92a2de
.TH "gdal2tiles" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal2tiles" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_calc.1
View file @
1f92a2de
.TH "gdal_calc" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_calc" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_contour.1
View file @
1f92a2de
.TH "gdal_contour" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_contour" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_edit.1
View file @
1f92a2de
.TH "gdal_edit" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_edit" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_fillnodata.1
View file @
1f92a2de
.TH "gdal_fillnodata" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_fillnodata" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_grid.1
View file @
1f92a2de
.TH "gdal_grid" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_grid" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_merge.1
View file @
1f92a2de
.TH "gdal_merge" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_merge" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_pansharpen.1
View file @
1f92a2de
.TH "gdal_pansharpen" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_pansharpen" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_polygonize.1
View file @
1f92a2de
.TH "gdal_polygonize" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_polygonize" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_proximity.1
View file @
1f92a2de
.TH "gdal_proximity" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_proximity" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
man/man1/gdal_rasterize.1
View file @
1f92a2de
.TH "gdal_rasterize" 1 "
Thu
May
2
2019" "GDAL" \" -*- nroff -*-
.TH "gdal_rasterize" 1 "
Sun
May
5
2019" "GDAL" \" -*- nroff -*-
.ad l
.nh
.SH NAME
...
...
Prev
1
2
3
Next