Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata.json file should be split #4

Open
MrAmericanMike opened this issue Sep 22, 2022 · 0 comments
Open

Metadata.json file should be split #4

MrAmericanMike opened this issue Sep 22, 2022 · 0 comments

Comments

@MrAmericanMike
Copy link

MrAmericanMike commented Sep 22, 2022

I believe it would be better if we could split the metadata.json file into 2 separate files. One that is generated after svg files are added to the directories and another file where we can name each region / sub region.

For example:

{
        "code": "tx",
        "sub_regions": [
          {
            "code": "benbrook",
            "aspect_ratio": 1.4962593516209477
          },
........
        ],
        "aspect_ratio": 1.5
      },

As we can see doesn't mention "Texas" anywhere. So we would need another file with

{
"code": "us",
"name": "United States of America",
"regions": [
	{
		"code": "tx",
		"name": "Texas"
	}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant