Skip to content

Mapfile uses different names for the physical file and the LAYER #1

@teleyinex

Description

@teleyinex

Hi @eduardofpl

I've been working today with the timeline.map file and I've found that there are some minor issues that we have to fix:

  • The files are located in a folder with a name timeline
  • The files in the folder have the following name: FAS_Brazil7.2011358.terra.250m.tif
  • The LAYERs name are the following: dec2011358

The main problem is that the logic for the names is not consistent and it will be difficult for the timeline application to know for example if the files belong to December or January, as in the file names there is no clue at all about that (unless you compute the day of the month). Thus, my proposal is the following:

  • For the files that you have downloaded, the script should create the following structure to serve them lately:
    • Folder for the images: FAS_BRAZIL7
    • File names for the TIF images: dec2011358.terra.250m.tif
    • Name for the Layer: dec2011358 (we can include if we want here also the terra.250m if needed)

This will simplify the application code. Another option could be to complete remove the month from the name, as we will know the day of the year and the year, so we can compute, if needed, the final date. Thus, what do you think about making these changes?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions