relaton / relaton-plateau

Relaton for Project PLATEAU by MLIT
0 stars 1 forks source link

Manual update of Handbook 11 editions 1-3 into Handbook 4 and 6 #13

Open ronaldtse opened 1 month ago

ronaldtse commented 1 month ago

Handbook 11 has 2 parts for edition 1 to 3:

Only from edition 4 they are combined into Handbook 11.

The source information is this:

{
  "id": "cG9zdDo5Mjk4",
  "slug": "11",
  "handbook": {
    "title": "3D都市モデルのユースケース開発マニュアル",
    "description": "ユースケース開発のための基本的考え方・事例紹介・技術導入手順等のマニュアル",
    "thumbnail": {
      "mediaItemUrl": "/plateau/uploads/2024/04/plateau_doc_0011_ver04.jpg"
    },
    "versions": [
      {
        "title": "第4.0版",
        "date": "2024.4.4",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0011_ver04.pdf",
        "filesize": "33011148",
        "html": null
      },
      {
        "title": "第3.0版(公共活用編)",
        "date": "2023.4.4",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0004_ver03.pdf",
        "filesize": "40980838",
        "html": null
      },
      {
        "title": "第3.0版(民間活用編)",
        "date": "2023.4.7",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0006_ver03.pdf",
        "filesize": "37446056",
        "html": null
      },
      {
        "title": "第2.0版(公共活用編)",
        "date": "2022.3.29",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0004_ver02.pdf",
        "filesize": "26151844",
        "html": null
      },
      {
        "title": "第2.0版(民間活用編)",
        "date": "2022.3.29",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0006_ver02.pdf",
        "filesize": "25995289",
        "html": null
      },
      {
        "title": "第1.0版(公共活用編)",
        "date": "2021.3.26",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0004_ver01.pdf",
        "filesize": "22362653",
        "html": null
      },
      {
        "title": "第1.0版(民間活用編)",
        "date": "2021.3.26",
        "pdf": "https://www.mlit.go.jp/plateau/file/libraries/doc/plateau_doc_0006_ver01.pdf",
        "filesize": "10812148",
        "html": null
      }
    ]
  }
},

We should extract them separately into Handbook 4 and 6.

andrew2net commented 1 month ago

@ronaldtse we can parse numbers from links. They usually contain 4 digit number. For example:

andrew2net commented 1 month ago

@mico it looks like you will map these IDs in the pubid-plateau gem, right? @ronaldtse As soon as pubid-plateau is integrated into this gem, we'll be able to extract these parts as Handbook 4 and 6.

mico commented 1 month ago

@mico it looks like you will map these IDs in the pubid-plateau gem, right?

Right!