Solved

Bulk order “PL_NITF” via API using cURL or Python?

  • 27 January 2023
  • 4 replies
  • 116 views

Userlevel 1
Badge +2

Hi Planet! Is there someone that could help me order nitfs as referenced

here: https://developers.planet.com/apis/orders/product-bundles-reference/

Using coordinates to define a bounding box, I’d like to order nitfs via curl, but I’ve not been successful. Specifically, I’d like to order the product bundle “basic_analytic_dn_nitf_udm2” or “basic_analytic_dn_nitf”. 

Anyone else been successful acquiring nitfs via curl or python?

icon

Best answer by elyhienrich 10 May 2023, 18:52

View original

4 replies

Userlevel 1
Badge +2

Hi Michael. Great question.

 

You need to utilize “Tools” in the order. Here is the documentation here (https://developers.planet.com/apis/orders/tools/#file-format), specifically the “File” Section. I highly suggest you use “PL_NITF2” in your order which will order a NITF will all the metadata you are used to.

 

Additionally, you will want the bundle “basic_analytic”. The order will then create the NITF. 

Like this:

[
    {
        "file_format": {
            "format": "PL_NITF2"
        }
    }
]
 

 

Userlevel 1
Badge +2

Sam, Thank you. There doesn’t appear to be “PSScene” for “basic_analyitic” but there does appear to “PSScene” for “basic_analytic_udm2”. 

Userlevel 1
Badge +2

You’re right. “basic_analytic” would’ve worked for the older PSScene4band asset but “basic_analytic_udm2” is the correct bundle for the newer PSScene.

Userlevel 7
Badge +13

Summary of Solution from @sam.stlifer-planet-federal 

You need to utilize “Tools” in the order. Here is the documentation here (https://developers.planet.com/apis/orders/tools/#file-format), specifically the “File” Section. I highly suggest you use “PL_NITF2” in your order which will order a NITF will all the metadata you are used to.

 

Additionally, you will want the bundle “basic_analytic”. The order will then create the NITF. 

Like this:

[
    {
        "file_format": {
            "format": "PL_NITF2"
        }
    }
]

 

Note: “basic_analytic” for the older PSScene4band asset but “basic_analytic_udm2” for the newer PSScene.

Reply