Skip to content

Commit 12df27e

Browse files
committed
update landfire product order for building URL
1 parent d671e09 commit 12df27e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ninja/landfireclient.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ SURF_FETCH_E LandfireClient::FetchBoundingBox( double *bbox, double resolution,
146146
/*-----------------------------------------------------------------------------
147147
* Request a Model via the lfps.usgs.gov REST client
148148
*-----------------------------------------------------------------------------*/
149-
pszUrl = CPLSPrintf( LF_REQUEST_TEMPLATE, nEpsgCode, bbox[3], bbox[2], bbox[1],
150-
bbox[0], pszProduct );
149+
pszUrl = CPLSPrintf( LF_REQUEST_TEMPLATE, nEpsgCode, pszProduct, bbox[3], bbox[2], bbox[1],
150+
bbox[0] );
151151
CPLFree( (void*)pszProduct );
152152
m_poResult = CPLHTTPFetch( pszUrl, NULL );
153153
CHECK_HTTP_RESULT( "Failed to get download URL" );

0 commit comments

Comments
 (0)