[
  {
    "path": ".codespellrc",
    "content": "[codespell]\nskip=./.git,./po,./resources/js/*.min.js,./resources/css/*.min.css\ncheck-hidden=\ncheck-filenames=\nbuiltin=clear,rare,informal,usage,code,names\nignore-words-list=master,thead,referer,cros,hastable,musl,stdio\n"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "# These are supported funding model platforms\n\ngithub: allinurl\npatreon: # Replace with a single Patreon username\nopen_collective: # Replace with a single Open Collective username\nko_fi: # Replace with a single Ko-fi username\ntidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel\ncommunity_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry\nliberapay: # Replace with a single Liberapay username\nissuehunt: # Replace with a single IssueHunt username\notechie: # Replace with a single Otechie username\ncustom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']\n"
  },
  {
    "path": ".github/workflows/build-test.yml",
    "content": "name: C build and Test\n\non:\n  push:\n    branches:\n      - \"master\"\n  pull_request:\n    branches:\n      - \"master\"\n\njobs:\n  build:\n    strategy:\n      fail-fast: false\n      matrix:\n        os:\n          - ubuntu-latest\n          - macos-latest\n          - macos-14\n        config_params:\n          - \"\"\n          - \"--enable-debug\"\n          - \"--with-getline --enable-asan\"\n          - \"--enable-utf8 --enable-debug --with-getline\"\n          - \"--enable-utf8 --with-getline --enable-asan\"\n        include:\n          - os: ubuntu-latest\n            setup-env: |\n              sudo apt-get update\n              sudo apt-get install -y build-essential autoconf gettext autopoint libncursesw5-dev libssl-dev git libmaxminddb-dev jq\n          - os: macos-latest\n            setup-env: |\n              brew install ncurses gettext autoconf automake libmaxminddb openssl@3 jq\n          - os: macos-14\n            setup-env: |\n              brew update\n              brew install ncurses gettext autoconf automake openssl@3 libmaxminddb jq\n\n    runs-on: ${{ matrix.os }}\n    steps:\n      - name: Setup env.\n        run: ${{ matrix.setup-env }}\n\n      - uses: actions/checkout@v3\n\n      - name: Check Architecture\n        run: |\n          echo \"Running on $(uname -m) architecture\"\n\n      - name: autoreconf\n        run: autoreconf -fiv\n\n      - name: Configure\n        run: ./configure ${{ matrix.config_params }}\n\n      - name: Make\n        run: sudo make\n\n      - name: Make Check\n        run: sudo make check\n\n      - name: Make Distcheck\n        run: sudo make distcheck\n\n      - name: Define log\n        run: |\n          echo -e 'localhost:80 192.168.0.1 - - [01/Jul/2013:06:20:38 -0500] \"GET / HTTP/1.1\" 200 3829 \"-\" \"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0\"\\\n          google.com:80 ::1 - - [01/Jul/2013:06:25:11 -0500] \"OPTIONS * HTTP/1.0\" 200 136 \"-\" \"Apache (internal dummy connection)\"\\\n          bing.com:80 142.250.190.142 - - [01/Jul/2013:06:41:31 -0500] \"-\" 408 0 \"-\" \"-\"\\\n          yahoo.com:80 74.6.143.25 - - [01/Jul/2013:07:20:02 -0500] \"HEAD / HTTP/1.1\" 200 213 \"-\" \"Wget/1.14 (linux-gnu)\"' > access.log\n          cat access.log\n\n      - name: Set up output directory\n        run: echo \"output_dir=${GITHUB_WORKSPACE}/report\" >> $GITHUB_ENV\n\n      - name: Create output directory\n        run: mkdir -p ${GITHUB_WORKSPACE}/report\n\n      - name: Run goaccess single thread\n        run: ./goaccess access.log --log-format=VCOMBINED -o ${output_dir}/report.html\n\n      - name: Run goaccess multi-thread\n        run: ./goaccess access.log --log-format='%v:%^ %h %^[%x] \"%r\" %s %b \"%R\" \"%u\"' --datetime-format='%d/%b/%Y:%H:%M:%S %z' -o ${output_dir}/report.html -j 2 -a --tz=\"Europe/Berlin\"\n\n      - name: Run goaccess multi-thread JSON output\n        run: |\n          ./goaccess access.log --log-format=VCOMBINED -o ${output_dir}/report.json -j 2 -a --json-pretty-print\n          cat ${output_dir}/report.json | jq .\n\n      - name: Make distclean\n        run: sudo make distclean\n"
  },
  {
    "path": ".github/workflows/deb-packaging-buildx.yml",
    "content": "name: .deb packaging buildx\n\non:\n  workflow_dispatch:\n\njobs:\n  build_job:\n    runs-on: ubuntu-latest\n    strategy:\n      matrix:\n        include:\n          - arch: arm32v7\n            distro: ubuntu22.04\n          - arch: arm32v7\n            distro: ubuntu24.04\n          - arch: arm32v7\n            distro: ubuntu25.10\n          - arch: arm32v7\n            distro: bullseye\n          - arch: arm32v7\n            distro: bookworm\n          - arch: arm32v7\n            distro: trixie\n          - arch: aarch64\n            distro: ubuntu22.04\n          - arch: aarch64\n            distro: ubuntu24.04\n          - arch: aarch64\n            distro: ubuntu25.10\n          - arch: aarch64\n            distro: bullseye\n          - arch: aarch64\n            distro: bookworm\n          - arch: aarch64\n            distro: trixie\n          - arch: amd64\n            distro: bullseye\n          - arch: amd64\n            distro: bookworm\n          - arch: amd64\n            distro: trixie\n          - arch: i386\n            distro: bullseye\n          - arch: i386\n            distro: bookworm\n          - arch: amd64\n            distro: ubuntu22.04\n          - arch: amd64\n            distro: ubuntu24.04\n          - arch: amd64\n            distro: ubuntu25.10\n\n    steps:\n      - name: Checkout repository\n        uses: actions/checkout@v2\n\n      - name: Setup Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Setup QEMU\n        uses: docker/setup-qemu-action@v2\n\n      - name: Create artifacts directory\n        run: mkdir -p \"${GITHUB_WORKSPACE}/artifacts\"\n\n      - name: Build deb package\n        run: |\n          echo \"Matrix arch: ${{ matrix.arch }}\"\n          echo \"Matrix distro: ${{ matrix.distro }}\"\n          \n          # Convert the matrix distro into a shell variable.\n          MY_DISTRO=\"${{ matrix.distro }}\"\n          if [[ \"$MY_DISTRO\" == ubuntu* ]]; then\n            # Remove the 'ubuntu' prefix to get the version tag.\n            VERSION_TAG=\"${MY_DISTRO#ubuntu}\"\n            DEFAULT_IMAGE=\"ubuntu:${VERSION_TAG}\"\n          else\n            DEFAULT_IMAGE=\"debian:${MY_DISTRO}\"\n          fi\n          echo \"Default IMAGE: ${DEFAULT_IMAGE}\"\n          \n          # Determine the base image and platform based on the target architecture.\n          case \"${{ matrix.arch }}\" in\n            arm32v7)\n              if [[ \"$MY_DISTRO\" == ubuntu* ]]; then\n                BASE_IMAGE=\"arm32v7/ubuntu:${VERSION_TAG}\"\n              else\n                BASE_IMAGE=\"arm32v7/debian:${MY_DISTRO}\"\n              fi\n              PLATFORM=\"linux/arm/v7\"\n              ;;\n            aarch64)\n              if [[ \"$MY_DISTRO\" == ubuntu* ]]; then\n                BASE_IMAGE=\"arm64v8/ubuntu:${VERSION_TAG}\"\n              else\n                BASE_IMAGE=\"arm64v8/debian:${MY_DISTRO}\"\n              fi\n              PLATFORM=\"linux/arm64\"\n              ;;\n            i386)\n              if [[ \"$MY_DISTRO\" == ubuntu* ]]; then\n                BASE_IMAGE=\"i386/ubuntu:${VERSION_TAG}\"\n              else\n                BASE_IMAGE=\"i386/debian:${MY_DISTRO}\"\n              fi\n              PLATFORM=\"linux/386\"\n              ;;\n            amd64)\n              BASE_IMAGE=\"$DEFAULT_IMAGE\"\n              PLATFORM=\"linux/amd64\"\n              ;;\n            *)\n              echo \"Unsupported architecture: ${{ matrix.arch }}\"\n              exit 1\n              ;;\n          esac\n          echo \"Using base image: ${BASE_IMAGE}\"\n          echo \"Using platform: ${PLATFORM}\"\n          \n          docker run --rm --platform \"${PLATFORM}\" \\\n            -v \"${GITHUB_WORKSPACE}/artifacts:/artifacts\" \\\n            \"${BASE_IMAGE}\" bash -c \"\\\n              apt-get update && \\\n              apt-get install -y ca-certificates wget curl lsb-release && \\\n              cd /artifacts && \\\n              curl -O https://deb.goaccess.io/provision/provision.dpkg.sh && \\\n              chmod +x provision.dpkg.sh && \\\n              ./provision.dpkg.sh && \\\n              ls -lath && \\\n              echo 'Build Success'\"\n      \n      - name: Test deb package installation\n        run: |\n          DEB_FILE=$(find \"${GITHUB_WORKSPACE}/artifacts\" -name \"goaccess_*.deb\")\n          echo \"Found deb package: $DEB_FILE\"\n          \n          case \"${{ matrix.distro }}\" in\n            bullseye) TEST_IMAGE=\"debian:bullseye\" ;;\n            bookworm) TEST_IMAGE=\"debian:bookworm\" ;;\n            trixie) TEST_IMAGE=\"debian:trixie\" ;;\n            ubuntu22.04) TEST_IMAGE=\"ubuntu:22.04\" ;;\n            ubuntu24.04) TEST_IMAGE=\"ubuntu:24.04\" ;;\n            ubuntu25.10) TEST_IMAGE=\"ubuntu:25.10\" ;;\n            *) echo \"Unknown distro: ${{ matrix.distro }}\" && exit 1 ;;\n          esac\n          echo \"Using Docker image for testing: $TEST_IMAGE\"\n          \n          case \"${{ matrix.arch }}\" in\n            arm32v7) TEST_PLATFORM=\"linux/arm/v7\" ;;\n            aarch64) TEST_PLATFORM=\"linux/arm64\" ;;\n            i386) TEST_PLATFORM=\"linux/386\" ;;\n            amd64) TEST_PLATFORM=\"linux/amd64\" ;;\n            *) echo \"Unsupported architecture: ${{ matrix.arch }}\" && exit 1 ;;\n          esac\n          echo \"Using platform for testing: $TEST_PLATFORM\"\n          \n          docker run --rm --platform \"$TEST_PLATFORM\" \\\n            -v \"${GITHUB_WORKSPACE}/artifacts:/artifacts\" \\\n            \"$TEST_IMAGE\" bash -c \"\\\n              apt-get update && \\\n              apt-get install -y /artifacts/$(basename $DEB_FILE) && \\\n              goaccess --version && \\\n              apt-get remove -y goaccess\"\n      \n      - name: Upload deb package\n        uses: actions/upload-artifact@v4\n        with:\n          name: deb-package-${{ matrix.distro }}-${{ matrix.arch }}\n          path: artifacts/*.deb\n          retention-days: 1\n"
  },
  {
    "path": ".github/workflows/deb-packaging.yml",
    "content": "name: .deb packaging\n\non:\n  workflow_dispatch:\n\njobs:\n  build_job:\n    # The host should always be linux\n    runs-on: ubuntu-latest\n    name: Build on ${{ matrix.distro }} ${{ matrix.arch }}\n\n    # Run steps on a matrix of arch/distro combinations\n    strategy:\n      matrix:\n        include:\n          - arch: arm32v7\n            distro: ubuntu16.04\n          - arch: arm32v7\n            distro: ubuntu18.04\n          - arch: arm32v7\n            distro: ubuntu22.04\n          - arch: arm32v7\n            distro: ubuntu24.04\n          - arch: arm32v7\n            distro: ubuntu24.10            \n          - arch: arm32v7\n            distro: bullseye\n          - arch: arm32v7\n            distro: bookworm      \n          - arch: aarch64\n            distro: ubuntu18.04\n          - arch: aarch64\n            distro: ubuntu20.04\n          - arch: aarch64\n            distro: ubuntu22.04            \n          - arch: aarch64\n            distro: ubuntu24.04\n          - arch: aarch64\n            distro: ubuntu24.10            \n          - arch: aarch64\n            distro: buster\n          - arch: aarch64\n            distro: bullseye\n          - arch: aarch64\n            distro: bookworm\n          - arch: amd64\n            distro: buster\n          - arch: i386\n            distro: buster\n          - arch: amd64\n            distro: bullseye\n          - arch: amd64\n            distro: bookworm\n          - arch: i386\n            distro: bullseye\n          - arch: i386\n            distro: bookworm\n          - arch: amd64\n            distro: ubuntu16.04\n          - arch: i386\n            distro: ubuntu16.04\n          - arch: amd64\n            distro: ubuntu18.04\n          - arch: i386\n            distro: ubuntu18.04\n          - arch: amd64\n            distro: ubuntu20.04\n          - arch: amd64\n            distro: ubuntu22.04\n          - arch: amd64\n            distro: ubuntu24.04\n          - arch: amd64\n            distro: ubuntu24.10            \n\n    steps:\n      - uses: actions/checkout@v2.1.0\n\n      - uses: allinurl/run-on-arch-action@master\n        name: Build artifact\n        id: build\n        with:\n          arch: ${{ matrix.arch }}\n          distro: ${{ matrix.distro }}\n          # Not required, but speeds up builds\n          githubToken: ${{ github.token }}\n          # Create an artifacts directory\n          setup: |\n            mkdir -p \"${PWD}/artifacts\"\n          # Mount the artifacts directory as /artifacts in the container\n          dockerRunArgs: |\n            --volume \"${PWD}/artifacts:/artifacts\"\n          # The shell to run commands with in the container\n          shell: /bin/bash\n          # Install some dependencies in the container.\n          install: |\n            case \"${{ matrix.distro }}\" in\n              ubuntu*|jessie|stretch|buster|bullseye|bookworm)\n                apt-get update && apt-get install -y ca-certificates wget curl lsb-release && apt-get clean all\n                ;;\n            esac\n          # Produce a binary artifact and place it in the mounted volume\n          run: |\n            ls -lath \"/artifacts\"\n            curl -O https://deb.goaccess.io/provision/provision.dpkg.sh\n            chmod +x ./provision.dpkg.sh\n            ./provision.dpkg.sh\n            echo \"Success!!\"\n\n      - name: Show the artifact\n        run: |\n          pwd\n          ls -lath \"${PWD}/artifacts\"\n\n      - name: Test deb package installation\n        run: |\n          # Find the generated deb package\n          DEB_FILE=$(find \"${PWD}/artifacts\" -name \"goaccess_*.deb\")\n          echo \"Found deb package: $DEB_FILE\"\n\n          # Determine the correct Docker image for the distro\n          case \"${{ matrix.distro }}\" in\n            bookworm) IMAGE=\"debian:bookworm\" ;;\n            bullseye) IMAGE=\"debian:bullseye\" ;;\n            buster) IMAGE=\"debian:buster\" ;;\n            ubuntu16.04) IMAGE=\"ubuntu:16.04\" ;;\n            ubuntu18.04) IMAGE=\"ubuntu:18.04\" ;;\n            ubuntu20.04) IMAGE=\"ubuntu:20.04\" ;;\n            ubuntu22.04) IMAGE=\"ubuntu:22.04\" ;;\n            ubuntu24.04) IMAGE=\"ubuntu:24.04\" ;;\n            ubuntu24.10) IMAGE=\"ubuntu:24.10\" ;;\n            *) echo \"Unknown distro: ${{ matrix.distro }}\" && exit 1 ;;\n          esac\n\n          echo \"Using Docker image: $IMAGE\"\n\n          # Run a container with the correct architecture and test the installation\n          docker run --rm -v \"${PWD}/artifacts:/artifacts\" --platform linux/${{ matrix.arch }} \"$IMAGE\" bash -c \"\n            apt-get update &&\n            apt-get install -y /artifacts/$(basename $DEB_FILE) &&\n            goaccess --version &&\n            apt-get remove -y goaccess\"\n\n      - name: Upload deb package\n        uses: actions/upload-artifact@v4\n        with:\n          name: deb-package-${{ matrix.distro }}-${{ matrix.arch }}\n          path: 'artifacts/*.deb'\n          retention-days: 1\n"
  },
  {
    "path": ".github/workflows/docker-publish.yml",
    "content": "name: Docker\non:\n  push:\n    # Publish `master` as Docker `latest` image.\n    branches:\n      - master\n    # Publish `v1.2.3` tags as releases.\n    tags:\n      - v*\n  # Run tests for any PRs.\n  pull_request:\nenv:\n  IMAGE_NAME: ${{ github.repository }}\njobs:\n  # Run tests.\n  # See also https://docs.docker.com/docker-hub/builds/automated-testing/\n  test:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - name: Run tests\n        run: |\n          if [ -f docker-compose.test.yml ]; then\n            docker-compose --file docker-compose.test.yml build\n            docker-compose --file docker-compose.test.yml run sut\n          else\n            docker build . --file Dockerfile\n          fi\n  # Push image to Docker Hub.\n  # See also https://docs.docker.com/docker-hub/builds/\n  push:\n    # Ensure test job passes before pushing image.\n    needs: test\n    runs-on: ubuntu-latest\n    if: github.event_name == 'push'\n\n    steps:\n      - uses: actions/checkout@v2\n\n      - name: Set up Docker Buildx\n        uses: docker/setup-buildx-action@v2\n\n      - name: Build image\n        run: docker build . --file Dockerfile --tag $IMAGE_NAME\n      - name: Login to Docker Hub\n        uses: docker/login-action@v3\n        with:\n          username: ${{ secrets.DOCKERHUB_USERNAME }}\n          password: ${{ secrets.DOCKERHUB_TOKEN }}\n\n      - name: Push image\n        run: |\n          # Change all uppercase to lowercase\n          IMAGE_ID=$(echo \"${{ github.repository }}\" | tr '[A-Z]' '[a-z]')\n\n          # Strip git ref prefix from version\n          VERSION=$(echo \"${{ github.ref }}\" | sed -e 's,.*/\\(.*\\),\\1,')\n\n          # Strip \"v\" prefix from tag name\n          [[ \"${{ github.ref }}\" == \"refs/tags/\"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')\n          # Use Docker `latest` tag convention\n          [ \"$VERSION\" == \"master\" ] && VERSION=latest\n\n          echo IMAGE_ID=$IMAGE_ID\n          echo VERSION=$VERSION\n\n          docker buildx create --use\n          docker buildx build --platform linux/amd64,linux/arm64 -t $IMAGE_ID:$VERSION --push .\n\n"
  },
  {
    "path": ".github/workflows/spelling.yml",
    "content": "# yaml-language-server: $schema=https://json.schemastore.org/github-workflow\n\nname: \"Spelling\"\n\non:\n  workflow_dispatch:\n# Add [skip ci] to commit message to skip CI.\n\npermissions:\n    contents: \"read\"\n\nconcurrency:\n    group: \"${{ github.workflow }}-${{ github.ref }}\"\n    cancel-in-progress: true\n\njobs:\n    spell_check:\n        name: \"文A Spell check\"\n        runs-on: \"ubuntu-22.04\"\n        timeout-minutes: 1\n        steps:\n        -\n            name: \"Checkout repository\"\n            uses: \"actions/checkout@v3\"\n        -\n            name: \"Cache pip\"\n            uses: \"actions/cache@v3\"\n            with:\n                path: \"~/.cache/pip\"\n                key: \"${{ runner.os }}-pip-codespell\"\n        -\n            name: \"Install codespell\"\n            run: |\n                pip install --user 'codespell>=2.2'\n        -\n            name: \"Search for misspellings\"\n            run: |\n                \"$(python -m site --user-base)/bin/codespell\"\n"
  },
  {
    "path": ".gitignore",
    "content": "#custom section\nconfig.status\nconfig.guess\nconfig.sub\nconfig.rpath\nconfigure~\n**/.deps/\n/INSTALL\n/Makefile\nsrc/.dirstamp\nsrc/config.h\nsrc/config.h.in\nsrc/config.h.in~\nsrc/config.log\nsrc/config.status\nsrc/.deps/\nsrc/stamp-h1\ngoaccess\nbin2c\n# font selection\nselection.json\n#merged from https://raw.github.com/github/gitignore/master/Autotools.gitignore\n# http://www.gnu.org/software/automake\n\nMakefile.in\n\n# http://www.gnu.org/software/autoconf\n\n/autom4te.cache\n/aclocal.m4\n/compile\n/configure\n/depcomp\n/install-sh\n/missing\n\n# VIM\n*.*.swp\n*.log\n\n# Object files\n*.o\n*.ko\n*.obj\n*.elf\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Libraries\n*.lib\n*.a\n*.la\n*.lo\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n*.i*86\n*.x86_64\n*.hex\n\n# Vagrant\n.vagrant\n\n# M4 macros\n/m4/*\n\n# I18n stuff\n/ABOUT-NLS\n/po/*.gmo\n/po/*.header\n/po/*.mo\n/po/*.sed\n/po/*.sin\n/po/Makefile.in.in\n/po/Makevars.template\n/po/POTFILES\n/po/Rules-quot\n/po/Makefile\n/po/stamp-po\n\n# compiled resources\n/src/appcss.h\n/src/appjs.h\n/src/bootstrapcss.h\n/src/chartsjs.h\n/src/d3js.h\n/src/facss.h\n/src/hoganjs.h\n/src/tpls.h\n/src/countries110m.h\n/src/cities10m.h\n/src/topojsonjs.h\n\n# intermediate resources\n/resources/css/app.css.tmp\n/resources/css/bootstrap.min.css.tmp\n/resources/css/fa.min.css.tmp\n/resources/js/app.js.tmp\n/resources/js/charts.js.tmp\n/resources/js/d3.v?.min.js.tmp\n/resources/js/hogan.min.js.tmp\n/resources/tpls.html.tmp\n/resources/countries-110m.json.tmp\n/resources/cities-10m.json.tmp\n/resources/js/topojson.v3.min.js.tmp\n"
  },
  {
    "path": "AUTHORS",
    "content": "GoAccess was designed and developed by Gerardo Orellana <goaccess@prosoftcorp.com>\n\nSpecial thanks to the following individuals for their great contributions:\n\n  * 0bi-w6n-K3nobi <71027865+0bi-w6n-K3nob@users.noreply.github.com>\n  * Aaditya Bagga <noreply@github.com>\n  * abgit <francisco.j.azevedo@gmail.com>\n  * Adam Monsen <haircut@gmail.com>\n  * Adam Števko <adam.stevko@gmail.com>\n  * Adam Weinberger <adamw@adamw.org>\n  * Adrian <totcha@gazeta.pl>\n  * Ainsley Ellis <ainsleymae@proton.me>\n  * aishikoyo <aixxx033@umn.edu>\n  * Alan Placidina <noreply@github.com>\n  * Alexander Eifler <noreply@github.com>\n  * Alexandre GUIOT--VALENTIN <contact@alexandregv.fr>\n  * Alexandre Perrin <noreply@github.com>\n  * Alexis Lefebvre <alexislefebvre+github@gmail.com>\n  * Ali Homafar <home.isfar@gmail.com>\n  * allofmex <allofmex@web.de>\n  * Amos Hayes <ahayes@gcrc.carleton.ca>\n  * A. Nackov <anackov@gmail.com>\n  * Anders Johansson <47452862+tellustheguru@users.noreply.github.com>\n  * Andreas Sommer <andreas.sommer@ppro.com>\n  * Andreas Weigel <andreaswe@securepoint.de>\n  * Andrew Kvalheim <Andrew@Kvalhe.im>\n  * Andrew Minion <andrew@andrewrminion.com>\n  * Antonio Terceiro <terceiro@softwarelivre.org>\n  * Arnaud Rebillout <elboulangero@gmail.com>\n  * Arnie97 <arnie97@gmail.com>\n  * as0n <n.was.here@gmail.com>\n  * Aslak Raanes <noreply@github.com>\n  * Axel Wehner <mail@axelwehner.de>\n  * azio7 <azio7@outlook.com>\n  * bbbboom <bwdyxg@gmail.com>\n  * Bbertatum <bertrand@2backup.fr>\n  * Benjamin Bach <benjamin@overtag.dk>\n  * Bjørnar Hansen <noreply@github.com>\n  * Bob Black <git@riblack.com>\n  * Bo Cai <charpty@gmail.com>\n  * Brandon Coleman <metrix1978@gmail.com>\n  * Branimir Ri\\v{c}ko <rickobranimir@gmail.com>\n  * Carlos Duelo <noreply@github.com>\n  * Celso Providelo <celso.providelo@gmail.com>\n  * ChangMo Yang <dcyang@unist.ac.kr>\n  * Chang Zhao <noreply@github.com>\n  * Chilledheart <rwindz0@gmail.com>\n  * Chris Downs <noreply@github.com>\n  * Christian Göttsche <cgzones@googlemail.com>\n  * Christian Hermann <c.hermann@bitbeans.de>\n  * Christian Moelders <christian.moelders@storeplus.de>\n  * Christopher Meng <i@cicku.me>\n  * Clément Hermann <nodens@nodens.org>\n  * cristianpb <felipebrokate@gmail.com>\n  * Cthulhux <github@tuxproject.de>\n  * Daniel Aleksandersen <code@daniel.priv.no>\n  * Daniel Aleksandersen <noreply@github.com>\n  * Daniel (dmilith) Dettlaff <dmilith@me.com>\n  * Danila Vershinin <noreply@github.com>\n  * Danny Kirkham <danny@kirkham.dev>\n  * Darek Kay <hello@darekkay.com>\n  * David Carlier <devnexen@gmail.com>\n  * David Geistert <d3f3kt@scripts4u.net>\n  * d_dandrew <dragonandy@foxmail.com>\n  * ElXreno <elxreno@gmail.com>\n  * Enrique Becerra <kabeza@gmail.com>\n  * evitalis <evitalis@users.noreply.github.com>\n  * Felix Häberle <34959078+felixhaeberle@users.noreply.github.com>\n  * Florian Forster <ff@octo.it>\n  * forDream <noreply@github.com>\n  * fqbuild <fqbuild@FutureQuest.net>\n  * Frederic Cambus <fcambus@users.sourceforge.net>\n  * Func <Funcer@outlook.com>\n  * gemmaro <gemmaro.dev@gmail.com>\n  * Genki Sugawara <sugawara@cookpad.com>\n  * Gerald Combs <gerald@zing.org>\n  * Geraldo Alves <junior.alves.2007@gmail.com>\n  * gitqlt <noreply@github.com>\n  * Hiroki Kamino <46459949+err931@users.noreply.github.com>\n  * holys <chendahui007@gmail.com>\n  * Izzy <izzy@qumran.org>\n  * JackDesBwa <jackdesbwa@gmail.com>\n  * Jannes Blobel <72493222+jannesblobel@users.noreply.github.com>\n  * Jeffery Wilkins <goaccess@prosoftcorp.com>\n  * Jeremy Burks <jeremy@zomgwat.com>\n  * Jeremy Lin <jeremy.lin@gmail.com>\n  * Joaquín de la Zerda <joaquin@itbaf.com>\n  * Joe Groocock <me@frebib.net>\n  * Joe Winett <noreply@github.com>\n  * Jonas Kittner <jonas.kittner@rub.de>\n  * Joona <joona.paivahonka@gmail.com>\n  * Jordan Trask <jtrask@gmail.com>\n  * Josh Briggs <josh@briggsdev.us>\n  * Julian Xhokaxhiu <xhokaxhiujulian@gmail.com>\n  * Justin Mills <justin.mills@utah.edu>\n  * Kamino Hiroki <37243867+4f8p@users.noreply.github.com>\n  * Kit Westneat <kit.westneat@gmail.com>\n  * Koichiro Iwao <meta@vmeta.jp>\n  * kokke <spam@rowdy.dk>\n  * kyle sloan <kyle@ifsight.com>\n  * LeoAttn <leo.massonnat@hotmail.fr>\n  * lhywk <lhywkd22@gmail.com>\n  * Linus Gasser <linus.gasser@epfl.ch>\n  * Magnus Groß <magnus@mggross.com>\n  * Maksim Losev <mlosev@beget.ru>\n  * mario-donnarumma <mario.donnarumma.97@gmail.com>\n  * markiewb <noreply@github.com>\n  * Mark J. Berger <mark.berger.j@gmail.com>\n  * Martins Polakovs <martins.polakovs@gmail.com>\n  * Massimiliano Torromeo <massimiliano.torromeo@gmail.com>\n  * Mathieu Aubin <noreply@github.com>\n  * Mathieu Thoretton <mathieu.thoretton@getyourguide.com>\n  * Max Christian Pohle <goaccess@prosoftcorp.com>\n  * metrix78 <metrix1978@gmail.com>\n  * Michael Vetter <jubalh@iodoru.org>\n  * Mika Raunio <mika@diago.global>\n  * Moritz Schott <unsafe@nurfuerspam.de>\n  * m-r-r <raybaudroigm@gmail.com>\n  * mynameiscfed <christopherfederico@gmail.com>\n  * Newbe36524 <newbe36524@qq.com>\n  * Nicolas Le Manchet <nicolas@lemanchet.fr>\n  * Nicolas <noreply@github.com>\n  * Ophir LOJKINE <pere.jobs@gmail.com>\n  * Otto Kekäläinen <otto.kekalainen@seravo.fi>\n  * Panos Stavrianos <panos-stavrianos@users.noreply.github.com>\n  * pitilux <pitilux@elinar.fr>\n  * Pixelcode <52963327+realpixelcode@users.noreply.github.com>\n  * Placidina <alanplacidina@gmail.com>\n  * pravdomil <noreply@github.com>\n  * rachid-debu <rachid.debu@yahoo.fr>\n  * radoslawc <radoslawc@gmail.com>\n  * rahra <bf@abenteuerland.at>\n  * Ramires Viana <59319979+ramiresviana@users.noreply.github.com>\n  * rgriebl <robert@griebl.org>\n  * Roy Marples <roy@marples.name>\n  * rtmkrlv <artyom.karlov@gmail.com>\n  * Ryow <ryow@midgen.asia>\n  * schoonc <noreply@github.com>\n  * Sean Cross <sean@xobs.io>\n  * Sean Wei <me@sean.taipei>\n  * Sebastian Wiedenroth <wiedi@frubar.net>\n  * sh4rkman <maxime.boussard@gmail.com>\n  * Simon Gardling <Titaniumtown@gmail.com>\n  * SjonHortensius <noreply@github.com>\n  * Steely Wing <noreply@github.com>\n  * Stéphane Péchard <stephanepechard@gmail.com>\n  * Stephen Wade <stephen@stephenwade.me>\n  * Stoyan Dimov <s.dimov@codelogic.eu>\n  * Stuart Henderson <noreply@github.com>\n  * Sveinbjorn Thordarson <sveinbjorn@sveinbjorn.org>\n  * Tatsuyuki Ishi <noreply@github.com>\n  * Thomas Gläßle <t_glaessle@gmx.de>\n  * Thomas Jost <schnouki@schnouki.net>\n  * Thomas Lange <code@nerdmind.de>\n  * throwaway1037 <noreply@github.com>\n  * Tim Gates <tim.gates@iress.com>\n  * Timothy Quilling <teqed@shatteredsky.net>\n  * Tom Samstag <github@modtwo.com>\n  * ugola <urvika.gola@gmail.com>\n  * Ulrich Schwarz <ulmi@absatzen.de>\n  * Viktor Szépe <noreply@github.com>\n  * Viktor Szépe <viktor@szepe.net>\n  * Ville Skyttä <ville.skytta@iki.fi>\n  * Vincent Bernat <vincent@bernat.ch>\n  * Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>\n  * William Muir <wamuir@gmail.com>\n  * Wladimir Palant <noreply@github.com>\n  * wodev <wodev@fischer-net.net>\n  * woobee <support.developpement@gmail.com>\n  * Yaroslav Halchenko <debian@onerussian.com>\n  * Yuri D'Elia <wavexx@thregr.org>\n  * Yuriy M. Kaminskiy <yumkam@gmail.com>\n  * zeke <zhenkai0605@gmail.com>\n"
  },
  {
    "path": "COPYING",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2009-2022 Gerardo Orellana <hello @ goaccess.io>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "ChangeLog",
    "content": "Changes to GoAccess 1.10.1 - Saturday, February 14, 2026\n\n  - Fixed a crash when restoring persisted data via `--restore` that contained\n    GEOLOCATION data generated in versions ≤ v1.9.4 and loaded with v1.10.\n\nChanges to GoAccess 1.10 - Wednesday, February 11, 2026\n\n  - Added new bar charts to the terminal UI for a quicker visual read of\n    metrics.\n  - Added city-level entries to the GEOLOCATION panel.\n  - Added optional zlib support to parse compressed log files.\n  - Added panel reordering in the TUI, letting you customize the dashboard\n    layout.\n  - Added sorting for panels in the HTML report.\n  - Added the ability to expand and collapse subitems within TUI panels for\n    easier navigation of large datasets.\n  - Added a TX Amount percent column to the TUI for clearer traffic share\n    insight.\n  - Added the ability to prepend the virtual host to a request via\n    --concat-vhost-req\n  - Deprecated `--no-column-names` in favor of a unified TUI dashboard.\n  - Fixed log tailing edge cases, including empty reads and date specificity\n    overrides from the CLI.\n  - Fixed stability issues in multi-threaded parsing and during Ctrl+C with\n    multiple jobs.\n  - Fixed inability to override date specificity from the CLI.\n  - Fixed dry-run lines being counted as processed during config format\n    testing.\n  - Improved the TUI spinner and progress display for smoother, clearer\n    feedback during parsing.\n  - Refreshed the HTML dashboard styling and theme visuals.\n  - Updated browser and OS detection lists, including macOS 26 (Tahoe) and\n    Alibaba Cloud Linux.\n  - Updated packaging targets, adding Debian Trixie while dropping Debian\n    Buster and i386 builds.\n  - Updated Swedish, Chinese and Japanese translations\n  - Updated Dockerfile to use openssl-dev for compatibility with\n    SSL_CIPHER_standard_name(3ssl).\n\nChanges to GoAccess 1.9.4 - Monday, March 31, 2025\n\n  - Added an azimuthal (globe) projection to the HTML report for geolocation,\n    providing a less distorted view of the global map.\n  - Added 'apple-touch-icon' for improved iPhone home screen support, enabling\n    quick access to reports directly from the home screen.\n  - Added 'aria-*' attributes to HTML report for better accessibility, ensuring\n    that the report is more inclusive for screen readers and other assistive\n    technologies.\n  - Added 'theme-color' '<meta>' tag to the HTML report for better integration\n    with mobile devices, allowing the browser's address bar to match the\n    report's theme color.\n  - Added additional validation checks to ensure the existence of file paths\n    provided in CLI options, preventing errors.\n  - Added WebSocket authentication to support both local-generated JSON Web\n    Tokens (JWT) and external verification methods. This enhancement enables\n    easy integration with external authentication systems while ensuring CSRF\n    protection for token refresh requests.\n  - Changed WebSocket server to avoid swapping bytes on big-endian platforms,\n    fixing compatibility issues on AIX systems.\n  - Fixed the issue where zooming/panning the map would unexpectedly skip or\n    jump back, providing a smoother user experience.\n  - Fixed the issue where the same mime types were displayed as duplicates due\n    to different casing by normalizing mime types before adding them to the\n    storage, ensuring consistent reporting.\n  - Replaced div elements with more semantic HTML elements like <section>,\n    <header>, and <article>, improving the structure and accessibility of the\n    report.\n  - Updated the list of supported browsers and operating systems to ensure more\n    accurate tracking and reporting.\n  - Updated the method of parsing the browser list for bots/crawlers, enabling\n    the capture of previously difficult-to-parse bots, allowing for more\n    precise targeting and better analytics.\n\nChanges to GoAccess 1.9.3 - Friday, May 31, 2024\n\n  - Added additional common bots to the list.\n  - Added Address Sanitizer via '--enable-asan' to the configure options for\n    debugging purposes.\n  - Fixed inability to parse JSON keys containing dots.\n  - Fixed out-of-bounds access for invalid HTTP status codes.\n  - Fixed out-of-bounds access when parsing a log in serial processing mode.\n  - Fixed regression introduced in 8f570c, which caused duplicate counts upon\n    restoring from disk via '--restore'.\n\nChanges to GoAccess 1.9.2 - Friday, April 12, 2024\n\n  - Added World Map to the Geo Location panel on the HTML report.\n  - Added additional non-official/standard HTTP status codes such as Caddy's 0\n    HTTP status among others.\n  - Added support for '%z' on strptime for non-glibc systems, such as musl libc\n    in Alpine Linux (Docker container), enabling the use of '--tz'\n  - Changed the '--hide/ignore-referrer' options to filter by hostname directly\n    without the use of wildcards, e.g., '--ignore-referrer=wiki.google.com'.\n  - Fixed inability to parse duplicate specifiers during log format parsing.\n  - Fixed regression which previously hindered the ability to modify log, date,\n    and time formats within the TUI dialog. i.e., '# goaccess access.log -c'.\n  - Replaced 'remote_ip' with 'client_ip' for Caddy's JSON format, allowing the\n    use of trusted proxies.\n  - Updated Caddy JSON example log format to handle headers correctly.\n  - Updated Swedish i18n.\n\nChanges to GoAccess 1.9.1 - Tuesday, February 05, 2024\n\n  - Added support for macOS to the OS detection.\n  - Fixed C99 mode issue with initial declarations [CentOS7].\n  - Fixed minor typographical, orthographic, and grammatical errors in the\n    German translation.\n  - Fixed a regression issue wherein parsing would halt at the first empty log\n    file.\n\nChanges to GoAccess 1.9 - Tuesday, January 30, 2024\n\n  - Added multi-threaded log processing with '--jobs=<num>' for a boost in\n    parsing speed, achieving an improvement ranging from 1.26 to 3.65x faster.\n  - Added the 'SEARCH' method to the list of HTTP request methods.\n  - Added compatibility to include the Traefik log format.\n  - Added the ability to gracefully handle SIGQUIT as a signal for shutdown.\n  - Altered WebSocket server initialization, ensuring it takes place after\n    log-format checks.\n  - Deprecated '--output-format'; now, only the '--output' option is\n    permissible.\n  - Implemented mutex locking to prevent a TZ environment race condition.\n  - Fixed a potential heap overflow when checking a request for bots.\n  - Fixed sorting of child items on HTML panels when sorting a column via the\n    UI.\n  - Fixed an issue where, in some cases, the referer host wouldn't be extracted\n    properly\n  - Fixed the miscategorization of Android 12.1 under operating systems.\n  - Fixed TUI and temporarily ignored SIGINT during subdialog execution via\n    Ctrl+C.\n  - Updated the list of browsers/bots.\n\nChanges to GoAccess 1.8.1 - Tuesday, October 31, 2023\n\n  - Added latest Android and macOS versions to the list of OSs.\n  - Fixed issue when trying to apply a regex on an invalid value (HTML report).\n  - Fixed issue with D3.js xScale.domain() going out of boundaries in certain\n    cases.\n  - Prevent setting default static files when no static-file options are\n    defined in config file.\n\nChanges to GoAccess 1.8 - Saturday, September 30, 2023\n\n  - Added dual-stack support to the WebSocket server.\n  - Added Debian Bookworm to the official deb repo.\n  - Added Ubuntu Lunar to the official deb repo.\n  - Fixed compiler error on macOS 10.12.\n  - Updated bootstrap to v3.4.\n  - Updated FontAwesome with additional icons for upcoming major release.\n  - Updated Japanese translation.\n  - Updated OS display from Macintosh to macOS.\n  - Updated to D3.js v7 (latest) including charts.js code.\n\nChanges to GoAccess 1.7.2 - Friday, March 31, 2023\n\n  - Added a color-coding scheme to HTTP status codes.\n  - Added '--external-assets' command line option to output external JS+CSS\n    files. Great when used with Content Security Policy (CSP).\n  - Ensure there's a fallback for 'Windows' if it appears on the user-agent.\n  - Ensure we construct the WebSocket URL in a way that supports multiple use\n    cases when used along '--ws-url' and '--port'.\n  - Fixed a segfault due to a null pointer exception on FreeBSD.\n  - Fixed build with '--disable-nls'.\n  - Fixed invalid read (heap-buffer-overflow) when parsing an XFF spec via\n    JSON.\n  - Fixed segfault when parsing a specific XFF specifier.\n\nChanges to GoAccess 1.7.1 - Tuesday, February 28, 2023\n\n  - Added 'inlang' for easy localization (i18n) updates.\n    https://inlang.com/editor/github.com/allinurl/goaccess\n  - Added nanosecond parsing option via the '%n' specifier. Great for parsing\n    'Traefik' JSON logs duration field.\n  - Changed Docker workflow to build a docker image on different architectures\n    {'arm64' & 'amd64'}.\n  - Fixed issue with '--unknowns-as-crawlers' where it did not process them as\n    such.\n\nChanges to GoAccess 1.7 - Saturday, December 31, 2022\n\n  - Added an option to classify unknown OS and browsers as crawlers using\n    `--unknowns-as-crawlers`.\n  - Added highlighting to certain metrics on the HTML report for readability.\n  - Added a new panel that displays ASN data for GeoIP2 and legacy databases.\n    Great for detecting malicious traffic and blocking accordingly.\n  - Added an ASN metric per IP/host.\n  - Changed and prioritize user's browsers list over heuristics.\n  - Ensure `--geoip-database=<path>` can be used multiple times to support\n    different databases.\n  - Fixed invalid read when loading the list of agents for an IP.\n  - Fixed issue where a file containing a NUL `\\0` character would crash the\n    program.\n  - Updated Swedish i18n.\n\nChanges to GoAccess 1.6.5 - Monday, October 31, 2022\n\n  - Updated Dockerfile build stage to use alpine:3.\n  - Updated deb build to use the right libncursesw6 dependency.\n\nChanges to GoAccess 1.6.4 - Friday, September 30, 2022\n\n  - Added Korean translation (i18n).\n  - Added the ability to use filenames as virtualhosts using\n    '--fname-as-vhost=<regex>'.\n  - Enabled crawlers/bots under the OSs panel instead of being shown as\n    'Unknown'.\n  - Updated the format on the command-line help output.\n\nChanges to GoAccess 1.6.3 - Thursday, August 31, 2022\n\n  - Enabled DNS thread when resolving a host and outputting real-time HTML.\n    This helps avoid stalling the WS server on busy connections.\n  - Fixed issue where it would not properly parse an XFF if the '%h' specifier\n    was already set.\n  - Fixed possible XSS issues when using '--html-custom-css' and\n    '--html-custom-js' by allowing valid filenames.\n\nChanges to GoAccess 1.6.2 - Thursday, July 14, 2022\n\n  - Added `Android 12` to the list of OSs.\n  - Added `macOS 12 Ventura` to the list of OSs.\n  - Fixed implicit declaration build issue due to `timegm(3)` on `BSDs` and `macOS`.\n  - Fixed issue where timezone conversion would be performed twice on a given\n    date.\n\nChanges to GoAccess 1.6.1 - Thursday, June 30, 2022\n\n  - Added a `--ping-interval=<secs>` in an attempt to keep the WebSocket\n    connection opened.\n  - Added support for timezone conversion via `--datetime-format=<format>` and\n    `--tz=<timezone>`.\n  - Added the ability to reconnect to the WebSocket server after 1 sec with\n    exponential backoff (x20).\n  - Fixed issue where an invalid client connection would stall data out to\n    clients via the WebSocket server.\n  - Fixed an issue where real-time data would be parsed multiple times under `Cygwin`.\n\nChanges to GoAccess 1.6 - Tuesday, May 31, 2022\n\n  - Changed slightly how the XFF field is specified. See man page for details.\n  - Ensure city is displayed with the DBIP City Lite database.\n  - Ensure no 'cleaning up resources' message  is displayed if `--no-progress`\n    is passed.\n  - Ensure the maximum number of items per panel defaults to 1440 (24hrs) when\n    passing `--date-spec=min`.\n  - Fixed issue when parsing a delimited XFF field followed by a host IP.\n  - Fixed issue where some data was buffered on the WebSocket server before it\n    was sent to each client.\n  - Fixed issue where the WebSocket server would fail with POLLNVAL consuming\n    100% CPU.\n  - Fixed segfault when attempting to open an unresolved IP on mac/BSDs.\n\nChanges to GoAccess 1.5.7 - Thursday, April 28, 2022\n\n  - Updated Caddy's JSON format. This should address CADDY's v2.5.0 change.\n  - Updated Chinese translation (i18n).\n  - Updated GeoIP module so it defaults to native language name (i18n) or\n    fall-back to English.\n  - Updated Russian translation (i18n).\n  - Updated Ukrainian translation (i18n).\n\nChanges to GoAccess 1.5.6 - Wednesday, March 30, 2022\n\n  - Added `--anonymize-level=<1|2|3>` option to specify IP anonymization level.\n  - Added minute specificity to the Visitors panel via `--date-spec=min`.\n  - Added the ability to toggle on/off panels on the HTML report.\n  - Changed stderr to stdout on non-error output when exiting goaccess.\n\nChanges to GoAccess 1.5.5 - Monday, January 31, 2022\n\n  - Added mechanism to automatically parse additional bots.\n  - Changed area chart interpolation to 'monotone'. This should avoid the issue\n    where the interpolated curve has a bend into the negative space.\n  - Changed build to use debugging symbols even for release builds.\n  - Changed order on which we verify bots to be the first thing we check. This\n    adds a slight improvement on parsing time.\n  - Ensure we initialize DNS resolver conditions and mutexes before they're used.\n  - Fixed possible buffer over-read for cases where a '\\0' could be reached\n    early when parsing a log line.\n  - Fixed possible data race on UI spinner thread.\n  - Fixed regression where a lot of robots were not detected by GoAccess.\n\nChanges to GoAccess 1.5.4 - Saturday, December 25, 2021\n\n  - Added AWS ALB to the predefined logs format list --log-format=AWSALB.\n  - Ensure we lock our pipe/websocket writer before broadcasting message.\n  - Ensure we require a valid host token even when we're not validating the IP.\n  - Ensure we simply update the TUI once after tailing multiple files.\n  - Ensure we simply update the UI once after tailing multiple files.\n  - Fixed buffer overflow when checking if an HTTP code was a 404 on an empty\n    status code.\n  - Optimized terminal and HTML UI output when tailing multiple files.\n  - Updated DB PATH error message to be more descriptive.\n\nChanges to GoAccess 1.5.3 - Thursday, November 25, 2021\n\n  - Added additional crawlers to the default list.\n  - Added Italian translation (i18n).\n  - Added 'macOS 12' to the list of OS.\n  - Fixed buffer overflow caused by an excessive number of invalid requests\n    with multiple logs.\n  - Fixed visualization issue on the HTML report for panels with disabled\n    chart.\n\nChanges to GoAccess 1.5.2 - Tuesday, September 28, 2021\n\n  - Added .avi to the list of static requests/extensions.\n  - Changed label from 'Init. Proc. Time' to 'Log Parsing Time'.\n  - Fixed issue where lengthy static-file extension wouldn't account certain\n    valid requests.\n  - Fixed possible buffer underflow when checking static-file extension.\n  - Fixed segfault when attempting to parse an invalid JSON log while using a\n    JSON log format.\n  - Fixed segfault when ignoring a status code and processing a line > '4096'\n    chars.\n\nChanges to GoAccess 1.5.1 - Wednesday, June 30, 2021\n\n  - Changed official deb repo so it now builds '--with-getline' in order to\n    support request lines longer than 4096.\n  - Ensure there's no tail delay if the log file hasn't changed.\n  - Fixed data race when writing to a self-pipe and attempting to stop the WS server.\n  - Fixed inability to close expanded panel when pressing 'q' on TUI.\n  - Fixed possible data race during parsing spinner label assignment.\n  - Increased the maximum number of files to monitor from '512' to '3072'.\n\nChanges to GoAccess 1.5 - Wednesday, May 26, 2021\n\n  - Added a Docker container based isolated build environment (Debian).\n  - Added Dark Mode detection to the HTML report.\n  - Added the ability for the WebSocket server to bind to a Unix-domain socket.\n  - Added the ability to parse IPs enclosed within brackets (e.g., IPv6).\n  - Changed categorization of requests containing 'CFNetwork' to 'iOS' when\n    applicable.\n  - Changed command line option from '--hide-referer' to '--hide-referrer'.\n  - Changed command line option from '--ignore-referer' to '--ignore-referrer'.\n  - Fixed a potential division by zero.\n  - Fixed inability to parse IPv6 when using a 'CADDY' log format.\n  - Fixed issue where a 'BSD' OS could be displayed as Linux with certain\n    user-agents.\n  - Fixed memory leak when a JSON value contained an empty string (e.g.,\n    JSON/CADDY format).\n  - Fixed possible buffer overflow on a WS packet coming from the browser.\n  - Refactored a substantial part of the storage codebase for upcoming\n    filtering/search capabilities (issue #117).\n  - Refactored DB storage to minimize memory consumption up to '35%'.\n  - Updated default 'AWS Elastic Load Balancing' log format.\n  - Updated German translation.\n  - Updated page size to 24 on the HTML report.\n  - Updated UNIX OS categories.\n\nChanges to GoAccess 1.4.6 - Sunday, February 28, 2021\n\n  - Added additional feed reader clients.\n  - Added additional browsers and bots to the main list.\n  - Added command line option '--unknowns-log' to log unknown browsers and\n    OSs.\n  - Added 'Referer' to the pre-defined 'Caddy JSON' log format.\n  - Added support for real-time piping as non-root user.\n  - Added the ability to Handle case when IPv4 is encoded as IPv6 in\n    GeoIP1/legacy.\n  - Ensure we capture linux (lowercase) when extracting an OS.\n  - Fixed a regression in parsing Google Cloud Storage or possibly other\n    non-JSON formats.\n  - Fixed inability to parse escaped formats.\n  - Fixed issue when using '%s' with 'strptime(3)' under musl libc. This\n    addresses mostly the Docker image.\n  - Fixed possible buffer over-read for certain log-format patterns.\n  - Fixed segfault when attempting to process a malformed JSON string.\n  - Fixed segfault when setting an empty log-format from the TUI dialog.\n  - Fixed sorting on hits and visitors when larger than INT_MAX.\n  - Updated CloudFront pre-defined log-format to reflect the latest fields.\n  - Updated 'Dockerfile' image to use 'alpine:3.13' instead of edge due to\n    compatibility issue with the GNU coreutils.\n\nChanges to GoAccess 1.4.5 - Tuesday, January 26, 2021\n\n  - Fixed build issue due to initial declarations only allowed in C99 mode\n    (e.g., CentOS7).\n\nChanges to GoAccess 1.4.4 - Monday, January 25, 2021\n\n  - Added 'Caddy' to the list of pre-defined log formats.\n  - Added command line option '--no-strict-status' to disable status validation.\n  - Added native support to parse JSON logs.\n  - Added the ability to process timestamps in milliseconds using '%*'.\n  - Ensure TUI/CSV/HTML reports are able to output 'uint64_t' data.\n  - Ensure we allow UI render if the rate at which data is being read is\n    greater than '8192' req/s.\n  - Ensure we don't re-render Term/HTML output if no data was read/piped.\n  - Fixed build configure to work on NetBSD.\n  - Fixed issue where it would send data via socket each second when managed\n    by systemd.\n  - Fixed issue where parser was unable to parse syslog date with padding.\n  - Fixed issue where some items under browsers.list were not tab separated.\n  - Fixed issue where the format parser was unable to properly parse logs\n    delimited by a pipe.\n  - Fixed issue where T.X. Amount metrics were not shown when data was piped.\n  - Fixed issue where XFF parser could swallow an additional field.\n  - Fixed memory leak when using '%x' as date/time specifier.\n  - Replaced select(2) with poll(2) as it is more efficient and a lot faster\n    than select(2).\n  - Updated Swedish i18n.\n\nChanges to GoAccess 1.4.3 - Friday, December 04, 2020\n\n  - Added the ability to set how often goaccess will parse data and output to\n    the HTML report via '--html-refresh=<secs>'.\n  - Changed how TLS is parsed so the Cypher uses a separate specifier.\n    It now uses '%K' for the TLS version and '%k' for the Cypher.\n  - Fixed issue where real-time output would double count a rotated log. This\n    was due to the change of inode upon rotating the log.\n  - Updated man page to reflect proper way of 'tail -f' a remote access log.\n\nChanges to GoAccess 1.4.2 - Monday, November 16, 2020\n\n  - Added the ability to show 'Encryption Settings' such as 'TLSv1.2' and\n    Cipher Suites on its own panel.\n  - Added the ability to show 'MIME Types' such as 'application/javascript' on\n    its own panel.\n  - Changed Debian build to use mmdb instead of libgeoip (legacy).\n  - Ensure the HTML report defaults to widescreen if viewport is larger than\n    '2560px'.\n  - Fixed inability to properly process multiple logs in real-time.\n  - Fixed issue where named PIPEs were not properly seed upon generating\n    filename.\n  - Fixed issue where served time metrics were not shown when data was piped.\n  - Removed unnecessary padding from SVG charts. Improves readability on mobile.\n\nChanges to GoAccess 1.4.1 - Monday, November 09, 2020\n\n  - Added additional browsers and bots to the main list.\n  - Added 'Android 11' to the list of OSs.\n  - Added 'macOS 11.0 Big Sur' to the list of OSs.\n  - Added 'average' to each panel overall metrics.\n  - Added '.dmg', '.xz', and '.zst' to the static list.\n  - Added extra check to ensure restoring from disk verifies the content of the\n    log against previous runs.\n  - Added Russian translation (i18n).\n  - Added Ukrainian translation (i18n).\n  - Added support for HTTP status code '308'.\n  - Added the ability for 'get_home ()' to return NULL on error, instead of\n    terminating the process. Great if using through systemd.\n  - Added the ability to read lowercase predefined log formats. For instance,\n    '--log-format=COMBINED' or '--log-format=combined'.\n  - Changed how FIFOs are created and avoid using predictable filenames under\n    '/tmp'.\n  - Changed '--ignore-referer' to use whole referrer instead of referring site.\n  - Ensure Cache Status can be parsed without sensitivity to case.\n  - Ensure restored data enforces '--keep-last' if used by truncating\n    accordingly.\n  - Fixed a few memory leaks when restoring from disk.\n  - Fixed blank time distribution panel when using timestamps.\n  - Fixed build issue due to lack of 'mmap' on 'Win'/'Cygwin'/'MinGW'.\n  - Fixed crash in mouse enabled mode.\n  - Fixed double free on data restore.\n  - Fixed inability to keep processing a log when using '--keep-last'.\n  - Fixed inability to properly parse truncated logs.\n  - Fixed inability to properly count certain requests when restoring from\n    disk.\n  - Fixed issue where it would not parse subsequent requests coming from stdin (tail).\n  - Fixed issue where log truncation could prevent accurate number counting.\n  - Fixed issue where parsed date range was not rendered with '--date-spec'.\n  - Fixed issue where parser would stop regardless of a valid '--num-test' value.\n  - Fixed issue where restoring from disk would increment 'MAX.TS'.\n  - Fixed possible incremental issue when log rotation occurs.\n  - Fixed possible XSS when getting real-time data into the HTML report.\n  - Fixed potential memory leak when failing to get root node.\n  - Fixed real-time hits count issue for certain scenarios.\n  - Fixed segfault in 'Docker' due to a bad allocation when generating FIFOs.\n  - Fixed 'Unknown' Operating Systems with 'W3C' format.\n  - Removed unnecessary include from parser.c so it builds in macOS.\n  - Updated each panel overall UI to be more streamlined.\n  - Updated French translation.\n  - Updated German translation.\n  - Updated Spanish translation.\n  - Updated sigsegv handler.\n\nChanges to GoAccess 1.4 - Monday, May 18, 2020\n\n  - Added a caching storage mechanism to improve parsing raw data and data\n    rendering.\n  - Added a mechanism to avoid counting duplicate data when restoring persisted\n    data from disk.\n  - Added additional option to the HTML report to set a maximum number of items\n    per page to 3.\n  - Added a list of podcast-related user agents under '%sysconfdir%'.\n  - Added 'Android 10' to the list of Android codenames.\n  - Added a 'widescreen' layout to the HTML report (e.g., 4K TV/KPI Dashboard).\n  - Added 'Beaker', 'Brave', and 'Firefox Focus' to the list of browsers\n  - Added command line option --user-name=username to avoid running GoAccess as\n    root when outputting a real-time report.\n  - Added 'DuckDuckGo' and 'MSNBot' browsers to the browsers.list.\n  - Added 'facebookexternalhit' to the default crawler list.\n  - Added German translation (DE).\n  - Added Kubernetes Nginx Ingress Log Format to the default config file.\n  - Added 'macOS Catalina' to the list of OSX codenames.\n  - Added minor CSS updates to HTML report.\n  - Added missing header '<sys/socket.h>' to fix FreeBSD build\n  - Added new 'Edg' token to the list of browsers.\n  - Added '--no-ip-validation' command line to disable client IP validation\n  - Added '--persist' and '--restore' options to persist to disk and restore a\n    dump from disk.\n  - Added Portuguese translation (pt-BR)\n  - Added Swedish translation (SV)\n  - Added the ability to parse server cache status and a new panel to display\n    those metrics.\n  - Changed accumulated time to work by default on '--persist' and '--restore'.\n  - Changed back how the hits and visitors percentage is calculated to be more\n    intuitive.\n  - Changed Geo Location panel display default to show only if database file is\n    provided ('LIBMAXMINDDB').\n  - Changed initial processing time from secs to HH:MM:SS in HTML output.\n  - Changed '--max-items' for the static HTML report to allow no limit on\n    output entries.\n  - Changed required 'gettext' version to 0.19\n  - Changed to ignore 'SIGPIPE' with 'SIG_IGN'\n  - Changed version to 10.15 for 'macOS Catalina'.\n  - Ensure proper escaping on default AWSELB log format.\n  - Ensure valid requests counter is not affected on duplicate entries when\n    restoring data.\n  - Fixed issue preventing Ctrl-C (SIGINT) for the curses interface to stop the\n    program.\n  - Fixed issue where HTML report wouldn't update the tables when changing per\n    page option.\n  - Fixed issue where it wouldn't find either the user's or global config file.\n  - Fixed issue where changing the number of items per page in the HTML report\n    would not automatically refresh the tables.\n  - Fixed issue where last updated label was not updated in real-time.\n  - Fixed issue where overall date range wasn't showing the right start/end parse\n    dates.\n  - Fixed issue where tailing a file could potentially re-parse part of the log.\n  - Fixed memory leak when fetching country/continent while using 'LIBMAXMINDDB'.\n  - Fixed several '-Wcast-qual' warnings.\n  - Fixed unwanted added characters to the HTML output.\n  - Fixed websocket issue returning a 400 due to request header size.\n  - Increased 'MAX_LINE_CONF' so a JSON string can be properly parsed from the\n    config file.\n  - Removed deprecated option '--geoip-city-data' from config file.\n  - Removed unnecessary dependency from snapcraft.yaml.\n  - Removed Vagrantfile per #1410\n  - Removed some old browsers from the default curated list.\n  - Replaced TokyoCabinet storage for a non-dependency in-memory persistent\n    storage.\n  - Updated Dockerfile.\n\nChanges to GoAccess 1.3 - Friday, November 23, 2018\n\n  - Added ability to store accumulated processing time into DB_GEN_STATS tcb\n    file via '--accumulated-time' command line option.\n  - Added additional Apache status codes to the list.\n  - Added a few feed readers to the list.\n  - Added 'Android 8 Oreo' to the list of OSs.\n  - Added 'Android Pie 9' to the list of OSs.\n  - Added --anonymize-ip command line option to anonymize ip addresses.\n  - Added --browsers-file command line option to load a list of crawlers from a\n    text file.\n  - Added byte unit (PiB) to C formatter and refactored code.\n  - Added byte unit (PiB) to JS formatter.\n  - Added Chinese translation (i18n).\n  - Added French translation (i18n).\n  - Added '%h' date specifier to the allowed date character specifiers.\n  - Added \"HeadlessChrome\" to the list of browsers.\n  - Added --hide-referer command line option to hide referrers from report.\n  - Added HTTP status code 429 (TOO MANY REQUESTS).\n  - Added IGNORE_LEVEL_PANEL and IGNORE_LEVEL_REQ definitions.\n  - Added Japanese translation (i18n).\n  - Added macOS 10.14 Mojave to the list of OSs.\n  - Added \"Mastodon\" user-agent to the list of crawlers/unix-like.\n  - Added new fontawesome icons and use angle arrows in HTML paging.\n  - Added new purple theme to HTML report and default to it.\n  - Added --no-parsing-spinner command line option to switch off parsing\n    spinner.\n  - Added .ogv and ogg static file extension (ogg video, Ogg Vorbis audio).\n  - Added OS X version numbers when outputting with --real-os.\n  - Added parsing mechanism in an attempt capture more bots and to include\n    unspecified bots/crawlers.\n  - Added --pidfile command line option to the default config file.\n  - Added Spanish translation (i18n).\n  - Added SSL support for Docker goaccess build.\n  - Added support to the WebSocket server for openssl-1.1*.\n  - Added the ability to show/hide a chart per panel in the HTML report.\n  - Added transparency to the navigation bar of the HTML report.\n  - Added \"WhatsApp\" user-agent to the list of crawlers.\n  - Changed default db folder so it adds the process id (PID). --db-path is\n    required now when using --load-from-disk.\n  - Changed Dockerfile to build from the current source.\n  - Changed 'hits' to be right-aligned on TUI.\n  - Changed to use faster slide animations on HTML report.\n  - Changed wording from 'Bandwidth' to the proper term 'Tx. Amount'.\n  - Ensure database filenames used by btree are less predictable.\n  - Ensure HTML templates, CSS and JS files are minified when outputting\n    report.\n  - Ensure key phrases from Google are added even when https is used.\n  - Ensure live report updates data & charts if tab/document has focus.\n  - Ensure multiple 'Yandex' crawlers are properly parsed.\n  - Ensure Safari has priority over most crawlers except the ones that are\n    known to have it.\n  - Ensure the request protocol on its own is properly parsed.\n  - Ensure the right number of tests are performed against the given log.\n  - Ensure user configuration is parsed first when available.\n  - Ensure wss:// is used when connecting via HTTPS.\n  - Ensure XFF parser takes into account escaped braces.\n  - Fixed a regression where fifo-in/out would fail with ENXIO.\n  - Fixed a regression where it would return EXIT_FAILURE on an empty log.\n  - Fixed a (ssh) pipeline problem with fgetline()/fgets() when there is a race\n    for data on stdin.\n  - Fixed broken X-Forwarded-For (XFF) %~ specifier in certain parsing cases.\n  - Fixed conf.filenames duplication problem if logs are via pipe.\n  - Fixed float percent value on JSON/HTML output for locales using decimal comma.\n  - Fixed issue where it was not possible to establish a Web Socket connection\n    when attempting to parse and extract HTTP method.\n  - Fixed issue where log formats with pipe delimiter were not properly parsed.\n  - Fixed memory leak after config file path has been set (housekeeping).\n  - Fixed memory leak when adding host to holder introduced in c052d1ea.\n  - Fixed possible memory leak when hiding specific referrers.\n  - Fixed several JS jshint warnings.\n  - Fixed sudo installs on TravisCI.\n  - Fixed UNDEFINED time range in HTML report when VISITORS panel was ignored.\n  - Fixed unnecessary closing span tags from template.\n  - Fixed use-after-free when two color items were found on color_list.\n\nChanges to GoAccess 1.2 - Tuesday, March 07, 2017\n\n  - Added a Dockerfile.\n  - Added Amazon S3 bucket name as a VirtualHost (server block).\n  - Added a replacement for GNU getline() to dynamically expand line buffer\n    while maintaining real-time output.\n  - Added --daemonize command line option to run GoAccess as daemon.\n  - Added several improvements to the HTML report on small-screen devices.\n  - Added option to the HTML report to auto-hide tables on small-screen\n    devices.\n  - Added --process-and-exit command line option to parse log and exit.\n  - Added several feed readers to the list of browsers.\n  - Added \"-\" single dash per convention to read from the standard input.\n  - Added support for MaxMind GeoIP2.\n  - Added the ability to read and follow from a pipe such as\n    \"tail -f access.log | goaccess -\"\n  - Added the ability to specify multiple logs as input sources, e.g.:\n    \"goaccess access.log access.log.1\" while maintaining real-time output.\n  - Added time unit (seconds) to the processed time label in the HTML/terminal\n    output.\n  - Added visitors' percent column to the terminal dashboard.\n  - Changed D3 charts to dim Y-axis on mouseover.\n  - Changed D3 charts to reflect HTML column sort.\n  - Changed D3 charts to render only if within the viewport. This improves the\n    overall real-time HTML performance.\n  - Changed HTML report tables to render only if within the viewport.\n  - Changed percentage calculation to be based on the total within each panel.\n  - Ensure start/end dates are updated real-time in the HTML output.\n  - Ensure \"window.location.hostname\" is used as the default WS server host.\n    In most cases, this should avoid the need for specifying \"--ws-url=host\".\n    Simply using \"--real-time-html\" should suffice.\n  - Fixed issue on HTML report to avoid outputting scientific notation for all\n    byte sizes.\n  - Fixed integer overflow when calculating bar graph length on terminal\n    output.\n  - Fixed issue where global config file would override command line arguments.\n  - Fixed issue where it wouldn't allow loading from disk without specifying a\n    file when executed from the cron.\n  - Fixed issue where parser couldn't read some X-Forwarded-For (XFF) formats.\n    Note that this breaks compatibility with the original implementation of\n    parsing XFF, but at the same time it gives much more flexibility on different\n    formats.\n  - Fixed issue where specifying fifo-in/out wouldn't allow HTML real-time\n    output.\n  - Fixed issue where the wrong number of parsed lines upon erroring out was\n    displayed.\n  - Fixed issue where the WebSocket server prevented to establish a connection\n    with a client due to invalid UTF-8 sequences.\n  - Fixed percent issue when calculating visitors field.\n  - Updated the list of crawlers.\n\nChanges to GoAccess 1.1.1 - Wednesday, November 23, 2016\n\n  - Added data metric's \"unique\" count on each panel to the JSON/HTML outputs.\n  - Changed D3 bar charts to use .rangeBands and avoid extra outer padding.\n  - Fixed mouseover offset position issue on D3 bar charts.\n  - Fixed possible heap overflow when an invalid status code was parsed and\n    processed. This also ensures that only valid HTTP status codes are parsed\n    >=100 or <= 599.\n  - Fixed sluggish D3 chart re-rendering by changing how x-axis labels are\n    displayed in the HTML report.\n\nChanges to GoAccess 1.1 - Tuesday, November 08, 2016\n\n  - Added a new layout to the HTML report and additional settings and changes.\n  - Added --crawlers-only command line option to display crawlers/bots only.\n  - Added --fifo-in and --fifo-out command line options to set websocket FIFO\n    reader/writer.\n  - Added --no-html-last-updated command line option.\n  - Added --num-tests command line option.\n  - Added --html-prefs command line option to to set default preferences for\n    the HTML report.\n  - Added \"Amazon S3\" Log Format to the list of predefined options.\n  - Added \"Android 7.1 Nougat\" to the list of OSs.\n  - Added \"Android Marshmallow 6.0.1\" to the list of OSs.\n  - Added \"Android Nougat 7.0\" to the list of OSs.\n  - Added \"Feed Wrangler\" to the list of feeds.\n  - Added \"Go-http-client\" to the list of browsers.\n  - Added \"MicroMessenger\" (WeChat) to the list of browsers.\n  - Added \"SemrushBot\" to the list of crawlers.\n  - Added \"Remote User\" panel to capture HTTP authentication requests. Use %e\n    within the log-format variable to enable this panel.\n  - Added tebibyte unit to the byte to string function converter.\n  - Added the ability to parse reverse proxy logs that have multiple IPs. This\n    adds the ability to parse the \"X-Forwarded-For\" field in a reverse proxy\n    setup.\n  - Added the ability to show which token didn't match log/date/time pattern.\n    This also ensures that in the absence of data, its output is not treated as\n    error but instead it produces an empty report.\n  - Added the ability to specify a WebSocket protocol (ws|wss) through\n    --ws-url.\n  - Added the request query string to the W3C format.\n  - Added TLS/SSL support to the HTML real-time report.\n  - Changed browser classification for Google Cloud Clients.\n  - Changed how \"Darwin\" OS was reported to display AppName instead.\n  - Changed default W3C log format to use the URL path instead of full request.\n  - Changed HTML default number of items on each table to 7.\n  - Changed request parser to allow empty query strings.\n  - Changed default HTML output theme to darkBlue.\n  - Ensure every version of iOS is broken down under the OS panel.\n  - Ensure latest JSON data is fast-forwarded when connection is opened.\n    GoAccess now sends the latest JSON data to the client as soon as the\n    WebSocket connection is opened.\n  - Ensure localStorage is supported and enabled in the HTML report\n  - Ensure unknown countries/continents are listed.\n  - Fixed D3 chart width overflow issue on Edge.\n  - Fixed integer to string key conversion for unique visitors. This fixes the\n    issue where resulting keys would collide with existing keys and thus not\n    keeping the right visitors count on certain panels.\n  - Fixed memory leak when unable to URL decode %q specifier.\n  - Fixed memory leak when unable to URL decode %U specifier.\n  - Fixed month name abbreviation on app.js.\n  - Fixed percentage integer overflow with large numbers on 32bits platforms.\n  - Fixed percent calculation due to integer division rounding to zero.\n  - Fixed possible code injection when outputting an HTML report.\n  - Fixed segfault when using options -H or -M without an argument.\n  - Removed timestamp from the HTML report title tag.\n\nChanges to GoAccess 1.0.2 - Tuesday, July 05, 2016\n\n  - Added minor changes to the HTML report stylesheet.\n  - Added the ability to specify the WebSocket port within --ws-url.\n  - Added the proper byte swap functions used by Sun Solaris.\n  - Added the proper default --http-method/protocol values on the config file.\n  - Changed bar transition to scale delay dynamically to the length of the\n    dataset.\n  - Fixed build issue on platforms lacking of open_memstream() by refactoring\n    the JSON module to use its own memory buffer.\n  - Fixed issue where the server wouldn't send cached buffer to slow clients.\n  - Fixed OS X build check of ncursesw.\n  - Implemented a throttle mechanism for slow clients to avoid caching too much\n    data on the server-side.\n  - Removed flickering on D3 line and bar chart redraw.\n\nChanges to GoAccess 1.0.1 - Friday, June 17, 2016\n\n  - Added Android version number along with the codename when using --real-os,\n    e.g., \"Lollipop 5.1\".\n  - Added some missing headers and function checks to configure.ac.\n  - Fixed a regression where it wouldn't allow abbreviated date and time\n    formats such as %F or %T.\n  - Fixed build issues on systems running GLIBC older than 2.9, such as RHEL <= 5.\n  - Fixed issue where it wouldn't send the whole buffer to a socket causing the\n    real-time-html WebSocket server to progressively consume a lot more memory.\n  - Fixed memory leak when using getline and follow mode enabled.\n  - Fixed some buffer initialization issues on read_line() and\n    perform_tail_follow().\n  - Fixed uint types in sha1 files.\n\nChanges to GoAccess 1.0 - Thursday, June 09, 2016\n\n  - Added --enable-panel=<PANEL> command line option to display the given\n    module.\n  - Added --json-pretty-print command line option to output pretty json.\n  - Added --log-format=<format> command-line shortcuts for standard log\n    formats.\n  - Added --origin command line option to match the origin WebSocket header.\n  - Added --output=<file.[html|csv|json]> as a shortcut to --output-format.\n  - Added a complete real-time functionality to the HTML output.\n  - Added an option to set the max number of items to show per panel.\n  - Added D3 Visualziations to the HTML dashboard.\n  - Added metadata metrics to the each of the panels (JSON output)\n  - Added option to specify time distribution specificity.\n  - Added the ability to download a JSON file from the HTML report.\n  - Added the ability to output multiple formats on a single log parse.\n  - Added the ability to set the date specificity in hours.\n  - Added the ability to sort all HTML tables on all panels.\n  - Added the ability to specify a custom CSS and JS file to the HTML report.\n  - Added user-agents to the JSON output per each host.\n  - Added \"Vivaldi\" to the list of browsers.\n  - Bootstrapify the HTML dashboard.\n  - Changed configure.ac to use LDFLAGS instead of CFLAGS where applicable.\n  - Changed default terminal color scheme to 256 Monokai if terminal supports 256 colors.\n  - Changed GoAccess license to The MIT License (MIT)\n  - Changed the visitors panel to display its dates continuously instead of top.\n  - Default to 256 Monokai color scheme if terminal supports 256 colors.\n  - Default to display HTTP method/protocol (if applicable).\n  - Display the children's Max. T.S. as the parent's top Max. T.S.\n  - Ensure the parent's Avg. T.S. displays parent's Cum. T.S. over parent's Hits.\n  - Fixed color issue when switching from the color scheme dialog.\n  - Fixed cross platform build issue when ncurses is built with and without\n    termlib=tinfo.\n  - Fixed curses header window issue where it wouldn't clear out on small\n    window sizes.\n  - Fixed issue where tail mode wouldn't parse full lines using getline().\n  - Fixed minor background color issue when using ncurses 6.\n  - Fixed possible division by zero when calculating percentage.\n  - Fixed singly link list node removal.\n  - Fixed still reachable memory leak on GeoIP cleanup (geoip legacy >= 1.4.7).\n  - Fixed various Valgrind's still reachable memory leaks.\n  - Removed -Wredundant-decls.\n\nChanges to GoAccess 0.9.8 - Monday, February 29, 2016\n\n  - Added a more complete list of static extensions to the config file.\n  - Added \"Android 6.0 Marshmallow\" to the list of OSs.\n  - Added --no-tab-scroll command line option to disable scroll through panels\n    on TAB.\n  - Added the first and last log dates to the overall statistics panel.\n  - Ensure GoAccess links correctly against libtinfo.\n  - Ensure static content is case-insensitive verified.\n  - Fixed bandwidth overflow issue (numbers > 2GB on non-x86_64 arch).\n  - Fixed broken HTML layout when html-method/protocol is missing in config file.\n  - Refactored parsing and display of available modules/panels.\n\nChanges to GoAccess 0.9.7 - Monday, December 21, 2015\n\n  - Added \"Squid native\" log format to the config file.\n  - Fixed integer overflow when getting total bandwidth using the on-disk\n    storage.\n  - Fixed issue where a timestamp was stored as date under the visitors panel.\n  - Fixed issue where config dialog fields were not cleared out on select.\n  - Fixed issue where \"Virtual Hosts\" menu item wasn't shown in the HTML sidebar.\n\nChanges to GoAccess 0.9.6 - Tuesday, October 27, 2015\n\n  - Added --dcf command line option to view the default config file path.\n  - Added --ignore-status the ability to ignore parsing status codes.\n  - Added \"Darwin\" to the list of OSs.\n  - Fixed segfault when appending data to a log (follow) without virtualhosts.\n\nChanges to GoAccess 0.9.5 - Thursday, October 22, 2015\n\n  - Added major performance improvements to the default storage when parsing and\n    storing data (~%44 less memory, ~37% faster).\n  - Added the ability to parse virtual hosts and a new panel to display metrics\n    per virtual host.\n  - Added the ability to parse HTTP/2 requests.\n  - Added the ability to use GNU getline() to parse full line requests.\n  - Added the ability to output debug info if a log file is specified, even\n    without --enable-debug.\n  - Added OS X \"El Capitan\".\n  - Added WebDav HTTP methods and HTTP status from RFC 2518 and  RFC 3253.\n  - Fixed detection of some Googlebots.\n  - Fixed issue where time served metrics were not shown when loading persisted\n    data.\n  - Fixed linker error on OSX: ld: library not found for -lrt.\n  - Fixed percentage on the HTML output when excluding IPs.\n  - Removed GLib dependency and refactored storage functionality. By removing\n    this dependency, GoAccess is able to store data in a more efficient manner,\n    for instance, it avoids storing integer data as void* (generic typing), thus\n    greatly improving memory consumption for integers.\n\nChanges to GoAccess 0.9.4 - Tuesday, September 08, 2015\n\n  - Added --all-static-files command line option to parse static files\n    containing a query string.\n  - Added --invalid-requests command line option to log invalid requests to a file.\n  - Added additional overall metric - total valid requests.\n  - Added \"%~\" specifier to move forward through a log string until a non-space\n    char is found.\n  - Added the ability to parse native Squid access.log format.\n  - Fixed a few issues in the configuration script.\n  - Fixed inability to parse color due to a missing POSIX extension.\n    \"ERR:Invalid bg/fg color pairs\"\n\nChanges to GoAccess 0.9.3 - Wednesday, August 26, 2015\n\n  - Added --no-column-names command line option to disable column name metrics.\n  - Added a default color palette (Monokai) to the config file.\n  - Added AWS Elastic Load Balancing to the list of predefined log/date/time\n    formats.\n  - Added CloudFlare status codes.\n  - Added column headers for every enabled metric on each panel.\n  - Added cumulative time served metric.\n  - Added \"DragonFly\" BSD to the list of OSs.\n  - Added maximum time served metric (slowest running requests).\n  - Added \"Slackbot\" to the list of crawlers/browsers.\n  - Added the ability to parse the query string specifier \"%q\" from a log file.\n  - Added the ability to process logs incrementally.\n  - Added the ability to set custom colors on the terminal output.\n  - Disabled REFERRERS by default.\n  - Ensure bandwidth metric is displayed only if %b specifier is parsed.\n  - Fixed issue where the --sort-panel option wouldn't sort certain panels.\n  - Fixed several compiler warnings.\n  - Set predefined static files when no config file is used.\n  - Updated \"Windows 10\" user agent from 6.4 (wrong) to 10.0.(actual)\n\nChanges to GoAccess 0.9.2 - Monday, July 06, 2015\n\n  - Added ability to fully parse browsers that contain spaces within a token.\n  - Added multiple user agents to the list of browsers.\n  - Added the ability to handle time served in milliseconds as a decimal number\n    `%L`.\n  - Added the ability to parse a timestamp in microseconds.\n  - Added the ability to parse Google Cloud Storage access logs.\n  - Added the ability to set a custom title and header in the HTML report.\n  - Added \"%x\" as timestamp log-format specifier.\n  - Ensure agents\" hash table is destroyed upon exiting the program.\n  - Ensure \"Game Systems\" are processed correctly.\n  - Ensure visitors panel header is updated depending if crawlers are parsed or\n    not.\n  - Fixed issue where the date value was set as time value  in the config\n    dialog.\n  - Fixed memory leak in the hits metrics when using the in-memory storage\n    (GLib).\n\nChanges to GoAccess 0.9.1 - Tuesday, May 26, 2015\n\n  - Added --hl-header command line option to highlight active panel.\n  - Added \"Applebot\" to the list of web crawlers.\n  - Added \"Microsoft Edge\" to the list of browsers.\n  - Added additional Nginx-specific status codes.\n  - Ensure dump_struct is used only if using __GLIBC__.\n  - Ensure goaccess image has an alt attribute on the HTML output for valid\n    HTML5.\n  - Ensure the config file path is displayed when something goes wrong (FATAL).\n  - Ensure there is a character indicator to see which panel is active.\n  - Fixed Cygwin compile issue attempting to use -rdynamic.\n  - Fixed issue where a single IP did not get excluded after an IP range.\n  - Fixed issue where requests showed up in the wrong view even when\n    --no-query-string was used.\n  - Fixed issue where some browsers were not recognized or marked as \"unknown\".\n  - Fixed memory leak when excluding an IP range.\n  - Fixed overflows on sort comparison functions.\n  - Fixed segfault when using on-disk storage and loading persisted data with -a.\n  - Removed keyphrases menu item from HTML output.\n  - Split iOS devices from Mac OS X.\n\nChanges to GoAccess 0.9 - Thursday, March 19, 2015\n\n  - Added --geoip-database command line option for GeoIP Country/City IPv6.\n  - Added \"Windows 10 (v6.4)\" to the real windows user agents.\n  - Added ability to double decode an HTTP referer and agent.\n  - Added ability to sort views through the command line on initial load.\n  - Added additional data values to the backtrace report.\n  - Added additional graph to represent the visitors metric on the HTML output.\n  - Added AM_PROG_CC_C_O to configure.ac\n  - Added \"Android Lollipop\" to the list of operating systems.\n  - Added \"average time served\" metric to all panels.\n  - Added \"bandwidth\" metric to all panels.\n  - Added command line option to disable summary metrics on the CSV output.\n  - Added numeric formatting to the HTML output to improve readability.\n  - Added request method specifier to the default W3C log format.\n  - Added the ability to ignore parsing and displaying given panel(s).\n  - Added the ability to ignore referer sites from being counted. A good case\n    scenario is to ignore own domains. i.e., owndomain.tld. This also allows\n    ignoring hosts using wildcards. For instance, *.mydomain.tld or www.mydomain.*\n    or www?.mydomain.tld\n  - Added time/hour distribution module. e.g., 00-23.\n  - Added \"visitors\" metrics to all panels.\n  - Changed AC_PREREQ macro version so it builds on old versions of autoconf.\n  - Changed GEOIP database load to GEOIP_MEMORY_CACHE for faster lookups.\n  - Changed maximum number of choices to display per panel to 366 from 300.\n  - Ensure config file is read from home dir if unable to open it from\n    %sysconfdir% path.\n  - Fixed array overflows when exceeding MAX_* limits on command line options.\n  - Fixed a SEGFAULT where sscanf could not handle special chars within the\n    referer.\n  - Fixed character encoding on geolocation output (ISO-8859 to UTF8).\n  - Fixed issue on wild cards containing \"?\" at the end of the string.\n  - Fixed issue where a \"Nothing valid to process\" error was triggered when the\n    number of invalid hits was equal to the number of valid hits.\n  - Fixed issue where outputting to a file left a zero-byte file in pwd.\n  - Improved parsing of operating systems.\n  - Refactored log parser so it allows with ease the addition of new modules.\n    This also attempts to decouple the core functionality from the rendering\n    functions. It also gives the flexibility to add children metrics to root\n    metrics for any module. e.g., Request A was visited by IP1, IP2, IP3, etc.\n  - Restyled HTML output.\n\nChanges to GoAccess 0.8.5 - Sunday, September 14, 2014\n\n  - Fixed SEGFAULT when parsing a malformed request that doesn't have HTTP\n    status.\n\nChanges to GoAccess 0.8.4 - Monday, September 08, 2014\n\n  - Added --444-as-404 command line option to handle nginx non-standard status\n    code 444 as 404.\n  - Added --4xx-to-unique-count command line option to count client errors (4xx)\n    to the unique visitors count.  Now by default it omits client errors (4xx)\n    from being added to the unique visitors count as they are probably not welcomed\n    visitors. 4xx errors are always counted in panels other than visitors, OS &\n    browsers.\n  - Added and updated operating systems, and browsers.\n  - Added excluded IP hits count to the general statistics panel on all reports.\n  - Added HTTP nonstandard code \"444\" to the status code list.\n  - Fixed compile error due to missing include <sys/types.h> for type\n    off_t (gcc 4.1).\n  - Fixed issue when excluding IPv4/v6 ranges.\n  - Removed request status field restriction. This allows parsing logs that\n    contain only a valid date, IPv4/6 and host.\n\nChanges to GoAccess 0.8.3 - Monday, July 28, 2014\n\n  - Fixed SEGFAULT when parsing a CLF log format and using --ignore-crawlers.\n  - Fixed parsing conflict between some Opera browsers and Chrome.\n  - Fixed parsing of several feed readers that are Firefox/Safari-based.\n  - Fixed Steam detection.\n  - Added Huawei to the browser's list and removed it from the OS's list.\n\nChanges to GoAccess 0.8.2 - Monday, July 20, 2014\n\n  - Added --version command line option.\n  - Added --ignore-crawlers command line option to ignore crawlers.\n  - Added ability to parse dates containing whitespaces in between,\n    e.g., \"Jul 15 20:13:59\" (syslog format).\n  - Added a variety of browsers, game systems, feed readers, and podcasts.\n  - Added missing up/down arrows to the help section.\n  - Added the ability to ignore multiple IPv4/v6 and IP ranges.\n  - Added the PATCH method according to RFC 5789.\n  - Fixed GeoLocation percent issue for the JSON, CSV and HTML outputs.\n  - Fixed memory leak when excluding one or multiple IPs.\n\nChanges to GoAccess 0.8.1 - Monday, June 16, 2014\n\n  - Added ability to add/remove static files by extension through the config\n    file.\n  - Added ability to print backtrace on segmentation fault.\n  - Escaped JSON strings correctly according to [RFC4627].\n  - Fixed encoding issue when extracting keyphrases for some HTTP referrers.\n  - Fixed issue where HTML bar graphs were not shown due to numeric locale.\n  - Fixed issue with URIs containing \"\\r?\\n\" thus breaking the corresponding\n    output.\n  - Make sure request string is URL decoded on all outputs.\n\nChanges to GoAccess 0.8 - Tuesday, May 20, 2014\n\n  - Added APT-HTTP to the list of browsers.\n  - Added data persistence and ability to load data from disk.\n  - Added IE11 to the list of browsers.\n  - Added IEMobile to the list of browsers.\n  - Added multiple command line options.\n  - Added Nagios check_http to the list of browsers.\n  - Added parsing progress metrics - total requests / requests per second.\n  - Added the ability to parse a GeoLiteCity.dat to get the city given an IPv4.\n  - Changed the way the configuration file is parsed. This will parse all\n    configuration options under ~/.goaccessrc or the specified config file and\n    will feed getopt_long with the extracted key/value pairs. This also allows the\n    ability to have comments on the config file which won't be overwritten.\n  - Ensure autoconf determines the location of ncurses headers.\n  - Fixed issue where geo_location_data was NULL.\n  - Fixed issue where GoAccess did not run without a tty allocated to it.\n  - Fixed potential memory leak on --log-file realpath().\n  - Fixed Solaris build errors.\n  - Implemented an on-memory hash database using Tokyo Cabinet. This\n    implementation allows GoAccess not to rely on GLib's hash table if one is\n    needed.\n  - Implemented large file support using an on-disk B+ Tree database. This\n    implementation allows GoAccess not to hold everything in memory but instead\n    it uses an on-disk B+ Tree database.\n  - Trimmed leading and trailing whitespaces from keyphrases module.\n\nChanges to GoAccess 0.7.1 - Monday, February 17, 2014\n\n  - Added --no-color command line option to turn off color output.\n  - Added --real-os command line option to get real OS names, e.g.,\n    \"Android, Windows, Mac\".\n  - Added ability to log debug messages to a file.\n  - Added ability to parse tab-separated log format strings.\n  - Added ability to support terminals without colors.\n  - Added command line option to append HTTP method to request.\n  - Added command line option to append HTTP protocol to request.\n  - Added long options to command-line.\n  - Added missing \"Win 9x 4.90\" (Windows Me) user-agent.\n  - Added missing Windows RT user-agent.\n  - Ensure mouse click does not reset expanded module if it is the same.\n  - Fixed Amazon CloudFront tab-separated log format.\n  - Fixed \"FreeBSD style\" ncursesw built into system.\n  - Fixed HTML report issue where data cell would not wrap.\n  - Fixed issue when isatty() could not find a valid file descriptor.\n  - Fixed SymbianOS user-agent and retrieve its version.\n\nChanges to GoAccess 0.7 - Monday, December 15, 2013\n\n  - Added a command line option to ignore request query strings.\n  - Added additional compiler flags & fixed several warnings.\n  - Added additional static file extensions.\n  - Added country per IP to HOSTS module (HTML & JSON).\n  - Added DEBUG mode to Makefile & -O2 to default release.\n  - Added GEOLOCATION report to all outputs - includes continents/countries.\n  - Added IP resolver to HTML and JSON output.\n  - Added module numbers to each module header.\n  - Added the ability to output JSON and CSV.\n  - Added Windows NT 6.3 (Win 8.1) to the list.\n  - Fixed buffer overflow issue with realpath.\n  - New HTML report - HTML5 + CSS styles.\n  - Properly split request line into the three request modules.\n\nChanges to GoAccess 0.6.1 - Monday, October 07, 2013\n\n  - Added active module indication by name.\n  - Added additional crawlers to the list.\n  - Added custom configuration file option.\n  - Added human-readable string when unable to open log.\n  - Added missing include when compiling on OSX 10.6.\n  - Added optional mouse support to the main dashboard.\n  - Added the ability to select active module by number (keys).\n  - Added the rest of HTTP methods according to RFC2616.\n  - Changed referring site sscanf format to process multiple URLs.\n  - Changed the default color scheme to monochrome.\n  - Fixed issue where %T was not processing floating-point numbers.\n  - Fixed percentage issue for browsers and os modules.\n  - Fixed SIGSEGV when reading from stdin to stdout.\n  - Improved performance when expanding a module.\n  - Reduced memory consumption by decreasing number of dns threads.\n  - Removed ^UP/^DOWN due to a key mapping conflict.\n\nChanges to GoAccess 0.6 - Monday, July 15, 2013\n\n  - Added a bunch of minor fixes and changes.\n  - Added and updated list of browsers and operating systems.\n  - Added a predefined log format/date for the Amazon CloudFront (Download\n    Distribution).\n  - Added parsing/processing indicators.\n  - Added the ability to independently sort each module.\n  - Added the ability to search across the whole dashboard with the option to\n    use regular expressions.\n  - Config window now accepts [ENTER] to continue or F10.\n  - Fixed issue where Opera +15 was identified as Chrome.\n  - Implemented the ability to parse the time taken to serve the request, in\n    microseconds and seconds.\n  - Improved memory usage and better performance in general.\n  - Moved away from the original pop-up UI to a new expandable dashboard\n    allowing data to be processed in real-time.\n  - Sanitized HTML output with html entities for special chars.\n  - Updated the hosts module so it shows the reverse DNS as a sub node.\n\nChanges to GoAccess 0.5 - Monday, June 04, 2012\n\n  - Added ability to output a full stats report to a file.\n  - Added a key shortcut to scroll top/bottom.\n  - Added a new include sys/socket.h - BSD\n  - Added support for IPv6\n  - Added the ability to parse a custom format string.\n  - Fixed google cache key-phrases.\n  - Fixed issue on empty Google query strings.\n  - Fixed issue on Opera agents where version was not recognized correctly.\n  - Fixed other minor fixes and changes.\n\nChanges to GoAccess 0.4.2 - Monday, January 03, 2011\n\n  - Added UTF-8 support. Now it should handle properly wide-character/UTF-8.\n    Run ./configure --enable-utf8\n  - Fixed a minor bug when adding monthly totals on visitors subwin.\n  - Removed -lrt since GoAccess does not link to librt. (OS X doesn't include\n    librt)\n\nChanges to GoAccess 0.4.1 - Monday, December 13, 2010\n\n  - Added more flexibility when resizing the terminal. Should work fine with\n    the standard 80x24.\n  - Added the ability to pass a flag to ./configure so GeoIP can be enabled if\n    needed.\n  - Implemented a pipeline from stdin, so the input doesn't have to be only a\n    file.\n\nChanges to GoAccess 0.4 - Tuesday, November 30, 2010\n\n  - Added graphs to the unique_visitors subwin.\n  - Implemented bandwidth per day, and host.\n  - Implemented list of agents for specific hosts.\n  - Rewrote hash tables iterative code to avoid the use of GHashTableIter, this\n    way it works with all GLib > 2.0.0.\n  - Various bug fixes and code cleanups (mainly in the subwin modules).\n\nChanges to GoAccess 0.3.3 - Monday, September 27, 2010\n\n  - Changed tarball's filename.\n  - Fixed a request size parsing issue. Due to malformed syntax on the HTTP\n    protocol, bandwidth was reset to 0. Ex. \"HEAD /\" 400 20392\n  - Fixed a segfault when goaccess was executed without any options but with an\n    additional unknown argument.\n\nChanges to GoAccess 0.3.2 - Thursday, September 09, 2010\n\n  - Fixed an agent parsing issue. As a result, operating systems were not\n    properly counted.\n\nChanges to GoAccess 0.3.1 - Friday, September 03, 2010\n\n  - Added a color scheme implementation\n\nChanges to GoAccess 0.3 - Sunday, August 29, 2010\n\n  - Added a counter for total requests since initial parse was implemented\n  - Added a more detailed and comprehensive browser and os report\n  - Added bandwidth details for requested files\n  - Added percentage details on modules 2, 3, 4, 5, 10, 11\n  - Code cleanups\n  - Fixed a potential segmentation fault when resizing main window\n  - Fixed a segmentation fault on pop-up window search if haystack was null\n  - Fixed invalid entries when parsing status codes\n  - Implemented a real support for LFS - Handles files larger than 2 GiB on\n    32-bit systems\n  - Implemented support for \"vhost_combined\" log format\n  - Changed position of data/graphs depending on # of hits\n\nChanges to GoAccess 0.2 - Sunday, July 25, 2010\n\n  - Added a keyphrases report coming from Google search engine. This includes,\n    raw, cache, and translation queries.\n  - Fixed a memory leak when invalid entries were parsed\n  - Fixed a potential buffer overflow.\n  - Implemented real-time statistics (RTS). Data will be appended as the log\n    file grows. Equivalent to \"tail -f\" on Unix systems\n  - Implemented screen resize functionality\n  - Simplified creation of the \"unique visitors\" hash-key.\n  - Simplified the \"process_unique_data\" function\n  - Various small speed increases & code cleanup\n\nChanges to GoAccess 0.1.2 - Monday, July 12, 2010\n\n  - Fixed a segmentation fault when parsing logs with unusual request type. Ex.\n    \"GET HTTP/1.1 HTTP/1.1\"\n\nChanges to GoAccess 0.1.1 - Saturday, July 10, 2010\n\n  - Added an enhanced error handling\n  - Added an extra macro on configure.ac to check against GHashTableIter.\n    ./configure might not check for glib 2.16 that introduced \"GHashTableIter\".\n  - Added Glibc LFS\n  - Cleaned up code a little bit\n  - Fixed a segmentation fault when displaying the help text on x86_64.\n  - Fixed assignments in conditions. In case the assignment is actually intended\n    put extra parenthesis around it. This will shut GCC (and others) up.\n  - Fixed casts associated with \"g_hash_table_iter_next\".\n  - Fixed comparison between signed and unsigned integer types.\n  - Fixed function declarations.\n  - Fixed includes.\n  - Fixed two format strings. (If the error was ever triggered, it'd most\n    likely lead to a segfault)\n\nChanges to GoAccess 0.1 - Tuesday, July 06, 2010\n\n  - Initial release 0.1\n"
  },
  {
    "path": "DOCKER.md",
    "content": "\n# Docker image features\n\n* This command uses the language set for this system. If that does not support it will be output in English. [**Supported Language**](https://github.com/allinurl/goaccess/raw/master/po/LINGUAS)\n\n* This image supports building on the ARM architecture (e.g. Raspberry Pi)\n\n* Do you want to change the timezone? Use the `-e` option to pass the time-zone setting to Docker. (e.g. `-e TZ=\"America/New_York\"`)\n\n* The container is built with geo-location support (see [the manual](https://goaccess.io/man#options)). To enable the respective panel, mount the geolocation database using `-v /path/to/GeoLite2-City.mmdb:/GeoLite2-City.mmdb` and specify `--geoip-database /GeoLite2-City.mmdb` when running GoAccess.\n\n* If you made changes to the config file after building the image, you don't have to rebuild from scratch. Simply restart the container:\n\n```\n    docker restart goaccess\n```\n\n* If you had already run the container, you may have to stop and remove it first:\n\n```\n    docker stop goaccess\n    docker rm goaccess\n```\n\n* The container and image can be completely removed as follows:\n\n```\n    docker stop goaccess\n    docker rm goaccess\n    docker rmi allinurl/goaccess\n```\n"
  },
  {
    "path": "Dockerfile",
    "content": "# Build stage\nFROM alpine:3.20 AS builds\nRUN apk add --no-cache \\\n    autoconf \\\n    automake \\\n    build-base \\\n    clang \\\n    gettext-dev \\\n    libmaxminddb-dev \\\n    openssl-dev \\\n    linux-headers \\\n    ncurses-dev \\\n    pkgconf \\\n    tzdata\n\n# GoAccess\nCOPY . /goaccess\nWORKDIR /goaccess\nRUN autoreconf -fiv && rm -rf autom4te.cache\nRUN CC=\"clang\" CFLAGS=\"-O3\" LIBS=\"$(pkg-config --libs openssl)\" ./configure --prefix=/usr --enable-utf8 --with-openssl --enable-geoip=mmdb\nRUN make -j$(nproc) && make DESTDIR=/dist install\n# Check dynamic dependencies\nRUN ldd /dist/usr/bin/goaccess && echo \"Dependencies checked\"\n\n# Runtime stage\nFROM alpine:3.20\nRUN apk add --no-cache \\\n    gettext-libs \\\n    libmaxminddb \\\n    ncurses-libs \\\n    openssl \\\n    tzdata\n# Copy GoAccess binary and assets\nCOPY --from=builds /dist/usr/bin/goaccess /usr/bin/goaccess\nCOPY --from=builds /dist/usr/share /usr/share\nCOPY --from=builds /usr/share/zoneinfo /usr/share/zoneinfo\n# Set up volume and port\nVOLUME /var/www/goaccess\nEXPOSE 7890\nENTRYPOINT [\"/usr/bin/goaccess\"]\nCMD [\"--help\"]\n"
  },
  {
    "path": "Dockerfile.debian-12",
    "content": "# Used to have all compile dependencies isolated in a container image.\nFROM debian:12\n\nRUN apt update -qqq\nRUN apt install -y \\\n    libncurses-dev \\\n    libssl-dev \\\n    libmaxminddb-dev \\\n    build-essential \\\n    autoconf \\\n    gettext \\\n    autopoint\n\n# GoAccess\nWORKDIR /goaccess\n\nENTRYPOINT [\"./build-dynamic.sh\"]\n"
  },
  {
    "path": "Makefile.am",
    "content": "#AUTOMAKE_OPTIONS = foreign\nbin_PROGRAMS = goaccess\nAUTOMAKE_OPTIONS = subdir-objects\n\ndist_noinst_DATA =                 \\\n  resources/tpls.html              \\\n  resources/css/app.css            \\\n  resources/css/bootstrap.min.css  \\\n  resources/css/fa.min.css         \\\n  resources/js/app.js              \\\n  resources/js/charts.js           \\\n  resources/countries-110m.json    \\\n  resources/cities-10m.json        \\\n  resources/js/d3.v7.min.js        \\\n  resources/js/topojson.v3.min.js  \\\n  resources/js/hogan.min.js\n\nnoinst_PROGRAMS = bin2c\nbin2c_SOURCES = src/bin2c.c\n\nBUILT_SOURCES =       \\\n  src/tpls.h          \\\n  src/bootstrapcss.h  \\\n  src/facss.h         \\\n  src/appcss.h        \\\n  src/d3js.h          \\\n  src/topojsonjs.h    \\\n  src/hoganjs.h       \\\n  src/countries110m.h \\\n  src/cities10m.h     \\\n  src/chartsjs.h      \\\n  src/appjs.h\n\nCLEANFILES =                          \\\n  src/tpls.h                          \\\n  src/bootstrapcss.h                  \\\n  src/facss.h                         \\\n  src/appcss.h                        \\\n  src/d3js.h                          \\\n  src/topojsonjs.h                    \\\n  src/hoganjs.h                       \\\n  src/countries110m.h                 \\\n  src/cities10m.h                     \\\n  src/chartsjs.h                      \\\n  src/appjs.h                         \\\n  resources/tpls.html.tmp             \\\n  resources/countries-110m.json.tmp   \\\n  resources/cities-10m.json.tmp       \\\n  resources/css/bootstrap.min.css.tmp \\\n  resources/css/fa.min.css.tmp        \\\n  resources/css/app.css.tmp           \\\n  resources/js/d3.v7.min.js.tmp       \\\n  resources/js/topojson.v3.min.js.tmp \\\n  resources/js/hogan.min.js.tmp       \\\n  resources/js/charts.js.tmp          \\\n  resources/js/app.js.tmp\n\n# Tpls\nsrc/tpls.h: bin2c$(EXEEXT) $(srcdir)/resources/tpls.html\nif HAS_SEDTR\n\tcat $(srcdir)/resources/tpls.html | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/tpls.html.tmp\n\t./bin2c $(srcdir)/resources/tpls.html.tmp src/tpls.h tpls\nelse\n\t./bin2c $(srcdir)/resources/tpls.html src/tpls.h tpls\nendif\n# countries.json\nsrc/countries110m.h: bin2c$(EXEEXT) $(srcdir)/resources/countries-110m.json\nif HAS_SEDTR\n\tcat $(srcdir)/resources/countries-110m.json | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/countries-110m.json.tmp\n\t./bin2c $(srcdir)/resources/countries-110m.json.tmp src/countries110m.h countries_json\nelse\n\t./bin2c $(srcdir)/resources/countries-110m.json src/countries110m.h countries_json\nendif\n# cities.json\nsrc/cities10m.h: bin2c$(EXEEXT) $(srcdir)/resources/cities-10m.json\nif HAS_SEDTR\n\tcat $(srcdir)/resources/cities-10m.json | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/cities-10m.json.tmp\n\t./bin2c $(srcdir)/resources/cities-10m.json.tmp src/cities10m.h cities_json\nelse\n\t./bin2c $(srcdir)/resources/cities-10m.json src/cities10m.h cities_json\nendif\n# Bootstrap\nsrc/bootstrapcss.h: bin2c$(EXEEXT) $(srcdir)/resources/css/bootstrap.min.css\nif HAS_SEDTR\n\tcat $(srcdir)/resources/css/bootstrap.min.css | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/css/bootstrap.min.css.tmp\n\t./bin2c $(srcdir)/resources/css/bootstrap.min.css.tmp src/bootstrapcss.h bootstrap_css\nelse\n\t./bin2c $(srcdir)/resources/css/bootstrap.min.css src/bootstrapcss.h bootstrap_css\nendif\n# Font Awesome\nsrc/facss.h: bin2c$(EXEEXT) $(srcdir)/resources/css/fa.min.css\nif HAS_SEDTR\n\tcat $(srcdir)/resources/css/fa.min.css | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/css/fa.min.css.tmp\n\t./bin2c $(srcdir)/resources/css/fa.min.css.tmp src/facss.h fa_css\nelse\n\t./bin2c $(srcdir)/resources/css/fa.min.css src/facss.h fa_css\nendif\n# App.css\nsrc/appcss.h: bin2c$(EXEEXT) $(srcdir)/resources/css/app.css\nif HAS_SEDTR\n\tcat $(srcdir)/resources/css/app.css | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/css/app.css.tmp\n\t./bin2c $(srcdir)/resources/css/app.css.tmp src/appcss.h app_css\nelse\n\t./bin2c $(srcdir)/resources/css/app.css src/appcss.h app_css\nendif\n# D3.js\nsrc/d3js.h: bin2c$(EXEEXT) $(srcdir)/resources/js/d3.v7.min.js\nif HAS_SEDTR\n\tcat $(srcdir)/resources/js/d3.v7.min.js | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/js/d3.v7.min.js.tmp\n\t./bin2c $(srcdir)/resources/js/d3.v7.min.js.tmp src/d3js.h d3_js\nelse\n\t./bin2c $(srcdir)/resources/js/d3.v7.min.js src/d3js.h d3_js\nendif\n# topojson.js\nsrc/topojsonjs.h: bin2c$(EXEEXT) $(srcdir)/resources/js/topojson.v3.min.js\nif HAS_SEDTR\n\tcat $(srcdir)/resources/js/topojson.v3.min.js | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/js/topojson.v3.min.js.tmp\n\t./bin2c $(srcdir)/resources/js/topojson.v3.min.js.tmp src/topojsonjs.h topojson_js\nelse\n\t./bin2c $(srcdir)/resources/js/topojson.v3.min.js src/topojsonjs.h topojson_js\nendif\n# Hogan.js\nsrc/hoganjs.h: bin2c$(EXEEXT) $(srcdir)/resources/js/hogan.min.js\nif HAS_SEDTR\n\tcat $(srcdir)/resources/js/hogan.min.js | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/js/hogan.min.js.tmp\n\t./bin2c $(srcdir)/resources/js/hogan.min.js.tmp src/hoganjs.h hogan_js\nelse\n\t./bin2c $(srcdir)/resources/js/hogan.min.js src/hoganjs.h hogan_js\nendif\n# Charts.js\nsrc/chartsjs.h: bin2c$(EXEEXT) $(srcdir)/resources/js/charts.js\nif HAS_SEDTR\n\tcat $(srcdir)/resources/js/charts.js | sed -E \"s@(,|;)[[:space:]]*//..*@\\1@g\" | sed -E \"s@^[[:space:]]*//..*@@g\" | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/js/charts.js.tmp\n\t./bin2c $(srcdir)/resources/js/charts.js.tmp src/chartsjs.h charts_js\nelse\n\t./bin2c $(srcdir)/resources/js/charts.js src/chartsjs.h charts_js\nendif\nif DEBUG\n\t./bin2c $(srcdir)/resources/js/charts.js src/chartsjs.h charts_js\nendif\n# App.js\nsrc/appjs.h: bin2c$(EXEEXT) $(srcdir)/resources/js/app.js\nif HAS_SEDTR\n\tcat $(srcdir)/resources/js/app.js | sed -E \"s@(,|;)[[:space:]]*//..*@\\1@g\" | sed -E \"s@^[[:space:]]*//..*@@g\" | sed \"s/^[[:space:]]*//\" | sed \"/^$$/d\" | tr -d \"\\r\\n\" > $(srcdir)/resources/js/app.js.tmp\n\t./bin2c $(srcdir)/resources/js/app.js.tmp src/appjs.h app_js\nelse\n\t./bin2c $(srcdir)/resources/js/app.js src/appjs.h app_js\nendif\nif DEBUG\n\t./bin2c $(srcdir)/resources/js/app.js src/appjs.h app_js\nendif\n\nconfdir = $(sysconfdir)/goaccess\ndist_conf_DATA = config/goaccess.conf\ndist_conf_DATA += config/browsers.list\ndist_conf_DATA += config/podcast.list\n\ngoaccess_SOURCES = \\\n   src/base64.c        \\\n   src/base64.h        \\\n   src/browsers.c      \\\n   src/browsers.h      \\\n   src/color.c         \\\n   src/color.h         \\\n   src/commons.c       \\\n   src/commons.h       \\\n   src/csv.c           \\\n   src/csv.h           \\\n   src/dialogs.c       \\\n   src/dialogs.h       \\\n   src/error.c         \\\n   src/error.h         \\\n   src/fileio.c        \\\n   src/fileio.h        \\\n   src/gchart.c        \\\n   src/gchart.h        \\\n   src/gdashboard.c    \\\n   src/gdashboard.h    \\\n   src/gdns.c          \\\n   src/gdns.h          \\\n   src/gholder.c       \\\n   src/gholder.h       \\\n   src/gkhash.c        \\\n   src/gkhash.h        \\\n   src/gkmhash.c       \\\n   src/gkmhash.h       \\\n   src/gmenu.c         \\\n   src/gmenu.h         \\\n   src/goaccess.c      \\\n   src/goaccess.h      \\\n   src/gslist.c        \\\n   src/gslist.h        \\\n   src/gstorage.c      \\\n   src/gstorage.h      \\\n   src/gwsocket.c      \\\n   src/gwsocket.h      \\\n   src/json.c          \\\n   src/json.h          \\\n   src/khash.h         \\\n   src/labels.h        \\\n   src/opesys.c        \\\n   src/opesys.h        \\\n   src/options.c       \\\n   src/options.h       \\\n   src/output.c        \\\n   src/output.h        \\\n   src/parser.c        \\\n   src/parser.h        \\\n   src/persistence.c   \\\n   src/persistence.h   \\\n   src/pdjson.c        \\\n   src/pdjson.h        \\\n   src/settings.c      \\\n   src/settings.h      \\\n   src/sort.c          \\\n   src/sort.h          \\\n   src/tpl.c           \\\n   src/tpl.h           \\\n   src/ui.c            \\\n   src/ui.h            \\\n   src/util.c          \\\n   src/util.h          \\\n   src/websocket.c     \\\n   src/websocket.h     \\\n   src/xmalloc.c       \\\n   src/xmalloc.h\n\nif WITH_SSL\ngoaccess_SOURCES +=  \\\n   src/wsauth.c      \\\n   src/wsauth.h\nendif\n\nif USE_SHA1\ngoaccess_SOURCES +=  \\\n   src/sha1.c        \\\n   src/sha1.h\nendif\n\nif USE_MMAP\ngoaccess_SOURCES +=  \\\n   src/win/mman.h    \\\n   src/win/mmap.c\nendif\n\nif GEOIP_LEGACY\ngoaccess_SOURCES +=  \\\n  src/geoip1.c       \\\n  src/geoip1.h\nendif\n\nif GEOIP_MMDB\ngoaccess_SOURCES +=  \\\n   src/geoip2.c      \\\n   src/geoip1.h\nendif\n\nif DEBUG\nAM_CFLAGS = -DDEBUG -O0 -DSYSCONFDIR=\\\"$(sysconfdir)\\\"\nelse\nAM_CFLAGS = -O2 -DSYSCONFDIR=\\\"$(sysconfdir)\\\"\nendif\n\nif WITH_RDYNAMIC\nAM_LDFLAGS = -rdynamic\nendif\n\nif WITH_ZLIB\nAM_LDFLAGS = -lz\nendif\n\ngoaccess_LDADD = -lm\n\nAM_CFLAGS += -Wall -Wextra -Wnested-externs -Wformat=2 -g\nAM_CFLAGS += -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations\nAM_CFLAGS += -Wwrite-strings -Wshadow -Wpointer-arith -Wsign-compare\nAM_CFLAGS += -Wbad-function-cast -Wcast-align\nAM_CFLAGS += -Wdeclaration-after-statement -Wshadow -Wold-style-definition\n\nif WITH_ASAN\nAM_CFLAGS += -fsanitize=address\nendif\n\ndist_man_MANS = goaccess.1\n\nSUBDIRS = po\n\nACLOCAL_AMFLAGS = -I m4\n\nDEFS = -DLOCALEDIR=\\\"$(localedir)\\\" @DEFS@\n\nEXTRA_DIST = config.rpath\n"
  },
  {
    "path": "NEWS",
    "content": "Copyright (C) 2009-2026\nGerardo Orellana <goaccess@prosoftcorp.com>\n\n* Version history:\n    - 1.10.1 [Saturday, Feb 14, 2026]\n        . GoAccess 1.10.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.10 [Tuesday, Feb 10, 2026]\n        . GoAccess 1.10 Released. See ChangeLog for new features/bug-fixes.\n    - 1.9.4 [Monday, Mar 31, 2025]\n        . GoAccess 1.9.4 Released. See ChangeLog for new features/bug-fixes.\n    - 1.9.3 [Friday, May 31, 2024]\n        . GoAccess 1.9.3 Released. See ChangeLog for new features/bug-fixes.\n    - 1.9.2 [Friday, April 12, 2024]\n        . GoAccess 1.9.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.9.1 [Tuesday, February 05, 2024]\n        . GoAccess 1.9.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.9 [Tuesday, January 30, 2024]\n        . GoAccess 1.9 Released. See ChangeLog for new features/bug-fixes.\n    - 1.8.1 [Tuesday, October 31, 2023]\n        . GoAccess 1.8.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.8 [Saturday, September 30, 2023]\n        . GoAccess 1.8 Released. See ChangeLog for new features/bug-fixes.\n    - 1.7.2 [Friday, March 31, 2023]\n        . GoAccess 1.7.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.7.1 [Tuesday, February 28, 2023]\n        . GoAccess 1.7.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.7 [Saturday, December 31 , 2022]\n        . GoAccess 1.7 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6.5 [Monday, October 31 , 2022]\n        . GoAccess 1.6.5 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6.4 [Friday, September 30 , 2022]\n        . GoAccess 1.6.4 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6.3 [Thursday, August 31 , 2022]\n        . GoAccess 1.6.3 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6.2 [Thursday, July 14 , 2022]\n        . GoAccess 1.6.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6.1 [Thursday, June 30 , 2022]\n        . GoAccess 1.6.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.6 [Tuesday, May 31 , 2022]\n        . GoAccess 1.6 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.7 [Thursday, April 28 , 2022]\n        . GoAccess 1.5.7 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.6 [Wednesday, March 30, 2022]\n        . GoAccess 1.5.6 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.5 [Monday, January 31, 2022]\n        . GoAccess 1.5.5 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.4 [Saturday, December 25, 2021]\n        . GoAccess 1.5.4 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.3 [Thursday, November 25, 2021]\n        . GoAccess 1.5.3 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.2 [Tuesday, Sep 28, 2021]\n        . GoAccess 1.5.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5.1 [Wednesday, Jun 30, 2021]\n        . GoAccess 1.5.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.5 [Wednesday, May 26, 2021]\n        . GoAccess 1.5 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.6 [Sunday, February 28, 2021]\n        . GoAccess 1.4.6 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.5 [Tuesday, January 26, 2021]\n        . GoAccess 1.4.5 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.4 [Monday, January 25, 2021]\n        . GoAccess 1.4.4 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.3 [Friday, December 04, 2020]\n        . GoAccess 1.4.3 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.2 [Monday, November 16, 2020]\n        . GoAccess 1.4.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4.1 [Monday, November 09, 2020]\n        . GoAccess 1.4.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.4 [Monday, May 18, 2020]\n        . GoAccess 1.4 Released. See ChangeLog for new features/bug-fixes.\n    - 1.3 [Friday, November 23, 2018]\n        . GoAccess 1.3 Released. See ChangeLog for new features/bug-fixes.\n    - 1.2  [Tuesday, March 07, 2017]\n        . GoAccess 1.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.1.1  [Wednesday, November 23, 2016]\n        . GoAccess 1.1.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.1  [Tuesday, November 08, 2016]\n        . GoAccess 1.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.0.2  [Tuesday, July 05, 2016]\n        . GoAccess 1.0.2 Released. See ChangeLog for new features/bug-fixes.\n    - 1.0.1  [Friday, June 17, 2016]\n        . GoAccess 1.0.1 Released. See ChangeLog for new features/bug-fixes.\n    - 1.0  [Thursday, June 09, 2016]\n        . GoAccess 1.0 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.8  [Monday, February 29, 2016]\n        . GoAccess 0.9.8 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.7  [Monday, December 21, 2015]\n        . GoAccess 0.9.7 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.6  [Tuesday, October 27, 2015]\n        . GoAccess 0.9.6 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.5  [Thursday, October 22, 2015]\n        . GoAccess 0.9.5 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.4  [Tuesday, September 08 , 2015]\n        . GoAccess 0.9.4 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.3  [Wednesday, August 28, 2015]\n        . GoAccess 0.9.3 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.2  [Monday, July 06, 2015]\n        . GoAccess 0.9.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9.1  [Tuesday, May 26, 2015]\n        . GoAccess 0.9.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.9  [Thursday, March 19, 2015]\n        . GoAccess 0.9 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8.5  [Sunday, September 14, 2014]\n        . GoAccess 0.8.5 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8.4  [Monday, September 08, 2014]\n        . GoAccess 0.8.4 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8.3  [Monday, July 28, 2014]\n        . GoAccess 0.8.3 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8.2  [Monday, July 21, 2014]\n        . GoAccess 0.8.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8.1  [Monday, June 16, 2014]\n        . GoAccess 0.8.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.8  [Monday, May 20, 2013]\n        . GoAccess 0.8 Released. See ChangeLog for new features/bug-fixes.\n    - 0.7.1  [Monday, February 17, 2014]\n        . GoAccess 0.7.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.7  [Monday, December 16, 2013]\n        . GoAccess 0.7 Released. See ChangeLog for new features/bug-fixes.\n    - 0.6.1  [Monday, October 07, 2013]\n        . GoAccess 0.6.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.6  [Monday, July 15, 2013]\n        . GoAccess 0.6 Released. See ChangeLog for new features/bug-fixes.\n    - 0.5  [Monday, June 04, 2012]\n        . GoAccess 0.5 Released. See ChangeLog for new features/bug-fixes.\n    - 0.4.2  [Monday, January 03, 2011]\n        . GoAccess 0.4.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.4.1  [Monday, December 13, 2010]\n        . GoAccess 0.4.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.4  [Tuesday, November 30, 2010]\n        . GoAccess 0.4 Released. See ChangeLog for new features/bug-fixes.\n    - 0.3.3  [Monday, September 27, 2010]\n        . GoAccess 0.3.3 Released. See ChangeLog for new features/bug-fixes.\n    - 0.3.2  [Thursday, September 09 2010]\n        . GoAccess 0.3.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.3.1  [Friday, September 03, 2010]\n        . GoAccess 0.3.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.3    [Sunday, August 29, 2010]\n        . GoAccess 0.3 Released. See ChangeLog for new features/bug-fixes.\n    - 0.2    [Sunday, July 25, 2010]\n        . GoAccess 0.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.1.2  [Tuesday, July 13, 2010]\n        . GoAccess 0.1.2 Released. See ChangeLog for new features/bug-fixes.\n    - 0.1.1  [Saturday, July 10, 2010]\n        . GoAccess 0.1.1 Released. See ChangeLog for new features/bug-fixes.\n    - 0.1    [Wednesday, July 07, 2010]\n        . Welcome to the GoAccess 0.1 Released.\n"
  },
  {
    "path": "README.md",
    "content": "GoAccess [![C build](https://github.com/allinurl/goaccess/actions/workflows/build-test.yml/badge.svg)](https://github.com/allinurl/goaccess/actions/workflows/build-test.yml) [![GoAccess](https://goaccess.io/badge)](https://goaccess.io)\n========\n\n## What is it? ##\nGoAccess is an open source, real-time web log analyzer and interactive viewer\nthat runs in a terminal on *nix systems or directly in your browser. Designed\nwith system administrators, DevOps engineers, and security professionals in\nmind, it delivers fast, actionable HTTP statistics and visual server reports on\nthe fly. GoAccess parses your web server logs in real time and presents the\ndata directly in the terminal or via a live HTML dashboard, making it easy to\nmonitor traffic, detect anomalies, and troubleshoot issues instantly.\n\nMore info at: [https://goaccess.io](https://goaccess.io/?src=gh).\n\n[![GoAccess Terminal Dashboard](https://goaccess.io/images/goaccess-real-time-term-gh-2026-1.png?2026021201)](https://goaccess.io/)\n[![GoAccess HTML Dashboard](https://goaccess.io/images/goaccess-real-time-html-gh-2026.png?2026021201)](https://rt.goaccess.io/?src=gh)\n\n## Features ##\nGoAccess parses the specified web log file and outputs the data to the X\nterminal. Features include:\n\n* **Completely Real Time**<br>\n  All panels and metrics are timed to be updated every 200 ms on the terminal\n  output and every second on the HTML output.\n\n* **Minimal Configuration needed**<br>\n  You can just run it against your access log file, pick the log format and let\n  GoAccess parse the access log and show you the stats.\n\n* **Track Application Response Time**<br>\n  Track the time taken to serve the request. Extremely useful if you want to\n  track pages that are slowing down your site.\n\n* **WebSocket Authentication:**<br>\n  GoAccess offers enhanced WebSocket authentication, supporting local and\n  external JWT verification, with secure token refresh capabilities and seamless\n  integration with external authentication systems.\n\n* **Nearly All Web Log Formats**<br>\n  GoAccess allows any custom log format string.  Predefined options include,\n  Apache, Nginx, Amazon S3, Elastic Load Balancing, CloudFront, etc.\n\n* **Incremental Log Processing**<br>\n  Need data persistence? GoAccess has the ability to process logs incrementally\n  through the on-disk persistence options.\n\n* **Only one dependency**<br>\n  GoAccess is written in C. To run it, you only need ncurses as a dependency.\n  That's it. It even features its own Web Socket server — http://gwsocket.io/.\n\n* **Visitors**<br>\n  Determine the amount of hits, visitors, bandwidth, and metrics for slowest\n  running requests by the hour, or date.\n\n* **Metrics per Virtual Host**<br>\n  Have multiple Virtual Hosts (Server Blocks)? It features a panel that\n  displays which virtual host is consuming most of the web server resources.\n\n* **ASN (Autonomous System Number mapping)**<br>\n  Great for detecting malicious traffic patterns and block them accordingly.\n\n* **Color Scheme Customizable**<br>\n  Tailor GoAccess to suit your own color taste/schemes. Either through the\n  terminal, or by simply applying the stylesheet on the HTML output.\n\n* **Support for Large Datasets**<br>\n  GoAccess features the ability to parse large logs due to its optimized\n  in-memory hash tables. It has very good memory usage and pretty good\n  performance. This storage has support for on-disk persistence as well.\n\n* **Docker Support**<br>\n  Ability to build GoAccess' Docker image from upstream. You can still fully\n  configure it, by using Volume mapping and editing `goaccess.conf`.  See\n  [Docker](https://github.com/allinurl/goaccess#docker) section below.\n  There is also documentation how to use [docker-compose](./docker-compose/README.md).\n\n### Nearly all web log formats... ###\nGoAccess allows any custom log format string. Predefined options include, but\nnot limited to:\n\n* Amazon CloudFront (Download Distribution).\n* Amazon Simple Storage Service (S3)\n* AWS Elastic Load Balancing\n* Combined Log Format (XLF/ELF) Apache | Nginx\n* Common Log Format (CLF) Apache\n* Google Cloud Storage.\n* Apache virtual hosts\n* Squid Native Format.\n* W3C format (IIS).\n* Caddy's JSON Structured format.\n* Traefik's CLF flavor\n\n## Why GoAccess? ##\nGoAccess was designed to be a fast, terminal-based log analyzer. Its core idea\nis to quickly analyze and view web server statistics in real time without\nneeding to use your browser (_great if you want to do a quick analysis of your\naccess log via SSH, or if you simply love working in the terminal_).\n\nIt also serves as a practical tool for security monitoring, making it easy to\nspot suspicious activity, unusual traffic patterns, brute-force attempts,\nscanners, bots, and anomalous requests directly from your logs.\n\nWhile the terminal output is the default output, it has the capability to\ngenerate a complete, self-contained, real-time [**`HTML`**](https://rt.goaccess.io/?src=gh)\nreport, as well as a [**`JSON`**](https://goaccess.io/json?src=gh), and\n[**`CSV`**](https://goaccess.io/goaccess_csv_report.csv?src=gh) report.\n\nYou can see it more of a monitor command tool than anything else.\n\n## Installation ##\n<a href=\"https://repology.org/project/goaccess/versions\">\n    <img src=\"https://repology.org/badge/vertical-allrepos/goaccess.svg\" alt=\"Packaging status\" align=\"right\">\n</a>\n\n### Build from release\n\nGoAccess can be compiled and used on *nix systems.\n\nDownload, extract and compile GoAccess with:\n\n    $ wget https://tar.goaccess.io/goaccess-1.10.1.tar.gz\n    $ tar -xzvf goaccess-1.10.1.tar.gz\n    $ cd goaccess-1.10.1/\n    $ ./configure --enable-utf8 --enable-geoip=mmdb --with-zlib\n    $ make\n    # make install\n\n### Build from GitHub (Development) ###\n\n    $ git clone https://github.com/allinurl/goaccess.git\n    $ cd goaccess\n    $ autoreconf -fiv\n    $ ./configure --enable-utf8 --enable-geoip=mmdb\n    $ make\n    # make install\n\n### Distributions ###\n\nIt is easiest to install GoAccess on GNU+Linux using the preferred package manager\nof your GNU+Linux distribution. Please note that not all distributions will have\nthe latest version of GoAccess available.\n\n#### Debian/Ubuntu ####\n\n    # apt-get install goaccess\n\n**Note:** It is likely this will install an outdated version of GoAccess. To\nmake sure that you're running the latest stable version of GoAccess see\nalternative option below.\n\n#### Official GoAccess Debian & Ubuntu repository ####\n\n    $ wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null\n    $ echo \"deb [signed-by=/usr/share/keyrings/goaccess.gpg arch=$(dpkg --print-architecture)] https://deb.goaccess.io/ $(lsb_release -cs) main\" | sudo tee /etc/apt/sources.list.d/goaccess.list\n    $ sudo apt-get update\n    $ sudo apt-get install goaccess\n\n**Note**:\n* `.deb` packages in the official repo are available through HTTPS as well. You may need to install `apt-transport-https`.\n\n#### Fedora ####\n\n    # yum install goaccess\n\n#### Arch ####\n\n    # pacman -S goaccess\n\n#### Gentoo ####\n\n    # emerge net-analyzer/goaccess\n\n#### OS X / Homebrew ####\n\n    # brew install goaccess\n\n#### FreeBSD ####\n\n    # cd /usr/ports/sysutils/goaccess/ && make install clean\n    # pkg install sysutils/goaccess\n\n#### OpenBSD ####\n\n    # cd /usr/ports/www/goaccess && make install clean\n    # pkg_add goaccess\n\n#### openSUSE  ####\n\n    # zypper ar -f obs://server:http http\n    # zypper in goaccess\n\n#### OpenIndiana ####\n\n    # pkg install goaccess\n\n#### pkgsrc (NetBSD, Solaris, SmartOS, ...) ####\n\n    # pkgin install goaccess\n\n#### Windows ####\n\nGoAccess can be used in Windows through Cygwin. See Cygwin's <a\nhref=\"https://goaccess.io/faq#installation\">packages</a>.  Or through the\nGNU+Linux Subsystem on Windows 10.\n\n#### Docker ####\n\nA Docker image has been updated, capable of directing output from an access log. If you only want to output a report, you can pipe a log from the external environment to a Docker-based process:\n\n    touch report.html\n    cat access.log | docker run --rm -i -v ./report.html:/report.html -e LANG=$LANG allinurl/goaccess -a -o report.html --log-format COMBINED -\n\nOR real-time\n\n    tail -F access.log | docker run -p 7890:7890 --rm -i -e LANG=$LANG allinurl/goaccess -a -o report.html --log-format COMBINED --real-time-html -\n\nThere is also documentation how to use [docker-compose](./docker-compose/README.md).\n\n##### Build in isolated container\n\nYou can also build the binary for Debian based systems in an isolated container environment to prevent cluttering your local system with the development libraries:\n\n    $ curl -L \"https://github.com/allinurl/goaccess/archive/refs/heads/master.tar.gz\" | tar -xz && cd goaccess-master\n    $ docker build -t goaccess/build.debian-12 -f Dockerfile.debian-12 .\n    $ docker run -i --rm -v $PWD:/goaccess goaccess/build.debian-12 > goaccess\n\nYou can read more about using the docker image in [DOCKER.md](https://github.com/allinurl/goaccess/blob/master/DOCKER.md).\n\n#### Distribution Packages ####\n\nGoAccess has minimal requirements, it's written in C and requires only ncurses.\nHowever, below is a table of some optional dependencies in some distros to\nbuild GoAccess from source.\n\n| Distro                 | NCurses          | GeoIP (opt)      | GeoIP2 (opt)          |  OpenSSL (opt)     |\n| ---------------------- | ---------------- | ---------------- | --------------------- | -------------------|\n| **Ubuntu/Debian**      | libncurses-dev   | libgeoip-dev     | libmaxminddb-dev      |  libssl-dev        |\n| **RHEL/CentOS**        | ncurses-devel    | geoip-devel      | libmaxminddb-devel    |  openssl-devel     |\n| **Arch**               | ncurses          | geoip            | libmaxminddb          |  openssl           |\n| **Gentoo**             | sys-libs/ncurses | dev-libs/geoip   | dev-libs/libmaxminddb |  dev-libs/openssl  |\n| **Slackware**          | ncurses          | GeoIP            | libmaxminddb          |  openssl           |\n\n**Note**: You may need to install build tools like `gcc`, `autoconf`,\n`gettext`, `autopoint` etc. for compiling/building software from source. e.g.,\n`base-devel`, `build-essential`, `\"Development Tools\"`.\n\n## Storage ##\n\n#### Default Hash Tables ####\n\nIn-memory storage provides better performance at the cost of limiting the\ndataset size to the amount of available physical memory. GoAccess uses\nin-memory hash tables.  It has very good memory usage and pretty good\nperformance. This storage has support for on-disk persistence as well.\n\n## Command Line / Config Options ##\nSee [**options**](https://goaccess.io/man#options) that can be supplied to the command or\nspecified in the configuration file. If specified in the configuration file, long\noptions need to be used without prepending `--`.\n\n## Usage / Examples ##\n**Note**: Piping data into GoAccess won't prompt a log/date/time\nconfiguration dialog, you will need to previously define it in your\nconfiguration file or in the command line.\n\n### Getting Started ###\n\nTo output to a terminal and generate an interactive report:\n\n    # goaccess access.log\n\nTo generate an HTML report:\n\n    # goaccess access.log -a > report.html\n\nTo generate a JSON report file:\n\n    # goaccess access.log -a -d -o report.json\n\nTo generate a CSV report to stdout:\n\n    # goaccess access.log --no-csv-summary -o csv\n\nGoAccess also allows great flexibility for real-time filtering and parsing. For\ninstance, to quickly diagnose issues by monitoring logs since goaccess was\nstarted:\n\n    # tail -f access.log | goaccess -\n\nAnd even better, to filter while maintaining opened a pipe to preserve\nreal-time analysis, we can make use of `tail -f` and a matching pattern tool\nsuch as `grep`, `awk`, `sed`, etc.:\n\n    # tail -f access.log | grep -i --line-buffered 'firefox' | goaccess --log-format=COMBINED -\n\nor to parse from the beginning of the file while maintaining the pipe opened\nand applying a filter\n\n    # tail -f -n +0 access.log | grep -i --line-buffered 'firefox' | goaccess -o report.html --real-time-html -\n\n\n### Multiple Log files ###\n\nThere are several ways to parse multiple logs with GoAccess. The simplest is to\npass multiple log files to the command line:\n\n    # goaccess access.log access.log.1\n\nIt's even possible to parse files from a pipe while reading regular files:\n\n    # cat access.log.2 | goaccess access.log access.log.1 -\n\n**Note**: the single dash is appended to the command line to let GoAccess\nknow that it should read from the pipe.\n\nNow if we want to add more flexibility to GoAccess, we can use `zcat --force`\nto read compressed and uncompressed files. For instance, if we would\nlike to process all log files `access.log*`, we can do:\n\n    # zcat --force access.log* | goaccess -\n\n_Note_: On Mac OS X, use `gunzip -c` instead of `zcat`.\n\n### Multi-thread Support ###\n\nUse `--jobs=<count>` (or `-j`) to enable multi-thread parsing. For example:\n\n    # goaccess access.log -o report.html -j 4\n\n\nAnd use `--chunk-size=<256-32768>` to adjust chunk size, the default chunk size is 1024. For example:\n\n    # goaccess access.log -o report.html -j 4 --chunk-size=8192\n\n\n### Real-time HTML outputs ###\n\nGoAccess has the ability the output real-time data in the HTML report. You can\neven email the HTML file since it is composed of a single file with no external\nfile dependencies, how neat is that!\n\nThe process of generating a real-time HTML report is very similar to the\nprocess of creating a static report. Only `--real-time-html` is needed to make\nit real-time.\n\n    # goaccess access.log -o /usr/share/nginx/html/your_site/report.html --real-time-html\n\nTo view the report you can navigate to `http://your_site/report.html`.\n\nBy default, GoAccess will use the host name of the generated report.\nOptionally, you can specify the URL to which the client's browser will connect\nto. See [FAQ](https://goaccess.io/faq) for a more detailed example.\n\n    # goaccess access.log -o report.html --real-time-html --ws-url=goaccess.io\n\nBy default, GoAccess listens on port 7890, to use a different port other than\n7890, you can specify it as (make sure the port is opened):\n\n    # goaccess access.log -o report.html --real-time-html --port=9870\n\nAnd to bind the WebSocket server to a different address other than 0.0.0.0, you\ncan specify it as:\n\n    # goaccess access.log -o report.html --real-time-html --addr=127.0.0.1\n\n**Note**: To output real time data over a TLS/SSL connection, you need to use\n`--ssl-cert=<cert.crt>` and `--ssl-key=<priv.key>`.\n\n### Filtering ###\n\n#### Working with dates ####\n\nAnother useful pipe would be filtering dates out of the web log\n\nThe following will get all HTTP requests starting on `05/Dec/2010` until the\nend of the file.\n\n    # sed -n '/05\\/Dec\\/2010/,$ p' access.log | goaccess -a -\n\nor using relative dates such as yesterdays or tomorrows day:\n\n    # sed -n '/'$(date '+%d\\/%b\\/%Y' -d '1 week ago')'/,$ p' access.log | goaccess -a -\n\nIf we want to parse only a certain time-frame from DATE a to DATE b, we can do:\n\n    # sed -n '/5\\/Nov\\/2010/,/5\\/Dec\\/2010/ p' access.log | goaccess -a -\n\nIf we want to preserve only certain amount of data and recycle storage, we can\nkeep only a certain number of days. For instance to keep & show the last 5\ndays:\n\n    # goaccess access.log --keep-last=5\n\n#### Virtual hosts ####\n\nAssuming your log contains the virtual host field. For instance:\n\n    vhost.io:80 8.8.4.4 - - [02/Mar/2016:08:14:04 -0600] \"GET /shop HTTP/1.1\" 200 615 \"-\" \"Googlebot-Image/1.0\"\n\nAnd you would like to append the virtual host to the request in order to see\nwhich virtual host the top urls belong to:\n\n    awk '$8=$1$8' access.log | goaccess -a -\n\nTo do the same, but also use real-time filtering and parsing:\n\n    tail -f  access.log | unbuffer -p awk '$8=$1$8' | goaccess -a -\n\nTo exclude a list of virtual hosts you can do the following:\n\n    # grep -v \"`cat exclude_vhost_list_file`\" vhost_access.log | goaccess -\n\n#### Files, status codes and bots ####\n\nTo parse specific pages, e.g., page views, `html`, `htm`, `php`, etc. within a\nrequest:\n\n    # awk '$7~/\\.html|\\.htm|\\.php/' access.log | goaccess -\n\nNote, `$7` is the request field for the common and combined log format,\n(without Virtual Host), if your log includes Virtual Host, then you probably\nwant to use `$8` instead. It's best to check which field you are shooting for,\ne.g.:\n\n    # tail -10 access.log | awk '{print $8}'\n\nOr to parse a specific status code, e.g., 500 (Internal Server Error):\n\n    # awk '$9~/500/' access.log | goaccess -\n\nOr multiple status codes, e.g., all 3xx and 5xx:\n\n    # tail -f -n +0 access.log | awk '$9~/3[0-9]{2}|5[0-9]{2}/' | goaccess -o out.html -\n\nAnd to get an estimated overview of how many bots (crawlers) are hitting your server:\n\n    # tail -F -n +0 access.log | grep -i --line-buffered 'bot' | goaccess -\n\n### Tips ###\n\nAlso, it is worth pointing out that if we want to run GoAccess at lower\npriority, we can run it as:\n\n    # nice -n 19 goaccess -f access.log -a\n\nand if you don't want to install it on your server, you can still run it from\nyour local machine!\n\n    # ssh -n root@server 'tail -f /var/log/apache2/access.log' | goaccess - --log-format=COMBINED\n\n**Note:** SSH requires `-n` so GoAccess can read from stdin. Also, make sure to\nuse SSH keys for authentication as it won't work if a passphrase is required.\n\n#### Troubleshooting ####\n\nWe receive many questions and issues that have been answered previously.\n\n* Date/time matching problems? Check that your log format and the system locale in which you run GoAccess match. See [#1571](https://github.com/allinurl/goaccess/issues/1571#issuecomment-543186858)\n* Problems with pattern matching? Spaces are often a problem, see for instance [#136](https://github.com/allinurl/goaccess/issues/136), [#1579](https://github.com/allinurl/goaccess/issues/1579)\n* Other issues matching log entries: See [>200 closed issues regarding log/date/time formats](https://github.com/allinurl/goaccess/issues?q=is%3Aissue+is%3Aclosed+label%3A%22log%2Fdate%2Ftime+format%22)\n* Problems with log processing? See [>111 issues regarding log processing](https://github.com/allinurl/goaccess/issues?q=is%3Aissue+is%3Aclosed+label%3Alog-processing)\n\n\n#### Incremental log processing ####\n\nGoAccess has the ability to process logs incrementally through its internal\nstorage and dump its data to disk. It works in the following way:\n\n1. A dataset must be persisted first with `--persist`, then the same dataset\ncan be loaded with.\n2. `--restore`.  If new data is passed (piped or through a log file), it will\nappend it to the original dataset.\n\n##### NOTES #####\n\nGoAccess keeps track of inodes of all the files processed (assuming files will\nstay on the same partition), in addition, it extracts a snippet of data from\nthe log along with the last line parsed of each file and the timestamp of the\nlast line parsed. e.g., `inode:29627417|line:20012|ts:20171231235059`\n\nFirst, it compares if the snippet matches the log being parsed, if it does, it\nassumes the log hasn't changed drastically, e.g., hasn't been truncated. If\nthe inode does not match the current file, it parses all lines. If the current\nfile matches the inode, it then reads the remaining lines and updates the count\nof lines parsed and the timestamp. As an extra precaution, it won't parse log\nlines with a timestamp ≤ than the one stored.\n\nPiped  data works based off the timestamp of the last line read. For instance,\nit will parse and discard all incoming entries until it finds a timestamp >=\nthan the one stored.\n\n##### Examples #####\n\n    // last month access log\n    # goaccess access.log.1 --persist\n\nthen, load it with\n\n    // append this month access log, and preserve new data\n    # goaccess access.log --restore --persist\n\nTo read persisted data only (without parsing new data)\n\n    # goaccess --restore\n\n## Contributing ##\n\nAny help on GoAccess is welcome. The most helpful way is to try it out and give\nfeedback. Feel free to use the GitHub issue tracker and pull requests to\ndiscuss and submit code changes.\n\nYou can contribute to our translations by editing the .po files direct on GitHub or using the visual interface [inlang.com](https://inlang.com/editor/github.com/allinurl/goaccess)\n\nEnjoy!\n"
  },
  {
    "path": "SECURITY.md",
    "content": "# Security Policy\n\nFound a security issue in [GoAccess](https://github.com/allinurl/goaccess)?\nRead on.\n\n## Reporting a Vulnerability\n\nGoAccess takes all security bugs seriously. Thank you for improving the\nsecurity of `goaccess`. I appreciate your efforts and responsible disclosure\nand will make every effort to acknowledge your contributions.\n\nVulnerabilities should be reported to [hello@goaccess.io](mailto:hello@goaccess.io) which is a private,\nmaintainer-only email address.\n\n\nWhen I receive a security bug report, I will work on the fix and prepare a\nrelease including the following steps:\n\n  * Confirm the problem and determine the affected versions.\n  * Audit the code to find any potential similar problems.\n\n## Comments on this Policy\n\nIf you have suggestions on how this process could be improved please submit a\npull request.\n\nWhen reporting an issue, where possible, please provide the following (if\npossible):\n\n* Commit version where the issue was introduced.\n* A proof of concept (plaintext; or ideally send a patch to same email address)\n* Steps to reproduce\n* Your recommended fixes, if any.\n\n> Note: Please do not open public issues for security issues, as GitHub does\n> not provide facility for private issues, and deleting the issue makes it hard\n> to triage/respond back to the reporter.\n"
  },
  {
    "path": "TODO",
    "content": "Copyright (C) 2009-2026\n6erardo Orellana <goaccess@prosoftcorp.com>\n\nFor a more comprehensive list of to-do items, please refer to the GitHub site.\nhttps://github.com/allinurl/goaccess/issues\n\nor visit https://goaccess.io/faq#todo\n\nIf you are interested in working on any of the items listed in there, email\ngoaccess@prosoftcorp.com or better, open a new issue:\n"
  },
  {
    "path": "build-dynamic.sh",
    "content": "#!/usr/bin/env sh\n# Build dynamic linked binaries on Debian.\nset -o nounset   ## set -u : exit the script if you try to use an uninitialised variable\nset -o errexit   ## set -e : exit the script if any statement returns a non-true return value\n\n# should be either of \"mmdb\" or \"legacy\"\ngeoip=${1:-\"mmdb\"}\n\nautoreconf -fi > /dev/null 2>&1\n./configure CFLAGS=-Werror --enable-utf8 --with-openssl --with-getline --enable-geoip=\"$geoip\" >/dev/null\nmake -j > /dev/null\ncat goaccess\n"
  },
  {
    "path": "config/browsers.list",
    "content": "# List of browsers and their categories\n# e.g., WORD delimited by tab(s) TYPE\n# TYPE can be any type and it's not limited to the ones below.\n#\n# **IMPORTANT NOTE**:\n# ---------------------\n# The SIZE of the list is proportional to the run time.\n# Thus, the longer the list, the more time GoAccess will take to parse it.\n#\n# Also, you should note that the higher the browser/item is on the list, the\n# faster the parsing will be.\n#\n# The list needs to be specified using --browsers-file=<path>. This file is not\n# parsed by default.\n#\n# The items below are sample crawlers, adjust as needed.\n\nChef Client\t\t\t\t\t\t\t\tCrawlers\nAbonti\t\t\t\t\t\t\t\t\tCrawlers\nSISTRIX\t\t\t\t\t\t\t\t\tCrawlers\nDotBot\t\t\t\t\t\t\t\t\tCrawlers\nSpeedy\tSpider\t\t\t\t\t\t\t\tCrawlers\nSosospider\t\t\t\t\t\t\t\tCrawlers\nBPImageWalker\t\t\t\t\t\t\t\tCrawlers\nDoCoMo\t\t\t\t\t\t\t\t\tCrawlers\nGSLFbot\t\t\t\t\t\t\t\t\tCrawlers\nYodaoBot\t\t\t\t\t\t\t\tCrawlers\nAddThis\t\t\t\t\t\t\t\t\tCrawlers\nPurebot\t\t\t\t\t\t\t\t\tCrawlers\nCCBot\t\t\t\t\t\t\t\t\tCrawlers\nfindlinks\t\t\t\t\t\t\t\tCrawlers\nichiro\t\t\t\t\t\t\t\t\tCrawlers\nLinguee Bot\t\t\t\t\t\t\t\tCrawlers\nGigabot\t\t\t\t\t\t\t\t\tCrawlers\nBacklinkCrawler\t\t\t\t\t\t\t\tCrawlers\ndistilator\t\t\t\t\t\t\t\tCrawlers\nAboundex\t\t\t\t\t\t\t\tCrawlers\nUnwindFetchor\t\t\t\t\t\t\t\tCrawlers\nSBIder\t\t\t\t\t\t\t\t\tCrawlers\nTestNutch\t\t\t\t\t\t\t\tCrawlers\nDomainCrawler\t\t\t\t\t\t\t\tCrawlers\nNextGenSearchBot\t\t\t\t\t\t\tCrawlers\nSEOENGWorldBot\t\t\t\t\t\t\t\tCrawlers\nCityreview\t\t\t\t\t\t\t\tCrawlers\nPagePeeker\t\t\t\t\t\t\t\tCrawlers\nJS-Kit\t\t\t\t\t\t\t\t\tCrawlers\nScreenerBot\t\t\t\t\t\t\t\tCrawlers\nShowyouBot\t\t\t\t\t\t\t\tCrawlers\nSolomonoBot\t\t\t\t\t\t\t\tCrawlers\nDomnutch\t\t\t\t\t\t\t\tCrawlers\nMaxPoint\t\t\t\t\t\t\t\tCrawlers\nNCBot\t\t\t\t\t\t\t\t\tCrawlers\nTosCrawler\t\t\t\t\t\t\t\tCrawlers\nUpdownerbot\t\t\t\t\t\t\t\tCrawlers\nOpenWebSpider\t\t\t\t\t\t\t\tCrawlers\nWordPress\t\t\t\t\t\t\t\tCrawlers\nPEAR\t\t\t\t\t\t\t\t\tCrawlers\nZumBot\t\t\t\t\t\t\t\t\tCrawlers\nYisouSpider\t\t\t\t\t\t\t\tCrawlers\nW3C\t\t\t\t\t\t\t\t\tCrawlers\nvcheck\t\t\t\t\t\t\t\t\tCrawlers\nPercolateCrawler\t\t\t\t\t\t\tCrawlers\nNING\t\t\t\t\t\t\t\t\tCrawlers\ngvfs\t\t\t\t\t\t\t\t\tCrawlers\nCatchBot\t\t\t\t\t\t\t\tCrawlers\nCombine\t\t\t\t\t\t\t\t\tCrawlers\nA6-Indexer\t\t\t\t\t\t\t\tCrawlers\nAltresium\t\t\t\t\t\t\t\tCrawlers\nComodo\t\t\t\t\t\t\t\t\tCrawlers\ncrawler4j\t\t\t\t\t\t\t\tCrawlers\nCricket\t\t\t\t\t\t\t\t\tCrawlers\nEC2LinkFinder\t\t\t\t\t\t\t\tCrawlers\nenvolk\t\t\t\t\t\t\t\t\tCrawlers\nGeoHasher\t\t\t\t\t\t\t\tCrawlers\nHTMLParser\t\t\t\t\t\t\t\tCrawlers\nMLBot\t\t\t\t\t\t\t\t\tCrawlers\nJaxified\t\t\t\t\t\t\t\tCrawlers\nLinkWalker\t\t\t\t\t\t\t\tCrawlers\nnutch\t\t\t\t\t\t\t\t\tCrawlers\nPostRank\t\t\t\t\t\t\t\tCrawlers\nkeybase-proofs\t\t\t\t\t\t\t\tCrawlers\nCommonCrawler\t\t\t\t\t\t\t\tCrawlers\nX-CAD-SE\t\t\t\t\t\t\t\tCrawlers\nSafeassign\t\t\t\t\t\t\t\tCrawlers\nNmap\t\t\t\t\t\t\t\t\tCrawlers\nsqlmap\t\t\t\t\t\t\t\t\tCrawlers\nJorgee\t\t\t\t\t\t\t\t\tCrawlers\nPxBroker\t\t\t\t\t\t\t\tCrawlers\nSeekport\t\t\t\t\t\t\t\tCrawlers\nadscanner\t\t\t\t\t\t\t\tCrawlers\nAfD-Verbotsverfahren_JETZT!\t\t\t\t\t\tCrawlers\nDuckDuckGo-favicons-Bot\t\t\t\t\t\t\tCrawlers\nbingbot\t\t\t\t\t\t\t\t\tCrawlers\nPetalBot\t\t\t\t\t\t\t\tCrawlers\nDiscordbot\t\t\t\t\t\t\t\tCrawlers\nZoominfoBot\t\t\t\t\t\t\t\tCrawlers\nGooglebot\t\t\t\t\t\t\t\tCrawlers\nAhrefsBot\t\t\t\t\t\t\t\tCrawlers\nSemrushBot\t\t\t\t\t\t\t\tCrawlers\nAdsbot\t\t\t\t\t\t\t\t\tCrawlers\nBLEXBot\t\t\t\t\t\t\t\t\tCrawlers\nNetcraftSurveyAgent\t\t\t\t\t\t\tCrawlers\nNetcraft Web Server Survey\t\t\t\t\t\tCrawlers\nmasscan\t\t\t\t\t\t\t\t\tCrawlers\nMJ12bot\t\t\t\t\t\t\t\t\tCrawlers\nPandalytics\t\t\t\t\t\t\t\tCrawlers\nYandexBot\t\t\t\t\t\t\t\tCrawlers\nNimbostratus-Bot\t\t\t\t\t\t\tCrawlers\nSeznamBot\t\t\t\t\t\t\t\tCrawlers\nAppleBot\t\t\t\t\t\t\t\tCrawlers\n\nVienna\t\t\t\t\t\t\t\t\tFeeds\nWindows-RSS-Platform\t\t\t\t\t\t\tFeeds\nnewsbeuter\t\t\t\t\t\t\t\tFeeds\nWrangler\t\t\t\t\t\t\t\tFeeds\nFever\t\t\t\t\t\t\t\t\tFeeds\nTiny\t\t\t\t\t\t\t\t\tFeeds\nFreshRSS\t\t\t\t\t\t\t\tFeeds\nKrISS\t\t\t\t\t\t\t\t\tFeeds\nSimplePie\t\t\t\t\t\t\t\tFeeds\nFeedsubs\t\t\t\t\t\t\t\tFeeds\nUniversalFeedParser\t\t\t\t\t\t\tFeeds\n"
  },
  {
    "path": "config/goaccess.conf",
    "content": "######################################\n# Time Format Options (required)\n######################################\n#\n# The hour (24-hour clock) [00,23]; leading zeros are permitted but not required.\n# The minute [00,59]; leading zeros are permitted but not required.\n# The seconds [00,60]; leading zeros are permitted but not required.\n# See `man strftime` for more details\n#\n# The following time format works with any of the\n# Apache/NGINX's log formats below.\n#\n#time-format %H:%M:%S\n#\n# Google Cloud Storage or\n# The time in microseconds since the Unix epoch.\n#\n#time-format %f\n\n# Squid native log format\n#\n#time-format %s\n\n######################################\n# Date Format Options (required)\n######################################\n#\n# The date-format variable followed by a space, specifies\n# the log format date containing any combination of regular\n# characters and special format specifiers. They all begin with a\n# percentage (%) sign. See `man strftime`\n#\n# The following date format works with any of the\n# Apache/NGINX's log formats below.\n#\n#date-format %d/%b/%Y\n#\n# AWS | Amazon CloudFront (Download Distribution)\n# AWS | Elastic Load Balancing\n# W3C (IIS)\n#\n#date-format %Y-%m-%d\n#\n# Google Cloud Storage or\n# The time in microseconds since the Unix epoch.\n#\n#date-format %f\n\n# Squid native log format\n# Caddy\n#\n#date-format %s\n\n######################################\n# Date/Time Format Option\n######################################\n#\n# The datetime-format variable followed by a space, specifies\n# the log format date and time containing any combination of regular\n# characters and special format specifiers. They all begin with a\n# percentage (%) sign. See `man strftime`\n#\n# This gives the ability to get the timezone from a request and\n# convert it to another timezone for output. See --tz=<timezone> in\n# the man page.\n#\n#datetime-format %d/%b/%Y:%H:%M:%S %z\n\n######################################\n# Log Format Options (required)\n######################################\n#\n# The log-format variable followed by a space or \\t for\n# tab-delimited, specifies the log format string.\n#\n# NOTE: If the time/date is a timestamp in seconds or microseconds\n# %x must be used instead of %d & %t to represent the date & time.\n\n# NCSA Combined Log Format\n#log-format %h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"\n\n# NCSA Combined Log Format with Virtual Host\n#log-format %v:%^ %h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"\n\n# Common Log Format (CLF)\n#log-format %h %^[%d:%t %^] \"%r\" %s %b\n\n# Common Log Format (CLF) with Virtual Host\n#log-format %v:%^ %h %^[%d:%t %^] \"%r\" %s %b\n\n# W3C\n#log-format %d %t %h %^ %^ %^ %^ %r %^ %s %b %^ %^ %u %R\n\n# Squid native log format\n#log-format %^ %^ %^ %v %^: %x.%^ %~%L %h %^/%s %b %m %U\n\n# AWS | Amazon CloudFront (Download Distribution)\n#log-format %d\\t%t\\t%^\\t%b\\t%h\\t%m\\t%^\\t%r\\t%s\\t%R\\t%u\\t%^\n\n# Google Cloud Storage\n#log-format \"%x\",\"%h\",%^,%^,\"%m\",\"%U\",\"%s\",%^,\"%b\",\"%D\",%^,\"%R\",\"%u\"\n\n# AWS | Elastic Load Balancing\n#log-format %dT%t.%^ %^ %h:%^ %^ %T %^ %^ %^ %s %^ %b \"%r\" \"%u\"\n\n# AWSS3 | Amazon Simple Storage Service (S3)\n#log-format %^[%d:%t %^] %h %^\"%r\" %s %^ %b %^ %L %^ \"%R\" \"%u\"\n\n# Virtualmin Log Format with Virtual Host\n#log-format %h %^ %v %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\"\n\n# Kubernetes Nginx Ingress Log Format\n#log-format %^ %^ [%h] %^ %^ [%d:%t %^] \"%r\" %s %b \"%R\" \"%u\" %^ %^ [%v] %^:%^ %^ %T %^ %^\n\n# CADDY JSON Structured\n#log-format {\"ts\":\"%x.%^\",\"request\":{\"client_ip\":\"%h\",\"proto\":\"%H\",\"method\":\"%m\",\"host\":\"%v\",\"uri\":\"%U\",\"headers\":{\"User-Agent\":[\"%u\"],\"Referer\":[\"%R\"]},\"tls\":{\"cipher_suite\":\"%k\",\"proto\": \"%K\"}},\"duration\": \"%T\",\"size\": \"%b\",\"status\": \"%s\",\"resp_headers\":{\"Content-Type\":[\"%M\"]}}\n\n# Traefik CLF flavor\n#log-format %h - %e [%d:%t %^] \"%r\" %s %b \"%R\" \"%u\" %^ \"%v\" \"%U\" %Lms\n\n# In addition to specifying the raw log/date/time formats, for\n# simplicity, any of the following predefined log format names can be\n# supplied to the log/date/time-format variables. GoAccess  can  also\n# handle  one  predefined name in one variable and another predefined\n# name in another variable.\n#\n#log-format COMBINED\n#log-format VCOMBINED\n#log-format COMMON\n#log-format VCOMMON\n#log-format W3C\n#log-format SQUID\n#log-format CLOUDFRONT\n#log-format CLOUDSTORAGE\n#log-format AWSELB\n#log-format AWSS3\n#log-format CADDY\n#log-format TRAEFIKCLF\n\n######################################\n# UI Options\n######################################\n\n# Choose among color schemes\n# 1 : Monochrome\n# 2 : Green\n# 3 : Monokai (if 256-colors supported)\n#\n#color-scheme 3\n\n# Prompt log/date configuration window on program start.\n#\nconfig-dialog false\n\n# Color highlight active panel.\n#\nhl-header true\n\n# Specify a custom CSS file in the HTML report.\n#\n#html-custom-css /path/file.css\n\n# Specify a custom JS file in the HTML report.\n#\n#html-custom-js /path/file.js\n\n# Set default HTML preferences.\n#\n# NOTE: A valid JSON object is required.\n# DO NOT USE A MULTILINE JSON OBJECT.\n# The parser will only parse the value next to `html-prefs` (single line)\n# It allows the ability to customize each panel plot. See example below.\n#\n#html-prefs {\"theme\":\"bright\",\"perPage\":5,\"layout\":\"horizontal\",\"showTables\":true,\"visitors\":{\"plot\":{\"chartType\":\"bar\"}}}\n\n# Set HTML report page title and header.\n#\n#html-report-title My Awesome Web Stats\n\n# Format JSON output using tabs and newlines.\n#\njson-pretty-print false\n\n# Turn off colored output. This is the  default output on\n# terminals that do not support colors.\n# true  : for no color output\n# false : use color-scheme\n#\nno-color false\n\n# Don't write column names in the terminal output. By default, it displays\n# column names for each available metric in every panel.\n#\nno-column-names false\n\n# Disable summary metrics on the CSV output.\n#\nno-csv-summary false\n\n# Disable progress metrics.\n#\nno-progress false\n\n# Disable scrolling through panels on TAB.\n#\nno-tab-scroll false\n\n# Disable progress metrics and parsing spinner.\n#\n#no-parsing-spinner true\n\n# Do not show the last updated field displayed in the HTML generated report.\n#\n#no-html-last-updated true\n\n# Outputs the report date/time data in the given timezone. Note that it\n# uses the canonical timezone name. See --datetime-format in order to\n# properly specify a timezone in the date/time format.\n#\n#tz Europe/Berlin\n\n# Enable mouse support on main dashboard.\n#\nwith-mouse false\n\n# Maximum number of items to show per panel.\n# Note: Only the CSV and JSON outputs allow a maximum greater than the\n# default value of 366.\n#\n#max-items 366\n\n# Custom colors for the terminal output\n# Tailor GoAccess to suit your own tastes.\n#\n# Color Syntax:\n# DEFINITION space/tab colorFG#:colorBG# [[attributes,] PANEL]\n#\n# FG# = foreground color number [-1...255] (-1 = default terminal color)\n# BG# = background color number [-1...255] (-1 = default terminal color)\n#\n# Optionally:\n#\n# It is possible to apply color attributes, such as:\n# bold,underline,normal,reverse,blink.\n# Multiple attributes are comma separated\n#\n# If desired, it is possible to apply custom colors per panel, that is, a\n# metric in the REQUESTS panel can be of color A, while the same metric in the\n# BROWSERS panel can be of color B.\n#\n# The following is a 256 color scheme (hybrid palette)\n#\n#color COLOR_MTRC_HITS              color110:color-1\n#color COLOR_MTRC_VISITORS          color173:color-1\n#color COLOR_MTRC_DATA              color221:color-1\n#color COLOR_MTRC_BW                color167:color-1\n#color COLOR_MTRC_AVGTS             color143:color-1\n#color COLOR_MTRC_CUMTS             color247:color-1\n#color COLOR_MTRC_MAXTS             color186:color-1\n#color COLOR_MTRC_PROT              color109:color-1\n#color COLOR_MTRC_MTHD              color139:color-1\n#color COLOR_MTRC_HITS_PERC         color186:color-1\n#color COLOR_MTRC_HITS_PERC_MAX     color139:color-1\n#color COLOR_MTRC_HITS_PERC_MAX     color139:color-1 VISITORS\n#color COLOR_MTRC_HITS_PERC_MAX     color139:color-1 OS\n#color COLOR_MTRC_HITS_PERC_MAX     color139:color-1 BROWSERS\n#color COLOR_MTRC_HITS_PERC_MAX     color139:color-1 VISIT_TIMES\n#color COLOR_MTRC_VISITORS_PERC     color186:color-1\n#color COLOR_MTRC_VISITORS_PERC_MAX color139:color-1\n#color COLOR_MTRC_BW_PERC           color186:color-1\n#color COLOR_MTRC_BW_PERC_MAX       color139:color-1\n#color COLOR_PANEL_COLS             color243:color-1\n#color COLOR_BARS                   color240:color-1\n#color COLOR_SUBBARS                color250:color-1\n#color COLOR_CHART_AXIS             color241:color-1\n#color COLOR_CHART_VALUES           color248:color-1\n#color COLOR_ERROR                  color231:color167\n#color COLOR_SELECTED               color7:color167\n#color COLOR_PANEL_ACTIVE           color7:color237\n#color COLOR_PANEL_HEADER           color250:color235\n#color COLOR_PANEL_DESC             color242:color-1\n#color COLOR_OVERALL_LBLS           color243:color-1\n#color COLOR_OVERALL_VALS           color167:color-1\n#color COLOR_OVERALL_PATH           color186:color-1\n#color COLOR_ACTIVE_LABEL           color139:color235 bold underline\n#color COLOR_BG                     color250:color-1\n#color COLOR_DEFAULT                color243:color-1\n#color COLOR_PROGRESS               color7:color110\n\n######################################\n# Server Options\n######################################\n\n# Specify IP address to bind server to.\n#\n#addr 0.0.0.0\n\n# Run GoAccess as daemon (if --real-time-html enabled).\n#\n#daemonize false\n\n# Ensure clients send the specified origin header upon the WebSocket\n# handshake.\n#\n#origin http://example.org\n\n# The port to which the connection is being attempted to connect.\n# By default GoAccess' WebSocket server listens on port 7890\n# See man page or http://gwsocket.io for details.\n#\n#port 7890\n\n# Write the PID to a file when used along the daemonize option.\n#\n#pid-file /var/run/goaccess.pid\n\n# Enable real-time HTML output.\n#\n#real-time-html true\n\n# Path to TLS/SSL certificate.\n# Note that ssl-cert and ssl-key need to be used to enable TLS/SSL.\n#\n#ssl-cert /path/ssl/domain.crt\n\n# Path to TLS/SSL private key.\n# Note that ssl-cert and ssl-key need to be used to enable TLS/SSL.\n#\n#ssl-key /path/ssl/domain.key\n\n# URL to which the WebSocket server responds. This is the URL supplied\n# to the WebSocket constructor on the client side.\n#\n# Optionally, it is possible to specify the WebSocket URI scheme, such as ws://\n# or wss:// for unencrypted and encrypted connections.\n# e.g., ws-url wss://goaccess.io\n#\n# If GoAccess is running behind a proxy, you could set the client side\n# to connect to a different port by specifying the host followed by a\n# colon and the port.\n# e.g., ws-url goaccess.io:9999\n#\n# By default, it will attempt to connect to localhost. If GoAccess is\n# running on a remote server, the host of the remote server should be\n# specified here. Also, make sure it is a valid host and NOT an http\n# address.\n#\n#ws-url goaccess.io\n\n# Path to read named pipe (FIFO).\n#\n#fifo-in /tmp/wspipein.fifo\n\n# Path to write named pipe (FIFO).\n#\n#fifo-out /tmp/wspipeout.fifo\n\n\n## WebSocket Authentication\n# See man page for more details.\n#\n# Enables WebSocket authentication using a JSON Web Token (JWT). Optionally, a\n# secret key can be provided for verification.\n#\n#ws-auth=<jwt[:secret]>\n\n# Time after which the JWT expires (only for local generated JWTs).\n#\n#ws-auth-expire=<secs>\n\n# URL to fetch the initial JWT. e.g., https://site.com/api/get-auth-token\n#\n#ws-auth-url=<url>\n\n# URL to fetch a new JWT when initial expires. e.g.,\n# https://site.com/api/refresh-token\n#\n#ws-auth-refresh-url=<url>\n\n\n######################################\n# File Options\n######################################\n\n# Specify the path to the input log file. If set, it will take\n# priority over -f from the command line.\n#\n#log-file /var/log/apache2/access.log\n\n# Send all debug messages to the specified file.\n#\n#debug-file debug.log\n\n# Specify a custom configuration file to use. If set, it will take\n# priority over the global configuration file (if any).\n#\n#config-file <filename>\n\n# Log invalid requests to the specified file.\n#\n#invalid-requests <filename>\n\n# Do not load the global configuration file.\n#\n#no-global-config false\n\n######################################\n# Parse Options\n######################################\n\n# Enable a list of user-agents by host. For faster parsing, do not\n# enable this flag.\n#\nagent-list false\n\n#  Enable IP resolver on HTML|JSON|CSV output.\n#\nwith-output-resolver false\n\n# Exclude an IPv4 or IPv6 from being counted.\n# Ranges can be included as well using a dash in between\n# the IPs (start-end).\n#\n#exclude-ip 127.0.0.1\n#exclude-ip 192.168.0.1-192.168.0.100\n#exclude-ip ::1\n#exclude-ip 0:0:0:0:0:ffff:808:804-0:0:0:0:0:ffff:808:808\n\n# Include HTTP request method if found. This will create a\n# request key containing the request method + the actual request.\n#\n# <yes|no> [default: yes]\n#\nhttp-method yes\n\n# Include HTTP request protocol if found. This will create a\n# request key containing the request protocol + the actual request.\n#\n# <yes|no> [default: yes]\n#\nhttp-protocol yes\n\n# Write  output to stdout given one of the following files and the\n# corresponding extension for the output format:\n#\n# /path/file.csv  - Comma-separated values (CSV)\n# /path/file.json - JSON (JavaScript Object Notation)\n# /path/file.html - HTML\n#\n# output /path/file.html\n\n# Ignore request's query string.\n# i.e.,  www.google.com/page.htm?query => www.google.com/page.htm\n#\n# Note: Removing the query string can greatly decrease memory\n# consumption, especially on timestamped requests.\n#\nno-query-string false\n\n# Disable IP resolver on terminal output.\n#\nno-term-resolver false\n\n# Treat non-standard status code 444 as 404.\n#\n444-as-404 false\n\n# Add 4xx client errors to the unique visitors count.\n#\n4xx-to-unique-count false\n\n# IP address anonymization\n# The IP anonymization option sets the last octet of IPv4 user IP addresses and\n# the last 80 bits of IPv6 addresses to zeros.\n# e.g., 192.168.20.100 => 192.168.20.0\n# e.g., 2a03:2880:2110:df07:face:b00c::1 => 2a03:2880:2110:df07::\n#\n#anonymize-ip false\n\n# Include static files that contain a query string in the static files\n# panel.\n# e.g., /fonts/fontawesome-webfont.woff?v=4.0.3\n#\nall-static-files false\n\n# Include an additional delimited list of browsers/crawlers/feeds etc.\n# See config/browsers.list for an example or\n# https://raw.githubusercontent.com/allinurl/goaccess/master/config/browsers.list\n#\n#browsers-file <filename>\n\n# Date specificity. Possible values: `date` (default), or `hr` or `min`.\n#\n#date-spec hr|min\n\n# Decode double-encoded values.\n#\ndouble-decode false\n\n# Enable parsing/displaying the given panel.\n#\n#enable-panel VISITORS\n#enable-panel REQUESTS\n#enable-panel REQUESTS_STATIC\n#enable-panel NOT_FOUND\n#enable-panel HOSTS\n#enable-panel OS\n#enable-panel BROWSERS\n#enable-panel VISIT_TIMES\n#enable-panel VIRTUAL_HOSTS\n#enable-panel REFERRERS\n#enable-panel REFERRING_SITES\n#enable-panel KEYPHRASES\n#enable-panel STATUS_CODES\n#enable-panel REMOTE_USER\n#enable-panel CACHE_STATUS\n#enable-panel GEO_LOCATION\n#enable-panel ASN\n#enable-panel MIME_TYPE\n#enable-panel TLS_TYPE\n\n# Hide a referrer but still count it. Wild cards are allowed. i.e., *.bing.com\n#\n#hide-referrer *.google.com\n#hide-referrer bing.com\n\n# Hour specificity. Possible values: `hr` (default), or `min` (tenth\n# of a minute).\n#\n#hour-spec min\n\n# Ignore crawlers from being counted.\n# This will ignore robots listed under browsers.c\n# Note that it will count them towards the total\n# number of requests, but excluded from any of the panels.\n#\nignore-crawlers false\n\n# Parse and display crawlers only.\n# This will ignore all hosts except robots listed under browsers.c\n# Note that it will count them towards the total\n# number of requests, but excluded from any of the panels.\n#\ncrawlers-only false\n\n# Unknown browsers and OS are considered as crawlers\n#\nunknowns-as-crawlers false\n\n# Ignore static file requests.\n# req : Only ignore request from valid requests\n# panels : Ignore request from panels.\n# Note that it will count them towards the total number of requests\n# ignore-statics req\n\n# Ignore parsing and displaying the given panel.\n#\n#ignore-panel VISITORS\n#ignore-panel REQUESTS\n#ignore-panel REQUESTS_STATIC\n#ignore-panel NOT_FOUND\n#ignore-panel HOSTS\n#ignore-panel OS\n#ignore-panel BROWSERS\n#ignore-panel VISIT_TIMES\n#ignore-panel VIRTUAL_HOSTS\nignore-panel REFERRERS\n#ignore-panel REFERRING_SITES\nignore-panel KEYPHRASES\n#ignore-panel STATUS_CODES\n#ignore-panel REMOTE_USER\n#ignore-panel CACHE_STATUS\n#ignore-panel GEO_LOCATION\n#ignore-panel ASN\n#ignore-panel MIME_TYPE\n#ignore-panel TLS_TYPE\n\n# Ignore referrers from being counted.\n# This supports wild cards. For instance,\n# '*' matches 0 or more characters (including spaces)\n# '?' matches exactly one character\n#\n#ignore-referrer *.domain.com\n#ignore-referrer ww?.domain.*\n\n# Ignore parsing and displaying one or multiple status code(s)\n#\n#ignore-status 400\n#ignore-status 502\n\n# Keep the last specified number of days in storage. This will recycle the\n# storage tables. e.g., keep & show only the last 7 days.\n#\n# keep-last 7\n\n# Disable client IP validation. Useful if IP addresses have been\n# obfuscated before being logged.\n#\n# no-ip-validation true\n\n# Number of lines from the access log to test against the provided\n# log/date/time format. By default, the parser is set to test 10\n# lines. If set to 0, the parser won't test  any  lines and will parse\n# the whole access log.\n#\n#num-tests 10\n\n# Parse log and exit without outputting data.\n#\n#process-and-exit false\n\n# Display real OS names. e.g, Windows XP, Snow Leopard.\n#\nreal-os true\n\n# Sort panel on initial load.\n# Sort options are separated by comma.\n# Options are in the form: PANEL,METRIC,ORDER\n#\n# Available metrics:\n#  BY_HITS     - Sort by hits\n#  BY_VISITORS - Sort by unique visitors\n#  BY_DATA     - Sort by data\n#  BY_BW       - Sort by bandwidth\n#  BY_AVGTS    - Sort by average time served\n#  BY_CUMTS    - Sort by cumulative time served\n#  BY_MAXTS    - Sort by maximum time served\n#  BY_PROT     - Sort by http protocol\n#  BY_MTHD     - Sort by http method\n# Available orders:\n#  ASC\n#  DESC\n#\n#sort-panel VISITORS,BY_DATA,ASC\n#sort-panel REQUESTS,BY_HITS,ASC\n#sort-panel REQUESTS_STATIC,BY_HITS,ASC\n#sort-panel NOT_FOUND,BY_HITS,ASC\n#sort-panel HOSTS,BY_HITS,ASC\n#sort-panel OS,BY_HITS,ASC\n#sort-panel BROWSERS,BY_HITS,ASC\n#sort-panel VISIT_TIMES,BY_DATA,DESC\n#sort-panel VIRTUAL_HOSTS,BY_HITS,ASC\n#sort-panel REFERRERS,BY_HITS,ASC\n#sort-panel REFERRING_SITES,BY_HITS,ASC\n#sort-panel KEYPHRASES,BY_HITS,ASC\n#sort-panel STATUS_CODES,BY_HITS,ASC\n#sort-panel REMOTE_USER,BY_HITS,ASC\n#sort-panel CACHE_STATUS,BY_HITS,ASC\n#sort-panel GEO_LOCATION,BY_HITS,ASC\n#sort-panel MIME_TYPE,BY_HITS,ASC\n#sort-panel TLS_TYPE,BY_HITS,ASC\n\n# Consider the following extensions as static files\n# The actual '.' is required and extensions are case sensitive\n# For a full list, uncomment the less common static extensions below.\n#\nstatic-file .css\nstatic-file .js\nstatic-file .jpg\nstatic-file .png\nstatic-file .gif\nstatic-file .ico\nstatic-file .jpeg\nstatic-file .pdf\nstatic-file .csv\nstatic-file .mpeg\nstatic-file .mpg\nstatic-file .swf\nstatic-file .woff\nstatic-file .woff2\nstatic-file .xls\nstatic-file .xlsx\nstatic-file .doc\nstatic-file .docx\nstatic-file .ppt\nstatic-file .pptx\nstatic-file .txt\nstatic-file .zip\nstatic-file .ogg\nstatic-file .mp3\nstatic-file .mp4\nstatic-file .exe\nstatic-file .iso\nstatic-file .gz\nstatic-file .rar\nstatic-file .svg\nstatic-file .bmp\nstatic-file .tar\nstatic-file .tgz\nstatic-file .tiff\nstatic-file .tif\nstatic-file .ttf\nstatic-file .flv\nstatic-file .dmg\nstatic-file .xz\nstatic-file .zst\n#static-file .less\n#static-file .ac3\n#static-file .avi\n#static-file .bz2\n#static-file .class\n#static-file .cue\n#static-file .dae\n#static-file .dat\n#static-file .dts\n#static-file .ejs\n#static-file .eot\n#static-file .eps\n#static-file .img\n#static-file .jar\n#static-file .map\n#static-file .mid\n#static-file .midi\n#static-file .ogv\n#static-file .webm\n#static-file .mkv\n#static-file .odp\n#static-file .ods\n#static-file .odt\n#static-file .otf\n#static-file .pict\n#static-file .pls\n#static-file .ps\n#static-file .qt\n#static-file .rm\n#static-file .svgz\n#static-file .wav\n#static-file .webp\n\n######################################\n# GeoIP Options\n# Only if configured with --enable-geoip\n######################################\n\n# To feed a database either through GeoIP Legacy or GeoIP2, you need to use the\n# geoip-database flag below.\n#\n# === GeoIP Legacy\n# Legacy GeoIP has been discontinued. If your GNU+Linux distribution does not ship\n# with the legacy databases, you may still be able to find them through\n# different sources. Make sure to download the .dat files.\n#\n# Distributed with Creative Commons Attribution-ShareAlike 4.0 International License.\n# https://mailfud.org/geoip-legacy/\n\n# IPv4 Country database:\n# Download the GeoIP.dat.gz\n# gunzip GeoIP.dat.gz\n#\n# IPv4 City database:\n# Download the GeoIPCity.dat.gz\n# gunzip GeoIPCity.dat.gz\n\n# Standard GeoIP database for less memory usage (GeoIP Legacy).\n#\n#std-geoip false\n\n# === GeoIP2\n# For GeoIP2 databases, you can use DB-IP Lite databases.\n# DB-IP is licensed under a Creative Commons Attribution 4.0 International License.\n# https://db-ip.com/db/lite.php\n\n# Or you can download them from MaxMind\n# https://dev.maxmind.com/geoip/geoip2/geolite2/\n\n# For GeoIP2 City database:\n# Download the GeoLite2-City.mmdb.gz\n# gunzip GeoLite2-City.mmdb.gz\n#\n# For GeoIP2 Country database:\n# Download the GeoLite2-Country.mmdb.gz\n# gunzip GeoLite2-Country.mmdb.gz\n#\n#geoip-database /usr/local/share/GeoIP/GeoLiteCity.dat\n\n######################################\n# Persistence Options\n######################################\n\n# Path where the persisted database files are stored on disk.\n# The default value is the /tmp directory.\n#db-path /tmp\n\n# Persist parsed data into disk.\n#persist true\n\n# Load previously stored data from disk.\n# Database files need to exist. See `persist`.\n#restore true\n"
  },
  {
    "path": "config/podcast.list",
    "content": "# vim: set noexpandtab:\n#1 This file is a user agent list of various podcast-related agents (but not\n#2 limited to). It was distilled from the user agents of a web page which hosts\n#3 a WordPress blog and a podcast.\n#4 \\author Bernhard R. Fischer, <bf@abenteuerland.at>\n#5 \\date 2019/09/26\nAntennaPod\t\t\t\tPodcasts\nAppleCoreMedia\t\t\tMediaplayer\natc\t\t\t\t\t\tPodcasts\nBacklinkCrawler\t\tCrawlers\nBaiduspider\t\t\t\tCrawlers\nBullhorn Server\t\tPodCrawlers\nCastbox\t\t\t\t\tPodcasts\nCastBox\t\t\t\t\tPodcasts\nCastro\t\t\t\t\tPodcasts\nCCBot\t\t\t\t\t\tCrawlers\ncom.evolve.podcast\tPodcasts\ncortex\t\t\t\t\tFacebook\nExoPlayerLib\t\t\tMediaplayer\nfacebookexternalhit\tFacebook\nfyyd image poller\t\tPodCrawlers\nfyyd-poll\t\t\t\tPodCrawlers\nicatcher\t\t\t\t\tPodcasts\niCatcher!\t\t\t\tPodcasts\niTMS\t\t\t\t\t\tPodCrawlers\nitunesstored\t\t\tPodCrawlers\nKodi\t\t\t\t\t\tMediaplayer\nLavf\t\t\t\t\t\tMediaplayer\nLCC\t\t\t\t\t\tCrawlers\nLuminary\t\t\t\t\tPodcasts\nMediatoolkitbot\t\tCrawlers\nmindUpBot\t\t\t\tCrawlers\nmsnbot\t\t\t\t\tCrawlers\nNSPlayer\t\t\t\t\tMediaplayer\nOvercast\t\t\t\t\tPodcasts\nPhoton\t\t\t\t\tCrawlers\nPlayer FM\t\t\t\tPodcasts\nPlayerFM\t\t\t\t\tPodcasts\nPlex\t\t\t\t\t\tMediaplayer\nPodbean\t\t\t\t\tPodcasts\npodcast\t\t\t\t\tPodcasts\nPodcast\t\t\t\t\tPodcasts\nPodcastRepublic\t\tPodcasts\nPodcasts\t\t\t\t\tPodcasts\nPodchaser\t\t\t\tPodCrawlers\nPodchaser-Parser\t\tPodCrawlers\nPodnews.net\t\t\t\tPodCrawlers\nPodParadise\t\t\t\tPodCrawlers\nProcast\t\t\t\t\tPodcasts\nProCast\t\t\t\t\tPodcasts\nProcast (iOS)\t\t\tPodcasts\nProcastProCast\t\t\tPodcasts\nradio.at\t\t\t\t\tPodCrawlers\nRadioPublic\t\t\t\tPodCrawlers\nRadioPublicImageResizer\tPodCrawlers\nRSSRadio\t\t\t\t\tPodcasts\nSonos\t\t\t\t\t\tMediaplayer\nSpotify\t\t\t\t\tPodCrawlers\nstagefright\t\t\t\tMediaplayer\nStitcher\t\t\t\t\tPodCrawlers\nUniversalFeedParser\tFeeds\nWinampMPEG\t\t\t\tMediaplayer\nXING FeedReader\t\tFeeds\nXING-contenttabreceiver\tFeeds\n"
  },
  {
    "path": "configure.ac",
    "content": "#                                               -*- Autoconf -*-\n# Process this file with autoconf to produce a configure script.\n\nAC_PREREQ([2.69])\nAC_INIT([goaccess],[1.10.1],[hello@goaccess.io],[],[https://goaccess.io])\nAM_INIT_AUTOMAKE([foreign])\nAC_CONFIG_SRCDIR([src/goaccess.c])\nAC_CONFIG_HEADERS([src/config.h])\n\n# Use empty CFLAGS by default so autoconf does not add\n# CFLAGS=\"-O2 -g\"\n# NOTE: Needs to go after AC_INIT and before AC_PROG_CC to select an\n# empty default instead.\n: ${CFLAGS=\"\"}\n\n# Prefer host default compiler\nAC_PROG_CC([cc gcc clang])\nAM_PROG_CC_C_O\n\n# Check for programs\nAM_GNU_GETTEXT([external])\nAM_GNU_GETTEXT_VERSION([0.19])\n# Fix `undefined reference to `libintl_gettext'` on docker:\nAC_CHECK_LIB([intl], [libintl_dgettext])\n# Fix undefined reference to dgettext on NetBSD\nAC_CHECK_LIB([intl], [dgettext])\n\n# pthread\nAC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([pthread is missing])])\nCFLAGS=\"$CFLAGS -pthread\"\n\n# DEBUG\nAC_ARG_ENABLE([debug],[AS_HELP_STRING([--enable-debug],[Create a debug build. Default is disabled])],[debug=\"$enableval\"],[debug=no])\n\nif test \"$debug\" = \"yes\"; then\n  AC_DEFINE([_DEBUG], 1, [Debug option])\nfi\nAM_CONDITIONAL([DEBUG], [test \"x$debug\" = \"xyes\"])\n\n# Handle rdynamic only on systems using GNU ld\nAC_CANONICAL_HOST\nAC_MSG_CHECKING([whether to build with rdynamic for GNU ld])\nwith_rdyanimc=yes\ncase \"$host_os\" in\n  *darwin*|*cygwin*|*aix*|*mingw*) with_rdyanimc=no\n  ;;\nesac\nAC_MSG_RESULT([$with_rdyanimc])\nAM_CONDITIONAL([WITH_RDYNAMIC], [test \"x$with_rdyanimc\" = \"xyes\"])\n\n# Add ASAN\nAC_CANONICAL_HOST\nAC_ARG_ENABLE([asan],\n  [AS_HELP_STRING([--enable-asan], [Enable address sanitizer])],\n  [with_asan=$enableval], [with_asan=no])\nAC_MSG_CHECKING([whether to build with address sanitizer])\ncase \"$host_os\" in\n  *cygwin*|*aix*|*mingw*) with_asan=no\n  ;;\nesac\nAC_MSG_RESULT([$with_asan])\nAM_CONDITIONAL([WITH_ASAN], [test \"x$with_asan\" = \"xyes\"])\n\n# Check for libc implementation on NetBSD\nAC_CHECK_HEADERS([sha.h sha1.h])\nAC_CHECK_FUNCS([SHA1Init])\nAM_CONDITIONAL([USE_SHA1], [test \"x$ac_cv_func_SHA1Init\" != \"xyes\"])\n\n# Build with OpenSSL\nAC_ARG_WITH([openssl],[AS_HELP_STRING([--with-openssl],[Build with OpenSSL support. Default is disabled])],[openssl=\"$withval\"],[openssl=\"no\"])\n\nif test \"$openssl\" = 'yes'; then\n  AC_CHECK_LIB([ssl], [SSL_CTX_new],,[AC_MSG_ERROR([ssl library missing])])\n  AC_CHECK_LIB([crypto], [CRYPTO_free],,[AC_MSG_ERROR([crypto library missing])])\n  AC_CHECK_LIB([ssl], [SSL_CIPHER_standard_name], [AC_DEFINE([HAVE_CIPHER_STD_NAME], 1, [HAVE_CIPHER_STD_NAME])])\nfi\nAM_CONDITIONAL([WITH_SSL], [test \"x$with_openssl\" = \"xyes\"])\n\n# Build with zlib\nAC_ARG_WITH([zlib],\n  [AS_HELP_STRING([--with-zlib], [Build with zlib support for reading gzipped logs. Default is disabled])],\n  [zlib=\"$withval\"],\n  [zlib=\"no\"])\n\nif test \"$zlib\" = 'yes'; then\n  AC_CHECK_LIB([z], [gzopen], [], [AC_MSG_ERROR([zlib library missing])])\n  AC_CHECK_HEADERS([zlib.h], [], [AC_MSG_ERROR([zlib header missing])])\n  AC_DEFINE([HAVE_ZLIB], 1, [Build with zlib support])\nfi\nAM_CONDITIONAL([WITH_ZLIB], [test \"x$zlib\" = \"xyes\"])\n\n# GeoIP\nAC_ARG_ENABLE([geoip],[AS_HELP_STRING([--enable-geoip],[Enable GeoIP country lookup. Supported types: mmdb, legacy. Default is disabled])],[geoip=\"$enableval\"],[geoip=no])\n\ngeolocation=\"N/A\"\nif test \"$geoip\" = \"mmdb\"; then\n  AC_CHECK_LIB([maxminddb], [MMDB_open], [], [AC_MSG_ERROR([\n    *** Missing development files for libmaxminddb library.\n  ])])\n  geolocation=\"GeoIP2\"\n  AC_DEFINE([HAVE_GEOLOCATION], 1, [Build using GeoIP.])\nelif test \"$geoip\" = \"legacy\"; then\n  AC_CHECK_LIB([GeoIP], [GeoIP_new], [], [AC_MSG_ERROR([\n    *** Missing development files for the GeoIP library\n  ])])\n  geolocation=\"GeoIP Legacy\"\n  AC_DEFINE([HAVE_GEOLOCATION], 1, [Build using GeoIP.])\nelif test \"$geoip\" != \"no\"; then\n  AC_MSG_ERROR([*** Invalid argument for GeoIP: $geoip])\nfi\nAM_CONDITIONAL([GEOIP_LEGACY], [test \"x$geoip\" = \"xlegacy\"])\nAM_CONDITIONAL([GEOIP_MMDB], [test \"x$geoip\" = \"xmmdb\"])\n\n# GNU getline / POSIX.1-2008\nAC_ARG_WITH([getline],[AS_HELP_STRING([--with-getline],[Build using dynamic line buffer. Default is disabled])],[with_getline=$withval],[with_getline=no])\n\nif test \"$with_getline\" = \"yes\"; then\n  AC_DEFINE([WITH_GETLINE], 1, [Build using GNU getline.])\nfi\n\n# UTF8\nAC_ARG_ENABLE([utf8],[AS_HELP_STRING([--enable-utf8],[Enable ncurses library that handles wide characters. Default is disabled])],[utf8=\"$enableval\"],[utf8=no])\n\nif test \"$utf8\" = \"yes\"; then\n  libncursesw=ncursesw\n  # Simply called libncurses on OS X\n  case \"$host_os\" in\n    *darwin*) libncursesw=ncurses\n    ;;\n  esac\n\n  AC_CHECK_LIB([$libncursesw], [mvaddwstr], [],\n      [AC_MSG_ERROR([*** Missing development libraries for ncursesw])])\n  AC_SEARCH_LIBS([tputs], [tinfow], ,[AC_MSG_ERROR([Cannot find a library providing tputs])])\n  AC_DEFINE([HAVE_LIBNCURSESW], [1], [\"ncursesw is present.\"])\n\n  have_ncurses=\"yes\"\n  AC_CHECK_HEADERS([ncursesw/ncurses.h],[have_ncurses=yes], [], [\n  #ifdef HAVE_NCURSESW_NCURSES_H\n  #include <ncursesw/ncurses.h>\n  #endif\n  ])\n\n  AC_CHECK_HEADERS([ncurses.h],[have_ncurses=yes], [], [\n  #ifdef HAVE_NCURSES_H\n  #include <ncurses.h>\n  #endif\n  ])\n\n  if test \"$have_ncurses\" != \"yes\"; then\n    AC_MSG_ERROR([Missing ncursesw header file])\n  fi\nelse\n  AC_CHECK_LIB([ncurses], [refresh], [],\n    [AC_CHECK_LIB([curses], [refresh], [],\n    [AC_MSG_ERROR([*** Missing development libraries for ncurses])])])\n  AC_SEARCH_LIBS([tputs], [tinfo], ,[AC_MSG_ERROR([Cannot find a library providing tputs])])\n\n  have_ncurses=\"yes\"\n  AC_CHECK_HEADERS([ncurses/ncurses.h],[have_ncurses=yes], [], [\n  #ifdef HAVE_NCURSES_NCURSES_H\n  #include <ncurses/ncurses.h>\n  #endif\n  ])\n\n  AC_CHECK_HEADERS([ncurses.h],[have_ncurses=yes], [], [\n  #ifdef HAVE_NCURSES_H\n  #include <ncurses.h>\n  #endif\n  ])\n\n  AC_CHECK_HEADERS([curses.h],[have_ncurses=yes], [], [\n  #ifdef HAVE_CURSES_H\n  #include <curses.h>\n  #endif\n  ])\n\n  if test \"$have_ncurses\" != \"yes\"; then\n    AC_MSG_ERROR([Missing ncurses header file])\n  fi\nfi\n\n# Default Hash\nstorage=\"In-Memory with On-Disk Persistent Storage\"\n\nHAS_SEDTR=no\nAC_CHECK_PROG([SED_CHECK],[sed],[yes],[no])\nif test x\"$SED_CHECK\" = x\"yes\" ; then\n  AC_CHECK_PROG([TR_CHECK],[tr],[yes],[no])\n  if test x\"$TR_CHECK\" = x\"yes\" ; then\n    HAS_SEDTR=yes\n  fi\nfi\nAM_CONDITIONAL([HAS_SEDTR], [test \"x$HAS_SEDTR\" = xyes])\n\n# detect Cygwin or MinGW and use mmap family replacements\nUSE_MMAP=no\ncase $host in\n  *-*-mingw32* | *-*-cygwin* | *-*-windows*)\n  USE_MMAP=yes\n  AC_MSG_NOTICE([using custom mmap for Cygwin/MinGW])\n  ;;\nesac\nAM_CONDITIONAL([USE_MMAP], [test \"x$USE_MMAP\" = xyes])\n\n# Solaris\nAC_CHECK_LIB([nsl], [gethostbyname])\nAC_CHECK_LIB([socket], [socket])\n\n# Checks for header files.\nAC_HEADER_STDC\nAC_CHECK_HEADERS([arpa/inet.h])\nAC_CHECK_HEADERS([fcntl.h])\nAC_CHECK_HEADERS([inttypes.h])\nAC_CHECK_HEADERS([limits.h])\nAC_CHECK_HEADERS([locale.h])\nAC_CHECK_HEADERS([netdb.h])\nAC_CHECK_HEADERS([netinet/in.h])\nAC_CHECK_HEADERS([stddef.h])\nAC_CHECK_HEADERS([stdint.h])\nAC_CHECK_HEADERS([stdlib.h])\nAC_CHECK_HEADERS([string.h])\nAC_CHECK_HEADERS([strings.h])\nAC_CHECK_HEADERS([sys/socket.h])\nAC_CHECK_HEADERS([sys/time.h])\nAC_CHECK_HEADERS([unistd.h])\n\n# Checks for typedefs, structures, and compiler characteristics.\nAC_C_CONST\nAC_CHECK_TYPES([ptrdiff_t])\nAC_STRUCT_TM\nAC_TYPE_INT64_T\nAC_TYPE_INT8_T\nAC_TYPE_OFF_T\nAC_TYPE_SIZE_T\nAC_TYPE_UINT32_T\nAC_TYPE_UINT64_T\nAC_TYPE_UINT8_T\n\n# Checks for library functions.\nAC_FUNC_FSEEKO\nAC_FUNC_MEMCMP\nAC_FUNC_MKTIME\nAC_FUNC_STAT\nAC_FUNC_STRFTIME\nAC_FUNC_STRTOD\nAC_CHECK_FUNCS([floor])\nAC_CHECK_FUNCS([gethostbyaddr])\nAC_CHECK_FUNCS([gethostbyname])\nAC_CHECK_FUNCS([gettimeofday])\nAC_CHECK_FUNCS([malloc])\nAC_CHECK_FUNCS([memmove])\nAC_CHECK_FUNCS([memset])\nAC_CHECK_FUNCS([mkfifo])\nAC_CHECK_FUNCS([poll])\nAC_CHECK_FUNCS([realloc])\nAC_CHECK_FUNCS([realpath])\nAC_CHECK_FUNCS([regcomp])\nAC_CHECK_FUNCS([setlocale])\nAC_CHECK_FUNCS([socket])\nAC_CHECK_FUNCS([strcasecmp])\nAC_CHECK_FUNCS([strchr])\nAC_CHECK_FUNCS([strcspn])\nAC_CHECK_FUNCS([strdup])\nAC_CHECK_FUNCS([strerror])\nAC_CHECK_FUNCS([strncasecmp])\nAC_CHECK_FUNCS([strpbrk])\nAC_CHECK_FUNCS([strrchr])\nAC_CHECK_FUNCS([strspn])\nAC_CHECK_FUNCS([strstr])\nAC_CHECK_FUNCS([strtol])\nAC_CHECK_FUNCS([strtoull])\nAC_CHECK_FUNCS([timegm])\n\nAC_CONFIG_FILES([Makefile po/Makefile.in])\nAC_OUTPUT\n\ncat << EOF\n\nYour build configuration:\n\n  Prefix         : $prefix\n  Package        : $PACKAGE_NAME\n  Version        : $VERSION\n  Compiler flags : $CFLAGS\n  Linker flags   : $LIBS $LDFLAGS\n  UTF-8 support  : $utf8\n  Dynamic buffer : $with_getline\n  ASan           : $with_asan\n  Geolocation    : $geolocation\n  Storage method : $storage\n  TLS/SSL        : $openssl\n  zlib support   : $zlib\n  Bugs           : $PACKAGE_BUGREPORT\n\nEOF\n"
  },
  {
    "path": "docker-compose/README.md",
    "content": "# Docker-compose configuration\n\nHere are two docker-compose configurations for goaccess which\ncombine a static site with a real-time report of goaccess.\nThe directories used are:\n\n- `configs` - for the nginx and goaccess configuration\n- `public` - the files served by nginx - put your static site here\n- `logs` - nginx logs - there is no log rotation in place!\n\nThere are two flavors of the docker-compose files and the goaccess files: \n- `*.vanilla.*` which need you to take care of the TLS certificates\n- `*.traefik.*` using traefik for TLS and domain routing\n\n## Vanilla\n\nFor the vanilla version, you'll have to do the following:\n\n- put the TLS certificates into `configs/certs`, following the naming scheme\nin `goaccess.vanilla.conf`\n- route requests for the static webpage to port `8080`\n\n## Traefik\n\nThe traefik version is setup to make it easier to do the routing.\nYou don't need to take care of the TLS certificates, and the\ngoaccess websocket gets its own subdomain.\n\nTo put it all together, the following environment is needed:\n- traefik configured according to [Traefik-101](https://ineiti.ch/posts/traefik-101/traefik-101/)\n- DNS configuration for two domain names pointing to your server's IP:\n  - `yourdomain` for the static pages, e.g., a blog-post using [Hugo](https://gohugo.io/)\n  - `goaccess.yourdomain` for the stats with goaccess\n\n"
  },
  {
    "path": "docker-compose/configs/goaccess.traefik.conf",
    "content": "tz Europe/Zurich\ntime-format %H:%M:%S\ndate-format %Y-%m-%d\nlog-format COMBINED\nlog-file /srv/logs/access.log\noutput /srv/report/report.html\nreal-time-html true\nws-url wss://goaccess.yourdomain\nport 443\n"
  },
  {
    "path": "docker-compose/configs/goaccess.vanilla.conf",
    "content": "tz Europe/Zurich\ntime-format %H:%M:%S\ndate-format %Y-%m-%d\nlog-format COMBINED\nlog-file /srv/logs/access.log\noutput /srv/report/report.html\nreal-time-html true\nws-url wss://yourdomain\nssl-cert /srv/certs/yourdomain.crt\nssl-key /srv/certs/yourdomain.key\n"
  },
  {
    "path": "docker-compose/configs/nginx.conf",
    "content": "user  nginx;\nworker_processes  auto;\n\nerror_log  /var/log/nginx/error.log notice;\npid        /var/run/nginx.pid;\n\n\nevents {\n    worker_connections  1024;\n}\n\n\nhttp {\n    include       /etc/nginx/mime.types;\n    default_type  application/octet-stream;\n\n    log_format  main  '$remote_addr - $remote_user [$time_local] \"$request\" '\n                      '$status $body_bytes_sent \"$http_referer\" '\n                      '\"$http_user_agent\" \"$http_x_forwarded_for\"';\n\n    access_log  /var/log/nginx/access.log  main;\n\n    sendfile        on;\n    #tcp_nopush     on;\n\n    keepalive_timeout  65;\n\n    #gzip  on;\n\n    include /etc/nginx/conf.d/*.conf;\n}\n"
  },
  {
    "path": "docker-compose/docker-compose.traefik.yaml",
    "content": "services:\n  web:\n    image: nginx\n    volumes:\n      - ./logs:/var/log/nginx\n      - ./configs/nginx.conf:/etc/nginx/nginx.conf\n      - ./public:/usr/share/nginx/html\n    labels:\n      - \"traefik.enable=true\"\n      - \"fqdn=yourdomain\"\n    networks:\n      - traefik\n\n  goaccess:\n    image: allinurl/goaccess\n    container_name: goaccess\n    volumes:\n      - ./configs/goaccess.traefik.conf:/srv/config/goaccess.conf\n      - ./logs:/srv/logs\n      - ./public:/srv/report\n    command: [\"--no-global-config\", \"--config-file=/srv/config/goaccess.conf\"]\n    labels:\n      - \"traefik.enable=true\"\n      - \"fqdn=goaccess.yourdomain\"\n      - \"traefik.http.services.yourdomain-goaccess.loadbalancer.server.port=443\"\n    restart: unless-stopped\n    networks:\n      - traefik\n\nnetworks:\n  traefik:\n    external:\n      name: traefik_traefik\n"
  },
  {
    "path": "docker-compose/docker-compose.vanilla.yaml",
    "content": "services:\n  web:\n    image: nginx\n    ports:\n      - 8080:80\n    volumes:\n      - ./logs:/var/log/nginx\n      - ./configs/nginx.conf:/etc/nginx/nginx.conf\n      - ./public:/usr/share/nginx/html\n\n  goaccess:\n    image: allinurl/goaccess\n    ports:\n      - 7890:7890\n    volumes:\n      - ./configs/goaccess.vanilla.conf:/srv/config/goaccess.conf\n      - ./logs:/srv/logs\n      - ./public:/srv/report\n      - ./configs/certs:/srv/certs\n    command: [\"--no-global-config\", \"--config-file=/srv/config/goaccess.conf\"]\n    restart: unless-stopped\n"
  },
  {
    "path": "goaccess.1",
    "content": ".TH goaccess 1 \"FEB 2026\" GNU+Linux \"User Manuals\"\n.SH NAME\ngoaccess \\- fast web log analyzer and interactive viewer.\n.SH SYNOPSIS\n.LP\n.B goaccess [filename] [options...] [-c][-M][-H][-q][-d][...]\n.SH DESCRIPTION\n.B goaccess\nis an open source, real-time log analyzer and\ninteractive viewer that runs in a\n.I terminal\non *nix systems or directly in your\n.I browser.\nDesigned with system administrators, DevOps engineers, and security\nprofessionals in mind, it delivers fast, actionable HTTP statistics and visual\nserver reports on the fly. GoAccess parses your web server logs in real time\nand presents the data directly in the terminal or via a live HTML dashboard,\nmaking it easy to monitor traffic, detect anomalies, and troubleshoot issues\ninstantly.\n\n.IP \"General Statistics:\"\nThis panel gives a summary of several metrics, such as the number of valid and\ninvalid requests, time taken to analyze the dataset, unique visitors, requested\nfiles, static files (CSS, ICO, JPG, etc) HTTP referrers, 404s, size of the\nparsed log file and bandwidth consumption.\n.IP \"Unique visitors\"\nThis panel shows metrics such as hits, unique visitors and cumulative bandwidth\nper date. HTTP requests containing the same IP, the same date, and the same\nuser agent are considered a unique visitor. By default, it includes web\ncrawlers/spiders.\n.IP\nOptionally, date specificity can be set to the hour level using\n.I --date-spec=hr\nwhich will display dates such as 05/Jun/2016:16, or to the minute level\nproducing 05/Jun/2016:16:59. This is great if you want to track your daily\ntraffic at the hour or minute level.\n.IP \"Requested files\"\nThis panel displays the most requested (non-static) files on your web server.\nIt shows hits, unique visitors, and percentage, along with the cumulative\nbandwidth, protocol, and the request method used.\n.IP \"Requested static files\"\nLists the most frequently static files such as: JPG, CSS, SWF, JS, GIF, and PNG\nfile types, along with the same metrics as the last panel. Additional static\nfiles can be added to the configuration file.\n.IP \"404 or Not Found\"\nDisplays the same metrics as the previous request panels, however, its data\ncontains all pages that were not found on the server, or commonly known as 404\nstatus code.\n.IP \"Hosts\"\nThis panel has detailed information on the hosts themselves. This is great for\nspotting aggressive crawlers and identifying who's eating your bandwidth.\n\nExpanding the panel can display more information such as host's reverse DNS\nlookup result, country of origin and city. If the\n.I -a\nargument is enabled, a list of user agents can be displayed by selecting the\ndesired IP address, and then pressing ENTER.\n.IP \"Operating Systems\"\nThis panel will report which operating system the host used when it hit the\nserver. It attempts to provide the most specific version of each operating\nsystem.\n.IP \"Browsers\"\nThis panel will report which browser the host used when it hit the server. It\nattempts to provide the most specific version of each browser.\n.IP \"Visit Times\"\nThis panel will display an hourly report. This option displays 24 data points,\none for each hour of the day.\n.IP\nOptionally, hour specificity can be set to the tenth of an hour level using\n.I --hour-spec=min\nwhich will display hours as 16:4 This is great if you want to spot peaks of\ntraffic on your server.\n.IP \"Virtual Hosts\"\nThis panel will display all the different virtual hosts parsed from the access\nlog. This panel is displayed if\n.I %v\nis used within the log-format string.\n.IP \"Referrers URLs\"\nIf the host in question accessed the site via another resource, or was\nlinked/diverted to you from another host, the URL they were referred from will\nbe provided in this panel. See `--ignore-panel` in your configuration file to\nenable it.\n.I disabled\nby default.\n.IP \"Referring Sites\"\nThis panel will display only the host part but not the whole URL. The URL where\nthe request came from.\n.IP \"Keyphrases\"\nIt reports keyphrases used on Google search, Google cache, and Google translate\nthat have lead to your web server. At present, it only supports Google search\nqueries via HTTP. See `--ignore-panel` in your configuration file to enable it.\n.I disabled\nby default.\n.IP \"Geo Location\"\nDetermines where an IP address is geographically located. Statistics are broken\ndown by continent and country, and when city-level GeoIP data is available it\nalso lists the individual cities for each hit. It needs to be compiled with\nGeoLocation support.\n.IP \"HTTP Status Codes\"\nThe values of the numeric status code to HTTP requests.\n.IP \"ASN\"\nThis panel displays ASN (Autonomous System Numbers) data for GeoIP2 and legacy\ndatabases. Great for detecting malicious traffic and blocking accordingly.\n.IP \"Remote User (HTTP authentication)\"\nThis is the userid of the person requesting the document as determined by HTTP\nauthentication. If the document is not password protected, this part will be\n\"-\" just like the previous one. This panel is not enabled unless\n.I %e\nis given within the log-format variable.\n.IP \"Cache Status\"\nIf you are using caching on your server, you may be at the point where you\nwant to know if your request is being cached and served from the cache. This\npanel shows the cache status of the object the server served. This panel is not\nenabled unless\n.I %C\nis given within the log-format variable. The status can be either\n `MISS`, `BYPASS`, `EXPIRED`, `STALE`, `UPDATING`, `REVALIDATED` or `HIT`\n.IP \"MIME Types\"\nThis panel specifies Media Types (formerly known as MIME types) and Media\nSubtypes which will be assigned and listed underneath. This panel is not\nenabled unless\n.I %M\nis given within the log-format variable. See\nhttps://www.iana.org/assignments/media-types/media-types.xhtml for more\ndetails.\n.IP \"Encryption Settings\"\nThis panel shows the SSL/TLS protocol used along the Cipher Suites. This panel\nis not enabled unless\n.I %K\nis given within the log-format variable.\n\n.P\nGoAccess panels can be reordered and their subitems expanded or collapsed from\nthe terminal interface, keeping the most important metrics front and center.\nChart metrics and scales are also adjustable on the fly via the interactive\nmenu described below.\n\n.P\n.I NOTE:\nOptionally and if configured, all panels can display the average time taken to\nserve the request.\n\n.SH STORAGE\n.P\nThere are three storage options that can be used with GoAccess. Choosing one\nwill depend on your environment and needs.\n.TP\nDefault Hash Tables\nIn-memory storage provides better performance at the cost of limiting the\ndataset size to the amount of available physical memory. GoAccess uses\nin-memory hash tables. It has very good memory usage and pretty good\nperformance. This storage has support for on-disk persistence.\n.SH CONFIGURATION\n.P\nMultiple options can be used to configure GoAccess. For a complete up-to-date\nlist of configure options, run\n.I ./configure --help\n.TP\n\\fB\\-\\-enable-debug\nCompile with debugging symbols and turn off compiler optimizations.\n.TP\n\\fB\\-\\-enable-utf8\nCompile with wide character support. Ncursesw is required.\n.TP\n\\fB\\-\\-enable-geoip=<legacy|mmdb>\nCompile with GeoLocation support. MaxMind's GeoIP is required.\n.I legacy\nwill utilize the original GeoIP databases.\n.I mmdb\nwill utilize the enhanced GeoIP2 databases.\n.TP\n\\fB\\-\\-with-getline\nDynamically expands line buffer in order to parse full line requests instead of\nusing a fixed size buffer of 4096.\n.TP\n\\fB\\-\\-with-zlib\nBuild with zlib support for reading gzipped logs. Disabled by default.\n.TP\n\\fB\\-\\-with-openssl\nCompile GoAccess with OpenSSL support for its WebSocket server.\n\\fB\\-\\-with-zlib\nEnables optional zlib support to allow parsing of compressed log files (e.g.,\n.gz) directly without manual decompression.\n.SH OPTIONS\n.P\nThe following options can be supplied to the command or specified in the\nconfiguration file. If specified in the configuration file, long options need\nto be used without prepending -- and without using the equal sign =.\n.SS\nLOG/DATE/TIME FORMAT\n.TP\n\\fB\\-\\-time-format=<timeformat>\nThe time-format variable followed by a space, specifies the log format time\ncontaining either a name of a predefined format (see options below) or any\ncombination of regular characters and special format specifiers.\n.IP\nThey all begin with a percentage (%) sign. See `man strftime`.\n.I %T or %H:%M:%S.\n.IP\nNote that if a timestamp is given in microseconds,\n.I %f\nmust be used as time-format.\nIf the timestamp is given in milliseconds\n.I %*\nmust be used as time-format.\n.TP\n\\fB\\-\\-date-format=<dateformat>\nThe date-format variable followed by a space, specifies the log format time\ncontaining either a name of a predefined format (see options below) or any\ncombination of regular characters and special format specifiers.\n.IP\nThey all begin with a percentage (%) sign. See `man strftime`.\n.I %Y-%m-%d.\n.IP\nNote that if a timestamp is given in microseconds,\n.I\n%f\nmust be used as date-format.\nIf the timestamp is given in milliseconds\n.I %*\nmust be used as date-format.\n.TP\n\\fB\\-\\-datetime-format=<date_time_format>\nThe date and time format combines the two variables into a single option. This\ngives the ability to get the timezone from a request and convert it to another\ntimezone for output. See\n.I --tz=<timezone>\n.IP\nThey all begin with a percentage (%) sign. See `man strftime`. e.g.,\n.I %d/%b/%Y:%H:%M:%S %z.\n.IP\nNote that if --datetime-format is used,\n.I %x\nmust be passed in the log-format variable to represent the date and time field.\n.TP\n\\fB\\-\\-log-format=<logformat>\nThe log-format variable followed by a space or\n.I \\\\\\\\t\nfor tab-delimited, specifies the log format string.\n\nNote that if there are spaces within the format, the string needs to be\nenclosed in single/double quotes. Inner quotes need to be escaped.\n.IP\nIn addition to specifying the raw log/date/time formats, for simplicity, any of\nthe following predefined log format names can be supplied to the\nlog/date/time-format variables. GoAccess can also handle one predefined name in\none variable and another predefined name in another variable.\n.IP\n  COMBINED     - Combined Log Format,\n  VCOMBINED    - Combined Log Format with Virtual Host,\n  COMMON       - Common Log Format,\n  VCOMMON      - Common Log Format with Virtual Host,\n  W3C          - W3C Extended Log File Format,\n  SQUID        - Native Squid Log Format,\n  CLOUDFRONT   - Amazon CloudFront Web Distribution,\n  CLOUDSTORAGE - Google Cloud Storage,\n  AWSELB       - Amazon Elastic Load Balancing,\n  AWSS3        - Amazon Simple Storage Service (S3)\n  AWSALB       - Amazon Application Load Balancer\n  CADDY        - Caddy's JSON Structured format (local/info format)\n  TRAEFIKCLF   - Traefik's CLF flavor\n.IP\n.I Note:\nGenerally, you need quotes around values that include white spaces, commas,\npipes, quotes, and/or brackets. Inner quotes must be escaped.\n.IP\n.I Note:\nPiping data into GoAccess won't prompt a log/date/time configuration dialog,\nyou will need to previously define it in your configuration file or in the\ncommand line.\n.IP\n.I Note:\nThe default GoAccess format for CADDY is the 'local/info' format. Nevertheless,\nif needed, you have the option to utilize a custom GoAccess log format to match\nyour particular configuration.\n.SS\nUSER INTERFACE OPTIONS\n.TP\n\\fB\\-c \\-\\-config-dialog\nPrompt log/time/date configuration window on program start. Only when curses is\ninitialized.\n.TP\n\\fB\\-i \\-\\-hl-header\nColor highlight active terminal panel.\n.TP\n\\fB\\-m \\-\\-with-mouse\nEnable mouse support on main terminal dashboard.\n.TP\n\\fB\\-\\-\\-color=<fg:bg[attrs, PANEL]>\nSpecify custom colors for the terminal output.\n\n.I Color Syntax\n  DEFINITION space/tab colorFG#:colorBG# [attributes,PANEL]\n\n FG# = foreground color [-1...255] (-1 = default term color)\n BG# = background color [-1...255] (-1 = default term color)\n\nOptionally, it is possible to apply color attributes (multiple attributes are\ncomma separated), such as:\n.I bold,\n.I underline,\n.I normal,\n.I reverse,\n.I blink\n\nIf desired, it is possible to apply custom colors per panel, that is, a metric\nin the REQUESTS panel can be of color A, while the same metric in the BROWSERS\npanel can be of color B.\n\n.I Available color definitions:\n  COLOR_MTRC_HITS\n  COLOR_MTRC_VISITORS\n  COLOR_MTRC_DATA\n  COLOR_MTRC_BW\n  COLOR_MTRC_AVGTS\n  COLOR_MTRC_CUMTS\n  COLOR_MTRC_MAXTS\n  COLOR_MTRC_PROT\n  COLOR_MTRC_MTHD\n  COLOR_MTRC_HITS_PERC\n  COLOR_MTRC_HITS_PERC_MAX\n  COLOR_MTRC_VISITORS_PERC\n  COLOR_MTRC_VISITORS_PERC_MAX\n  COLOR_PANEL_COLS\n  COLOR_BARS\n  COLOR_ERROR\n  COLOR_SELECTED\n  COLOR_PANEL_ACTIVE\n  COLOR_PANEL_HEADER\n  COLOR_PANEL_DESC\n  COLOR_OVERALL_LBLS\n  COLOR_OVERALL_VALS\n  COLOR_OVERALL_PATH\n  COLOR_ACTIVE_LABEL\n  COLOR_BG\n  COLOR_DEFAULT\n  COLOR_PROGRESS\n\nSee configuration file for a sample color scheme.\n.TP\n\\fB\\-\\-color-scheme=<1|2|3>\nChoose among color schemes.\n.I 1\nfor the default grey scheme.\n.I 2\nfor the green scheme.\n.I 3\nfor the Monokai scheme (shown only if terminal supports 256 colors).\n.TP\n\\fB\\-\\-crawlers-only\nParse and display only crawlers (bots).\n.TP\n\\fB\\-\\-html-custom-css=<path/custom.css>\nSpecifies a custom CSS file path to load in the HTML report.\n.TP\n\\fB\\-\\-html-custom-js=<path/custom.js>\nSpecifies a custom JS file path to load in the HTML report.\n.TP\n\\fB\\-\\-html-report-title=<title>\nSet HTML report page title and header.\n.TP\n\\fB\\-\\-html-refresh=<secs>\nRefresh the HTML report every X seconds. The value has to be between 1 and 60\nseconds. The default is set to refresh the HTML report every 1 second.\n.TP\n\\fB\\-\\-html-prefs=<JSON>\nSet HTML report default preferences. Supply a valid JSON object containing the\nHTML preferences. It allows the ability to customize each panel plot. See\nexample below.\n.IP\n.I Note:\nThe JSON object passed needs to be a one line JSON string. For instance,\n.IP\n.nf\n\\-\\-html-prefs='{\"theme\":\"bright\",\"perPage\":5,\"layout\":\"horizontal\",\"showTables\":true,\"visitors\":{\"plot\":{\"chartType\":\"bar\"}}}'\n.fi\n.TP\n\\fB\\-\\-json-pretty-print\nFormat JSON output using tabs and newlines.\n.IP\n.I Note:\nThis is not recommended when outputting a real-time HTML report since the\nWebSocket payload will much much larger.\n.TP\n\\fB\\-\\-max-items=<number>\nThe maximum number of items to display per panel. The maximum can be a number\nbetween 1 and n.\n.IP\n.I Note:\nOnly the CSV and JSON output allow a maximum number greater than the default\nvalue of 366 (or 50 in the real-time HTML output) items per panel.\n.TP\n\\fB\\-\\-no-color\nTurn off colored output. This is the default output on terminals that do not\nsupport colors.\n.TP\n\\fB\\-\\-no-csv-summary\nDisable summary metrics on the CSV output.\n.TP\n\\fB\\-\\-no-progress\nDisable progress metrics [total requests/requests per second].\n.TP\n\\fB\\-\\-no-tab-scroll\nDisable scrolling through panels when TAB is pressed or when a panel is\nselected using a numeric key.\n.TP\n\\fB\\-\\-no-html-last-updated\nDo not show the last updated field displayed in the HTML generated report.\n.TP\n\\fB\\-\\-no-parsing-spinner\nDo now show the progress metrics and parsing spinner.\n.TP\n\\fB\\-\\-tz=<timezone>\nOutputs the report date/time data in the given timezone. Note that it uses the\ncanonical timezone name. e.g.,\n.I Europe/Berlin\nor\n.I America/Chicago\nor\n.I Africa/Cairo\nIf an invalid timezone name is given, the output will be in GMT. See\n.I --datetime-format\nin order to properly specify a timezone in the date/time format.\n.SS\nSERVER OPTIONS\n.P\n.I Note\nThis is just a WebSocket server to provide the raw real-time data.\nIt is not a WebServer itself. To access your reports html file, you will\nstill need your own HTTP server, place the generated report in it's document\nroot dir and open the html file in your browser. The browser will then open\nanother WebSocket-connection to the ws-server you may setup here,\nto keep the dashboard up-to-date.\n.TP\n\\fB\\-\\-addr\nSpecify IP address to bind the server to. Otherwise it binds to 0.0.0.0.\n.IP\nUsually there is no need to specify the address, unless you intentionally would\nlike to bind the server to a different address within your server.\n.TP\n\\fB\\-\\-daemonize\nRun GoAccess as daemon (only if \\fB\\-\\-real-time-html enabled).\n.IP\nNote: It's important to make use of absolute paths across GoAccess'\nconfiguration.\n.TP\n\\fB\\-\\-user-name=<username>\nRun GoAccess as the specified user.\n.IP\nNote: It's important to ensure the user or the users' group can access the\ninput and output files as well as any other files needed.\nOther groups the user belongs to will be ignored.\nAs such it's advised to run GoAccess behind a SSL proxy as it's unlikely this\nuser can access the SSL certificates.\n.TP\n\\fB\\-\\-origin=<url>\nEnsure clients send the specified origin header upon the WebSocket handshake.\n.TP\n\\fB\\-\\-pid-file=<path/goaccess.pid>\nWrite the daemon PID to a file when used along the --daemonize option.\n.TP\n\\fB\\-\\-port=<port>\nSpecify the port to use. By default GoAccess' WebSocket server listens on port\n7890.\n.TP\n\\fB\\-\\-real-time-html\nEnable real-time HTML output.\n.IP\nGoAccess uses its own WebSocket server to push the data from the server to the\nclient. See http://gwsocket.io for more details how the WebSocket server works.\n\n.TP\n\\fB\\-\\-ws-auth=<jwt[:secret]> | jwt:verify:secret\\fR\nEnable WebSocket authentication using a JSON Web Token (JWT). This option\nsupports two formats depending on whether the JWT is locally generated or\nexternally fetched and verified:\n.IP\n\\fB<jwt[:secret]>\\fR: Specifies a static JWT for WebSocket authentication, with\nan optional secret for local generation or validation. If only \"jwt\" is\nprovided (e.g., \\fB\\-\\-ws-auth=jwt\\fR), GoAccess generates a JWT using a secret\nsourced from the environment variable \\fBGOACCESS_WSAUTH_SECRET\\fR or a default\nHS256-compatible secret if unset. If a secret is included (e.g.,\n\\fB\\-\\-ws-auth=jwt:mysecret\\fR), it's used directly as the HS256 signing key or\nread from a file if the value is a valid path (e.g.,\n\\fB\\-\\-ws-auth=jwt:/path/to/secret.key\\fR).\n.IP\n\\fBjwt:verify:secret\\fR: Enables verification of an externally fetched JWT\n(e.g., via \\fB\\-\\-ws-auth-url\\fR). The \"verify\" keyword indicates that the JWT\nis provided by an external source, and the secret must be specified for\nvalidation. The secret can be a direct HS256 key (e.g.,\n\\fB\\-\\-ws-auth=jwt:verify:mysecret\\fR), a file path (e.g.,\n\\fB\\-\\-ws-auth=jwt:verify:/path/to/secret.key\\fR), or an environment variable\nname (e.g., \\fB\\-\\-ws-auth=jwt:verify:$JWT_SECRET\\fR). This format is required\nwhen using \\fB\\-\\-ws-auth-url\\fR and optionally \\fB\\-\\-ws-auth-refresh-url\\fR\nto fetch and verify JWTs from external endpoints.\n.IP\nWhen this option is used, the HTML report will not bootstrap the initial parsed\ndata. Instead, it will only display the report if authentication succeeds,\nensuring secure access to real-time data.\n.IP\nThe system processes this option as follows:\n.IP\nFor \\fB<jwt[:secret]>\\fR: If no secret is provided, GoAccess generates a JWT\nlocally using the \\fBGOACCESS_WSAUTH_SECRET\\fR environment variable or a\ndefault secret. If a secret is specified, it's used to sign the JWT (either\ndirectly or from a file).\n.IP\nFor \\fBjwt:verify:secret\\fR: The secret is mandatory and used to verify\nexternally fetched JWTs. It must match the signing key used by the external\nauthentication server (e.g., at \\fB\\-\\-ws-auth-url\\fR).\n.IP\nRequires to build GoAccess with\n.I --with-openssl.\n.TP\n\\fB\\-\\-ws-auth-expire=<secs>\nSet the time after which the JWT expires. Defaults to 8 hours (28800 seconds)\nif not specified.\n.IP\n.I Only\navailable for locally generated JWT.\n.IP\nUsers can specify the expiration time in various formats. The value is\nconverted to seconds for JWT expiration validation. Supported formats:\n.RS\n.IP \\(bu 4\n\"3600\"       -> 3600 seconds\n.IP \\(bu 4\n\"120s\"       -> 2 minutes\n.IP \\(bu 4\n\"24h\"        -> 24 hours = 86,400 seconds\n.IP \\(bu 4\n\"10m\"        -> 10 minutes = 600 seconds\n.IP \\(bu 4\n\"10d\"        -> 10 days = 864,000 seconds\n.RE\n.IP\nThe expiration time controls how long the JWT remains valid after issuance,\nensuring secure WebSocket connections.\n.TP\n\\fB\\-\\-ws-auth-url=<url>\nSpecifies the URL where GoAccess fetches the initial JWT to authenticate the\nWebSocket connection.\n.IP\nWhen this option is used, GoAccess sends a GET request to the specified URL to\nfetch an initial JWT. The response must be a JSON object containing\n\\fBstatus\\fR, \\fBaccess_token\\fR, \\fBrefresh_token\\fR, and \\fBexpires_in\\fR\nfields.\n.IP\nExample: \\fB\\-\\-ws-auth-url=https://site.com/api/get-auth-token\\fR\n.IP\nWhen fetching the token, GoAccess uses\n.I { credentials: 'include' }\nas part of the request to securely retrieve the access token based on the\nuser’s existing authentication session in your system, ensuring token retrieval\nis safe as long as your users are authenticated.\n.IP\nThis option allows you to integrate your existing authentication system with\nthe GoAccess dashboard, using token retrieval endpoints.\n.TP\n\\fB\\-\\-ws-auth-refresh-url=<url>\nSpecifies the URL where GoAccess fetches a new JWT when the current one is about to expire.\n.IP\nGoAccess proactively refreshes the JWT 60 seconds before expiration by sending\na POST request with the refresh_token to this URL. If not provided, it defaults\nto the same URL as \\fB\\-\\-ws-auth-url\\fR.\n.IP\nExample: \\fB\\-\\-ws-auth-refresh-url=https://site.com/api/refresh-token\\fR\n.IP\nThe response format should match that of the initial authentication URL.\n.SS \"WebSocket Authentication Flow\"\n.IP\nGoAccess offers flexible authentication options, supporting both stateless and\nstateful approaches. In the stateless approach, the refresh token is obtained\nwithout cookies or CSRF protection; your backend validates the refresh token’s\nsignature and issues a new access token. Alternatively, the stateful approach\nallows the initial fetch to issue JWTs along with a `csrf_token`, which is\nstored in the session. The subsequent refresh request (POST) then performs a\nCSRF check, requiring the `X-CSRF-TOKEN` header to match the session’s token.\n.IP\n\\fBInitial Authentication:\\fR\n.RS\n.IP \\(bu 4\nWhen started with \\fB\\-\\-ws-auth-url=<url>\\fR, GoAccess sends a GET request to\nfetch an initial JWT.\n.IP \\(bu 4\nThe expected successful response format:\n.IP\n    {\n        \"status\"        : \"success\",\n        \"access_token\"  : \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...\",\n        \"csrf_token\"    : \"3RRjNeR4RTXHmrV1cECkyUmmKeRxm4lzkI0eq41o\",\n        \"refresh_token\" : \"refresh123xyz\",\n        \"expires_in\"    : 3600\n    }\n.IP \\(bu 4\nIf authentication fails, the endpoint should return:\n.IP\n    {\n        \"status\": \"error\",\n        \"message\": \"User not authenticated\"\n    }\n.RE\n.IP\n\\fBToken Refreshing:\\fR\n.RS\n.IP \\(bu 4\nGoAccess refreshes the JWT 60 seconds before expiration by sending a POST\nrequest to the specified URL (defaults to \\fB--ws-auth-url\\fR if\n\\fB--ws-auth-refresh-url\\fR is not set):\n.IP\n    { \"refresh_token\": \"refresh123xyz\" }\n.IP\nGoAccess supports both stateless and stateful authentication. For stateless, no\ncookies or CSRF are required; your backend validates the refresh token\nsignature. For stateful, include a \\fBcsrf_token\\fR in the initial response;\nGoAccess sends it as \\fBX-CSRF-TOKEN\\fR in the refresh request, which your\nbackend must validate against the session.\n.RE\n.IP\n\\fBPeriodic Token Validation:\\fR\n.RS\n.IP \\(bu 4\nAfter refreshing, GoAccess confirms the updated JWT’s validity with the\nWebSocket server by sending:\n.IP\n    { \"action\": \"validate_token\", \"token\": \"current-jwt\" }\n.RE\n.IP\n\\fBImportant Note:\\fR For these options to function, you must specify\n\\fB\\-\\-ws-auth=jwt:verify:<secret>\\fR where <secret> can be:\n.RS\n.IP \\(bu 4\nA path to a file containing the secret key (e.g., /path/to/secret.key)\n.IP \\(bu 4\nAn environment variable name that holds the secret (e.g., $JWT_SECRET)\n.IP \\(bu 4\nThe actual HS256 secret key as a string (e.g., mysecretkey123)\n.RE\n.IP\nExample: \\fB\\-\\-ws-auth=jwt:verify:/path/to/secret.key\\fR\n.TP\n\\fB\\-\\-ws-url=<[scheme://]url[:port]>\nURL to which the WebSocket server responds. This is the URL supplied to the\nWebSocket constructor on the client side.\n.IP\nOptionally, it is possible to specify the WebSocket URI scheme, such as\n.I ws://\nor\n.I wss://\nfor unencrypted and encrypted connections. e.g.,\n.I\nwss://goaccess.io\n.IP\nIf GoAccess is running behind a proxy, you could set the client side to connect\nto a different port by specifying the host followed by a colon and the port.\ne.g.,\n.I goaccess.io:9999\n.IP\nBy default, it will attempt to connect to the generated report's hostname. If\nGoAccess is running on a remote server, the host of the remote server should be\nspecified here. Also, make sure it is a valid host and NOT an http address.\n.TP\n\\fB\\-\\-ping-interval=<secs>\nEnable WebSocket ping with specified interval in seconds. This helps prevent\nidle connections getting disconnected.\n.TP\n\\fB\\-\\-fifo-in=<path/file>\nCreates a named pipe (FIFO) that reads from on the given path/file.\n.TP\n\\fB\\-\\-fifo-out=<path/file>\nCreates a named pipe (FIFO) that writes to the given path/file.\n.TP\n\\fB\\-\\-ssl-cert=<cert.crt>\nPath to TLS/SSL certificate. In order to enable TLS/SSL support, GoAccess\nrequires that \\-\\-ssl-cert and \\-\\-ssl-key are used.\n\nOnly if configured using --with-openssl\n.TP\n\\fB\\-\\-ssl-key=<priv.key>\nPath to TLS/SSL private key. In order to enable TLS/SSL support, GoAccess\nrequires that \\-\\-ssl-cert and \\-\\-ssl-key are used.\n\nOnly if configured using --with-openssl\n.SS\nFILE OPTIONS\n.TP\n\\fB\\-\nThe log file to parse is read from stdin.\n.TP\n\\fB\\-f \\-\\-log-file=<logfile>\nSpecify the path to the input log file. If set in the config file, it will take\npriority over -f from the command line.\n.TP\n\\fB\\-S \\-\\-log-size=<bytes>\nSpecify the log size in bytes. This is useful when piping in logs for\nprocessing in which the log size can be explicitly set.\n.TP\n\\fB\\-l \\-\\-debug-file=<debugfile>\nSend all debug messages to the specified file.\n.TP\n\\fB\\-p \\-\\-config-file=<configfile>\nSpecify a custom configuration file to use. If set, it will take priority over\nthe global configuration file (if any).\n.TP\n\\fB\\-\\-external-assets\nOutput HTML assets to external JS/CSS files. Great if you are setting up\nContent Security Policy (CSP). This will create two separate files,\n.I goaccess.js\nand\n.I goaccess.css\n, in the same directory as your report.html file.\n.TP\n\\fB\\-\\-invalid-requests=<filename>\nLog invalid requests to the specified file.\n.TP\n\\fB\\-\\-unknowns-log=<filename>\nLog unknown browsers and OSs to the specified file.\n.TP\n\\fB\\-\\-no-global-config\nDo not load the global configuration file. This directory should normally be\n/usr/local/etc, unless specified with\n.I --sysconfdir=/dir.\nSee --dcf option for finding the default configuration file.\n.SS\nPARSE OPTIONS\n.TP\n\\fB\\-a \\-\\-agent-list\nEnable a list of user-agents by host. For faster parsing, do not enable this\nflag.\n.TP\n\\fB\\-d \\-\\-with-output-resolver\nEnable IP resolver on HTML|JSON output.\n.TP\n\\fB\\-e \\-\\-exclude-ip=<IP|IP-range>\nExclude an IPv4 or IPv6 from being counted. Applicable solely during access log\ndata processing, it does not exclude persisted data.\nRanges can be included as well using a dash in between the IPs (start-end).\n.IP\n.I Examples:\n  exclude-ip 127.0.0.1\n  exclude-ip 192.168.0.1-192.168.0.100\n  exclude-ip ::1\n  exclude-ip 0:0:0:0:0:ffff:808:804-0:0:0:0:0:ffff:808:808\n.TP\n\\fB\\-j \\-\\-jobs=<1-6>\nThis specifies the number of parallel processing threads to be used during the\nexecution of the program. It determines the degree of concurrency when\nanalyzing log data, allowing for parallel processing of multiple tasks\nsimultaneously. It defaults to 1 thread. It's common to set the number of jobs\nbased on the available hardware resources, such as the number of CPU cores.\n.TP\n\\fB\\-H \\-\\-http-protocol=<yes|no>\nSet/unset HTTP request protocol. This will create a request key containing the\nrequest protocol + the actual request.\n.TP\n\\fB\\-M \\-\\-http-method=<yes|no>\nSet/unset HTTP request method. This will create a request key containing the\nrequest method + the actual request.\n.TP\n\\fB\\-o \\-\\-output=<path/file.[json|csv|html]>\nWrite output to stdout given one of the following files and the corresponding\nextension for the output format:\n.IP\n  /path/file.csv - Comma-separated values (CSV)\n  /path/file.json - JSON (JavaScript Object Notation)\n  /path/file.html - HTML\n.TP\n\\fB\\-q \\-\\-no-query-string\nIgnore request's query string. i.e., www.google.com/page.htm?query =>\nwww.google.com/page.htm.\n.IP\n.I Note:\nRemoving the query string can greatly decrease memory consumption, especially\non timestamped requests.\n.TP\n\\fB\\-r \\-\\-no-term-resolver\nDisable IP resolver on terminal output.\n.TP\n\\fB\\-\\-444-as-404\nTreat non-standard status code 444 as 404.\n.TP\n\\fB\\-\\-4xx-to-unique-count\nAdd 4xx client errors to the unique visitors count.\n.TP\n\\fB\\-\\-anonymize-ip\nAnonymize the client IP address. The IP anonymization option sets the last\noctet of IPv4 user IP addresses and the last 80 bits of IPv6 addresses to\nzeros.\ne.g., 192.168.20.100 => 192.168.20.0\ne.g., 2a03:2880:2110:df07:face:b00c::1 => 2a03:2880:2110:df07::\n.IP\n.I Note:\nThis deactivates -a.\n.TP\n\\fB\\-\\-chunk-size=<256-32768>\nThis determines the number of lines that form a chunk. This parameter\ninfluences the size of the data processed concurrently by each thread, allowing\nfor parallelization of the file reading and processing tasks. The value of\nchunk-size affects the efficiency of the parallel processing and can be\nadjusted based on factors such as system resources and the characteristics of\nthe input data.\n\n.IP\nLow Values: If chunk-size is set too low, it might result in inefficient\nprocessing. For instance, if each chunk contains a very small number of lines,\nthe overhead of managing and coordinating parallel processing might outweigh\nthe benefits.\n\n.IP\nLarge Values: Conversely, if chunk-size is set too high, it could lead to\nresource exhaustion. Each chunk represents a portion of data that a thread\nprocesses in parallel. Setting chunk-size to an excessively large value might\ncause memory issues, particularly if there are many parallel threads running\nsimultaneously.\n.TP\n\\fB\\-\\-anonymize-level\nSpecifies the anonymization levels: 1 => default, 2 => strong, 3 => pedantic.\n.TS\nallbox;\nlb lb lb lb\nl l l l.\nBits-hidden\tLevel 1\tLevel 2\tLevel 3\nT{\n.BR IPv4\nT}\t8\t16\t24\nT{\n.BR IPv6\nT}\t64\t80\t96\n.TE\n\n.TP\n\\fB\\-\\-all-static-files\nInclude static files that contain a query string. e.g.,\n/fonts/fontawesome-webfont.woff?v=4.0.3\n.TP\n\\fB\\-\\-browsers-file=<path>\nBy default GoAccess parses an \"essential/basic\" curated list of browsers &\ncrawlers. If you need to add additional browsers, use this option.\nInclude an additional delimited list of browsers/crawlers/feeds etc.\nSee config/browsers.list for an example or\nhttps://raw.githubusercontent.com/allinurl/goaccess/master/config/browsers.list\n.TP\n\\fB\\-\\-date-spec=<date|hr|min>\nSet the date specificity to either date (default), hr to display hours or min\nto display minutes appended to the date.\n.IP\nThis is used in the visitors panel. It's useful for tracking visitors at the\nhour level. For instance, an hour specificity would yield to display traffic as\n18/Dec/2010:19 or minute specificity 18/Dec/2010:19:59.\n.TP\n\\fB\\-\\-double-decode\nDecode double-encoded values. This includes, user-agent, request, and referrer.\n.TP\n\\fB\\-\\-enable-panel=<PANEL>\nEnable parsing and displaying the given panel.\n.IP\n.I Available panels:\n  VISITORS\n  REQUESTS\n  REQUESTS_STATIC\n  NOT_FOUND\n  HOSTS\n  OS\n  BROWSERS\n  VISIT_TIMES\n  VIRTUAL_HOSTS\n  REFERRERS\n  REFERRING_SITES\n  KEYPHRASES\n  STATUS_CODES\n  REMOTE_USER\n  CACHE_STATUS\n  GEO_LOCATION\n  MIME_TYPE\n  TLS_TYPE\n.TP\n\\fB\\-\\-fname-as-vhost=<regex>\nUse log filename(s) as virtual host(s). POSIX regex is passed to extract\nthe virtual host from the filename. e.g.,\n.I --fname-as-vhost='[a-z]*\\.[a-z]*'\ncan be used to extract awesome.com.log => awesome.com.\n.TP\n\\fB\\-\\-hide-referrer=<NEEDLE>\nHide a referrer but still count it. Wild cards are allowed in the needle. i.e.,\n*.bing.com.\n.TP\n\\fB\\-\\-hour-spec=<hr|min>\nSet the time specificity to either hour (default) or min to display the tenth\nof an hour appended to the hour.\n.IP\nThis is used in the time distribution panel. It's useful for tracking peaks of\ntraffic on your server at specific times.\n.TP\n\\fB\\-\\-ignore-crawlers\nIgnore crawlers from being counted.\n.TP\n\\fB\\-\\-unknowns-as-crawlers\nClassify unknown OS and browsers as crawlers.\n.TP\n\\fB\\-\\-ignore-panel=<PANEL>\nIgnore parsing and displaying the given panel.\n.IP\n.I Available panels:\n  VISITORS\n  REQUESTS\n  REQUESTS_STATIC\n  NOT_FOUND\n  HOSTS\n  OS\n  BROWSERS\n  VISIT_TIMES\n  VIRTUAL_HOSTS\n  REFERRERS\n  REFERRING_SITES\n  KEYPHRASES\n  STATUS_CODES\n  REMOTE_USER\n  CACHE_STATUS\n  GEO_LOCATION\n  MIME_TYPE\n  TLS_TYPE\n.TP\n\\fB\\-\\-ignore-referrer=<referrer>\nIgnore referrers from being counted. Wildcards allowed. e.g.,\n.I\n*.domain.com\n.I\nww?.domain.*\n.TP\n\\fB\\-\\-ignore-statics=<req|panel>\nIgnore static file requests.\n\n.I req\n  Only ignore request from valid requests\n\n.I panels\n  Ignore request from panels.\n\n  Note that it will count them towards the total number of requests\n.TP\n\\fB\\-\\-ignore-status=<CODE>\nIgnore parsing and displaying one or multiple status code(s). For multiple\nstatus codes, use this option multiple times.\n.TP\n\\fB\\-\\-keep-last=<num_days>\nKeep the last specified number of days in storage. This will recycle the storage tables. e.g., keep & show only the last 7 days.\n.TP\n\\fB\\-\\-no-ip-validation\nDisable client IP validation. Useful if IP addresses have been obfuscated before\nbeing logged.\nThe log still needs to contain a placeholder for\n.I %h\nusually it's a resolved IP. e.g.\n.I ord37s19-in-f14.1e100.net.\n.TP\n\\fB\\-\\-no-strict-status\nDisable HTTP status code validation. Some servers would record this value only\nif a connection was established to the target and the target sent a response.\nOtherwise, it could be recorded as -.\n.TP\n\\fB\\-\\-num-tests=<number>\nNumber of lines from the access log to test against the provided log/date/time\nformat. By default, the parser is set to test 10 lines. If set to 0, the parser\nwon't test any lines and will parse the whole access log. If a line matches the\ngiven log/date/time format before it reaches\n.I <number>,\nthe parser will consider the log to be valid, otherwise GoAccess will return\nEXIT_FAILURE and display the relevant error messages.\n.TP\n\\fB\\-\\-process-and-exit\nParse log and exit without outputting data. Useful if we are looking to only\nadd new data to the on-disk database without outputting to a file or a\nterminal.\n.TP\n\\fB\\-\\-real-os\nDisplay real OS names. e.g, Windows XP, Snow Leopard.\n.TP\n\\fB\\-\\-sort-panel=<PANEL,FIELD,ORDER>\nSort panel on initial load. Sort options are separated by comma. Options are in\nthe form: PANEL,METRIC,ORDER\n.IP\n.I Available metrics:\n  BY_HITS     - Sort by hits\n  BY_VISITORS - Sort by unique visitors\n  BY_DATA     - Sort by data\n  BY_BW       - Sort by bandwidth\n  BY_AVGTS    - Sort by average time served\n  BY_CUMTS    - Sort by cumulative time served\n  BY_MAXTS    - Sort by maximum time served\n  BY_PROT     - Sort by http protocol\n  BY_MTHD     - Sort by http method\n.IP\n.I Available orders:\n  ASC\n  DESC\n.TP\n\\fB\\-\\-static-file=<extension>\nAdd static file extension. e.g.:\n.I .mp3\nExtensions are case sensitive.\n.SS\nGEOLOCATION OPTIONS\n.TP\n\\fB\\-g \\-\\-std-geoip\nStandard GeoIP database for less memory usage.\n.TP\n\\fB\\-\\-geoip-database=<geofile>\nSpecify path to GeoIP database file. i.e., GeoLiteCity.dat.\n\nIf using GeoIP2, you will need to download the GeoLite2 City or Country\ndatabase from MaxMind.com and use the option --geoip-database to specify the\ndatabase. You can also get updated database files for GeoIP legacy, you can\nfind these as GeoLite Legacy Databases from MaxMind.com. IPv4 and IPv6 files\nare supported as well. For updated DB URLs, please see the default GoAccess\nconfiguration file.\n\n.I Note:\n--geoip-city-data is an alias of --geoip-database.\n.SS\nOTHER OPTIONS\n.TP\n\\fB\\-h \\-\\-help\nThe help.\n.TP\n\\fB\\-s \\-\\-storage\nDisplay current storage method. i.e., B+ Tree, Hash.\n.TP\n\\fB\\-V \\-\\-version\nDisplay version information and exit.\n.TP\n\\fB\\-\\-dcf\nDisplay the path of the default config file when `-p` is not used.\n.SS\nPERSISTENCE STORAGE OPTIONS\n.TP\n\\fB\\-\\-persist\nPersist parsed data into disk. If database files exist, files will be\noverwritten. This should be set to the first dataset. See examples below.\n.TP\n\\fB\\-\\-restore\nLoad previously stored data from disk. If reading persisted data only, the\ndatabase files need to exist. See\n.I --persist\nand examples below.\n.TP\n\\fB\\-\\-db-path=<dir>\nPath where the on-disk database files are stored. The default value is the\n.I /tmp\ndirectory.\n\n.SH CUSTOM LOG/DATE FORMAT\nGoAccess can parse virtually any web log format.\n.P\nPredefined options include, Common Log Format (CLF), Combined Log Format\n(XLF/ELF), including virtual host, Amazon CloudFront (Download Distribution),\nGoogle Cloud Storage and W3C format (IIS).\n.P\nGoAccess allows any custom format string as well.\n.P\nThere are two ways to configure the log format.\nThe easiest is to run GoAccess with\n.I -c\nto prompt a configuration window. Otherwise, it can be configured under\n~/.goaccessrc or the %sysconfdir%.\n.IP \"time-format\"\nThe\n.I time-format\nvariable followed by a space, specifies the log format time\ncontaining any combination of regular characters and special format specifiers.\nThey all begin with a percentage (%) sign. See `man strftime`.\n.I %T or %H:%M:%S.\n.IP\n.I Note:\nIf a timestamp is given in microseconds,\n.I\n%f\nmust be used as\n.I\ntime-format\nor\n.I\n%*\nif the timestamp is given in milliseconds.\n.IP \"date-format\"\nThe\n.I date-format\nvariable followed by a space, specifies the log format date containing any\ncombination of regular characters and special format specifiers. They all begin\nwith a percentage (%) sign. See `man strftime`. e.g.,\n.I %Y-%m-%d.\n.IP\n.I Note:\nIf a timestamp is given in microseconds,\n.I\n%f\nmust be used as\n.I\ndate-format\nor\n.I\n%*\nif the timestamp is given in milliseconds.\n.IP \"log-format\"\nThe\n.I log-format\nvariable followed by a space or\n.I \\\\\\\\t\n, specifies the log format string.\n.IP %x\nA date and time field matching the\n.I time-format\nand\n.I date-format\nvariables. This is used when given a timestamp or the date & time are\nconcatenated as a single string (e.g., 1501647332 or 20170801235000) instead of\nthe date and time being in two separated variables.\n.IP %t\ntime field matching the\n.I time-format\nvariable.\n.IP %d\ndate field matching the\n.I date-format\nvariable.\n.IP %v\nThe canonical Server Name of the server serving the request (Virtual Host).\n.IP %e\nThis is the userid of the person requesting the document as determined by HTTP\nauthentication.\n.IP %C\nThe cache status of the object the server served.\n.IP %h\nhost (the client IP address, either IPv4 or IPv6)\n.IP %r\nThe request line from the client. This requires specific delimiters around the\nrequest (as single quotes, double quotes, or anything else) to be parsable. If\nnot, we have to use a combination of special format specifiers as %m %U %H.\n.IP %q\nThe query string.\n.IP %m\nThe request method.\n.IP %U\nThe URL path requested.\n\n.I Note:\nIf the query string is in %U, there is no need to use\n.I %q.\nHowever, if the URL path, does not include any query string, you may use\n.I %q\nand the query string will be appended to the request.\n.IP %H\nThe request protocol.\n.IP %s\nThe status code that the server sends back to the client.\n.IP %b\nThe size of the object returned to the client.\n.IP %R\nThe \"Referrer\" HTTP request header.\n.IP %u\nThe user-agent HTTP request header.\n.IP %K\nThe TLS encryption settings chosen for the connection. (In Apache LogFormat: %{SSL_PROTOCOL}x)\n.IP %k\nThe TLS encryption settings chosen for the connection. (In Apache LogFormat: %{SSL_CIPHER}x)\n.IP %M\nThe MIME-type of the requested resource. (In Apache LogFormat: %{Content-Type}o)\n.IP %D\nThe time taken to serve the request, in microseconds as a decimal number.\n.IP %T\nThe time taken to serve the request, in seconds with milliseconds resolution.\n.IP %L\nThe time taken to serve the request, in milliseconds as a decimal number.\n.IP %n\nThe time taken to serve the request, in nanoseconds.\n.IP %^\nIgnore this field.\n.IP %~\nMove forward through the log string until a non-space (!isspace) char is found.\n.IP ~h\nThe host (the client IP address, either IPv4 or IPv6) in a X-Forwarded-For (XFF) field.\n\nIt uses a special specifier which consists of a tilde before the host\nspecifier, followed by the character(s) that delimit the XFF field, which are\nenclosed by curly braces. i.e., \"~h{, }\n\nFor example, \"~h{, }\" is used in order to parse \"11.25.11.53, 17.68.33.17\" field\nwhich is delimited by a comma and a space (enclosed by double quotes).\n\n.TS\nallbox;\nlb lb\nl l.\nXFF field\tspecifier\nT{\n.BR \\[dq]192.1.2.3, \\~192.68.33.17,\\~192.1.1.2\\[dq]\nT}\t\\[dq]~h{, }\\[dq]\nT{\n.BR \\[dq]192.1.2.12\\[dq],\\~\\[dq]192.68.33.17\\[dq]\nT}\t~h{\\[dq], }\nT{\n.BR 192.1.2.12,\\~192.68.33.17\nT}\t~h{, }\nT{\n.BR 192.1.2.14\\~192.68.33.17\\~192.1.1.2\nT}\t~h{ }\n.TE\n\n\n.P\n.I Note:\nIn order to get the average, cumulative and maximum time served in GoAccess,\nyou will need to start logging response times in your web server. In Nginx you\ncan add\n.I $request_time\nto your log format, or\n.I %D\nin Apache.\n.P\n.I Important:\nIf multiple time served specifiers are used at the same time, the first option\nspecified in the format string will take priority over the other specifiers.\n.P\nGoAccess\n.I requires\nthe following fields:\n.IP\n.I %h\na valid IPv4/6\n.IP\n.I %d\na valid date\n.IP\n.I %r\nthe request\n.SH INTERACTIVE MENU\n.IP \"F1 or h\"\nMain help.\n.IP \"F5\"\nRedraw main window.\n.IP \"q\"\nQuit the program, current window or collapse active module\n.IP \"o or ENTER\"\nExpand selected module or open window\n.IP \"+\"\nExpand the selected item's children when a module is already expanded.\n.IP \"-\"\nCollapse the selected item's children when a module is already expanded.\n.IP \"0-9 and Shift + 0\"\nSet selected module to active\n.IP \"p\"\nReorder the dashboard panels interactively (press `p` or `P`).\n.IP \"j\"\nScroll down within expanded module\n.IP \"k\"\nScroll up within expanded module\n.IP \"c\"\nSet or change scheme color.\n.IP \"r\"\nToggle reverse order of chart bars for the active module.\n.IP \"m\"\nCycle chart metric forward for the active module (hits, visitors, bandwidth).\n.IP \"M\"\nCycle chart metric backward for the active module.\n.IP \"l\"\nToggle logarithmic scale for chart bars in the active module.\n.IP \"TAB\"\nForward iteration of modules. Starts from current active module.\n.IP \"SHIFT + TAB\"\nBackward iteration of modules. Starts from current active module.\n.IP \"^f\"\nScroll forward one screen within an active module.\n.IP \"^b\"\nScroll backward one screen within an active module.\n.IP \"s\"\nSort options for active module\n.IP \"/\"\nSearch across all modules (regex allowed)\n.IP \"n\"\nFind the position of the next occurrence across all modules.\n.IP \"g\"\nMove to the first item or top of screen.\n.IP \"G\"\nMove to the last item or bottom of screen.\n.SH EXAMPLES\n.I Note:\nPiping data into GoAccess won't prompt a log/date/time configuration dialog,\nyou will need to previously define it in your configuration file or in the\ncommand line.\n\n.SS\nDIFFERENT OUTPUTS\n.P\nTo output to a terminal and generate an interactive report:\n.IP\n# goaccess access.log\n.P\nTo generate an HTML report:\n.IP\n# goaccess access.log -a -o report.html\n.P\nTo generate a JSON report:\n.IP\n# goaccess access.log -a -d -o report.json\n.P\nTo generate a CSV file:\n.IP\n# goaccess access.log --no-csv-summary -o report.csv\n.P\nGoAccess also allows real-time monitoring from stdin:\n.IP\n# tail -f access.log | goaccess -\n.P\nTo filter while keeping the pipe open for real-time analysis:\n.IP\n# tail -f access.log | grep -i --line-buffered 'firefox' | goaccess --log-format=COMBINED -\n.P\nParse from the beginning of the file while maintaining the pipe:\n.IP\n# tail -f -n +0 access.log | grep -i --line-buffered 'firefox' | goaccess --log-format=COMBINED -o report.html --real-time-html -\n.P\nConvert log date timezone to Europe/Berlin:\n.IP\n# goaccess access.log --log-format='%h %^[%x] \"%r\" %s %b \"%R\" \"%u\"' --datetime-format='%d/%b/%Y:%H:%M:%S %z' --tz=Europe/Berlin --date-spec=min\n\n.SS\nMULTIPLE LOG FILES\n.P\nParse multiple logs by passing them to the command line:\n.IP\n# goaccess access.log access.log.1\n.P\nParse from a pipe while also reading regular files (append \\fB-\\fR for stdin):\n.IP\n# cat access.log.2 | goaccess access.log access.log.1 -\n.P\n.I Note\nthat the single dash is appended to the command line to let GoAccess know\nthat it should read from the pipe.\n.P\nProcess all compressed log files plus the current log:\n.IP\n# zcat access.log.*.gz | goaccess access.log -\n.P\n.I Note:\nOn macOS, use \\fBgunzip -c\\fR instead of \\fBzcat\\fR.\n.I Note:\nIf GoAccess was built with \\fB--with-zlib\\fR, it can parse\n\\fB.gz\\fR files directly without external decompression:\n.IP\n# goaccess access.log access.log.1.gz access.log.2.gz\n\n.SS\nREAL-TIME HTML OUTPUT\n.P\nGenerate a real-time HTML report:\n.IP\n# goaccess access.log -o /usr/share/nginx/html/site/report.html --real-time-html\n.P\nSpecify the WebSocket URL explicitly:\n.IP\n# goaccess access.log -o report.html --real-time-html --ws-url=goaccess.io\n.P\nUse a custom port:\n.IP\n# goaccess access.log -o report.html --real-time-html --port=9870\n.P\nBind WebSocket to a specific address:\n.IP\n# goaccess access.log -o report.html --real-time-html --addr=127.0.0.1\n.P\n.I Note:\nFor TLS/SSL real-time output, use \\fB--ssl-cert=<cert.crt>\\fR and \\fB--ssl-key=<priv.key>\\fR.\nIf GoAccess is running behind a reverse proxy, set the WebSocket URL to include\nthe proxy path and port, e.g.:\n.IP\n# goaccess access.log -o report.html --real-time-html --ws-url=goaccess.io:8080/ws\n\n.SS\nWORKING WITH DATES\n.P\nAll requests from a specific date to end of file:\n.IP\n# sed -n '/05\\/Dec\\/2010/,$ p' access.log | goaccess -a -\n.P\nUsing a relative date (one week ago):\n.IP\n# sed -n '/'$(date '+%d\\/%b\\/%Y' -d '1 week ago')'/,$ p' access.log | goaccess -a -\n.P\nParse a specific date range:\n.IP\n# sed -n '/5\\/Nov\\/2010/,/5\\/Dec\\/2010/ p' access.log | goaccess -a -\n.P\nKeep only the last 5 days of data:\n.IP\n# goaccess access.log --keep-last=5\n\n.SS\nVIRTUAL HOSTS\n.P\nUse \\fB--concat-vhost-req\\fR to prepend the virtual host or server block (%v) to the request field.\n.P\nAppend virtual host manually:\n.IP\n# awk '$8=$1$8' access.log | goaccess -a -\n.P\nExclude a list of virtual hosts:\n.IP\n# grep -v \"`cat exclude_vhost_list_file`\" vhost_access.log | goaccess -\n\n.SS\nFILES, STATUS CODES & BOTS\n.P\nParse only specific page types (html, htm, php):\n.IP\n# awk '$7~/\\.html|\\.htm|\\.php/' access.log | goaccess -\n.P\nParse page views without extensions:\n.IP\n# awk '$7!~/\\..*$/' access.log | goaccess -\n.P\nFilter by a single status code (e.g., 500):\n.IP\n# awk '$9~/500/' access.log | goaccess -\n.P\nFilter by multiple status codes (3xx or 5xx):\n.IP\n# tail -f -n +0 access.log | awk '$9~/3[0-9]{2}|5[0-9]{2}/' | goaccess -o out.html -\n.P\nEstimate bot traffic:\n.IP\n# tail -F -n +0 access.log | grep -i --line-buffered 'bot' | goaccess -\n\n.SS\nSERVER\n.P\nRun GoAccess at lower CPU priority:\n.IP\n# nice -n 19 goaccess -f access.log -a\n.P\nPipe logs from a remote server:\n.IP\n# ssh -n root@server 'tail -f /var/log/apache2/access.log' | goaccess -\n.P\n.I Note:\nSSH requires \\fB-n\\fR so GoAccess can read from stdin. Use SSH keys for\nauthentication.\n\n.SS\nINCREMENTAL LOG PROCESSING\n.P\nGoAccess can process logs incrementally by persisting data to disk, then\nrestoring it and appending new data. GoAccess tracks inodes, the last line\nparsed, and the last timestamp per file.\n.P\n.I Note:\nIf the inode doesn't match, all lines are parsed. If it matches, remaining\nlines are read and the count/timestamp updated. Log lines with a timestamp ≤\nthe stored timestamp are skipped. Piped data works off the timestamp of the\nlast line read.\n.P\n.I Warning:\nPiped data may produce duplicate entries since multiple consecutive lines can\nshare the same timestamp. Best practice is to parse directly with GoAccess\nrather than piping for incremental processing.\n.P\nPersist last month's log:\n.IP\n# goaccess access.log.1 --persist\n.P\nAppend this month's log and preserve:\n.IP\n# goaccess access.log --restore --persist\n.P\nRead persisted data only:\n.IP\n# goaccess --restore\n\n.P\nNOTES\n\nGoAccess keeps track of inodes of all the files processed (assuming files will\nstay on the same partition), in addition, it extracts a snippet of data from\nthe log along with the last line parsed of each file and the timestamp of the\nlast line parsed. e.g.,\ninode:29627417|line:20012|ts:20171231235059\n\nFirst it compares if the snippet matches the log being parsed, if it does, it\nassumes the log hasn't changed dramatically, e.g., hasn't been truncated. If\nthe inode does not match the current file, it parses all lines. If the current\nfile matches the inode, it then reads the remaining lines and updates the count\nof lines parsed and the timestamp. As an extra precaution, it won't parse log\nlines with a timestamp ≤ than the one stored.\n\nPiped data works based off the timestamp of the last line read. For instance,\nit will parse and discard all incoming entries until it finds a timestamp >=\nthan the one stored.\n\n.P\nFor instance:\n.IP\n// last month access log\n.br\n# goaccess access.log.1 --persist\n.P\nthen, load it with\n.IP\n// append this month access log, and preserve new data\n.br\n# goaccess access.log --restore --persist\n.P\nTo read persisted data only (without parsing new data)\n.IP\n# goaccess --restore\n.P\n.SH NOTES\nEach active panel has a total of 366 items or 50 in the real-time HTML report.\nThe number of items is customizable using\n.I max-items\nNote that HTML, CSV and JSON output allow a maximum number greater than the\ndefault value of 366 items per panel.\n.P\nA hit is a request (line in the access log), e.g., 10 requests = 10 hits. HTTP\nrequests with the same IP, date, and user agent are considered a unique visit.\n.P\n\nIf you want to enable dual-stack support, please use\n.I --addr=::\ninstead of the default\n.I --addr=0.0.0.0.\n.P\nThe generated report will attempt to reconnect to the WebSocket server after 1\nsecond with exponential backoff. It will attempt to connect 20 times.\n.SH BUGS\nIf you think you have found a bug, please send me an email to\n.I goaccess@prosoftcorp.com\nor use the issue tracker in https://github.com/allinurl/goaccess/issues\n.SH AUTHOR\nGerardo Orellana <hello@goaccess.io>\nFor more details about it, or new releases, please visit\nhttps://goaccess.io\n"
  },
  {
    "path": "inlang.config.js",
    "content": "// init the inlang.config\n\n/**\n * @type {import(\"@inlang/core/config\").DefineConfig}\n */\nexport async function defineConfig(env) {\n  // importing plugin from local file for testing purposes\n  const plugin = await env.$import(\n    \"https://cdn.jsdelivr.net/gh/jannesblobel/inlang-plugin-po@1/dist/index.js\"\n  );\n  const pluginConfig = {\n    // language mean the name of you file\n    pathPattern: \"./po/{language}.po\",\n    referenceResourcePath: \"./po/goaccess.pot\",\n  };\n\n  return {\n    // if your project use a pot file use the pot as the reference Language\n    // !! do not add the pot file in the Languages array\n    /**\n * @example\n * example files: en.pot, de.po, es.po, fr.po\n *  referenceLanguage: \"en\",\n    languages: [\"de\",\"es\",\"fr\"],\n */\n    referenceLanguage: \"en\",\n    languages: await getLanguages(env),\n    readResources: (args) =>\n      plugin.readResources({ ...args, ...env, pluginConfig }),\n    writeResources: (args) =>\n      plugin.writeResources({ ...args, ...env, pluginConfig }),\n  };\n}\n\n/**\n * Automatically derives the languages in this repository.\n */\nasync function getLanguages(env) {\n  const files = await env.$fs.readdir(\"./po\");\n  // files that end with .json\n  // remove the .json extension to only get language name\n  const languages = files\n    .filter((name) => name.endsWith(\".po\"))\n    .map((name) => name.replace(\".po\", \"\"));\n  return languages;\n}\n"
  },
  {
    "path": "po/LINGUAS",
    "content": "de\nes\nfr\nja\nka\nko\nsv\nzh_CN\npt_BR\nru\nuk\nit\n\n"
  },
  {
    "path": "po/Makevars",
    "content": "# Makefile variables for PO directory in any package using GNU gettext.\n\n# Usually the message domain is the same as the package name.\nDOMAIN = $(PACKAGE)\n\n# These two variables depend on the location of this directory.\nsubdir = po\ntop_builddir = ..\nAM_CPPFLAGS = -I. -I$(srcdir)\n\n# These options get passed to xgettext.\nXGETTEXT_OPTIONS = --from-code=UTF-8 --keyword=_ --keyword=N_\n\n# This is the copyright holder that gets inserted into the header of the\n# $(DOMAIN).pot file.  Set this to the copyright holder of the surrounding\n# package.  (Note that the msgstr strings, extracted from the package's\n# sources, belong to the copyright holder of the package.)  Translators are\n# expected to transfer the copyright for their translations to this person\n# or entity, or to disclaim their copyright.  The empty string stands for\n# the public domain; in this case the translators are expected to disclaim\n# their copyright.\nCOPYRIGHT_HOLDER = Free Software Foundation, Inc.\n\n# This tells whether or not to prepend \"GNU \" prefix to the package\n# name that gets inserted into the header of the $(DOMAIN).pot file.\n# Possible values are \"yes\", \"no\", or empty.  If it is empty, try to\n# detect it automatically by scanning the files in $(top_srcdir) for\n# \"GNU packagename\" string.\nPACKAGE_GNU =\n\n# This is the email address or URL to which the translators shall report\n# bugs in the untranslated strings:\n# - Strings which are not entire sentences, see the maintainer guidelines\n#   in the GNU gettext documentation, section 'Preparing Strings'.\n# - Strings which use unclear terms or require additional context to be\n#   understood.\n# - Strings which make invalid assumptions about notation of date, time or\n#   money.\n# - Pluralisation problems.\n# - Incorrect English spelling.\n# - Incorrect formatting.\n# It can be your email address, or a mailing list address where translators\n# can write to without being subscribed, or the URL of a web page through\n# which the translators can contact you.\nMSGID_BUGS_ADDRESS = hello@goaccess.io\n\n# This is the list of locale categories, beyond LC_MESSAGES, for which the\n# message catalogs shall be used.  It is usually empty.\nEXTRA_LOCALE_CATEGORIES =\n\n# This tells whether the $(DOMAIN).pot file contains messages with an 'msgctxt'\n# context.  Possible values are \"yes\" and \"no\".  Set this to yes if the\n# package uses functions taking also a message context, like pgettext(), or\n# if in $(XGETTEXT_OPTIONS) you define keywords with a context argument.\nUSE_MSGCTXT = no\n\n# These options get passed to msgmerge.\n# Useful options are in particular:\n#   --previous            to keep previous msgids of translated messages,\n#   --quiet               to reduce the verbosity.\nMSGMERGE_OPTIONS =\n\n# These options get passed to msginit.\n# If you want to disable line wrapping when writing PO files, add\n# --no-wrap to MSGMERGE_OPTIONS, XGETTEXT_OPTIONS, and\n# MSGINIT_OPTIONS.\nMSGINIT_OPTIONS =\n\n# This tells whether or not to regenerate a PO file when $(DOMAIN).pot\n# has changed.  Possible values are \"yes\" and \"no\".  Set this to no if\n# the POT file is checked in the repository and the version control\n# program ignores timestamps.\nPO_DEPENDS_ON_POT = yes\n\n# This tells whether or not to forcibly update $(DOMAIN).pot and\n# regenerate PO files on \"make dist\".  Possible values are \"yes\" and\n# \"no\".  Set this to no if the POT file and PO files are maintained\n# externally.\nDIST_DEPENDS_ON_UPDATE_PO = yes\n"
  },
  {
    "path": "po/POTFILES.in",
    "content": "# List of source files which contain translatable strings.\nsrc/labels.h\n"
  },
  {
    "path": "po/de.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: \\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2019-05-05 16:03+0200\\n\"\n\"Last-Translator: Axel Wehner <mail@axelwehner.de>\\n\"\n\"Language: de\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 2.2.1\\n\"\n\"Plural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"de\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Kachel öffnen\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Hilfe\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Schließen\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Gesamt\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] Aufsteigend [ ] Absteigend\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] Aufsteigend [x] Absteigend\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Aktive Kachel: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] GoAccess schließen\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Hilfe [Eingabe] Kachel öffnen\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Übersicht\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Übersicht – Analysierte Anfragen gesamt\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Analysierte Anfragen gesamt\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Tx. Menge\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Datum/Zeit\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Ausgeschl. IP-Treffer\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Fehlgeschlagene Anfragen\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"Loggen der Übertragungszeit \"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Log-Größe\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Log-Quelle\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Verweise\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Anfragen gesamt\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Statische Dateien\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Nicht gefunden\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Angefragte Dateien\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Eindeutige Besucher\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Gültige Anfragen\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Zugriffe\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Besucher\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Bes.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n# T.S. = Time Serve (The time taken to serve the request)\n# Vz = Verarbeitungszeit\n# Wer hier Rat weiß, bitte verfeinern.\n#: src/labels.h:88\n#, fuzzy\nmsgid \"Avg. T.S.\"\nmsgstr \"Durchschn. Vz.\"\n\n#: src/labels.h:89\n#, fuzzy\nmsgid \"Cum. T.S.\"\nmsgstr \"Kum. Vz.\"\n\n#: src/labels.h:90\n#, fuzzy\nmsgid \"Max. T.S.\"\nmsgstr \"Max. Vz.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Methode\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Meth\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protokoll\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Prot\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Stadt\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"ASN\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Land\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Hostname\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Daten\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Zugriffe/Besucher\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Eindeutige Besucher pro Tag\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Eindeutige Besucher pro Tag – inklusive Spiders/Bots\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\"Zugriffe mit derselben IP, Datum und User-Agent sind ein eindeutiger Besuch.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Angefragte Dateien (URLs)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Häufigste Anfragen sortiert nach Zugriffen [, avgts, cumts, maxts, mthd, \"\n\"proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Anfragen\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Statische Anfragen\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Häufigste statische Anfragen sortiert nach Zugriffen [, avgts, cumts, maxts, \"\n\"mthd, proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Zeitverteilung\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Daten sortiert nach Stunde [, avgts, cumts, maxts]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Zeit\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Virtuelle Hosts\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Daten sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Entfernter Nutzer (HTTP-Authentifizierung)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Entfernter Nutzer\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"Cache-Status des übertragenen Objekts\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Cache-Status\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"Nicht gefundene URLs (404er)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Häufigste nicht gefundene URLs sortiert nach Zugriffen [, avgts, cumts, \"\n\"maxts, mthd, proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Besucher-Hostnamen und -IPs\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste Besucher-Hosts sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Hosts\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Betriebssysteme\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste Betriebssysteme sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"OS\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Browser\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Häufigste Browser sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"Verweis-URLs\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste ausgehende Verweise sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Verweisende Seiten\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste eingehende Verweise sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Schlüsselwörter von Googles Suchmaschine\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste Schlüsselwörter sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Schlüsselwörter\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Geo-Standort\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Kontinent > Land sortiert nach eindeutigen Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"Autonome Systemnummern / Organisationen (ASNs)\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTP-Statuscodes\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Häufigste HTTP-Status-Codes sortiert nach Zugriffen [, avgts, cumts, maxts]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Statuscodes\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME-Typen\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"Versendete Dateitypen\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"Verschlüsselungsoptionen\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLS-Version und gewählter Algorithmus\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"TLS-Optionen\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] Groß- und Kleinschreibung\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] Groß- und Kleinschreibung\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"\"\n\"Regex erlaubt – ^g zum Abbrechen – TAB zum Wechseln zwischen Groß-/\"\n\"Kleinschreibung\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Finde Muster in allen Ansichten\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Log-Format Konfiguration\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[LEERTASTE] auswählen – [EINGABE] weiter – [q] schließen\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Log-Format – [c] zum Hinzufügen/Bearbeiten des Formats\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Datumsformat – [d] zum Hinzufügen/Bearbeiten des Formats\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Zeitformat – [t] zum Hinzufügen/Bearbeiten des Formats\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[HOCH/RUNTER] zum Scrollen – [q] zum Schließen des Fensters\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"User-Agents für %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Schema-Konfiguration\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[EINGABE] Schema verwenden – [q] schließen\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Aktives Modul sortieren nach\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[EINGABE] auswählen – [TAB] sortieren – [q] schließen\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess' schnelle Hilfe\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[HOCH/RUNTER] zum Scrollen – [q] zum Schließen\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"Arbeitsspeicherintern mit persistentem Festplattenspeicher\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Formatfehler – prüfen Sie das Log-/Datums-/Zeitformat\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Es wurde kein Datumsformat in der Konfigurationsdatei gefunden.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Es wurde kein Log-Format in der Konfigurationsdatei gefunden.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Es wurde kein Zeitformat in der Konfigurationsdatei gefunden.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Keine Standard-Konfigurationsdatei gefunden.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Sie übergeben eine mit\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"führen zu folgenden Fehlern\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"%1$d Zeilen analysiert\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Bitte melden Sie den Vorfall und erstatten Sie Bericht auf GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Wählen Sie ein Zeitformat.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Wählen Sie ein Datumsformat.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Wählen Sie ein Log-Format.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"Kachel „'%1$s'“ ist deaktiviert\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"Keine Eingabedaten übergeben und keine wiederherzustellende Daten\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Für mehr Details besuche\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Zuletzt aktualisiert\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket-Server bereit, um neue Client-Verbindungen anzunehmen\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Dem Befehl können auch folgende Optionen mitgegeben werden\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Beispiele können gefunden werden über\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Serverstatistik\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Design (Theme)\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Dunkelgrau (Dark Gray)\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Hell (Bright)\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Dunkelblau (Dark Blue)\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"Dunkelviolett (Dark Purple)\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Kacheln\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Einträge pro Seite\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tabellen\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Zeige Tabellen\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Auf kleinen Geräten automatisch verstecken\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Tabellen auf kleinen Bildschirmen automatisch verstecken\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"Kachel umschalten\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Layout\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Horizontal\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Vertikal\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Breitbild\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Dateioptionen\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Als JSON exportieren\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Kachel-Optionen\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Vorherige\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Nächste\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Erste\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Letzte\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Diagrammoptionen\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Diagramm\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Typ\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Spline-Kurve\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Balken\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Plot-Metrik\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Tabellenspalten\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx informativ\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Erfolg\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Umleitung\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Client-Fehler\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Serverfehler\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"\"\n\"100 – weitermachen: Der Server hat den ersten Teil der Anfrage erhalten\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 – Protokollwechsel: Client gebeten, die Protokolle zu wechseln\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 – OK: Die vom Client gesendete Anfrage war erfolgreich\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 –eErstellt: Die Anforderung wurde erfüllt und angelegt\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 – akzeptiert: Die Anfrage wurde zur Bearbeitung angenommen\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 – nicht autorisierte Informationen: Antwort eines Dritten\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 – kein Inhalt: Die Anfrage hat keinen Inhalt zurückgegeben\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 – Inhalt zurücksetzen: Der Server hat den Client gebeten, das Dokument \"\n\"zurückzusetzen\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 – Teilinhalt: Der partielle GET war erfolgreich\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 – Mehrfach-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - bereits gemeldet: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 – Mehrfachauswahl: mehrere Optionen für die Ressource\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 – dauerhaft verschoben: Ressource wurde dauerhaft verschoben\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 – vorübergehend verschoben (Umleitung)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 – siehe anderes Dokument: Die Antwort ist unter einem anderen URI\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 – nicht geändert: Die Ressource wurde nicht verändert\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 – Proxy verwenden: Zugriff nur über den Proxy möglich\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 – temporäre Umleitung: Ressource vorübergehend verschoben\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 – dauerhafte Umleitung\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 – fehlerhafte Anfrage: Die Syntax der Anfrage ist ungültig\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"\"\n\"401 – nicht autorisiert: Anforderung erfordert Benutzerauthentifizierung\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 – Zahlung erforderlich\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 – verboten: Der Server weigert sich, darauf zu reagieren\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"\"\n\"404 – nicht gefunden: Angefragte Ressource konnte nicht gefunden werden\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 – Methode nicht erlaubt: Anforderungsmethode nicht unterstützt\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 – nicht zulässig\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 – Proxy-Authentifizierung erforderlich\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"\"\n\"408 – Zeitüberschreitung der Anfrage: Zeitüberschreitung des Server beim \"\n\"Warten auf die Anfrage\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 – Konflikt: Konflikt in der Anfrage\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 – verschwunden: Angeforderte Ressource ist nicht mehr verfügbar\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 – erforderliche Länge: ungültige Inhaltslänge\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"\"\n\"412 – Vorbedingung fehlgeschlagen: Server erfüllt nicht die Voraussetzungen\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 – Nutzdaten zu groß\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 – Anfrage-URI zu lang\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"\"\n\"415 – nicht unterstützter Medientyp: Der Medientyp wird nicht unterstützt\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 – angeforderter Bereich nicht erfüllbar: Dieser Teil kann nicht \"\n\"geliefert werden\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 – Erwartung fehlgeschlagen\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 – Ich bin ein Teekännchen\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 – fehlgesteuerte Anfrage\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"\"\n\"422 – nicht verarbeitbare Entität aufgrund von semantischen Fehlern: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 – die Ressource, auf die zugegriffen wird, ist gesperrt\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 – fehlgeschlagene Abhängigkeit: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\"426 – Upgrade erforderlich: Der Client sollte zu einem anderen Protokoll \"\n\"wechseln\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 – erforderliche Vorraussetzung\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 – zu viele Anfragen: Der Benutzer hat zu viele Anfragen gesendet\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 – Header-Felder der Anfrage zu groß\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"\"\n\"408 – Zeitüberschreitung der Anfrage: Zeitüberschreitung des Server beim \"\n\"Warten auf die Anfrage\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 – aus rechtlichen Gründen nicht verfügbar\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 – (Nginx) Verbindung geschlossen, ohne Header zu senden\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 – (Nginx) Anfrage-Kopf zu groß\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 – (Nginx) SSL-Client-Zertifikatsfehler\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 – (Nginx) Client hat kein Zertifikat zur Verfügung gestellt\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 – (Nginx) HTTP-Anfrage an HTTPS-Port gesendet\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"\"\n\"499 – (Nginx) Verbindung vom Client während der Bearbeitung der Anfrage \"\n\"geschlossen\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 – interner Serverfehler\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 – nicht implementiert\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"\"\n\"502 – Fehlerhaftes Gateway: Eine ungültige Antwort vom Upstream erhalten\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 – Dienst nicht verfügbar: Der Server ist zurzeit nicht ansprechbar\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 – Gateway-Zeitüberschreitung: Der Upstream-Server konnte keine Anfrage \"\n\"senden\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 – HTTP-Version wird nicht unterstützt\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 – CloudFlare – der Webserver gibt einen unbekannten Fehler zurück\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 – CloudFlare – Webserver ist ausgefallen\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 – CloudFlare – Zeitüberschreitung der Verbindung\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 – CloudFlare – Herkunft ist unerreichbar\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 – CloudFlare – Zeitüberschreitung aufgetreten\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"\"\n\"401 – nicht autorisiert: Anforderung erfordert Benutzerauthentifizierung\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\n#, fuzzy\nmsgid \"Settings\"\nmsgstr \"TLS-Optionen\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Verweise\"\n"
  },
  {
    "path": "po/es.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Goaccess\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2017-08-04 13:00-0300\\n\"\n\"Last-Translator: Enrique Becerra <kabeza@gmail.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: es\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 1.5.4\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"es\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Exp. Panel\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Ayuda\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Salir\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Total\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ASC [ ] DESC\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ASC [x] DESC\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Panel Activo: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q]Salir GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Ayuda [Enter] Exp. Panel\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Panel de Control\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Panel de Control - Peticiones Analizadas En General\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Peticiones Analizadas en General\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Fecha/Hora\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Accesos IP Excl.\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Peticiones Fallidas\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Tamaño Log\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Origen de Log\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Referidos\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Peticiones Totales\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Archivos Estaticos\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"No Encontrado\"\n\n#: src/labels.h:76\n#, fuzzy\nmsgid \"Requested Files\"\nmsgstr \"Archivos Requeridos (URLs)\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Visitantes Unicos\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Peticiones Validas\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Hits\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Visitantes\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Vis.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Prom. T.S.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Cum. T.S.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Max. T.S.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Metodo\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Mtd\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protocolo\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Proto\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Ciudad\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Pais\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Hostname\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Datos\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Hits/Visitas\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Visitantes unicos por dia\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Visitantes unicos por dia - Incluyendo M.Busqueda\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"Hits con el mismo IP, fecha y agente son unica visita\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Archivos Requeridos (URLs)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"Peticiones Top ordenadas por hits [, avgts, cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Peticiones\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Peticiones Estaticas\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Peticiones estaticas top ordenadas por hits [, avgts, cumts, maxts, mthd, \"\n\"proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Distribucion Horaria\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Datos ordenados por hora [, avgts, cumts, maxts]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Hora\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Hosts Virtuales\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Datos ordenados por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Usuario Remoto (Autenticacion HTTP)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Usuario Remoto\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Estado de Caché\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"URLs no encontradas (404)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"URLs no encontradas top ordenadas por hits [, avgts, cumts, maxts, mthd, \"\n\"proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Hosts e IPs de los Visitantes\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Hosts de visitante top ordenado por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Hosts\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Sistemas Operativos\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Sistemas Operativos top ordenados por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"SO\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Navegadores\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Navegadores top ordenados por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"URLs Referidos\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Peticiones top de referidos ordenadas por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Sitios Referidos\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Sitios Referidos top ordenados por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Frases de busqueda de motor de busqueda Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Frases de busqueda top ordenadas por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Frases Clave\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Geo Localizacion\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"Continente > Pais ordenado por hits unicos [, avgts, cumts, maxts]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Codigos de Estado HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Codigos de Estado HTTP top ordenados por hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Codigos de Estado\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] distinguir mayusculas\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] distinguir mayusculas\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Permitido Regex - ^g para cancelar - TAB cambiar case\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Encontrar patron en todas las vistas\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Configuracion de Formato de Log\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[ESPACIO] para alternar - [ENTER] para proceder - [q] para salir\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Formato de Log - [c] para agregar/editar formato\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Formato de Fecha - [d] para agregar/editar formato\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Formato de Hora - [t] para agregar/editar formato\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[ARRIBA/ABAJO] para scrollear - [q] para cerrar ventana\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"Agentes de Usuario para %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Configuracion de Esquema\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] para usar esquema - [q]Salir\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Ordenar modulo activo por\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] seleccionar - [TAB] ordenar - [q]Salir\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"Ayuda Rapida de GoAccess\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[ARRIBA/ABAJO] para scrollear - [q] para salir\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Errores de Formato - Verifique su formato de log/fecha/hora\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"No se encontro formato de fecha en su archivo de configuracion\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"No se encontro formato de log en su archivo de configuracion\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"No se encontro formato de hora en su archivo de configuracion\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"No se encontro archivo de configuracion por defecto.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Ud. puede especificar un ancho\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"produciendo los siguientes errores\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Analizadas %1$d lineas\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Por favor avise abriendo un issue en GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Elija un formato de hora.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Elija un formato de fecha.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Elija un formato de log.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' panel esta desactivado\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Para mas detalles visite\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Ultima actualizacion\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"Servidor WebSocket listo para aceptar nuevas conexiones de clientes\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Las siguientes opciones pueden ser ademas suplirse en el comando\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Ejemplos pueden encontrarse ejecutando\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Estadisticas de Servidor\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Skin\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Gris Oscuro\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Clara\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Azul Oscuro\"\n\n#: src/labels.h:351\n#, fuzzy\nmsgid \"Dark Purple\"\nmsgstr \"Morado Oscuro\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Paneles\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Items por pagina\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tablas\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Mostrar Tablas\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Auto-ocultar en Pequeños Dispositivos\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Automaticamente ocultar tablas en pequeños dispositivos\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Diseño\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Horizontal\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Vertical\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Panorama\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Opciones de Archivo\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Exportar como JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Opciones de Panel\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Anterior\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Siguiente\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Primero\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Ultimo\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Opciones de Grafico\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Grafico\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Tipo\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Area Ranura\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Bar\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Trazado\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Columnas de Tabla\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Informativo\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Exito\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Redireccion\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Errores de Cliente\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Errores de Servidor\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Continuar: Servidor recibio la parte inicial de la peticion\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - Cambiando Protocolos: Cliente pidio cambiar protocolos\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: La peticion enviada por el cliente fue exitosa\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Creada: La peticion ha sido completada y creada\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Aceptada: La peticion fue aceptada para procesar\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - No-autoritario Informativo: Respuesta de una 3er. parte\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - Sin Contenido: Peticion no retorno ningun contenido\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - Resetear Contenido: Servidor pidio al cliente resetear el documento\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Contenido Parcial: el GET parcial fue exitoso\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Estado: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Ya Reportado: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Multiples Opciones: Multiples opciones para el recurso\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Movido Permanente: Recurso ha sido permanentemente movido\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Movido Temporalmente (redireccion)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - Ver Otro Documento: La respuesta es en una URI diferente\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - No Modificado: Recurso no ha sido modificado\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Usar Proxy: Puede ser accedido solo a traves de proxy\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Redireccion Temporal: Recurso movido temporalmente\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 - Pago Requerido\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Peticion Mala: La sintaxis de la peticion es invalida\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Sin Autorizacion: Peticion necesita autenticacion de usuario\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Pago Requerido\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Prohibido: Servidor esta rechazando respuesta\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - No Encontrado: Peticion de recurso no pudo encontrarse\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Metodo No Permitido: Metodo de Peticion no soportado\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - No Aceptable\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Autenticacion de Proxy Requerida\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Timeout de Peticion: Tiempo agotado de espera para la solicitud\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflicto: Conflicto en la peticion\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Fue: Recurso requerido no esta mas disponible\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Longitud Requerida: Content-Length Invalido\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Precondicion Fallida: Servidor no cumple precondiciones\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Carga Util Demasiado larga\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Request-URI demasiado larga\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Tipo de medios no soportado: El tipo de medios no es soportado\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"416 - Rango requerido no satisfacible: No puede proveer esa porcion\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Expectativa Fallida\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - Soy una tetera\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Peticion mal dirigida\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Peticion fue imposible seguirla debido a errores semánticos\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - El recurso al que se está teniendo acceso está bloqueado\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - La solicitud falló debido a una falla en la solicitud previa\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - El cliente debería cambiarse a TLS/1.0\"\n\n#: src/labels.h:516\n#, fuzzy\nmsgid \"428 - Precondition Required\"\nmsgstr \"402 - Pago Requerido\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - Hay muchas conexiones desde esta dirección de internet\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\n#, fuzzy\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"494 - (Nginx) Cabecera de Peticion demasiada larga\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"408 - Timeout de Peticion: Tiempo agotado de espera para la solicitud\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Conexion cerrada sin enviar cabeceras\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Cabecera de Peticion demasiada larga\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) Cliente SSL certificado erroneo\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Client no proveyo certificado\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) Peticion HTTP enviada a puerto HTTPS\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) Conexion cerrada por cliente mientras procesaba peticion\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Error Interno de Servidor\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - No Implementado\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Entrada Erronea: Recibio respuesta invalida\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"\"\n\"503 - Servicio no disponible: El servidor actualmente no esta disponible\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Timeout de Gateway: El servidor upstream fallo al enviar peticion\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - Version HTTP no soportada\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - El servidor esta retornando un error desconocido\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Servidor Web caido\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Tiempo de espera de conexion agotado \"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Origen es inaccesible\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - Ocurrio cese de tiempo\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - Sin Autorizacion: Peticion necesita autenticacion de usuario\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Referidos\"\n"
  },
  {
    "path": "po/fr.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.4\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2020-07-10 11:44+0200\\n\"\n\"Last-Translator: Coban L. <coban.lebret@nfrance.com>\\n\"\n\"Language-Team: français\\n\"\n\"Language: fr\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"Plural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"fr\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Dév. Panneau\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Aide\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Quitter\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Total\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ASC [ ] DESC\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ASC [x] DESC\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Panneau Actif: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q]uitter GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Aide [Enter] Dév. Panneau\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Tableau de bord\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Tableau de bord - Requêtes analysées, vue d'ensemble\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Requêtes analysées, vue d'ensemble\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Tx. Montant\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Date/Heure\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Excl. IP Hits\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Requêtes échouées\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Taille log\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Fichier log\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Origine\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Requêtes totales\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Fichiers statiques\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Non Trouvé\"\n\n#: src/labels.h:76\n#, fuzzy\nmsgid \"Requested Files\"\nmsgstr \"Fichiers demandés (URLs)\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Visiteurs uniques\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Requêtes valides\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Hits\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Visiteurs\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Vis.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Avg. T.S.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Cum. T.S.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Max. T.S.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Méthode\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Mtd\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protocole\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Proto\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Ville\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Pays\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Nom d'hôte\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Données\"\n\n#: src/labels.h:101\n#, fuzzy\nmsgid \"Hits/Visitors\"\nmsgstr \"Visiteurs\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Visiteurs uniques par jour\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Visiteurs uniques/jour - Y compris bots\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\"Les hits depuis la même IP, date et user-agent comptent comme visite unique\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Fichiers demandés (URLs)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"Top des requêtes triées par hits [, avgts, cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Requêtes\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Requêtes statiques\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Top des requêtes statiques trié par hits [, avgts, cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Distribution temporelle\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Données triées par heure [, avgts, cumts, maxts]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Temps\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Hôtes virtuels\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Données triées par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Utilisateur distant (authentification HTTP)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Remote Utilisateur\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"L'état du cache de l'objet servi\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Etat du cache\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"URLs Non trouvées (404s)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Top des URLs non trouvées trié par hits [, avgts, cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Nom de machine et IPs des visiteurs\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des visiteurs trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Hôtes\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Systèmes d'exploitation\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des systèmes d'exploitation trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"SE\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Navigateurs\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des Navigateurs trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"URLs d'origine\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des URLs d'origine trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Sites d'origine\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des sites d'origine trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Mot-clés du moteur de recherche Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des Mot-clés trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Mot-clés\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Géo Localisation\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"Continent > Pays trié par hits unique [, avgts, cumts, maxts]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Status HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Top des status HTTP trié par hits [, avgts, cumts, maxts]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Status HTTP\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] sensible à la casse\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] sensible à la casse\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Regex OK - ^g pour annuler - TAB pour changer la casse\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Trouver tous les motifs dans toutes les vues\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Configuration format des logs\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPACE] pour basculer - [ENTREE] pour procéder - [q] pour quitter\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Format des logs - [c] pour ajouter/éditer le format\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Format de la date - [d] pour ajouter/éditer le format\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Format temporel - [t] pour ajouter/éditer le format\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[HAUT/BAS] pour faire défiler - [q] pour fermer la fenêtre\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"User Agents pour %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Configuration programme\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTREE] pour utiliser le programme - [q]uitter\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Trier le module actif par\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTREE] sélectionner - [TAB] trier - [q]uitter\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess aide rapide\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[HAUT/BAS] pour faire défiler - [q] pour quitter\"\n\n#: src/labels.h:289\n#, fuzzy\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"En mémoire avec le stockage de disque persistant.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Erreurs de format - Vérifiez votre format de journal / date / heure\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Aucun format de date n'a été trouvé sur votre fichier conf.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Aucun format de journal n'a été trouvé sur votre fichier conf.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Aucun format de journal n'a été trouvé sur votre fichier conf.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Aucun fichier de configuration par défaut trouvé.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Vous pouvez en préciser un avec\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"produisant les erreurs suivantes\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Analysé %1$d lignes\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Si vous plaît, rapporter cela en ouvrant un probleme sur GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Sélectionner un format temporel.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Sélectionner un format de date.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Sélectionner un format de log.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' panneau désactivé\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Pour plus de détails, visitez\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Dernière mise à jour\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket serveur prêt à accepter les nouvelles connexions client\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Les options suivantes peuvent également être fournies à la commande\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Des exemples peuvent être trouvés en cours d'exécution\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Statistiques du serveur\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Thème\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Gris foncé\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Brillant\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Bleu foncé\"\n\n#: src/labels.h:351\n#, fuzzy\nmsgid \"Dark Purple\"\nmsgstr \"Violet foncé\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Panneaux\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Objets par page\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tableaux\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Afficher les tableaux\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Masquage-auto/Petits appareils\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"\"\n\"Masquer automatiquement les tableaux sur les appareils avec un petit écran\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Disposition\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Horizontal\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Verticale\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Grand écran\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Options de fichier\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Exporter en tant que JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Options du panneau\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Précédent\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Suivant\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Premier\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Dernier\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Options du graphique\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Graphique\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Type\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Courbe vectorielle\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Barre\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Tracé métrique\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Colonnes de tableau\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Informationnel\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Succès\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Redirection\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Erreurs Client\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Erreurs Serveur\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Continue: Le serveur a reçu la partie initiale de la requête\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"\"\n\"101 - Echange de Protocoles: Le client a demandé à changer de protocole\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: La requête envoyée par le client a réussie\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Created: La requête a été aboutie et créée\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Accepté: La requête a été acceptée pour être traité\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Information sans autorité: Réponse d'un tiers\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - Aucun contenu: La requête ne renvoie aucun contenu\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - Contenu réinitialisé: Le serveur a demandé au client de réinitialiser \"\n\"le document\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Contenu partiel: Le GET partiel a réussi\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Status-multiples: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Déjà signalé: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Choix multiples: Options multiples pour la ressource\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"\"\n\"301 - Déplacement permanent: La ressource a été déplacée de façon permanente\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Temporairement déplacé (redirigé)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - Voir autre document: La réponse se situe sur une URI différente\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Non modifié: La ressource n'a pas été modifiée\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Utiliser un Proxy : Accessible seulement depuis le proxy\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Redirection temporaire: Ressource temporairement déplacée\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 - Paiement requis\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Mauvaise requête: Syntaxe de la requête invalide\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"\"\n\"401 - Non autorisé: La requête nécessite une authentification utilisateur\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Paiement requis\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Interdit: Le serveur refuse d'y répondre\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Non trouvé: La ressource demandée ne peut pas être trouvée\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Méthode non autorisée: Méthode de requête non supportée\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Pas Acceptable\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Authentification au proxy requise\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"\"\n\"408 - Requête expirée: Délai d'attente du serveur dépassé pour la requête\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflit: Conflit dans la requête\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Disparue: La ressource demandée n'est plus disponible\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Longueur requise: Longueur du contenu invalide\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Pré-requis échoué: Le serveur ne rempli pas les pré-requis\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Charge utile trop importante\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - URI requête trop longue\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Type de média non supporté : Type de media non pris en charge\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - Plage de requête non satisfaisante: ne peut pas fournir cette partie\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Attente échouée\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - Je suis une théière\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Requête mal orientée\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Entité non traitable à cause des erreurs sémantiques: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - L'accès à la ressource est verrouillé\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Dépendance échouée: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\"426 - Amélioration requise: Le client devrait changer pour un protocole \"\n\"différent\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - Condition préalable requise\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 : Trop de requêtes: L'utilisateur a envoyé trop de requêtes\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Le champ en-tête de requête est trop large\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"\"\n\"408 - Requête expirée: Délai d'attente du serveur dépassé pour la requête\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Indisponible pour des raisons légales\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Connexion fermée sans envoyer d'en-têtes\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) En-tête de requête trop large\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) Erreur de certificat SSL client\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Le client ne fournit pas de certificat\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) Requête HTTP envoyée sur le port HTTPS\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"\"\n\"499 - (Nginx) Connexion fermée par le client durant le traitement de la \"\n\"requête\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Erreur serveur interne\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Non implémenté\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Mauvaise passerelle: Réponse invalide reçue en amont\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service indisponible: Le serveur est actuellement indisponible\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Attente passerelle dépassé: l'envoi de la requête en amont par le \"\n\"serveur a échoué\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - Version HTTP non supportée\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Le serveur Web renvoi une erreur inconnue\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Serveur Web en panne\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Délai de connexion dépassé\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - L'Origin n'est pas joignable\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - Un dépassement du délai s'est produit\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"\"\n\"401 - Non autorisé: La requête nécessite une authentification utilisateur\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Origine\"\n"
  },
  {
    "path": "po/goaccess.pot",
    "content": "# SOME DESCRIPTIVE TITLE.\n# Copyright (C) YEAR Free Software Foundation, Inc.\n# This file is distributed under the same license as the goaccess package.\n# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.\n#\n#, fuzzy\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.10.1\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\\n\"\n\"Last-Translator: FULL NAME <EMAIL@ADDRESS>\\n\"\n\"Language-Team: LANGUAGE <LL@li.org>\\n\"\n\"Language: \\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=CHARSET\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:184\nmsgid \"Referrer URLs\"\nmsgstr \"\"\n\n#: src/labels.h:186\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n"
  },
  {
    "path": "po/it.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Goaccess\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2017-08-04 13:00-0300\\n\"\n\"Last-Translator: Mario Donnarumma <mario.donnarumma.97@gmail.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: it\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 1.5.4\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"it\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Exp. Panel\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Aiuto\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Esci\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Totale\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ASC [ ] DESC\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ASC [x] DESC\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Pannello Attivo: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] chiudi GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Aiuto [Enter] Exp. Panel\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Pannello di Controllo\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Pannello di Controllo - Richieste Complessive Analizzate\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Richieste Complessive Analizzate\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Tx. Totale\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Data/Ora\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Accessi IP Esclusi\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Richieste Fallite\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"Tempo Parsing Log\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Dimensioni Log\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Sorgente Log\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Referrer\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Richieste Totali\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"File Statici\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Non Trovato\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"File Richiesti\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Visitatori Unici\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Richieste Valide\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Accessi\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Visitatori\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Vis.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Media T.S.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Cum. T.S.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Max. T.S.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Metodo\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Mtd\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protocollo\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Proto\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Città\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Paese\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Hostname\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Dati\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Acessi/Visitatori\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Visitatori unici al giorno\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Visitatori unici al giorno - Inclusi spider\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"Accessi con lo stesso IP, data e agent sono una visita unica.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"File Richiesti (URL)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Principali richieste ordinate per accessi [, avgts, cumts, maxts, mthd, \"\n\"proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Richieste\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Richieste Statiche\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Principali richieste statiche ordinate per accessi [, avgts, cumts, maxts, \"\n\"mthd, proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Distribuzione Oraria\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Dati ordinati per ore [, avgts, cumts, maxts]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Ora\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Host Virtuali\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Dati ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Utente Remoto (Autenticazione HTTP)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Utente Remoto\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"Lo stato della cache dell'oggetto servito\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Stato Della Cache\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"URL Non Trovati (404)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Principali URL non trovati ordinati per accesso [, avgts, cumts, maxts, \"\n\"mthd, proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Hostname e IP dei Visitatori\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Principali host dei visitatori ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Host\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Sistemi Operativi\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Principali Sistemi Operativi ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"SO\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Browser\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Principali Browser ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"URL Referrer\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Principali Referrer Richiesti ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Siti Referrer\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Principali Siti Referrer ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Frasi chiave dal motore di ricerca di Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Principali Frasi Chiave ordinate per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Frasi Chiave\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Posizione Geografica\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"Continente > Paese ordinati per accessi unici [, avgts, cumts, maxts]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Codici Di Stato HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Principali Codici Di Stato HTTP ordinati per accessi [, avgts, cumts, maxts]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Codici Di Stato\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"Tipi MIME\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"Tipi di file spediti\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"Impostazioni di crittografia\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"Versione TLS e algoritmo scelto\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"Impostazioni TLS\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] case sensitive\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] case sensitive\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Regex permesse - ^g per annullare - TAB cambia case\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Trova pattern in tutte le viste\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Configurazione Formato Log\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPAZIO] per alternare - [INVIO] per procedere - [q] per uscire\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Formato Log - [c] per aggiungere/modificare formato\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Formato Data - [d] per aggiungere/modificare formato\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Formato Ora - [t] per aggiungere/modificare formato\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[SU/GIU] per scorrere - [q] per chiudere la finestra\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"User Agent per %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Configurazione Schema\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[INVIO] per usare lo schema - [q] esci\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Ordina moduli attivi per\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[INVIO] seleziona - [TAB] ordina - [q] esci\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"Aiuto Rapido di GoAccess\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[SU/GIU] per scorrere - [q] per uscire\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"In Memoria con Archiviazione Persistente Su Disco.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Errori Formato - Verifica il tuo formato di log/data/ora\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Nessun formato di data trovato nel tuo file di configurazione.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Nessun formato di log trovato nel tuo file di configurazione.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Nessun formato di ora trovato nel tuo file di configurazione.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Nessuna file di configurazione predefinito trovato.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Puoi specificarne uno con\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"producendo i seguenti errori\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Analizzate %1$d righe\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Per favore segnalalo aprendo un issue su GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Seleziona un formato di ora.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Seleziona un formato di data.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Seleziona un formato di log.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"il pannello '%1$s' è disattivato\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"Non sono stati forniti dati in input né ci sono dati da ripristinare.\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Per maggiori dettagli visita\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Ultimo Aggiornamento\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"Server WebSocket pronto ad accettare nuove connessioni dai client\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Le seguenti opzioni possono anche essere fornite al comando\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Esempi possono trovati eseguendo\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Statistiche Server\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Tema\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Grigio Scuro\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Chiaro\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Blu Scuro\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"Viola Scuro\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Pannelli\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Elementi per Pagina\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tabelle\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Mostra Tabelle\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Nascondi su Schermi Piccoli\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Nascondi automaticamente le tabelle su Schermi Piccoli\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Layout\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Orizzontale\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Verticale\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Panoramico\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Opzioni File\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Esporta come JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Opzioni Pannello\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Precedente\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Successivo\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Primo\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Ultimo\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Opzioni Grafico\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Grafico\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Tipo\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Area Spline\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Barre\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Metriche Grafico\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Colonne Tabella\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Informativo\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Successo\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Reindirizzamento\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Errori Client\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Errori Server\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"\"\n\"100 - Continue: Il server ha ricevuto la parte iniziale della richiesta\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"\"\n\"101 - Switching Protocols: Il client ha richiesto di cambiare protocolli\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: La richiesta inviata dal client ha avuto successo\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Created: La richiesta è stata soddisfatta e creata\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Accepted: La richiesta è stata accettata per essere elaborata\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Non-authoritative Information: Risposta da terzi\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - No Content: La richiesta non ha restituito nessun contenuto\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - Reset Content: Il server ha richiesto al client di ripristinare il \"\n\"documento\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Partial Content: La GET parziale ha avuto successo\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Already Reported: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Multiple Choices: Opzioni multiple per la risorsa\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Moved Permanently: La risorsa è stata spostata permanentemente\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Moved Temporarily (redirect)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - See Other Document: La risposta si trova ad un URI diverso\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Not Modified: La risorsa non è stata modificata\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Use Proxy: Può essere acceduta solo tramite proxy\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Temporary Redirect: Risorsa spostata temporaneamente\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - Permanent Redirect\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Bad Request: La sintassi della richiesta non è valida\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Unauthorized: La richiesta richiede l'autenticazione dell'utente\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Payment Required\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Forbidden: Il server si sta rifiutando di rispondere\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Not Found: La risorsa richiesta non è stata trovata\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Method Not Allowed: Il metodo della richiesta non è supportato\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Not Acceptable\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Proxy Authentication Required\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Request Timeout: Il tempo per inviare la richiesta è scaduto\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflict: Conflitto nella richiesta\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Gone: La risorsa richiesta non è più disponibile\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Length Required: Content-Length non valido\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Precondition Failed: Il server non soddisfa le precondizioni\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Payload Too Large\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Request-URI Too Long\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Unsupported Media Type: Tipo media non supportato\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - Requested Range Not Satisfiable: Impossibile fornire quel frammento\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Expectation Failed\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - I’m a teapot\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Misdirected Request\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Unprocessable Entity\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - Locked\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Failed Dependency: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\"426 - Upgrade Required: Il cliente dovrebbe utilizzare un protocollo diverso\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"402 - Precondition Required\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - Too Many Requests: L'utente ha inviato troppe richieste\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Request Header Fields Too Large\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"408 - Request Timeout: Il tempo per inviare la richiesta è scaduto\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Unavailable For Legal Reasons\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Connection closed without sending any headers\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Request Header Too Large\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL client certificate error\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Client didn't provide certificate\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP request sent to HTTPS port\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) Connection closed by client while processing request\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Internal Server Error\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Not Implemented\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Bad Gateway: Risposta non valida dal server di upstream\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service Unavailable: Il server non è attualmente disponibile\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Gateway Timeout: Il server di upstream non è riuscito ad inviare la \"\n\"richiesta\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP Version Not Supported\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Web server is returning an unknown error\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Web server is down\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Connection timed out\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Origin is unreachable\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - A timeout occurred\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - Unauthorized: La richiesta richiede l'autenticazione dell'utente\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\n#, fuzzy\nmsgid \"Settings\"\nmsgstr \"Impostazioni TLS\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Referrer\"\n"
  },
  {
    "path": "po/ja.po",
    "content": "# Copyright © 2020 Kamino <67395018+err931@users.noreply.github.com>\n# Copyright © 2023, 2025 gemmaro <gemmaro.dev@gmail.com>\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.3\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2025-04-28 21:05+0900\\n\"\n\"Last-Translator: gemmaro <gemmaro.dev@gmail.com>\\n\"\n\"Language-Team: Japanese\\n\"\n\"Language: ja\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"Plural-Forms: nplurals=1; plural=0;\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"ja\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"詳細表示\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"ヘルプ\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"終了\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"合計\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] 昇順 [ ] 降順\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] 昇順 [x] 降順\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[表示中のパネル: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] GoAccessを閉じる\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] ヘルプ [Enter] 詳細表示\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"ダッシュボード\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"ダッシュボード - 解析済みリクエスト全体\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"解析済みリクエスト全体\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"データ転送量\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"日付/時刻\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"除外対象数\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"無効リクエスト数\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"ログの解析時間\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"ログファイルサイズ\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"ログ取得元\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"リファラ数\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"合計リクエスト数\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"静的ファイル数\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"404エラー数\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"要求されたファイル数\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"ユニークユーザー数\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"有効リクエスト数\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"ヒット数\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"ヒット率(%)\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"ユーザー数\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"ユーザー数\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"訪問率(%)\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"平均処理時間\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"合計処理時間\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"最大処理時間\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"要求\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"要求\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"プロトコル\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"プロトコル\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"地域\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"ASN\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"国名\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"ホスト名\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"データ\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"ヒット数/ユーザー数\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"一日あたりのユニークユーザー数\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"一日あたりのユニークユーザー数（クローラも含める）\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\"IPアドレス、日付、ユーザーエージェントが全て同一だった場合、ユニークユーザー\"\n\"として扱われます。\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"リクエストされたファイル（URL）\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"上位のリクエスト [ヒット数、平均処理時間、合計処理時間、最大処理時間、メソッ\"\n\"ド、プロトコル]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"リクエスト数\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"静的ファイルリクエスト数\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"上位の静的ファイルリクエスト [ヒット数、平均処理時間、合計処理時間、最大処理\"\n\"時間、メソッド、プロトコル]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"時間分布\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"上位のデータ [時刻、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"時刻\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"バーチャルホスト\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"上位のデータ [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"認証されたユーザー（HTTP認証）\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"認証されたユーザー\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"サーブされるオブジェクトのキャッシュ状態\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"キャッシュの状態\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"404エラーが返されたURL\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"上位のnot foundなURL [ヒット数、平均処理時間、合計処理時間、最大処理時間、メ\"\n\"ソッド、プロトコル]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"ユーザーのホスト名とIPアドレス\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"上位のユーザーホスト [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"ホスト名\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"オペレーティングシステム\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"上位のOS [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"OS\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"ブラウザ\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"上位のブラウザ [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:184\nmsgid \"Referrer URLs\"\nmsgstr \"リファラのURL\"\n\n#: src/labels.h:186\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"上位の要求元のリファラ [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"参照元サイト\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"上位の参照元サイト [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"キーフレーズ（Google検索から）\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"上位のキーフレーズ [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"キーフレーズ\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"位置情報\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"地理区分 > 国別 [ヒット数、平均処理時間、合計処理時間、最大処理時間]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"Autonomous System Numbers/Organizations (ASNs)\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTPステータスコード\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"上位のHTTPステータスコード [ヒット数、平均処理時間、合計処理時間、最大処理時\"\n\"間]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"ステータスコード\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIMEタイプ\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"送出されたファイル種別\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"暗号化設定\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLSのバージョンと選択されたアルゴリズム\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"TLSの設定\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] 大文字と小文字を区別する\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] 大文字と小文字を区別する\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"正規表現が有効 - [^g] キャンセル - [TAB] 切り替え\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"すべてのビューでパターン検索を行う\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"ログ形式設定\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPACE] 切り替え - [ENTER] 決定 - [q] 終了\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"ログ形式 - [c] 追加/編集\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"日付形式 - [d] 追加/編集\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"時刻形式 - [t] 追加/編集\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[↑/↓] スクロール - [q] ウィンドウを閉じる\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"%1$s のユーザーエージェント\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"スキーム設定\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] スキーム選択 - [q] 終了\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"選択したカラムで並び替え\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] 選択 - [TAB] ソート - [q] 終了\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccessクイックヘルプ\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[↑/↓] スクロール - [q] 終了\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"ディスク上の永続化ストレージ付きのインメモリ。\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"\"\n\"解析に失敗しました - ログ/日付/時刻のフォーマット設定を確認してください\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"設定ファイル内で日付形式がセットされていません。\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"設定ファイル内でログ形式がセットされていません。\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"設定ファイル内で時刻形式がセットされていません。\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"デフォルトの設定ファイルが見つかりません。\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"いずれか指定してください\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"エラーが発生しました\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"解析済み: %1$d 行\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"GitHub上のIssueから問題を報告してください\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"時刻形式を選択します。\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"日付形式を選択します。\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"ログ形式を選択します。\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' パネルは無効化されています\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"入力データが与えられておらず、復元データもありません。\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"ログインスタンスのためのメモリを割り当てられません。\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"与えられたログを見付けられません。\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"詳細はこちら\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"最終更新日時\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"クライアントからのWebSocket接続を待っています\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"次のオプションはコマンドで指定することもできます\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"実行例\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"サーバー統計\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"テーマ\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"ダークグレー\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"ライト\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"ダークブルー\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"ダークパープル\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"パネル\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"ページあたりの表示数\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"テーブル\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"テーブル表示\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"自動非表示設定（小型端末用）\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"画面が小さい場合に自動でテーブルを非表示にする\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"パネルを切り替える\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"レイアウト\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"水平\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"垂直\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"ワイドスクリーン\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"ファイルオプション\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"JSON形式でエクスポート\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"パネルオプション\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"前へ\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"次へ\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"最初へ\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"最後へ\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"グラフ設定\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"グラフ\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"タイプ\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"平滑面グラフ\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"棒グラフ\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"世界地図\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"方位投影／地球儀\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"表示するデータ\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"テーブルカラム\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"0xx 非公式のコード\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx 情報\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx 成功\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx リダイレクション\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx クライアントエラー\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx サーバーエラー\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"0 - Caddy: Unhandled - 構成されていない経路\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - 継続: リクエストヘッダーを受理しました\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"\"\n\"101 - プロトコル変更: HTTPヘッダーでリクエストされたプロトコルに切り替えます\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - 成功: リクエストに成功しました\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - 作成: リクエストが成功して新たなリソースの作成が完了しました\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - 受理: リクエストを受け取ったが処理されていません\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"\"\n\"203 - 認証されていない情報: リクエストを正常に処理しましたが、返される情報は\"\n\"別の送信元から来る可能性があります\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"\"\n\"204 - コンテンツ無し: リクエストを正常に処理しましたが、返すべき情報がありま\"\n\"せん\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - リセット要求: クライアントに対してドキュメントビューのリセットを行うよ\"\n\"う要求しました\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - 部分応答: コンテンツの一部のみレスポンスを返しました\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - 複数ステータス: (WebDAV拡張) RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - 報告済み: (WebDAV拡張) RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"218 - This is fine: Apacheサーバーにおけるその他全てのエラー条件下\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - 選択が必要: リダイレクト先が複数指定されています\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - 恒久的な移動: リクエストされたリソースは完全に移動されました\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - 一時的な移動: リクエストされたリソースは一時的に移動されました\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"\"\n\"303 - 別コンテンツ: リクエストされたリソースは別のURLで提供されています\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - 更新無し: リクエストされたリソースは更新されていません\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"\"\n\"305 - プロキシ使用: リクエストされたリソースはプロキシを使用して取得できます\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - 一時的な移動: リクエストされたリソースは一時的に移動されました\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - 恒久的なリダイレクト\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - 不正なリクエスト: リクエストを処理できません\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - 認証が必要: このリクエストを処理するには認証が必要です\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - 課金が必要なコンテンツ\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - アクセス禁止: このリクエストへのアクセスは禁止されています\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - リソース不明: リクエストされたリソースは存在しません\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"\"\n\"405 - 許可されていない: リクエストされたメソッドでのアクセスは禁止されていま\"\n\"す\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - リクエストを受理できません\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - プロキシ認証が必要です\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - タイムアウト: リクエストがタイムアウトしました\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - 衝突: リクエストが衝突しました\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - 消滅: リクエストされたリソースは完全に削除されました\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Content-Lengthヘッダーが必要です\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - サーバーに与えられた前提条件を満たしていません\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - ペイロードが長すぎます\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - リクエストされたURIが長すぎます\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - サポートされていないメディアタイプ\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - リクエストされたContent-Lengthヘッダーの範囲がリソースより超過していま\"\n\"す\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - 拡張ステータスコードが使えません\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - 私はティーポットです\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"419 - Page Expired: Laravelフレームワークで、CSRFトークンがないとき\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"420 - Method Failure: Springフレームワークでメソッドが失敗したとき\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - 不明なリクエスト\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - (WebDAV拡張) 処理できないエンティティ\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - このリソースはロックされています\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - (WebDAV拡張) 依存関係でエラーが発生しました\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\"426 - アップグレードが必要: プロトコルが古すぎてリクエストを処理できません\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - リクエストを条件付きにする必要があります\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - 過重リクエスト: 制限されたリクエスト数を超えたので処理できません\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\"430 - Request Header Fields Too Large: 特定の時間枠内で、URLがリクエストされ\"\n\"過ぎました\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - HTTPヘッダーが長すぎます\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"440 - Login Time-out: クライアントセッションの期限が切れました\"\n\n#: src/labels.h:526\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"449 - Retry With: サーバーはリクエストを承認できません\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\"450 - Blocked by Windows Parental Controls: Microsoftの拡張コードが示唆されま\"\n\"す\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - 法的理由により利用不可\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (nginx) 接続を遮断しました\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"460 - AWS Elastic Load Balancing: クライアントが接続を閉じました\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\"463 - AWS Elastic Load Balancing: ロードバランサが30以上のIPアドレスを受け取\"\n\"りました\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"464 - AWS Elastic Load Balancing: 非互換なプロトコルのバージョン\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (nginx) HTTPヘッダーが長すぎます\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (nginx) SSLクライアント証明書エラー\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (nginx) クライアントが証明書を提供しませんでした\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (nginx) HTTPリクエストをHTTPSポートに送信しました\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"498 - Invalid Token: 期限切れか別の理由で不当なトークン\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"\"\n\"499 - (nginx) リクエストを処理中にクライアントによって接続を閉じられました\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - 内部サーバーエラー\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - 実装されていません\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"\"\n\"502 - 不正なゲートウェイ: 上位サーバーから不正なレスポンスを受信しました\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - サービス利用不可: サーバーがダウンしました\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"504 - ゲートウェイタイムアウト: 上位サーバーがリクエストを返しません\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTPバージョンがサポートされていません\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"509 - Bandwidth Limit Exceeded: サーバーが大域を超過しました\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Webサーバーが未知のエラーを返しています\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Webサーバーがダウンしています\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - 接続がタイムアウトしました\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Originに到達できません\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - タイムアウトが発生しました\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\"525 - SSL Handshake Failed: CloudflareがSSL/TLSハンドシェイクをネゴシエートで\"\n\"きませんでした\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\"526 - Invalid SSL Certificate: CloudflareがSSL証明書を検証できませんでした\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"527 - Railgun Error: 接続が中断されました\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"529 - Site is overloaded: サイトがリクエストを処理できません\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"530 - Site is frozen: サイトは非活性のため凍結されました\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\"540 - Temporarily Disabled: リクエストされたエンドポイントは一時的に無効に\"\n\"なっています\"\n\n#: src/labels.h:588\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"561 - Unauthorized: 認証に関するエラー\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\"598 - Network read timeout error: 何らかのHTTPプロキシがネットワークの読み取\"\n\"り時の時間切れを発信しています\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\"599 - Network Connect Timeout Error: 何らかのHTTPプロキシで使われているエラー\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"783 - Unexpected Token: リクエストにJSONの構文エラーが含まれます\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"メニュー\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"設定\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"WebSocketの状態：接続済み\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"WebSocketの状態：切断済み\"\n"
  },
  {
    "path": "po/ka.po",
    "content": "# Georgian translation for goaccess.\n# Copyright (C) 2026 goaccess's authors.\n# This file is distributed under the same license as the goaccess package.\n# Ekaterine Papava <papava.e@gtu.ge>, 2026.\n#\nmsgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.9.4\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2025-03-28 18:05-0500\\n\"\n\"PO-Revision-Date: 2026-02-20 14:35+0100\\n\"\n\"Last-Translator: Ekaterine Papava <papava.e@gtu.ge>\\n\"\n\"Language-Team: Georgian <(nothing)>\\n\"\n\"Language: ka\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=UTF-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 3.8\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"en\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"ექსპ.პანელი\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"დახმარება\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"გასვლა\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"სულ\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] აღმ [ ] დაღმ\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] აღმ [x] დაღმ\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[აქტიური პანელი: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q]GoAccess-დან გასვლა\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] დახმარება [Enter] ექსპ. პანელი\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"სამუშაო დაფა\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"სამუშაო დაფა - გაანალიზებული მოთხოვნების შეჯამება\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"გაანალიზებული მოთხოვნების შეჯამება\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Tx. რაოდენობა\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"თარიღი / დრო\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"IP დამთხვ. ამოღ\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"ჩავარდნილი მოთხოვნები\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"ჟურნალის დამუშავების დრო\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"ჟურნალის ზომა\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"ჟურნალის წყარო\"\n\n#: src/labels.h:72 src/labels.h:187\nmsgid \"Referrers\"\nmsgstr \"მიმმართველები\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"მოთხოვნები ჯამში\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"სტატიკური ფაილები\"\n\n#: src/labels.h:75 src/labels.h:159\nmsgid \"Not Found\"\nmsgstr \"ვერ მოიძებნა\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Მოთხოვნილი ფაილები\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"უნიკალური ვიზიტორები\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"სწორი მოთხოვნები\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"მინიშნებები\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:110\nmsgid \"Visitors\"\nmsgstr \"ვიზიტორები\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"ვიზ.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"Avg. T.S.\"\nmsgstr \"საშ. T.S.\"\n\n#: src/labels.h:88\nmsgid \"Cum. T.S.\"\nmsgstr \"კუმ. T.S.\"\n\n#: src/labels.h:89\nmsgid \"Max. T.S.\"\nmsgstr \"მაქს. T.S.\"\n\n#: src/labels.h:90\nmsgid \"Method\"\nmsgstr \"მეთოდი\"\n\n#: src/labels.h:91\nmsgid \"Mtd\"\nmsgstr \"მტდ\"\n\n#: src/labels.h:92\nmsgid \"Protocol\"\nmsgstr \"პროტოკოლი\"\n\n#: src/labels.h:93\nmsgid \"Proto\"\nmsgstr \"პროტო\"\n\n#: src/labels.h:94\nmsgid \"City\"\nmsgstr \"ქალაქი\"\n\n#: src/labels.h:95 src/labels.h:211 src/labels.h:215\nmsgid \"ASN\"\nmsgstr \"ASN\"\n\n#: src/labels.h:96\nmsgid \"Country\"\nmsgstr \"ქვეყანა\"\n\n#: src/labels.h:97\nmsgid \"Hostname\"\nmsgstr \"ჰოსტის სახელი\"\n\n#: src/labels.h:98\nmsgid \"Data\"\nmsgstr \"მონაცემები\"\n\n#: src/labels.h:100\nmsgid \"Hits/Visitors\"\nmsgstr \"დამთხვევები/ვიზიტორები\"\n\n#: src/labels.h:104\nmsgid \"Unique visitors per day\"\nmsgstr \"უნიკალური ვიზიტორები დღეში\"\n\n#: src/labels.h:106\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"უნიკალური ვიზიტორები დღეში - ობობების ჩათვლით\"\n\n#: src/labels.h:108\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"დამთხვევები, რომლებსაც აქვთ იგივე IP, თარიღი და აგენტი, უნიკალურებია.\"\n\n#: src/labels.h:113\nmsgid \"Requested Files (URLs)\"\nmsgstr \"მოთხოვნილი ფაილები (URL-ები)\"\n\n#: src/labels.h:115\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"დამთხვევის მიხედვით დალაგებული ყველაზე ხშირი მოთხოვნები [, avgts, cumts, \"\n\"maxts, mthd, proto]\"\n\n#: src/labels.h:117\nmsgid \"Requests\"\nmsgstr \"მოთხოვნები\"\n\n#: src/labels.h:120 src/labels.h:124\nmsgid \"Static Requests\"\nmsgstr \"სტატიკური მოთხოვნები\"\n\n#: src/labels.h:122\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"დამთხვევის მიხედვით დალაგებული ყველაზე ხშირი სტატიკური მოთხოვნები [, avgts, \"\n\"cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:127\nmsgid \"Time Distribution\"\nmsgstr \"დროის განაწილება\"\n\n#: src/labels.h:129\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"საათებით დალაგებული მონაცემები [, avgts, cumts, maxts]\"\n\n#: src/labels.h:131\nmsgid \"Time\"\nmsgstr \"დრო\"\n\n#: src/labels.h:134 src/labels.h:138\nmsgid \"Virtual Hosts\"\nmsgstr \"ვირტუალური ჰოსტები\"\n\n#: src/labels.h:136 src/labels.h:143 src/labels.h:150\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"მონაცემები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, მაქსდრ]\"\n\n#: src/labels.h:141\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"დაშორებული მომხმარებელი (HTTP ავტორიზაცია)\"\n\n#: src/labels.h:145\nmsgid \"Remote User\"\nmsgstr \"დაშორებული მომხმარებელი\"\n\n#: src/labels.h:148\nmsgid \"The cache status of the object served\"\nmsgstr \"გადაცემული ობიექტის დაკეშვის სტატუსი\"\n\n#: src/labels.h:152\nmsgid \"Cache Status\"\nmsgstr \"კეშის სტატუსი\"\n\n#: src/labels.h:155\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"ვერნაპოვნი URL-ები (404-ები)\"\n\n#: src/labels.h:157\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"ყველაზე ხშირი არნაპოვნი URL-ები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:162\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"ვიზიტორის ჰოსტის სახელები და IP-ები\"\n\n#: src/labels.h:164\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირი ვიზიტორი ჰოსტები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:166\nmsgid \"Hosts\"\nmsgstr \"ჰოსტები\"\n\n#: src/labels.h:169\nmsgid \"Operating Systems\"\nmsgstr \"ოპერაციული სისტემები\"\n\n#: src/labels.h:171\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"ყველაზე ხშირი ოს-ები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, მაქსდრ]\"\n\n#: src/labels.h:173\nmsgid \"OS\"\nmsgstr \"OS\"\n\n#: src/labels.h:176 src/labels.h:180\nmsgid \"Browsers\"\nmsgstr \"ბრაუზერები\"\n\n#: src/labels.h:178\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირი ბრაუზერები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, მაქსდრ]\"\n\n#: src/labels.h:183\nmsgid \"Referrer URLs\"\nmsgstr \"მიმმართველი ბმულები\"\n\n#: src/labels.h:185\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირად მოთხოვნილი მითითებები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:190 src/labels.h:194\nmsgid \"Referring Sites\"\nmsgstr \"მომმართველი საიტები\"\n\n#: src/labels.h:192\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირად მიმთითებელი საიტები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:197\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"საკვანძო ფრაზები Google-ის საძოებო სისტემიდან\"\n\n#: src/labels.h:199\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირად გამოყენებული საკვანძო ფრაზები, დალაგებული დამთხვევით [, \"\n\"საშდრ, კუმდრ, მაქსდრ]\"\n\n#: src/labels.h:201\nmsgid \"Keyphrases\"\nmsgstr \"საკვანძო ფრაზები\"\n\n#: src/labels.h:204 src/labels.h:208\nmsgid \"Geo Location\"\nmsgstr \"გეოლოკაცია\"\n\n#: src/labels.h:206\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"კონტინენტი > ქვეყანა, დალაგებული უნიკალური დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:213\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"ავტონომური სისტემის ნომრები/ორგანიზაციები (ASN-ები)\"\n\n#: src/labels.h:218\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTP სტატუსის კოდები\"\n\n#: src/labels.h:220\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"ყველაზე ხშირი HTTP სტატუსის კოდები, დალაგებული დამთხვევით [, საშდრ, კუმდრ, \"\n\"მაქსდრ]\"\n\n#: src/labels.h:222\nmsgid \"Status Codes\"\nmsgstr \"სტატუსის კოდები\"\n\n#: src/labels.h:225 src/labels.h:229\nmsgid \"MIME Types\"\nmsgstr \"MIME ტიპები\"\n\n#: src/labels.h:227\nmsgid \"File types shipped out\"\nmsgstr \"გაგზავნილი ფაილის ტიპები\"\n\n#: src/labels.h:232\nmsgid \"Encryption settings\"\nmsgstr \"დაშიფვრის პარამეტრები\"\n\n#: src/labels.h:234\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLS-ის ვერსია და არჩეული ალგორითმი\"\n\n#: src/labels.h:236\nmsgid \"TLS Settings\"\nmsgstr \"TLS პარამეტრები\"\n\n#: src/labels.h:240\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] დიდი და პატარა ასოები განსხვავდება\"\n\n#: src/labels.h:242\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] დიდი და პატარა ასოები არ განსხვავდება\"\n\n#: src/labels.h:244\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"\"\n\"რეგგამოსი დაშვებულია - ^g გასაუქმებლად - TAB დიდი და პატარა ასოების გადართვა\"\n\n#: src/labels.h:246\nmsgid \"Find pattern in all views\"\nmsgstr \"ნიმუშის ძებნა ყველა ხედში\"\n\n#: src/labels.h:250\nmsgid \"Log Format Configuration\"\nmsgstr \"ჟურნალის ფორმატის მორგება\"\n\n#: src/labels.h:252\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPACE] გადასართავად - [ENTER] გასაგრძელებლად - [q] გასასვლელად\"\n\n#: src/labels.h:254\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"ჟურნალის ფორმატი - [c] ფორმატის დასამატებლად/ჩასასწორებლად\"\n\n#: src/labels.h:256\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"თარიღის ფორმატი - [d] ფორმატის დასამატებლად/ჩასასწორებლად\"\n\n#: src/labels.h:258\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"დროის ფორმატი - [t] ფორმატის დასამატებლად/ჩასასწორებლად\"\n\n#: src/labels.h:260 src/labels.h:264\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[მაღლა/დაბლა] გადასახვევად - [q] ფანჯრის დასახურად\"\n\n#: src/labels.h:266\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"მომხმარებლის აგენტები %1$s-ისთვის\"\n\n#: src/labels.h:270\nmsgid \"Scheme Configuration\"\nmsgstr \"სქემის კონფიგურაცია\"\n\n#: src/labels.h:272\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] სქემის გამოსაყენებლად - [q]გასასვლელად\"\n\n#: src/labels.h:276\nmsgid \"Sort active module by\"\nmsgstr \"აქტიური მოდულის დალაგების პირობა\"\n\n#: src/labels.h:278\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] მონიშვნა - [TAB] დალაგება - [q]გასვლა\"\n\n#: src/labels.h:282\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess-ის სწრაფი დახმარება\"\n\n#: src/labels.h:284\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[UP/DOWN] გადასახვევად - [q] გასასვლელად\"\n\n#: src/labels.h:288\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"მეხსიერებაში მომუშავე მუდმივი საცავით დისკზე.\"\n\n#: src/labels.h:292\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"ფორმატის შეცდომები - გადაამოწმეთ თქვენი ჟურნალის/თარიღის/დროის ფორმატი\"\n\n#: src/labels.h:294\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"თქვენს .conf ფაილში თარიღის ფორმატი აღმოჩენილი არაა.\"\n\n#: src/labels.h:296\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"თქვენს .conf ფაილში ჟურნალის ფორმატი აღმოჩენილი არაა.\"\n\n#: src/labels.h:298\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"თქვენს .conf ფაილში დროის ფორმატი აღმოჩენილი არაა.\"\n\n#: src/labels.h:300\nmsgid \"No default config file found.\"\nmsgstr \"ნაგულისხმევი კონფიგურაციის ფაილი აღმოჩენილი არაა.\"\n\n#: src/labels.h:302\nmsgid \"You may specify one with\"\nmsgstr \"შეგიძლიათ, მიუთითოთ\"\n\n#: src/labels.h:304\nmsgid \"producing the following errors\"\nmsgstr \"ყრის შემდეგ შეცდომებს\"\n\n#: src/labels.h:306\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"დამუშავებულია %1$d ხაზი\"\n\n#: src/labels.h:308\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"მოგვწერეთ ამის შესახებ GitHub-ზე პრობლემის გახსნით\"\n\n#: src/labels.h:310\nmsgid \"Select a time format.\"\nmsgstr \"აირჩიეთ დროის ფორმატი.\"\n\n#: src/labels.h:312\nmsgid \"Select a date format.\"\nmsgstr \"აირჩიეთ თარიღის ფორმატი.\"\n\n#: src/labels.h:314\nmsgid \"Select a log format.\"\nmsgstr \"აირჩიეთ ჟურნალის ფორმატი.\"\n\n#: src/labels.h:316\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' პანელი გათიშულია\"\n\n#: src/labels.h:318\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"\"\n\"შესაყვანი მონაცემები მოწოდებული არაა და არც აღსადგენი მონაცემები არსებობს.\"\n\n#: src/labels.h:320\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"ჟურნალის გაშვებული ასლისთვის მეხსიერების გამოყოფა შეუძლებელია.\"\n\n#: src/labels.h:322\nmsgid \"Unable to find the given log.\"\nmsgstr \"მითითებული ჟურნალის პოვნა შეუძლებელია.\"\n\n#: src/labels.h:326\nmsgid \"For more details visit\"\nmsgstr \"მეტი დეტალისთვის ეწვიეთ მისამართს\"\n\n#: src/labels.h:328\nmsgid \"Last Updated\"\nmsgstr \"ბოლო განახლება\"\n\n#: src/labels.h:330\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"ვებსოკეტის სერვერი მზადაა ახალი კლიენტის კავშირების მისაღებად\"\n\n#: src/labels.h:333\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"შემდეგი პარამეტრები შეგიძლიათ, გადასცეთ ბრძანებას\"\n\n#: src/labels.h:335\nmsgid \"Examples can be found by running\"\nmsgstr \"მაგალითების პოვნა შეგიძლიათ ბრძანებით\"\n\n#: src/labels.h:338\nmsgid \"Server Statistics\"\nmsgstr \"სერვერის სტატისტიკა\"\n\n#: src/labels.h:340\nmsgid \"Theme\"\nmsgstr \"თემა\"\n\n#: src/labels.h:342\nmsgid \"Dark Gray\"\nmsgstr \"მუქი ნაცრისფერი\"\n\n#: src/labels.h:344\nmsgid \"Bright\"\nmsgstr \"კაშკაშა\"\n\n#: src/labels.h:346\nmsgid \"Dark Blue\"\nmsgstr \"მუქი ლურჯი\"\n\n#: src/labels.h:348\nmsgid \"Dark Purple\"\nmsgstr \"მუქი იისფერი\"\n\n#: src/labels.h:350\nmsgid \"Panels\"\nmsgstr \"პანელები\"\n\n#: src/labels.h:352\nmsgid \"Items per Page\"\nmsgstr \"ელემენტი გვერდზე\"\n\n#: src/labels.h:354\nmsgid \"Tables\"\nmsgstr \"ცხრილები\"\n\n#: src/labels.h:356\nmsgid \"Display Tables\"\nmsgstr \"ცხრილების ჩვენება\"\n\n#: src/labels.h:358\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"ავტოდამალვა პატარა მოწყობილობებზე\"\n\n#: src/labels.h:360\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"ცხრილების ავტომატური დამალვა პატარა მოწყობილობებზე\"\n\n#: src/labels.h:362\nmsgid \"Toggle Panel\"\nmsgstr \"პანელის გადართვა\"\n\n#: src/labels.h:364\nmsgid \"Layout\"\nmsgstr \"განლაგება\"\n\n#: src/labels.h:366\nmsgid \"Horizontal\"\nmsgstr \"ჰორიზონტალური\"\n\n#: src/labels.h:368\nmsgid \"Vertical\"\nmsgstr \"ვერტიკალური\"\n\n#: src/labels.h:370\nmsgid \"WideScreen\"\nmsgstr \"ფართო ეკრანი\"\n\n#: src/labels.h:372\nmsgid \"File Options\"\nmsgstr \"ფაილის მორგება\"\n\n#: src/labels.h:374\nmsgid \"Export as JSON\"\nmsgstr \"გატანა JSON-ში\"\n\n#: src/labels.h:376\nmsgid \"Panel Options\"\nmsgstr \"პანელის მორგება\"\n\n#: src/labels.h:378\nmsgid \"Previous\"\nmsgstr \"წინა\"\n\n#: src/labels.h:380\nmsgid \"Next\"\nmsgstr \"შემდეგი\"\n\n#: src/labels.h:382\nmsgid \"First\"\nmsgstr \"პირველი\"\n\n#: src/labels.h:384\nmsgid \"Last\"\nmsgstr \"ბოლო\"\n\n#: src/labels.h:386\nmsgid \"Chart Options\"\nmsgstr \"დიაგრამის მორგება\"\n\n#: src/labels.h:388\nmsgid \"Chart\"\nmsgstr \"გრაფიკი\"\n\n#: src/labels.h:390\nmsgid \"Type\"\nmsgstr \"ტიპი\"\n\n#: src/labels.h:392\nmsgid \"Area Spline\"\nmsgstr \"არეს სპლაინი\"\n\n#: src/labels.h:394\nmsgid \"Bar\"\nmsgstr \"ზოლი\"\n\n#: src/labels.h:396\nmsgid \"World Map\"\nmsgstr \"მსოფლიო რუკა\"\n\n#: src/labels.h:398\nmsgid \"Azimuthal/Globe\"\nmsgstr \"აზიმუტური/დედამიწა\"\n\n#: src/labels.h:400\nmsgid \"Plot Metric\"\nmsgstr \"საზომი ერთეულები\"\n\n#: src/labels.h:402\nmsgid \"Table Columns\"\nmsgstr \"ცხრილის სვეტები\"\n\n#: src/labels.h:406\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"0xx არაოფიციალური კოდები\"\n\n#: src/labels.h:408\nmsgid \"1xx Informational\"\nmsgstr \"1xx საინფორმაცია\"\n\n#: src/labels.h:410\nmsgid \"2xx Success\"\nmsgstr \"2xx წარმატება\"\n\n#: src/labels.h:412\nmsgid \"3xx Redirection\"\nmsgstr \"3xx გადამისამართება\"\n\n#: src/labels.h:414\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx კლიენტის შეცდომები\"\n\n#: src/labels.h:416\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx სერვერის შეცდომები\"\n\n#: src/labels.h:419\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"0 - Caddy: დაუმუშავებელია - მორგებული მარშრუტების გარეშე\"\n\n#: src/labels.h:421\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - გაგრძელება: სერვერმა მოთხოვნის საწყისი ნაწილი მიიღო\"\n\n#: src/labels.h:423\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - პროტოკოლების გადართვა: კლიენტმა პროტოკოლების გადართვა მოითხოვა\"\n\n#: src/labels.h:425\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: კლიენტის მიერ გაგზავნილი მოთხოვნა წარმატებულია\"\n\n#: src/labels.h:427\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - შეიქმნა: მოთხოვნა აღსრულდა და შეიქმნა\"\n\n#: src/labels.h:429\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - მიღებულია: მოთხოვნა მიღებულია დასამუშავებლად\"\n\n#: src/labels.h:431\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Non-authoritative Information: პასუხი მესამე პირისგან\"\n\n#: src/labels.h:433\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - No Content: მოთხოვნამ შემცველობა არ დააბრუნა\"\n\n#: src/labels.h:435\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"205 - Reset Content: სერვერმა კლიენტს დოკუმენტის ჩამოყრა სთხოვა\"\n\n#: src/labels.h:437\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Partial Content: ნაწილობრივი GET წარმატებულია\"\n\n#: src/labels.h:439\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:441\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Already Reported: WebDAV; RFC 5842\"\n\n#: src/labels.h:443\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"218 - This is fine: Apache servers. ყველაფრის ჩამჭერი შეცდომის პირობა\"\n\n#: src/labels.h:445\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Multiple Choices: ერთზე მეტი არჩევანი რესურსისთვის\"\n\n#: src/labels.h:447\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Moved Permanently: რესურსი სამუდამოდაა გადატანილი\"\n\n#: src/labels.h:449\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - დროებით გადატანილი (გადამისამართება)\"\n\n#: src/labels.h:451\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - See Other Document: პასუხი სხვა ბმულზეა\"\n\n#: src/labels.h:453\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Not Modified: რესურსი არ შეცვლილა\"\n\n#: src/labels.h:455\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"\"\n\"305 - Use Proxy: რესურსთან წვდომა, მხოლოდ, პროქსის გავლითაა შესაძლებელი\"\n\n#: src/labels.h:457\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Temporary Redirect: რესურსი დროებით გადატანილია\"\n\n#: src/labels.h:459\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - მუდმივი გადამისამართება\"\n\n#: src/labels.h:461\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Bad Request: მოთხოვნის სინტაქსი არასწორია\"\n\n#: src/labels.h:463\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Unauthorized: მოთხოვნას მომხმარებლის ავთენტიკაცია სჭირდება\"\n\n#: src/labels.h:465\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - აუცილებელია გადახდა\"\n\n#: src/labels.h:467\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Forbidden: სერვერი უარს აცხადებს, პასუხი გამოაგზავნოს\"\n\n#: src/labels.h:469\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Not Found: მოთხოვნილი რესურსის პოვნა შეუძლებელია\"\n\n#: src/labels.h:471\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Method Not Allowed: მოთხოვნის მეთოდი მხარდაჭერილი არაა\"\n\n#: src/labels.h:473\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - მიუღებელია\"\n\n#: src/labels.h:475\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - აუცილებელია პროქსის ავთენტიკაცია\"\n\n#: src/labels.h:477\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Request Timeout: მოთხოვნისთვის სერვერის მოლოდინის ვადა ამოიწურა\"\n\n#: src/labels.h:479\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflict: კონფლიქტი მოთხოვნაში\"\n\n#: src/labels.h:481\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Gone: მოთხოვნილი რესურსი ხელმისაწვდომი აღარაა\"\n\n#: src/labels.h:483\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Length Required: არასწორი Content-Length\"\n\n#: src/labels.h:485\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Precondition Failed: სერვერი წინასწარ პირობებს არ აკმაყოფილებს\"\n\n#: src/labels.h:487\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - სასარგებლო დატვირთვა მეტისმეტად დიდია\"\n\n#: src/labels.h:489\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - მოთხოვნის-URI მეტისმეტად დიდია\"\n\n#: src/labels.h:491\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Unsupported Media Type: მედიის ტიპი მხარდაჭერილი არაა\"\n\n#: src/labels.h:493\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"416 - Requested Range Not Satisfiable: ამ ნაწილის მიწოდება სეუძლებელია\"\n\n#: src/labels.h:495\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - მოლოდინი ჩავარდა\"\n\n#: src/labels.h:497\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - ჩაიდანი ვარ\"\n\n#: src/labels.h:499\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\"419 - Page Expired: ბიბლიოთეკა Laravel, როცა ტოკენი CSRF აღმოჩენილი არაა\"\n\n#: src/labels.h:501\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"420 - Method Failure: Spring Framework როცა მეთოდი ჩავარდა\"\n\n#: src/labels.h:503\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - არასწორად გადამისამართებული მოთხოვნა\"\n\n#: src/labels.h:505\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - არადამუშავებადი ჩანაწერი სემანტიკური შეცდომების გამო: WebDAV\"\n\n#: src/labels.h:507\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - მოთხოვნილი რესურსი დაბლოკილია\"\n\n#: src/labels.h:509\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - ჩავარდნილი დამოკიდებულება: WebDAV\"\n\n#: src/labels.h:511\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - Upgrade Required: კლიენტი სხვა პროტოკოლზე უნდა გადაერთოს\"\n\n#: src/labels.h:513\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - საჭიროა წინასწარი პირობა\"\n\n#: src/labels.h:515\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"\"\n\"429 - Too Many Requests: მომხმარებელმა მეტისმეტად ბევრი მოთხოვნა გამოაგზავნა\"\n\n#: src/labels.h:517\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\"430 - Request Header Fields Too Large: რაღაც პერიოდის განმავლობაში \"\n\"გამოთხოვილია მეტისმეტად ბევრი ბმული\"\n\n#: src/labels.h:519\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - მოთხოვნის თავსართის ველები მეტისმეტად დიდია\"\n\n#: src/labels.h:521\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"440 - შესვლის დრო ამოიწურა: კლიენტის სესიის ვადა ამოიწურა\"\n\n#: src/labels.h:523\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"449 - Retry With: სერვერი მოთხოვნას ყურადღებას ვერ მიაქცევს\"\n\n#: src/labels.h:525\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\"450 - Blocked by Windows Parental Controls: მითითებულია Microsoft-ის \"\n\"გაფართოების კოდი\"\n\n#: src/labels.h:527\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - ხელმიუწვდომელია იურიდიული მიზეზების გამო\"\n\n#: src/labels.h:529\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) კავშირი დაიხურა თავსართების გაგზავნის გარეშე\"\n\n#: src/labels.h:531\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"460 - AWS Elastic Load Balancing: კლიენტმა კავშირი დახურა \"\n\n#: src/labels.h:533\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\"463 - AWS Elastic Load Balancing: დატვირთვის გამანაწილებელმა 30-ზე მეტი IP \"\n\"მისამართი მიიღო\"\n\n#: src/labels.h:535\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"464 - AWS Elastic Load Balancing: შეუთავსებელი პროტოკოლის ვერსიები\"\n\n#: src/labels.h:537\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) მოთხოვნის თავსართი მეტისმეტად დიდია\"\n\n#: src/labels.h:539\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL კლიენტის სერტიფიკატის შეცდომა\"\n\n#: src/labels.h:541\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) კლიენტს სერტიფიკატი არ მოუწოდებია\"\n\n#: src/labels.h:543\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) გაგზავნილია HTTP მოთხოვნა HTTPS პორტზე\"\n\n#: src/labels.h:545\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"498 - Invalid Token: ვადაამოწურული ან სხვა მიზეზით არასწორი ტოკენი\"\n\n#: src/labels.h:547\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) კლიენტმა კავშირი მოთხოვნის დამუშავებისას დახურა\"\n\n#: src/labels.h:549\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - შიდა სერვერის შეცდომა\"\n\n#: src/labels.h:551\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - განხორციელებული არაა\"\n\n#: src/labels.h:553\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Bad Gateway: აღმავლიდან მიღებული პასუხი არასწორია\"\n\n#: src/labels.h:555\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service Unavailable: ამჟამად სერვერი ხელმისაწვდომი არაა\"\n\n#: src/labels.h:557\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"504 - Gateway Timeout: აღმავალმა სერვერმა მოთხოვნა ვერ გააგზავნა\"\n\n#: src/labels.h:559\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP-ის ვერსია მხარდაჭერილი არაა\"\n\n#: src/labels.h:561\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"509 - Bandwidth Limit Exceeded: სერვერმა გამტარობის ზღვარს გადააჭარბა\"\n\n#: src/labels.h:563\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - ვებსერვერმა უცნობი შეცდომა დააბრუნა\"\n\n#: src/labels.h:565\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - ვებსერვერი გათიშულია\"\n\n#: src/labels.h:567\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - დაკავშირების მოლოდინის ვადა ამოიწურა\"\n\n#: src/labels.h:569\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - წყარო ხელმიუწვდომელია\"\n\n#: src/labels.h:571\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - მოლოდინის ვადა ამოიწურა\"\n\n#: src/labels.h:573\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\"525 - SSL Handshake Failed: Cloudflare-მა SSL/TLS კავშირის დაწყება ვერ \"\n\"მოახერხა\"\n\n#: src/labels.h:575\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\"526 - Invalid SSL Certificate: Cloudflare-მა SSL სერტიფიკატის გადამოწმება \"\n\"ვერ მოახერხა\"\n\n#: src/labels.h:577\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"527 - Railgun Error: კავშირი შეწყდა\"\n\n#: src/labels.h:579\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"529 - Site is overloaded: საიტს მოთხოვნის დამუშავება არ შეუძლია\"\n\n#: src/labels.h:581\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"530 - Site is frozen: საიტი გაიყინა არააქტიურობის გამო\"\n\n#: src/labels.h:583\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"540 - Temporarily Disabled: მოთხოვნილი ბოლოწერტილი დროებით გამორთულია\"\n\n#: src/labels.h:585\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"561 - Unauthorized: შეცდომა ავთენტიკაციის გარშემო\"\n\n#: src/labels.h:587\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\"598 - Network read timeout error: ზოგიერთი HTTP პროქსი ქსელიდან წაკითხვის \"\n\"მოლოდინის ვადაზე იტყობინება\"\n\n#: src/labels.h:589\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\"599 - Network Connect Timeout Error: შეცდომა ზოგიერთი HTTP პროქსიების \"\n\"გამოყენებისას\"\n\n#: src/labels.h:591\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"783 - Unexpected Token: მოთხოვნა JSON-ის სინტაქსის შეცდომას შეიცავს\"\n\n#: src/labels.h:595\nmsgid \"Menu\"\nmsgstr \"მენიუ\"\n\n#: src/labels.h:597\nmsgid \"Settings\"\nmsgstr \"მორგება\"\n\n#: src/labels.h:599\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"ვებსოკეტის სტატუსი: დაკავშირებულია\"\n\n#: src/labels.h:601\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"ვებსოკეტის სტატუსი: გათიშულია\"\n"
  },
  {
    "path": "po/ko.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.6.3\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2022-09-06 21:27+0900\\n\"\n\"Last-Translator: David 창모 Yang <dcyang@users.noreply.github.com>\\n\"\n\"Language-Team: Korean <dcyang@users.noreply.github.com>\\n\"\n\"Language: ko\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"Plural-Forms: nplurals=1; plural=0\\n\"\n\"X-Generator: Gtranslator 40.0\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"ko\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"패널 펼치기\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"도움말\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"종료\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"합계\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] 오름차순 [ ] 내림차순\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] 오름차순 [x] 내림차순\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[표시 중인 패널: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] GoAccess 종료\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] 도움말 [Enter] 패널 펼치기\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"대시보드\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"대시보드 - 기록 분석 개요\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"기록 분석 개요\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"전송량\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"날짜/시간\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"제외된 IP 방문\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"무효 요청 수\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"로그 분석 시간\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"로그 용량\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"로그 출처\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"참조자 수\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"요청 수 합계\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"정적 파일 수\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"찾을 수 없음\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"요청된 파일 수\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"순 방문자\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"유효 요청 수\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"방문 수\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"방문자 수\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"방문자 수\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"평균 처리시간\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"누적 처리시간\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"최대 처리시간\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"접속 방법\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"접속 방법\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"프로토콜\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"프로토콜\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"도시\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"국가\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"호스트명\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"데이터\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"방문 수/방문자 수\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"일일 순 방문자\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"일일 순 방문자 - 크롤러 포함\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"동일한 IP주소, 날짜, 에이전트를 가진 방문은 순 방문으로 간주됩니다.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"요청된 파일 (URL)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"방문 수 순으로 정렬한 요청 수 [, 평균 처리시간, 누적 처리시간, 최대 처리시\"\n\"간, 접속 방법, 프로토콜]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"요청 수\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"정적 파일 요청 수\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"방문 수 순으로 정렬한 정적 파일 요청 수 [, 평균 처리시간, 누적 처리시간, 최\"\n\"대 처리시간, 접속 방법, 프로토콜]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"시간 분포\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"시간별로 정렬한 데이터 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"시간\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"가상 호스트\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 데이터 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"원격 사용자 (HTTP 인증)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"원격 사용자\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"로드되는 개체의 캐시 상태\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"캐시 상태\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"찾을 수 없는 URL (404)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"방문 수로 정렬한 찾을 수 없는 URL [, 평균 처리시간, 누적 처리시간, 최대 처리\"\n\"시간, 접속 방법, 프로토콜]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"방문자 호스트명 및 IP\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 방문자 호스트 [, 평균 처리시간, 누적 처리시간, 최대 처리시\"\n\"간]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"호스트명\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"운영체제\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 운영체제 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"OS\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"브라우저\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 브라우저 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"참조자 URL\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 요청 참조자 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"출발 사이트\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 출발 사이트 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"구글로 검색된 관건문구\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 관건문구 [, 평균 처리시간, 누적 처리시간, 최대 처리시간]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"관건문구\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"지리적 위치\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"순 방문 수로 정렬한 대륙 > 국가 [, 평균 처리시간, 누적 처리시간, 최대 처리시\"\n\"간]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTP 상태 코드\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"방문 수로 정렬한 HTTP 상태 코드 [, 평균 처리시간, 누적 처리시간, 최대 처리시\"\n\"간]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"상태 코드\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME 유형\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"로드된 파일 유형\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"암호화 설정사항\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLS 버전 및 선택한 알고리즘\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"TLS 설정사항\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] 대소문자 구분\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] 대소문자 구분\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"정규표현식 허용 - 취소하려면 ^g - 대소문자 전환은 TAB\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"모든 보기에서 패턴을 찾기\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"로그 형식 구성\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"토글(똑딱)은 [SPACE] - 진행은 [ENTER] - 종료는 [q]\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"로그 형식 - 형식 추가/편집은 [c]\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"날짜 형식 - 형식 추가/편집은 [d]\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"시간 형식 - 형식 추가/편집은 [t]\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"스크롤은 [↑/↓] - 창 닫기는 [q]\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"%1$s 의 사용자 에이전트\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"스킴 구성\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"스킴을 사용하려면 [ENTER] - [q] 종료\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"활성화된 모듈의 정렬 기준\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] 선택 - [TAB] 정렬 - [q] 종료\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess 빠른 도움말\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"스크롤은 [↑/↓] - 종료는 [q]\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"디스크상의 지속적 저장공간과 함께 메모리 기억.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"형식 오류 - 로그/날짜/시간 형식을 확인하세요\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"conf 파일에 날짜 형식이 발견되지 않았습니다.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"conf 파일에 로그 형식이 발견되지 않았습니다.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"conf 파일에 시간 형식이 발견되지 않았습니다.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"기본 제공 config 파일을 찾을 수 없습니다.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"별도로 지정하시려면\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"다음과 같은 오류 메시지 발생\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"%1$d 개의 행을 식별\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"GitHub에서 Issue를 열어 신고해 주세요\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"시간 형식을 선택하세요.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"날짜 형식을 선택하세요.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"로그 형식을 선택하세요.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' 패널은 비활성 상태입니다\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"입력 데이터가 주어지지 않았고 복원할 데이터도 없음\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"자세한 사항은 다음을 방문하세요\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"최근 업데이트\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket 서버가 새로운 클라이언트 접속을 받을 준비가 되었습니다\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"명령어에 다음과 같은 옵션을 추가할 수 있습니다\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"다음을 실행하여 예시를 볼 수 있습니다\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"서버 통계\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"테마\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"짙은 회색\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"밝은 색\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"짙은 파란색\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"짙은 보라색\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"패널\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"페이지에 표시할 항목 수\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"표\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"표 표시\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"소형 기기에서는 자동 숨김\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"작은 화면의 기기에서는 표를 자동으로 숨깁니다\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"패널 토글\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"레이아웃\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"가로\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"세로\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"와이드스크린\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"파일 옵션\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"JSON 형태로 내보내기\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"패널 옵션\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"이전\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"다음\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"처음\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"마지막\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"도표 옵션\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"도표\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"유형\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"활면곡선\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"막대그래프\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"표시할 데이터\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"표의 열\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx 참고사항\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx 성공\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx 넘겨주기\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx 클라이언트 오류\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx 서버 오류\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"\"\n\"100 - 계속: 서버는 요청의 첫 번째 부분을 받았으며 나머지를 기다리고 있음\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - 프로토콜 전환: 클라이언트가 서버에 프로토콜 전환을 요청\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - 성공: 요청이 제대로 처리되었음\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - 작성됨: 성공적으로 요청되었으며 서버가 새 리소스를 작성함\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - 허용됨: 서버가 요청을 접수했지만 아직 처리하지 않았음\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - 신뢰할 수 없는 정보: 제3자에게서 온 담신\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - 내용 없음: 요청이 공백의 데이터를 반환하였음\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"205 - 내용 재설정: 서버가 클라이언트에게 문서를 재설정할 것을 요청함\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - 부분적 내용: GET 요청의 일부만 성공적으로 처리됨\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - 다중 상태: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - 이미 보고됨: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - 여러 선택지: 리소스가 실행할 수 있는 옵션이 다수 있음\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - 영구 이동: 리소스가 영구적으로 이동함\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - 임시 이동: (넘겨주기)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - 다른 문서 조회: 답신이 다른 URI에 존재함\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - 수정 안함: 리소스가 수정되지 않았음\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - 프록시 이용: 프록시를 통해서만 접근 가능\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - 임시적 넘겨주기: 리소스가 임시적으로 이동함\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - 영구적 넘겨주기\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - 잘못된 요청: 요청의 구문이 잘못됨\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - 권한 없음: 요청에 사용자 인증이 필요함\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - 결제 필요\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - 금지됨: 서버가 답신을 거부함\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - 찾을 수 없음: 요청한 리소스가 발견되지 않음\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - 허용되지 않는 메소드: 요청의 메소드가 지원되지 않음\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - 허용되지 않음\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - 프록시 인증 필요\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - 요청 시간초과: 서버의 요청 대기 시간이 초과됨\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - 충돌: 요청에 충돌 사항이 포함됨\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - 사라짐: 요청한 리소스가 삭제됨\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - 길이 필요: 유효하지 않은 내용의 길이\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - 사전조건 실패: 요청된 사전조건을 서버가 만족시키지 않음\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - 요청의 본문이 너무 큼\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - 요청의 URI가 너무 긺\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - 지원되지 않는 미디어 유형: 미디어 유형이 지원되지 않음\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - 처리할 수 없는 요청범위: 서버가 제공할 수 있는 범위를 넘어선 요청\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - 예상 실패\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - 저는 주전자인데요\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - 오도된 요청\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - 구문 오류로 인해 처리할 수 없는 엔티티: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - 접근하려는 리소스가 잠겨 있음\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - 의존사항 실패: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - 업그레이드 필요: 클라이언트는 다른 프로토콜을 이용해야 함\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - 전제조건 필요\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - 요청 과다: 사용자가 너무 많은 요청을 보냄\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - 요청 헤더란이 너무 큼\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"408 - 요청 시간초과: 서버의 요청 대기 시간이 초과됨\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - 법적인 이유로 인해 이용 불가\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) 헤더를 보내지 않고 연결이 끊어짐\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) 요청 헤더가 너무 큼\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL 클라이언트 인증서 오류\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) 클라이언트가 인증서를 제공하지 않음\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP 요청이 HTTPS 포트로 보내짐\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) 요청을 처리하는 도중 클라이언트가 연결을 해제함\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - 내부 서버 오류\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - 구현되지 않음\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - 불량 게이트웨이: 상위 서버에서 잘못된 응답을 받음\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - 서비스 이용 불가: 서버를 현재 이용할 수 없음\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"504 - 게이트웨이 시간초과: 상위 서버가 요청을 보내는데 실패함\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP 버전이 지원되지 않음\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - 웹서버가 알 수 없는 오류를 반환함\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - 웹서버 다운\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - 연결 시간초과\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - 요청의 근원에 도달할 수 없음\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - 시간초과 발생\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - 권한 없음: 요청에 사용자 인증이 필요함\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\n#, fuzzy\nmsgid \"Settings\"\nmsgstr \"TLS 설정사항\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"참조자 수\"\n"
  },
  {
    "path": "po/pt_BR.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: Goaccess\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2019-04-25 20:34-0300\\n\"\n\"Last-Translator: Alan Placidina Maria <alanplacidina@gmail.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: pt_BR\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 1.5.4\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"pt-BR\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Exp. Panel\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Ajuda\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Sair\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Total\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ASC [ ] DESC\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ASC [x] DESC\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Painel Ativo: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q]Sair GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Ajuda [Enter] Exp. Panel\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Painel de Controle\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Painel de Controle - Análise geral das requisições\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Análise geral das requisições\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Tx. Total\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Data/Hora\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Accesos IP Excl.\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Req. Inválidas\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Tamanho do Log\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Origem do Log\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Referenciadores\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Requisições\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Arquivos Estáticos\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Não Encontrado\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Req. Arquivos\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Visitantes Únicos\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Req. Válidas\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Requisições\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Visitantes\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Vis.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Méd. T.S.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Cum. T.S.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Máx. T.S.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Método\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Mtd\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protocolo\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Proto\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Cidade\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Pais\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Hostname\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Dados\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Requisições/Visitas\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Visitantes únicos por dia\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Visitantes únicos por dia\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"Requisições com o mesmo IP, data e agente são uma visita única.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Requisições\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Requisições ordenadas por requisições [, avgts, cumts, maxts, mthd, proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Requisições\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Requisições Estáticas\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Requisições estáticas ordenadas por requisições [, avgts, cumts, maxts, \"\n\"mthd, proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Requisições Por Hora\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Dados ordenados por hora [, avgts, cumts, maxts]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Hora\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Hosts Virtuais\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Dados ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Usuário Remoto (Autenticação HTTP)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Usuário Remoto\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"URLs Não Encontradas (404)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"URLs não encontradas ordenadas por requisições [, avgts, cumts, maxts, mthd, \"\n\"proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Endereços IPv4\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Hosts de visitantes ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Hosts\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Sistemas Operacionais\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Sistemas Operacionais ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"SO\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Navegadores\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Navegadores ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"URLs Referenciadas\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Requisições referenciadas ordenadas por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Sites Referenciados\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Sites referenciados ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Mecanismo de pesquisa do Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Frases-chave de busca ordenadas por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Frases-chave\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Geo Localização\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Continente/Pais ordenado por requisições únicas [, avgts, cumts, maxts]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Codigos de Status HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Codigos de Status HTTP ordenados por requisições [, avgts, cumts, maxts]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Codigos de Status\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] distinguir maiúsculas\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] distinguir maiúsculas\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Regex Permitidos - ^g para cancelar - TAB mudar caso\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Encontrar padrão em todas as vistas\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Configuração do Formato de Log\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPACE] para alternar - [ENTER] para prosseguir - [q] para sair\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Formato de Log - [c] para adicionar/editar formato\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Formato da Data - [d] para adicionar/editar formato\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Formato da Hora - [t] para adicionar/editar formato\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[UP/DOWN] para rolar - [q] para fechar a janela\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"Agentes de Usuário para %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Configuração de Esquema\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] para usar esquema - [q]Sair\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Ordenar modulo ativo por\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] selecionar - [TAB] ordenar - [q]Sair\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"Ajuda Rápida de GoAccess\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[UP/DOWN] para rolar - [q] para sair\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Formato de Erros - Verifique seu formato de log/data/hora\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Nenhum formato de data encontrado no seu arquivo de configuração\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Nenhum formato de log encontrado no seu arquivo de configuração\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Formato de hora não foi encontrado no seu arquivo de configuração\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Nenhum arquivo de configuração padrão foi encontrado.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Você pode especificar uma largura\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"produzindo os seguintes erros\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Analizadas %1$d linhas\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Por favor, informe abrindo um problema no GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Selecione um formato de hora.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Selecione um formato de data.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Selecione um formato de log.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' painel está desativado\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Para mais detalhes visite\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Última atualização\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"Servidor WebSocket pronto para aceitar novas conexões de clientes\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"As seguintes opções também podem ser fornecidas para o comando\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Exemplos podem ser encontrados executando\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Estatísticas do servidor\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Tema\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Cinza Escuro\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Claro\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Azul Escuro\"\n\n#: src/labels.h:351\n#, fuzzy\nmsgid \"Dark Purple\"\nmsgstr \"Roxo Escuro\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Painéis\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Itens por página\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tabelas\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Mostrar Tabelas\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Ocultar em Dispositivos Pequenos\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Ocultar tabelas em dispositivos pequenos\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Layout\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Horizontal\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Vertical\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Opções de Arquivo\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Exportar como JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Opções do Painel\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Anterior\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Próximo\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Primeiro\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Último\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Opções de Gráfico\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Gráfico\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Tipo\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Área Spline\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Barra\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Métrica de Plotagem\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Colunas da Tabela\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Informativo\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Exito\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Redirecionamento\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Erros do cliente\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Erros do servidor\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Continuar: o servidor recebeu a parte inicial da requisição\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - Protocolos de comutação: cliente pediu para alternar protocolos\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: A requisição feita pelo cliente foi bem-sucedida\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Criado: A requisição foi concluída e criada\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Aceito: A requisição foi aceita para processar\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Informações não autorizadas: resposta de terceiros\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - Nenhum conteúdo: A requisição não retornou nenhum conteúdo\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - Redefinir conteúdo: O servidor pediu ao cliente para redefinir o \"\n\"documento\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Conteúdo Parcial: O GET parcial foi bem-sucedido\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Mútiplos-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Já Relatado: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Múltiplas Opções: Múltiplas alternativas para o recurso\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Movido Permanentemente: Recurso foi movido permanentemente\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Movido Temporariamente (redirecionar)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - Consulte Outro Documento: A resposta está em uma URI diferente\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Não Modificado: O recurso não foi modificado\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Usar Proxy: Só pode ser acessado através do proxy\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Redirecionamento Temporário: Recurso temporariamente movido\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 - Pagamento Exigido\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Solicitação Incorreta: A sintaxe da solicitação é inválida\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Não Autorizado: Solicitação precisa de autenticação de usuário\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Pagamento Exigido\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Proibido: Servidor está se recusando a responder\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Não Encontrado: Recurso solicitado não pôde ser encontrado\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Método Não Permitido: Método de solicitação não suportado\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Não Aceitável\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Autenticação de Proxy Necessária\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"\"\n\"408 - Tempo Limite da Solicitação: O servidor expirou aguardando a \"\n\"solicitação\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflito: Conflito no pedido\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Foi: Recurso solicitado não está mais disponível\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Comprimento Necessário: Comprimento de conteúdo inválido\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"\"\n\"412 - Falha na Pré-Condição: O servidor não atende às condições prévias\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Payload Muito Grande\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Requisição-URI muito longa\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Tipo de Mídia Sem Suporte: Tipo de mídia não é suportado\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - Intervalo da Requisição Não Satisfatório: Não é possível fornecer essa \"\n\"parte\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Falha na Expectativa\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Requisição Misdirected\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Entidade Não Processável devido a erros semânticos: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - O recurso que está sendo acessado está bloqueado\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Falha na Dependência: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"\"\n\"426 - Atualização Necessária: O cliente deve alternar para um protocolo \"\n\"diferente\"\n\n#: src/labels.h:516\n#, fuzzy\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - Pré-Requisito Obrigatório\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"\"\n\"429 - Requisições Demasiadas: O utilizador enviou requisições demasiadamente\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\n#, fuzzy\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Campos de Cabeçalho de requisição muito grande\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"\"\n\"408 - Tempo Limite da Solicitação: O servidor expirou aguardando a \"\n\"solicitação\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Indisponível Por Razões Legais\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Conexão fechada sem enviar cabeçalhos\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Cabeçalho da Requisição Muito Grande\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) Erro de certificado de cliente SSL\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) O cliente não forneceu certificado\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) Requisição HTTP enviada para a porta HTTPS\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"\"\n\"499 - (Nginx) Conexão fechada pelo cliente durante o processamento da \"\n\"requisição\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Error Interno do Servidor\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Não Implementado\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Gateway Inválido: Recebeu uma resposta inválida do upstream\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Serviço Indisponível: O servidor está indisponível no momento\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"504 - Gateway timeout: O servidor upstream falhou ao enviar pedido\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - Versão HTTP Não Suportada\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Servidor Web está retornando um erro desconhecido\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Servidor Web está offline\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - A conexão expirou\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - A origem está inacessível\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - Ocorreu tempo limite\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - Não Autorizado: Solicitação precisa de autenticação de usuário\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Referenciadores\"\n"
  },
  {
    "path": "po/ru.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.5.6\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2022-04-21 10:17+0300\\n\"\n\"Last-Translator: Artyom Karlov <artyom.karlov@gmail.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: ru\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 2.3.1\\n\"\n\"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && \"\n\"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"ru\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Разв. панель\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Помощь\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Выход\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Всего\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ВОЗР [ ] УБЫВ\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ВОЗР [x] УБЫВ\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Активная панель: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] Выйти из GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Помощь [Enter] Разв. панель\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Дашборд\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Дашборд - Проанализированные запросы\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Проанализированные запросы\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Исх. трафик\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Дата/время\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Хитов с искл. IP\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Неудачных запросов\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"Время парсинга лога\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Размер лога\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Источник лога\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Ссыл. страниц\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Всего запросов\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Статических файлов\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Не найдено\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Запрошенных файлов\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Уникальных посетителей\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Валидных запросов\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Хиты\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"х%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Посетители\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Пос.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"п%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Ср. в. о.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Общ. в.о.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Макс. в.о.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Метод\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Мтд\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Протокол\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Прот.\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Город\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Страна\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Имя хоста\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Данные\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Хиты/посетители\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Уникальные посетители по дням\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Уникальные посетители по дням - Включая пауков\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\"Хиты, имеющие одинаковые IP, дату и юзер-агента, считаются уникальным \"\n\"посещением.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Запрошенные файлы (URL'ы)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Топ запросов, отсортированных по хитам [, ср., общ, макс. вр. обсл., методу, \"\n\"протоколу]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Запросы\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Статические запросы\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Топ статических запросов, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл., методу, протоколу]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Распределение по времени\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Данные, отсортированные по часам [, ср., общ, макс. вр. обсл.]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Время\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Виртуальные хосты\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Данные, отсортированные по хитам [, ср., общ, макс. вр. обсл.]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Удалённый пользователь (HTTP-аутентификация)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Удалённый пользователь\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"Статус кеша обслуживаемого объекта\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Статус кеша\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"Ненайденные URL'ы (404-е)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Топ ненайденных URL'ов, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл., методу, протоколу]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Имена хостов и IP посетителей\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ хостов посетителей, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл.]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Хосты\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Операционные системы\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ операционных систем, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл.]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"ОС\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Браузеры\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Топ браузеров, отсортированных по хитам [, ср., общ, макс. вр. обсл.]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"Ссылающиеся страницы\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ ссылающихся страниц, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл.]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Ссылающиеся сайты\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ ссылающихся сайтов, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл.]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Ключевые слова из поисковой системы Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ ключевых слов, отсортированных по хитам [, ср., общ, макс. вр. обсл.]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Ключевые слова\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Географическое расположение\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Континенты > страны, отсортированные по уникальным хитам [, ср., общ, макс. \"\n\"вр. обсл.]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Коды ответов HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ кодов ответов HTTP, отсортированных по хитам [, ср., общ, макс. вр. \"\n\"обсл.]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Коды ответов\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME-типы\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"Типы отправленных файлов\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"Настройки шифрования\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"Версия TLS и выбранный алгоритм\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"Настройки TLS\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] учитывать регистр\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] учитывать регистр\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Разрешены рег. выражения - ^g отмена - TAB учёт регистра\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Поиск шаблона во всех панелях\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Настройка формата лога\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[ПРОБЕЛ] переключение - [ENTER] обработать - [q] выйти\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Формат лога - [c] добавить/изменить формат\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Формат даты - [d] добавить/изменить формат\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Формат времени - [t] добавить/изменить формат\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[ВВЕРХ/ВНИЗ] прокрутка - [q] закрыть окно\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"Юзер-агенты для %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Настройка схемы\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] использовать схему - [q] выйти\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Сортировка активного модуля\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] выбрать - [TAB] порядок - [q] выйти\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"Быстрая помощь по GoAccess\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[ВВЕРХ/ВНИЗ] прокрутка - [q] выйти\"\n\n#: src/labels.h:289\n#, fuzzy\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"В памяти с хранением на диске.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Ошибки формата - Проверьте ваш формат лога/даты/времени\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Формат даты в вашей конфигурационном файле не найден.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Формат лога в вашем конфигурационном файле не найден.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Формат времени в вашем конфигурационном файле не найден.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Стандартный конфигурационный файл не найден.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Вы можете задать его с помощью\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"приводит к следующим ошибкам\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Обработано %1$d строк\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Пожалуйста, сообщите об этом, открыв issue на GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Выберите формат времени.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Выберите формат даты.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Выберите формат лога.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"Панель '%1$s' отключена\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"Не предоставлено ни входных данных, ни данных для восстановления.\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Подробности по ссылке\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Последнее обновление\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket-сервер готов к приёму новых соединений\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Следующие опции также могут использоваться с командой\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Примеры можно найти, запустив\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Статистика сервера\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Тема\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Тёмно-серая\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Светлая\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Тёмно-синяя\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"Тёмно-фиолетовая\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Панели\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Элементов на странице\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Таблицы\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Показывать таблицы\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Автоскрытие на маленьких устройствах\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Автоматически скрывать таблицы на устройствах с маленькими экранами\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"Переключение панели\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Расположение\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Горизонтальное\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Вертикальное\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Широкоэкранное\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Файловые опции\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Экспорт в JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Настройки панели\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Предыдущая\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Следующая\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Первая\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Последняя\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Настройки диаграммы\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Диаграмма\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Тип\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Сглаженные области\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Столбцы\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Единицы измерения\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Колонки таблицы\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Информационные\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Успешные\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Перенаправления\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Ошибки клиента\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Ошибки сервера\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Continue: Сервер получил начальную часть запроса\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - Switching Protocols: Клиент запросил переключение протокола\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: Запрос клиента выполнен успешно\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Created: Запрос клиента выполнен и создан новый ресурс\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Accepted: Запрос принят на обработку\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Non-authoritative Information: Ответ не из первичного источника\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - No Content: Запрос не вернул никакого контента\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"205 - Reset Content: Сервер попросил клиента сбросить документ\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Partial Content: Частичный GET-запрос выполнен успешно\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Already Reported: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"\"\n\"300 - Multiple Choices: Ресурс имеет несколько вариантов предоставления\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Moved Permanently: Ресурс перемещён на постоянной основе\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Moved Temporarily (временный редирект)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - See Other Document: Ответ находится по другому URI\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Not Modified: Ресурс не изменялся\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Use Proxy: Доступ только через прокси\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Temporary Redirect: Ресурс временно перемещён\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 - Payment Required\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Bad Request: Неверный синтаксис запроса\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Unauthorized: Запрос требует аутентификации\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Payment Required\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Forbidden: Сервер отказался предоставить ответ\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Not Found: Запрошенный ресурс не найден\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Method Not Allowed: Метод запроса не поддерживается\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Not Acceptable\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Proxy Authentication Required\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Request Timeout: Сервер не дождался запроса\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflict: Конфликтный запрос\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Gone: Запрошенный ресурс больше недоступен\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Length Required: Неверный Content-Length\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Precondition Failed: Сервер не выполнил предварительные условия\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Payload Too Large\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Request-URI Too Long\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Unsupported Media Type: Тип медиа не поддерживается\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"416 - Requested Range Not Satisfiable: Часть не может быть доставлена\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Expectation Failed\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - I’m a teapot\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Misdirected Request\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - The resource that is being accessed is locked\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Failed Dependency: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - Upgrade Required: Клиент должен переключить протокол\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - Precondition Required\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - Too Many Requests: Клиент отправил слишком много запросов\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Request Header Fields Too Large\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"408 - Request Timeout: Сервер не дождался запроса\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Unavailable For Legal Reasons\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Connection closed without sending any headers\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Request Header Too Large\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL client certificate error\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Client didn't provide certificate\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP request sent to HTTPS port\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) Connection closed by client while processing request\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Internal Server Error\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Not Implemented\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"\"\n\"502 - Bad Gateway: Сервер, действующий как шлюз, получил недопустимый ответ\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service Unavailable: Сервер недоступен\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Gateway Timeout: Сервер, действующий как шлюз, не дождался ответа\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP Version Not Supported\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Web server is returning an unknown error\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Web server is down\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Connection timed out\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Origin is unreachable\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - A timeout occurred\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - Unauthorized: Запрос требует аутентификации\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\n#, fuzzy\nmsgid \"Settings\"\nmsgstr \"Настройки TLS\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Ссыл. страниц\"\n"
  },
  {
    "path": "po/sv.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.6\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2018-12-13 22:48-0600\\n\"\n\"Last-Translator: Anders Johansson <johansson@aljmedia.se>\\n\"\n\"Language-Team: none\\n\"\n\"Language: sv\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"Plural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"sv\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Exp. Panel\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Hjälp\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Avsluta\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Totalt\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] STIGANDE [ ] FALLANDE\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] STIGANDE [x] FALLANDE\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Aktiv panel: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q]Avsluta GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Hjälp [Enter] Exp. Panel\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Dashboard\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Dashboard - generellt analyserade förfrågningar\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Generellt Analyserade förfrågningar\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Skickad mängd\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Datum/Tid\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Exkl. IP-träffar\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Misslyckade förfrågningar\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"Analystid av loggar\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Loggstorlek\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Loggkälla\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Hänvisningar\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Total antal förfrågningar\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Statiska filer\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Hittades inte\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Begärda filer\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Unika besökare\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Gilltiga förfrågningar\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Träffar\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"h%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Besökare\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Besök.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"v%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Genomsn. tid\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Kum. tid\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Max. tid\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Metod\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Mån till datum\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Protokoll\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Proto\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Stad\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"ASN\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Land\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Värdnamn\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Data\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Träffar/Besökare\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Unika besökare per dag\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Unika besökare per dag  - inkl. nätspindlar\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"Träffar med samma IP, datum och agent är unika besökare\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Begärda filer (URLer)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Flest förfrågingar sorterade i träffar [, genomst. tid, kum. tid, max. tid, \"\n\"mån-till-dag, proto]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Uppslagningar\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Statiska förfrågningar\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Toppförfrågningar sorterade i trufar [, genomst. tid, kum. tid, max. tid, \"\n\"mån-till-dag, proto]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Tidsfördelning\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Data sorterade i timmar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Tid\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Virtuella värdar\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Data sorterat i träffar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Fjärranvändare (HTTP-autentisering)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Fjärranvändare\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"Cachestatus för det visade objektet\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Cachestatus\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"Hittar inte URL:en (404)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Flest ej hittade URL:er sorterade i träffar [, genomst. tid, kum. tid, max. \"\n\"tid, mån-till-dag, proto]proto]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Besökares Värdnamn och IP:s\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest besökares värdnamn sorterade i träffar [, genomst. tid, kum. tid, max. \"\n\"tid]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Värdar\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Operativsystem\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest operativsystem sorterade i träffar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"OS\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Webbläsare\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Vanligast webbläsare sorterade i träffar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:184\nmsgid \"Referrer URLs\"\nmsgstr \"Hänvisande URL:er\"\n\n#: src/labels.h:186\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest Hänvisningsförfrågningar sorterade i träffar [, genomst. tid, kum. \"\n\"tid, max. tid]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Hänvisade sidor\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest hänvisade sidor sorterade i träffar [, genomst. tid, kum. tid, max. \"\n\"tid]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Nyckelord från Googles sökmotor\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest nyckelord sorterade i träffar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Nyckelord\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Geografisk plats\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Kontinent > Land sorterad i unika träffar [, genomst. tid, kum. tid, max. \"\n\"tid]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"Autonoma systemnummer/organisationer (ASN)\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTP Statuskod\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Flest HTTP Statuskod sorterade i träffar [, genomst. tid, kum. tid, max. tid]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Statuskoder\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME-typer\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"Filtyper skickas ut\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"Krypteringsinställningar\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLS-version och plockad algoritm\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"TLS-inställningar\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] skiftlägeskänsliga\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] skiftlägeskänsliga\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Regex tillåtet - ^ g för att avbryta - TAB-växla\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Hitta mönster i alla vyer\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Loggformat konfiguration\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"\"\n\"[SPACE] för att växla - [ENTER] för att fortsätta - [q] för att avsluta\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Logformat - [c] för att lägga till / redigera format\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Datumformat - [d] för att lägga till / redigera format\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Tidsformat - [t] för att lägga till / redigera format\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[UPP / NER] för att bläddra - [q] för att stänga fönstret\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"Användaragenter %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Schemakonfiguration\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] för att använda schema - [q]avsluta\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Sortera aktiv modul med\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] välj - [TAB] sortera - [q] avsluta\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess snabbhjälp\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[UP / DOWN] för att bläddra - [q] för att avsluta\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"In-Memory med On-Disk persistent lagring.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Fel format - Kontrollera din logg /datum/tidformat\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Inget datumformat hittades på din konfigurationsfil.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Inget loggformat hittades på din konfigurationsfil.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Inget tidsformat hittades i din konfigurationfil.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Ingen standard konfiguationsfil hittades.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Du kan ange en med\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"producerar följande fel\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Analyserade %1$d linjer\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Var god rapportera det genom att öppna ett problem på GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Välj ett tidsformat.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Välj ett datumformat.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Välj ett loggformat.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"’%1$s’ panelen är inaktiverad\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"Ingen ingångsdata tillhandahölls eller det finns data att återställa.\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"Det gick inte att allokera minne för en logginstans.\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"Det gick inte att hitta den angivna loggen.\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"För mer information besök\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Senast uppdaterad\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket-server redo att acceptera nya klientanslutningar\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Följande alternativ kan också levereras till kommandot\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Exempel kan hittas genom att köra\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Serverstatistik\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Tema\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Mörkgrå\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Ljus\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Mörkblå\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"Mörklila\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Paneler\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Objekt per sida\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Tabeller\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Skärmtabeller\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Automatisk dölj på små enheter\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Dölj automatiskt tabeller på små skärm enheter\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"Växla panel\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Layout\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Horisontell\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Vertikal\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"WideScreen\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Filalternativ\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Exportera som JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Panelalternativ\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Föregående\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Nästa\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Första\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Sista\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Diagramalternativ\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Diagram\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Typ\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Kurva\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Stapel\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Plotmetrisk\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Tabellkolumn\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"0xx Inofficiella koder\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Informativ\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Success\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Omdirigering\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Klientel\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Serverfel\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"0 - Caddy: Ohanterad - Inga konfigurerade rutter\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Fortsätt: Servern mottog den första delen av begäran\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - Växlingsprotokoll: Klienten bad om att byta protokoll\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: Förfrågan som skickades av klienten lyckades\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Skapad: Förfrågan har uppfyllts och skapats\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Godkänd: Förfrågan har godkänts för behandling\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Ej auktoritativ information: Svar från en tredje part\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - Inget innehåll: Förfrågan returnerade inte något innehåll\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"\"\n\"205 - Återställ innehåll: Server bad klienten om att återställa dokumentet\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Delvis innehåll: Den partiella GET har blivit framgångsrik\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Redan rapporterad: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"218 - Det är lugnt: Apache-servrar. Ett generellt felvillkor\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Flera val: Multipla alternativ för resursen\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Flyttade permanent: Resursen har flyttats permanent\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Flyttade tillfälligt (omdirigera)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - Se annat dokument: Svaret finns på en annan URI\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Ej modifierad: Resursen har inte ändrats\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Använd proxy: Kan endast nås via proxy\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Tillfällig omdirigering: Resurs flyttas tillfälligt\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - Permanent omdirigering\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Dålig begäran: Syntaxen för förfrågan är ogiltig\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Ej auktoriserad: Begäran behöver användarautentisering\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Betalning krävs\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Förbud: Server vägrar att svara på det\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Ej funnen: Begärd resurs kunde inte hittas\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Metod Ej tillåtet: Förfrågan metod stöds inte\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Ej acceptabelt\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Proxy-autentisering krävs\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Begär tidsavbrott: Server slutade vänta på begäran\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Konflikt: Konflikt i begäran\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Borta: Begärd resurs är inte längre tillgänglig, Skicka feedback\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Krav längd: Ogiltigt innehållslängd\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"\"\n\"412 - Förutsättning misslyckades: Server uppfyller inte förutsättningar\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Belastningen för stor\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Begär-URI för lång\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Medietyp som inte stöds: Medietypen stöds inte\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"\"\n\"416 - Begärd räckvidd Ej Tillfredställande: Kan inte leverera den delen\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Förväntning misslyckades\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"Jag är en tekanna\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"419 - Sidan har upphört: Laravel Framework när en CSRF-token saknas\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"420 - Metodfel: Spring Framework när en metod har misslyckats\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Felriktad förfrågan\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Obearbetad entitet på grund av semantiska fel: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - Resursen som nås är låst\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Misslyckad beroende: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - Uppgradering krävs: Klienten ska byta till ett annat protokoll\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - Förutsättning krävs\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"\"\n\"429 - För många förfrågningar: Användaren har skickat för många förfrågningar\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\"430 - Begäranshuvudfält för stora: För många URL:er begärs inom en viss \"\n\"tidsram\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Begär headerfält för stort\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"440 - Inloggningstid slut: Klientens session har upphört\"\n\n#: src/labels.h:526\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"449 - Försök igen med: Servern kan inte uppfylla begäran\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\"450 - Blockerad av Windows föräldrakontroller: Den angivna Microsoft-\"\n\"tilläggskoden\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Ej tillgänglig för juridiska skäl\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Anslutningen är stängd utan att skicka några rubriker\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"460 - AWS Elastic Load Balancing: Klienten stängde anslutningen\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\"463 - AWS Elastic Load Balancing: Lastbalanseraren tog emot mer än 30 IP-\"\n\"adresser\"\n\n#: src/labels.h:538\n#, fuzzy\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"464 - AWS Elastic Load Balancing: Inkompatibla protokollversioner\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Begär Header För Stor\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL-klientcertifikatfel\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Klienten lämnade inte certifikat\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP-begäran skickad till HTTPS-porten\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"498 - Ogiltig token: en utgången eller på annat sätt ogiltig token\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) Anslutning sluten av klienten vid bearbetningsförfrågan\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Internt serverfel\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Inte Implementerad\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - Dålig Gateway: Fick ett ogiltigt svar från uppströms\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service Otillgänglig: Servern är för närvarande inte tillgänglig\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Gateway Timeout: Uppströms-servern misslyckades med att skicka \"\n\"förfrågan\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP-version stöds inte\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"509 - Bandbreddsgräns överskriden: Servern har överskridit bandbredden\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Webbserver returnerar ett okänt fel\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - webbservern är nere\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Anslutningen avbröts\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Ursprung är oåtkomligt\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - En timeout inträffade\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\"525 - SSL-handshake misslyckades: Cloudflare kunde inte förhandla en SSL/TLS-\"\n\"handshake\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\"526 - Ogiltigt SSL-certifikat: Cloudflare kunde inte validera SSL-\"\n\"certifikatet\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"527 - Railgun-fel: En avbruten anslutning\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\"529 - Webbplatsen är överbelastad: En webbplats kan inte behandla begäran\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\"530 - Webbplatsen är fryst: En webbplats har frysts på grund av inaktivitet\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\"540 - Tillfälligt inaktiverad: Den begärda ändpunkten har tillfälligt \"\n\"inaktiverats\"\n\n#: src/labels.h:588\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"561 - Ej auktoriserad: Ett fel relaterat till autentisering\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\"598 - Nätverksläsning tidsgräns överskriden: vissa HTTP-proxys signalerar \"\n\"ett nätverksläsningsavbrott\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\"599 - Nätverksanslutning tidsgräns överskriden: Ett fel som används av vissa \"\n\"HTTP-proxys\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"783 - Oväntad token: Begäran innehåller ett JSON-syntaxfel\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"Meny\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"Inställningar\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"WebSocket-status: Ansluten\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"WebSocket-status: Frånkopplad\"\n"
  },
  {
    "path": "po/uk.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.5.6\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2022-04-21 10:17+0300\\n\"\n\"Last-Translator: Artyom Karlov <artyom.karlov@gmail.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: uk\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"X-Generator: Poedit 2.3.1\\n\"\n\"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && \"\n\"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"uk\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"Розг. панель\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"Допомога\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"Вихід\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"Всього\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] ЗБІЛ [ ] ЗМЕН\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] ЗБІЛ [x] ЗМЕН\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[Активна панель: %1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] Вийти з GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] Допомога [Enter] Розг. панель\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"Дашборд\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"Дашборд - Проаналізовані запити\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"Проаналізовані запити\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"Вих. трафік\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"Дата/час\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"Хітів з викл. IP\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"Невдалих запитів\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"Час парсингу лога\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"Розмір лога\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"Джерело лога\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"Посил. сторінок\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"Всього запитів\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"Статичних файлів\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"Не знайдено\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"Запитаних файлів\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"Унікальних відвідувачів\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"Валідних запитів\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"Хіти\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"х%\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"Відвідувачі\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"Відв.\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"в%\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"Сер. ч. о.\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"Заг. ч. о.\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"Макс. ч. о.\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"Метод\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"Мтд\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"Протокол\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"Прот.\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"Місто\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"Країна\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"Ім'я хоста\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"Дані\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"Хіти/відвідувачі\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"Унікальні відвідувачі по днях\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"Унікальні відвідувачі по днях - Включаючи павуків\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"\"\n\"Хіти, що мають однакові IP, дату та юзер-агента, вважаються унікальним \"\n\"відвідуванням.\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"Запитані файли (URL'и)\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Топ запитів, відсортованих за хітами [, сер., заг., макс. часом обсл., \"\n\"методом, протоколом]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"Запити\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"Статичні запити\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Том статичних запитів, відсортованих за хітами [, сер., заг., макс. часом \"\n\"обсл., методом, протоколом]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"Розподіл за часом\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"Дані, відсортовані за годинами [, сер., заг., макс. часом обсл.]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"Час\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"Віртуальні хости\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"Дані, відсортовані за хітами [, сер., заг., макс. часом обсл.]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"Віддалений користувач (HTTP-аутентифікація)\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"Віддалений користувач\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"Статус кеша об'єкта, що обслуговується\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"Статус кеша\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"Незнайдені URL'и (404-і)\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"Топ незнайдених URL'ів, відсортованих за хітами [, сер., заг., макс. часом \"\n\"обсл., методом, протоколом]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"Імена хостів та IP відвідувачів\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ хостів відвідувачів, відсортованих за хітами [, сер., заг., макс. часом \"\n\"обсл.]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"Хости\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"Операційні системи\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ операційних систем, відсортованих за хітами [, сер., заг., макс. часом \"\n\"обсл.]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"ОС\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"Браузери\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ браузерів, відсортованих за хітами [, сер., заг., макс. часом обсл.]\"\n\n#: src/labels.h:184\n#, fuzzy\nmsgid \"Referrer URLs\"\nmsgstr \"Сторінки, що посилаються\"\n\n#: src/labels.h:186\n#, fuzzy\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ сторінок, що посилаються, відсортованих за хітами [, сер., заг., макс. \"\n\"часом обсл.]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"Сайти, що посилаються\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ сайтів, що посилаються, відсортованих за хітами [, сер., заг., макс. \"\n\"часом обсл.]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"Ключові слова з пошукової системи Google\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Том ключових слів, відсортованих за хітами [, сер., заг., макс. часом обсл.]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"Ключові слова\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"Географічне розташування\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Континенти > країни, відсортовані за унікальними хітами [, сер., заг., макс. \"\n\"часом обсл.]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"Коди відповідей HTTP\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"\"\n\"Топ кодів відповідей HTTP, відсортованих за хітами [, сер., заг., макс. \"\n\"часом обсл.]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"Коди відповідей\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME-типи\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"Типи відправлених файлів\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"Налаштування шифрування\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"Версія TLS та вибраний алгоритм\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"Налаштування TLS\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] враховувати регістр\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] враховувати регістр\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"Дозволені рег. вирази - ^g відміна - TAB врах. регістру\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"Пошук шаблону в усіх панелях\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"Налаштування формату лога\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[SPACE] переключення - [ENTER] обробити - [q] вийти\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"Формат логу - [c] додати/змінити формат\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"Формат дати - [d] додати/змінити формат\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"Формат часу - [t] додати/змінити формат\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[ВГОРУ/ВНИЗ] прокрутка - [q] закрити вікно\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"Юзер-агенти для %1$s\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"Налаштування схеми\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[ENTER] використовувати схему - [q] вийти\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"Сортування активного модуля\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[ENTER] обрати - [TAB] порядок - [q] вийти\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"Швидка допомога по GoAccess\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[ВГОРУ/ВНИЗ] прокрутка - [q] вийти\"\n\n#: src/labels.h:289\n#, fuzzy\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"У пам'яті зі зберіганням на диску.\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"Помилки формату - Перевірте ваш формат лога/дати/часу\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"Формат дати у вашому конфігураційному файлі не знайдений.\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"Формат лога у вашому конфігураційному файлі не знайдений.\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"Формат часу  у вашому конфігураційному файлі не знайдений.\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"Стандартний конфігураційний файл не знайдений.\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"Ви можете задати його за допомогою\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"призводить до наступних помилок\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"Оброблено %1$d рядків\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"Будь ласка, повідомте про це, відкривши issue на GitHub\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"Оберіть формат часу.\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"Оберіть формат дати.\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"Оберіть формат лога.\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"Панель '%1$s' відключена\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"Не надано ні вхідних даних, ні даних для відновлення.\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"Подробиці за посиланням\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"Останнє оновлення\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket-сервер готовий до прийому нових з'єднань\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"Наступні опції також можуть використовуватися з командою\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"Приклади можна знайти, запустивши\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"Статистика сервера\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"Тема\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"Темно-сіра\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"Світла\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"Темно-синя\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"Темно-фіолетова\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"Панелі\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"Елементів на сторінці\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"Таблиці\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"Показувати таблиці\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"Автоприховування на маленьких пристроях\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"Автоматично приховувати таблиці на пристроях з маленькими екранами\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"Перемикання панелі\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"Розташування\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"Горизонтальне\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"Вертикальне\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"Широкоекранне\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"Файлові опції\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"Експорт в JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"Налаштування панелі\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"Попередня\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"Наступна\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"Перша\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"Остання\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"Налаштування діаграми\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"Диаграма\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"Тип\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"Згладжені області\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"Стовпці\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"Одиниці виміру\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"Колонки таблиці\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx Інформаційні\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx Успішні\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx Перенаправлення\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx Помилки клієнта\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx Помилки сервера\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - Continue: Сервер отримав початкову частину запиту\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - Switching Protocols: Клієнт запросив переключення протоколу\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - OK: Запит клієнта виконаний успішно\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - Created: Запит клієнта виконаний і створений новий ресурс\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - Accepted: Запит прийнятий на обробку\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - Non-authoritative Information: Відповідь не з первинного джерела\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - No Content: Запит не повернув ніякого контенту\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"205 - Reset Content: Сервер попросив клієнта скинути документ\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - Partial Content: Частковий GET-запит виконаний успішно\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - Multi-Status: WebDAV; RFC 4918\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - Already Reported: WebDAV; RFC 5842\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - Multiple Choices: Ресурс має кілька варіантів надання\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - Moved Permanently: Ресурс переміщений на постійній основі\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - Moved Temporarily (тимчасовий редирект)\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - See Other Document: Відповідь знаходиться за іншим URI\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - Not Modified: Ресурс не змінювався\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - Use Proxy: Доступ тільки через проксі\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - Temporary Redirect: Ресурс тимчасово переміщений\"\n\n#: src/labels.h:462\n#, fuzzy\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"402 - Payment Required\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - Bad Request: Невірний синтаксис запиту\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - Unauthorized: Запит вимагає аутентифікації\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - Payment Required\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - Forbidden: Сервер відмовився надати відповідь\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - Not Found: Запитаний ресурс не знайдений\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - Method Not Allowed: Метод запиту не підтримується\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - Not Acceptable\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - Proxy Authentication Required\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - Request Timeout: Сервер не дочекався запиту\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - Conflict: Конфліктний запит\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - Gone: Запитаний ресурс більше недоступний\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - Length Required: Невірний Content-Length\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - Precondition Failed: Сервер не виконав попередні умови\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - Payload Too Large\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - Request-URI Too Long\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - Unsupported Media Type: Тип медіа не підтримується\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"416 - Requested Range Not Satisfiable: Частина не може бути доставлена\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - Expectation Failed\"\n\n#: src/labels.h:500\n#, fuzzy\nmsgid \"418 - I'm a teapot\"\nmsgstr \"418 - I’m a teapot\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - Misdirected Request\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - The resource that is being accessed is locked\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - Failed Dependency: WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - Upgrade Required: Клієнт повинен переключити протокол\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - Precondition Required\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - Too Many Requests: Клієнт відправив занадто багато запитів\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - Request Header Fields Too Large\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"\"\n\n#: src/labels.h:526\n#, fuzzy\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"408 - Request Timeout: Сервер не дочекався запиту\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - Unavailable For Legal Reasons\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) Connection closed without sending any headers\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) Request Header Too Large\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL client certificate error\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) Client didn't provide certificate\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP request sent to HTTPS port\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) Connection closed by client while processing request\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - Internal Server Error\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - Not Implemented\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"\"\n\"502 - Bad Gateway: Сервер, який діє як шлюз, отримав недійсну відповідь\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - Service Unavailable: Сервер недоступний\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"\"\n\"504 - Gateway Timeout: Сервер, який діє як шлюз, не дочекався відповіді\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - HTTP Version Not Supported\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Web server is returning an unknown error\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Web server is down\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - Connection timed out\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - Origin is unreachable\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - A timeout occurred\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"\"\n\n#: src/labels.h:588\n#, fuzzy\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"401 - Unauthorized: Запит вимагає аутентифікації\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"\"\n\n#: src/labels.h:600\n#, fuzzy\nmsgid \"Settings\"\nmsgstr \"Налаштування TLS\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"\"\n\n#, fuzzy\n#~ msgid \"Referers\"\n#~ msgstr \"Посил. сторінок\"\n"
  },
  {
    "path": "po/zh_CN.po",
    "content": "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: goaccess 1.5.6\\n\"\n\"Report-Msgid-Bugs-To: hello@goaccess.io\\n\"\n\"POT-Creation-Date: 2026-02-14 08:39-0600\\n\"\n\"PO-Revision-Date: 2025-04-19 02:11+0800\\n\"\n\"Last-Translator: azio7<azio7@outlook.com>\\n\"\n\"Language-Team: \\n\"\n\"Language: zh_CN\\n\"\n\"MIME-Version: 1.0\\n\"\n\"Content-Type: text/plain; charset=utf-8\\n\"\n\"Content-Transfer-Encoding: 8bit\\n\"\n\"Plural-Forms: nplurals=2; plural=(n != 1);\\n\"\n\"deepseek: deepseek-r1\\n\"\n\n#: src/labels.h:45\nmsgid \"en\"\nmsgstr \"zh-CN\"\n\n#: src/labels.h:48\nmsgid \"Exp. Panel\"\nmsgstr \"展开面板\"\n\n#: src/labels.h:49\nmsgid \"Help\"\nmsgstr \"帮助\"\n\n#: src/labels.h:50\nmsgid \"Quit\"\nmsgstr \"退出\"\n\n#: src/labels.h:51\nmsgid \"Total\"\nmsgstr \"总计\"\n\n#: src/labels.h:54\nmsgid \"[x] ASC [ ] DESC\"\nmsgstr \"[x] 升序 [ ] 降序\"\n\n#: src/labels.h:55\nmsgid \"[ ] ASC [x] DESC\"\nmsgstr \"[ ] 升序 [x] 降序\"\n\n#: src/labels.h:58\n#, c-format\nmsgid \"[Active Panel: %1$s]\"\nmsgstr \"[当前面板：%1$s]\"\n\n#: src/labels.h:59\nmsgid \"[q]uit GoAccess\"\nmsgstr \"[q] 退出 GoAccess\"\n\n#: src/labels.h:60\nmsgid \"[?] Help [Enter] Exp. Panel\"\nmsgstr \"[?] 帮助 [Enter] 扩展面板\"\n\n#: src/labels.h:61\nmsgid \"Dashboard\"\nmsgstr \"仪表盘\"\n\n#: src/labels.h:62\nmsgid \"Dashboard - Overall Analyzed Requests\"\nmsgstr \"仪表盘 - 总体分析请求\"\n\n#: src/labels.h:63\nmsgid \"Overall Analyzed Requests\"\nmsgstr \"总体分析请求\"\n\n#: src/labels.h:65 src/labels.h:86\nmsgid \"Tx. Amount\"\nmsgstr \"传输量\"\n\n#: src/labels.h:66\nmsgid \"Date/Time\"\nmsgstr \"日期/时间\"\n\n#: src/labels.h:67\nmsgid \"Excl. IP Hits\"\nmsgstr \"排除IP点击\"\n\n#: src/labels.h:68\nmsgid \"Failed Requests\"\nmsgstr \"失败请求\"\n\n#: src/labels.h:69\nmsgid \"Log Parsing Time\"\nmsgstr \"日志解析时间\"\n\n#: src/labels.h:70\nmsgid \"Log Size\"\nmsgstr \"日志大小\"\n\n#: src/labels.h:71\nmsgid \"Log Source\"\nmsgstr \"日志来源\"\n\n#: src/labels.h:72 src/labels.h:188\nmsgid \"Referrers\"\nmsgstr \"来源页面\"\n\n#: src/labels.h:73\nmsgid \"Total Requests\"\nmsgstr \"总请求数\"\n\n#: src/labels.h:74\nmsgid \"Static Files\"\nmsgstr \"静态文件\"\n\n#: src/labels.h:75 src/labels.h:160\nmsgid \"Not Found\"\nmsgstr \"未找到(404)\"\n\n#: src/labels.h:76\nmsgid \"Requested Files\"\nmsgstr \"请求文件\"\n\n#: src/labels.h:77\nmsgid \"Unique Visitors\"\nmsgstr \"独立访客\"\n\n#: src/labels.h:78\nmsgid \"Valid Requests\"\nmsgstr \"有效请求\"\n\n#: src/labels.h:81\nmsgid \"Hits\"\nmsgstr \"点击量\"\n\n#: src/labels.h:82\nmsgid \"h%\"\nmsgstr \"点击占比\"\n\n#: src/labels.h:83 src/labels.h:111\nmsgid \"Visitors\"\nmsgstr \"访客\"\n\n#: src/labels.h:84\nmsgid \"Vis.\"\nmsgstr \"访客数\"\n\n#: src/labels.h:85\nmsgid \"v%\"\nmsgstr \"访客占比\"\n\n#: src/labels.h:87\nmsgid \"tx%\"\nmsgstr \"\"\n\n#: src/labels.h:88\nmsgid \"Avg. T.S.\"\nmsgstr \"平均耗时\"\n\n#: src/labels.h:89\nmsgid \"Cum. T.S.\"\nmsgstr \"累计耗时\"\n\n#: src/labels.h:90\nmsgid \"Max. T.S.\"\nmsgstr \"最大耗时\"\n\n#: src/labels.h:91\nmsgid \"Method\"\nmsgstr \"请求方法\"\n\n#: src/labels.h:92\nmsgid \"Mtd\"\nmsgstr \"方法\"\n\n#: src/labels.h:93\nmsgid \"Protocol\"\nmsgstr \"协议\"\n\n#: src/labels.h:94\nmsgid \"Proto\"\nmsgstr \"协议\"\n\n#: src/labels.h:95\nmsgid \"City\"\nmsgstr \"城市\"\n\n#: src/labels.h:96 src/labels.h:212 src/labels.h:216\nmsgid \"ASN\"\nmsgstr \"ASN\"\n\n#: src/labels.h:97\nmsgid \"Country\"\nmsgstr \"国家\"\n\n#: src/labels.h:98\nmsgid \"Hostname\"\nmsgstr \"主机名\"\n\n#: src/labels.h:99\nmsgid \"Data\"\nmsgstr \"数据\"\n\n#: src/labels.h:101\nmsgid \"Hits/Visitors\"\nmsgstr \"点击/访客\"\n\n#: src/labels.h:105\nmsgid \"Unique visitors per day\"\nmsgstr \"每日独立访客\"\n\n#: src/labels.h:107\nmsgid \"Unique visitors per day - Including spiders\"\nmsgstr \"每日独立访客（含爬虫）\"\n\n#: src/labels.h:109\nmsgid \"Hits having the same IP, date and agent are a unique visit.\"\nmsgstr \"相同IP、日期和客户端的点击视为一次访问。\"\n\n#: src/labels.h:114\nmsgid \"Requested Files (URLs)\"\nmsgstr \"请求文件（URL）\"\n\n#: src/labels.h:116\nmsgid \"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"按点击量排序的热门请求 [, 平均耗时, 累计耗时, 最大耗时, 方法, 协议]\"\n\n#: src/labels.h:118\nmsgid \"Requests\"\nmsgstr \"请求\"\n\n#: src/labels.h:121 src/labels.h:125\nmsgid \"Static Requests\"\nmsgstr \"静态请求\"\n\n#: src/labels.h:123\nmsgid \"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"\"\n\"按点击量排序的热门静态请求 [, 平均耗时, 累计耗时, 最大耗时, 方法, 协议]\"\n\n#: src/labels.h:128\nmsgid \"Time Distribution\"\nmsgstr \"时间分布\"\n\n#: src/labels.h:130\nmsgid \"Data sorted by hour [, avgts, cumts, maxts]\"\nmsgstr \"按小时排序的数据 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:132\nmsgid \"Time\"\nmsgstr \"时间\"\n\n#: src/labels.h:135 src/labels.h:139\nmsgid \"Virtual Hosts\"\nmsgstr \"虚拟主机\"\n\n#: src/labels.h:137 src/labels.h:144 src/labels.h:151\nmsgid \"Data sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的数据 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:142\nmsgid \"Remote User (HTTP authentication)\"\nmsgstr \"远程用户（HTTP认证）\"\n\n#: src/labels.h:146\nmsgid \"Remote User\"\nmsgstr \"远程用户\"\n\n#: src/labels.h:149\nmsgid \"The cache status of the object served\"\nmsgstr \"所提供对象的缓存状态\"\n\n#: src/labels.h:153\nmsgid \"Cache Status\"\nmsgstr \"缓存状态\"\n\n#: src/labels.h:156\nmsgid \"Not Found URLs (404s)\"\nmsgstr \"未找到的URL（404）\"\n\n#: src/labels.h:158\nmsgid \"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\"\nmsgstr \"按点击量排序的热门404 URL [, 平均耗时, 累计耗时, 最大耗时, 方法, 协议]\"\n\n#: src/labels.h:163\nmsgid \"Visitor Hostnames and IPs\"\nmsgstr \"访客主机名与IP\"\n\n#: src/labels.h:165\nmsgid \"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门访客主机 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:167\nmsgid \"Hosts\"\nmsgstr \"主机\"\n\n#: src/labels.h:170\nmsgid \"Operating Systems\"\nmsgstr \"操作系统\"\n\n#: src/labels.h:172\nmsgid \"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门操作系统 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:174\nmsgid \"OS\"\nmsgstr \"操作系统\"\n\n#: src/labels.h:177 src/labels.h:181\nmsgid \"Browsers\"\nmsgstr \"浏览器\"\n\n#: src/labels.h:179\nmsgid \"Top Browsers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门浏览器 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:184\nmsgid \"Referrer URLs\"\nmsgstr \"来源URL\"\n\n#: src/labels.h:186\nmsgid \"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门来源页面 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:191 src/labels.h:195\nmsgid \"Referring Sites\"\nmsgstr \"来源网站\"\n\n#: src/labels.h:193\nmsgid \"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门来源网站 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:198\nmsgid \"Keyphrases from Google's search engine\"\nmsgstr \"来自谷歌搜索的关键词\"\n\n#: src/labels.h:200\nmsgid \"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门关键词 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:202\nmsgid \"Keyphrases\"\nmsgstr \"关键词\"\n\n#: src/labels.h:205 src/labels.h:209\nmsgid \"Geo Location\"\nmsgstr \"地理位置\"\n\n#: src/labels.h:207\nmsgid \"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\"\nmsgstr \"按独立点击排序的大洲 > 国家 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:214\nmsgid \"Autonomous System Numbers/Organizations (ASNs)\"\nmsgstr \"自治系统号/组织（ASN）\"\n\n#: src/labels.h:219\nmsgid \"HTTP Status Codes\"\nmsgstr \"HTTP状态码\"\n\n#: src/labels.h:221\nmsgid \"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\"\nmsgstr \"按点击量排序的热门HTTP状态码 [, 平均耗时, 累计耗时, 最大耗时]\"\n\n#: src/labels.h:223\nmsgid \"Status Codes\"\nmsgstr \"状态码\"\n\n#: src/labels.h:226 src/labels.h:230\nmsgid \"MIME Types\"\nmsgstr \"MIME类型\"\n\n#: src/labels.h:228\nmsgid \"File types shipped out\"\nmsgstr \"输出的文件类型\"\n\n#: src/labels.h:233\nmsgid \"Encryption settings\"\nmsgstr \"加密设置\"\n\n#: src/labels.h:235\nmsgid \"TLS version and picked algorithm\"\nmsgstr \"TLS版本及所选算法\"\n\n#: src/labels.h:237\nmsgid \"TLS Settings\"\nmsgstr \"TLS设置\"\n\n#: src/labels.h:241\nmsgid \"[ ] case sensitive\"\nmsgstr \"[ ] 区分大小写\"\n\n#: src/labels.h:243\nmsgid \"[x] case sensitive\"\nmsgstr \"[x] 区分大小写\"\n\n#: src/labels.h:245\nmsgid \"Regex allowed - ^g to cancel - TAB switch case\"\nmsgstr \"支持正则表达式 - ^g 取消 - TAB 切换大小写\"\n\n#: src/labels.h:247\nmsgid \"Find pattern in all views\"\nmsgstr \"在所有视图中查找模式\"\n\n#: src/labels.h:251\nmsgid \"Log Format Configuration\"\nmsgstr \"日志格式配置\"\n\n#: src/labels.h:253\nmsgid \"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\"\nmsgstr \"[空格] 切换 - [回车] 继续 - [q] 退出\"\n\n#: src/labels.h:255\nmsgid \"Log Format - [c] to add/edit format\"\nmsgstr \"日志格式 - [c] 添加/编辑格式\"\n\n#: src/labels.h:257\nmsgid \"Date Format - [d] to add/edit format\"\nmsgstr \"日期格式 - [d] 添加/编辑格式\"\n\n#: src/labels.h:259\nmsgid \"Time Format - [t] to add/edit format\"\nmsgstr \"时间格式 - [t] 添加/编辑格式\"\n\n#: src/labels.h:261 src/labels.h:265\nmsgid \"[UP/DOWN] to scroll - [q] to close window\"\nmsgstr \"[↑/↓] 滚动 - [q] 关闭窗口\"\n\n#: src/labels.h:267\n#, c-format\nmsgid \"User Agents for %1$s\"\nmsgstr \"%1$s 的用户代理\"\n\n#: src/labels.h:271\nmsgid \"Scheme Configuration\"\nmsgstr \"配色方案配置\"\n\n#: src/labels.h:273\nmsgid \"[ENTER] to use scheme - [q]uit\"\nmsgstr \"[回车] 使用方案 - [q] 退出\"\n\n#: src/labels.h:277\nmsgid \"Sort active module by\"\nmsgstr \"活动模块排序方式\"\n\n#: src/labels.h:279\nmsgid \"[ENTER] select - [TAB] sort - [q]uit\"\nmsgstr \"[回车] 选择 - [TAB] 排序 - [q] 退出\"\n\n#: src/labels.h:283\nmsgid \"GoAccess Quick Help\"\nmsgstr \"GoAccess 快速帮助\"\n\n#: src/labels.h:285\nmsgid \"[UP/DOWN] to scroll - [q] to quit\"\nmsgstr \"[↑/↓] 滚动 - [q] 退出\"\n\n#: src/labels.h:289\nmsgid \"In-Memory with On-Disk Persistent Storage.\"\nmsgstr \"内存处理与磁盘持久化存储。\"\n\n#: src/labels.h:293\nmsgid \"Format Errors - Verify your log/date/time format\"\nmsgstr \"格式错误 - 请检查日志/日期/时间格式\"\n\n#: src/labels.h:295\nmsgid \"Use --invalid-requests option to store such lines in a file.\"\nmsgstr \"\"\n\n#: src/labels.h:297\nmsgid \"No date format was found on your conf file.\"\nmsgstr \"配置文件中未找到日期格式。\"\n\n#: src/labels.h:299\nmsgid \"No log format was found on your conf file.\"\nmsgstr \"配置文件中未找到日志格式。\"\n\n#: src/labels.h:301\nmsgid \"No time format was found on your conf file.\"\nmsgstr \"配置文件中未找到时间格式。\"\n\n#: src/labels.h:303\nmsgid \"No default config file found.\"\nmsgstr \"未找到默认配置文件。\"\n\n#: src/labels.h:305\nmsgid \"You may specify one with\"\nmsgstr \"您可以通过以下方式指定：\"\n\n#: src/labels.h:307\nmsgid \"producing the following errors\"\nmsgstr \"产生以下错误：\"\n\n#: src/labels.h:309\n#, c-format\nmsgid \"Parsed %1$d lines\"\nmsgstr \"已解析 %1$d 行\"\n\n#: src/labels.h:311\nmsgid \"Please report it by opening an issue on GitHub\"\nmsgstr \"请在GitHub提交问题报告\"\n\n#: src/labels.h:313\nmsgid \"Select a time format.\"\nmsgstr \"选择时间格式。\"\n\n#: src/labels.h:315\nmsgid \"Select a date format.\"\nmsgstr \"选择日期格式。\"\n\n#: src/labels.h:317\nmsgid \"Select a log format.\"\nmsgstr \"选择日志格式。\"\n\n#: src/labels.h:319\n#, c-format\nmsgid \"'%1$s' panel is disabled\"\nmsgstr \"'%1$s' 面板已禁用\"\n\n#: src/labels.h:321\nmsgid \"No input data was provided nor there's data to restore.\"\nmsgstr \"未提供输入数据且无数据可恢复。\"\n\n#: src/labels.h:323\nmsgid \"Unable to allocate memory for a log instance.\"\nmsgstr \"无法为日志实例分配内存。\"\n\n#: src/labels.h:325\nmsgid \"Unable to find the given log.\"\nmsgstr \"无法找到指定日志。\"\n\n#: src/labels.h:329\nmsgid \"For more details visit\"\nmsgstr \"详情请访问：\"\n\n#: src/labels.h:331\nmsgid \"Last Updated\"\nmsgstr \"最后更新\"\n\n#: src/labels.h:333\nmsgid \"WebSocket server ready to accept new client connections\"\nmsgstr \"WebSocket 服务器已准备接受新客户端连接\"\n\n#: src/labels.h:336\nmsgid \"The following options can also be supplied to the command\"\nmsgstr \"以下选项也可用于命令：\"\n\n#: src/labels.h:338\nmsgid \"Examples can be found by running\"\nmsgstr \"运行以下命令查看示例：\"\n\n#: src/labels.h:341\nmsgid \"Server Statistics\"\nmsgstr \"服务器统计\"\n\n#: src/labels.h:343\nmsgid \"Theme\"\nmsgstr \"主题\"\n\n#: src/labels.h:345\nmsgid \"Dark Gray\"\nmsgstr \"深灰\"\n\n#: src/labels.h:347\nmsgid \"Bright\"\nmsgstr \"明亮\"\n\n#: src/labels.h:349\nmsgid \"Dark Blue\"\nmsgstr \"深蓝\"\n\n#: src/labels.h:351\nmsgid \"Dark Purple\"\nmsgstr \"深紫\"\n\n#: src/labels.h:353\nmsgid \"Panels\"\nmsgstr \"面板\"\n\n#: src/labels.h:355\nmsgid \"Items per Page\"\nmsgstr \"每页条目数\"\n\n#: src/labels.h:357\nmsgid \"Tables\"\nmsgstr \"表格\"\n\n#: src/labels.h:359\nmsgid \"Display Tables\"\nmsgstr \"显示表格\"\n\n#: src/labels.h:361\nmsgid \"Auto-Hide on Small Devices\"\nmsgstr \"小屏幕设备自动隐藏\"\n\n#: src/labels.h:363\nmsgid \"Automatically hide tables on small screen devices\"\nmsgstr \"在小屏幕设备上自动隐藏表格\"\n\n#: src/labels.h:365\nmsgid \"Toggle Panel\"\nmsgstr \"切换面板\"\n\n#: src/labels.h:367\nmsgid \"Layout\"\nmsgstr \"布局\"\n\n#: src/labels.h:369\nmsgid \"Horizontal\"\nmsgstr \"水平布局\"\n\n#: src/labels.h:371\nmsgid \"Vertical\"\nmsgstr \"垂直布局\"\n\n#: src/labels.h:373\nmsgid \"WideScreen\"\nmsgstr \"宽屏布局\"\n\n#: src/labels.h:375\nmsgid \"File Options\"\nmsgstr \"文件选项\"\n\n#: src/labels.h:377\nmsgid \"Export as JSON\"\nmsgstr \"导出为JSON\"\n\n#: src/labels.h:379\nmsgid \"Panel Options\"\nmsgstr \"面板选项\"\n\n#: src/labels.h:381\nmsgid \"Previous\"\nmsgstr \"上一页\"\n\n#: src/labels.h:383\nmsgid \"Next\"\nmsgstr \"下一页\"\n\n#: src/labels.h:385\nmsgid \"First\"\nmsgstr \"首页\"\n\n#: src/labels.h:387\nmsgid \"Last\"\nmsgstr \"末页\"\n\n#: src/labels.h:389\nmsgid \"Chart Options\"\nmsgstr \"图表选项\"\n\n#: src/labels.h:391\nmsgid \"Chart\"\nmsgstr \"图表\"\n\n#: src/labels.h:393\nmsgid \"Type\"\nmsgstr \"类型\"\n\n#: src/labels.h:395\nmsgid \"Area Spline\"\nmsgstr \"区域曲线图\"\n\n#: src/labels.h:397\nmsgid \"Bar\"\nmsgstr \"柱状图\"\n\n#: src/labels.h:399\nmsgid \"World Map\"\nmsgstr \"世界地图\"\n\n#: src/labels.h:401\nmsgid \"Azimuthal/Globe\"\nmsgstr \"方位投影/地球仪\"\n\n#: src/labels.h:403\nmsgid \"Plot Metric\"\nmsgstr \"绘制指标\"\n\n#: src/labels.h:405\nmsgid \"Table Columns\"\nmsgstr \"表格列\"\n\n#: src/labels.h:409\nmsgid \"0xx Unofficial Codes\"\nmsgstr \"0xx 非官方代码\"\n\n#: src/labels.h:411\nmsgid \"1xx Informational\"\nmsgstr \"1xx 信息响应\"\n\n#: src/labels.h:413\nmsgid \"2xx Success\"\nmsgstr \"2xx 成功\"\n\n#: src/labels.h:415\nmsgid \"3xx Redirection\"\nmsgstr \"3xx 重定向\"\n\n#: src/labels.h:417\nmsgid \"4xx Client Errors\"\nmsgstr \"4xx 客户端错误\"\n\n#: src/labels.h:419\nmsgid \"5xx Server Errors\"\nmsgstr \"5xx 服务器错误\"\n\n#: src/labels.h:422\nmsgid \"0 - Caddy: Unhandled - No configured routes\"\nmsgstr \"0 - Caddy：未处理 - 无配置路由\"\n\n#: src/labels.h:424\nmsgid \"100 - Continue: Server received the initial part of the request\"\nmsgstr \"100 - 继续：服务器已收到请求的初始部分\"\n\n#: src/labels.h:426\nmsgid \"101 - Switching Protocols: Client asked to switch protocols\"\nmsgstr \"101 - 切换协议：客户端要求切换协议\"\n\n#: src/labels.h:428\nmsgid \"200 - OK: The request sent by the client was successful\"\nmsgstr \"200 - 成功：客户端请求已成功处理\"\n\n#: src/labels.h:430\nmsgid \"201 - Created: The request has been fulfilled and created\"\nmsgstr \"201 - 已创建：请求已完成并创建资源\"\n\n#: src/labels.h:432\nmsgid \"202 - Accepted: The request has been accepted for processing\"\nmsgstr \"202 - 已接受：请求已被接受处理\"\n\n#: src/labels.h:434\nmsgid \"203 - Non-authoritative Information: Response from a third party\"\nmsgstr \"203 - 非权威信息：来自第三方的响应\"\n\n#: src/labels.h:436\nmsgid \"204 - No Content: Request did not return any content\"\nmsgstr \"204 - 无内容：请求未返回内容\"\n\n#: src/labels.h:438\nmsgid \"205 - Reset Content: Server asked the client to reset the document\"\nmsgstr \"205 - 重置内容：服务器要求客户端重置文档\"\n\n#: src/labels.h:440\nmsgid \"206 - Partial Content: The partial GET has been successful\"\nmsgstr \"206 - 部分内容：部分GET请求成功\"\n\n#: src/labels.h:442\nmsgid \"207 - Multi-Status: WebDAV; RFC 4918\"\nmsgstr \"207 - 多状态：WebDAV（RFC 4918）\"\n\n#: src/labels.h:444\nmsgid \"208 - Already Reported: WebDAV; RFC 5842\"\nmsgstr \"208 - 已报告：WebDAV（RFC 5842）\"\n\n#: src/labels.h:446\nmsgid \"218 - This is fine: Apache servers. A catch-all error condition\"\nmsgstr \"218 - 正常：Apache服务器通用错误状态\"\n\n#: src/labels.h:448\nmsgid \"300 - Multiple Choices: Multiple options for the resource\"\nmsgstr \"300 - 多种选择：资源有多个选项\"\n\n#: src/labels.h:450\nmsgid \"301 - Moved Permanently: Resource has permanently moved\"\nmsgstr \"301 - 永久移动：资源已永久移动\"\n\n#: src/labels.h:452\nmsgid \"302 - Moved Temporarily (redirect)\"\nmsgstr \"302 - 临时移动（重定向）\"\n\n#: src/labels.h:454\nmsgid \"303 - See Other Document: The response is at a different URI\"\nmsgstr \"303 - 查看其他文档：响应位于不同URI\"\n\n#: src/labels.h:456\nmsgid \"304 - Not Modified: Resource has not been modified\"\nmsgstr \"304 - 未修改：资源未被修改\"\n\n#: src/labels.h:458\nmsgid \"305 - Use Proxy: Can only be accessed through the proxy\"\nmsgstr \"305 - 使用代理：只能通过代理访问\"\n\n#: src/labels.h:460\nmsgid \"307 - Temporary Redirect: Resource temporarily moved\"\nmsgstr \"307 - 临时重定向：资源暂时移动\"\n\n#: src/labels.h:462\nmsgid \"308 - Permanent Redirect\"\nmsgstr \"308 - 永久重定向\"\n\n#: src/labels.h:464\nmsgid \"400 - Bad Request: The syntax of the request is invalid\"\nmsgstr \"400 - 错误请求：请求语法无效\"\n\n#: src/labels.h:466\nmsgid \"401 - Unauthorized: Request needs user authentication\"\nmsgstr \"401 - 未授权：请求需要用户认证\"\n\n#: src/labels.h:468\nmsgid \"402 - Payment Required\"\nmsgstr \"402 - 需要付款\"\n\n#: src/labels.h:470\nmsgid \"403 - Forbidden: Server is refusing to respond to it\"\nmsgstr \"403 - 禁止访问：服务器拒绝响应\"\n\n#: src/labels.h:472\nmsgid \"404 - Not Found: Requested resource could not be found\"\nmsgstr \"404 - 未找到：请求的资源不存在\"\n\n#: src/labels.h:474\nmsgid \"405 - Method Not Allowed: Request method not supported\"\nmsgstr \"405 - 方法不允许：请求方法不被支持\"\n\n#: src/labels.h:476\nmsgid \"406 - Not Acceptable\"\nmsgstr \"406 - 不可接受\"\n\n#: src/labels.h:478\nmsgid \"407 - Proxy Authentication Required\"\nmsgstr \"407 - 需要代理认证\"\n\n#: src/labels.h:480\nmsgid \"408 - Request Timeout: Server timed out waiting for the request\"\nmsgstr \"408 - 请求超时：服务器等待请求超时\"\n\n#: src/labels.h:482\nmsgid \"409 - Conflict: Conflict in the request\"\nmsgstr \"409 - 冲突：请求中存在冲突\"\n\n#: src/labels.h:484\nmsgid \"410 - Gone: Resource requested is no longer available\"\nmsgstr \"410 - 已删除：请求的资源已永久不可用\"\n\n#: src/labels.h:486\nmsgid \"411 - Length Required: Invalid Content-Length\"\nmsgstr \"411 - 需要长度：无效的Content-Length\"\n\n#: src/labels.h:488\nmsgid \"412 - Precondition Failed: Server does not meet preconditions\"\nmsgstr \"412 - 先决条件失败：服务器不满足先决条件\"\n\n#: src/labels.h:490\nmsgid \"413 - Payload Too Large\"\nmsgstr \"413 - 负载过大\"\n\n#: src/labels.h:492\nmsgid \"414 - Request-URI Too Long\"\nmsgstr \"414 - 请求URI过长\"\n\n#: src/labels.h:494\nmsgid \"415 - Unsupported Media Type: Media type is not supported\"\nmsgstr \"415 - 不支持的媒体类型：媒体类型不被支持\"\n\n#: src/labels.h:496\nmsgid \"416 - Requested Range Not Satisfiable: Cannot supply that portion\"\nmsgstr \"416 - 请求范围不可满足：无法提供指定部分\"\n\n#: src/labels.h:498\nmsgid \"417 - Expectation Failed\"\nmsgstr \"417 - 预期失败\"\n\n#: src/labels.h:500\nmsgid \"418 - I'm a teapot\"\nmsgstr \"\"\n\n#: src/labels.h:502\nmsgid \"419 - Page Expired: Laravel Framework when a CSRF Token is missing\"\nmsgstr \"419 - 页面过期：Laravel框架中缺少CSRF令牌\"\n\n#: src/labels.h:504\nmsgid \"420 - Method Failure: Spring Framework when a method has failed\"\nmsgstr \"420 - 方法失败：Spring框架中方法执行失败\"\n\n#: src/labels.h:506\nmsgid \"421 - Misdirected Request\"\nmsgstr \"421 - 错误定向请求\"\n\n#: src/labels.h:508\nmsgid \"422 - Unprocessable Entity due to semantic errors: WebDAV\"\nmsgstr \"422 - 不可处理实体（语义错误）：WebDAV\"\n\n#: src/labels.h:510\nmsgid \"423 - The resource that is being accessed is locked\"\nmsgstr \"423 - 被访问资源已锁定\"\n\n#: src/labels.h:512\nmsgid \"424 - Failed Dependency: WebDAV\"\nmsgstr \"424 - 依赖失败：WebDAV\"\n\n#: src/labels.h:514\nmsgid \"426 - Upgrade Required: Client should switch to a different protocol\"\nmsgstr \"426 - 需要升级：客户端应切换协议\"\n\n#: src/labels.h:516\nmsgid \"428 - Precondition Required\"\nmsgstr \"428 - 需要先决条件\"\n\n#: src/labels.h:518\nmsgid \"429 - Too Many Requests: The user has sent too many requests\"\nmsgstr \"429 - 请求过多：用户发送了过多请求\"\n\n#: src/labels.h:520\nmsgid \"\"\n\"430 - Request Header Fields Too Large: Too many URLs are requested within a \"\n\"certain time frame\"\nmsgstr \"430 - 请求头字段过大：短时间内请求过多URL\"\n\n#: src/labels.h:522\nmsgid \"431 - Request Header Fields Too Large\"\nmsgstr \"431 - 请求头字段过大\"\n\n#: src/labels.h:524\nmsgid \"440 - Login Time-out: The client's session has expired\"\nmsgstr \"440 - 登录超时：客户端会话已过期\"\n\n#: src/labels.h:526\nmsgid \"449 - Retry With: The server cannot honour the request\"\nmsgstr \"449 - 重试：服务器无法处理请求\"\n\n#: src/labels.h:528\nmsgid \"\"\n\"450 - Blocked by Windows Parental Controls: The Microsoft extension code \"\n\"indicated\"\nmsgstr \"450 - 被Windows家庭控制阻止：微软扩展状态码\"\n\n#: src/labels.h:530\nmsgid \"451 - Unavailable For Legal Reasons\"\nmsgstr \"451 - 因法律原因不可用\"\n\n#: src/labels.h:532\nmsgid \"444 - (Nginx) Connection closed without sending any headers\"\nmsgstr \"444 - (Nginx) 连接关闭未发送任何头信息\"\n\n#: src/labels.h:534\nmsgid \"460 - AWS Elastic Load Balancing: Client closed the connection \"\nmsgstr \"460 - AWS弹性负载均衡：客户端关闭连接\"\n\n#: src/labels.h:536\nmsgid \"\"\n\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP \"\n\"addresses\"\nmsgstr \"463 - AWS弹性负载均衡：负载均衡器收到超过30个IP地址\"\n\n#: src/labels.h:538\nmsgid \"464 - AWS Elastic Load Balancing: Incompatible protocol versions\"\nmsgstr \"464 - AWS弹性负载均衡：不兼容的协议版本\"\n\n#: src/labels.h:540\nmsgid \"494 - (Nginx) Request Header Too Large\"\nmsgstr \"494 - (Nginx) 请求头过大\"\n\n#: src/labels.h:542\nmsgid \"495 - (Nginx) SSL client certificate error\"\nmsgstr \"495 - (Nginx) SSL客户端证书错误\"\n\n#: src/labels.h:544\nmsgid \"496 - (Nginx) Client didn't provide certificate\"\nmsgstr \"496 - (Nginx) 客户端未提供证书\"\n\n#: src/labels.h:546\nmsgid \"497 - (Nginx) HTTP request sent to HTTPS port\"\nmsgstr \"497 - (Nginx) HTTP请求发送到HTTPS端口\"\n\n#: src/labels.h:548\nmsgid \"498 - Invalid Token: an expired or otherwise invalid token\"\nmsgstr \"498 - 无效令牌：过期或其他无效令牌\"\n\n#: src/labels.h:550\nmsgid \"499 - (Nginx) Connection closed by client while processing request\"\nmsgstr \"499 - (Nginx) 处理请求时客户端关闭连接\"\n\n#: src/labels.h:552\nmsgid \"500 - Internal Server Error\"\nmsgstr \"500 - 服务器内部错误\"\n\n#: src/labels.h:554\nmsgid \"501 - Not Implemented\"\nmsgstr \"501 - 未实现\"\n\n#: src/labels.h:556\nmsgid \"502 - Bad Gateway: Received an invalid response from the upstream\"\nmsgstr \"502 - 错误网关：从上游收到无效响应\"\n\n#: src/labels.h:558\nmsgid \"503 - Service Unavailable: The server is currently unavailable\"\nmsgstr \"503 - 服务不可用：服务器暂时不可用\"\n\n#: src/labels.h:560\nmsgid \"504 - Gateway Timeout: The upstream server failed to send request\"\nmsgstr \"504 - 网关超时：上游服务器未能发送请求\"\n\n#: src/labels.h:562\nmsgid \"505 - HTTP Version Not Supported\"\nmsgstr \"505 - 不支持的HTTP版本\"\n\n#: src/labels.h:564\nmsgid \"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\"\nmsgstr \"509 - 超出带宽限制：服务器带宽已耗尽\"\n\n#: src/labels.h:566\nmsgid \"520 - CloudFlare - Web server is returning an unknown error\"\nmsgstr \"520 - CloudFlare - Web服务器返回未知错误\"\n\n#: src/labels.h:568\nmsgid \"521 - CloudFlare - Web server is down\"\nmsgstr \"521 - CloudFlare - Web服务器宕机\"\n\n#: src/labels.h:570\nmsgid \"522 - CloudFlare - Connection timed out\"\nmsgstr \"522 - CloudFlare - 连接超时\"\n\n#: src/labels.h:572\nmsgid \"523 - CloudFlare - Origin is unreachable\"\nmsgstr \"523 - CloudFlare - 源站不可达\"\n\n#: src/labels.h:574\nmsgid \"524 - CloudFlare - A timeout occurred\"\nmsgstr \"524 - CloudFlare - 发生超时\"\n\n#: src/labels.h:576\nmsgid \"\"\n\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS \"\n\"handshake\"\nmsgstr \"525 - SSL握手失败：Cloudflare无法协商SSL/TLS握手\"\n\n#: src/labels.h:578\nmsgid \"\"\n\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL \"\n\"certificate\"\nmsgstr \"526 - 无效SSL证书：Cloudflare无法验证SSL证书\"\n\n#: src/labels.h:580\nmsgid \"527 - Railgun Error: An interrupted connection\"\nmsgstr \"527 - Railgun错误：连接中断\"\n\n#: src/labels.h:582\nmsgid \"529 - Site is overloaded: A site can not process the request\"\nmsgstr \"529 - 站点过载：站点无法处理请求\"\n\n#: src/labels.h:584\nmsgid \"530 - Site is frozen: A site has been frozen due to inactivity\"\nmsgstr \"530 - 站点冻结：因不活动站点被冻结\"\n\n#: src/labels.h:586\nmsgid \"\"\n\"540 - Temporarily Disabled: The requested endpoint has been temporarily \"\n\"disabled\"\nmsgstr \"540 - 暂时禁用：请求的端点已被临时禁用\"\n\n#: src/labels.h:588\nmsgid \"561 - Unauthorized: An error around authentication\"\nmsgstr \"561 - 未授权：认证相关错误\"\n\n#: src/labels.h:590\nmsgid \"\"\n\"598 - Network read timeout error: some HTTP proxies to signal a network read \"\n\"timeout\"\nmsgstr \"598 - 网络读取超时：某些HTTP代理表示网络读取超时\"\n\n#: src/labels.h:592\nmsgid \"599 - Network Connect Timeout Error: An error used by some HTTP proxies\"\nmsgstr \"599 - 网络连接超时：某些HTTP代理使用的错误\"\n\n#: src/labels.h:594\nmsgid \"783 - Unexpected Token: The request includes a JSON syntax error\"\nmsgstr \"783 - 意外令牌：请求包含JSON语法错误\"\n\n#: src/labels.h:598\nmsgid \"Menu\"\nmsgstr \"菜单\"\n\n#: src/labels.h:600\nmsgid \"Settings\"\nmsgstr \"设置\"\n\n#: src/labels.h:602\nmsgid \"WebSocket Status: Connected\"\nmsgstr \"WebSocket 状态：已连接\"\n\n#: src/labels.h:604\nmsgid \"WebSocket Status: Disconnected\"\nmsgstr \"WebSocket 状态：已断开\"\n"
  },
  {
    "path": "resources/cities-10m.json",
    "content": "{\"type\":\"Topology\",\"objects\":{\"cities\":{\"type\":\"GeometryCollection\",\"geometries\":[{\"type\":\"Point\",\"coordinates\":[-57.836116004496425,-34.469787716602944],\"properties\":{\"NAME\":\"Colonia del Sacramento\",\"NAMEASCII\":\"Colonia del Sacramento\",\"POP_MAX\":21714,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-56.9009966,-33.5439989],\"properties\":{\"NAME\":\"Trinidad\",\"NAMEASCII\":\"Trinidad\",\"POP_MAX\":21093,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-58.3039975,-33.138999],\"properties\":{\"NAME\":\"Fray Bentos\",\"NAMEASCII\":\"Fray Bentos\",\"POP_MAX\":23279,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-56.2840015,-34.538004],\"properties\":{\"NAME\":\"Canelones\",\"NAMEASCII\":\"Canelones\",\"POP_MAX\":19698,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-56.2149984,-34.099002],\"properties\":{\"NAME\":\"Florida\",\"NAMEASCII\":\"Florida\",\"POP_MAX\":32234,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[0.7890036,9.2610001],\"properties\":{\"NAME\":\"Bassar\",\"NAMEASCII\":\"Bassar\",\"POP_MAX\":61845,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[0.9849965,8.5570021],\"properties\":{\"NAME\":\"Sotouboua\",\"NAMEASCII\":\"Sotouboua\",\"POP_MAX\":21054,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[10.4166996,33.399999],\"properties\":{\"NAME\":\"Medenine\",\"NAMEASCII\":\"Medenine\",\"POP_MAX\":61705,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.9710025,33.689997],\"properties\":{\"NAME\":\"Kebili\",\"NAMEASCII\":\"Kebili\",\"POP_MAX\":19875,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.4667036,33.0000032],\"properties\":{\"NAME\":\"Tataouine\",\"NAMEASCII\":\"Tataouine\",\"POP_MAX\":62577,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.1999975,36.8666732],\"properties\":{\"NAME\":\"L'Ariana\",\"NAMEASCII\":\"L'Ariana\",\"POP_MAX\":97687,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.7499986,36.5000041],\"properties\":{\"NAME\":\"Jendouba\",\"NAMEASCII\":\"Jendouba\",\"POP_MAX\":51408,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.7166985,35.2167031],\"properties\":{\"NAME\":\"Kasserine\",\"NAMEASCII\":\"Kasserine\",\"POP_MAX\":76243,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[9.5000045,35.0166961],\"properties\":{\"NAME\":\"Sdid Bouzid\",\"NAMEASCII\":\"Sdid Bouzid\",\"POP_MAX\":42098,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[9.3833016,36.0833041],\"properties\":{\"NAME\":\"Siliana\",\"NAMEASCII\":\"Siliana\",\"POP_MAX\":26960,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[11.0408766,35.483913],\"properties\":{\"NAME\":\"Mahdia\",\"NAMEASCII\":\"Mahdia\",\"POP_MAX\":45977,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.7672946,35.7307021],\"properties\":{\"NAME\":\"Monastir\",\"NAMEASCII\":\"Monastir\",\"POP_MAX\":71546,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.1469966,36.3999962],\"properties\":{\"NAME\":\"Zaghouan\",\"NAMEASCII\":\"Zaghouan\",\"POP_MAX\":16911,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[106.1469997,11.3229991],\"properties\":{\"NAME\":\"Tây Ninh\",\"NAMEASCII\":\"Tay Ninh\",\"POP_MAX\":126370,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[103.3430047,21.740004],\"properties\":{\"NAME\":\"Luan Chau\",\"NAMEASCII\":\"Luan Chau\",\"POP_MAX\":7335,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.8333333,22.1333333],\"properties\":{\"NAME\":\"Bắc Kạn\",\"NAMEASCII\":\"Bac Kan\",\"POP_MAX\":29227,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.7570016,21.8459971],\"properties\":{\"NAME\":\"Lạng Sơn\",\"NAMEASCII\":\"Lang Son\",\"POP_MAX\":148000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[103.9100047,21.3280021],\"properties\":{\"NAME\":\"Sơn La\",\"NAMEASCII\":\"Son La\",\"POP_MAX\":19054,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.2109996,21.8179981],\"properties\":{\"NAME\":\"Tuyên Quang\",\"NAMEASCII\":\"Tuyen Quang\",\"POP_MAX\":36430,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[104.8750026,21.705003],\"properties\":{\"NAME\":\"Yên Bái\",\"NAMEASCII\":\"Yen Bai\",\"POP_MAX\":96540,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.3310046,20.9420011],\"properties\":{\"NAME\":\"Hai Duong\",\"NAMEASCII\":\"Hai Duong\",\"POP_MAX\":58030,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.3330296,20.4503041],\"properties\":{\"NAME\":\"Thái Bình\",\"NAMEASCII\":\"Thai Binh\",\"POP_MAX\":210000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[109.3159987,13.082004],\"properties\":{\"NAME\":\"Tuy Hòa\",\"NAMEASCII\":\"Tuy Hoa\",\"POP_MAX\":69596,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.6527455,10.9690741],\"properties\":{\"NAME\":\"Thu Dau Mot\",\"NAMEASCII\":\"Thu Dau Mot\",\"POP_MAX\":244277,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[107.1333007,16.8499981],\"properties\":{\"NAME\":\"Đông Hà\",\"NAMEASCII\":\"Dong Ha\",\"POP_MAX\":17662,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.6359976,10.4670001],\"properties\":{\"NAME\":\"Cao Lãnh\",\"NAMEASCII\":\"Cao Lanh\",\"POP_MAX\":149837,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.3749966,10.234998],\"properties\":{\"NAME\":\"Truc Giang\",\"NAMEASCII\":\"Truc Giang\",\"POP_MAX\":59442,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.3340017,9.9340021],\"properties\":{\"NAME\":\"Tra Vinh\",\"NAMEASCII\":\"Tra Vinh\",\"POP_MAX\":131360,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.9640026,10.256004],\"properties\":{\"NAME\":\"Vĩnh Long\",\"NAMEASCII\":\"Vinh Long\",\"POP_MAX\":103314,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.2680046,22.6639981],\"properties\":{\"NAME\":\"Cao Bằng\",\"NAMEASCII\":\"Cao Bang\",\"POP_MAX\":41112,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[-87.12850166584191,15.129829181166658],\"properties\":{\"NAME\":\"Yoro\",\"NAMEASCII\":\"Yoro\",\"POP_MAX\":15774,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-88.1666995,14.3330041],\"properties\":{\"NAME\":\"La Esperanza\",\"NAMEASCII\":\"La Esperanza\",\"POP_MAX\":5318,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-87.6840026,14.319999],\"properties\":{\"NAME\":\"La Paz\",\"NAMEASCII\":\"La Paz\",\"POP_MAX\":17555,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-88.2359996,14.919003],\"properties\":{\"NAME\":\"Santa Bárbara\",\"NAMEASCII\":\"Santa Barbara\",\"POP_MAX\":15119,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-88.5833005,14.5833031],\"properties\":{\"NAME\":\"Gracias\",\"NAMEASCII\":\"Gracias\",\"POP_MAX\":7909,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-89.1819985,14.4369991],\"properties\":{\"NAME\":\"Nueva Ocotepeque\",\"NAMEASCII\":\"Nueva Ocotepeque\",\"POP_MAX\":8780,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-86.8509985,13.943997],\"properties\":{\"NAME\":\"Yuscarán\",\"NAMEASCII\":\"Yuscaran\",\"POP_MAX\":2371,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-74.1184253,18.6339347],\"properties\":{\"NAME\":\"Jérémie\",\"NAMEASCII\":\"Jeremie\",\"POP_MAX\":30917,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-72.8294845,19.9317601],\"properties\":{\"NAME\":\"Port-De-Paix\",\"NAMEASCII\":\"Port-De-Paix\",\"POP_MAX\":34657,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-72.0039956,19.1430001],\"properties\":{\"NAME\":\"Hinche\",\"NAMEASCII\":\"Hinche\",\"POP_MAX\":18590,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-71.8448395,19.665567],\"properties\":{\"NAME\":\"Fort-Liberté\",\"NAMEASCII\":\"Fort-Liberte\",\"POP_MAX\":11465,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-72.5370026,18.234999],\"properties\":{\"NAME\":\"Jacmel\",\"NAMEASCII\":\"Jacmel\",\"POP_MAX\":33563,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[27.2259996,41.7429992],\"properties\":{\"NAME\":\"Kırklareli\",\"NAMEASCII\":\"Kirklareli\",\"POP_MAX\":58223,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.9829966,40.149999],\"properties\":{\"NAME\":\"Bilecik\",\"NAMEASCII\":\"Bilecik\",\"POP_MAX\":40285,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.4000025,40.7666611],\"properties\":{\"NAME\":\"Sakarya\",\"NAMEASCII\":\"Sakarya\",\"POP_MAX\":286787,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[33.7830035,41.3890022],\"properties\":{\"NAME\":\"Kastamonu\",\"NAMEASCII\":\"Kastamonu\",\"POP_MAX\":70402,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.2833355,37.7166601],\"properties\":{\"NAME\":\"Burdur\",\"NAMEASCII\":\"Burdur\",\"POP_MAX\":66158,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.1710026,39.1419992],\"properties\":{\"NAME\":\"Kırşehir\",\"NAMEASCII\":\"Kirsehir\",\"POP_MAX\":94336,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.7239985,38.624004],\"properties\":{\"NAME\":\"Nevşehir\",\"NAMEASCII\":\"Nevsehir\",\"POP_MAX\":75527,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[36.1166766,36.2333341],\"properties\":{\"NAME\":\"Antakya\",\"NAMEASCII\":\"Antakya\",\"POP_MAX\":154803,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[38.3900045,40.9130011],\"properties\":{\"NAME\":\"Giresun\",\"NAMEASCII\":\"Giresun\",\"POP_MAX\":98864,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.1530015,42.022998],\"properties\":{\"NAME\":\"Sinop\",\"NAMEASCII\":\"Sinop\",\"POP_MAX\":34834,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[36.5630045,40.3059962],\"properties\":{\"NAME\":\"Tokat\",\"NAMEASCII\":\"Tokat\",\"POP_MAX\":129702,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.8179965,41.1830011],\"properties\":{\"NAME\":\"Artvin\",\"NAMEASCII\":\"Artvin\",\"POP_MAX\":32272,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[40.4980026,38.885004],\"properties\":{\"NAME\":\"Bingöl\",\"NAMEASCII\":\"Bingol\",\"POP_MAX\":80568,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[42.1229976,38.3940001],\"properties\":{\"NAME\":\"Bitlis\",\"NAMEASCII\":\"Bitlis\",\"POP_MAX\":62811,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[32.225,-0.3088889],\"properties\":{\"NAME\":\"Kalangala\",\"NAMEASCII\":\"Kalangala\",\"POP_MAX\":5200,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.6210036,40.607001],\"properties\":{\"NAME\":\"Çankırı\",\"NAMEASCII\":\"Cankiri\",\"POP_MAX\":71379,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.6940016,37.9760041],\"properties\":{\"NAME\":\"Niğde\",\"NAMEASCII\":\"Nigde\",\"POP_MAX\":91039,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.8149975,39.8179981],\"properties\":{\"NAME\":\"Yozgat\",\"NAMEASCII\":\"Yozgat\",\"POP_MAX\":87881,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[39.4839996,40.4640001],\"properties\":{\"NAME\":\"Gümüşhane\",\"NAMEASCII\":\"Gumushane\",\"POP_MAX\":32250,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.9329986,37.9440001],\"properties\":{\"NAME\":\"Siirt\",\"NAMEASCII\":\"Siirt\",\"POP_MAX\":114034,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[39.5333015,39.1167],\"properties\":{\"NAME\":\"Tunceli\",\"NAMEASCII\":\"Tunceli\",\"POP_MAX\":29062,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[33.9361111,1.4608333],\"properties\":{\"NAME\":\"Kumi\",\"NAMEASCII\":\"Kumi\",\"POP_MAX\":13000,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.1594444,1.7388889],\"properties\":{\"NAME\":\"Kaberamaido\",\"NAMEASCII\":\"Kaberamaido\",\"POP_MAX\":3400,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.8886111,0.7025],\"properties\":{\"NAME\":\"Kayunga\",\"NAMEASCII\":\"Kayunga\",\"POP_MAX\":21704,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.4686111,0.6091667],\"properties\":{\"NAME\":\"Iganga\",\"NAMEASCII\":\"Iganga\",\"POP_MAX\":45024,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.1197222,0.9472222],\"properties\":{\"NAME\":\"Kamuli\",\"NAMEASCII\":\"Kamuli\",\"POP_MAX\":12764,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.7094444,1.145],\"properties\":{\"NAME\":\"Pallisa\",\"NAMEASCII\":\"Pallisa\",\"POP_MAX\":30745,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.3136111,0.225],\"properties\":{\"NAME\":\"Mpigi\",\"NAMEASCII\":\"Mpigi\",\"POP_MAX\":11082,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.8097222,3.3613889],\"properties\":{\"NAME\":\"Adjumani\",\"NAMEASCII\":\"Adjumani\",\"POP_MAX\":34700,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.1025,2.4758333],\"properties\":{\"NAME\":\"Nebbi\",\"NAMEASCII\":\"Nebbi\",\"POP_MAX\":30354,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.7741667,0.9161111],\"properties\":{\"NAME\":\"Kiboga\",\"NAMEASCII\":\"Kiboga\",\"POP_MAX\":14512,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.4563889,1.3088889],\"properties\":{\"NAME\":\"Nakasongola\",\"NAMEASCII\":\"Nakasongola\",\"POP_MAX\":6921,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.5332995,0.5832991],\"properties\":{\"NAME\":\"Bombo\",\"NAMEASCII\":\"Bombo\",\"POP_MAX\":75000,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.715,1.6744444],\"properties\":{\"NAME\":\"Masindi\",\"NAMEASCII\":\"Masindi\",\"POP_MAX\":31486,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[30.2750016,0.6710041],\"properties\":{\"NAME\":\"Fort Portal\",\"NAMEASCII\":\"Fort Portal\",\"POP_MAX\":42670,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.0666667,0.8],\"properties\":{\"NAME\":\"Kibale\",\"NAMEASCII\":\"Kibale\",\"POP_MAX\":5200,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.3,1.25],\"properties\":{\"NAME\":\"Sironko\",\"NAMEASCII\":\"Sironko\",\"POP_MAX\":14100,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.0758333,0.4544444],\"properties\":{\"NAME\":\"Busia\",\"NAMEASCII\":\"Busia\",\"POP_MAX\":47100,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.9661111,1.8911111],\"properties\":{\"NAME\":\"Katakwi\",\"NAMEASCII\":\"Katakwi\",\"POP_MAX\":8400,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[17.9109996,47.0909971],\"properties\":{\"NAME\":\"Veszprém\",\"NAMEASCII\":\"Veszprem\",\"POP_MAX\":62023,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[16.8399996,46.844001],\"properties\":{\"NAME\":\"Zalaegerszeg\",\"NAMEASCII\":\"Zalaegerszeg\",\"POP_MAX\":61898,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[18.4329996,47.5499972],\"properties\":{\"NAME\":\"Tatabánya\",\"NAMEASCII\":\"Tatabanya\",\"POP_MAX\":70541,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[18.7129986,46.3439971],\"properties\":{\"NAME\":\"Szekszárd\",\"NAMEASCII\":\"Szekszard\",\"POP_MAX\":34174,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[19.8260016,48.1050001],\"properties\":{\"NAME\":\"Salgótarján\",\"NAMEASCII\":\"Salgotarjan\",\"POP_MAX\":39640,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[21.1010046,46.6720021],\"properties\":{\"NAME\":\"Békéscsaba\",\"NAMEASCII\":\"Bekescsaba\",\"POP_MAX\":65206,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[20.3830026,47.8950031],\"properties\":{\"NAME\":\"Eger\",\"NAMEASCII\":\"Eger\",\"POP_MAX\":56647,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[30.2641667,-0.8794444],\"properties\":{\"NAME\":\"Ntungamo\",\"NAMEASCII\":\"Ntungamo\",\"POP_MAX\":16400,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[29.6983333,-1.3538889],\"properties\":{\"NAME\":\"Kisoro\",\"NAMEASCII\":\"Kisoro\",\"POP_MAX\":12900,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[29.5667016,-2.4832979],\"properties\":{\"NAME\":\"Gikongoro\",\"NAMEASCII\":\"Gikongoro\",\"POP_MAX\":15000,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[29.3499996,-2.050002],\"properties\":{\"NAME\":\"Kibuye\",\"NAMEASCII\":\"Kibuye\",\"POP_MAX\":48024,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[30.5333016,-2.1666959],\"properties\":{\"NAME\":\"Kibungo\",\"NAMEASCII\":\"Kibungo\",\"POP_MAX\":46240,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[23.2740006,45.045],\"properties\":{\"NAME\":\"Târgu Jiu\",\"NAMEASCII\":\"Targu Jiu\",\"POP_MAX\":97179,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.3710016,44.4349981],\"properties\":{\"NAME\":\"Slatina\",\"NAMEASCII\":\"Slatina\",\"POP_MAX\":78988,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.329884897537326,43.97437013604364],\"properties\":{\"NAME\":\"Alexandria\",\"NAMEASCII\":\"Alexandria\",\"POP_MAX\":49346,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.4590025,44.9379991],\"properties\":{\"NAME\":\"Târgoviște\",\"NAMEASCII\":\"Targoviste\",\"POP_MAX\":88435,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.96632527518501,43.90180698686904],\"properties\":{\"NAME\":\"Giurgiu\",\"NAMEASCII\":\"Giurgiu\",\"POP_MAX\":69067,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[27.3819966,44.5699981],\"properties\":{\"NAME\":\"Slobozia\",\"NAMEASCII\":\"Slobozia\",\"POP_MAX\":52693,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[36.1050035,32.6250001],\"properties\":{\"NAME\":\"Dar'a\",\"NAMEASCII\":\"Dar'a\",\"POP_MAX\":146481,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[7.3449995,47.3699971],\"properties\":{\"NAME\":\"Delémont\",\"NAMEASCII\":\"Delemont\",\"POP_MAX\":11315,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[6.9229986,46.9989991],\"properties\":{\"NAME\":\"Neuchâtel\",\"NAMEASCII\":\"Neuchatel\",\"POP_MAX\":31270,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.0340036,47.3900041],\"properties\":{\"NAME\":\"Aarau\",\"NAMEASCII\":\"Aarau\",\"POP_MAX\":15501,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.3833025,46.9500031],\"properties\":{\"NAME\":\"Stans\",\"NAMEASCII\":\"Stans\",\"POP_MAX\":7475,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[7.3539995,46.239003],\"properties\":{\"NAME\":\"Sion\",\"NAMEASCII\":\"Sion\",\"POP_MAX\":28045,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[9.2833025,47.383299],\"properties\":{\"NAME\":\"Herisau\",\"NAMEASCII\":\"Herisau\",\"POP_MAX\":15438,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[9.3619986,47.4229981],\"properties\":{\"NAME\":\"Saint Gallen\",\"NAMEASCII\":\"Saint Gallen\",\"POP_MAX\":70572,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[9.0199986,46.1970001],\"properties\":{\"NAME\":\"Bellinzona\",\"NAMEASCII\":\"Bellinzona\",\"POP_MAX\":16572,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[9.0666996,47.050002],\"properties\":{\"NAME\":\"Glarus\",\"NAMEASCII\":\"Glarus\",\"POP_MAX\":5681,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.6329985,47.7060031],\"properties\":{\"NAME\":\"Schaffhausen\",\"NAMEASCII\":\"Schaffhausen\",\"POP_MAX\":33863,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.6480016,47.019996],\"properties\":{\"NAME\":\"Schwyz\",\"NAMEASCII\":\"Schwyz\",\"POP_MAX\":14177,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.904888469310368,47.55261942265613],\"properties\":{\"NAME\":\"Frauenfeld\",\"NAMEASCII\":\"Frauenfeld\",\"POP_MAX\":21979,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.6380026,46.8790021],\"properties\":{\"NAME\":\"Altdorf\",\"NAMEASCII\":\"Altdorf\",\"POP_MAX\":8678,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.4870006,47.178999],\"properties\":{\"NAME\":\"Zug\",\"NAMEASCII\":\"Zug\",\"POP_MAX\":23435,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[15.6470046,60.613002],\"properties\":{\"NAME\":\"Falun\",\"NAMEASCII\":\"Falun\",\"POP_MAX\":36477,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[16.996082309454142,58.75198993360234],\"properties\":{\"NAME\":\"Nyköping\",\"NAMEASCII\":\"Nykoping\",\"POP_MAX\":27582,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[17.9340036,62.633997],\"properties\":{\"NAME\":\"Härnösand\",\"NAMEASCII\":\"Harnosand\",\"POP_MAX\":17016,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[15.590754198529854,56.1627806414939],\"properties\":{\"NAME\":\"Karlskrona\",\"NAMEASCII\":\"Karlskrona\",\"POP_MAX\":35212,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[23.5800006,46.0770031],\"properties\":{\"NAME\":\"Alba Lulia\",\"NAMEASCII\":\"Alba Lulia\",\"POP_MAX\":66085,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.5130036,47.1380041],\"properties\":{\"NAME\":\"Bistrița\",\"NAMEASCII\":\"Bistrita\",\"POP_MAX\":81318,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[22.9166736,45.883323],\"properties\":{\"NAME\":\"Deva\",\"NAMEASCII\":\"Deva\",\"POP_MAX\":67802,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[23.0630045,47.1750031],\"properties\":{\"NAME\":\"Zalău\",\"NAMEASCII\":\"Zalau\",\"POP_MAX\":63232,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[22.8850025,47.7919982],\"properties\":{\"NAME\":\"Satu Mare\",\"NAMEASCII\":\"Satu Mare\",\"POP_MAX\":112490,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.3829986,45.109998],\"properties\":{\"NAME\":\"Rimnicu Vilcea\",\"NAMEASCII\":\"Rimnicu Vilcea\",\"POP_MAX\":107558,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.7930015,45.8679961],\"properties\":{\"NAME\":\"Sfintu-Gheorghe\",\"NAMEASCII\":\"Sfintu-Gheorghe\",\"POP_MAX\":60677,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.5240005,46.3609981],\"properties\":{\"NAME\":\"Miercurea Cuic\",\"NAMEASCII\":\"Miercurea Cuic\",\"POP_MAX\":42029,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.3829966,46.9400041],\"properties\":{\"NAME\":\"Piatra-Neamt\",\"NAMEASCII\":\"Piatra-Neamt\",\"POP_MAX\":102688,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[27.9690035,45.2919961],\"properties\":{\"NAME\":\"Brăila\",\"NAMEASCII\":\"Braila\",\"POP_MAX\":213569,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[27.7333386,46.6333291],\"properties\":{\"NAME\":\"Vaslui\",\"NAMEASCII\":\"Vaslui\",\"POP_MAX\":69225,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[82.1833026,28.35],\"properties\":{\"NAME\":\"Salyan\",\"NAMEASCII\":\"Salyan\",\"POP_MAX\":15000,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[97.9689967,19.3010041],\"properties\":{\"NAME\":\"Mae Hong Son\",\"NAMEASCII\":\"Mae Hong Son\",\"POP_MAX\":9109,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[98.5339986,8.4510001],\"properties\":{\"NAME\":\"Phangnga\",\"NAMEASCII\":\"Phangnga\",\"POP_MAX\":9676,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[98.6380026,9.9620011],\"properties\":{\"NAME\":\"Ranong\",\"NAMEASCII\":\"Ranong\",\"POP_MAX\":24561,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[98.9119987,8.0520031],\"properties\":{\"NAME\":\"Krabi\",\"NAMEASCII\":\"Krabi\",\"POP_MAX\":31219,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0809996,7.614999],\"properties\":{\"NAME\":\"Phatthalung\",\"NAMEASCII\":\"Phatthalung\",\"POP_MAX\":43522,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0666986,6.6167011],\"properties\":{\"NAME\":\"Satun\",\"NAMEASCII\":\"Satun\",\"POP_MAX\":34544,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.00705227721275,18.573985128315552],\"properties\":{\"NAME\":\"Lamphun\",\"NAMEASCII\":\"Lamphun\",\"POP_MAX\":14030,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.5290027,16.472997],\"properties\":{\"NAME\":\"Kamphaeng Phet\",\"NAMEASCII\":\"Kamphaeng Phet\",\"POP_MAX\":58787,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.3490017,16.439004],\"properties\":{\"NAME\":\"Phichit\",\"NAMEASCII\":\"Phichit\",\"POP_MAX\":35760,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.1590017,16.4189971],\"properties\":{\"NAME\":\"Phetchabun\",\"NAMEASCII\":\"Phetchabun\",\"POP_MAX\":50656,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.1289966,14.471001],\"properties\":{\"NAME\":\"Supham Buri\",\"NAMEASCII\":\"Supham Buri\",\"POP_MAX\":53399,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.4499997,14.5833031],\"properties\":{\"NAME\":\"Ang Thong\",\"NAMEASCII\":\"Ang Thong\",\"POP_MAX\":13738,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.1259997,15.179004],\"properties\":{\"NAME\":\"Chainat\",\"NAMEASCII\":\"Chainat\",\"POP_MAX\":15469,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.2159987,14.200002],\"properties\":{\"NAME\":\"Nakhon Nayok\",\"NAMEASCII\":\"Nakhon Nayok\",\"POP_MAX\":21309,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.4010036,14.886999],\"properties\":{\"NAME\":\"Sing Buri\",\"NAMEASCII\":\"Sing Buri\",\"POP_MAX\":20046,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0639986,13.8179971],\"properties\":{\"NAME\":\"Nakhon Pathom\",\"NAMEASCII\":\"Nakhon Pathom\",\"POP_MAX\":117927,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.8000017,11.802996],\"properties\":{\"NAME\":\"Prachuap Khiri Khan\",\"NAMEASCII\":\"Prachuap Khiri Khan\",\"POP_MAX\":33521,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.2740046,13.536],\"properties\":{\"NAME\":\"Samut Sakhon\",\"NAMEASCII\":\"Samut Sakhon\",\"POP_MAX\":63498,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0009986,13.412997],\"properties\":{\"NAME\":\"Samut Songkhram\",\"NAMEASCII\":\"Samut Songkhram\",\"POP_MAX\":35065,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[104.1509977,15.7879981],\"properties\":{\"NAME\":\"Yasothon\",\"NAMEASCII\":\"Yasothon\",\"POP_MAX\":21643,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.0760037,13.6790011],\"properties\":{\"NAME\":\"Chachoengsao\",\"NAMEASCII\":\"Chachoengsao\",\"POP_MAX\":49741,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.5090016,12.2370031],\"properties\":{\"NAME\":\"Trat\",\"NAMEASCII\":\"Trat\",\"POP_MAX\":21590,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.5090007,16.4279971],\"properties\":{\"NAME\":\"Kalasin\",\"NAMEASCII\":\"Kalasin\",\"POP_MAX\":55102,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.2980045,16.183998],\"properties\":{\"NAME\":\"Maha Sarakham\",\"NAMEASCII\":\"Maha Sarakham\",\"POP_MAX\":51584,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.6549986,16.050996],\"properties\":{\"NAME\":\"Roi Et\",\"NAMEASCII\":\"Roi Et\",\"POP_MAX\":39328,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.2500006,6.864003],\"properties\":{\"NAME\":\"Pattani\",\"NAMEASCII\":\"Pattani\",\"POP_MAX\":150000,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[31.2470015,-25.961004],\"properties\":{\"NAME\":\"Piggs Peak\",\"NAMEASCII\":\"Piggs Peak\",\"POP_MAX\":5750,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[31.9519986,-26.454996],\"properties\":{\"NAME\":\"Siteki\",\"NAMEASCII\":\"Siteki\",\"POP_MAX\":6152,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[31.3880045,-26.4950011],\"properties\":{\"NAME\":\"Manzini\",\"NAMEASCII\":\"Manzini\",\"POP_MAX\":110537,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[31.31013696846293,-26.96081493079398],\"properties\":{\"NAME\":\"Hlatikulu\",\"NAMEASCII\":\"Hlatikulu\",\"POP_MAX\":2748,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[-86.5829966,13.4759971],\"properties\":{\"NAME\":\"Somoto\",\"NAMEASCII\":\"Somoto\",\"POP_MAX\":20316,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-86.4729986,13.629996],\"properties\":{\"NAME\":\"Ocotal\",\"NAMEASCII\":\"Ocotal\",\"POP_MAX\":33928,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-8.6509975,40.6410031],\"properties\":{\"NAME\":\"Aveiro\",\"NAMEASCII\":\"Aveiro\",\"POP_MAX\":54162,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.8049965,39.738996],\"properties\":{\"NAME\":\"Leiria\",\"NAMEASCII\":\"Leiria\",\"POP_MAX\":45112,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.8441375,41.6962351],\"properties\":{\"NAME\":\"Viana Do Castelo\",\"NAMEASCII\":\"Viana Do Castelo\",\"POP_MAX\":15555,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-6.3379975,38.912004],\"properties\":{\"NAME\":\"Mérida\",\"NAMEASCII\":\"Merida\",\"POP_MAX\":52423,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-7.8630024,38.0140021],\"properties\":{\"NAME\":\"Beja\",\"NAMEASCII\":\"Beja\",\"POP_MAX\":35854,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.9059956,38.5599961],\"properties\":{\"NAME\":\"Évora\",\"NAMEASCII\":\"Evora\",\"POP_MAX\":55620,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.4230015,39.2900041],\"properties\":{\"NAME\":\"Portalegre\",\"NAMEASCII\":\"Portalegre\",\"POP_MAX\":15581,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.6820026,39.2310001],\"properties\":{\"NAME\":\"Santarém\",\"NAMEASCII\":\"Santarem\",\"POP_MAX\":29385,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-6.7550034,41.807997],\"properties\":{\"NAME\":\"Bragança\",\"NAMEASCII\":\"Braganca\",\"POP_MAX\":34375,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.4879996,39.8109961],\"properties\":{\"NAME\":\"Castelo Branco\",\"NAMEASCII\":\"Castelo Branco\",\"POP_MAX\":33479,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.2620005,40.5410041],\"properties\":{\"NAME\":\"Guarda\",\"NAMEASCII\":\"Guarda\",\"POP_MAX\":32111,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.9100004,40.6569961],\"properties\":{\"NAME\":\"Viseu\",\"NAMEASCII\":\"Viseu\",\"POP_MAX\":26364,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.7370025,41.2939981],\"properties\":{\"NAME\":\"Vila Real\",\"NAMEASCII\":\"Vila Real\",\"POP_MAX\":17001,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-16.4159995,14.3440021],\"properties\":{\"NAME\":\"Fatick\",\"NAMEASCII\":\"Fatick\",\"POP_MAX\":24243,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[37.3332965,31.333302],\"properties\":{\"NAME\":\"An Nabk\",\"NAMEASCII\":\"An Nabk\",\"POP_MAX\":10000,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[6.5500026,53.0000011],\"properties\":{\"NAME\":\"Assen\",\"NAMEASCII\":\"Assen\",\"POP_MAX\":62237,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[5.9229996,51.987996],\"properties\":{\"NAME\":\"Arnhem\",\"NAMEASCII\":\"Arnhem\",\"POP_MAX\":141674,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[5.6770025,50.8529971],\"properties\":{\"NAME\":\"Maastricht\",\"NAMEASCII\":\"Maastricht\",\"POP_MAX\":122378,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[6.0969965,52.5240001],\"properties\":{\"NAME\":\"Zwolle\",\"NAMEASCII\":\"Zwolle\",\"POP_MAX\":111805,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[3.6099995,51.5019962],\"properties\":{\"NAME\":\"Middelburg\",\"NAMEASCII\":\"Middelburg\",\"POP_MAX\":46485,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[5.3166605,51.6833371],\"properties\":{\"NAME\":\"'s-Hertogenbosch\",\"NAMEASCII\":\"'s-Hertogenbosch\",\"POP_MAX\":134520,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[8.7660006,58.4647561],\"properties\":{\"NAME\":\"Arendal\",\"NAMEASCII\":\"Arendal\",\"POP_MAX\":30916,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[6.4410035,60.6300032],\"properties\":{\"NAME\":\"Vossavangen\",\"NAMEASCII\":\"Vossavangen\",\"POP_MAX\":5571,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[6.8499995,61.1832961],\"properties\":{\"NAME\":\"Leikanger\",\"NAMEASCII\":\"Leikanger\",\"POP_MAX\":1965,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[11.3472365,59.9134861],\"properties\":{\"NAME\":\"Bærum\",\"NAMEASCII\":\"Baerum\",\"POP_MAX\":113659,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[11.0690016,60.8200021],\"properties\":{\"NAME\":\"Hamar\",\"NAMEASCII\":\"Hamar\",\"POP_MAX\":29479,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[10.4210015,59.2640011],\"properties\":{\"NAME\":\"Tønsberg\",\"NAMEASCII\":\"Tonsberg\",\"POP_MAX\":38914,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[83.5832976,28.2666961],\"properties\":{\"NAME\":\"Baglung\",\"NAMEASCII\":\"Baglung\",\"POP_MAX\":23296,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[82.2167016,29.2500001],\"properties\":{\"NAME\":\"Jumla\",\"NAMEASCII\":\"Jumla\",\"POP_MAX\":9073,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[83.3832995,27.5333041],\"properties\":{\"NAME\":\"Bhairawa\",\"NAMEASCII\":\"Bhairawa\",\"POP_MAX\":63367,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[80.6000045,29.3000042],\"properties\":{\"NAME\":\"Dandeldhura\",\"NAMEASCII\":\"Dandeldhura\",\"POP_MAX\":19014,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[80.5930026,28.6949971],\"properties\":{\"NAME\":\"Dhangarhi\",\"NAMEASCII\":\"Dhangarhi\",\"POP_MAX\":92294,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[86.0869985,27.3259981],\"properties\":{\"NAME\":\"Ramechhap\",\"NAMEASCII\":\"Ramechhap\",\"POP_MAX\":15000,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[85.1300016,27.5509981],\"properties\":{\"NAME\":\"Bhimphedi\",\"NAMEASCII\":\"Bhimphedi\",\"POP_MAX\":15000,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[86.7332976,26.5332961],\"properties\":{\"NAME\":\"Rajbiraj\",\"NAMEASCII\":\"Rajbiraj\",\"POP_MAX\":33061,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[87.9260045,26.9080021],\"properties\":{\"NAME\":\"Ilam\",\"NAMEASCII\":\"Ilam\",\"POP_MAX\":17491,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[143.7180037,-5.49],\"properties\":{\"NAME\":\"Wabag\",\"NAMEASCII\":\"Wabag\",\"POP_MAX\":3958,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[141.3039966,-2.6900009],\"properties\":{\"NAME\":\"Vanimo\",\"NAMEASCII\":\"Vanimo\",\"POP_MAX\":11204,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[144.9600127,-6.0229979],\"properties\":{\"NAME\":\"Kundiawa\",\"NAMEASCII\":\"Kundiawa\",\"POP_MAX\":9383,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[145.8379987,-7.9270019],\"properties\":{\"NAME\":\"Kerema\",\"NAMEASCII\":\"Kerema\",\"POP_MAX\":5646,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[155.5659907,-6.228],\"properties\":{\"NAME\":\"Arawa\",\"NAMEASCII\":\"Arawa\",\"POP_MAX\":40266,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[147.2799966,-2.032002],\"properties\":{\"NAME\":\"Lorengau\",\"NAMEASCII\":\"Lorengau\",\"POP_MAX\":5806,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[150.1430137,-5.5500029],\"properties\":{\"NAME\":\"Kimbe\",\"NAMEASCII\":\"Kimbe\",\"POP_MAX\":18847,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[29.1608333,47.2630556],\"properties\":{\"NAME\":\"Dubăsari\",\"NAMEASCII\":\"Dubasari\",\"POP_MAX\":23254,\"ISO_A2\":\"MD\",\"SOV_A3\":\"MDA\"}},{\"type\":\"Point\",\"coordinates\":[28.7019995,-30.1172669],\"properties\":{\"NAME\":\"Qacha's Nek\",\"NAMEASCII\":\"Qacha's Nek\",\"POP_MAX\":25573,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[43.8667026,4.183299],\"properties\":{\"NAME\":\"Hudur\",\"NAMEASCII\":\"Hudur\",\"POP_MAX\":1639,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[42.2270016,3.3270031],\"properties\":{\"NAME\":\"Garbahaarey\",\"NAMEASCII\":\"Garbahaarey\",\"POP_MAX\":12652,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[42.5833025,1.083303],\"properties\":{\"NAME\":\"Bu'aale\",\"NAMEASCII\":\"Bu'aale\",\"POP_MAX\":1490,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[46.382174120011776,5.531982307123475],\"properties\":{\"NAME\":\"Dhuusa Mareeb\",\"NAMEASCII\":\"Dhuusa Mareeb\",\"POP_MAX\":447,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[81.2330016,8.568999],\"properties\":{\"NAME\":\"Trincomalee\",\"NAMEASCII\":\"Trincomalee\",\"POP_MAX\":108420,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[79.8260045,8.0330041],\"properties\":{\"NAME\":\"Puttalan\",\"NAMEASCII\":\"Puttalan\",\"POP_MAX\":45661,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[80.3860026,6.6930031],\"properties\":{\"NAME\":\"Ratnapura\",\"NAMEASCII\":\"Ratnapura\",\"POP_MAX\":47832,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[7.4860025,5.532003],\"properties\":{\"NAME\":\"Umuahia\",\"NAMEASCII\":\"Umuahia\",\"POP_MAX\":264662,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.916152558612238,5.036013508874578],\"properties\":{\"NAME\":\"Uyo\",\"NAMEASCII\":\"Uyo\",\"POP_MAX\":554906,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.0260036,5.4929971],\"properties\":{\"NAME\":\"Owerri\",\"NAMEASCII\":\"Owerri\",\"POP_MAX\":215038,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[125.7620047,38.5070041],\"properties\":{\"NAME\":\"Sariwon\",\"NAMEASCII\":\"Sariwon\",\"POP_MAX\":154942,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.4639966,39.4880041],\"properties\":{\"NAME\":\"Sin-Ni\",\"NAMEASCII\":\"Sin-Ni\",\"POP_MAX\":19463,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[106.2000006,50.2499971],\"properties\":{\"NAME\":\"Suchboatar\",\"NAMEASCII\":\"Suchboatar\",\"POP_MAX\":24235,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[106.9470006,47.710998],\"properties\":{\"NAME\":\"Dzuunmod\",\"NAMEASCII\":\"Dzuunmod\",\"POP_MAX\":17738,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[15.9509975,-21.4360019],\"properties\":{\"NAME\":\"Omaruru\",\"NAMEASCII\":\"Omaruru\",\"POP_MAX\":11547,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[15.8529965,-21.9390029],\"properties\":{\"NAME\":\"Karibib\",\"NAMEASCII\":\"Karibib\",\"POP_MAX\":6898,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[17.3420015,-19.639998],\"properties\":{\"NAME\":\"Otavi\",\"NAMEASCII\":\"Otavi\",\"POP_MAX\":4562,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[18.9630005,-22.455],\"properties\":{\"NAME\":\"Gobabis\",\"NAMEASCII\":\"Gobabis\",\"POP_MAX\":16321,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[39.725799,-5.063464],\"properties\":{\"NAME\":\"Wete\",\"NAMEASCII\":\"Wete\",\"POP_MAX\":26450,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[38.9167026,-6.766704],\"properties\":{\"NAME\":\"Kibaha\",\"NAMEASCII\":\"Kibaha\",\"POP_MAX\":23651,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[39.2599986,-5.878998],\"properties\":{\"NAME\":\"Mkokotoni\",\"NAMEASCII\":\"Mkokotoni\",\"POP_MAX\":2572,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[7.1499965,46.8000001],\"properties\":{\"NAME\":\"Fribourg\",\"NAMEASCII\":\"Fribourg\",\"POP_MAX\":32827,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[7.7370035,47.4830011],\"properties\":{\"NAME\":\"Liestal\",\"NAMEASCII\":\"Liestal\",\"POP_MAX\":12832,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[7.5369966,47.2120021],\"properties\":{\"NAME\":\"Solothurn\",\"NAMEASCII\":\"Solothurn\",\"POP_MAX\":14853,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.2430015,46.899],\"properties\":{\"NAME\":\"Sarnen\",\"NAMEASCII\":\"Sarnen\",\"POP_MAX\":9410,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[13.8279966,58.7050021],\"properties\":{\"NAME\":\"Mariestad\",\"NAMEASCII\":\"Mariestad\",\"POP_MAX\":14891,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[12.3300006,58.3630021],\"properties\":{\"NAME\":\"Vannersborg\",\"NAMEASCII\":\"Vannersborg\",\"POP_MAX\":21835,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[9.4167005,47.3333041],\"properties\":{\"NAME\":\"Appenzell\",\"NAMEASCII\":\"Appenzell\",\"POP_MAX\":5649,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[-8.1833333,53.6333333],\"properties\":{\"NAME\":\"Ros Comain\",\"NAMEASCII\":\"Ros Comain\",\"POP_MAX\":4860,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-16.1649985,12.268998],\"properties\":{\"NAME\":\"Cacheu\",\"NAMEASCII\":\"Cacheu\",\"POP_MAX\":10490,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-15.2270004,12.492999],\"properties\":{\"NAME\":\"Farim\",\"NAMEASCII\":\"Farim\",\"POP_MAX\":6792,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-15.1949965,11.772999],\"properties\":{\"NAME\":\"Fulacunda\",\"NAMEASCII\":\"Fulacunda\",\"POP_MAX\":1311,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-14.2340035,12.2799961],\"properties\":{\"NAME\":\"Gabú\",\"NAMEASCII\":\"Gabu\",\"POP_MAX\":14430,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-15.25424569133715,11.273036476461991],\"properties\":{\"NAME\":\"Catió\",\"NAMEASCII\":\"Catio\",\"POP_MAX\":9898,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-8.23159527078132,4.674102754887166],\"properties\":{\"NAME\":\"Barclayville\",\"NAMEASCII\":\"Barclayville\",\"POP_MAX\":2733,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-9.7499965,8.4167011],\"properties\":{\"NAME\":\"Voinjama\",\"NAMEASCII\":\"Voinjama\",\"POP_MAX\":26594,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-10.6000015,6.433299],\"properties\":{\"NAME\":\"Bensonville\",\"NAMEASCII\":\"Bensonville\",\"POP_MAX\":4089,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-10.3490005,6.525999],\"properties\":{\"NAME\":\"Kakata\",\"NAMEASCII\":\"Kakata\",\"POP_MAX\":33945,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-8.6849995,7.3710001],\"properties\":{\"NAME\":\"Sanniquellie\",\"NAMEASCII\":\"Sanniquellie\",\"POP_MAX\":11415,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-9.5779974,5.464998],\"properties\":{\"NAME\":\"Rivercess\",\"NAMEASCII\":\"Rivercess\",\"POP_MAX\":2578,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[15.7989965,40.6420021],\"properties\":{\"NAME\":\"Potenza\",\"NAMEASCII\":\"Potenza\",\"POP_MAX\":69060,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.6559966,41.5629991],\"properties\":{\"NAME\":\"Campobasso\",\"NAMEASCII\":\"Campobasso\",\"POP_MAX\":50762,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[36.2332985,32.2832971],\"properties\":{\"NAME\":\"Al Mafraq\",\"NAMEASCII\":\"Al Mafraq\",\"POP_MAX\":57118,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[35.6000046,30.833334],\"properties\":{\"NAME\":\"At Tafilah\",\"NAMEASCII\":\"At Tafilah\",\"POP_MAX\":25429,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[35.7360036,30.1920031],\"properties\":{\"NAME\":\"Ma'an\",\"NAMEASCII\":\"Ma'an\",\"POP_MAX\":50350,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[7.3150026,45.7370011],\"properties\":{\"NAME\":\"Aosta\",\"NAMEASCII\":\"Aosta\",\"POP_MAX\":34062,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[6.1667016,49.8833011],\"properties\":{\"NAME\":\"Diekirch\",\"NAMEASCII\":\"Diekirch\",\"POP_MAX\":6242,\"ISO_A2\":\"LU\",\"SOV_A3\":\"LUX\"}},{\"type\":\"Point\",\"coordinates\":[6.425599376387133,49.67975296258291],\"properties\":{\"NAME\":\"Grevenmacher\",\"NAMEASCII\":\"Grevenmacher\",\"POP_MAX\":3958,\"ISO_A2\":\"LU\",\"SOV_A3\":\"LUX\"}},{\"type\":\"Point\",\"coordinates\":[100.1899987,6.433002],\"properties\":{\"NAME\":\"Kangar\",\"NAMEASCII\":\"Kangar\",\"POP_MAX\":63869,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[102.0420006,4.1840011],\"properties\":{\"NAME\":\"Kuala Lipis\",\"NAMEASCII\":\"Kuala Lipis\",\"POP_MAX\":15448,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[101.5499977,3.066696],\"properties\":{\"NAME\":\"Shah Alam\",\"NAMEASCII\":\"Shah Alam\",\"POP_MAX\":481654,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[36.9510036,-0.416997],\"properties\":{\"NAME\":\"Nyeri\",\"NAMEASCII\":\"Nyeri\",\"POP_MAX\":51084,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[27.7530035,-29.1529979],\"properties\":{\"NAME\":\"Teyateyaneng\",\"NAMEASCII\":\"Teyateyaneng\",\"POP_MAX\":5115,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[27.4799975,-30.1589999],\"properties\":{\"NAME\":\"Mohales Hoek\",\"NAMEASCII\":\"Mohales Hoek\",\"POP_MAX\":24992,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[27.7160045,-30.4109999],\"properties\":{\"NAME\":\"Moyeni\",\"NAMEASCII\":\"Moyeni\",\"POP_MAX\":24130,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[28.0559976,-28.878003],\"properties\":{\"NAME\":\"Hlotse\",\"NAMEASCII\":\"Hlotse\",\"POP_MAX\":47675,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[28.2500016,-28.7499959],\"properties\":{\"NAME\":\"Butha-Buthe\",\"NAMEASCII\":\"Butha-Buthe\",\"POP_MAX\":16330,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[29.0780015,-29.291004],\"properties\":{\"NAME\":\"Mokhotlong\",\"NAMEASCII\":\"Mokhotlong\",\"POP_MAX\":8809,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[-89.8450015,13.919004],\"properties\":{\"NAME\":\"Ahuachapán\",\"NAMEASCII\":\"Ahuachapan\",\"POP_MAX\":34102,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.9333016,13.716702],\"properties\":{\"NAME\":\"Cojutepeque\",\"NAMEASCII\":\"Cojutepeque\",\"POP_MAX\":48411,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-89.2899985,13.673997],\"properties\":{\"NAME\":\"Nueva San Salvador\",\"NAMEASCII\":\"Nueva San Salvador\",\"POP_MAX\":124694,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.8679976,13.508001],\"properties\":{\"NAME\":\"Zacatecoluca\",\"NAMEASCII\":\"Zacatecoluca\",\"POP_MAX\":39613,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-87.8390005,13.331997],\"properties\":{\"NAME\":\"La Unión\",\"NAMEASCII\":\"La Union\",\"POP_MAX\":26807,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.1000005,13.6999981],\"properties\":{\"NAME\":\"San Francisco Gotera\",\"NAMEASCII\":\"San Francisco Gotera\",\"POP_MAX\":16152,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.7849996,13.641003],\"properties\":{\"NAME\":\"San Vicente\",\"NAMEASCII\":\"San Vicente\",\"POP_MAX\":37326,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.4320016,13.3460011],\"properties\":{\"NAME\":\"Usulután\",\"NAMEASCII\":\"Usulutan\",\"POP_MAX\":51910,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.9067371156081,14.009526824913458],\"properties\":{\"NAME\":\"Chalatenango\",\"NAMEASCII\":\"Chalatenango\",\"POP_MAX\":29271,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-78.1790036,18.4429981],\"properties\":{\"NAME\":\"Lucea\",\"NAMEASCII\":\"Lucea\",\"POP_MAX\":6289,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-77.4999985,18.0330031],\"properties\":{\"NAME\":\"Mandeville\",\"NAMEASCII\":\"Mandeville\",\"POP_MAX\":47115,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-77.8519975,18.0309961],\"properties\":{\"NAME\":\"Black River\",\"NAMEASCII\":\"Black River\",\"POP_MAX\":4229,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-77.6560496,18.479583],\"properties\":{\"NAME\":\"Falmouth\",\"NAMEASCII\":\"Falmouth\",\"POP_MAX\":7779,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-77.9480005,18.1639981],\"properties\":{\"NAME\":\"Savanna-la-Mar\",\"NAMEASCII\":\"Savanna-la-Mar\",\"POP_MAX\":30000,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-76.3800026,18.1590031],\"properties\":{\"NAME\":\"Port Antonio\",\"NAMEASCII\":\"Port Antonio\",\"POP_MAX\":14400,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-77.1995245,18.4326391],\"properties\":{\"NAME\":\"Saint Ann's Bay\",\"NAMEASCII\":\"St. Ann's Bay\",\"POP_MAX\":13671,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-76.8999955,18.3770011],\"properties\":{\"NAME\":\"Port Maria\",\"NAMEASCII\":\"Port Maria\",\"POP_MAX\":7906,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-76.7999965,18.0333001],\"properties\":{\"NAME\":\"Half Way Tree\",\"NAMEASCII\":\"Half Way Tree\",\"POP_MAX\":96494,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-76.3289996,17.891001],\"properties\":{\"NAME\":\"Port Morant\",\"NAMEASCII\":\"Port Morant\",\"POP_MAX\":11536,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-71.3449885,19.5049981],\"properties\":{\"NAME\":\"Sabaneta\",\"NAMEASCII\":\"Sabaneta\",\"POP_MAX\":16380,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.0749975,19.5519961],\"properties\":{\"NAME\":\"Mao\",\"NAMEASCII\":\"Mao\",\"POP_MAX\":48297,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.1520026,19.0590031],\"properties\":{\"NAME\":\"Cotuí\",\"NAMEASCII\":\"Cotui\",\"POP_MAX\":41641,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[10.5667026,1.4499991],\"properties\":{\"NAME\":\"Evinayong\",\"NAMEASCII\":\"Evinayong\",\"POP_MAX\":8462,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[8.5500005,3.449997],\"properties\":{\"NAME\":\"Luba\",\"NAMEASCII\":\"Luba\",\"POP_MAX\":8655,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[15.9058333,43.7272222],\"properties\":{\"NAME\":\"Šibenik\",\"NAMEASCII\":\"Sibenik\",\"POP_MAX\":37112,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[31.006953163624576,30.55448231679752],\"properties\":{\"NAME\":\"Shibin el Kom\",\"NAMEASCII\":\"Shibin el Kom\",\"POP_MAX\":182900,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.1833356,30.4666651],\"properties\":{\"NAME\":\"Benha\",\"NAMEASCII\":\"Benha\",\"POP_MAX\":167029,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.5166596,30.5833321],\"properties\":{\"NAME\":\"Zagazig\",\"NAMEASCII\":\"Zagazig\",\"POP_MAX\":285097,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.9359976,31.109004],\"properties\":{\"NAME\":\"Kafr el Sheikh\",\"NAMEASCII\":\"Kafr el Sheikh\",\"POP_MAX\":143970,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[42.3720006,11.104002],\"properties\":{\"NAME\":\"Dikhil\",\"NAMEASCII\":\"Dikhil\",\"POP_MAX\":12043,\"ISO_A2\":\"DJ\",\"SOV_A3\":\"DJI\"}},{\"type\":\"Point\",\"coordinates\":[42.9000035,11.783304],\"properties\":{\"NAME\":\"Tadjoura\",\"NAMEASCII\":\"Tadjoura\",\"POP_MAX\":22193,\"ISO_A2\":\"DJ\",\"SOV_A3\":\"DJI\"}},{\"type\":\"Point\",\"coordinates\":[23.5413889,58.9430556],\"properties\":{\"NAME\":\"Haapsalu\",\"NAMEASCII\":\"Haapsalu\",\"POP_MAX\":11805,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[47.9999976,29.33334],\"properties\":{\"NAME\":\"Hawalli\",\"NAMEASCII\":\"Hawalli\",\"POP_MAX\":164212,\"ISO_A2\":\"KW\",\"SOV_A3\":\"KWT\"}},{\"type\":\"Point\",\"coordinates\":[28.5280025,-0.7569989],\"properties\":{\"NAME\":\"Buluko\",\"NAMEASCII\":\"Buluko\",\"POP_MAX\":1192,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[33.6,-11.9],\"properties\":{\"NAME\":\"Mzimba\",\"NAMEASCII\":\"Mzimba\",\"POP_MAX\":19308,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.30166518458707,-15.176185970333954],\"properties\":{\"NAME\":\"Machinga\",\"NAMEASCII\":\"Machinga\",\"POP_MAX\":1418,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.3333333,-14.3666667],\"properties\":{\"NAME\":\"Dedza\",\"NAMEASCII\":\"Dedza\",\"POP_MAX\":15608,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[32.9,-13.8],\"properties\":{\"NAME\":\"Mchinji\",\"NAMEASCII\":\"Mchinji\",\"POP_MAX\":18305,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.6333333,-14.8166667],\"properties\":{\"NAME\":\"Ntcheu\",\"NAMEASCII\":\"Ntcheu\",\"POP_MAX\":10445,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.1833333,-15.7],\"properties\":{\"NAME\":\"Chiradzulu\",\"NAMEASCII\":\"Chiradzulu\",\"POP_MAX\":1580,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.2666667,-16.9166667],\"properties\":{\"NAME\":\"Nsanje\",\"NAMEASCII\":\"Nsanje\",\"POP_MAX\":21774,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.5166667,-15.6166667],\"properties\":{\"NAME\":\"Mwanza\",\"NAMEASCII\":\"Mwanza\",\"POP_MAX\":11379,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.5,-16.0333333],\"properties\":{\"NAME\":\"Mulanje\",\"NAMEASCII\":\"Mulanje\",\"POP_MAX\":16483,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[-90.3140006,15.102999],\"properties\":{\"NAME\":\"Salamá\",\"NAMEASCII\":\"Salama\",\"POP_MAX\":40000,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-91.6770145,14.537097],\"properties\":{\"NAME\":\"Retalhuleu\",\"NAMEASCII\":\"Retalhuleu\",\"POP_MAX\":36656,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-91.7999995,14.9660011],\"properties\":{\"NAME\":\"San Marcos\",\"NAMEASCII\":\"San Marcos\",\"POP_MAX\":25088,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.8199985,14.6619991],\"properties\":{\"NAME\":\"Chimaltenango\",\"NAMEASCII\":\"Chimaltenango\",\"POP_MAX\":82370,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.7333016,14.5666981],\"properties\":{\"NAME\":\"Antigua Guatemala\",\"NAMEASCII\":\"Antigua Guatemala\",\"POP_MAX\":39368,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-91.1829955,14.772996],\"properties\":{\"NAME\":\"Sololá\",\"NAMEASCII\":\"Solola\",\"POP_MAX\":45373,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-91.3580006,14.913999],\"properties\":{\"NAME\":\"Totonicapán\",\"NAMEASCII\":\"Totonicapan\",\"POP_MAX\":69734,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.01620820480316,14.92229409124964],\"properties\":{\"NAME\":\"El Progreso\",\"NAMEASCII\":\"El Progreso\",\"POP_MAX\":147197,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.2979985,14.2790041],\"properties\":{\"NAME\":\"Cuilapa\",\"NAMEASCII\":\"Cuilapa\",\"POP_MAX\":16484,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-89.5439965,14.7969991],\"properties\":{\"NAME\":\"Chiquimula\",\"NAMEASCII\":\"Chiquimula\",\"POP_MAX\":41521,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-89.9890016,14.6330011],\"properties\":{\"NAME\":\"Jalapa\",\"NAMEASCII\":\"Jalapa\",\"POP_MAX\":45834,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-89.5290026,14.972004],\"properties\":{\"NAME\":\"Zacapa\",\"NAMEASCII\":\"Zacapa\",\"POP_MAX\":36088,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-70.6902475,19.7902171],\"properties\":{\"NAME\":\"Puerto Plata\",\"NAMEASCII\":\"Puerto Plata\",\"POP_MAX\":119897,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.7049976,19.548],\"properties\":{\"NAME\":\"Dajabón\",\"NAMEASCII\":\"Dajabon\",\"POP_MAX\":16398,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.5230006,19.3969981],\"properties\":{\"NAME\":\"Moca\",\"NAMEASCII\":\"Moca\",\"POP_MAX\":61834,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.4167015,19.383003],\"properties\":{\"NAME\":\"Salcedo\",\"NAMEASCII\":\"Salcedo\",\"POP_MAX\":45299,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.8509955,18.4930021],\"properties\":{\"NAME\":\"Jimaní\",\"NAMEASCII\":\"Jimani\",\"POP_MAX\":6567,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.7069955,18.875997],\"properties\":{\"NAME\":\"Comendador\",\"NAMEASCII\":\"Comendador\",\"POP_MAX\":43894,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.7409976,18.037998],\"properties\":{\"NAME\":\"Pedernales\",\"NAMEASCII\":\"Pedernales\",\"POP_MAX\":11072,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.7290016,18.4539961],\"properties\":{\"NAME\":\"Azua\",\"NAMEASCII\":\"Azua\",\"POP_MAX\":59139,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.4089976,18.9420031],\"properties\":{\"NAME\":\"Bonao\",\"NAMEASCII\":\"Bonao\",\"POP_MAX\":73269,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.3310035,18.279999],\"properties\":{\"NAME\":\"Baní\",\"NAMEASCII\":\"Bani\",\"POP_MAX\":66709,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-69.2569975,18.7640011],\"properties\":{\"NAME\":\"Hato Mayor\",\"NAMEASCII\":\"Hato Mayor\",\"POP_MAX\":35999,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-69.7840015,18.8070031],\"properties\":{\"NAME\":\"Monte Plata\",\"NAMEASCII\":\"Monte Plata\",\"POP_MAX\":15532,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-69.8470015,19.3760011],\"properties\":{\"NAME\":\"Nagua\",\"NAMEASCII\":\"Nagua\",\"POP_MAX\":33862,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-69.3320036,19.2120031],\"properties\":{\"NAME\":\"Samaná\",\"NAMEASCII\":\"Samana\",\"POP_MAX\":11432,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.1090005,18.4159981],\"properties\":{\"NAME\":\"San Cristóbal\",\"NAMEASCII\":\"San Cristobal\",\"POP_MAX\":154040,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-69.0350035,18.7640011],\"properties\":{\"NAME\":\"El Seibo\",\"NAMEASCII\":\"El Seibo\",\"POP_MAX\":23547,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-68.7079975,18.615996],\"properties\":{\"NAME\":\"Higuey\",\"NAMEASCII\":\"Higuey\",\"POP_MAX\":123787,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-14.7670015,13.5510031],\"properties\":{\"NAME\":\"Georgetown\",\"NAMEASCII\":\"Georgetown\",\"POP_MAX\":3584,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-14.2229965,13.3100011],\"properties\":{\"NAME\":\"Basse Santa Su\",\"NAMEASCII\":\"Basse Santa Su\",\"POP_MAX\":14380,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-16.0949965,13.4939971],\"properties\":{\"NAME\":\"Kerewan\",\"NAMEASCII\":\"Kerewan\",\"POP_MAX\":2751,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-15.543323511272511,13.454894163505193],\"properties\":{\"NAME\":\"Mansa Konko\",\"NAMEASCII\":\"Mansa Konko\",\"POP_MAX\":18672,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-2.3360034,7.335999],\"properties\":{\"NAME\":\"Sunyani\",\"NAMEASCII\":\"Sunyani\",\"POP_MAX\":70299,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[11.3300016,2.152998],\"properties\":{\"NAME\":\"Ebebiyín\",\"NAMEASCII\":\"Ebebiyin\",\"POP_MAX\":24831,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[25.59,58.3638889],\"properties\":{\"NAME\":\"Viljandi\",\"NAMEASCII\":\"Viljandi\",\"POP_MAX\":20309,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[10.997288593437615,-2.921483448704078],\"properties\":{\"NAME\":\"Tchibanga\",\"NAMEASCII\":\"Tchibanga\",\"POP_MAX\":19365,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[13.5540005,-4.1640029],\"properties\":{\"NAME\":\"Madingou\",\"NAMEASCII\":\"Madingou\",\"POP_MAX\":22760,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[22.4340036,38.8989992],\"properties\":{\"NAME\":\"Lamia\",\"NAMEASCII\":\"Lamia\",\"POP_MAX\":47246,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[23.4530015,40.3810021],\"properties\":{\"NAME\":\"Polygyros\",\"NAMEASCII\":\"Polygyros\",\"POP_MAX\":5258,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[25.4167026,41.1333031],\"properties\":{\"NAME\":\"Komatini\",\"NAMEASCII\":\"Komatini\",\"POP_MAX\":45631,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[35.5332965,33.8333041],\"properties\":{\"NAME\":\"B'abda\",\"NAMEASCII\":\"B'abda\",\"POP_MAX\":9000,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[34.8667025,31.9167001],\"properties\":{\"NAME\":\"Ramla\",\"NAMEASCII\":\"Ramla\",\"POP_MAX\":63860,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[35.4500016,33.383304],\"properties\":{\"NAME\":\"Nabatiye et Tahta\",\"NAMEASCII\":\"Nabatiye et Tahta\",\"POP_MAX\":80000,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[19.9490045,60.0969962],\"properties\":{\"NAME\":\"Mariehamn\",\"NAMEASCII\":\"Mariehamn\",\"POP_MAX\":10682,\"ISO_A2\":\"AX\",\"SOV_A3\":\"ALD\"}},{\"type\":\"Point\",\"coordinates\":[24.4719995,60.9969961],\"properties\":{\"NAME\":\"Hämeenlinna\",\"NAMEASCII\":\"Hameenlinna\",\"POP_MAX\":47261,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[26.7090035,60.8760001],\"properties\":{\"NAME\":\"Kouvola\",\"NAMEASCII\":\"Kouvola\",\"POP_MAX\":31133,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[27.2850035,61.6899962],\"properties\":{\"NAME\":\"Mikkeli\",\"NAMEASCII\":\"Mikkeli\",\"POP_MAX\":46550,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[100.4127778,20.2775],\"properties\":{\"NAME\":\"Ban Houayxay\",\"NAMEASCII\":\"Ban Houayxay\",\"POP_MAX\":6347,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[101.4166986,20.950002],\"properties\":{\"NAME\":\"Louang Namtha\",\"NAMEASCII\":\"Louang Namtha\",\"POP_MAX\":3225,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[105.8667036,14.8833001],\"properties\":{\"NAME\":\"Champasak\",\"NAMEASCII\":\"Champasak\",\"POP_MAX\":12994,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[106.4269987,15.715998],\"properties\":{\"NAME\":\"Saravan\",\"NAMEASCII\":\"Saravan\",\"POP_MAX\":5521,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[104.0333047,20.416698],\"properties\":{\"NAME\":\"Xam Nua\",\"NAMEASCII\":\"Xam Nua\",\"POP_MAX\":38992,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[102.0999967,21.683304],\"properties\":{\"NAME\":\"Phongsali\",\"NAMEASCII\":\"Phongsali\",\"POP_MAX\":6000,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[106.8390005,14.8079971],\"properties\":{\"NAME\":\"Attapu\",\"NAMEASCII\":\"Attapu\",\"POP_MAX\":4297,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[14.7619986,-4.3559999],\"properties\":{\"NAME\":\"Kinkala\",\"NAMEASCII\":\"Kinkala\",\"POP_MAX\":13882,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[-6.9666667,54.25],\"properties\":{\"NAME\":\"Muineachan\",\"NAMEASCII\":\"Muineachan\",\"POP_MAX\":5937,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[9.5349965,55.709001],\"properties\":{\"NAME\":\"Vejle\",\"NAMEASCII\":\"Vejle\",\"POP_MAX\":51177,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[12.3166985,55.9332991],\"properties\":{\"NAME\":\"Hillerød\",\"NAMEASCII\":\"Hillerod\",\"POP_MAX\":28313,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[11.5667016,55.4329981],\"properties\":{\"NAME\":\"Sorø\",\"NAMEASCII\":\"Soro\",\"POP_MAX\":7167,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-12.3010014,12.084003],\"properties\":{\"NAME\":\"Mali\",\"NAMEASCII\":\"Mali\",\"POP_MAX\":5479,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-11.6700025,11.439999],\"properties\":{\"NAME\":\"Tongue\",\"NAMEASCII\":\"Tongue\",\"POP_MAX\":25531,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-9.8919985,10.6530031],\"properties\":{\"NAME\":\"Kouroussa\",\"NAMEASCII\":\"Kouroussa\",\"POP_MAX\":14223,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-12.4010006,11.0799991],\"properties\":{\"NAME\":\"Pita\",\"NAMEASCII\":\"Pita\",\"POP_MAX\":20052,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-12.2720036,10.656],\"properties\":{\"NAME\":\"Dalaba\",\"NAMEASCII\":\"Dalaba\",\"POP_MAX\":6349,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-14.0429964,10.1850031],\"properties\":{\"NAME\":\"Boffa\",\"NAMEASCII\":\"Boffa\",\"POP_MAX\":2332,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-13.2959964,12.4800031],\"properties\":{\"NAME\":\"Koundara\",\"NAMEASCII\":\"Koundara\",\"POP_MAX\":13990,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-13.2129984,11.7540001],\"properties\":{\"NAME\":\"Gaoual\",\"NAMEASCII\":\"Gaoual\",\"POP_MAX\":7461,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-13.0429976,10.9050031],\"properties\":{\"NAME\":\"Télimélé\",\"NAMEASCII\":\"Telimele\",\"POP_MAX\":30311,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-13.0979966,9.4300021],\"properties\":{\"NAME\":\"Forecariah\",\"NAMEASCII\":\"Forecariah\",\"POP_MAX\":12358,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-8.6570005,8.686998],\"properties\":{\"NAME\":\"Beyla\",\"NAMEASCII\":\"Beyla\",\"POP_MAX\":13204,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-10.1510005,8.5539961],\"properties\":{\"NAME\":\"Gueckedou\",\"NAMEASCII\":\"Gueckedou\",\"POP_MAX\":221715,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-10.7260014,11.298996],\"properties\":{\"NAME\":\"Dinguiraye\",\"NAMEASCII\":\"Dinguiraye\",\"POP_MAX\":6062,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-11.1089965,10.747998],\"properties\":{\"NAME\":\"Dabola\",\"NAMEASCII\":\"Dabola\",\"POP_MAX\":13057,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-7.6840015,8.28],\"properties\":{\"NAME\":\"Touba\",\"NAMEASCII\":\"Touba\",\"POP_MAX\":27504,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-5.7480024,6.9779971],\"properties\":{\"NAME\":\"Bouaflé\",\"NAMEASCII\":\"Bouafle\",\"POP_MAX\":60962,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-5.3600035,5.839002],\"properties\":{\"NAME\":\"Divo\",\"NAMEASCII\":\"Divo\",\"POP_MAX\":127867,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-5.0190024,6.5520001],\"properties\":{\"NAME\":\"Toumodi\",\"NAMEASCII\":\"Toumodi\",\"POP_MAX\":39005,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-3.2000035,5.4666991],\"properties\":{\"NAME\":\"Aboisso\",\"NAMEASCII\":\"Aboisso\",\"POP_MAX\":37654,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-91.1332976,15.0333031],\"properties\":{\"NAME\":\"Santa Cruz Del Quiche\",\"NAMEASCII\":\"Santa Cruz Del Quiche\",\"POP_MAX\":23618,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[9.2310035,4.1550031],\"properties\":{\"NAME\":\"Buea\",\"NAMEASCII\":\"Buea\",\"POP_MAX\":90088,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[19.7970036,41.5189982],\"properties\":{\"NAME\":\"Krujë\",\"NAMEASCII\":\"Kruje\",\"POP_MAX\":21286,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.5730026,40.730004],\"properties\":{\"NAME\":\"Fier\",\"NAMEASCII\":\"Fier\",\"POP_MAX\":82297,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.7160035,40.9400011],\"properties\":{\"NAME\":\"Lushnjë\",\"NAMEASCII\":\"Lushnje\",\"POP_MAX\":41469,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.8833045,42.033303],\"properties\":{\"NAME\":\"Pukë\",\"NAMEASCII\":\"Puke\",\"POP_MAX\":6495,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.0833026,42.3333001],\"properties\":{\"NAME\":\"Bajram Curri\",\"NAMEASCII\":\"Bajram Curri\",\"POP_MAX\":7967,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.4339965,42.0830011],\"properties\":{\"NAME\":\"Kukës\",\"NAMEASCII\":\"Kukes\",\"POP_MAX\":17832,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.9999986,39.8770021],\"properties\":{\"NAME\":\"Sarandë\",\"NAMEASCII\":\"Sarande\",\"POP_MAX\":15147,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.6832965,40.3333021],\"properties\":{\"NAME\":\"Ersekë\",\"NAMEASCII\":\"Erseke\",\"POP_MAX\":7890,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.6640006,40.8999961],\"properties\":{\"NAME\":\"Pogradec\",\"NAMEASCII\":\"Pogradec\",\"POP_MAX\":40000,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.7666635,40.616676],\"properties\":{\"NAME\":\"Korçë\",\"NAMEASCII\":\"Korce\",\"POP_MAX\":58259,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.9719996,40.709997],\"properties\":{\"NAME\":\"Berat\",\"NAMEASCII\":\"Berat\",\"POP_MAX\":46866,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.2332966,40.516704],\"properties\":{\"NAME\":\"Çorovodë\",\"NAMEASCII\":\"Corovode\",\"POP_MAX\":14046,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.1999965,40.866696],\"properties\":{\"NAME\":\"Gramsh\",\"NAMEASCII\":\"Gramsh\",\"POP_MAX\":11556,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.3667036,41.2000021],\"properties\":{\"NAME\":\"Librazhd\",\"NAMEASCII\":\"Librazhd\",\"POP_MAX\":12691,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.0332985,40.2832981],\"properties\":{\"NAME\":\"Tepelenë\",\"NAMEASCII\":\"Tepelene\",\"POP_MAX\":11955,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.3519976,40.233996],\"properties\":{\"NAME\":\"Përmet\",\"NAMEASCII\":\"Permet\",\"POP_MAX\":10686,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.1490026,40.0789981],\"properties\":{\"NAME\":\"Gjirokastër\",\"NAMEASCII\":\"Gjirokaster\",\"POP_MAX\":23437,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.4333035,41.6833021],\"properties\":{\"NAME\":\"Peshkopi\",\"NAMEASCII\":\"Peshkopi\",\"POP_MAX\":14848,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.0160005,41.6259991],\"properties\":{\"NAME\":\"Burrel\",\"NAMEASCII\":\"Burrel\",\"POP_MAX\":15405,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.6540025,41.7879991],\"properties\":{\"NAME\":\"Lezhë\",\"NAMEASCII\":\"Lezhe\",\"POP_MAX\":18695,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.8167046,41.7833011],\"properties\":{\"NAME\":\"Rrëshen\",\"NAMEASCII\":\"Rreshen\",\"POP_MAX\":10064,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[44.3591667,40.3016667],\"properties\":{\"NAME\":\"Ashtarak\",\"NAMEASCII\":\"Ashtarak\",\"POP_MAX\":18779,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[3.9390036,50.4459991],\"properties\":{\"NAME\":\"Mons\",\"NAMEASCII\":\"Mons\",\"POP_MAX\":91277,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[5.338536386219118,50.92883816466403],\"properties\":{\"NAME\":\"Hasselt\",\"NAMEASCII\":\"Hasselt\",\"POP_MAX\":69222,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[45.1491667,40.8755556],\"properties\":{\"NAME\":\"Ijevan\",\"NAMEASCII\":\"Ijevan\",\"POP_MAX\":14737,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[44.5505556,39.9538889],\"properties\":{\"NAME\":\"Artashat\",\"NAMEASCII\":\"Artashat\",\"POP_MAX\":20562,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[45.1266667,40.3588889],\"properties\":{\"NAME\":\"Gavarr\",\"NAMEASCII\":\"Gavarr\",\"POP_MAX\":21680,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[45.8161111,40.5655556],\"properties\":{\"NAME\":\"Gadabay\",\"NAMEASCII\":\"Gadabay\",\"POP_MAX\":8657,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[46.7897222,40.6102778],\"properties\":{\"NAME\":\"Goranboy\",\"NAMEASCII\":\"Goranboy\",\"POP_MAX\":7333,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[45.6288889,40.9922222],\"properties\":{\"NAME\":\"Tovuz\",\"NAMEASCII\":\"Tovuz\",\"POP_MAX\":12626,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[45.5563889,40.9052778],\"properties\":{\"NAME\":\"Agdam\",\"NAMEASCII\":\"Agdam\",\"POP_MAX\":0,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[47.8458333,40.9813889],\"properties\":{\"NAME\":\"Qabala\",\"NAMEASCII\":\"Qabala\",\"POP_MAX\":11867,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[47.4583333,41.0708333],\"properties\":{\"NAME\":\"Oğuz\",\"NAMEASCII\":\"Oguz\",\"POP_MAX\":6876,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[45.3333333,39.7611111],\"properties\":{\"NAME\":\"Yeghegnadzor\",\"NAMEASCII\":\"Yeghegnadzor\",\"POP_MAX\":8200,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[63.1332996,34.9830001],\"properties\":{\"NAME\":\"Qala i Naw\",\"NAMEASCII\":\"Qala i Naw\",\"POP_MAX\":2997,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[65.2500006,34.5167011],\"properties\":{\"NAME\":\"Chaghcharan\",\"NAMEASCII\":\"Chaghcharan\",\"POP_MAX\":15000,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[64.3599996,31.582998],\"properties\":{\"NAME\":\"Lashkar Gah\",\"NAMEASCII\":\"Lashkar Gah\",\"POP_MAX\":201546,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[61.8869975,31.1120011],\"properties\":{\"NAME\":\"Zaranj\",\"NAMEASCII\":\"Zaranj\",\"POP_MAX\":49851,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[65.8666986,32.6332982],\"properties\":{\"NAME\":\"Tarin Kowt\",\"NAMEASCII\":\"Tarin Kowt\",\"POP_MAX\":10000,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.4167045,32.8500002],\"properties\":{\"NAME\":\"Zareh Sharan\",\"NAMEASCII\":\"Zareh Sharan\",\"POP_MAX\":13737,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[71.1500046,34.866],\"properties\":{\"NAME\":\"Asadabad\",\"NAMEASCII\":\"Asadabad\",\"POP_MAX\":48400,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[69.5400036,36.729999],\"properties\":{\"NAME\":\"Taloqan\",\"NAMEASCII\":\"Taloqan\",\"POP_MAX\":64256,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[69.3333006,35.0166961],\"properties\":{\"NAME\":\"Mahmud-E Eraqi\",\"NAMEASCII\":\"Mahmud-E Eraqi\",\"POP_MAX\":7407,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[70.1667005,34.65],\"properties\":{\"NAME\":\"Mehtar Lam\",\"NAMEASCII\":\"Mehtar Lam\",\"POP_MAX\":17345,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.9667035,33.9667021],\"properties\":{\"NAME\":\"Baraki Barak\",\"NAMEASCII\":\"Baraki Barak\",\"POP_MAX\":22305,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.0400005,36.2610001],\"properties\":{\"NAME\":\"Aybak\",\"NAMEASCII\":\"Aybak\",\"POP_MAX\":24000,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.7999966,34.4500021],\"properties\":{\"NAME\":\"Mayda Shahr\",\"NAMEASCII\":\"Mayda Shahr\",\"POP_MAX\":35008,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[104.5189986,11.4519961],\"properties\":{\"NAME\":\"Kampong Spoe\",\"NAMEASCII\":\"Kampong Spoe\",\"POP_MAX\":33231,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[104.8889977,12.7119961],\"properties\":{\"NAME\":\"Kampong Thum\",\"NAMEASCII\":\"Kampong Thum\",\"POP_MAX\":19951,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[105.3240036,11.484],\"properties\":{\"NAME\":\"Prey Veng\",\"NAMEASCII\":\"Prey Veng\",\"POP_MAX\":74000,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[104.9667037,13.816701],\"properties\":{\"NAME\":\"Phnum Tbeng Meanchey\",\"NAMEASCII\":\"Phnum Tbeng Meanchey\",\"POP_MAX\":24380,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[105.9740016,13.5230041],\"properties\":{\"NAME\":\"Stoeng Treng\",\"NAMEASCII\":\"Stoeng Treng\",\"POP_MAX\":29665,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[106.0239967,12.4689961],\"properties\":{\"NAME\":\"Kracheh\",\"NAMEASCII\":\"Kracheh\",\"POP_MAX\":19975,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[107.1999997,12.4499971],\"properties\":{\"NAME\":\"Senmonorom\",\"NAMEASCII\":\"Senmonorom\",\"POP_MAX\":7944,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[106.9810026,13.5070021],\"properties\":{\"NAME\":\"Lumphat\",\"NAMEASCII\":\"Lumphat\",\"POP_MAX\":19205,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[105.8010036,11.0799991],\"properties\":{\"NAME\":\"Svay Rieng\",\"NAMEASCII\":\"Svay Rieng\",\"POP_MAX\":23956,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[5.7660036,36.821997],\"properties\":{\"NAME\":\"Jijel\",\"NAMEASCII\":\"Jijel\",\"POP_MAX\":148000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[1.7150045,6.6150001],\"properties\":{\"NAME\":\"Lokossa\",\"NAMEASCII\":\"Lokossa\",\"POP_MAX\":86971,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[0.3609995,12.0549961],\"properties\":{\"NAME\":\"Fada Ngourma\",\"NAMEASCII\":\"Fada Ngourma\",\"POP_MAX\":33910,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[4.0461444,36.7117101],\"properties\":{\"NAME\":\"Tizi-Ouzou\",\"NAMEASCII\":\"Tizi-Ouzou\",\"POP_MAX\":144000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[4.7646624,36.0777088],\"properties\":{\"NAME\":\"Bordj Bou Arréridj\",\"NAMEASCII\":\"Bordj Bou Arreridj\",\"POP_MAX\":140000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[4.5450006,35.7000031],\"properties\":{\"NAME\":\"M'sila\",\"NAMEASCII\":\"M'sila\",\"POP_MAX\":150000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[7.4279975,36.4660021],\"properties\":{\"NAME\":\"Guelma\",\"NAMEASCII\":\"Guelma\",\"POP_MAX\":123590,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[7.1499965,35.8499972],\"properties\":{\"NAME\":\"Oum el Bouaghi\",\"NAMEASCII\":\"Oum el Bouaghi\",\"POP_MAX\":100821,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[24.7190046,43.1379991],\"properties\":{\"NAME\":\"Lovec\",\"NAMEASCII\":\"Lovec\",\"POP_MAX\":42211,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[23.2370016,43.414002],\"properties\":{\"NAME\":\"Montana\",\"NAMEASCII\":\"Montana\",\"POP_MAX\":47445,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[26.5359966,43.533999],\"properties\":{\"NAME\":\"Razgrad\",\"NAMEASCII\":\"Razgrad\",\"POP_MAX\":38285,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[5.8167005,49.6833031],\"properties\":{\"NAME\":\"Arlon\",\"NAMEASCII\":\"Arlon\",\"POP_MAX\":26179,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[9.7667016,47.5166971],\"properties\":{\"NAME\":\"Bregenz\",\"NAMEASCII\":\"Bregenz\",\"POP_MAX\":26928,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[16.5332975,47.8332991],\"properties\":{\"NAME\":\"Eisenstadt\",\"NAMEASCII\":\"Eisenstadt\",\"POP_MAX\":13165,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[89.4167773,27.4293704],\"properties\":{\"NAME\":\"Paro\",\"NAMEASCII\":\"Paro\",\"POP_MAX\":15000,\"ISO_A2\":\"BT\",\"SOV_A3\":\"BTN\"}},{\"type\":\"Point\",\"coordinates\":[89.8641347,27.584154],\"properties\":{\"NAME\":\"Punakha\",\"NAMEASCII\":\"Punakha\",\"POP_MAX\":5000,\"ISO_A2\":\"BT\",\"SOV_A3\":\"BTN\"}},{\"type\":\"Point\",\"coordinates\":[97.2060036,19.6650001],\"properties\":{\"NAME\":\"Loikaw\",\"NAMEASCII\":\"Loikaw\",\"POP_MAX\":17293,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[89.9166967,27.433296],\"properties\":{\"NAME\":\"Wangdue Prodrang\",\"NAMEASCII\":\"Wangdue Prodrang\",\"POP_MAX\":5000,\"ISO_A2\":\"BT\",\"SOV_A3\":\"BTN\"}},{\"type\":\"Point\",\"coordinates\":[30.5166966,-3.1667039],\"properties\":{\"NAME\":\"Cankuzo\",\"NAMEASCII\":\"Cankuzo\",\"POP_MAX\":6585,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[30.1629965,-3.099996],\"properties\":{\"NAME\":\"Karusi\",\"NAMEASCII\":\"Karusi\",\"POP_MAX\":10705,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[29.9930046,-3.931002],\"properties\":{\"NAME\":\"Rutana\",\"NAMEASCII\":\"Rutana\",\"POP_MAX\":20893,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[30.2439966,-3.4810019],\"properties\":{\"NAME\":\"Ruyigi\",\"NAMEASCII\":\"Ruyigi\",\"POP_MAX\":38458,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[29.3667035,-3.083301],\"properties\":{\"NAME\":\"Bubanza\",\"NAMEASCII\":\"Bubanza\",\"POP_MAX\":12728,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[29.5667016,-2.8999979],\"properties\":{\"NAME\":\"Kayanza\",\"NAMEASCII\":\"Kayanza\",\"POP_MAX\":19443,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[29.7999996,-4.1333039],\"properties\":{\"NAME\":\"Makamba\",\"NAMEASCII\":\"Makamba\",\"POP_MAX\":19642,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[29.8250016,-2.9120039],\"properties\":{\"NAME\":\"Ngozi\",\"NAMEASCII\":\"Ngozi\",\"POP_MAX\":21506,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[30.0972222,-2.5847222],\"properties\":{\"NAME\":\"Kirundo\",\"NAMEASCII\":\"Kirundo\",\"POP_MAX\":6083,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[-4.9079965,10.9739971],\"properties\":{\"NAME\":\"Orodara\",\"NAMEASCII\":\"Orodara\",\"POP_MAX\":18632,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-4.0833333,12.1833333],\"properties\":{\"NAME\":\"Solenzo\",\"NAMEASCII\":\"Solenzo\",\"POP_MAX\":10385,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-3.8600005,12.7289971],\"properties\":{\"NAME\":\"Nouna\",\"NAMEASCII\":\"Nouna\",\"POP_MAX\":29048,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-3.4640004,12.455001],\"properties\":{\"NAME\":\"Dédougou\",\"NAMEASCII\":\"Dedougou\",\"POP_MAX\":45341,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.2332975,14.450004],\"properties\":{\"NAME\":\"Gorom Gorom\",\"NAMEASCII\":\"Gorom Gorom\",\"POP_MAX\":6691,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.6270014,14.099004],\"properties\":{\"NAME\":\"Djibo\",\"NAMEASCII\":\"Djibo\",\"POP_MAX\":22223,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-3.0699984,13.068999],\"properties\":{\"NAME\":\"Tougan\",\"NAMEASCII\":\"Tougan\",\"POP_MAX\":17590,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.3339975,12.063996],\"properties\":{\"NAME\":\"Kombissiri\",\"NAMEASCII\":\"Kombissiri\",\"POP_MAX\":30137,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.2930024,12.5769961],\"properties\":{\"NAME\":\"Ziniaré\",\"NAMEASCII\":\"Ziniare\",\"POP_MAX\":12703,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-2.2629955,12.9539971],\"properties\":{\"NAME\":\"Yako\",\"NAMEASCII\":\"Yako\",\"POP_MAX\":22904,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-2.4669445,12.3334921],\"properties\":{\"NAME\":\"Réo\",\"NAMEASCII\":\"Reo\",\"POP_MAX\":37535,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-2.0979985,11.094003],\"properties\":{\"NAME\":\"Leo\",\"NAMEASCII\":\"Leo\",\"POP_MAX\":26884,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.7736111,11.5544444],\"properties\":{\"NAME\":\"Sapouy\",\"NAMEASCII\":\"Sapouy\",\"POP_MAX\":3837,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.5689975,12.6569971],\"properties\":{\"NAME\":\"Boulsa\",\"NAMEASCII\":\"Boulsa\",\"POP_MAX\":17489,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.6110004,12.2429971],\"properties\":{\"NAME\":\"Zorgo\",\"NAMEASCII\":\"Zorgo\",\"POP_MAX\":23892,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.3560035,12.177],\"properties\":{\"NAME\":\"Koupéla\",\"NAMEASCII\":\"Koupela\",\"POP_MAX\":32052,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.1349985,11.169],\"properties\":{\"NAME\":\"Pô\",\"NAMEASCII\":\"Po\",\"POP_MAX\":17924,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.0649964,11.662002],\"properties\":{\"NAME\":\"Manga\",\"NAMEASCII\":\"Manga\",\"POP_MAX\":15173,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-3.2480004,10.9520011],\"properties\":{\"NAME\":\"Diébougou\",\"NAMEASCII\":\"Diebougou\",\"POP_MAX\":12732,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-3.1740024,10.3249981],\"properties\":{\"NAME\":\"Gaoua\",\"NAMEASCII\":\"Gaoua\",\"POP_MAX\":28023,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.1379965,12.969],\"properties\":{\"NAME\":\"Bogandé\",\"NAMEASCII\":\"Bogande\",\"POP_MAX\":9854,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.0279985,14.0339971],\"properties\":{\"NAME\":\"Dori\",\"NAMEASCII\":\"Dori\",\"POP_MAX\":37806,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[0.530443,13.4364122],\"properties\":{\"NAME\":\"Sebba\",\"NAMEASCII\":\"Sebba\",\"POP_MAX\":3273,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[1.7960046,12.0770011],\"properties\":{\"NAME\":\"Diapaga\",\"NAMEASCII\":\"Diapaga\",\"POP_MAX\":26013,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[97.6167006,16.8499981],\"properties\":{\"NAME\":\"Pa-an\",\"NAMEASCII\":\"Pa-an\",\"POP_MAX\":50000,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[93.6167046,22.6500031],\"properties\":{\"NAME\":\"Hakha\",\"NAMEASCII\":\"Hakha\",\"POP_MAX\":20000,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.0380006,20.7819991],\"properties\":{\"NAME\":\"Taunggyi\",\"NAMEASCII\":\"Taunggyi\",\"POP_MAX\":160115,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.9619966,21.879999],\"properties\":{\"NAME\":\"Sagaing\",\"NAMEASCII\":\"Sagaing\",\"POP_MAX\":78739,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[29.6119986,-3.260997],\"properties\":{\"NAME\":\"Muramvya\",\"NAMEASCII\":\"Muramvya\",\"POP_MAX\":18041,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[33.6359976,34.9170031],\"properties\":{\"NAME\":\"Larnaka\",\"NAMEASCII\":\"Larnaka\",\"POP_MAX\":48947,\"ISO_A2\":\"CY\",\"SOV_A3\":\"CYP\"}},{\"type\":\"Point\",\"coordinates\":[32.4224567,34.7559152],\"properties\":{\"NAME\":\"Paphos\",\"NAMEASCII\":\"Paphos\",\"POP_MAX\":35961,\"ISO_A2\":\"CY\",\"SOV_A3\":\"CYP\"}},{\"type\":\"Point\",\"coordinates\":[47.3166996,8.4332971],\"properties\":{\"NAME\":\"Laascaanood\",\"NAMEASCII\":\"Laascaanood\",\"POP_MAX\":60100,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[47.3333046,10.5832981],\"properties\":{\"NAME\":\"Ceerigaabo\",\"NAMEASCII\":\"Ceerigaabo\",\"POP_MAX\":180000,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[7.4120045,1.6450021],\"properties\":{\"NAME\":\"Santo António\",\"NAMEASCII\":\"Santo Antonio\",\"POP_MAX\":1156,\"ISO_A2\":\"ST\",\"SOV_A3\":\"STP\"}},{\"type\":\"Point\",\"coordinates\":[143.2337226,-9.109152],\"properties\":{\"NAME\":\"Daru\",\"NAMEASCII\":\"Daru\",\"POP_MAX\":15214,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[35.2062094,31.9029448],\"properties\":{\"NAME\":\"Ramallah\",\"NAMEASCII\":\"Ramallah\",\"POP_MAX\":24599,\"ISO_A2\":\"PS\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[33.3330036,35.3259991],\"properties\":{\"NAME\":\"Kyrenia\",\"NAMEASCII\":\"Kyrenia\",\"POP_MAX\":26701,\"ISO_A2\":\"-99\",\"SOV_A3\":\"CYN\"}},{\"type\":\"Point\",\"coordinates\":[-68.5899985,9.657999],\"properties\":{\"NAME\":\"San Carlos\",\"NAMEASCII\":\"San Carlos\",\"POP_MAX\":77192,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-68.7459955,10.335996],\"properties\":{\"NAME\":\"San Felipe\",\"NAMEASCII\":\"San Felipe\",\"POP_MAX\":76766,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-67.3540016,9.900999],\"properties\":{\"NAME\":\"San Juan De Los Morros\",\"NAMEASCII\":\"San Juan De Los Morros\",\"POP_MAX\":87739,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-63.8833315,11.033334],\"properties\":{\"NAME\":\"La Asunción\",\"NAMEASCII\":\"La Asuncion\",\"POP_MAX\":35084,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[45.5740026,13.9789981],\"properties\":{\"NAME\":\"Al Bayda\",\"NAMEASCII\":\"Al Bayda\",\"POP_MAX\":37821,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[46.8000006,14.5500031],\"properties\":{\"NAME\":\"'Ataq\",\"NAMEASCII\":\"'Ataq\",\"POP_MAX\":37315,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[45.3339995,15.4209961],\"properties\":{\"NAME\":\"Marib\",\"NAMEASCII\":\"Marib\",\"POP_MAX\":16794,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[-86.5189976,16.329996],\"properties\":{\"NAME\":\"Roatán\",\"NAMEASCII\":\"Roatan\",\"POP_MAX\":7514,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-21.8623222,64.5695028],\"properties\":{\"NAME\":\"Borgarnes\",\"NAMEASCII\":\"Borgarnes\",\"POP_MAX\":1783,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-84.7758594,11.1893594],\"properties\":{\"NAME\":\"San Carlos\",\"NAMEASCII\":\"San Carlos\",\"POP_MAX\":13451,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-55.1999965,5.5999981],\"properties\":{\"NAME\":\"Onverwacht\",\"NAMEASCII\":\"Onverwacht\",\"POP_MAX\":2105,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-55.4810035,5.796999],\"properties\":{\"NAME\":\"Groningen\",\"NAMEASCII\":\"Groningen\",\"POP_MAX\":3216,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[69.0000037,39.750003],\"properties\":{\"NAME\":\"Leninobod\",\"NAMEASCII\":\"Leninobod\",\"POP_MAX\":11468,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[-60.6099955,-22.0300021],\"properties\":{\"NAME\":\"Mariscal Estigarribia\",\"NAMEASCII\":\"Mariscal Estigarribia\",\"POP_MAX\":2500,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.1400005,-25.3870019],\"properties\":{\"NAME\":\"Caacupé\",\"NAMEASCII\":\"Caacupe\",\"POP_MAX\":21696,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-86.1949975,11.8459981],\"properties\":{\"NAME\":\"Jinotepe\",\"NAMEASCII\":\"Jinotepe\",\"POP_MAX\":29507,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-86.0000036,13.091004],\"properties\":{\"NAME\":\"Jinotega\",\"NAMEASCII\":\"Jinotega\",\"POP_MAX\":51073,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-86.0949985,11.969001],\"properties\":{\"NAME\":\"Masaya\",\"NAMEASCII\":\"Masaya\",\"POP_MAX\":130113,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[40.1333045,29.9999971],\"properties\":{\"NAME\":\"Sakakah\",\"NAMEASCII\":\"Sakakah\",\"POP_MAX\":128332,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[29.8333333,9.2333333],\"properties\":{\"NAME\":\"Bentiu\",\"NAMEASCII\":\"Bentiu\",\"POP_MAX\":7653,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[-78.971963,9.5416864],\"properties\":{\"NAME\":\"El Porvenir\",\"NAMEASCII\":\"El Porvenir\",\"POP_MAX\":10,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[44.7830015,43.2330031],\"properties\":{\"NAME\":\"Nazran\",\"NAMEASCII\":\"Nazran\",\"POP_MAX\":93357,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.6999977,52.8329971],\"properties\":{\"NAME\":\"Ust' Ordynskiy\",\"NAMEASCII\":\"Ust' Ordynskiy\",\"POP_MAX\":14538,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[9.3503346,11.7991891],\"properties\":{\"NAME\":\"Dutse\",\"NAMEASCII\":\"Dutse\",\"POP_MAX\":17129,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.9660046,11.7489961],\"properties\":{\"NAME\":\"Damaturu\",\"NAMEASCII\":\"Damaturu\",\"POP_MAX\":255895,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[-77.9869976,-1.483002],\"properties\":{\"NAME\":\"Puyo\",\"NAMEASCII\":\"Puyo\",\"POP_MAX\":24881,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-84.1200025,9.991998],\"properties\":{\"NAME\":\"Heredia\",\"NAMEASCII\":\"Heredia\",\"POP_MAX\":21947,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-77.7320005,0.821997],\"properties\":{\"NAME\":\"Tulcán\",\"NAMEASCII\":\"Tulcan\",\"POP_MAX\":83000,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-72.4059986,5.3469991],\"properties\":{\"NAME\":\"Yopal\",\"NAMEASCII\":\"Yopal\",\"POP_MAX\":61029,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-6.5390115,62.2374783],\"properties\":{\"NAME\":\"Klaksvík\",\"NAMEASCII\":\"Klaksvik\",\"POP_MAX\":4664,\"ISO_A2\":\"FO\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[16.3050035,9.3950011],\"properties\":{\"NAME\":\"Laï\",\"NAMEASCII\":\"Lai\",\"POP_MAX\":19382,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[8.2732192,49.9824725],\"properties\":{\"NAME\":\"Mainz\",\"NAMEASCII\":\"Mainz\",\"POP_MAX\":184997,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[14.0810046,50.6629982],\"properties\":{\"NAME\":\"Usti Nad Labem\",\"NAMEASCII\":\"Usti Nad Labem\",\"POP_MAX\":94105,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[15.8120015,50.2059962],\"properties\":{\"NAME\":\"Hradec Králové\",\"NAMEASCII\":\"Hradec Kralove\",\"POP_MAX\":95195,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[-12.7070005,22.6790011],\"properties\":{\"NAME\":\"Fderik\",\"NAMEASCII\":\"Fderik\",\"POP_MAX\":5760,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-13.9089956,17.057997],\"properties\":{\"NAME\":\"Aleg\",\"NAMEASCII\":\"Aleg\",\"POP_MAX\":8388,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-14.3909995,19.7469991],\"properties\":{\"NAME\":\"Akjoujt\",\"NAMEASCII\":\"Akjoujt\",\"POP_MAX\":370,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[43.0000026,36.8667001],\"properties\":{\"NAME\":\"Duhok\",\"NAMEASCII\":\"Dahuk\",\"POP_MAX\":986000,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[43.8750006,34.193997],\"properties\":{\"NAME\":\"Samarra\",\"NAMEASCII\":\"Samarra\",\"POP_MAX\":158508,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[38.4769986,7.0599961],\"properties\":{\"NAME\":\"Awasa\",\"NAMEASCII\":\"Awasa\",\"POP_MAX\":133097,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[35.5370045,8.148996],\"properties\":{\"NAME\":\"Gore\",\"NAMEASCII\":\"Gore\",\"POP_MAX\":9352,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[11.4166986,53.6333041],\"properties\":{\"NAME\":\"Schwerin\",\"NAMEASCII\":\"Schwerin\",\"POP_MAX\":96641,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[63.4989965,49.6260001],\"properties\":{\"NAME\":\"Turgay\",\"NAMEASCII\":\"Turgay\",\"POP_MAX\":5277,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.5940036,30.6590041],\"properties\":{\"NAME\":\"Yasuj\",\"NAMEASCII\":\"Yasuj\",\"POP_MAX\":96786,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[50.8539966,32.3209981],\"properties\":{\"NAME\":\"Shahrekord\",\"NAMEASCII\":\"Shar e Kord\",\"POP_MAX\":129153,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[51.1417356,43.6904551],\"properties\":{\"NAME\":\"Mangyshlak\",\"NAMEASCII\":\"Mangyshlak\",\"POP_MAX\":147443,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.8180006,15.491997],\"properties\":{\"NAME\":\"Panaji\",\"NAMEASCII\":\"Panaji\",\"POP_MAX\":65586,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[21.1799975,4.3200001],\"properties\":{\"NAME\":\"Mobaye\",\"NAMEASCII\":\"Mobaye\",\"POP_MAX\":19431,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[-89.0610025,17.1559981],\"properties\":{\"NAME\":\"El Cayo\",\"NAMEASCII\":\"El Cayo\",\"POP_MAX\":16977,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[-88.3880005,18.3979981],\"properties\":{\"NAME\":\"Corozal\",\"NAMEASCII\":\"Corozal\",\"POP_MAX\":8724,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[26.1520026,-24.377004],\"properties\":{\"NAME\":\"Mochudi\",\"NAMEASCII\":\"Mochudi\",\"POP_MAX\":39700,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[-81.6903266,12.5621371],\"properties\":{\"NAME\":\"San Andrés\",\"NAMEASCII\":\"San Andres\",\"POP_MAX\":58257,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[121.2988889,24.9575],\"properties\":{\"NAME\":\"Bade\",\"NAMEASCII\":\"Bade\",\"POP_MAX\":172065,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.2161111,24.9438889],\"properties\":{\"NAME\":\"Pingzhen\",\"NAMEASCII\":\"Pingzhen\",\"POP_MAX\":201632,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.3333333,23.45],\"properties\":{\"NAME\":\"Taibao\",\"NAMEASCII\":\"Taibao\",\"POP_MAX\":35000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.3111111,24.9888889],\"properties\":{\"NAME\":\"Taoyuan\",\"NAMEASCII\":\"Taoyuan\",\"POP_MAX\":500000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.15,24.9166667],\"properties\":{\"NAME\":\"Yangmei\",\"NAMEASCII\":\"Yangmei\",\"POP_MAX\":175000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.75,24.75],\"properties\":{\"NAME\":\"Yilan\",\"NAMEASCII\":\"Yilan\",\"POP_MAX\":150000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.0119444,24.8333333],\"properties\":{\"NAME\":\"Zhubei\",\"NAMEASCII\":\"Zhubei\",\"POP_MAX\":200000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[-56.4860201,-30.4159871],\"properties\":{\"NAME\":\"Artigas\",\"NAMEASCII\":\"Artigas\",\"POP_MAX\":41909,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-57.3199744,-30.7300248],\"properties\":{\"NAME\":\"Baltasar Brum\",\"NAMEASCII\":\"Baltasar Brum\",\"POP_MAX\":2517,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-55.7499669,-31.200022],\"properties\":{\"NAME\":\"Tranqueras\",\"NAMEASCII\":\"Tranqueras\",\"POP_MAX\":7474,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-55.9800045,-31.709965],\"properties\":{\"NAME\":\"Tacuarembó\",\"NAMEASCII\":\"Tacuarembo\",\"POP_MAX\":54277,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-56.5100497,-32.8100012],\"properties\":{\"NAME\":\"Paso de los Toros\",\"NAMEASCII\":\"Paso de los Toros\",\"POP_MAX\":13221,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-53.9499992,-32.9299939],\"properties\":{\"NAME\":\"Vergara\",\"NAMEASCII\":\"Vergara\",\"POP_MAX\":3998,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.3800247,-33.2300272],\"properties\":{\"NAME\":\"Treinta y Tres\",\"NAMEASCII\":\"Treinta y Tres\",\"POP_MAX\":27684,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-56.3999789,-34.4700032],\"properties\":{\"NAME\":\"Santa Lucía\",\"NAMEASCII\":\"Santa Lucia\",\"POP_MAX\":16438,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-55.1200053,-33.4700126],\"properties\":{\"NAME\":\"José Batlle y Ordóñez\",\"NAMEASCII\":\"Jose Batlle y Ordonez\",\"POP_MAX\":2438,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-55.2300245,-34.3700093],\"properties\":{\"NAME\":\"Minas\",\"NAMEASCII\":\"Minas\",\"POP_MAX\":41180,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.9599893,-34.9100281],\"properties\":{\"NAME\":\"Maldonado\",\"NAMEASCII\":\"Maldonado\",\"POP_MAX\":55478,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.9499899,-34.9699727],\"properties\":{\"NAME\":\"Punta del Este\",\"NAMEASCII\":\"Punta del Este\",\"POP_MAX\":159000,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.7500021,-34.1999939],\"properties\":{\"NAME\":\"Aiguá\",\"NAMEASCII\":\"Aigua\",\"POP_MAX\":2692,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.1699858,-34.669991],\"properties\":{\"NAME\":\"La Paloma\",\"NAMEASCII\":\"La Paloma\",\"POP_MAX\":3230,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-93.2680127,44.2904865],\"properties\":{\"NAME\":\"Faribault\",\"NAMEASCII\":\"Faribault\",\"POP_MAX\":25376,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.9991567,44.1636208],\"properties\":{\"NAME\":\"Mankato\",\"NAMEASCII\":\"Mankato\",\"POP_MAX\":56325,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.3687043,43.6477867],\"properties\":{\"NAME\":\"Albert Lea\",\"NAMEASCII\":\"Albert Lea\",\"POP_MAX\":20522,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.0433049,45.1218828],\"properties\":{\"NAME\":\"Willmar\",\"NAMEASCII\":\"Willmar\",\"POP_MAX\":18473,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.2008499,46.3580088],\"properties\":{\"NAME\":\"Brainerd\",\"NAMEASCII\":\"Brainerd\",\"POP_MAX\":28187,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.6077314,47.7737622],\"properties\":{\"NAME\":\"Crookston\",\"NAMEASCII\":\"Crookston\",\"POP_MAX\":8653,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.612486,45.731768],\"properties\":{\"NAME\":\"Hardin\",\"NAMEASCII\":\"Hardin\",\"POP_MAX\":4448,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.7104926,47.1085832],\"properties\":{\"NAME\":\"Glendive\",\"NAMEASCII\":\"Glendive\",\"POP_MAX\":5856,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.6839852,45.2156755],\"properties\":{\"NAME\":\"Dillon\",\"NAMEASCII\":\"Dillon\",\"POP_MAX\":4463,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.156686,47.6880052],\"properties\":{\"NAME\":\"Polson\",\"NAMEASCII\":\"Polson\",\"POP_MAX\":5326,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.8596869,48.112217],\"properties\":{\"NAME\":\"Devils Lake\",\"NAMEASCII\":\"Devils Lake\",\"POP_MAX\":7813,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-113.7918763,42.5358132],\"properties\":{\"NAME\":\"Burley\",\"NAMEASCII\":\"Burley\",\"POP_MAX\":14042,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-115.9268881,47.4742198],\"properties\":{\"NAME\":\"Wallace\",\"NAMEASCII\":\"Wallace\",\"POP_MAX\":1028,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.1360979,46.211377],\"properties\":{\"NAME\":\"Kennewick\",\"NAMEASCII\":\"Kennewick\",\"POP_MAX\":102504,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.9529708,46.7164107],\"properties\":{\"NAME\":\"Centralia\",\"NAMEASCII\":\"Centralia\",\"POP_MAX\":18880,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.17449497904157,33.53543115135483],\"properties\":{\"NAME\":\"Glendale\",\"NAMEASCII\":\"Glendale\",\"POP_MAX\":500000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.7068801,32.8338214],\"properties\":{\"NAME\":\"Safford\",\"NAMEASCII\":\"Safford\",\"POP_MAX\":10668,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.7566258,32.8793742],\"properties\":{\"NAME\":\"Casa Grande\",\"NAMEASCII\":\"Casa Grande\",\"POP_MAX\":44655,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.82096696450179,33.414795714987406],\"properties\":{\"NAME\":\"Mesa\",\"NAMEASCII\":\"Mesa\",\"POP_MAX\":1085394,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.3082789,34.4982935],\"properties\":{\"NAME\":\"Lake Havasu City\",\"NAMEASCII\":\"Lake Havasu City\",\"POP_MAX\":56133,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.271152,37.8739014],\"properties\":{\"NAME\":\"Berkeley\",\"NAMEASCII\":\"Berkeley\",\"POP_MAX\":496356,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.0980052,32.671945],\"properties\":{\"NAME\":\"National City\",\"NAMEASCII\":\"National City\",\"POP_MAX\":150000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.7994308,39.3077674],\"properties\":{\"NAME\":\"Mendocino\",\"NAMEASCII\":\"Mendocino\",\"POP_MAX\":548,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.6899823,35.6265967],\"properties\":{\"NAME\":\"Paso Robles\",\"NAMEASCII\":\"Paso Robles\",\"POP_MAX\":27157,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.3980386,33.941945],\"properties\":{\"NAME\":\"Riverside\",\"NAMEASCII\":\"Riverside\",\"POP_MAX\":297554,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.2430681,35.7619373],\"properties\":{\"NAME\":\"Delano\",\"NAMEASCII\":\"Delano\",\"POP_MAX\":44757,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.30321361997188,37.54055384225283],\"properties\":{\"NAME\":\"San Mateo\",\"NAMEASCII\":\"San Mateo\",\"POP_MAX\":626406,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.258052,38.1119489],\"properties\":{\"NAME\":\"Vallejo\",\"NAMEASCII\":\"Vallejo\",\"POP_MAX\":146289,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.3247,39.54659],\"properties\":{\"NAME\":\"Glenwood Springs\",\"NAMEASCII\":\"Glenwood Springs\",\"POP_MAX\":14004,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.808497,39.6958574],\"properties\":{\"NAME\":\"Aurora\",\"NAMEASCII\":\"Aurora\",\"POP_MAX\":587540,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.739974,40.4191982],\"properties\":{\"NAME\":\"Greeley\",\"NAMEASCII\":\"Greeley\",\"POP_MAX\":125410,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.2289791,38.0669904],\"properties\":{\"NAME\":\"Tonopah\",\"NAMEASCII\":\"Tonopah\",\"POP_MAX\":3261,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.7557848,32.2610915],\"properties\":{\"NAME\":\"Deming\",\"NAMEASCII\":\"Deming\",\"POP_MAX\":16298,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.2528956,33.1335964],\"properties\":{\"NAME\":\"Truth or Consequences\",\"NAMEASCII\":\"Truth or Consequences\",\"POP_MAX\":7121,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.2225027,35.5970119],\"properties\":{\"NAME\":\"Las Vegas\",\"NAMEASCII\":\"Las Vegas\",\"POP_MAX\":16998,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.1860944,36.7541506],\"properties\":{\"NAME\":\"Farmington\",\"NAMEASCII\":\"Farmington\",\"POP_MAX\":43278,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.9780339,44.0519481],\"properties\":{\"NAME\":\"Springfield\",\"NAMEASCII\":\"Springfield\",\"POP_MAX\":56032,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.8425031,45.4552474],\"properties\":{\"NAME\":\"Tillamook\",\"NAMEASCII\":\"Tillamook\",\"POP_MAX\":8145,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-116.9618895,44.0266266],\"properties\":{\"NAME\":\"Ontario\",\"NAMEASCII\":\"Ontario\",\"POP_MAX\":12187,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.0866012,45.3246869],\"properties\":{\"NAME\":\"La Grande\",\"NAMEASCII\":\"La Grande\",\"POP_MAX\":15004,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.0832984,38.772477],\"properties\":{\"NAME\":\"Richfield\",\"NAMEASCII\":\"Richfield\",\"POP_MAX\":7621,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.8354841,39.7102751],\"properties\":{\"NAME\":\"Nephi\",\"NAMEASCII\":\"Nephi\",\"POP_MAX\":5117,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.7325985,42.8330044],\"properties\":{\"NAME\":\"Lander\",\"NAMEASCII\":\"Lander\",\"POP_MAX\":6821,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.7584367,44.7586749],\"properties\":{\"NAME\":\"Powell\",\"NAMEASCII\":\"Powell\",\"POP_MAX\":6895,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.5028844,36.0570872],\"properties\":{\"NAME\":\"Paragould\",\"NAMEASCII\":\"Paragould\",\"POP_MAX\":23450,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.5299793,41.6610862],\"properties\":{\"NAME\":\"Iowa City\",\"NAMEASCII\":\"Iowa City\",\"POP_MAX\":98516,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.414809,41.0128829],\"properties\":{\"NAME\":\"Ottumwa\",\"NAMEASCII\":\"Ottumwa\",\"POP_MAX\":25982,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.1471745,43.1452851],\"properties\":{\"NAME\":\"Spencer\",\"NAMEASCII\":\"Spencer\",\"POP_MAX\":11203,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.1802568,42.5068227],\"properties\":{\"NAME\":\"Ft. Dodge\",\"NAMEASCII\":\"Ft. Dodge\",\"POP_MAX\":26879,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.9234908,38.0654918],\"properties\":{\"NAME\":\"Hutchinson\",\"NAMEASCII\":\"Hutchinson\",\"POP_MAX\":44477,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.6301464,39.1135805],\"properties\":{\"NAME\":\"Kansas City\",\"NAMEASCII\":\"Kansas City\",\"POP_MAX\":501577,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.2552299,38.9597524],\"properties\":{\"NAME\":\"Lawrence\",\"NAMEASCII\":\"Lawrence\",\"POP_MAX\":92726,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.8640865,37.975213],\"properties\":{\"NAME\":\"Garden City\",\"NAMEASCII\":\"Garden City\",\"POP_MAX\":28564,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.5924351,39.1940275],\"properties\":{\"NAME\":\"Manhattan\",\"NAMEASCII\":\"Manhattan\",\"POP_MAX\":56949,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.322191,38.8793697],\"properties\":{\"NAME\":\"Hays\",\"NAMEASCII\":\"Hays\",\"POP_MAX\":21394,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.7110374,39.3484884],\"properties\":{\"NAME\":\"Goodland\",\"NAMEASCII\":\"Goodland\",\"POP_MAX\":4378,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.4152812,39.0911139],\"properties\":{\"NAME\":\"Independence\",\"NAMEASCII\":\"Independence\",\"POP_MAX\":148102,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.5828091,40.1936823],\"properties\":{\"NAME\":\"Kirksville\",\"NAMEASCII\":\"Kirksville\",\"POP_MAX\":19193,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.0811463,40.7007056],\"properties\":{\"NAME\":\"Kearney\",\"NAMEASCII\":\"Kearney\",\"POP_MAX\":31553,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.3579863,40.9222683],\"properties\":{\"NAME\":\"Grand Island\",\"NAMEASCII\":\"Grand Island\",\"POP_MAX\":45651,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.8701915,42.1013953],\"properties\":{\"NAME\":\"Alliance\",\"NAMEASCII\":\"Alliance\",\"POP_MAX\":8344,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.9805862,36.7472001],\"properties\":{\"NAME\":\"Bartlesville\",\"NAMEASCII\":\"Bartlesville\",\"POP_MAX\":34610,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.8780931,36.395542],\"properties\":{\"NAME\":\"Enid\",\"NAMEASCII\":\"Enid\",\"POP_MAX\":46138,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.1294049,34.1810777],\"properties\":{\"NAME\":\"Ardmore\",\"NAMEASCII\":\"Ardmore\",\"POP_MAX\":24960,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.765974,34.9329956],\"properties\":{\"NAME\":\"McAlester\",\"NAMEASCII\":\"McAlester\",\"POP_MAX\":21668,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.0682976,36.1353512],\"properties\":{\"NAME\":\"Stillwater\",\"NAMEASCII\":\"Stillwater\",\"POP_MAX\":47667,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.7657699,44.3508445],\"properties\":{\"NAME\":\"Lead\",\"NAMEASCII\":\"Lead\",\"POP_MAX\":2874,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.7810938,30.2749595],\"properties\":{\"NAME\":\"Slidell\",\"NAMEASCII\":\"Slidell\",\"POP_MAX\":84239,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.217189,30.2263837],\"properties\":{\"NAME\":\"Lake Charles\",\"NAMEASCII\":\"Lake Charles\",\"POP_MAX\":83821,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.1527765,29.9838662],\"properties\":{\"NAME\":\"Metairie\",\"NAMEASCII\":\"Metairie\",\"POP_MAX\":394206,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.8183079,30.0035807],\"properties\":{\"NAME\":\"New Iberia\",\"NAMEASCII\":\"New Iberia\",\"POP_MAX\":37540,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.3696839,30.6741858],\"properties\":{\"NAME\":\"Bryan\",\"NAMEASCII\":\"Bryan\",\"POP_MAX\":146692,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.9411125,29.8830713],\"properties\":{\"NAME\":\"San Marcos\",\"NAMEASCII\":\"San Marcos\",\"POP_MAX\":70371,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.7402743,32.5005343],\"properties\":{\"NAME\":\"Longview\",\"NAMEASCII\":\"Longview\",\"POP_MAX\":75920,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.2297254,26.2030375],\"properties\":{\"NAME\":\"McAllen\",\"NAMEASCII\":\"McAllen\",\"POP_MAX\":364004,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.6901976,26.1975598],\"properties\":{\"NAME\":\"Harlingen\",\"NAMEASCII\":\"Harlingen\",\"POP_MAX\":110339,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.0704845,27.7504625],\"properties\":{\"NAME\":\"Alice\",\"NAMEASCII\":\"Alice\",\"POP_MAX\":22655,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.1263208,29.6978113],\"properties\":{\"NAME\":\"New Braunfels\",\"NAMEASCII\":\"New Braunfels\",\"POP_MAX\":45840,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.3924897,32.3515253],\"properties\":{\"NAME\":\"Cleburne\",\"NAMEASCII\":\"Cleburne\",\"POP_MAX\":35545,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.9823151,31.7078953],\"properties\":{\"NAME\":\"Brownwood\",\"NAMEASCII\":\"Brownwood\",\"POP_MAX\":20988,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.6650009,30.3607166],\"properties\":{\"NAME\":\"Alpine\",\"NAMEASCII\":\"Alpine\",\"POP_MAX\":6587,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.8322423,31.0424837],\"properties\":{\"NAME\":\"Van Horn\",\"NAMEASCII\":\"Van Horn\",\"POP_MAX\":2175,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.4751862,32.2431856],\"properties\":{\"NAME\":\"Big Spring\",\"NAMEASCII\":\"Big Spring\",\"POP_MAX\":24122,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.2903842,34.1510537],\"properties\":{\"NAME\":\"Vernon\",\"NAMEASCII\":\"Vernon\",\"POP_MAX\":11660,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.2139195,34.4248871],\"properties\":{\"NAME\":\"Childress\",\"NAMEASCII\":\"Childress\",\"POP_MAX\":6557,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.3985924,34.8219171],\"properties\":{\"NAME\":\"Hereford\",\"NAMEASCII\":\"Hereford\",\"POP_MAX\":15675,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.5186109,36.0608079],\"properties\":{\"NAME\":\"Dalhart\",\"NAMEASCII\":\"Dalhart\",\"POP_MAX\":7088,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.9627672,29.4108779],\"properties\":{\"NAME\":\"Texas City\",\"NAMEASCII\":\"Texas City\",\"POP_MAX\":69914,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.147743,29.6608626],\"properties\":{\"NAME\":\"Pasadena\",\"NAMEASCII\":\"Pasadena\",\"POP_MAX\":628492,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.9677281,29.7558439],\"properties\":{\"NAME\":\"Baytown\",\"NAMEASCII\":\"Baytown\",\"POP_MAX\":86034,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.0202385,32.6847608],\"properties\":{\"NAME\":\"Arlington\",\"NAMEASCII\":\"Arlington\",\"POP_MAX\":724777,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.7399821,7.2399831],\"properties\":{\"NAME\":\"Guasdualito\",\"NAMEASCII\":\"Guasdualito\",\"POP_MAX\":30860,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-70.250012,8.5999776],\"properties\":{\"NAME\":\"Barinas\",\"NAMEASCII\":\"Barinas\",\"POP_MAX\":284289,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-70.6200153,9.3199595],\"properties\":{\"NAME\":\"Valera\",\"NAMEASCII\":\"Valera\",\"POP_MAX\":191167,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-71.4499905,10.4299951],\"properties\":{\"NAME\":\"Cabimas\",\"NAMEASCII\":\"Cabimas\",\"POP_MAX\":441094,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-70.0799966,10.1899839],\"properties\":{\"NAME\":\"Carora\",\"NAMEASCII\":\"Carora\",\"POP_MAX\":149711,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-69.7500167,9.049976],\"properties\":{\"NAME\":\"Guanare\",\"NAMEASCII\":\"Guanare\",\"POP_MAX\":151642,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-72.1000283,41.3555235],\"properties\":{\"NAME\":\"New London\",\"NAMEASCII\":\"New London\",\"POP_MAX\":96178,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.5391911,41.0533456],\"properties\":{\"NAME\":\"Stamford\",\"NAMEASCII\":\"Stamford\",\"POP_MAX\":746920,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.050022,41.5500078],\"properties\":{\"NAME\":\"Waterbury\",\"NAMEASCII\":\"Waterbury\",\"POP_MAX\":174236,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.9446983,41.6561253],\"properties\":{\"NAME\":\"New Bedford\",\"NAMEASCII\":\"New Bedford\",\"POP_MAX\":136082,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-72.579999,42.1200246],\"properties\":{\"NAME\":\"Springfield\",\"NAMEASCII\":\"Springfield\",\"POP_MAX\":421780,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.8830917,42.5224989],\"properties\":{\"NAME\":\"Salem\",\"NAMEASCII\":\"Salem\",\"POP_MAX\":335509,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.2598283,42.4481958],\"properties\":{\"NAME\":\"Pittsfield\",\"NAMEASCII\":\"Pittsfield\",\"POP_MAX\":46230,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-72.5758132,44.2599715],\"properties\":{\"NAME\":\"Montpelier\",\"NAMEASCII\":\"Montpelier\",\"POP_MAX\":8538,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.4808395,32.6097007],\"properties\":{\"NAME\":\"Auburn\",\"NAMEASCII\":\"Auburn\",\"POP_MAX\":73929,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.6772429,34.7996963],\"properties\":{\"NAME\":\"Florence\",\"NAMEASCII\":\"Florence\",\"POP_MAX\":45349,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.7330062,28.0219188],\"properties\":{\"NAME\":\"Winter Haven\",\"NAMEASCII\":\"Winter Haven\",\"POP_MAX\":108932,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.6083204,28.0833104],\"properties\":{\"NAME\":\"Melbourne\",\"NAMEASCII\":\"Melbourne\",\"POP_MAX\":265414,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.4777857,25.468302],\"properties\":{\"NAME\":\"Homestead\",\"NAMEASCII\":\"Homestead\",\"POP_MAX\":85967,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.2799848,28.7899597],\"properties\":{\"NAME\":\"Sanford\",\"NAMEASCII\":\"Sanford\",\"POP_MAX\":333460,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.1317811,25.8099195],\"properties\":{\"NAME\":\"Miami Beach\",\"NAMEASCII\":\"Miami Beach\",\"POP_MAX\":407750,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.2708216,26.270837],\"properties\":{\"NAME\":\"Coral Springs\",\"NAMEASCII\":\"Coral Springs\",\"POP_MAX\":250000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.1056967,27.0000432],\"properties\":{\"NAME\":\"Port Charlotte\",\"NAMEASCII\":\"Port Charlotte\",\"POP_MAX\":64279,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.547711,28.4789451],\"properties\":{\"NAME\":\"Spring Hill\",\"NAMEASCII\":\"Spring Hill\",\"POP_MAX\":114697,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.2232957,29.5380019],\"properties\":{\"NAME\":\"Palm Coast\",\"NAMEASCII\":\"Palm Coast\",\"POP_MAX\":48577,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.6513058,29.6476852],\"properties\":{\"NAME\":\"Palatka\",\"NAMEASCII\":\"Palatka\",\"POP_MAX\":21452,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.883333,28.8105011],\"properties\":{\"NAME\":\"Leesburg\",\"NAMEASCII\":\"Leesburg\",\"POP_MAX\":49574,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.6397467,30.1897193],\"properties\":{\"NAME\":\"Lake City\",\"NAMEASCII\":\"Lake City\",\"POP_MAX\":29395,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.5726075,30.7542068],\"properties\":{\"NAME\":\"Crestview\",\"NAMEASCII\":\"Crestview\",\"POP_MAX\":22403,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.6552733,30.15861],\"properties\":{\"NAME\":\"Panama City\",\"NAMEASCII\":\"Panama City\",\"POP_MAX\":100072,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.9703022,34.7697239],\"properties\":{\"NAME\":\"Dalton\",\"NAMEASCII\":\"Dalton\",\"POP_MAX\":58557,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.5432481,33.9556134],\"properties\":{\"NAME\":\"Marietta\",\"NAMEASCII\":\"Marietta\",\"POP_MAX\":61360,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.3549063,31.213817],\"properties\":{\"NAME\":\"Waycross\",\"NAMEASCII\":\"Waycross\",\"POP_MAX\":19824,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.0318746,33.0364706],\"properties\":{\"NAME\":\"La Grange\",\"NAMEASCII\":\"La Grange\",\"POP_MAX\":31776,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.0034575,34.9689107],\"properties\":{\"NAME\":\"Southaven\",\"NAMEASCII\":\"Southaven\",\"POP_MAX\":121268,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.7036143,32.364186],\"properties\":{\"NAME\":\"Meridian\",\"NAMEASCII\":\"Meridian\",\"POP_MAX\":42290,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.1392725,31.6973792],\"properties\":{\"NAME\":\"Laurel\",\"NAMEASCII\":\"Laurel\",\"POP_MAX\":28841,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.9322706,34.9494287],\"properties\":{\"NAME\":\"Spartanburg\",\"NAMEASCII\":\"Spartanburg\",\"POP_MAX\":124126,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.8622325,33.4968042],\"properties\":{\"NAME\":\"Orangeburg\",\"NAMEASCII\":\"Orangeburg\",\"POP_MAX\":35472,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.3710836,40.9477706],\"properties\":{\"NAME\":\"Galesburg\",\"NAMEASCII\":\"Galesburg\",\"POP_MAX\":32094,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.106674,41.5299831],\"properties\":{\"NAME\":\"Joliet\",\"NAMEASCII\":\"Joliet\",\"POP_MAX\":578460,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.5180866,37.3058224],\"properties\":{\"NAME\":\"Cape Girardeau\",\"NAMEASCII\":\"Cape Girardeau\",\"POP_MAX\":40427,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.0696902,42.2697054],\"properties\":{\"NAME\":\"Rockford\",\"NAMEASCII\":\"Rockford\",\"POP_MAX\":255978,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.6999547,42.0483494],\"properties\":{\"NAME\":\"Evanston\",\"NAMEASCII\":\"Evanston\",\"POP_MAX\":350000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.5346137,41.4933962],\"properties\":{\"NAME\":\"Rock Island\",\"NAMEASCII\":\"Rock Island\",\"POP_MAX\":165728,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.2899187,42.0394611],\"properties\":{\"NAME\":\"Elgin\",\"NAMEASCII\":\"Elgin\",\"POP_MAX\":389514,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.8902812,39.8288983],\"properties\":{\"NAME\":\"Richmond\",\"NAMEASCII\":\"Richmond\",\"POP_MAX\":44400,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.4138739,39.4666465],\"properties\":{\"NAME\":\"Terre Haute\",\"NAMEASCII\":\"Terre Haute\",\"POP_MAX\":73236,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.8782477,40.4172087],\"properties\":{\"NAME\":\"Lafayette\",\"NAMEASCII\":\"Lafayette\",\"POP_MAX\":133977,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.6591748,40.558337],\"properties\":{\"NAME\":\"Marion\",\"NAMEASCII\":\"Marion\",\"POP_MAX\":38297,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.2500173,41.6833071],\"properties\":{\"NAME\":\"South Bend\",\"NAMEASCII\":\"South Bend\",\"POP_MAX\":239822,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.8212838,38.3108773],\"properties\":{\"NAME\":\"New Albany\",\"NAMEASCII\":\"New Albany\",\"POP_MAX\":120625,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.9687942,41.6829454],\"properties\":{\"NAME\":\"Elkhart\",\"NAMEASCII\":\"Elkhart\",\"POP_MAX\":149190,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.4886239,36.8654875],\"properties\":{\"NAME\":\"Hopkinsville\",\"NAMEASCII\":\"Hopkinsville\",\"POP_MAX\":35604,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.0833537,37.1288823],\"properties\":{\"NAME\":\"London\",\"NAMEASCII\":\"London\",\"POP_MAX\":7844,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.5022148,37.3327458],\"properties\":{\"NAME\":\"Madisonville\",\"NAMEASCII\":\"Madisonville\",\"POP_MAX\":22294,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.7907662,35.9379989],\"properties\":{\"NAME\":\"Rocky Mount\",\"NAMEASCII\":\"Rocky Mount\",\"POP_MAX\":58361,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.4744784,35.67078],\"properties\":{\"NAME\":\"Salisbury\",\"NAMEASCII\":\"Salisbury\",\"POP_MAX\":41352,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.9199996,35.9999589],\"properties\":{\"NAME\":\"Durham\",\"NAMEASCII\":\"Durham\",\"POP_MAX\":309495,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.0119062,34.6272003],\"properties\":{\"NAME\":\"Lumberton\",\"NAMEASCII\":\"Lumberton\",\"POP_MAX\":32785,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.013325,39.9402869],\"properties\":{\"NAME\":\"Zanesville\",\"NAMEASCII\":\"Zanesville\",\"POP_MAX\":40052,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.5155424,40.7583248],\"properties\":{\"NAME\":\"Mansfield\",\"NAMEASCII\":\"Mansfield\",\"POP_MAX\":77768,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.6513904,41.3747471],\"properties\":{\"NAME\":\"Bowling Green\",\"NAMEASCII\":\"Bowling Green\",\"POP_MAX\":37080,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.799986,39.9200039],\"properties\":{\"NAME\":\"Springfield\",\"NAMEASCII\":\"Springfield\",\"POP_MAX\":84576,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.6053044,39.7192151],\"properties\":{\"NAME\":\"Lancaster\",\"NAMEASCII\":\"Lancaster\",\"POP_MAX\":48829,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.3536143,36.3133248],\"properties\":{\"NAME\":\"Johnson City\",\"NAMEASCII\":\"Johnson City\",\"POP_MAX\":77538,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.5619479,36.5483234],\"properties\":{\"NAME\":\"Kingsport\",\"NAMEASCII\":\"Kingsport\",\"POP_MAX\":57467,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.0352666,35.6149953],\"properties\":{\"NAME\":\"Columbia\",\"NAMEASCII\":\"Columbia\",\"POP_MAX\":116091,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.8410901,35.2229004],\"properties\":{\"NAME\":\"Barlett\",\"NAMEASCII\":\"Barlett\",\"POP_MAX\":286423,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.4141978,37.2294188],\"properties\":{\"NAME\":\"Blacksburg\",\"NAMEASCII\":\"Blacksburg\",\"POP_MAX\":67508,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.8691759,38.4494218],\"properties\":{\"NAME\":\"Harrisonburg\",\"NAMEASCII\":\"Harrisonburg\",\"POP_MAX\":42538,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.402237,37.2277651],\"properties\":{\"NAME\":\"Petersburg\",\"NAMEASCII\":\"Petersburg\",\"POP_MAX\":118577,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.3499498,37.0300252],\"properties\":{\"NAME\":\"Hampton\",\"NAMEASCII\":\"Hampton\",\"POP_MAX\":366766,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.7144241,43.7508295],\"properties\":{\"NAME\":\"Sheboygan\",\"NAMEASCII\":\"Sheboygan\",\"POP_MAX\":53705,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.2313693,43.0116498],\"properties\":{\"NAME\":\"Waukesha\",\"NAMEASCII\":\"Waukesha\",\"POP_MAX\":249912,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.2394285,43.801369],\"properties\":{\"NAME\":\"La Crosse\",\"NAMEASCII\":\"La Crosse\",\"POP_MAX\":87381,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.4983533,44.8113591],\"properties\":{\"NAME\":\"Eau Claire\",\"NAMEASCII\":\"Eau Claire\",\"POP_MAX\":79740,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.5038921,43.9850529],\"properties\":{\"NAME\":\"Tomah\",\"NAMEASCII\":\"Tomah\",\"POP_MAX\":12997,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.0215794,42.682626],\"properties\":{\"NAME\":\"Janesville\",\"NAMEASCII\":\"Janesville\",\"POP_MAX\":69278,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.4005062,44.268679],\"properties\":{\"NAME\":\"Appleton\",\"NAMEASCII\":\"Appleton\",\"POP_MAX\":203665,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.5616472,39.2666588],\"properties\":{\"NAME\":\"Parkersburg\",\"NAMEASCII\":\"Parkersburg\",\"POP_MAX\":61935,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3034811,37.7938804],\"properties\":{\"NAME\":\"White Sulphur Springs\",\"NAMEASCII\":\"White Sulphur Springs\",\"POP_MAX\":2407,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3369157,39.2832727],\"properties\":{\"NAME\":\"Clarksburg\",\"NAMEASCII\":\"Clarksburg\",\"POP_MAX\":28773,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.524703,39.1580866],\"properties\":{\"NAME\":\"Dover\",\"NAMEASCII\":\"Dover\",\"POP_MAX\":76039,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.9389319,38.6030558],\"properties\":{\"NAME\":\"St. Charles\",\"NAMEASCII\":\"St. Charles\",\"POP_MAX\":69208,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.4924992,38.9783301],\"properties\":{\"NAME\":\"Annapolis\",\"NAMEASCII\":\"Annapolis\",\"POP_MAX\":81300,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.7202796,39.6416488],\"properties\":{\"NAME\":\"Hagerstown\",\"NAMEASCII\":\"Hagerstown\",\"POP_MAX\":79662,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-74.1700053,40.9199945],\"properties\":{\"NAME\":\"Paterson\",\"NAMEASCII\":\"Paterson\",\"POP_MAX\":151205,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.7850159,43.0829633],\"properties\":{\"NAME\":\"Saratoga Springs\",\"NAMEASCII\":\"Saratoga Springs\",\"POP_MAX\":55793,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.9214159,41.7002311],\"properties\":{\"NAME\":\"Poughkeepsie\",\"NAMEASCII\":\"Poughkeepsie\",\"POP_MAX\":170996,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.4579816,44.6949837],\"properties\":{\"NAME\":\"Plattsburgh\",\"NAMEASCII\":\"Plattsburgh\",\"POP_MAX\":29238,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3194233,40.7519428],\"properties\":{\"NAME\":\"Beaver Falls\",\"NAMEASCII\":\"Beaver Falls\",\"POP_MAX\":120125,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.3949671,40.5185978],\"properties\":{\"NAME\":\"Altoona\",\"NAMEASCII\":\"Altoona\",\"POP_MAX\":78607,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.0013829,41.241086],\"properties\":{\"NAME\":\"Williamsport\",\"NAMEASCII\":\"Williamsport\",\"POP_MAX\":56877,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.3057664,40.0377745],\"properties\":{\"NAME\":\"Lancaster\",\"NAMEASCII\":\"Lancaster\",\"POP_MAX\":209489,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.5000275,40.5999882],\"properties\":{\"NAME\":\"Allentown\",\"NAMEASCII\":\"Allentown\",\"POP_MAX\":496442,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-64.6800161,10.1699593],\"properties\":{\"NAME\":\"Puerto la Cruz\",\"NAMEASCII\":\"Puerto la Cruz\",\"POP_MAX\":546616,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-64.4600037,9.4400039],\"properties\":{\"NAME\":\"Anaco\",\"NAMEASCII\":\"Anaco\",\"POP_MAX\":117596,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-67.0200283,10.4199699],\"properties\":{\"NAME\":\"Los Teques\",\"NAMEASCII\":\"Los Teques\",\"POP_MAX\":303470,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-66.019986,9.2099921],\"properties\":{\"NAME\":\"Valle de la Pascua\",\"NAMEASCII\":\"Valle de la Pascua\",\"POP_MAX\":89080,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-66.7799913,10.1199882],\"properties\":{\"NAME\":\"Ocumare del Tuy\",\"NAMEASCII\":\"Ocumare del Tuy\",\"POP_MAX\":166072,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-63.2300013,10.6700063],\"properties\":{\"NAME\":\"Carúpano\",\"NAMEASCII\":\"Carupano\",\"POP_MAX\":126293,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-61.4593768,10.2804617],\"properties\":{\"NAME\":\"San Fernando\",\"NAMEASCII\":\"San Fernando\",\"POP_MAX\":166039,\"ISO_A2\":\"TT\",\"SOV_A3\":\"TTO\"}},{\"type\":\"Point\",\"coordinates\":[-55.1699506,5.0200153],\"properties\":{\"NAME\":\"Brownsweg\",\"NAMEASCII\":\"Brownsweg\",\"POP_MAX\":4582,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-54.409997,5.6300039],\"properties\":{\"NAME\":\"Moengo\",\"NAMEASCII\":\"Moengo\",\"POP_MAX\":7766,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-55.0700084,5.9099868],\"properties\":{\"NAME\":\"Nieuw Amsterdam\",\"NAMEASCII\":\"Nieuw Amsterdam\",\"POP_MAX\":4935,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-69.6457854,44.5518917],\"properties\":{\"NAME\":\"Waterville\",\"NAMEASCII\":\"Waterville\",\"POP_MAX\":25152,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-67.242392,45.1659886],\"properties\":{\"NAME\":\"Calais\",\"NAMEASCII\":\"Calais\",\"POP_MAX\":3306,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-67.8397199,46.1255166],\"properties\":{\"NAME\":\"Houlton\",\"NAMEASCII\":\"Houlton\",\"POP_MAX\":6703,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.4541909,42.1166398],\"properties\":{\"NAME\":\"Benton Harbor\",\"NAMEASCII\":\"Benton Harbor\",\"POP_MAX\":58382,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.1797467,42.3210976],\"properties\":{\"NAME\":\"Battle Creek\",\"NAMEASCII\":\"Battle Creek\",\"POP_MAX\":70820,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.8888953,43.5944566],\"properties\":{\"NAME\":\"Bay City\",\"NAMEASCII\":\"Bay City\",\"POP_MAX\":68549,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.4326958,45.0616022],\"properties\":{\"NAME\":\"Alpena\",\"NAMEASCII\":\"Alpena\",\"POP_MAX\":18330,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.0640927,45.8224601],\"properties\":{\"NAME\":\"Iron Mountain\",\"NAMEASCII\":\"Iron Mountain\",\"POP_MAX\":16183,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.1593911,46.4558065],\"properties\":{\"NAME\":\"Ironwood\",\"NAMEASCII\":\"Ironwood\",\"POP_MAX\":7064,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-4.8833301,36.5166199],\"properties\":{\"NAME\":\"Marbella\",\"NAMEASCII\":\"Marbella\",\"POP_MAX\":186131,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.6333547,38.0833201],\"properties\":{\"NAME\":\"Linares\",\"NAMEASCII\":\"Linares\",\"POP_MAX\":59761,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.452659839737986,36.131881591291716],\"properties\":{\"NAME\":\"Algeciras\",\"NAMEASCII\":\"Algeciras\",\"POP_MAX\":111027,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.5700066,42.5799707],\"properties\":{\"NAME\":\"León\",\"NAMEASCII\":\"Leon\",\"POP_MAX\":136227,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[2.4500207,41.5399567],\"properties\":{\"NAME\":\"Mataró\",\"NAMEASCII\":\"Mataro\",\"POP_MAX\":183293,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[35.779976,35.539987],\"properties\":{\"NAME\":\"Latakia\",\"NAMEASCII\":\"Al Ladhiqiyah\",\"POP_MAX\":539147,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[38.5480757,35.8366614],\"properties\":{\"NAME\":\"Madinat ath Thawrah\",\"NAMEASCII\":\"Madinat ath Thawrah\",\"POP_MAX\":87880,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[37.0440848,36.588786],\"properties\":{\"NAME\":\"Izaz\",\"NAMEASCII\":\"Izaz\",\"POP_MAX\":31534,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[37.9563289,36.5266451],\"properties\":{\"NAME\":\"Manbij\",\"NAMEASCII\":\"Manbij\",\"POP_MAX\":120169,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.6316552,35.9297048],\"properties\":{\"NAME\":\"Idlib\",\"NAMEASCII\":\"Idlib\",\"POP_MAX\":128840,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[41.2299792,37.0300252],\"properties\":{\"NAME\":\"Al Qamishli\",\"NAMEASCII\":\"Al Qamishli\",\"POP_MAX\":104107,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[40.7500085,36.4832886],\"properties\":{\"NAME\":\"Al Hasakah\",\"NAMEASCII\":\"Al Hasakah\",\"POP_MAX\":128100,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.3999898,33.5833364],\"properties\":{\"NAME\":\"Douma\",\"NAMEASCII\":\"Douma\",\"POP_MAX\":496145,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[44.3874609,14.5574693],\"properties\":{\"NAME\":\"Dhamar\",\"NAMEASCII\":\"Dhamar\",\"POP_MAX\":191259,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[44.170885,13.9758511],\"properties\":{\"NAME\":\"Ibb\",\"NAMEASCII\":\"Ibb\",\"POP_MAX\":234837,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[9.5000297,46.8500202],\"properties\":{\"NAME\":\"Chur\",\"NAMEASCII\":\"Chur\",\"POP_MAX\":38293,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[-160.4971908,55.3397087],\"properties\":{\"NAME\":\"Sand Point\",\"NAMEASCII\":\"Sand Point\",\"POP_MAX\":667,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-132.8006385,55.2139799],\"properties\":{\"NAME\":\"Hydaburg\",\"NAMEASCII\":\"Hydaburg\",\"POP_MAX\":382,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.1899372,60.3886467],\"properties\":{\"NAME\":\"Mekoryuk\",\"NAMEASCII\":\"Mekoryuk\",\"POP_MAX\":99,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.395778,70.4693795],\"properties\":{\"NAME\":\"Atqasuk\",\"NAMEASCII\":\"Atqasuk\",\"POP_MAX\":201,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-158.6268915,56.9490936],\"properties\":{\"NAME\":\"Port Heiden\",\"NAMEASCII\":\"Port Heiden\",\"POP_MAX\":102,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-159.1511489,55.9186139],\"properties\":{\"NAME\":\"Perryville\",\"NAMEASCII\":\"Perryville\",\"POP_MAX\":113,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-158.4803121,59.0565603],\"properties\":{\"NAME\":\"Dillingham\",\"NAMEASCII\":\"Dillingham\",\"POP_MAX\":2488,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-161.5871302,59.1209927],\"properties\":{\"NAME\":\"Goodnews Bay\",\"NAMEASCII\":\"Goodnews Bay\",\"POP_MAX\":230,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-159.9404806,61.0041433],\"properties\":{\"NAME\":\"Nyac\",\"NAMEASCII\":\"Nyac\",\"POP_MAX\":100,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-165.2557892,60.5854867],\"properties\":{\"NAME\":\"Tununak\",\"NAMEASCII\":\"Tununak\",\"POP_MAX\":352,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-163.729009,62.0855243],\"properties\":{\"NAME\":\"Mountain Village\",\"NAMEASCII\":\"Mountain Village\",\"POP_MAX\":755,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-164.5229916,62.7769808],\"properties\":{\"NAME\":\"Emmonak\",\"NAMEASCII\":\"Emmonak\",\"POP_MAX\":100,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-158.7218986,64.3271963],\"properties\":{\"NAME\":\"Kaltag\",\"NAMEASCII\":\"Kaltag\",\"POP_MAX\":190,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.3607864,65.2635991],\"properties\":{\"NAME\":\"Teller\",\"NAMEASCII\":\"Teller\",\"POP_MAX\":83,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.7008499,64.8802891],\"properties\":{\"NAME\":\"Koyukuk\",\"NAMEASCII\":\"Koyukuk\",\"POP_MAX\":101,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-156.8809774,66.9072455],\"properties\":{\"NAME\":\"Kobuk\",\"NAMEASCII\":\"Kobuk\",\"POP_MAX\":151,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-160.0093911,66.603879],\"properties\":{\"NAME\":\"Selawik\",\"NAMEASCII\":\"Selawik\",\"POP_MAX\":832,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-150.1094269,62.3237785],\"properties\":{\"NAME\":\"Talkeetna\",\"NAMEASCII\":\"Talkeetna\",\"POP_MAX\":1078,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-148.6776797,60.7841567],\"properties\":{\"NAME\":\"Whittier\",\"NAMEASCII\":\"Whittier\",\"POP_MAX\":177,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-150.0727625,62.0796849],\"properties\":{\"NAME\":\"Montana\",\"NAMEASCII\":\"Montana\",\"POP_MAX\":10,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-152.3121865,63.8828306],\"properties\":{\"NAME\":\"Lake Minchumina\",\"NAMEASCII\":\"Lake Minchumina\",\"POP_MAX\":32,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-148.9507896,63.3915945],\"properties\":{\"NAME\":\"Cantwell\",\"NAMEASCII\":\"Cantwell\",\"POP_MAX\":222,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-145.3821961,62.2713528],\"properties\":{\"NAME\":\"Gulkana\",\"NAMEASCII\":\"Gulkana\",\"POP_MAX\":119,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-141.1999966,64.787995],\"properties\":{\"NAME\":\"Eagle\",\"NAMEASCII\":\"Eagle\",\"POP_MAX\":104,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-149.0930032,64.5637968],\"properties\":{\"NAME\":\"Nenana\",\"NAMEASCII\":\"Nenana\",\"POP_MAX\":75,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-145.8421938,64.1525299],\"properties\":{\"NAME\":\"Big Delta\",\"NAMEASCII\":\"Big Delta\",\"POP_MAX\":591,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-152.6454995,66.5654834],\"properties\":{\"NAME\":\"Allakaket\",\"NAMEASCII\":\"Allakaket\",\"POP_MAX\":97,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-152.0787899,65.1718734],\"properties\":{\"NAME\":\"Tanana\",\"NAMEASCII\":\"Tanana\",\"POP_MAX\":308,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[15.4166711,60.4833224],\"properties\":{\"NAME\":\"Borlänge\",\"NAMEASCII\":\"Borlange\",\"POP_MAX\":39422,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[16.5576798129634,59.60908375716462],\"properties\":{\"NAME\":\"Västerås\",\"NAMEASCII\":\"Vasteraas\",\"POP_MAX\":107194,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[31.984342,46.9677391],\"properties\":{\"NAME\":\"Mykolayiv\",\"NAMEASCII\":\"Mykolayiv\",\"POP_MAX\":510840,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[31.3015413,51.5049298],\"properties\":{\"NAME\":\"Chernihiv\",\"NAMEASCII\":\"Chernihiv\",\"POP_MAX\":307684,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[27.0015454,49.4249276],\"properties\":{\"NAME\":\"Khmelnytskyy\",\"NAMEASCII\":\"Khmelnytskyy\",\"POP_MAX\":398346,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[26.5808992,48.684301],\"properties\":{\"NAME\":\"Kamyanets-Podilskyy\",\"NAMEASCII\":\"Kamyanets-Podilskyy\",\"POP_MAX\":114658,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[23.4993819,49.344364],\"properties\":{\"NAME\":\"Drohobych\",\"NAMEASCII\":\"Drohobych\",\"POP_MAX\":124269,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[22.2500008,48.629989],\"properties\":{\"NAME\":\"Uzhgorod\",\"NAMEASCII\":\"Uzhgorod\",\"POP_MAX\":150832,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[30.2109102,48.7542967],\"properties\":{\"NAME\":\"Uman\",\"NAMEASCII\":\"Uman\",\"POP_MAX\":87658,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[30.7809012,50.4943197],\"properties\":{\"NAME\":\"Brovary\",\"NAMEASCII\":\"Brovary\",\"POP_MAX\":88506,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[30.1309151,49.7743119],\"properties\":{\"NAME\":\"Bila Tserkva\",\"NAMEASCII\":\"Bila Tserkva\",\"POP_MAX\":199163,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[30.666593,46.3000021],\"properties\":{\"NAME\":\"Illichivsk\",\"NAMEASCII\":\"Illichivsk\",\"POP_MAX\":54102,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[33.2090218,51.2423877],\"properties\":{\"NAME\":\"Konotop\",\"NAMEASCII\":\"Konotop\",\"POP_MAX\":103547,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[33.3449825,47.9283264],\"properties\":{\"NAME\":\"Kryvyy Rih\",\"NAMEASCII\":\"Kryvyy Rih\",\"POP_MAX\":652380,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[37.9746224,48.0296639],\"properties\":{\"NAME\":\"Makiyivka\",\"NAMEASCII\":\"Makiyivka\",\"POP_MAX\":376610,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[38.0546691,48.2996474],\"properties\":{\"NAME\":\"Horlivka\",\"NAMEASCII\":\"Horlivka\",\"POP_MAX\":396885,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[37.5343908,48.7193634],\"properties\":{\"NAME\":\"Kramatorsk\",\"NAMEASCII\":\"Kramatorsk\",\"POP_MAX\":184105,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[36.7868396,46.7568217],\"properties\":{\"NAME\":\"Berdyansk\",\"NAMEASCII\":\"Berdyansk\",\"POP_MAX\":118284,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[49.6091577,14.7593174],\"properties\":{\"NAME\":\"Ash Shihr\",\"NAMEASCII\":\"Ash Shihr\",\"POP_MAX\":54274,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[55.5533427,25.5652728],\"properties\":{\"NAME\":\"Umm al Qaywayn\",\"NAMEASCII\":\"Umm al Qaywayn\",\"POP_MAX\":44411,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[55.4064782,25.3713829],\"properties\":{\"NAME\":\"Sharjah\",\"NAMEASCII\":\"Sharjah\",\"POP_MAX\":1103027,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[56.2777946,38.9755396],\"properties\":{\"NAME\":\"Serdar\",\"NAMEASCII\":\"Serdar\",\"POP_MAX\":48458,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[53.1225912,39.4361549],\"properties\":{\"NAME\":\"Celeken\",\"NAMEASCII\":\"Celeken\",\"POP_MAX\":1206,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[60.4960384,37.3786086],\"properties\":{\"NAME\":\"Tejen\",\"NAMEASCII\":\"Tejen\",\"POP_MAX\":67294,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[58.210028,38.0516683],\"properties\":{\"NAME\":\"Buzmeyin\",\"NAMEASCII\":\"Buzmeyin\",\"POP_MAX\":40813,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[59.1666621,42.3166535],\"properties\":{\"NAME\":\"Koneurgench\",\"NAMEASCII\":\"Koneurgench\",\"POP_MAX\":31400,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[59.4516577,42.4047101],\"properties\":{\"NAME\":\"Khujayli\",\"NAMEASCII\":\"Khujayli\",\"POP_MAX\":60401,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[67.2606901,39.4007074],\"properties\":{\"NAME\":\"Urgut\",\"NAMEASCII\":\"Urgut\",\"POP_MAX\":99675,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[66.2607511,39.9007027],\"properties\":{\"NAME\":\"Kattaqorgon\",\"NAMEASCII\":\"Kattaqorgon\",\"POP_MAX\":247113,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[67.8871635,38.2771584],\"properties\":{\"NAME\":\"Denow\",\"NAMEASCII\":\"Denow\",\"POP_MAX\":217274,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[68.7713472,37.8373145],\"properties\":{\"NAME\":\"Qurghonteppa\",\"NAMEASCII\":\"Qurghonteppa\",\"POP_MAX\":311574,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[70.4271635,40.2921517],\"properties\":{\"NAME\":\"Konibodom\",\"NAMEASCII\":\"Konibodom\",\"POP_MAX\":259876,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[68.7907259,40.495731],\"properties\":{\"NAME\":\"Guliston\",\"NAMEASCII\":\"Guliston\",\"POP_MAX\":95520,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[69.6807491,41.5507312],\"properties\":{\"NAME\":\"Iskandar\",\"NAMEASCII\":\"Iskandar\",\"POP_MAX\":195633,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[69.5599812,41.4549748],\"properties\":{\"NAME\":\"Chirchiq\",\"NAMEASCII\":\"Chirchiq\",\"POP_MAX\":167842,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[-87.4899675,13.5299868],\"properties\":{\"NAME\":\"Nacaome\",\"NAMEASCII\":\"Nacaome\",\"POP_MAX\":47000,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-88.7799921,14.7699886],\"properties\":{\"NAME\":\"Santa Rosa de Copán\",\"NAMEASCII\":\"Santa Rosa de Copan\",\"POP_MAX\":35529,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-57.1699836,5.9000391],\"properties\":{\"NAME\":\"Corriverton\",\"NAMEASCII\":\"Corriverton\",\"POP_MAX\":12000,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-58.2499952,5.4300161],\"properties\":{\"NAME\":\"Ituni\",\"NAMEASCII\":\"Ituni\",\"POP_MAX\":100,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-59.8000297,3.3899597],\"properties\":{\"NAME\":\"Lethem\",\"NAMEASCII\":\"Lethem\",\"POP_MAX\":352,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-5.6700004,43.5300161],\"properties\":{\"NAME\":\"Gijón\",\"NAMEASCII\":\"Gijon\",\"POP_MAX\":335972,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-2.6699768,42.8499801],\"properties\":{\"NAME\":\"Vitoria\",\"NAMEASCII\":\"Vitoria\",\"POP_MAX\":224578,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[12.4533865,41.9032822],\"properties\":{\"NAME\":\"Vatican City\",\"NAMEASCII\":\"Vatican City\",\"POP_MAX\":832,\"ISO_A2\":\"VA\",\"SOV_A3\":\"VAT\"}},{\"type\":\"Point\",\"coordinates\":[-4.7500308,55.93329],\"properties\":{\"NAME\":\"Greenock\",\"NAMEASCII\":\"Greenock\",\"POP_MAX\":74635,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.379881564518565,54.903407084625925],\"properties\":{\"NAME\":\"Sunderland\",\"NAMEASCII\":\"Sunderland\",\"POP_MAX\":452934,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.3999768,50.9000314],\"properties\":{\"NAME\":\"Southampton\",\"NAMEASCII\":\"Southampton\",\"POP_MAX\":384417,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.5833155,51.4499978],\"properties\":{\"NAME\":\"Bristol\",\"NAMEASCII\":\"Bristol\",\"POP_MAX\":553528,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.9000497,50.7299901],\"properties\":{\"NAME\":\"Bournemouth\",\"NAMEASCII\":\"Bournemouth\",\"POP_MAX\":426945,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-7.3000043,54.6000122],\"properties\":{\"NAME\":\"Omagh\",\"NAMEASCII\":\"Omagh\",\"POP_MAX\":21056,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.902964575974897,53.18632509137432],\"properties\":{\"NAME\":\"Chester\",\"NAMEASCII\":\"Chester\",\"POP_MAX\":89531,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.9500021,51.6299868],\"properties\":{\"NAME\":\"Swansea\",\"NAMEASCII\":\"Swansea\",\"POP_MAX\":294339,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.9299868,54.8799951],\"properties\":{\"NAME\":\"Carlisle\",\"NAMEASCII\":\"Carlisle\",\"POP_MAX\":72633,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[27.8500207,37.8499752],\"properties\":{\"NAME\":\"Aydın\",\"NAMEASCII\":\"Aydin\",\"POP_MAX\":198857,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[27.3552189,41.4066573],\"properties\":{\"NAME\":\"Lüleburgaz\",\"NAMEASCII\":\"Luleburgaz\",\"POP_MAX\":90899,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.5299605,37.7699801],\"properties\":{\"NAME\":\"Isparta\",\"NAMEASCII\":\"Isparta\",\"POP_MAX\":172334,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.9299971,39.4200086],\"properties\":{\"NAME\":\"Kütahya\",\"NAMEASCII\":\"Kutahya\",\"POP_MAX\":185008,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[28.3638912,37.2163705],\"properties\":{\"NAME\":\"Muğla\",\"NAMEASCII\":\"Mugla\",\"POP_MAX\":48183,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[39.2299979,38.6799762],\"properties\":{\"NAME\":\"Elâzığ\",\"NAMEASCII\":\"Elazig\",\"POP_MAX\":271492,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[36.9450211,37.6099898],\"properties\":{\"NAME\":\"Kahramanmaraş\",\"NAMEASCII\":\"Kahramanmaras\",\"POP_MAX\":376045,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.6199951,36.7999876],\"properties\":{\"NAME\":\"Icel\",\"NAMEASCII\":\"Icel\",\"POP_MAX\":616990,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.9500008,40.5199931],\"properties\":{\"NAME\":\"Corum\",\"NAMEASCII\":\"Corum\",\"POP_MAX\":183418,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[40.5218571,41.0208411],\"properties\":{\"NAME\":\"Rize\",\"NAMEASCII\":\"Rize\",\"POP_MAX\":279450,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[42.2815946,38.5065759],\"properties\":{\"NAME\":\"Tatvan\",\"NAMEASCII\":\"Tatvan\",\"POP_MAX\":73222,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[127.6897147,36.9352507],\"properties\":{\"NAME\":\"Eumseong\",\"NAMEASCII\":\"Eumseong\",\"POP_MAX\":10077,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[127.5011991,36.6438989],\"properties\":{\"NAME\":\"Cheongju\",\"NAMEASCII\":\"Cheongju\",\"POP_MAX\":775096,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[127.9396219,37.3551475],\"properties\":{\"NAME\":\"Wonju\",\"NAMEASCII\":\"Wonju\",\"POP_MAX\":243387,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[127.7341565,37.8747024],\"properties\":{\"NAME\":\"Chuncheon\",\"NAMEASCII\":\"Chuncheon\",\"POP_MAX\":226509,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.8595328,37.3480678],\"properties\":{\"NAME\":\"Ansan\",\"NAMEASCII\":\"Ansan\",\"POP_MAX\":739493,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.9454191,35.9409703],\"properties\":{\"NAME\":\"Iksan\",\"NAMEASCII\":\"Iksan\",\"POP_MAX\":283501,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[129.211689,35.8427592],\"properties\":{\"NAME\":\"Gyeongju\",\"NAMEASCII\":\"Gyeongju\",\"POP_MAX\":155237,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[128.583562,35.2191022],\"properties\":{\"NAME\":\"Changwon\",\"NAMEASCII\":\"Changwon\",\"POP_MAX\":1081499,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[0.7199971,51.5500175],\"properties\":{\"NAME\":\"Southend-on-Sea\",\"NAMEASCII\":\"Southend-on-Sea\",\"POP_MAX\":618386,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-0.9800283,51.4699707],\"properties\":{\"NAME\":\"Reading\",\"NAMEASCII\":\"Reading\",\"POP_MAX\":369804,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.1332489,52.6299774],\"properties\":{\"NAME\":\"Leicester\",\"NAMEASCII\":\"Leicester\",\"POP_MAX\":457983,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.754464650200906,53.79167546080204],\"properties\":{\"NAME\":\"Bradford\",\"NAMEASCII\":\"Bradford\",\"POP_MAX\":501700,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.4999966,53.3666767],\"properties\":{\"NAME\":\"Sheffield\",\"NAMEASCII\":\"Sheffield\",\"POP_MAX\":1292900,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[32.1472261,39.5841588],\"properties\":{\"NAME\":\"Polatlı\",\"NAMEASCII\":\"Polatli\",\"POP_MAX\":93262,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[32.600015,41.2000033],\"properties\":{\"NAME\":\"Karabük\",\"NAMEASCII\":\"Karabuk\",\"POP_MAX\":128564,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.218352,37.0749837],\"properties\":{\"NAME\":\"Nusaybin\",\"NAMEASCII\":\"Nusaybin\",\"POP_MAX\":152668,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[43.7408337,37.5744365],\"properties\":{\"NAME\":\"Hakkâri\",\"NAMEASCII\":\"Hakkari\",\"POP_MAX\":77699,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[16.6287418,47.2253461],\"properties\":{\"NAME\":\"Szombathely\",\"NAMEASCII\":\"Szombathely\",\"POP_MAX\":109518,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[19.7000272,46.9000429],\"properties\":{\"NAME\":\"Kecskemét\",\"NAMEASCII\":\"Kecskemet\",\"POP_MAX\":113895,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[18.4080647,47.1946761],\"properties\":{\"NAME\":\"Székesfehérvár\",\"NAMEASCII\":\"Szekesfehervar\",\"POP_MAX\":144319,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[21.7187154,47.9653268],\"properties\":{\"NAME\":\"Nyíregyháza\",\"NAMEASCII\":\"Nyiregyhaza\",\"POP_MAX\":176880,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[7.2500378,47.16659],\"properties\":{\"NAME\":\"Biel\",\"NAMEASCII\":\"Biel\",\"POP_MAX\":78708,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[-85.8600411,11.2499968],\"properties\":{\"NAME\":\"San Juan del Sur\",\"NAMEASCII\":\"San Juan del Sur\",\"POP_MAX\":7790,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[22.6658927,44.6458911],\"properties\":{\"NAME\":\"Drobeta-Turnu Severin\",\"NAMEASCII\":\"Drobeta-Turnu Severin\",\"POP_MAX\":106578,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[28.7966813,45.1993457],\"properties\":{\"NAME\":\"Tulcea\",\"NAMEASCII\":\"Tulcea\",\"POP_MAX\":92475,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[21.31998,46.17001],\"properties\":{\"NAME\":\"Arad\",\"NAMEASCII\":\"Arad\",\"POP_MAX\":169065,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[21.9199951,47.0499821],\"properties\":{\"NAME\":\"Oradea\",\"NAMEASCII\":\"Oradea\",\"POP_MAX\":213830,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.1371207,45.7971129],\"properties\":{\"NAME\":\"Sibiu\",\"NAMEASCII\":\"Sibiu\",\"POP_MAX\":155565,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.2593168,47.6376982],\"properties\":{\"NAME\":\"Suceava\",\"NAMEASCII\":\"Suceava\",\"POP_MAX\":105796,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.8065185,45.156506],\"properties\":{\"NAME\":\"Buzău\",\"NAMEASCII\":\"Buzau\",\"POP_MAX\":130954,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[28.0458744,45.4558934],\"properties\":{\"NAME\":\"Galați\",\"NAMEASCII\":\"Galati\",\"POP_MAX\":311156,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[27.186547,45.6965505],\"properties\":{\"NAME\":\"Focșani\",\"NAMEASCII\":\"Focsani\",\"POP_MAX\":105112,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[-79.8000234,-6.6299971],\"properties\":{\"NAME\":\"Ferreñafe\",\"NAMEASCII\":\"Ferrenafe\",\"POP_MAX\":50184,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-79.7100031,-6.1500264],\"properties\":{\"NAME\":\"Motupe\",\"NAMEASCII\":\"Motupe\",\"POP_MAX\":13681,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-72.0199815,-17.0200089],\"properties\":{\"NAME\":\"Mollendo\",\"NAMEASCII\":\"Mollendo\",\"POP_MAX\":49033,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-72.1166165,-13.3042151],\"properties\":{\"NAME\":\"Urubamba\",\"NAMEASCII\":\"Urubamba\",\"POP_MAX\":7540,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-72.0800037,-14.4600102],\"properties\":{\"NAME\":\"Santo Tomas\",\"NAMEASCII\":\"Santo Tomas\",\"POP_MAX\":4134,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-69.4299846,-15.470026],\"properties\":{\"NAME\":\"Putina\",\"NAMEASCII\":\"Putina\",\"POP_MAX\":8118,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.2099913,-9.4400065],\"properties\":{\"NAME\":\"Casma\",\"NAMEASCII\":\"Casma\",\"POP_MAX\":30000,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.7052181,-8.9321822],\"properties\":{\"NAME\":\"Tournavista\",\"NAMEASCII\":\"Tournavista\",\"POP_MAX\":511,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.0499494,-7.8100285],\"properties\":{\"NAME\":\"Huamachuco\",\"NAMEASCII\":\"Huamachuco\",\"POP_MAX\":30835,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.5699952,-7.8999971],\"properties\":{\"NAME\":\"Otuzco\",\"NAMEASCII\":\"Otuzco\",\"POP_MAX\":10134,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.5200169,-6.4300093],\"properties\":{\"NAME\":\"Lamas\",\"NAMEASCII\":\"Lamas\",\"POP_MAX\":13693,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-73.7800291,-4.5700195],\"properties\":{\"NAME\":\"Nauta\",\"NAMEASCII\":\"Nauta\",\"POP_MAX\":2500,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.1299819,-14.6999955],\"properties\":{\"NAME\":\"Puquio\",\"NAMEASCII\":\"Puquio\",\"POP_MAX\":10491,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.7100053,-11.9300354],\"properties\":{\"NAME\":\"Chosica\",\"NAMEASCII\":\"Chosica\",\"POP_MAX\":88606,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.6900253,-11.2599988],\"properties\":{\"NAME\":\"Satipo\",\"NAMEASCII\":\"Satipo\",\"POP_MAX\":15532,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.7299876,-11.4100154],\"properties\":{\"NAME\":\"Tarma\",\"NAMEASCII\":\"Tarma\",\"POP_MAX\":51350,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.9400007,-11.5200346],\"properties\":{\"NAME\":\"La Oroya\",\"NAMEASCII\":\"La Oroya\",\"POP_MAX\":33345,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.5999768,-11.060011],\"properties\":{\"NAME\":\"Huaura\",\"NAMEASCII\":\"Huaura\",\"POP_MAX\":40400,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.6199498,-11.1100338],\"properties\":{\"NAME\":\"Huacho\",\"NAMEASCII\":\"Huacho\",\"POP_MAX\":80474,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-62.209986,-20.5199503],\"properties\":{\"NAME\":\"General Eugenio Alejandrino Garay\",\"NAMEASCII\":\"General Eugenio Alejandrino Garay\",\"POP_MAX\":972,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.0899884,-25.0499581],\"properties\":{\"NAME\":\"Arroyos y Esteros\",\"NAMEASCII\":\"Arroyos y Esteros\",\"POP_MAX\":3055,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.5299874,-25.0900073],\"properties\":{\"NAME\":\"Villa Hayes\",\"NAMEASCII\":\"Villa Hayes\",\"POP_MAX\":15643,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-59.8499492,-23.0502868],\"properties\":{\"NAME\":\"Fortin Falcon\",\"NAMEASCII\":\"Fortin Falcon\",\"POP_MAX\":-99,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.7899974,-22.6400277],\"properties\":{\"NAME\":\"Puerto Pinasco\",\"NAMEASCII\":\"Puerto Pinasco\",\"POP_MAX\":500,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-58.8599838,-23.4300053],\"properties\":{\"NAME\":\"Pozo Colorado\",\"NAMEASCII\":\"Pozo Colorado\",\"POP_MAX\":2135,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.0799891,-24.089965],\"properties\":{\"NAME\":\"San Pedro\",\"NAMEASCII\":\"San Pedro\",\"POP_MAX\":9360,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.5200397,-25.3400179],\"properties\":{\"NAME\":\"San Lorenzo\",\"NAMEASCII\":\"San Lorenzo\",\"POP_MAX\":500000,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.2799768,-25.4099878],\"properties\":{\"NAME\":\"Ypacaraí\",\"NAMEASCII\":\"Ypacarai\",\"POP_MAX\":30150,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.1500106,-26.6799878],\"properties\":{\"NAME\":\"San Juan Bautista\",\"NAMEASCII\":\"San Juan Bautista\",\"POP_MAX\":7882,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.16001,-25.6200008],\"properties\":{\"NAME\":\"Paraguarí\",\"NAMEASCII\":\"Paraguari\",\"POP_MAX\":18881,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-54.7699492,-26.0200281],\"properties\":{\"NAME\":\"Ñacunday\",\"NAMEASCII\":\"Nacunday\",\"POP_MAX\":1250,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-56.4399506,-25.4499853],\"properties\":{\"NAME\":\"Coronel Oviedo\",\"NAMEASCII\":\"Coronel Oviedo\",\"POP_MAX\":88101,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-56.3800059,-26.2000171],\"properties\":{\"NAME\":\"Caazapá\",\"NAMEASCII\":\"Caazapa\",\"POP_MAX\":5504,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.4599846,-23.9100277],\"properties\":{\"NAME\":\"Ype Jhu\",\"NAMEASCII\":\"Ype Jhu\",\"POP_MAX\":600,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.8739188,-27.3471848],\"properties\":{\"NAME\":\"Encarnación\",\"NAMEASCII\":\"Encarnacion\",\"POP_MAX\":357119,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-56.2500397,-27.1700354],\"properties\":{\"NAME\":\"Coronel Bogado\",\"NAMEASCII\":\"Coronel Bogado\",\"POP_MAX\":14297,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-86.3599848,13.0899878],\"properties\":{\"NAME\":\"Estelí\",\"NAMEASCII\":\"Esteli\",\"POP_MAX\":107839,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-85.6600017,12.469974],\"properties\":{\"NAME\":\"Boaco\",\"NAMEASCII\":\"Boaco\",\"POP_MAX\":29046,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-85.3799671,12.109996],\"properties\":{\"NAME\":\"Juigalpa\",\"NAMEASCII\":\"Juigalpa\",\"POP_MAX\":54731,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-8.4213312,41.5549945],\"properties\":{\"NAME\":\"Braga\",\"NAMEASCII\":\"Braga\",\"POP_MAX\":826833,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.4999921,40.2833409],\"properties\":{\"NAME\":\"Covilhã\",\"NAMEASCII\":\"Covilha\",\"POP_MAX\":24828,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[38.0492948,24.0942774],\"properties\":{\"NAME\":\"Yanbu al Bahr\",\"NAMEASCII\":\"Yanbu al Bahr\",\"POP_MAX\":267590,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[39.8663932,29.8152977],\"properties\":{\"NAME\":\"Dawmat al Jandal\",\"NAMEASCII\":\"Dawmat al Jandal\",\"POP_MAX\":22583,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[42.5986812,20.0086869],\"properties\":{\"NAME\":\"Qal at Bishah\",\"NAMEASCII\":\"Qal at Bishah\",\"POP_MAX\":88291,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[40.382279,21.262228],\"properties\":{\"NAME\":\"At Taif\",\"NAMEASCII\":\"At Taif\",\"POP_MAX\":657282,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[18.0086059,69.2406173],\"properties\":{\"NAME\":\"Finnsnes\",\"NAMEASCII\":\"Finnsnes\",\"POP_MAX\":3907,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[5.5000154,51.4299732],\"properties\":{\"NAME\":\"Eindhoven\",\"NAMEASCII\":\"Eindhoven\",\"POP_MAX\":398053,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[10.7000081,60.8000214],\"properties\":{\"NAME\":\"Gjøvik\",\"NAMEASCII\":\"Gjovik\",\"POP_MAX\":22719,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[11.2053003,64.868016],\"properties\":{\"NAME\":\"Rørvik\",\"NAMEASCII\":\"Rorvik\",\"POP_MAX\":2615,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[19.1499833,48.7332902],\"properties\":{\"NAME\":\"Banská Bystrica\",\"NAMEASCII\":\"Banska Bystrica\",\"POP_MAX\":82336,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[17.6000004,48.3665943],\"properties\":{\"NAME\":\"Trnava\",\"NAMEASCII\":\"Trnava\",\"POP_MAX\":69785,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[27.3165649,56.5000255],\"properties\":{\"NAME\":\"Rēzekne\",\"NAMEASCII\":\"Rezekne\",\"POP_MAX\":38340,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[24.3700264,55.7400202],\"properties\":{\"NAME\":\"Panevežys\",\"NAMEASCII\":\"Panevezys\",\"POP_MAX\":127405,\"ISO_A2\":\"LT\",\"SOV_A3\":\"LTU\"}},{\"type\":\"Point\",\"coordinates\":[23.3250256,55.9386385],\"properties\":{\"NAME\":\"Šiauliai\",\"NAMEASCII\":\"Siauliai\",\"POP_MAX\":133528,\"ISO_A2\":\"LT\",\"SOV_A3\":\"LTU\"}},{\"type\":\"Point\",\"coordinates\":[44.1315592,17.5065399],\"properties\":{\"NAME\":\"Najran\",\"NAMEASCII\":\"Najran\",\"POP_MAX\":369609,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[45.2806364,24.0737101],\"properties\":{\"NAME\":\"Al Quwayiyah\",\"NAMEASCII\":\"Al Quwayiyah\",\"POP_MAX\":8712,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[46.7563602,23.4894564],\"properties\":{\"NAME\":\"Al Hillah\",\"NAMEASCII\":\"Al Hillah\",\"POP_MAX\":594605,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[49.5659045,25.4290538],\"properties\":{\"NAME\":\"Al Mubarraz\",\"NAMEASCII\":\"Al Mubarraz\",\"POP_MAX\":298562,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[50.0115104,26.5196332],\"properties\":{\"NAME\":\"Al-Qatif\",\"NAMEASCII\":\"Al-Qatif\",\"POP_MAX\":368892,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[50.1583231,26.2914301],\"properties\":{\"NAME\":\"Az Zahran\",\"NAMEASCII\":\"Az Zahran\",\"POP_MAX\":97446,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[70.1008268,33.8991828],\"properties\":{\"NAME\":\"Parachinar\",\"NAMEASCII\":\"Parachinar\",\"POP_MAX\":55685,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[74.5600378,32.5200163],\"properties\":{\"NAME\":\"Sialkote\",\"NAMEASCII\":\"Sialkote\",\"POP_MAX\":477396,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.9899951,31.7199876],\"properties\":{\"NAME\":\"Sheikhu Pura\",\"NAMEASCII\":\"Sheikhu Pura\",\"POP_MAX\":361303,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[74.0800154,32.5799868],\"properties\":{\"NAME\":\"Gujrat\",\"NAMEASCII\":\"Gujrat\",\"POP_MAX\":301506,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.1118058,30.6717312],\"properties\":{\"NAME\":\"Sahiwal\",\"NAMEASCII\":\"Sahiwal\",\"POP_MAX\":235695,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[72.9799792,31.7199876],\"properties\":{\"NAME\":\"Chiniot\",\"NAMEASCII\":\"Chiniot\",\"POP_MAX\":201781,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[70.2951818,28.4202407],\"properties\":{\"NAME\":\"Rahim Yar Khan\",\"NAMEASCII\":\"Rahim Yar Khan\",\"POP_MAX\":353203,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[75.2845931,42.8298779],\"properties\":{\"NAME\":\"Tokmak\",\"NAMEASCII\":\"Tokmak\",\"POP_MAX\":112860,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[73.8856604,42.8306273],\"properties\":{\"NAME\":\"Kara Balta\",\"NAMEASCII\":\"Kara Balta\",\"POP_MAX\":74133,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[77.0810725,42.6513359],\"properties\":{\"NAME\":\"Cholpon Ata\",\"NAMEASCII\":\"Cholpon Ata\",\"POP_MAX\":18595,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[75.9910616,41.426346],\"properties\":{\"NAME\":\"Naryn\",\"NAMEASCII\":\"Naryn\",\"POP_MAX\":52300,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[73.2057535,41.0307113],\"properties\":{\"NAME\":\"Kok Yangak\",\"NAMEASCII\":\"Kok Yangak\",\"POP_MAX\":15000,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[73.1968135,34.3417914],\"properties\":{\"NAME\":\"Mansehra\",\"NAMEASCII\":\"Mansehra\",\"POP_MAX\":66486,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[71.4326835,33.6026892],\"properties\":{\"NAME\":\"Kohat\",\"NAMEASCII\":\"Kohat\",\"POP_MAX\":343027,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.1995007,34.1495034],\"properties\":{\"NAME\":\"Abbottabad\",\"NAMEASCII\":\"Abbottabad\",\"POP_MAX\":1183647,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[72.0399849,34.2000429],\"properties\":{\"NAME\":\"Mardan\",\"NAMEASCII\":\"Mardan\",\"POP_MAX\":300424,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[85.3333337,27.6666175],\"properties\":{\"NAME\":\"Lalitpur\",\"NAMEASCII\":\"Lalitpur\",\"POP_MAX\":337785,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[85.033352,27.4166844],\"properties\":{\"NAME\":\"Hetauda\",\"NAMEASCII\":\"Hetauda\",\"POP_MAX\":232334,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[-80.3599893,8.5099831],\"properties\":{\"NAME\":\"Penonome\",\"NAMEASCII\":\"Penonome\",\"POP_MAX\":28766,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.4200373,7.9700161],\"properties\":{\"NAME\":\"Chitré\",\"NAMEASCII\":\"Chitre\",\"POP_MAX\":44082,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.1660147,7.5189584],\"properties\":{\"NAME\":\"Jaqué\",\"NAMEASCII\":\"Jaque\",\"POP_MAX\":1357,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[20.7500923,42.2293203],\"properties\":{\"NAME\":\"Prizren\",\"NAMEASCII\":\"Prizren\",\"POP_MAX\":171464,\"ISO_A2\":\"-99\",\"SOV_A3\":\"KOS\"}},{\"type\":\"Point\",\"coordinates\":[48.0837727,29.0769448],\"properties\":{\"NAME\":\"Al Ahmadi\",\"NAMEASCII\":\"Al Ahmadi\",\"POP_MAX\":68763,\"ISO_A2\":\"KW\",\"SOV_A3\":\"KWT\"}},{\"type\":\"Point\",\"coordinates\":[47.6580623,29.3374715],\"properties\":{\"NAME\":\"Al Jahra\",\"NAMEASCII\":\"Al Jahra\",\"POP_MAX\":194193,\"ISO_A2\":\"KW\",\"SOV_A3\":\"KWT\"}},{\"type\":\"Point\",\"coordinates\":[-82.2474707,9.3353501],\"properties\":{\"NAME\":\"Bocas del Toro\",\"NAMEASCII\":\"Bocas del Toro\",\"POP_MAX\":9883,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-82.3999681,9.3000124],\"properties\":{\"NAME\":\"Almirante\",\"NAMEASCII\":\"Almirante\",\"POP_MAX\":8114,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[40.1200211,44.609976],\"properties\":{\"NAME\":\"Maykop\",\"NAMEASCII\":\"Maykop\",\"POP_MAX\":158451,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.6543697,43.7543176],\"properties\":{\"NAME\":\"Mozdok\",\"NAMEASCII\":\"Mozdok\",\"POP_MAX\":45702,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.4699458,44.1599001],\"properties\":{\"NAME\":\"Georgievsk\",\"NAMEASCII\":\"Georgievsk\",\"POP_MAX\":72649,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.0900207,44.0799567],\"properties\":{\"NAME\":\"Pyatigorsk\",\"NAMEASCII\":\"Pyatigorsk\",\"POP_MAX\":142865,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.7200175,43.9099671],\"properties\":{\"NAME\":\"Kislovodsk\",\"NAMEASCII\":\"Kislovodsk\",\"POP_MAX\":132771,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.9500386,44.6200529],\"properties\":{\"NAME\":\"Nevinnomyssk\",\"NAMEASCII\":\"Nevinnomyssk\",\"POP_MAX\":134380,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-171.8166032,66.9500078],\"properties\":{\"NAME\":\"Enurmino\",\"NAMEASCII\":\"Enurmino\",\"POP_MAX\":297,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-171.0249978,65.5832695],\"properties\":{\"NAME\":\"Lavrentiya\",\"NAMEASCII\":\"Lavrentiya\",\"POP_MAX\":1242,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-179.5899789,70.9565849],\"properties\":{\"NAME\":\"Zvëzdnyj\",\"NAMEASCII\":\"Zvezdnyj\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[161.4811431,69.4244404],\"properties\":{\"NAME\":\"Mikhalkino\",\"NAMEASCII\":\"Mikhalkino\",\"POP_MAX\":570,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[21.8108545,54.6316382],\"properties\":{\"NAME\":\"Chernyakhovsk\",\"NAMEASCII\":\"Chernyakhovsk\",\"POP_MAX\":45187,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.4230656,69.0730565],\"properties\":{\"NAME\":\"Severomorsk\",\"NAMEASCII\":\"Severomorsk\",\"POP_MAX\":53921,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.3930415,67.5730705],\"properties\":{\"NAME\":\"Apatity\",\"NAMEASCII\":\"Apatity\",\"POP_MAX\":66907,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.4502474,69.2052189],\"properties\":{\"NAME\":\"Polyarnyy\",\"NAMEASCII\":\"Polyarnyy\",\"POP_MAX\":19200,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[28.0746582,59.1115973],\"properties\":{\"NAME\":\"Slantsy\",\"NAMEASCII\":\"Slantsy\",\"POP_MAX\":36209,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[30.6500048,59.7300092],\"properties\":{\"NAME\":\"Kolpino\",\"NAMEASCII\":\"Kolpino\",\"POP_MAX\":225801,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[31.9448612,52.5348153],\"properties\":{\"NAME\":\"Novozybkov\",\"NAMEASCII\":\"Novozybkov\",\"POP_MAX\":43534,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.3391853,53.5891437],\"properties\":{\"NAME\":\"Dyatkovo\",\"NAMEASCII\":\"Dyatkovo\",\"POP_MAX\":33527,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.3642863,56.8543449],\"properties\":{\"NAME\":\"Shuya\",\"NAMEASCII\":\"Shuya\",\"POP_MAX\":60705,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.129976,57.4699662],\"properties\":{\"NAME\":\"Kineshma\",\"NAMEASCII\":\"Kineshma\",\"POP_MAX\":92983,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.5943827,56.494341],\"properties\":{\"NAME\":\"Balakhna\",\"NAMEASCII\":\"Balakhna\",\"POP_MAX\":63083,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.8000032,55.3999892],\"properties\":{\"NAME\":\"Arzamas\",\"NAMEASCII\":\"Arzamas\",\"POP_MAX\":142597,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.3274548,56.2574046],\"properties\":{\"NAME\":\"Rzhev\",\"NAMEASCII\":\"Rzhev\",\"POP_MAX\":63414,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.5630993,57.5830343],\"properties\":{\"NAME\":\"Vyshnniy Volochek\",\"NAMEASCII\":\"Vyshnniy Volochek\",\"POP_MAX\":53800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.3300012,57.5243557],\"properties\":{\"NAME\":\"Uglich\",\"NAMEASCII\":\"Uglich\",\"POP_MAX\":37732,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.5000166,52.5800063],\"properties\":{\"NAME\":\"Yelets\",\"NAMEASCII\":\"Yelets\",\"POP_MAX\":115919,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.9799873,55.8200153],\"properties\":{\"NAME\":\"Orekhovo-Zuevo\",\"NAMEASCII\":\"Orekhovo-Zuevo\",\"POP_MAX\":140247,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.6987312,56.3430583],\"properties\":{\"NAME\":\"Klin\",\"NAMEASCII\":\"Klin\",\"POP_MAX\":80778,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.1700109,56.33001],\"properties\":{\"NAME\":\"Sergiyev Posad\",\"NAMEASCII\":\"Sergiyev Posad\",\"POP_MAX\":109252,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.7849605,55.0799829],\"properties\":{\"NAME\":\"Kolomna\",\"NAMEASCII\":\"Kolomna\",\"POP_MAX\":147690,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.7448502,47.1368244],\"properties\":{\"NAME\":\"Bataysk\",\"NAMEASCII\":\"Bataysk\",\"POP_MAX\":109962,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.919991,47.229997],\"properties\":{\"NAME\":\"Taganrog\",\"NAMEASCII\":\"Taganrog\",\"POP_MAX\":279056,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.0800236,47.4199595],\"properties\":{\"NAME\":\"Novocherkassk\",\"NAMEASCII\":\"Novocherkassk\",\"POP_MAX\":166974,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.251796,48.3317643],\"properties\":{\"NAME\":\"Kamensk Shakhtinskiy\",\"NAMEASCII\":\"Kamensk Shakhtinskiy\",\"POP_MAX\":75814,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.9199816,47.7699898],\"properties\":{\"NAME\":\"Novoshakhtinsk\",\"NAMEASCII\":\"Novoshakhtinsk\",\"POP_MAX\":99478,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.094366,54.5143327],\"properties\":{\"NAME\":\"Aleksin\",\"NAMEASCII\":\"Aleksin\",\"POP_MAX\":66885,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.289305215312226,54.010714982644835],\"properties\":{\"NAME\":\"Novomoskovsk\",\"NAMEASCII\":\"Novomoskovsk\",\"POP_MAX\":130982,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.5142887,54.0143374],\"properties\":{\"NAME\":\"Shchekino\",\"NAMEASCII\":\"Shchekino\",\"POP_MAX\":86088,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.4261055,50.016106],\"properties\":{\"NAME\":\"Nikolayevsk\",\"NAMEASCII\":\"Nikolayevsk\",\"POP_MAX\":16044,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.8943782,50.4143504],\"properties\":{\"NAME\":\"Shebekino\",\"NAMEASCII\":\"Shebekino\",\"POP_MAX\":45194,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.3843225,51.2743496],\"properties\":{\"NAME\":\"Gubkin\",\"NAMEASCII\":\"Gubkin\",\"POP_MAX\":272,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.7287272,44.4687185],\"properties\":{\"NAME\":\"Apsheronsk\",\"NAMEASCII\":\"Apsheronsk\",\"POP_MAX\":45876,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.5821118,45.4470825],\"properties\":{\"NAME\":\"Kropotkin\",\"NAMEASCII\":\"Kropotkin\",\"POP_MAX\":79599,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.924379,54.0643343],\"properties\":{\"NAME\":\"Ruzayevka\",\"NAMEASCII\":\"Ruzayevka\",\"POP_MAX\":49311,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.7174336,52.6573918],\"properties\":{\"NAME\":\"Kirsanov\",\"NAMEASCII\":\"Kirsanov\",\"POP_MAX\":17975,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.4999979,52.8999868],\"properties\":{\"NAME\":\"Michurinsk\",\"NAMEASCII\":\"Michurinsk\",\"POP_MAX\":93499,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.0887382,51.3687108],\"properties\":{\"NAME\":\"Borisoglebsk\",\"NAMEASCII\":\"Borisoglebsk\",\"POP_MAX\":68597,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.4599821,54.4599691],\"properties\":{\"NAME\":\"Oktyabrskiy\",\"NAMEASCII\":\"Oktyabrskiy\",\"POP_MAX\":108200,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.8085258,54.3685018],\"properties\":{\"NAME\":\"Plast\",\"NAMEASCII\":\"Plast\",\"POP_MAX\":17050,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.7958837,54.9458826],\"properties\":{\"NAME\":\"Bakal\",\"NAMEASCII\":\"Bakal\",\"POP_MAX\":26559,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.2313,56.0662793],\"properties\":{\"NAME\":\"Verkhniy Ufaley\",\"NAMEASCII\":\"Verkhniy Ufaley\",\"POP_MAX\":33879,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[64.1232588,67.608288],\"properties\":{\"NAME\":\"Severnyy\",\"NAMEASCII\":\"Severnyy\",\"POP_MAX\":11562,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[50.0443766,58.5543703],\"properties\":{\"NAME\":\"Kirovo-Chepetsk\",\"NAMEASCII\":\"Kirovo-Chepetsk\",\"POP_MAX\":90252,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.20834238018337,59.762369617766716],\"properties\":{\"NAME\":\"Krasnoturinsk\",\"NAMEASCII\":\"Krasnoturinsk\",\"POP_MAX\":64878,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.4580468,57.0230426],\"properties\":{\"NAME\":\"Asbest\",\"NAMEASCII\":\"Asbest\",\"POP_MAX\":81248,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.691521,57.8465066],\"properties\":{\"NAME\":\"Alapayevsk\",\"NAMEASCII\":\"Alapayevsk\",\"POP_MAX\":44000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.0515177,58.3515145],\"properties\":{\"NAME\":\"Krasnouralsk\",\"NAMEASCII\":\"Krasnouralsk\",\"POP_MAX\":20571,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.961549,60.1565206],\"properties\":{\"NAME\":\"Severouralsk\",\"NAMEASCII\":\"Severouralsk\",\"POP_MAX\":36138,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.3300207,51.200013],\"properties\":{\"NAME\":\"Novotroitsk\",\"NAMEASCII\":\"Novotroitsk\",\"POP_MAX\":106186,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.4330163,53.6630152],\"properties\":{\"NAME\":\"Buguruslan\",\"NAMEASCII\":\"Buguruslan\",\"POP_MAX\":53511,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.7243444,52.9743233],\"properties\":{\"NAME\":\"Chapayevsk\",\"NAMEASCII\":\"Chapayevsk\",\"POP_MAX\":107164,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.479976,53.1699962],\"properties\":{\"NAME\":\"Syzran\",\"NAMEASCII\":\"Syzran\",\"POP_MAX\":189338,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.9199397,53.1199992],\"properties\":{\"NAME\":\"Novokuybishevsk\",\"NAMEASCII\":\"Novokuybishevsk\",\"POP_MAX\":152334,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.39244047201222,55.731905765753574],\"properties\":{\"NAME\":\"Naberezhnyye Chelny\",\"NAMEASCII\":\"Naberezhnyye Chelny\",\"POP_MAX\":461086,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.49697293221952,55.84806638393412],\"properties\":{\"NAME\":\"Zelenodolsk\",\"NAMEASCII\":\"Zelenodolsk\",\"POP_MAX\":99600,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.448726,54.5986945],\"properties\":{\"NAME\":\"Leninogorsk\",\"NAMEASCII\":\"Leninogorsk\",\"POP_MAX\":66263,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.7942863,54.5543303],\"properties\":{\"NAME\":\"Bugulma\",\"NAMEASCII\":\"Bugulma\",\"POP_MAX\":91900,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[72.60800793108787,61.092018157697126],\"properties\":{\"NAME\":\"Nefteyugansk\",\"NAMEASCII\":\"Nefteyugansk\",\"POP_MAX\":112632,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.1699751,54.6600086],\"properties\":{\"NAME\":\"Leninsk Kuznetsky\",\"NAMEASCII\":\"Leninsk Kuznetsky\",\"POP_MAX\":109023,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.0400089,56.0800252],\"properties\":{\"NAME\":\"Anzhero Sudzhensk\",\"NAMEASCII\":\"Anzhero Sudzhensk\",\"POP_MAX\":83692,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.640024,54.000023],\"properties\":{\"NAME\":\"Kiselevsk\",\"NAMEASCII\":\"Kiselevsk\",\"POP_MAX\":104000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[87.3166752,53.2332739],\"properties\":{\"NAME\":\"Mundybash\",\"NAMEASCII\":\"Mundybash\",\"POP_MAX\":5870,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[91.22269,53.8313253],\"properties\":{\"NAME\":\"Chernogorsk\",\"NAMEASCII\":\"Chernogorsk\",\"POP_MAX\":71582,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[90.0953686,52.669019],\"properties\":{\"NAME\":\"Abaza\",\"NAMEASCII\":\"Abaza\",\"POP_MAX\":18094,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[83.2865336,54.6509394],\"properties\":{\"NAME\":\"Iskitim\",\"NAMEASCII\":\"Iskitim\",\"POP_MAX\":61827,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[84.3776814,55.2376736],\"properties\":{\"NAME\":\"Toguchin\",\"NAMEASCII\":\"Toguchin\",\"POP_MAX\":21886,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[77.2741874,54.3592259],\"properties\":{\"NAME\":\"Kupina\",\"NAMEASCII\":\"Kupina\",\"POP_MAX\":16333,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.9782076,23.3031887],\"properties\":{\"NAME\":\"Alayat Samail\",\"NAMEASCII\":\"Alayat Samail\",\"POP_MAX\":47718,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[94.7027876,55.9619704],\"properties\":{\"NAME\":\"Zaozernyy\",\"NAMEASCII\":\"Zaozernyy\",\"POP_MAX\":33865,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.5184012,56.2164769],\"properties\":{\"NAME\":\"Bogotol\",\"NAMEASCII\":\"Bogotol\",\"POP_MAX\":23622,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[116.0306331,51.8705664],\"properties\":{\"NAME\":\"Shilka\",\"NAMEASCII\":\"Shilka\",\"POP_MAX\":14132,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[116.3006425,50.5305965],\"properties\":{\"NAME\":\"Sherlovaya Gora\",\"NAMEASCII\":\"Sherlovaya Gora\",\"POP_MAX\":411,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[108.8326745,51.2826953],\"properties\":{\"NAME\":\"Petrovsk Zabaykalskiy\",\"NAMEASCII\":\"Petrovsk Zabaykalskiy\",\"POP_MAX\":20889,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.2823449,44.1623031],\"properties\":{\"NAME\":\"Arsenyev\",\"NAMEASCII\":\"Arsenyev\",\"POP_MAX\":58700,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.1349121,43.1348723],\"properties\":{\"NAME\":\"Partizansk\",\"NAMEASCII\":\"Partizansk\",\"POP_MAX\":42489,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.7223181,45.9272858],\"properties\":{\"NAME\":\"Dalnerechensk\",\"NAMEASCII\":\"Dalnerechensk\",\"POP_MAX\":28300,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.1050105,74.8983081],\"properties\":{\"NAME\":\"Zemlya Bunge\",\"NAMEASCII\":\"Zemlya Bunge\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[113.6300044,73.4833041],\"properties\":{\"NAME\":\"Khorgo\",\"NAMEASCII\":\"Khorgo\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[107.7999727,68.5166305],\"properties\":{\"NAME\":\"Put Lenina\",\"NAMEASCII\":\"Put Lenina\",\"POP_MAX\":298,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[131.083306,48.9999923],\"properties\":{\"NAME\":\"Obluchye\",\"NAMEASCII\":\"Obluchye\",\"POP_MAX\":10000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[140.2424886,49.0873255],\"properties\":{\"NAME\":\"Vanino\",\"NAMEASCII\":\"Vanino\",\"POP_MAX\":18618,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[147.9166971,61.633278],\"properties\":{\"NAME\":\"Omchak\",\"NAMEASCII\":\"Omchak\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.0333353,49.0833464],\"properties\":{\"NAME\":\"Uglegorsk\",\"NAMEASCII\":\"Uglegorsk\",\"POP_MAX\":12669,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.0623775,47.0473208],\"properties\":{\"NAME\":\"Kholmsk\",\"NAMEASCII\":\"Kholmsk\",\"POP_MAX\":32911,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-116.0092603,30.7640511],\"properties\":{\"NAME\":\"Vicente Guerrero\",\"NAMEASCII\":\"Vicente Guerrero\",\"POP_MAX\":12829,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-111.3516635,26.0133334],\"properties\":{\"NAME\":\"Loreto\",\"NAMEASCII\":\"Loreto\",\"POP_MAX\":11227,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-111.6599909,25.0400078],\"properties\":{\"NAME\":\"Ciudad Constitución\",\"NAMEASCII\":\"Ciudad Constitucion\",\"POP_MAX\":39915,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.8499789,28.3299878],\"properties\":{\"NAME\":\"Allende\",\"NAMEASCII\":\"Allende\",\"POP_MAX\":19636,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.2199821,27.9499593],\"properties\":{\"NAME\":\"Nueva Rosita\",\"NAMEASCII\":\"Nueva Rosita\",\"POP_MAX\":36642,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.6666358,26.9333547],\"properties\":{\"NAME\":\"Hidalgo del Parral\",\"NAMEASCII\":\"Hidalgo del Parral\",\"POP_MAX\":103378,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-107.979983,31.1000255],\"properties\":{\"NAME\":\"Ascensión\",\"NAMEASCII\":\"Ascension\",\"POP_MAX\":11781,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.5000238,25.5700529],\"properties\":{\"NAME\":\"Gómez Palacio\",\"NAMEASCII\":\"Gomez Palacio\",\"POP_MAX\":399328,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.7799974,24.5199878],\"properties\":{\"NAME\":\"Canatlan\",\"NAMEASCII\":\"Canatlan\",\"POP_MAX\":10342,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.2300381,23.1999909],\"properties\":{\"NAME\":\"Villa Unión\",\"NAMEASCII\":\"Villa Union\",\"POP_MAX\":15443,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-107.9162153,24.6360451],\"properties\":{\"NAME\":\"Altata\",\"NAMEASCII\":\"Altata\",\"POP_MAX\":1000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.9299931,27.5800078],\"properties\":{\"NAME\":\"Esperanza\",\"NAMEASCII\":\"Esperanza\",\"POP_MAX\":3836,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.96795125788783,30.62582240637527],\"properties\":{\"NAME\":\"Magdalena\",\"NAMEASCII\":\"Magdalena\",\"POP_MAX\":23359,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.6499844,30.4200153],\"properties\":{\"NAME\":\"Nacozari de García\",\"NAMEASCII\":\"Nacozari de Garcia\",\"POP_MAX\":11872,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.88001,22.3500169],\"properties\":{\"NAME\":\"Villanueva\",\"NAMEASCII\":\"Villanueva\",\"POP_MAX\":11138,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.8399889,25.1899986],\"properties\":{\"NAME\":\"Montemorelos\",\"NAMEASCII\":\"Montemorelos\",\"POP_MAX\":42640,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.1799681,26.5100214],\"properties\":{\"NAME\":\"Sabinas Hidalgo\",\"NAMEASCII\":\"Sabinas Hidalgo\",\"POP_MAX\":32047,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.6699992,22.0000124],\"properties\":{\"NAME\":\"Cardenas\",\"NAMEASCII\":\"Cardenas\",\"POP_MAX\":15331,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.0200131,21.9799878],\"properties\":{\"NAME\":\"Ciudad Valles\",\"NAMEASCII\":\"Ciudad Valles\",\"POP_MAX\":114964,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.9800061,21.9299909],\"properties\":{\"NAME\":\"Rio Verde\",\"NAMEASCII\":\"Rio Verde\",\"POP_MAX\":69613,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.9500173,22.7333527],\"properties\":{\"NAME\":\"Ciudad Mante\",\"NAMEASCII\":\"Ciudad Mante\",\"POP_MAX\":79981,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.3000312,26.079996],\"properties\":{\"NAME\":\"Reynosa\",\"NAMEASCII\":\"Reynosa\",\"POP_MAX\":498654,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.836106,22.3189077],\"properties\":{\"NAME\":\"Ciudad Madero\",\"NAMEASCII\":\"Ciudad Madero\",\"POP_MAX\":192736,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.3699966,19.7700193],\"properties\":{\"NAME\":\"Autlan\",\"NAMEASCII\":\"Autlan\",\"POP_MAX\":47669,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.569996,19.6799732],\"properties\":{\"NAME\":\"Ciudad Hidalgo\",\"NAMEASCII\":\"Ciudad Hidalgo\",\"POP_MAX\":64154,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.3500165,19.0799839],\"properties\":{\"NAME\":\"Apatzingán\",\"NAMEASCII\":\"Apatzingan\",\"POP_MAX\":98422,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.2200481,21.8199976],\"properties\":{\"NAME\":\"Santiago Ixcuintla\",\"NAMEASCII\":\"Santiago Ixcuintla\",\"POP_MAX\":18365,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-95.0199988,16.4299907],\"properties\":{\"NAME\":\"Juchitan\",\"NAMEASCII\":\"Juchitan\",\"POP_MAX\":67637,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.6000057,16.3299968],\"properties\":{\"NAME\":\"Miahuatlán\",\"NAMEASCII\":\"Miahuatlan\",\"POP_MAX\":17632,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.4499962,18.9000208],\"properties\":{\"NAME\":\"Atlixco\",\"NAMEASCII\":\"Atlixco\",\"POP_MAX\":97842,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.0499948,18.1999601],\"properties\":{\"NAME\":\"Acatlan\",\"NAMEASCII\":\"Acatlan\",\"POP_MAX\":18879,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-93.2299789,18.4000255],\"properties\":{\"NAME\":\"Paraíso\",\"NAMEASCII\":\"Paraiso\",\"POP_MAX\":23830,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-91.5299793,17.7999587],\"properties\":{\"NAME\":\"Balancán\",\"NAMEASCII\":\"Balancan\",\"POP_MAX\":11895,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.2300096,19.3199951],\"properties\":{\"NAME\":\"Tlaxcala\",\"NAMEASCII\":\"Tlaxcala\",\"POP_MAX\":503878,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.35087694576201,20.67604155916101],\"properties\":{\"NAME\":\"Irapuato\",\"NAMEASCII\":\"Irapuato\",\"POP_MAX\":339554,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.8000078,20.5300246],\"properties\":{\"NAME\":\"Celaya\",\"NAMEASCII\":\"Celaya\",\"POP_MAX\":383697,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.5000096,17.549974],\"properties\":{\"NAME\":\"Chilpancingo\",\"NAMEASCII\":\"Chilpancingo\",\"POP_MAX\":182387,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.5399813,18.3700014],\"properties\":{\"NAME\":\"Iguala\",\"NAMEASCII\":\"Iguala\",\"POP_MAX\":112106,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.6799893,17.2499923],\"properties\":{\"NAME\":\"Tecpan\",\"NAMEASCII\":\"Tecpan\",\"POP_MAX\":14638,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.4300304,17.1999953],\"properties\":{\"NAME\":\"Atoyac\",\"NAMEASCII\":\"Atoyac\",\"POP_MAX\":20515,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.0299866,19.4100155],\"properties\":{\"NAME\":\"Nezahualcoyotl\",\"NAMEASCII\":\"Nezahualcoyotl\",\"POP_MAX\":1109363,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.0000308,20.3799821],\"properties\":{\"NAME\":\"San Juan del Río\",\"NAMEASCII\":\"San Juan del Rio\",\"POP_MAX\":147559,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-94.7399901,17.939976],\"properties\":{\"NAME\":\"Jaltipan\",\"NAMEASCII\":\"Jaltipan\",\"POP_MAX\":66998,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.1299992,18.8500238],\"properties\":{\"NAME\":\"Orizaba\",\"NAMEASCII\":\"Orizaba\",\"POP_MAX\":355333,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.9199862,19.5299823],\"properties\":{\"NAME\":\"Xalapa\",\"NAMEASCII\":\"Xalapa\",\"POP_MAX\":452186,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.7833537,20.2165812],\"properties\":{\"NAME\":\"Nautla\",\"NAMEASCII\":\"Nautla\",\"POP_MAX\":2890,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-92.6333745,16.749997],\"properties\":{\"NAME\":\"San Cristobal de Las Casas\",\"NAMEASCII\":\"San Cristobal de Las Casas\",\"POP_MAX\":186661,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-92.6299897,15.3300061],\"properties\":{\"NAME\":\"Escuintla\",\"NAMEASCII\":\"Escuintla\",\"POP_MAX\":107638,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.2799874,21.0999898],\"properties\":{\"NAME\":\"Motul\",\"NAMEASCII\":\"Motul\",\"POP_MAX\":21253,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.2799874,20.1999931],\"properties\":{\"NAME\":\"Tekax\",\"NAMEASCII\":\"Tekax\",\"POP_MAX\":22806,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-88.9199836,20.1299715],\"properties\":{\"NAME\":\"Peto\",\"NAMEASCII\":\"Peto\",\"POP_MAX\":17607,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-90.0800161,20.479976],\"properties\":{\"NAME\":\"Halachó\",\"NAMEASCII\":\"Halacho\",\"POP_MAX\":9165,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[4.1799926,7.6299593],\"properties\":{\"NAME\":\"Iwo\",\"NAMEASCII\":\"Iwo\",\"POP_MAX\":250443,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[3.5900028,7.9700161],\"properties\":{\"NAME\":\"Iseyin\",\"NAMEASCII\":\"Iseyin\",\"POP_MAX\":98071,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[20.9700789,42.0092304],\"properties\":{\"NAME\":\"Tetovo\",\"NAMEASCII\":\"Tetovo\",\"POP_MAX\":119132,\"ISO_A2\":\"MK\",\"SOV_A3\":\"MKD\"}},{\"type\":\"Point\",\"coordinates\":[35.3687866,33.5630276],\"properties\":{\"NAME\":\"Saida\",\"NAMEASCII\":\"Saida\",\"POP_MAX\":173894,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[20.48556398050473,53.77258429042908],\"properties\":{\"NAME\":\"Olsztyn\",\"NAMEASCII\":\"Olsztyn\",\"POP_MAX\":186670,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[19.40319282719829,54.15391939807562],\"properties\":{\"NAME\":\"Elbląg\",\"NAMEASCII\":\"Elblag\",\"POP_MAX\":127558,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.2499865,52.7799424],\"properties\":{\"NAME\":\"Inowrocław\",\"NAMEASCII\":\"Inowroclaw\",\"POP_MAX\":79007,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.9099979,50.3500391],\"properties\":{\"NAME\":\"Bytom\",\"NAMEASCII\":\"Bytom\",\"POP_MAX\":662247,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[17.9313496,50.6849799],\"properties\":{\"NAME\":\"Opole\",\"NAMEASCII\":\"Opole\",\"POP_MAX\":131412,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[53.3265018,47.6482402],\"properties\":{\"NAME\":\"Maqat\",\"NAMEASCII\":\"Maqat\",\"POP_MAX\":14082,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[56.7499621,59.669987],\"properties\":{\"NAME\":\"Solikamsk\",\"NAMEASCII\":\"Solikamsk\",\"POP_MAX\":100812,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.6343009,59.0643651],\"properties\":{\"NAME\":\"Kizel\",\"NAMEASCII\":\"Kizel\",\"POP_MAX\":22135,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[73.0997135,52.4996753],\"properties\":{\"NAME\":\"Bestobe\",\"NAMEASCII\":\"Bestobe\",\"POP_MAX\":7189,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[72.5699267,50.5799475],\"properties\":{\"NAME\":\"Osakarovka\",\"NAMEASCII\":\"Osakarovka\",\"POP_MAX\":7305,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[72.8598832,48.2748686],\"properties\":{\"NAME\":\"Aqadyr\",\"NAMEASCII\":\"Aqadyr\",\"POP_MAX\":9710,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[78.1499479,52.4999079],\"properties\":{\"NAME\":\"Sharbaqty\",\"NAMEASCII\":\"Sharbaqty\",\"POP_MAX\":107,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[81.9049642,50.6315981],\"properties\":{\"NAME\":\"Shemonaikha\",\"NAMEASCII\":\"Shemonaikha\",\"POP_MAX\":27176,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[83.4248714,49.6998979],\"properties\":{\"NAME\":\"Serebryansk\",\"NAMEASCII\":\"Serebryansk\",\"POP_MAX\":701,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[76.8288399,43.3341366],\"properties\":{\"NAME\":\"Boralday\",\"NAMEASCII\":\"Boralday\",\"POP_MAX\":20996,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[79.9801204,44.1615538],\"properties\":{\"NAME\":\"Zharkent\",\"NAMEASCII\":\"Zharkent\",\"POP_MAX\":36496,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[77.4437894,43.3690698],\"properties\":{\"NAME\":\"Esik\",\"NAMEASCII\":\"Esik\",\"POP_MAX\":35319,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[69.87991,42.189917],\"properties\":{\"NAME\":\"Lenger\",\"NAMEASCII\":\"Lenger\",\"POP_MAX\":23058,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[68.5198897,43.5165027],\"properties\":{\"NAME\":\"Kentau\",\"NAMEASCII\":\"Kentau\",\"POP_MAX\":57408,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[125.1020691,38.2517336],\"properties\":{\"NAME\":\"Changyon\",\"NAMEASCII\":\"Changyon\",\"POP_MAX\":48984,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[127.5185624,39.028172],\"properties\":{\"NAME\":\"Anbyon\",\"NAMEASCII\":\"Anbyon\",\"POP_MAX\":38142,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[127.2517053,39.3813029],\"properties\":{\"NAME\":\"Munchon\",\"NAMEASCII\":\"Munchon\",\"POP_MAX\":73619,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[126.5644087,37.9639992],\"properties\":{\"NAME\":\"Kaesong\",\"NAMEASCII\":\"Kaesong\",\"POP_MAX\":338155,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.8008378,40.8254783],\"properties\":{\"NAME\":\"Chosan\",\"NAMEASCII\":\"Chosan\",\"POP_MAX\":7786,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[126.2958463,41.145433],\"properties\":{\"NAME\":\"Manpo\",\"NAMEASCII\":\"Manpo\",\"POP_MAX\":186827,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.9389689,39.4236001],\"properties\":{\"NAME\":\"Sunchon\",\"NAMEASCII\":\"Sunchon\",\"POP_MAX\":400629,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[128.1553194,40.8175202],\"properties\":{\"NAME\":\"Kimhyonggwon\",\"NAMEASCII\":\"Kimhyonggwon\",\"POP_MAX\":3839,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[101.4501794,47.4768811],\"properties\":{\"NAME\":\"Tsetserleg\",\"NAMEASCII\":\"Tsetserleg\",\"POP_MAX\":19812,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[169.0499808,60.5815851],\"properties\":{\"NAME\":\"Pakhachi\",\"NAMEASCII\":\"Pakhachi\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-8.8641466,52.7038489],\"properties\":{\"NAME\":\"Shannon\",\"NAMEASCII\":\"Shannon\",\"POP_MAX\":8781,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-7.1119279,52.2582947],\"properties\":{\"NAME\":\"Waterford\",\"NAMEASCII\":\"Waterford\",\"POP_MAX\":49275,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-9.7166527,52.2666921],\"properties\":{\"NAME\":\"Tralee\",\"NAMEASCII\":\"Tralee\",\"POP_MAX\":26384,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-8.1166728,54.6500092],\"properties\":{\"NAME\":\"Donegal\",\"NAMEASCII\":\"Donegal\",\"POP_MAX\":2513,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[10.9199947,44.6500252],\"properties\":{\"NAME\":\"Modena\",\"NAMEASCII\":\"Modena\",\"POP_MAX\":175502,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[17.123337,39.0833366],\"properties\":{\"NAME\":\"Crotone\",\"NAMEASCII\":\"Crotone\",\"POP_MAX\":60010,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[16.1000402,38.666592],\"properties\":{\"NAME\":\"Vibo Valentia\",\"NAMEASCII\":\"Vibo Valentia\",\"POP_MAX\":33957,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[15.6413602,38.1149978],\"properties\":{\"NAME\":\"Reggio di Calabria\",\"NAMEASCII\":\"Reggio di Calabria\",\"POP_MAX\":180353,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.3373571,41.0599601],\"properties\":{\"NAME\":\"Caserta\",\"NAMEASCII\":\"Caserta\",\"POP_MAX\":250000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[16.270004,41.319996],\"properties\":{\"NAME\":\"Barletta\",\"NAMEASCII\":\"Barletta\",\"POP_MAX\":107830,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.7299947,36.9300314],\"properties\":{\"NAME\":\"Ragusa\",\"NAMEASCII\":\"Ragusa\",\"POP_MAX\":68956,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[35.8499975,32.5499886],\"properties\":{\"NAME\":\"Irbid\",\"NAMEASCII\":\"Irbid\",\"POP_MAX\":650000,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[35.7272143,32.0391929],\"properties\":{\"NAME\":\"As Salt\",\"NAMEASCII\":\"As Salt\",\"POP_MAX\":140689,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[36.1000081,32.0699921],\"properties\":{\"NAME\":\"Az Zarqa\",\"NAMEASCII\":\"Az Zarqa\",\"POP_MAX\":894691,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[8.2099792,44.9299823],\"properties\":{\"NAME\":\"Asti\",\"NAMEASCII\":\"Asti\",\"POP_MAX\":71276,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[8.61998,45.4500023],\"properties\":{\"NAME\":\"Novara\",\"NAMEASCII\":\"Novara\",\"POP_MAX\":100910,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[9.0800036,45.8100061],\"properties\":{\"NAME\":\"Como\",\"NAMEASCII\":\"Como\",\"POP_MAX\":250000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[13.2400081,46.0700161],\"properties\":{\"NAME\":\"Udine\",\"NAMEASCII\":\"Udine\",\"POP_MAX\":119009,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[12.2400175,45.6700147],\"properties\":{\"NAME\":\"Treviso\",\"NAMEASCII\":\"Treviso\",\"POP_MAX\":177309,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[97.729993,39.8300352],\"properties\":{\"NAME\":\"Yumen\",\"NAMEASCII\":\"Yumen\",\"POP_MAX\":350000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.2000468,35.6000092],\"properties\":{\"NAME\":\"Linxia\",\"NAMEASCII\":\"Linxia\",\"POP_MAX\":534555,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.789976,39.5400529],\"properties\":{\"NAME\":\"Zhuozhou\",\"NAMEASCII\":\"Zhuozhou\",\"POP_MAX\":628000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.5800476,26.2299868],\"properties\":{\"NAME\":\"Sanming\",\"NAMEASCII\":\"Sanming\",\"POP_MAX\":209444,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.3999833,23.0799724],\"properties\":{\"NAME\":\"Huizhou\",\"NAMEASCII\":\"Huizhou\",\"POP_MAX\":289201,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.630028,23.6800391],\"properties\":{\"NAME\":\"Chaozhou\",\"NAMEASCII\":\"Chaozhou\",\"POP_MAX\":424787,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[6.1166703,45.8999748],\"properties\":{\"NAME\":\"Annecy\",\"NAMEASCII\":\"Annecy\",\"POP_MAX\":105749,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[4.0666662,46.0333258],\"properties\":{\"NAME\":\"Roanne\",\"NAMEASCII\":\"Roanne\",\"POP_MAX\":73315,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-79.6499809,-3.6700228],\"properties\":{\"NAME\":\"Piñas\",\"NAMEASCII\":\"Pinas\",\"POP_MAX\":16981,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-91.0166515,-0.9333423],\"properties\":{\"NAME\":\"Puerto Villamil\",\"NAMEASCII\":\"Puerto Villamil\",\"POP_MAX\":2200,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-89.5999679,-0.900011],\"properties\":{\"NAME\":\"Puerto Baquerizo Moreno\",\"NAMEASCII\":\"Puerto Baquerizo Moreno\",\"POP_MAX\":6030,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-79.01002,-1.6099935],\"properties\":{\"NAME\":\"Guaranda\",\"NAMEASCII\":\"Guaranda\",\"POP_MAX\":27866,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.8400304,-2.740002],\"properties\":{\"NAME\":\"Azogues\",\"NAMEASCII\":\"Azogues\",\"POP_MAX\":69087,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-80.9800031,-2.200035],\"properties\":{\"NAME\":\"Salinas\",\"NAMEASCII\":\"Salinas\",\"POP_MAX\":43862,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.8499781,-2.1899581],\"properties\":{\"NAME\":\"Alausí\",\"NAMEASCII\":\"Alausi\",\"POP_MAX\":14294,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.4599502,-0.3100211],\"properties\":{\"NAME\":\"Sangolquí\",\"NAMEASCII\":\"Sangolqui\",\"POP_MAX\":178582,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-75.3166279,5.7166136],\"properties\":{\"NAME\":\"Sonsón\",\"NAMEASCII\":\"Sonson\",\"POP_MAX\":18817,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9400029,5.7199984],\"properties\":{\"NAME\":\"Sogamoso\",\"NAMEASCII\":\"Sogamoso\",\"POP_MAX\":126551,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.849999,7.0899923],\"properties\":{\"NAME\":\"Barrancabermeja\",\"NAMEASCII\":\"Barrancabermeja\",\"POP_MAX\":191403,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-83.9299781,9.8699776],\"properties\":{\"NAME\":\"Cartago\",\"NAMEASCII\":\"Cartago\",\"POP_MAX\":196946,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-83.149974,8.6500263],\"properties\":{\"NAME\":\"Golfito\",\"NAMEASCII\":\"Golfito\",\"POP_MAX\":6777,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-84.2300373,10.0200202],\"properties\":{\"NAME\":\"Alajuela\",\"NAMEASCII\":\"Alajuela\",\"POP_MAX\":387743,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-85.10001,10.4299951],\"properties\":{\"NAME\":\"Cañas\",\"NAMEASCII\":\"Canas\",\"POP_MAX\":20306,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-80.02001,0.6099744],\"properties\":{\"NAME\":\"Muisne\",\"NAMEASCII\":\"Muisne\",\"POP_MAX\":13393,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-88.6300013,13.8800429],\"properties\":{\"NAME\":\"Sensuntepeque\",\"NAMEASCII\":\"Sensuntepeque\",\"POP_MAX\":26989,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-89.7299858,13.7199752],\"properties\":{\"NAME\":\"Sonsonate\",\"NAMEASCII\":\"Sonsonate\",\"POP_MAX\":168947,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-88.183336,13.4833488],\"properties\":{\"NAME\":\"San Miguel\",\"NAMEASCII\":\"San Miguel\",\"POP_MAX\":201563,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-78.7619473,21.8399964],\"properties\":{\"NAME\":\"Ciego de Ávila\",\"NAMEASCII\":\"Ciego de Avila\",\"POP_MAX\":142027,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-75.9988084,20.2172272],\"properties\":{\"NAME\":\"Palma Soriano\",\"NAMEASCII\":\"Palma Soriano\",\"POP_MAX\":102826,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-77.2332809,17.9666152],\"properties\":{\"NAME\":\"May Pen\",\"NAMEASCII\":\"May Pen\",\"POP_MAX\":135142,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-76.9499907,17.9833325],\"properties\":{\"NAME\":\"Spanish Town\",\"NAMEASCII\":\"Spanish Town\",\"POP_MAX\":432704,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-74.8099921,4.3100069],\"properties\":{\"NAME\":\"Girardot\",\"NAMEASCII\":\"Girardot\",\"POP_MAX\":130289,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.330012,2.6900025],\"properties\":{\"NAME\":\"Campoalegre\",\"NAMEASCII\":\"Campoalegre\",\"POP_MAX\":22568,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.6199498,1.0899968],\"properties\":{\"NAME\":\"Túquerres\",\"NAMEASCII\":\"Tuquerres\",\"POP_MAX\":33979,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.6299844,1.1499931],\"properties\":{\"NAME\":\"Mocoa\",\"NAMEASCII\":\"Mocoa\",\"POP_MAX\":22035,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.9100283,4.7499801],\"properties\":{\"NAME\":\"Cartago\",\"NAMEASCII\":\"Cartago\",\"POP_MAX\":134827,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.8400397,0.6099744],\"properties\":{\"NAME\":\"San Gabriel\",\"NAMEASCII\":\"San Gabriel\",\"POP_MAX\":16066,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-74.7699945,10.9200169],\"properties\":{\"NAME\":\"Soledad\",\"NAMEASCII\":\"Soledad\",\"POP_MAX\":698852,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.9199854,10.6399823],\"properties\":{\"NAME\":\"Sabanalarga\",\"NAMEASCII\":\"Sabanalarga\",\"POP_MAX\":68535,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.349985,10.2600314],\"properties\":{\"NAME\":\"Arjona\",\"NAMEASCII\":\"Arjona\",\"POP_MAX\":50405,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.7400222,9.2299909],\"properties\":{\"NAME\":\"Magangué\",\"NAMEASCII\":\"Magangue\",\"POP_MAX\":100313,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.2500098,10.4799921],\"properties\":{\"NAME\":\"Valledupar\",\"NAMEASCII\":\"Valledupar\",\"POP_MAX\":308237,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.6399954,2.5699839],\"properties\":{\"NAME\":\"San José del Guaviare\",\"NAMEASCII\":\"San Jose del Guaviare\",\"POP_MAX\":22136,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9600275,4.0899945],\"properties\":{\"NAME\":\"Puerto López\",\"NAMEASCII\":\"Puerto Lopez\",\"POP_MAX\":16678,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-82.4990835,22.8911208],\"properties\":{\"NAME\":\"San Antonio de los Baños\",\"NAMEASCII\":\"San Antonio de los Banos\",\"POP_MAX\":42724,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-82.028027,22.8361371],\"properties\":{\"NAME\":\"Güines\",\"NAMEASCII\":\"Guines\",\"POP_MAX\":68935,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-79.4722398,22.5157949],\"properties\":{\"NAME\":\"Caibarién\",\"NAMEASCII\":\"Caibarien\",\"POP_MAX\":39140,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-79.6554845,22.3158071],\"properties\":{\"NAME\":\"Placetas\",\"NAMEASCII\":\"Placetas\",\"POP_MAX\":55408,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[8.5300114,52.0299882],\"properties\":{\"NAME\":\"Bielefeld\",\"NAMEASCII\":\"Bielefeld\",\"POP_MAX\":331906,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.4500256,51.5299671],\"properties\":{\"NAME\":\"Dortmund\",\"NAMEASCII\":\"Dortmund\",\"POP_MAX\":588462,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[6.7500166,51.4299732],\"properties\":{\"NAME\":\"Duisburg\",\"NAMEASCII\":\"Duisburg\",\"POP_MAX\":1276757,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.169991,51.25001],\"properties\":{\"NAME\":\"Wuppertal\",\"NAMEASCII\":\"Wuppertal\",\"POP_MAX\":776525,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.0166154,51.4499978],\"properties\":{\"NAME\":\"Essen\",\"NAMEASCII\":\"Essen\",\"POP_MAX\":1742135,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.3999934,48.9999923],\"properties\":{\"NAME\":\"Karlsruhe\",\"NAMEASCII\":\"Karlsruhe\",\"POP_MAX\":377487,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.6999751,49.4199925],\"properties\":{\"NAME\":\"Heidelberg\",\"NAMEASCII\":\"Heidelberg\",\"POP_MAX\":426590,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.5000297,51.3000069],\"properties\":{\"NAME\":\"Kassel\",\"NAMEASCII\":\"Kassel\",\"POP_MAX\":289924,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.2200044,53.1299986],\"properties\":{\"NAME\":\"Oldenburg\",\"NAMEASCII\":\"Oldenburg\",\"POP_MAX\":167458,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.2166548,53.3666767],\"properties\":{\"NAME\":\"Emden\",\"NAMEASCII\":\"Emden\",\"POP_MAX\":51526,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[10.5000203,52.2499748],\"properties\":{\"NAME\":\"Braunschweig\",\"NAMEASCII\":\"Braunschweig\",\"POP_MAX\":244715,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.0299621,50.9700529],\"properties\":{\"NAME\":\"Erfurt\",\"NAMEASCII\":\"Erfurt\",\"POP_MAX\":203254,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[15.5477742,45.4872093],\"properties\":{\"NAME\":\"Karlovac\",\"NAMEASCII\":\"Karlovac\",\"POP_MAX\":55063,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[14.4500118,45.3299837],\"properties\":{\"NAME\":\"Rijeka\",\"NAMEASCII\":\"Rijeka\",\"POP_MAX\":170992,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[10.9666068,50.2666075],\"properties\":{\"NAME\":\"Coburg\",\"NAMEASCII\":\"Coburg\",\"POP_MAX\":61054,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[10.8999959,48.3500061],\"properties\":{\"NAME\":\"Augsburg\",\"NAMEASCII\":\"Augsburg\",\"POP_MAX\":358989,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[10.9999898,49.4700153],\"properties\":{\"NAME\":\"Fürth\",\"NAMEASCII\":\"Furth\",\"POP_MAX\":237844,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[14.460037,48.9800193],\"properties\":{\"NAME\":\"České Budějovice\",\"NAMEASCII\":\"Ceske Budejovice\",\"POP_MAX\":98851,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[15.0799991,50.7999599],\"properties\":{\"NAME\":\"Liberec\",\"NAMEASCII\":\"Liberec\",\"POP_MAX\":102175,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[12.919976,50.8299839],\"properties\":{\"NAME\":\"Chemnitz\",\"NAMEASCII\":\"Chemnitz\",\"POP_MAX\":302643,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[18.0155822,45.1602783],\"properties\":{\"NAME\":\"Slavonski Brod\",\"NAMEASCII\":\"Slavonski Brod\",\"POP_MAX\":97718,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[17.256795794370266,49.58666133426005],\"properties\":{\"NAME\":\"Olomouc\",\"NAMEASCII\":\"Olomouc\",\"POP_MAX\":101268,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[27.283337,59.3999776],\"properties\":{\"NAME\":\"Kohtla-Järve\",\"NAMEASCII\":\"Kohtla-Jarve\",\"POP_MAX\":46060,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[89.6333296,28.9500016],\"properties\":{\"NAME\":\"Gyangze\",\"NAMEASCII\":\"Gyangze\",\"POP_MAX\":10000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.937775,34.7952521],\"properties\":{\"NAME\":\"Dali\",\"NAMEASCII\":\"Dali\",\"POP_MAX\":109696,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.5700081,37.869974],\"properties\":{\"NAME\":\"Yangquan\",\"NAMEASCII\":\"Yangquan\",\"POP_MAX\":981448,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.7799975,32.5700391],\"properties\":{\"NAME\":\"Shiyan\",\"NAMEASCII\":\"Shiyan\",\"POP_MAX\":770000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.5000052,32.5200163],\"properties\":{\"NAME\":\"Danjiangkou\",\"NAMEASCII\":\"Danjiangkou\",\"POP_MAX\":92008,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.2299865,30.3200214],\"properties\":{\"NAME\":\"Jingzhou\",\"NAMEASCII\":\"Jingzhou\",\"POP_MAX\":520000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.670002,31.2699892],\"properties\":{\"NAME\":\"Anlu\",\"NAMEASCII\":\"Anlu\",\"POP_MAX\":71198,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.4000443,25.9699768],\"properties\":{\"NAME\":\"Zixing\",\"NAMEASCII\":\"Zixing\",\"POP_MAX\":6618,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.3999735,31.1333309],\"properties\":{\"NAME\":\"Deyang\",\"NAMEASCII\":\"Deyang\",\"POP_MAX\":152194,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[98.4665889,25.0333157],\"properties\":{\"NAME\":\"Tengchong\",\"NAMEASCII\":\"Tengchong\",\"POP_MAX\":126058,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.4061324,23.3619448],\"properties\":{\"NAME\":\"Mengzi\",\"NAMEASCII\":\"Mengzi\",\"POP_MAX\":303341,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.5455741,25.0364162],\"properties\":{\"NAME\":\"Chuxiong\",\"NAMEASCII\":\"Chuxiong\",\"POP_MAX\":254370,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.7000073,37.7199831],\"properties\":{\"NAME\":\"Hengshui\",\"NAMEASCII\":\"Hengshui\",\"POP_MAX\":456356,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.0243379,40.5944072],\"properties\":{\"NAME\":\"Xuanhua\",\"NAMEASCII\":\"Xuanhua\",\"POP_MAX\":409745,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.02998,33.5700039],\"properties\":{\"NAME\":\"Luohe\",\"NAMEASCII\":\"Luohe\",\"POP_MAX\":417356,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.7600085,41.8100177],\"properties\":{\"NAME\":\"Beipiao\",\"NAMEASCII\":\"Beipiao\",\"POP_MAX\":228515,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.9959537,39.6259133],\"properties\":{\"NAME\":\"Wafangdian\",\"NAMEASCII\":\"Wafangdian\",\"POP_MAX\":355844,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.3800927,35.9899595],\"properties\":{\"NAME\":\"Zhucheng\",\"NAMEASCII\":\"Zhucheng\",\"POP_MAX\":1060000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.7769864,39.231958],\"properties\":{\"NAME\":\"Hangu\",\"NAMEASCII\":\"Hangu\",\"POP_MAX\":332793,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.3500264,34.3800061],\"properties\":{\"NAME\":\"Xinyi\",\"NAMEASCII\":\"Xinyi\",\"POP_MAX\":962656,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.4300122,32.3999978],\"properties\":{\"NAME\":\"Yangzhou\",\"NAMEASCII\":\"Yangzhou\",\"POP_MAX\":539715,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.1199865,28.8500078],\"properties\":{\"NAME\":\"Linhai\",\"NAMEASCII\":\"Linhai\",\"POP_MAX\":251759,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.2500044,28.65002],\"properties\":{\"NAME\":\"Huangyan\",\"NAMEASCII\":\"Huangyan\",\"POP_MAX\":198713,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[133.9170865,34.6720296],\"properties\":{\"NAME\":\"Okayama\",\"NAMEASCII\":\"Okayama\",\"POP_MAX\":866092,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[130.9454333,33.9654319],\"properties\":{\"NAME\":\"Shimonoseki\",\"NAMEASCII\":\"Shimonoseki\",\"POP_MAX\":245786,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[124.2999991,45.4999992],\"properties\":{\"NAME\":\"Daan\",\"NAMEASCII\":\"Daan\",\"POP_MAX\":93297,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.9899922,44.2699968],\"properties\":{\"NAME\":\"Changling\",\"NAMEASCII\":\"Changling\",\"POP_MAX\":55841,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.7499882,41.679974],\"properties\":{\"NAME\":\"Tonghua\",\"NAMEASCII\":\"Tonghua\",\"POP_MAX\":27227,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.4299983,41.9000122],\"properties\":{\"NAME\":\"Baishan\",\"NAMEASCII\":\"Baishan\",\"POP_MAX\":330000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.5127559,42.8823037],\"properties\":{\"NAME\":\"Yanji\",\"NAMEASCII\":\"Yanji\",\"POP_MAX\":488740,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.8500386,31.3833157],\"properties\":{\"NAME\":\"Kanoya\",\"NAMEASCII\":\"Kanoya\",\"POP_MAX\":82335,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[134.044779,34.344737],\"properties\":{\"NAME\":\"Takamatsu\",\"NAMEASCII\":\"Takamatsu\",\"POP_MAX\":334223,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[134.5525,34.0673895],\"properties\":{\"NAME\":\"Tokushima\",\"NAMEASCII\":\"Tokushima\",\"POP_MAX\":443760,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[121.5166548,50.7833201],\"properties\":{\"NAME\":\"Genhe\",\"NAMEASCII\":\"Genhe\",\"POP_MAX\":42849,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.5338863,41.5494393],\"properties\":{\"NAME\":\"Shangdu\",\"NAMEASCII\":\"Shangdu\",\"POP_MAX\":18831,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.7166756,50.5666667],\"properties\":{\"NAME\":\"Orongen Zizhiqi\",\"NAMEASCII\":\"Orongen Zizhiqi\",\"POP_MAX\":40128,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.7199922,48.0000016],\"properties\":{\"NAME\":\"Zalantun\",\"NAMEASCII\":\"Zalantun\",\"POP_MAX\":138032,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.4408357,41.0955135],\"properties\":{\"NAME\":\"Wuchuan\",\"NAMEASCII\":\"Wuchuan\",\"POP_MAX\":23776,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[107.140013,40.8846995],\"properties\":{\"NAME\":\"Hanggin Houqi\",\"NAMEASCII\":\"Hanggin Houqi\",\"POP_MAX\":39954,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.3200402,46.399996],\"properties\":{\"NAME\":\"Anda\",\"NAMEASCII\":\"Anda\",\"POP_MAX\":181533,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.1000443,46.6900299],\"properties\":{\"NAME\":\"Qinggang\",\"NAMEASCII\":\"Qinggang\",\"POP_MAX\":64182,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.8000297,47.1600529],\"properties\":{\"NAME\":\"Angangxi\",\"NAMEASCII\":\"Angangxi\",\"POP_MAX\":24317,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.6100154,47.2099724],\"properties\":{\"NAME\":\"Hulan Ergi\",\"NAMEASCII\":\"Hulan Ergi\",\"POP_MAX\":289999,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[127.5118444,46.8718535],\"properties\":{\"NAME\":\"Qingan\",\"NAMEASCII\":\"Qingan\",\"POP_MAX\":53206,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.0818542,47.6018347],\"properties\":{\"NAME\":\"Baiquan\",\"NAMEASCII\":\"Baiquan\",\"POP_MAX\":70472,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[127.1059777,47.2459908],\"properties\":{\"NAME\":\"Suileng\",\"NAMEASCII\":\"Suileng\",\"POP_MAX\":57789,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.2518839,45.2818988],\"properties\":{\"NAME\":\"Linkou\",\"NAMEASCII\":\"Linkou\",\"POP_MAX\":77754,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[137.2300109,36.6999937],\"properties\":{\"NAME\":\"Toyama\",\"NAMEASCII\":\"Toyama\",\"POP_MAX\":332812,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[136.9999991,36.6700214],\"properties\":{\"NAME\":\"Takaoka\",\"NAMEASCII\":\"Takaoka\",\"POP_MAX\":170077,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[135.8674068,35.006402],\"properties\":{\"NAME\":\"Ōtsu\",\"NAMEASCII\":\"Otsu\",\"POP_MAX\":536976,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.0726892,36.3926998],\"properties\":{\"NAME\":\"Maebashi\",\"NAMEASCII\":\"Maebashi\",\"POP_MAX\":344871,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.705002,35.5299876],\"properties\":{\"NAME\":\"Kawasaki\",\"NAMEASCII\":\"Kawasaki\",\"POP_MAX\":1437266,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.4910616,35.91769],\"properties\":{\"NAME\":\"Kawagoe\",\"NAMEASCII\":\"Kawagoe\",\"POP_MAX\":337931,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.8700048,36.549977],\"properties\":{\"NAME\":\"Utsunomiya\",\"NAMEASCII\":\"Utsunomiya\",\"POP_MAX\":667752,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.3260587,35.6577059],\"properties\":{\"NAME\":\"Hachiōji\",\"NAMEASCII\":\"Hachioji\",\"POP_MAX\":579399,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.3799996,37.4099762],\"properties\":{\"NAME\":\"Kōriyama\",\"NAMEASCII\":\"Koriyama\",\"POP_MAX\":340560,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[-89.4400035,16.2000047],\"properties\":{\"NAME\":\"San Luis\",\"NAMEASCII\":\"San Luis\",\"POP_MAX\":132470,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.3799978,15.4699976],\"properties\":{\"NAME\":\"Cobán\",\"NAMEASCII\":\"Coban\",\"POP_MAX\":65194,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-88.7562345,15.8306539],\"properties\":{\"NAME\":\"Livingston\",\"NAMEASCII\":\"Livingston\",\"POP_MAX\":14350,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-89.9000013,14.2899921],\"properties\":{\"NAME\":\"Jutiapa\",\"NAMEASCII\":\"Jutiapa\",\"POP_MAX\":50681,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-71.4166333,18.4666105],\"properties\":{\"NAME\":\"Neiba\",\"NAMEASCII\":\"Neiba\",\"POP_MAX\":25731,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.5165849,19.2165906],\"properties\":{\"NAME\":\"La Vega\",\"NAMEASCII\":\"La Vega\",\"POP_MAX\":163197,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-70.250012,19.2999964],\"properties\":{\"NAME\":\"San Francisco de Macorís\",\"NAMEASCII\":\"San Francisco de Macoris\",\"POP_MAX\":152538,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-52.3300206,4.7299813],\"properties\":{\"NAME\":\"Roura\",\"NAMEASCII\":\"Roura\",\"POP_MAX\":2229,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.9599821,5.3800191],\"properties\":{\"NAME\":\"Sinnamary\",\"NAMEASCII\":\"Sinnamary\",\"POP_MAX\":3180,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[77.166597,31.1000255],\"properties\":{\"NAME\":\"Simla\",\"NAMEASCII\":\"Simla\",\"POP_MAX\":173503,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.019991,28.4500063],\"properties\":{\"NAME\":\"Gurgaon\",\"NAMEASCII\":\"Gurgaon\",\"POP_MAX\":197340,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.019991,28.9999986],\"properties\":{\"NAME\":\"Sonipat\",\"NAMEASCII\":\"Sonipat\",\"POP_MAX\":250521,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.5800179,28.9000047],\"properties\":{\"NAME\":\"Rohtak\",\"NAMEASCII\":\"Rohtak\",\"POP_MAX\":317245,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.7250313,29.1699882],\"properties\":{\"NAME\":\"Hisar\",\"NAMEASCII\":\"Hisar\",\"POP_MAX\":544829,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.1250069,28.8100102],\"properties\":{\"NAME\":\"Bhiwani\",\"NAMEASCII\":\"Bhiwani\",\"POP_MAX\":190855,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.7918216150194,30.377311358455415],\"properties\":{\"NAME\":\"Ambala\",\"NAMEASCII\":\"Ambala\",\"POP_MAX\":146787,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.4666585,34.2999593],\"properties\":{\"NAME\":\"Sopore\",\"NAMEASCII\":\"Sopore\",\"POP_MAX\":63035,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.0166178,20.2665782],\"properties\":{\"NAME\":\"Silvassa\",\"NAMEASCII\":\"Silvassa\",\"POP_MAX\":27359,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.1601749,19.250232],\"properties\":{\"NAME\":\"Kalyan\",\"NAMEASCII\":\"Kalyan\",\"POP_MAX\":1576614,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.8300378,21.0199947],\"properties\":{\"NAME\":\"Bhusawal\",\"NAMEASCII\":\"Bhusawal\",\"POP_MAX\":183001,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[94.2166674,26.7499809],\"properties\":{\"NAME\":\"Jorhat\",\"NAMEASCII\":\"Jorhat\",\"POP_MAX\":69033,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[-2.7833033,48.5166626],\"properties\":{\"NAME\":\"St.-Brieuc\",\"NAMEASCII\":\"St.-Brieuc\",\"POP_MAX\":53223,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.3332765,46.5832923],\"properties\":{\"NAME\":\"Poitier\",\"NAMEASCII\":\"Poitier\",\"POP_MAX\":85960,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-0.5300299,47.4800075],\"properties\":{\"NAME\":\"Angers\",\"NAMEASCII\":\"Angers\",\"POP_MAX\":188380,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-1.5615949,43.4732754],\"properties\":{\"NAME\":\"Biarritz\",\"NAMEASCII\":\"Biarritz\",\"POP_MAX\":145348,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[5.4499926,43.5199909],\"properties\":{\"NAME\":\"Aix-en-Provence\",\"NAMEASCII\":\"Aix-en-Provence\",\"POP_MAX\":146821,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.8999674,42.6999892],\"properties\":{\"NAME\":\"Perpignan\",\"NAMEASCII\":\"Perpignan\",\"POP_MAX\":146620,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.0833435,43.23329],\"properties\":{\"NAME\":\"Tarbes\",\"NAMEASCII\":\"Tarbes\",\"POP_MAX\":54854,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.0800081,45.7799821],\"properties\":{\"NAME\":\"Clermont-Ferrand\",\"NAMEASCII\":\"Clermont-Ferrand\",\"POP_MAX\":233050,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.6666483,48.5333024],\"properties\":{\"NAME\":\"Melun\",\"NAMEASCII\":\"Melun\",\"POP_MAX\":249432,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.7833337,50.2833248],\"properties\":{\"NAME\":\"Arras\",\"NAMEASCII\":\"Arras\",\"POP_MAX\":64165,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[6.0300089,47.229997],\"properties\":{\"NAME\":\"Besançon\",\"NAMEASCII\":\"Besancon\",\"POP_MAX\":128426,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-71.4666045,-52.6499788],\"properties\":{\"NAME\":\"Río Verde\",\"NAMEASCII\":\"Rio Verde\",\"POP_MAX\":358,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.1333008,-19.1166768],\"properties\":{\"NAME\":\"Cuya\",\"NAMEASCII\":\"Cuya\",\"POP_MAX\":20,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-68.9299893,-22.3199955],\"properties\":{\"NAME\":\"Chuquicamata\",\"NAMEASCII\":\"Chuquicamata\",\"POP_MAX\":0,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-69.6699958,-22.3500195],\"properties\":{\"NAME\":\"María Elena\",\"NAMEASCII\":\"Maria Elena\",\"POP_MAX\":2370,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.2799844,-27.4800423],\"properties\":{\"NAME\":\"Tierra Amarilla\",\"NAMEASCII\":\"Tierra Amarilla\",\"POP_MAX\":12888,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.9999921,-31.1800232],\"properties\":{\"NAME\":\"Combarbalá\",\"NAMEASCII\":\"Combarbala\",\"POP_MAX\":5134,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.6999846,-33.5999788],\"properties\":{\"NAME\":\"San Bernardo\",\"NAMEASCII\":\"San Bernardo\",\"POP_MAX\":246762,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.7200092,-32.7500049],\"properties\":{\"NAME\":\"San Felipe\",\"NAMEASCII\":\"San Felipe\",\"POP_MAX\":59294,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.55708337273282,-33.02489773868034],\"properties\":{\"NAME\":\"Viña del Mar\",\"NAMEASCII\":\"Vina del Mar\",\"POP_MAX\":503534,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2400291,-32.4599967],\"properties\":{\"NAME\":\"La Ligua\",\"NAMEASCII\":\"La Ligua\",\"POP_MAX\":26665,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2600021,-32.8799711],\"properties\":{\"NAME\":\"Quillota\",\"NAMEASCII\":\"Quillota\",\"POP_MAX\":79686,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9600275,-38.7400268],\"properties\":{\"NAME\":\"Nueva Imperial\",\"NAMEASCII\":\"Nueva Imperial\",\"POP_MAX\":18777,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.629996,-39.3700142],\"properties\":{\"NAME\":\"Loncoche\",\"NAMEASCII\":\"Loncoche\",\"POP_MAX\":15590,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.2299945,-39.2800456],\"properties\":{\"NAME\":\"Villarica\",\"NAMEASCII\":\"Villarica\",\"POP_MAX\":31602,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.212338,-39.2165905],\"properties\":{\"NAME\":\"Toltén\",\"NAMEASCII\":\"Tolten\",\"POP_MAX\":2293,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2332854,-38.4333272],\"properties\":{\"NAME\":\"Lonquimay\",\"NAMEASCII\":\"Lonquimay\",\"POP_MAX\":10237,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.70549687199102,-37.802211129548745],\"properties\":{\"NAME\":\"Angol\",\"NAMEASCII\":\"Angol\",\"POP_MAX\":44856,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.4300082,-37.9599711],\"properties\":{\"NAME\":\"Collipulli\",\"NAMEASCII\":\"Collipulli\",\"POP_MAX\":16392,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.0899679,-40.2899581],\"properties\":{\"NAME\":\"La Unión\",\"NAMEASCII\":\"La Union\",\"POP_MAX\":26298,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9600275,-40.3400325],\"properties\":{\"NAME\":\"Río Bueno\",\"NAMEASCII\":\"Rio Bueno\",\"POP_MAX\":15456,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.1600153,-37.0299503],\"properties\":{\"NAME\":\"Coronel\",\"NAMEASCII\":\"Coronel\",\"POP_MAX\":92940,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.1166588,-36.7166878],\"properties\":{\"NAME\":\"Talcahuano\",\"NAMEASCII\":\"Talcahuano\",\"POP_MAX\":288074,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.5300021,-36.280022],\"properties\":{\"NAME\":\"Quirihue\",\"NAMEASCII\":\"Quirihue\",\"POP_MAX\":6529,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.3400043,-37.4800004],\"properties\":{\"NAME\":\"Curanilahue\",\"NAMEASCII\":\"Curanilahue\",\"POP_MAX\":30611,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.0199815,-37.6700146],\"properties\":{\"NAME\":\"Santa Bárbara\",\"NAMEASCII\":\"Santa Barbara\",\"POP_MAX\":3494,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.9999827,-34.3800346],\"properties\":{\"NAME\":\"Pichilemu\",\"NAMEASCII\":\"Pichilemu\",\"POP_MAX\":11603,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.9899669,-34.5800224],\"properties\":{\"NAME\":\"San Fernando\",\"NAMEASCII\":\"San Fernando\",\"POP_MAX\":60746,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9899998,-41.3299979],\"properties\":{\"NAME\":\"Puerto Varas\",\"NAMEASCII\":\"Puerto Varas\",\"POP_MAX\":24958,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.19469206025751,-41.76052015637703],\"properties\":{\"NAME\":\"Calbuco\",\"NAMEASCII\":\"Calbuco\",\"POP_MAX\":12490,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.7623342,-42.4807616],\"properties\":{\"NAME\":\"Castro\",\"NAMEASCII\":\"Castro\",\"POP_MAX\":29926,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.79402019666776,-42.63709990186921],\"properties\":{\"NAME\":\"Chonchi\",\"NAMEASCII\":\"Chonchi\",\"POP_MAX\":381,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.59136123379247,-35.85066841888429],\"properties\":{\"NAME\":\"Linares\",\"NAMEASCII\":\"Linares\",\"POP_MAX\":81015,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.3136284751074,-35.97513032127918],\"properties\":{\"NAME\":\"Cauquenes\",\"NAMEASCII\":\"Cauquenes\",\"POP_MAX\":31362,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[23.6999898,37.9500208],\"properties\":{\"NAME\":\"Piraeus\",\"NAMEASCII\":\"Piraievs\",\"POP_MAX\":466065,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[22.9500097,39.3699599],\"properties\":{\"NAME\":\"Volos\",\"NAMEASCII\":\"Volos\",\"POP_MAX\":110632,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[24.0155778,35.5122109],\"properties\":{\"NAME\":\"Hania\",\"NAMEASCII\":\"Hania\",\"POP_MAX\":78728,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[24.4017604,40.9412111],\"properties\":{\"NAME\":\"Kavala\",\"NAMEASCII\":\"Kavala\",\"POP_MAX\":59240,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[25.8744098,40.8486194],\"properties\":{\"NAME\":\"Alexandroupoli\",\"NAMEASCII\":\"Alexandroupoli\",\"POP_MAX\":52979,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[42.729991,42.2499909],\"properties\":{\"NAME\":\"Kutaisi\",\"NAMEASCII\":\"Kutaisi\",\"POP_MAX\":183945,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[43.9750313,42.2324984],\"properties\":{\"NAME\":\"Tskhinvali\",\"NAMEASCII\":\"Tskhinvali\",\"POP_MAX\":38502,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[34.8300081,31.2500163],\"properties\":{\"NAME\":\"Beer Sheva\",\"NAMEASCII\":\"Beer Sheva\",\"POP_MAX\":206408,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[28.8833427,61.8666229],\"properties\":{\"NAME\":\"Savonlinna\",\"NAMEASCII\":\"Savonlinna\",\"POP_MAX\":27353,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[21.7749393,61.4788947],\"properties\":{\"NAME\":\"Pori\",\"NAMEASCII\":\"Pori\",\"POP_MAX\":76772,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[64.078042,45.4877261],\"properties\":{\"NAME\":\"Zhosaly\",\"NAMEASCII\":\"Zhosaly\",\"POP_MAX\":20065,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[52.8214681,29.8014484],\"properties\":{\"NAME\":\"Marv Dasht\",\"NAMEASCII\":\"Marv Dasht\",\"POP_MAX\":125000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[54.9628877,36.4228788],\"properties\":{\"NAME\":\"Shahrud\",\"NAMEASCII\":\"Shahrud\",\"POP_MAX\":131889,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[51.6466044,35.3165898],\"properties\":{\"NAME\":\"Varamin\",\"NAMEASCII\":\"Varamin\",\"POP_MAX\":179603,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[49.2999259,31.9799976],\"properties\":{\"NAME\":\"Masjed Soleyman\",\"NAMEASCII\":\"Masjed Soleyman\",\"POP_MAX\":153663,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.8000081,33.9199567],\"properties\":{\"NAME\":\"Borujerd\",\"NAMEASCII\":\"Borujerd\",\"POP_MAX\":251958,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[47.7079817,30.3891644],\"properties\":{\"NAME\":\"Az Aubayr\",\"NAMEASCII\":\"Az Aubayr\",\"POP_MAX\":262219,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[44.9239656,31.9889376],\"properties\":{\"NAME\":\"Ad Diwaniyah\",\"NAMEASCII\":\"Ad Diwaniyah\",\"POP_MAX\":358408,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[46.1772225,31.4175255],\"properties\":{\"NAME\":\"Ash Shatrah\",\"NAMEASCII\":\"Ash Shatrah\",\"POP_MAX\":161949,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[48.8499792,34.3199839],\"properties\":{\"NAME\":\"Malayer\",\"NAMEASCII\":\"Malayer\",\"POP_MAX\":176573,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.5000264,36.6700214],\"properties\":{\"NAME\":\"Zanjan\",\"NAMEASCII\":\"Zanjan\",\"POP_MAX\":357471,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[44.9999816,37.5299947],\"properties\":{\"NAME\":\"Urmia\",\"NAMEASCII\":\"Urmia\",\"POP_MAX\":577307,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[47.0629048,38.4829081],\"properties\":{\"NAME\":\"Ahar\",\"NAMEASCII\":\"Ahar\",\"POP_MAX\":103639,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[47.0200134,35.3000016],\"properties\":{\"NAME\":\"Sanandaj\",\"NAMEASCII\":\"Sanandaj\",\"POP_MAX\":349176,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[45.5463566,33.7436109],\"properties\":{\"NAME\":\"Mandali\",\"NAMEASCII\":\"Mandali\",\"POP_MAX\":29785,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[58.8200166,36.220023],\"properties\":{\"NAME\":\"Neyshabur\",\"NAMEASCII\":\"Neyshabur\",\"POP_MAX\":221700,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[57.3200048,37.4699984],\"properties\":{\"NAME\":\"Bojnurd\",\"NAMEASCII\":\"Bojnurd\",\"POP_MAX\":208582,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[55.7300244,29.4699699],\"properties\":{\"NAME\":\"Sirjan\",\"NAMEASCII\":\"Sirjan\",\"POP_MAX\":175000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[75.9800028,31.519974],\"properties\":{\"NAME\":\"Hoshiarpur\",\"NAMEASCII\":\"Hoshiarpur\",\"POP_MAX\":158142,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.6399812,26.4499992],\"properties\":{\"NAME\":\"Ajmer\",\"NAMEASCII\":\"Ajmer\",\"POP_MAX\":589985,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.0500057,27.5999807],\"properties\":{\"NAME\":\"Hathras\",\"NAMEASCII\":\"Hathras\",\"POP_MAX\":126882,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.68324247195959,27.551591415569174],\"properties\":{\"NAME\":\"Sitapur\",\"NAMEASCII\":\"Sitapur\",\"POP_MAX\":164435,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.8100016,28.6399947],\"properties\":{\"NAME\":\"Pilibhit\",\"NAMEASCII\":\"Pilibhit\",\"POP_MAX\":131008,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.0899939,28.0300061],\"properties\":{\"NAME\":\"Budaun\",\"NAMEASCII\":\"Budaun\",\"POP_MAX\":161555,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.3949458,27.1499823],\"properties\":{\"NAME\":\"Firozabad\",\"NAMEASCII\":\"Firozabad\",\"POP_MAX\":306409,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.6700288,27.4999868],\"properties\":{\"NAME\":\"Mathura\",\"NAMEASCII\":\"Mathura\",\"POP_MAX\":330511,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.8484159,28.4103705],\"properties\":{\"NAME\":\"Bulandshahr\",\"NAMEASCII\":\"Bulandshahr\",\"POP_MAX\":198612,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.762788,28.7436577],\"properties\":{\"NAME\":\"Hapur\",\"NAMEASCII\":\"Hapur\",\"POP_MAX\":242920,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.6950402,29.4850078],\"properties\":{\"NAME\":\"Muzaffarnagar\",\"NAMEASCII\":\"Muzaffarnagar\",\"POP_MAX\":349706,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.6166475,27.3333303],\"properties\":{\"NAME\":\"Gangtok\",\"NAMEASCII\":\"Gangtok\",\"POP_MAX\":77900,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[9.3999841,56.433337],\"properties\":{\"NAME\":\"Viborg\",\"NAMEASCII\":\"Viborg\",\"POP_MAX\":34831,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[12.0833345,55.649974],\"properties\":{\"NAME\":\"Roskilde\",\"NAMEASCII\":\"Roskilde\",\"POP_MAX\":44285,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[43.2999821,33.420013],\"properties\":{\"NAME\":\"Ar Ramadi\",\"NAMEASCII\":\"Ar Ramadi\",\"POP_MAX\":295121,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[44.2899991,32.778631],\"properties\":{\"NAME\":\"Al Musayyib\",\"NAMEASCII\":\"Al Musayyib\",\"POP_MAX\":76454,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[19.6800284,46.0700161],\"properties\":{\"NAME\":\"Subotica\",\"NAMEASCII\":\"Subotica\",\"POP_MAX\":100000,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[-46.1499844,-5.8099955],\"properties\":{\"NAME\":\"Grajau\",\"NAMEASCII\":\"Grajau\",\"POP_MAX\":30217,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.5199805,-5.2500297],\"properties\":{\"NAME\":\"Presidente Dutra\",\"NAMEASCII\":\"Presidente Dutra\",\"POP_MAX\":30330,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.3600161,-3.4000134],\"properties\":{\"NAME\":\"Itapecuru Mirim\",\"NAMEASCII\":\"Itapecuru Mirim\",\"POP_MAX\":34943,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.0699821,-2.5499878],\"properties\":{\"NAME\":\"São José de Ribamar\",\"NAMEASCII\":\"Sao Jose de Ribamar\",\"POP_MAX\":55265,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.3900308,-3.6599975],\"properties\":{\"NAME\":\"Santa Inês\",\"NAMEASCII\":\"Santa Ines\",\"POP_MAX\":67424,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.2600222,-2.9400415],\"properties\":{\"NAME\":\"Rosário\",\"NAMEASCII\":\"Rosario\",\"POP_MAX\":6798,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.8449665,-5.1149992],\"properties\":{\"NAME\":\"Timon\",\"NAMEASCII\":\"Timon\",\"POP_MAX\":203157,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.179999,-1.1900191],\"properties\":{\"NAME\":\"Capanema\",\"NAMEASCII\":\"Capanema\",\"POP_MAX\":47766,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.8199836,-1.9499727],\"properties\":{\"NAME\":\"Portel\",\"NAMEASCII\":\"Portel\",\"POP_MAX\":21315,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.3000247,-5.1200118],\"properties\":{\"NAME\":\"Itupiranga\",\"NAMEASCII\":\"Itupiranga\",\"POP_MAX\":21301,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-61.2099954,-11.6400272],\"properties\":{\"NAME\":\"Pimenta Bueno\",\"NAMEASCII\":\"Pimenta Bueno\",\"POP_MAX\":25762,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.7299681,-22.5300085],\"properties\":{\"NAME\":\"Ponta Porã\",\"NAMEASCII\":\"Ponta Pora\",\"POP_MAX\":94331,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.1800275,-21.610013],\"properties\":{\"NAME\":\"Maracaju\",\"NAMEASCII\":\"Maracaju\",\"POP_MAX\":22690,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.15002,-21.4799434],\"properties\":{\"NAME\":\"Jardim\",\"NAMEASCII\":\"Jardim\",\"POP_MAX\":23780,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.7200061,-20.7900114],\"properties\":{\"NAME\":\"Três Lagoas\",\"NAMEASCII\":\"Tres Lagoas\",\"POP_MAX\":78712,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.9500247,-18.7800049],\"properties\":{\"NAME\":\"Guanhães\",\"NAMEASCII\":\"Guanhaes\",\"POP_MAX\":23727,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.6400436,-21.5300179],\"properties\":{\"NAME\":\"Leopoldina\",\"NAMEASCII\":\"Leopoldina\",\"POP_MAX\":46742,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.8500214,-19.980035],\"properties\":{\"NAME\":\"Nova Lima\",\"NAMEASCII\":\"Nova Lima\",\"POP_MAX\":88399,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.940023,-22.2200016],\"properties\":{\"NAME\":\"Pouso Alegre\",\"NAMEASCII\":\"Pouso Alegre\",\"POP_MAX\":115201,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.5700291,-20.0600301],\"properties\":{\"NAME\":\"Itaúna\",\"NAMEASCII\":\"Itauna\",\"POP_MAX\":77400,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.1399966,-19.7900207],\"properties\":{\"NAME\":\"Caratinga\",\"NAMEASCII\":\"Caratinga\",\"POP_MAX\":60066,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.6099844,-18.2399861],\"properties\":{\"NAME\":\"Diamantina\",\"NAMEASCII\":\"Diamantina\",\"POP_MAX\":37343,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.3500283,-17.8399589],\"properties\":{\"NAME\":\"Nanuque\",\"NAMEASCII\":\"Nanuque\",\"POP_MAX\":37824,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.7700004,-21.220011],\"properties\":{\"NAME\":\"Barbacena\",\"NAMEASCII\":\"Barbacena\",\"POP_MAX\":122211,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.5699846,-21.7800285],\"properties\":{\"NAME\":\"Poços de Caldas\",\"NAMEASCII\":\"Pocos de Caldas\",\"POP_MAX\":146588,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.7099502,-21.2900325],\"properties\":{\"NAME\":\"Guaxupé\",\"NAMEASCII\":\"Guaxupe\",\"POP_MAX\":47889,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.249997,-21.1300423],\"properties\":{\"NAME\":\"São João del Rei\",\"NAMEASCII\":\"Sao Joao del Rei\",\"POP_MAX\":78592,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.3899813,-21.1300423],\"properties\":{\"NAME\":\"Muriaé\",\"NAMEASCII\":\"Muriae\",\"POP_MAX\":91173,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.6099821,-20.7100163],\"properties\":{\"NAME\":\"Passos\",\"NAMEASCII\":\"Passos\",\"POP_MAX\":98752,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.7899992,-20.6700187],\"properties\":{\"NAME\":\"Conselheiro Lafaiete\",\"NAMEASCII\":\"Conselheiro Lafaiete\",\"POP_MAX\":111596,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.4300283,-20.4600057],\"properties\":{\"NAME\":\"Formiga\",\"NAMEASCII\":\"Formiga\",\"POP_MAX\":56404,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.9400208,-20.0300061],\"properties\":{\"NAME\":\"Frutal\",\"NAMEASCII\":\"Frutal\",\"POP_MAX\":40931,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.2000214,-19.7299727],\"properties\":{\"NAME\":\"Iturama\",\"NAMEASCII\":\"Iturama\",\"POP_MAX\":29805,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.4599891,-18.9700191],\"properties\":{\"NAME\":\"Ituiutaba\",\"NAMEASCII\":\"Ituiutaba\",\"POP_MAX\":85345,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.1999884,-18.6400134],\"properties\":{\"NAME\":\"Araguari\",\"NAMEASCII\":\"Araguari\",\"POP_MAX\":96565,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.700007,-16.170035],\"properties\":{\"NAME\":\"Almenara\",\"NAMEASCII\":\"Almenara\",\"POP_MAX\":29333,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.1400206,-15.650015],\"properties\":{\"NAME\":\"Várzea Grande\",\"NAMEASCII\":\"Varzea Grande\",\"POP_MAX\":249752,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.5100145,-16.0500423],\"properties\":{\"NAME\":\"Cáceres\",\"NAMEASCII\":\"Caceres\",\"POP_MAX\":85274,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.5300061,-30.8800415],\"properties\":{\"NAME\":\"Santana do Livramento\",\"NAMEASCII\":\"Santana do Livramento\",\"POP_MAX\":89694,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1799874,-29.9199967],\"properties\":{\"NAME\":\"Canoas\",\"NAMEASCII\":\"Canoas\",\"POP_MAX\":600000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.4599494,-30.3800203],\"properties\":{\"NAME\":\"Quaraí\",\"NAMEASCII\":\"Quarai\",\"POP_MAX\":23229,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.369983,-33.5200354],\"properties\":{\"NAME\":\"Santa Vitória do Palmar\",\"NAMEASCII\":\"Santa Vitoria do Palmar\",\"POP_MAX\":27775,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.9800161,-31.3699857],\"properties\":{\"NAME\":\"São Lourenço do Sul\",\"NAMEASCII\":\"Sao Lourenco do Sul\",\"POP_MAX\":25340,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.81001,-29.3600309],\"properties\":{\"NAME\":\"Canela\",\"NAMEASCII\":\"Canela\",\"POP_MAX\":60806,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.3200283,-30.320024],\"properties\":{\"NAME\":\"São Gabriel\",\"NAMEASCII\":\"Sao Gabriel\",\"POP_MAX\":55434,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.9200175,-30.2500024],\"properties\":{\"NAME\":\"Rosário do Sul\",\"NAMEASCII\":\"Rosario do Sul\",\"POP_MAX\":36721,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.9099852,-30.0299642],\"properties\":{\"NAME\":\"Cachoeira do Sul\",\"NAMEASCII\":\"Cachoeira do Sul\",\"POP_MAX\":74694,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.2699913,-29.8799992],\"properties\":{\"NAME\":\"Osório\",\"NAMEASCII\":\"Osorio\",\"POP_MAX\":34628,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.4400397,-29.7100354],\"properties\":{\"NAME\":\"Santa Cruz do Sul\",\"NAMEASCII\":\"Santa Cruz do Sul\",\"POP_MAX\":113625,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.9599893,-28.4100114],\"properties\":{\"NAME\":\"São Luiz Gonzaga\",\"NAMEASCII\":\"Sao Luiz Gonzaga\",\"POP_MAX\":31798,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.2800308,-28.3000439],\"properties\":{\"NAME\":\"Santo Ângelo\",\"NAMEASCII\":\"Santo Angelo\",\"POP_MAX\":65420,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.8000436,-28.2900187],\"properties\":{\"NAME\":\"Carazinho\",\"NAMEASCII\":\"Carazinho\",\"POP_MAX\":59417,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.2699984,-27.6300073],\"properties\":{\"NAME\":\"Erechim\",\"NAMEASCII\":\"Erechim\",\"POP_MAX\":96087,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.2699797,-24.089965],\"properties\":{\"NAME\":\"Guaira\",\"NAMEASCII\":\"Guaira\",\"POP_MAX\":36426,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.9999891,-26.48],\"properties\":{\"NAME\":\"Palmas\",\"NAMEASCII\":\"Palmas\",\"POP_MAX\":39150,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.4300497,-23.4100065],\"properties\":{\"NAME\":\"Arapongas\",\"NAMEASCII\":\"Arapongas\",\"POP_MAX\":97512,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.5344535,-25.5278756],\"properties\":{\"NAME\":\"Paranaguá\",\"NAMEASCII\":\"Paranagua\",\"POP_MAX\":141013,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.1800061,-25.5700297],\"properties\":{\"NAME\":\"São José dos Pinhais\",\"NAMEASCII\":\"Sao Jose dos Pinhais\",\"POP_MAX\":665063,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.4800208,-25.3800154],\"properties\":{\"NAME\":\"Guarapuava\",\"NAMEASCII\":\"Guarapuava\",\"POP_MAX\":150850,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.7900206,-26.1000232],\"properties\":{\"NAME\":\"Rio Negro\",\"NAMEASCII\":\"Rio Negro\",\"POP_MAX\":65597,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.4700214,-23.5499979],\"properties\":{\"NAME\":\"Apucarana\",\"NAMEASCII\":\"Apucarana\",\"POP_MAX\":107085,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.7299984,-25.7600439],\"properties\":{\"NAME\":\"Lapa\",\"NAMEASCII\":\"Lapa\",\"POP_MAX\":25621,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.6599675,-25.4700358],\"properties\":{\"NAME\":\"Irati\",\"NAMEASCII\":\"Irati\",\"POP_MAX\":45830,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.0099813,-24.7900256],\"properties\":{\"NAME\":\"Castro\",\"NAMEASCII\":\"Castro\",\"POP_MAX\":42091,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.6199958,-24.3299503],\"properties\":{\"NAME\":\"Telêmaco Borba\",\"NAMEASCII\":\"Telemaco Borba\",\"POP_MAX\":58880,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.9799832,-23.1599442],\"properties\":{\"NAME\":\"Jacarezinho\",\"NAMEASCII\":\"Jacarezinho\",\"POP_MAX\":35090,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.0300131,-27.2300317],\"properties\":{\"NAME\":\"Concórdia\",\"NAMEASCII\":\"Concordia\",\"POP_MAX\":55367,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0899858,-26.9200248],\"properties\":{\"NAME\":\"Blumenau\",\"NAMEASCII\":\"Blumenau\",\"POP_MAX\":293949,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.9300214,-27.1299861],\"properties\":{\"NAME\":\"Brusque\",\"NAMEASCII\":\"Brusque\",\"POP_MAX\":88284,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.4999866,-28.9400049],\"properties\":{\"NAME\":\"Araranguá\",\"NAMEASCII\":\"Ararangua\",\"POP_MAX\":43444,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0999852,-26.48],\"properties\":{\"NAME\":\"Jaraguá do Sul\",\"NAMEASCII\":\"Jaragua do Sul\",\"POP_MAX\":130130,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0200159,-28.4800329],\"properties\":{\"NAME\":\"Tubarão\",\"NAMEASCII\":\"Tubarao\",\"POP_MAX\":92275,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.7799789,-28.4800329],\"properties\":{\"NAME\":\"Laguna\",\"NAMEASCII\":\"Laguna\",\"POP_MAX\":39711,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.4999679,-27.1700354],\"properties\":{\"NAME\":\"Joaçaba\",\"NAMEASCII\":\"Joacaba\",\"POP_MAX\":38876,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.020023,-26.7700081],\"properties\":{\"NAME\":\"Caçador\",\"NAMEASCII\":\"Cacador\",\"POP_MAX\":63726,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.4000092,-26.1799666],\"properties\":{\"NAME\":\"Canoinhas\",\"NAMEASCII\":\"Canoinhas\",\"POP_MAX\":41498,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.8500236,-2.8999922],\"properties\":{\"NAME\":\"Camocim\",\"NAMEASCII\":\"Camocim\",\"POP_MAX\":44481,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.9799921,-4.9400228],\"properties\":{\"NAME\":\"Russas\",\"NAMEASCII\":\"Russas\",\"POP_MAX\":39465,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.3500283,-3.6900215],\"properties\":{\"NAME\":\"Sobral\",\"NAMEASCII\":\"Sobral\",\"POP_MAX\":157996,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.2999891,-6.3599878],\"properties\":{\"NAME\":\"Iguatu\",\"NAMEASCII\":\"Iguatu\",\"POP_MAX\":70380,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0200061,-4.9699951],\"properties\":{\"NAME\":\"Quixadá\",\"NAMEASCII\":\"Quixada\",\"POP_MAX\":49328,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.3099884,-4.3500329],\"properties\":{\"NAME\":\"Canindé\",\"NAMEASCII\":\"Caninde\",\"POP_MAX\":42720,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.18002,-4.8200301],\"properties\":{\"NAME\":\"Campo Maior\",\"NAMEASCII\":\"Campo Maior\",\"POP_MAX\":31739,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.2999868,-4.250039],\"properties\":{\"NAME\":\"Barras\",\"NAMEASCII\":\"Barras\",\"POP_MAX\":21597,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.8399677,-9.480004],\"properties\":{\"NAME\":\"Rio Largo\",\"NAMEASCII\":\"Rio Largo\",\"POP_MAX\":158545,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.6166386,-9.4165971],\"properties\":{\"NAME\":\"Palmeira dos Índios\",\"NAMEASCII\":\"Palmeira dos Indios\",\"POP_MAX\":41095,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0299797,-16.2800024],\"properties\":{\"NAME\":\"Santa Cruz Cabrália\",\"NAMEASCII\":\"Santa Cruz Cabralia\",\"POP_MAX\":19545,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.22168873828767,-9.402966500322927],\"properties\":{\"NAME\":\"Paulo Afonso\",\"NAMEASCII\":\"Paulo Afonso\",\"POP_MAX\":85350,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.6700253,-14.2099996],\"properties\":{\"NAME\":\"Brumado\",\"NAMEASCII\":\"Brumado\",\"POP_MAX\":41989,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.9699998,-13.5299894],\"properties\":{\"NAME\":\"Jaguaquara\",\"NAMEASCII\":\"Jaguaquara\",\"POP_MAX\":41498,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.2499827,-15.2499878],\"properties\":{\"NAME\":\"Itapetinga\",\"NAMEASCII\":\"Itapetinga\",\"POP_MAX\":59721,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.3300131,-14.3000199],\"properties\":{\"NAME\":\"Ubaitaba\",\"NAMEASCII\":\"Ubaitaba\",\"POP_MAX\":28375,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.1299807,-20.8500077],\"properties\":{\"NAME\":\"Cachoeiro de Itapemirim\",\"NAMEASCII\":\"Cachoeiro de Itapemirim\",\"POP_MAX\":187019,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.1699502,-22.5600325],\"properties\":{\"NAME\":\"Barra Mansa\",\"NAMEASCII\":\"Barra Mansa\",\"POP_MAX\":169386,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.44518951988282,-22.755051717816965],\"properties\":{\"NAME\":\"Nova Iguaçu\",\"NAMEASCII\":\"Nova Iguacu\",\"POP_MAX\":844583,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.30560241118898,-22.796378408911043],\"properties\":{\"NAME\":\"Duque de Caxias\",\"NAMEASCII\":\"Duque de Caxias\",\"POP_MAX\":842890,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.10582636571889,-22.88253375568974],\"properties\":{\"NAME\":\"Niterói\",\"NAMEASCII\":\"Niteroi\",\"POP_MAX\":1500513,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.0399768,-22.8899866],\"properties\":{\"NAME\":\"Cabo Frio\",\"NAMEASCII\":\"Cabo Frio\",\"POP_MAX\":261721,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.7899921,-22.3799918],\"properties\":{\"NAME\":\"Macaé\",\"NAMEASCII\":\"Macae\",\"POP_MAX\":143029,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.1999671,-21.4100252],\"properties\":{\"NAME\":\"Miracema\",\"NAMEASCII\":\"Miracema\",\"POP_MAX\":26684,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.8000031,-5.6500053],\"properties\":{\"NAME\":\"Apodi\",\"NAMEASCII\":\"Apodi\",\"POP_MAX\":16757,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.0299819,-6.2199963],\"properties\":{\"NAME\":\"Santa Cruz\",\"NAMEASCII\":\"Santa Cruz\",\"POP_MAX\":27775,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-96.8833218,50.1500255],\"properties\":{\"NAME\":\"Selkirk\",\"NAMEASCII\":\"Selkirk\",\"POP_MAX\":9986,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-97.0333126,52.3665568],\"properties\":{\"NAME\":\"Berens River\",\"NAMEASCII\":\"Berens River\",\"POP_MAX\":892,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-101.3166171,55.7332764],\"properties\":{\"NAME\":\"Pukatawagan\",\"NAMEASCII\":\"Pukatawagan\",\"POP_MAX\":431,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-96.9999813,50.6333034],\"properties\":{\"NAME\":\"Gimli\",\"NAMEASCII\":\"Gimli\",\"POP_MAX\":2623,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.7665776,53.9665884],\"properties\":{\"NAME\":\"Island Lake\",\"NAMEASCII\":\"Island Lake\",\"POP_MAX\":10,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-102.7999891,50.933311],\"properties\":{\"NAME\":\"Melville\",\"NAMEASCII\":\"Melville\",\"POP_MAX\":4279,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-103.8500025,49.6665666],\"properties\":{\"NAME\":\"Weyburn\",\"NAMEASCII\":\"Weyburn\",\"POP_MAX\":9362,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-105.3000173,55.1000075],\"properties\":{\"NAME\":\"La Ronge\",\"NAMEASCII\":\"La Ronge\",\"POP_MAX\":3783,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-105.8332664,59.2665749],\"properties\":{\"NAME\":\"Stony Rapids\",\"NAMEASCII\":\"Stony Rapids\",\"POP_MAX\":152,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-112.8166386,53.016698],\"properties\":{\"NAME\":\"Camrose\",\"NAMEASCII\":\"Camrose\",\"POP_MAX\":15808,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-117.5833503,53.3999821],\"properties\":{\"NAME\":\"Hinton\",\"NAMEASCII\":\"Hinton\",\"POP_MAX\":10265,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-112.0499671,53.499976],\"properties\":{\"NAME\":\"Vegreville\",\"NAMEASCII\":\"Vegreville\",\"POP_MAX\":5813,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-112.6832876,52.3329671],\"properties\":{\"NAME\":\"Stettler\",\"NAMEASCII\":\"Stettler\",\"POP_MAX\":5494,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-111.964701,54.7719397],\"properties\":{\"NAME\":\"Lac La Biche\",\"NAMEASCII\":\"Lac La Biche\",\"POP_MAX\":2986,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-113.3832966,52.9665719],\"properties\":{\"NAME\":\"Wetaskiwin\",\"NAMEASCII\":\"Wetaskiwin\",\"POP_MAX\":11823,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-117.6829824,59.0332817],\"properties\":{\"NAME\":\"Meander River\",\"NAMEASCII\":\"Meander River\",\"POP_MAX\":200,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-116.516697,49.0999603],\"properties\":{\"NAME\":\"Creston\",\"NAMEASCII\":\"Creston\",\"POP_MAX\":4816,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-115.7666653,49.5166791],\"properties\":{\"NAME\":\"Cranbrook\",\"NAMEASCII\":\"Cranbrook\",\"POP_MAX\":18610,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-128.5833248,54.4999925],\"properties\":{\"NAME\":\"Terrace\",\"NAMEASCII\":\"Terrace\",\"POP_MAX\":19443,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-121.949983,49.1666488],\"properties\":{\"NAME\":\"Chilliwack\",\"NAMEASCII\":\"Chilliwack\",\"POP_MAX\":51942,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.236083,68.7674668],\"properties\":{\"NAME\":\"Hall Beach\",\"NAMEASCII\":\"Hall Beach\",\"POP_MAX\":654,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-110.7333291,62.4000529],\"properties\":{\"NAME\":\"Lutselke\",\"NAMEASCII\":\"Lutselke\",\"POP_MAX\":102,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-115.78834015551215,60.81427586815497],\"properties\":{\"NAME\":\"Hay River\",\"NAMEASCII\":\"Hay River\",\"POP_MAX\":3900,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-123.4166635,65.1833456],\"properties\":{\"NAME\":\"Doline\",\"NAMEASCII\":\"Doline\",\"POP_MAX\":525,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-123.9833214,69.3833218],\"properties\":{\"NAME\":\"Paulatuk\",\"NAMEASCII\":\"Paulatuk\",\"POP_MAX\":294,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-133.7499862,67.4332857],\"properties\":{\"NAME\":\"Tsiigehtchic\",\"NAMEASCII\":\"Tsiigehtchic\",\"POP_MAX\":175,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.94466076891213,44.56523419169317],\"properties\":{\"NAME\":\"Owen Sound\",\"NAMEASCII\":\"Owen Sound\",\"POP_MAX\":22625,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.4166618,44.5999766],\"properties\":{\"NAME\":\"Orillia\",\"NAMEASCII\":\"Orillia\",\"POP_MAX\":37483,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-82.4333252,49.4166852],\"properties\":{\"NAME\":\"Kapuskasing\",\"NAMEASCII\":\"Kapuskasing\",\"POP_MAX\":9240,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-83.5500013,46.2499793],\"properties\":{\"NAME\":\"Thessalon\",\"NAMEASCII\":\"Thessalon\",\"POP_MAX\":1464,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-86.9418705401598,49.72240628016717],\"properties\":{\"NAME\":\"Geraldton\",\"NAMEASCII\":\"Geraldton\",\"POP_MAX\":1290,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.3833492,44.1666697],\"properties\":{\"NAME\":\"Belleville\",\"NAMEASCII\":\"Belleville\",\"POP_MAX\":43990,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-82.3999681,42.9666396],\"properties\":{\"NAME\":\"Sarnia\",\"NAMEASCII\":\"Sarnia\",\"POP_MAX\":144172,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.3332654,44.2999691],\"properties\":{\"NAME\":\"Peterborough\",\"NAMEASCII\":\"Peterborough\",\"POP_MAX\":83627,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.8499781,43.8799947],\"properties\":{\"NAME\":\"Oshawa\",\"NAMEASCII\":\"Oshawa\",\"POP_MAX\":450963,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.2499866,42.9699986],\"properties\":{\"NAME\":\"London\",\"NAMEASCII\":\"London\",\"POP_MAX\":346765,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.5000066,43.4499951],\"properties\":{\"NAME\":\"Kitchener\",\"NAMEASCII\":\"Kitchener\",\"POP_MAX\":417001,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.6666466,47.5000063],\"properties\":{\"NAME\":\"New Liskeard\",\"NAMEASCII\":\"New Liskeard\",\"POP_MAX\":5203,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-75.6953127,44.5892796],\"properties\":{\"NAME\":\"Brockville\",\"NAMEASCII\":\"Brockville\",\"POP_MAX\":26458,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-89.8832839,52.9499837],\"properties\":{\"NAME\":\"Big Beaver House\",\"NAMEASCII\":\"Big Beaver House\",\"POP_MAX\":10,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.347995,49.8225777],\"properties\":{\"NAME\":\"Port-Menier\",\"NAMEASCII\":\"Port-Menier\",\"POP_MAX\":263,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-69.5333116,47.8332935],\"properties\":{\"NAME\":\"Rivière-du-Loup\",\"NAMEASCII\":\"Riviere-du-Loup\",\"POP_MAX\":16403,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-72.4833641,45.883335],\"properties\":{\"NAME\":\"Drummondville\",\"NAMEASCII\":\"Drummondville\",\"POP_MAX\":59489,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-71.8999889,45.4000053],\"properties\":{\"NAME\":\"Sherbrooke\",\"NAMEASCII\":\"Sherbrooke\",\"POP_MAX\":139652,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.6833047,49.0999603],\"properties\":{\"NAME\":\"Cap-Chat\",\"NAMEASCII\":\"Cap-Chat\",\"POP_MAX\":1484,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-68.157995,49.222666],\"properties\":{\"NAME\":\"Baie-Comeau\",\"NAMEASCII\":\"Baie-Comeau\",\"POP_MAX\":10435,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-61.8106564,50.1913408],\"properties\":{\"NAME\":\"Natashquan\",\"NAMEASCII\":\"Natashquan\",\"POP_MAX\":722,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.5166909,52.233335],\"properties\":{\"NAME\":\"Eastmain\",\"NAMEASCII\":\"Eastmain\",\"POP_MAX\":335,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.8166557,54.8],\"properties\":{\"NAME\":\"Schefferville\",\"NAMEASCII\":\"Schefferville\",\"POP_MAX\":471,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-75.659501,62.1825985],\"properties\":{\"NAME\":\"Salluit\",\"NAMEASCII\":\"Salluit\",\"POP_MAX\":106,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.1166637,48.5666337],\"properties\":{\"NAME\":\"Amos\",\"NAMEASCII\":\"Amos\",\"POP_MAX\":10516,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-73.4333061,46.0333258],\"properties\":{\"NAME\":\"Joliette\",\"NAMEASCII\":\"Joliette\",\"POP_MAX\":45361,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-73.9999899,45.7666496],\"properties\":{\"NAME\":\"St.-Jerome\",\"NAMEASCII\":\"St.-Jerome\",\"POP_MAX\":78439,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-58.6469994,51.2423102],\"properties\":{\"NAME\":\"St-Augustin\",\"NAMEASCII\":\"St-Augustin\",\"POP_MAX\":3961,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.0332485,48.2500122],\"properties\":{\"NAME\":\"Rouyn-Noranda\",\"NAMEASCII\":\"Rouyn-Noranda\",\"POP_MAX\":24602,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.2000342,48.8000045],\"properties\":{\"NAME\":\"La Sarre\",\"NAMEASCII\":\"La Sarre\",\"POP_MAX\":7206,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-62.6333193,45.5832758],\"properties\":{\"NAME\":\"New Glasgow\",\"NAMEASCII\":\"New Glasgow\",\"POP_MAX\":20322,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.7200137,44.0399591],\"properties\":{\"NAME\":\"Liverpool\",\"NAMEASCII\":\"Liverpool\",\"POP_MAX\":4331,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.2165819,45.816569],\"properties\":{\"NAME\":\"Amherst\",\"NAMEASCII\":\"Amherst\",\"POP_MAX\":9336,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-60.7539767,46.0999884],\"properties\":{\"NAME\":\"Baddeck\",\"NAMEASCII\":\"Baddeck\",\"POP_MAX\":852,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-57.4269188,49.1744002],\"properties\":{\"NAME\":\"Deer Lake\",\"NAMEASCII\":\"Deer Lake\",\"POP_MAX\":4163,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-55.5830003,49.9670134],\"properties\":{\"NAME\":\"La Scie\",\"NAMEASCII\":\"La Scie\",\"POP_MAX\":817,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-60.216671,55.4499603],\"properties\":{\"NAME\":\"Hopedale\",\"NAMEASCII\":\"Hopedale\",\"POP_MAX\":442,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-60.2999992,53.2999882],\"properties\":{\"NAME\":\"Happy Valley - Goose Bay\",\"NAMEASCII\":\"Happy Valley - Goose Bay\",\"POP_MAX\":7572,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-56.3000108,52.5332908],\"properties\":{\"NAME\":\"Port Hope Simpson\",\"NAMEASCII\":\"Port Hope Simpson\",\"POP_MAX\":197,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[20.9200044,44.0199603],\"properties\":{\"NAME\":\"Kragujevac\",\"NAMEASCII\":\"Kragujevac\",\"POP_MAX\":171197,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[20.3994677,45.3786371],\"properties\":{\"NAME\":\"Zrenjanin\",\"NAMEASCII\":\"Zrenjanin\",\"POP_MAX\":64053,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[-72.2196012862378,-51.58929026169316],\"properties\":{\"NAME\":\"28 de Noviembre\",\"NAMEASCII\":\"28 de Noviembre\",\"POP_MAX\":5300,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.250012,-48.7665983],\"properties\":{\"NAME\":\"Gobernador Gregores\",\"NAMEASCII\":\"Gobernador Gregores\",\"POP_MAX\":2519,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.9034727,-49.9745486],\"properties\":{\"NAME\":\"Comondante Luis Piedrabuena\",\"NAMEASCII\":\"Comondante Luis Piedrabuena\",\"POP_MAX\":410,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.2665743,-45.6833756],\"properties\":{\"NAME\":\"Paso Río Mayo\",\"NAMEASCII\":\"Paso Rio Mayo\",\"POP_MAX\":1825,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.8332839,-45.0332861],\"properties\":{\"NAME\":\"Alto Rio Sanguer\",\"NAMEASCII\":\"Alto Rio Sanguer\",\"POP_MAX\":1548,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-71.1666228,-42.0500057],\"properties\":{\"NAME\":\"El Maitén\",\"NAMEASCII\":\"El Maiten\",\"POP_MAX\":4269,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.04002,-42.7700134],\"properties\":{\"NAME\":\"Puerto Madryn\",\"NAMEASCII\":\"Puerto Madryn\",\"POP_MAX\":64555,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.3299506,-43.2500358],\"properties\":{\"NAME\":\"Trelew\",\"NAMEASCII\":\"Trelew\",\"POP_MAX\":93442,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.8016767,-32.825039],\"properties\":{\"NAME\":\"Las Heras\",\"NAMEASCII\":\"Las Heras\",\"POP_MAX\":66663,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.4900161,-33.0699853],\"properties\":{\"NAME\":\"San Martín\",\"NAMEASCII\":\"San Martin\",\"POP_MAX\":117399,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.3459845,-32.5931152],\"properties\":{\"NAME\":\"Uspallata\",\"NAMEASCII\":\"Uspallata\",\"POP_MAX\":2390,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.240022,-38.9400146],\"properties\":{\"NAME\":\"Cutral Có\",\"NAMEASCII\":\"Cutral Co\",\"POP_MAX\":47814,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.8399712,-17.5500024],\"properties\":{\"NAME\":\"Punata\",\"NAMEASCII\":\"Punata\",\"POP_MAX\":26323,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.9299915,-17.59],\"properties\":{\"NAME\":\"Cliza\",\"NAMEASCII\":\"Cliza\",\"POP_MAX\":15816,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.279996,-17.3999857],\"properties\":{\"NAME\":\"Quillacollo\",\"NAMEASCII\":\"Quillacollo\",\"POP_MAX\":227052,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.78001,-16.8700439],\"properties\":{\"NAME\":\"Puerto Villarroel\",\"NAMEASCII\":\"Puerto Villarroel\",\"POP_MAX\":1778,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.9199498,-19.1800321],\"properties\":{\"NAME\":\"Tarabuco\",\"NAMEASCII\":\"Tarabuco\",\"POP_MAX\":2428,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.4099974,-10.8299992],\"properties\":{\"NAME\":\"Guayaramerín\",\"NAMEASCII\":\"Guayaramerin\",\"POP_MAX\":36008,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.5799612,-13.7600012],\"properties\":{\"NAME\":\"Santa Ana\",\"NAMEASCII\":\"Santa Ana\",\"POP_MAX\":234478,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.5800574,-13.5800122],\"properties\":{\"NAME\":\"Baures\",\"NAMEASCII\":\"Baures\",\"POP_MAX\":2422,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-49.1099846,-17.7300431],\"properties\":{\"NAME\":\"Morrinhos\",\"NAMEASCII\":\"Morrinhos\",\"POP_MAX\":34143,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.6051998,-15.3033179],\"properties\":{\"NAME\":\"Ceres\",\"NAMEASCII\":\"Ceres\",\"POP_MAX\":18759,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.9500037,-18.1800415],\"properties\":{\"NAME\":\"Catalão\",\"NAMEASCII\":\"Catalao\",\"POP_MAX\":63544,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.6100245,-16.7699984],\"properties\":{\"NAME\":\"Cristalina\",\"NAMEASCII\":\"Cristalina\",\"POP_MAX\":36531,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.4999866,-16.6500057],\"properties\":{\"NAME\":\"Trindade\",\"NAMEASCII\":\"Trindade\",\"POP_MAX\":97521,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1299905,-16.4500179],\"properties\":{\"NAME\":\"Iporá\",\"NAMEASCII\":\"Ipora\",\"POP_MAX\":28254,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.4999866,-16.3599975],\"properties\":{\"NAME\":\"Inhumas\",\"NAMEASCII\":\"Inhumas\",\"POP_MAX\":44058,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.8099677,-16.0199666],\"properties\":{\"NAME\":\"Itaberaí\",\"NAMEASCII\":\"Itaberai\",\"POP_MAX\":22129,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-62.0799681,-38.8799666],\"properties\":{\"NAME\":\"Punta Alta\",\"NAMEASCII\":\"Punta Alta\",\"POP_MAX\":57209,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.2400029,-33.3300211],\"properties\":{\"NAME\":\"San Nicolas\",\"NAMEASCII\":\"San Nicolas\",\"POP_MAX\":127742,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.9599777,-34.1599963],\"properties\":{\"NAME\":\"Campana\",\"NAMEASCII\":\"Campana\",\"POP_MAX\":81612,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.4899876,-34.6500439],\"properties\":{\"NAME\":\"Chacabuco\",\"NAMEASCII\":\"Chacabuco\",\"POP_MAX\":34587,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.4400259,-34.6600175],\"properties\":{\"NAME\":\"Mercedes\",\"NAMEASCII\":\"Mercedes\",\"POP_MAX\":52949,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.5399494,-34.880004],\"properties\":{\"NAME\":\"Lincoln\",\"NAMEASCII\":\"Lincoln\",\"POP_MAX\":24798,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.0399893,-34.8999512],\"properties\":{\"NAME\":\"Chivilcoy\",\"NAMEASCII\":\"Chivilcoy\",\"POP_MAX\":54514,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.1799807,-35.4299963],\"properties\":{\"NAME\":\"Veinticinco de Mayo\",\"NAMEASCII\":\"Veinticinco de Mayo\",\"POP_MAX\":24668,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.8899891,-35.4459643],\"properties\":{\"NAME\":\"Nueve de Julio\",\"NAMEASCII\":\"Nueve de Julio\",\"POP_MAX\":34718,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-57.6899777,-36.3300447],\"properties\":{\"NAME\":\"Dolores\",\"NAMEASCII\":\"Dolores\",\"POP_MAX\":25190,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.6833163,-39.4833406],\"properties\":{\"NAME\":\"Pedro Luro\",\"NAMEASCII\":\"Pedro Luro\",\"POP_MAX\":7100,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.2699494,-38.3699719],\"properties\":{\"NAME\":\"Tres Arroyos\",\"NAMEASCII\":\"Tres Arroyos\",\"POP_MAX\":47136,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.9166189,-37.4666162],\"properties\":{\"NAME\":\"Coronel Suárez\",\"NAMEASCII\":\"Coronel Suarez\",\"POP_MAX\":27000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.2499952,-37.8333122],\"properties\":{\"NAME\":\"Balcarce\",\"NAMEASCII\":\"Balcarce\",\"POP_MAX\":18967,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.6832953,-37.8000325],\"properties\":{\"NAME\":\"25 de Mayo\",\"NAMEASCII\":\"25 de Mayo\",\"POP_MAX\":17430,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.6099665,-39.0199581],\"properties\":{\"NAME\":\"General Roca\",\"NAMEASCII\":\"General Roca\",\"POP_MAX\":73212,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.2665743,-41.0333235],\"properties\":{\"NAME\":\"Comallo\",\"NAMEASCII\":\"Comallo\",\"POP_MAX\":741,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.5833086,-41.3000256],\"properties\":{\"NAME\":\"Ingeniero Jacobacci\",\"NAMEASCII\":\"Ingeniero Jacobacci\",\"POP_MAX\":5719,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.433287,-40.1000472],\"properties\":{\"NAME\":\"General Conesa\",\"NAMEASCII\":\"General Conesa\",\"POP_MAX\":2958,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.683314,-39.2666097],\"properties\":{\"NAME\":\"Choele Choel\",\"NAMEASCII\":\"Choele Choel\",\"POP_MAX\":10000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.0899675,-31.4300338],\"properties\":{\"NAME\":\"San Francisco\",\"NAMEASCII\":\"San Francisco\",\"POP_MAX\":59062,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.4299797,-31.6599939],\"properties\":{\"NAME\":\"Alta Gracia\",\"NAMEASCII\":\"Alta Gracia\",\"POP_MAX\":40384,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-63.2600253,-32.4100256],\"properties\":{\"NAME\":\"Villa María\",\"NAMEASCII\":\"Villa Maria\",\"POP_MAX\":92453,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.6799573,-32.6000399],\"properties\":{\"NAME\":\"Bell Ville\",\"NAMEASCII\":\"Bell Ville\",\"POP_MAX\":35105,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.4832839,-32.1833211],\"properties\":{\"NAME\":\"Villa Rumipal\",\"NAMEASCII\":\"Villa Rumipal\",\"POP_MAX\":1269,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.5000013,-31.4200085],\"properties\":{\"NAME\":\"Villa Carlos Paz\",\"NAMEASCII\":\"Villa Carlos Paz\",\"POP_MAX\":69451,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.2333063,-28.8666243],\"properties\":{\"NAME\":\"Chumbicha\",\"NAMEASCII\":\"Chumbicha\",\"POP_MAX\":2572,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.5665841,-28.0666215],\"properties\":{\"NAME\":\"Tinogasta\",\"NAMEASCII\":\"Tinogasta\",\"POP_MAX\":587,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.6999797,-22.7166638],\"properties\":{\"NAME\":\"Abra Pampa\",\"NAMEASCII\":\"Abra Pampa\",\"POP_MAX\":4480,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.3499494,-23.1999935],\"properties\":{\"NAME\":\"Humahuaca\",\"NAMEASCII\":\"Humahuaca\",\"POP_MAX\":11369,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.4833169,-23.4166728],\"properties\":{\"NAME\":\"Susques\",\"NAMEASCII\":\"Susques\",\"POP_MAX\":1093,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.5999506,-31.349987],\"properties\":{\"NAME\":\"Chepes\",\"NAMEASCII\":\"Chepes\",\"POP_MAX\":6020,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-63.6999984,-22.030039],\"properties\":{\"NAME\":\"Yacuíba\",\"NAMEASCII\":\"Yacuiba\",\"POP_MAX\":82803,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-63.8100175,-22.5500073],\"properties\":{\"NAME\":\"Tartagal\",\"NAMEASCII\":\"Tartagal\",\"POP_MAX\":60819,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.1833539,-25.083341],\"properties\":{\"NAME\":\"Joaquín V. González\",\"NAMEASCII\":\"Joaquin V. Gonzalez\",\"POP_MAX\":13376,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.0499677,-24.6666223],\"properties\":{\"NAME\":\"General Guemes\",\"NAMEASCII\":\"General Guemes\",\"POP_MAX\":19828,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.2833126,-26.2166569],\"properties\":{\"NAME\":\"Trancas\",\"NAMEASCII\":\"Trancas\",\"POP_MAX\":1599,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.4500159,-26.7900069],\"properties\":{\"NAME\":\"Presidencia Roque Saenz Pena\",\"NAMEASCII\":\"Presidencia Roque Saenz Pena\",\"POP_MAX\":81879,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.1665872,-26.5165869],\"properties\":{\"NAME\":\"Pampa del Infierno\",\"NAMEASCII\":\"Pampa del Infierno\",\"POP_MAX\":2921,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.7166663,-27.5832918],\"properties\":{\"NAME\":\"Villa Ángela\",\"NAMEASCII\":\"Villa Angela\",\"POP_MAX\":30051,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.8499821,-23.9000024],\"properties\":{\"NAME\":\"Ingeniero Guillermo N. Juarez\",\"NAMEASCII\":\"Ingeniero Guillermo N. Juarez\",\"POP_MAX\":6453,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.6833185,-25.3332999],\"properties\":{\"NAME\":\"Comandante Fontana\",\"NAMEASCII\":\"Comandante Fontana\",\"POP_MAX\":4277,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.2999805,-22.4799857],\"properties\":{\"NAME\":\"Doctor Pedro P. Peña\",\"NAMEASCII\":\"Doctor Pedro P. Pena\",\"POP_MAX\":6143,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.7699893,-28.1200032],\"properties\":{\"NAME\":\"San Lorenzo\",\"NAMEASCII\":\"San Lorenzo\",\"POP_MAX\":47626,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.8099868,-27.4899642],\"properties\":{\"NAME\":\"Corrientes\",\"NAMEASCII\":\"Corrientes\",\"POP_MAX\":340823,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.2399958,-32.4799955],\"properties\":{\"NAME\":\"Concepción del Uruguay\",\"NAMEASCII\":\"Concepcion del Uruguay\",\"POP_MAX\":67895,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.1799807,-32.6100134],\"properties\":{\"NAME\":\"Victoria\",\"NAMEASCII\":\"Victoria\",\"POP_MAX\":25139,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.3400061,-33.1500321],\"properties\":{\"NAME\":\"Gualeguay\",\"NAMEASCII\":\"Gualeguay\",\"POP_MAX\":33120,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.5333442,-31.7333227],\"properties\":{\"NAME\":\"Paraná\",\"NAMEASCII\":\"Parana\",\"POP_MAX\":262295,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.350022,-33.2300272],\"properties\":{\"NAME\":\"Villa Constitución\",\"NAMEASCII\":\"Villa Constitucion\",\"POP_MAX\":44271,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.4999777,-31.2500447],\"properties\":{\"NAME\":\"Rafaela\",\"NAMEASCII\":\"Rafaela\",\"POP_MAX\":88713,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-46.5278166,-23.652834],\"properties\":{\"NAME\":\"Santo André\",\"NAMEASCII\":\"Santo Andre\",\"POP_MAX\":662373,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.4700259,-22.9199589],\"properties\":{\"NAME\":\"Pindamonhangaba\",\"NAMEASCII\":\"Pindamonhangaba\",\"POP_MAX\":132218,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.5600275,-22.4099642],\"properties\":{\"NAME\":\"Rio Claro\",\"NAMEASCII\":\"Rio Claro\",\"POP_MAX\":180147,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.8699899,-22.9700333],\"properties\":{\"NAME\":\"Ourinhos\",\"NAMEASCII\":\"Ourinhos\",\"POP_MAX\":97799,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.8000222,-24.1799853],\"properties\":{\"NAME\":\"Itanhaem\",\"NAMEASCII\":\"Itanhaem\",\"POP_MAX\":90385,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.3299805,-21.250035],\"properties\":{\"NAME\":\"Jaboticabal\",\"NAMEASCII\":\"Jaboticabal\",\"POP_MAX\":69394,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.533394222774504,-22.95271585179288],\"properties\":{\"NAME\":\"Bragança Paulista\",\"NAMEASCII\":\"Braganca Paulista\",\"POP_MAX\":127676,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.8799915,-23.1999935],\"properties\":{\"NAME\":\"Jundiaí\",\"NAMEASCII\":\"Jundiai\",\"POP_MAX\":505548,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.8799492,-23.1999935],\"properties\":{\"NAME\":\"São José dos Campos\",\"NAMEASCII\":\"Sao Jose dos Campos\",\"POP_MAX\":753769,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.1899913,-22.819965],\"properties\":{\"NAME\":\"Guaratinguetá\",\"NAMEASCII\":\"Guaratingueta\",\"POP_MAX\":203580,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.4299838,-21.9900415],\"properties\":{\"NAME\":\"Pirassununga\",\"NAMEASCII\":\"Pirassununga\",\"POP_MAX\":60413,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.3299899,-22.7499434],\"properties\":{\"NAME\":\"Americana\",\"NAMEASCII\":\"Americana\",\"POP_MAX\":479472,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.64112678259259,-22.729659119766186],\"properties\":{\"NAME\":\"Piracicaba\",\"NAMEASCII\":\"Piracicaba\",\"POP_MAX\":342209,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.789997,-21.9800163],\"properties\":{\"NAME\":\"São João da Boa Vista\",\"NAMEASCII\":\"Sao Joao da Boa Vista\",\"POP_MAX\":76540,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.8899815,-22.0200138],\"properties\":{\"NAME\":\"São Carlos\",\"NAMEASCII\":\"Sao Carlos\",\"POP_MAX\":205035,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.5199502,-21.9299935],\"properties\":{\"NAME\":\"Tupã\",\"NAMEASCII\":\"Tupa\",\"POP_MAX\":62035,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.0800029,-21.4100252],\"properties\":{\"NAME\":\"Penápolis\",\"NAMEASCII\":\"Penapolis\",\"POP_MAX\":54477,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.3900004,-22.1200077],\"properties\":{\"NAME\":\"Presidente Prudente\",\"NAMEASCII\":\"Presidente Prudente\",\"POP_MAX\":209502,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.8399846,-24.4900439],\"properties\":{\"NAME\":\"Registro\",\"NAMEASCII\":\"Registro\",\"POP_MAX\":53273,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.8600092,-23.3500102],\"properties\":{\"NAME\":\"Tatuí\",\"NAMEASCII\":\"Tatui\",\"POP_MAX\":93580,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.9300214,-23.1100248],\"properties\":{\"NAME\":\"Avaré\",\"NAMEASCII\":\"Avare\",\"POP_MAX\":81285,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.6599768,-22.2200016],\"properties\":{\"NAME\":\"Garça\",\"NAMEASCII\":\"Garca\",\"POP_MAX\":41302,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.9799667,-21.1400159],\"properties\":{\"NAME\":\"Catanduva\",\"NAMEASCII\":\"Catanduva\",\"POP_MAX\":109612,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.5899998,-20.8900053],\"properties\":{\"NAME\":\"Batatais\",\"NAMEASCII\":\"Batatais\",\"POP_MAX\":51976,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.5800169,-20.550026],\"properties\":{\"NAME\":\"Barretos\",\"NAMEASCII\":\"Barretos\",\"POP_MAX\":101220,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.9500108,-22.2100281],\"properties\":{\"NAME\":\"Marília\",\"NAMEASCII\":\"Marilia\",\"POP_MAX\":212218,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.3000175,-23.2600415],\"properties\":{\"NAME\":\"Itu\",\"NAMEASCII\":\"Itu\",\"POP_MAX\":320170,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.0399982,-23.5899955],\"properties\":{\"NAME\":\"Itapetininga\",\"NAMEASCII\":\"Itapetininga\",\"POP_MAX\":126243,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.5999854,-26.2000171],\"properties\":{\"NAME\":\"Eldorado\",\"NAMEASCII\":\"Eldorado\",\"POP_MAX\":17365,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-35.0200436,-8.1100102],\"properties\":{\"NAME\":\"Jaboatao\",\"NAMEASCII\":\"Jaboatao\",\"POP_MAX\":702621,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-34.8499506,-7.999991],\"properties\":{\"NAME\":\"Olinda\",\"NAMEASCII\":\"Olinda\",\"POP_MAX\":921840,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.0299913,-8.2899992],\"properties\":{\"NAME\":\"Cabo de Santo Agostinho\",\"NAMEASCII\":\"Cabo de Santo Agostinho\",\"POP_MAX\":146219,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.253891424730845,-7.847458309128425],\"properties\":{\"NAME\":\"Carpina\",\"NAMEASCII\":\"Carpina\",\"POP_MAX\":165579,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.069996,-8.4200171],\"properties\":{\"NAME\":\"Arcoverde\",\"NAMEASCII\":\"Arcoverde\",\"POP_MAX\":57163,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-88.2200004,16.9700352],\"properties\":{\"NAME\":\"Dangriga\",\"NAMEASCII\":\"Dangriga\",\"POP_MAX\":10750,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[19.4982308,40.47736],\"properties\":{\"NAME\":\"Vlorë\",\"NAMEASCII\":\"Vlore\",\"POP_MAX\":89546,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[20.0838281,41.1215068],\"properties\":{\"NAME\":\"Elbasan\",\"NAMEASCII\":\"Elbasan\",\"POP_MAX\":165010,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[43.8474939,40.789434],\"properties\":{\"NAME\":\"Gyumri\",\"NAMEASCII\":\"Gyumri\",\"POP_MAX\":148381,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[3.7000219,51.0299976],\"properties\":{\"NAME\":\"Gent\",\"NAMEASCII\":\"Gent\",\"POP_MAX\":444336,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[44.4882816,40.8127659],\"properties\":{\"NAME\":\"Vanadzor\",\"NAMEASCII\":\"Vanadzor\",\"POP_MAX\":101098,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[46.3500284,40.684996],\"properties\":{\"NAME\":\"Ganca\",\"NAMEASCII\":\"Ganca\",\"POP_MAX\":303268,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[47.1500313,40.6171965],\"properties\":{\"NAME\":\"Yevlax\",\"NAMEASCII\":\"Yevlax\",\"POP_MAX\":53716,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[49.6299833,40.5800153],\"properties\":{\"NAME\":\"Sumqayt\",\"NAMEASCII\":\"Sumqayt\",\"POP_MAX\":279159,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[62.5917761,34.4867696],\"properties\":{\"NAME\":\"Karokh\",\"NAMEASCII\":\"Karokh\",\"POP_MAX\":17484,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[65.7383024,36.6579808],\"properties\":{\"NAME\":\"Sheberghan\",\"NAMEASCII\":\"Sheberghan\",\"POP_MAX\":93241,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.7011189,35.951073],\"properties\":{\"NAME\":\"Pol-e Khomri\",\"NAMEASCII\":\"Pol-e Khomri\",\"POP_MAX\":56369,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[89.9200305,24.2499785],\"properties\":{\"NAME\":\"Tangail\",\"NAMEASCII\":\"Tangail\",\"POP_MAX\":180144,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[-67.729985,-17.3300158],\"properties\":{\"NAME\":\"Sica Sica\",\"NAMEASCII\":\"Sica Sica\",\"POP_MAX\":1006,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-67.5599954,-14.4600102],\"properties\":{\"NAME\":\"Rurrenabaque\",\"NAMEASCII\":\"Rurrenabaque\",\"POP_MAX\":11749,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.6600574,-15.7900065],\"properties\":{\"NAME\":\"Sorata\",\"NAMEASCII\":\"Sorata\",\"POP_MAX\":2190,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.6665686,-16.0833219],\"properties\":{\"NAME\":\"Achacachi\",\"NAMEASCII\":\"Achacachi\",\"POP_MAX\":8447,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.2999502,-16.6500057],\"properties\":{\"NAME\":\"Viacha\",\"NAMEASCII\":\"Viacha\",\"POP_MAX\":34776,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-67.2200161,-16.9800114],\"properties\":{\"NAME\":\"Quime\",\"NAMEASCII\":\"Quime\",\"POP_MAX\":4045,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.6399998,-18.4200268],\"properties\":{\"NAME\":\"Llallagua\",\"NAMEASCII\":\"Llallagua\",\"POP_MAX\":28069,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.5700299,-18.4699979],\"properties\":{\"NAME\":\"Uncia\",\"NAMEASCII\":\"Uncia\",\"POP_MAX\":4723,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.8299882,-20.4600057],\"properties\":{\"NAME\":\"Uyuni\",\"NAMEASCII\":\"Uyuni\",\"POP_MAX\":12939,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-67.7833409,-20.7665503],\"properties\":{\"NAME\":\"Villa Martin\",\"NAMEASCII\":\"Villa Martin\",\"POP_MAX\":10,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.4500208,-19.5599573],\"properties\":{\"NAME\":\"Betanzos\",\"NAMEASCII\":\"Betanzos\",\"POP_MAX\":4847,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.4000167,-17.3600399],\"properties\":{\"NAME\":\"Portachuelo\",\"NAMEASCII\":\"Portachuelo\",\"POP_MAX\":11485,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.77002,-18.1800415],\"properties\":{\"NAME\":\"Samaipata\",\"NAMEASCII\":\"Samaipata\",\"POP_MAX\":2926,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.529983,-20.4500321],\"properties\":{\"NAME\":\"Cuevo\",\"NAMEASCII\":\"Cuevo\",\"POP_MAX\":953,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.7299966,-17.3999857],\"properties\":{\"NAME\":\"San Carlos\",\"NAMEASCII\":\"San Carlos\",\"POP_MAX\":6353,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.7700106,-21.4799434],\"properties\":{\"NAME\":\"San Lorenzo\",\"NAMEASCII\":\"San Lorenzo\",\"POP_MAX\":3000,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.1899943,-21.5300179],\"properties\":{\"NAME\":\"Entre Ríos\",\"NAMEASCII\":\"Entre Rios\",\"POP_MAX\":2685,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[26.3300101,42.6793703],\"properties\":{\"NAME\":\"Sliven\",\"NAMEASCII\":\"Sliven\",\"POP_MAX\":96368,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[24.7539823,42.1539761],\"properties\":{\"NAME\":\"Plovdiv\",\"NAMEASCII\":\"Plovdiv\",\"POP_MAX\":340494,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[23.0227185,42.6099947],\"properties\":{\"NAME\":\"Pernik\",\"NAMEASCII\":\"Pernik\",\"POP_MAX\":82467,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[23.5625305,43.2099839],\"properties\":{\"NAME\":\"Vratsa\",\"NAMEASCII\":\"Vratsa\",\"POP_MAX\":71633,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[26.9293534,43.2700061],\"properties\":{\"NAME\":\"Shumen\",\"NAMEASCII\":\"Shumen\",\"POP_MAX\":87283,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[16.2499536,47.8159819],\"properties\":{\"NAME\":\"Wiener Neustadt\",\"NAMEASCII\":\"Wiener Neustadt\",\"POP_MAX\":82762,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[26.0134403,53.1368457],\"properties\":{\"NAME\":\"Baranavichy\",\"NAMEASCII\":\"Baranavichy\",\"POP_MAX\":168772,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[28.7859843,55.4893895],\"properties\":{\"NAME\":\"Polatsk\",\"NAMEASCII\":\"Polatsk\",\"POP_MAX\":82258,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[26.8653263,54.3187891],\"properties\":{\"NAME\":\"Maladzyechna\",\"NAMEASCII\":\"Maladzyechna\",\"POP_MAX\":101300,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[91.8736063,24.9035561],\"properties\":{\"NAME\":\"Sylhet\",\"NAMEASCII\":\"Sylhet\",\"POP_MAX\":237000,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[151.3000048,-33.4200415],\"properties\":{\"NAME\":\"Central Coast\",\"NAMEASCII\":\"Central Coast\",\"POP_MAX\":3026,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.0500272,-26.6799878],\"properties\":{\"NAME\":\"Sunshine Coast\",\"NAMEASCII\":\"Sunshine Coast\",\"POP_MAX\":71043,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[17.9199808,44.219974],\"properties\":{\"NAME\":\"Zenica\",\"NAMEASCII\":\"Zenica\",\"POP_MAX\":164423,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[5.5800105,50.6299962],\"properties\":{\"NAME\":\"Liège\",\"NAMEASCII\":\"Liege\",\"POP_MAX\":749110,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[70.990395,20.7196733],\"properties\":{\"NAME\":\"Diu\",\"NAMEASCII\":\"Diu\",\"POP_MAX\":23779,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[55.0107401,24.976239],\"properties\":{\"NAME\":\"Jabal Ali\",\"NAMEASCII\":\"Jabal Ali\",\"POP_MAX\":80000,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[58.8767621,20.6561533],\"properties\":{\"NAME\":\"Hilf\",\"NAMEASCII\":\"Hilf\",\"POP_MAX\":8500,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[35.0955733,31.5405929],\"properties\":{\"NAME\":\"Al Khalil\",\"NAMEASCII\":\"Al Khalil\",\"POP_MAX\":280321,\"ISO_A2\":\"PS\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[33.9500101,35.1250252],\"properties\":{\"NAME\":\"Famagusta\",\"NAMEASCII\":\"Famagusta\",\"POP_MAX\":42526,\"ISO_A2\":\"-99\",\"SOV_A3\":\"CYN\"}},{\"type\":\"Point\",\"coordinates\":[145.9333333,-30.1],\"properties\":{\"NAME\":\"Bourke\",\"NAMEASCII\":\"Bourke\",\"POP_MAX\":2475,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[-125.8621245,49.0986157],\"properties\":{\"NAME\":\"Tofino\",\"NAMEASCII\":\"Tofino\",\"POP_MAX\":1655,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-5.1120758,56.8164779],\"properties\":{\"NAME\":\"Fort William\",\"NAMEASCII\":\"Fort William\",\"POP_MAX\":9652,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[16.1833333,54.2],\"properties\":{\"NAME\":\"Koszalin\",\"NAMEASCII\":\"Koszalin\",\"POP_MAX\":107450,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[142.7697679,63.4214462],\"properties\":{\"NAME\":\"Oymyakon\",\"NAMEASCII\":\"Oymyakon\",\"POP_MAX\":500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-58.8638641,-62.1738867],\"properties\":{\"NAME\":\"Artigas Base\",\"NAMEASCII\":\"Artigas Base\",\"POP_MAX\":60,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[120.5438889,23.7075],\"properties\":{\"NAME\":\"Douliou\",\"NAMEASCII\":\"Douliou\",\"POP_MAX\":106653,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.2167765,24.9650252],\"properties\":{\"NAME\":\"Zhongli\",\"NAMEASCII\":\"Zhongli\",\"POP_MAX\":1632616,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.7332824,25.1332579],\"properties\":{\"NAME\":\"Keelung\",\"NAMEASCII\":\"Keelung\",\"POP_MAX\":500000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.6833333,23.9166667],\"properties\":{\"NAME\":\"Nantou\",\"NAMEASCII\":\"Nantou\",\"POP_MAX\":165000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.2419444,23.4611111],\"properties\":{\"NAME\":\"Puzi\",\"NAMEASCII\":\"Puzi\",\"POP_MAX\":50000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[-58.2999921,-33.9896191],\"properties\":{\"NAME\":\"Carmelo\",\"NAMEASCII\":\"Carmelo\",\"POP_MAX\":16921,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-57.5999573,-30.2596142],\"properties\":{\"NAME\":\"Bella Unión\",\"NAMEASCII\":\"Bella Union\",\"POP_MAX\":22723,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-58.0299827,-33.2595345],\"properties\":{\"NAME\":\"Mercedes\",\"NAMEASCII\":\"Mercedes\",\"POP_MAX\":42359,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.1799852,-32.3594861],\"properties\":{\"NAME\":\"Melo\",\"NAMEASCII\":\"Melo\",\"POP_MAX\":55494,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-55.5600043,-30.8995752],\"properties\":{\"NAME\":\"Rivera\",\"NAMEASCII\":\"Rivera\",\"POP_MAX\":200000,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.2000098,-33.669587],\"properties\":{\"NAME\":\"Lascano\",\"NAMEASCII\":\"Lascano\",\"POP_MAX\":6976,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-53.8299807,-34.1696081],\"properties\":{\"NAME\":\"Castillos\",\"NAMEASCII\":\"Castillos\",\"POP_MAX\":7686,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-92.5364036,47.5236741],\"properties\":{\"NAME\":\"Virginia\",\"NAMEASCII\":\"Virginia\",\"POP_MAX\":8709,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.6391974,44.0504236],\"properties\":{\"NAME\":\"Winona\",\"NAMEASCII\":\"Winona\",\"POP_MAX\":32897,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.4696894,44.0220532],\"properties\":{\"NAME\":\"Rochester\",\"NAMEASCII\":\"Rochester\",\"POP_MAX\":108511,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.2425104,44.6501028],\"properties\":{\"NAME\":\"Lakeville\",\"NAMEASCII\":\"Lakeville\",\"POP_MAX\":261308,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.8256977,47.9004212],\"properties\":{\"NAME\":\"Ely\",\"NAMEASCII\":\"Ely\",\"POP_MAX\":3731,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.7421934,46.8743081],\"properties\":{\"NAME\":\"Moorhead\",\"NAMEASCII\":\"Moorhead\",\"POP_MAX\":35528,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.1622217,45.5612099],\"properties\":{\"NAME\":\"St. Cloud\",\"NAMEASCII\":\"St. Cloud\",\"POP_MAX\":112794,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.8399844,46.4088843],\"properties\":{\"NAME\":\"Miles City\",\"NAMEASCII\":\"Miles City\",\"POP_MAX\":8615,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.0378325,45.6800916],\"properties\":{\"NAME\":\"Bozeman\",\"NAMEASCII\":\"Bozeman\",\"POP_MAX\":44921,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.6352588,48.1839697],\"properties\":{\"NAME\":\"Glasgow\",\"NAMEASCII\":\"Glasgow\",\"POP_MAX\":3240,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.7888011,46.8839974],\"properties\":{\"NAME\":\"Dickinson\",\"NAMEASCII\":\"Dickinson\",\"POP_MAX\":16399,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.7029782,46.9060116],\"properties\":{\"NAME\":\"Jamestown\",\"NAMEASCII\":\"Jamestown\",\"POP_MAX\":15081,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.6280005,48.1567879],\"properties\":{\"NAME\":\"Williston\",\"NAMEASCII\":\"Williston\",\"POP_MAX\":13564,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-159.36927136302037,21.97555195694877],\"properties\":{\"NAME\":\"Lihue\",\"NAMEASCII\":\"Lihue\",\"POP_MAX\":15536,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-158.0236209,21.5030919],\"properties\":{\"NAME\":\"Wahiawa\",\"NAMEASCII\":\"Wahiawa\",\"POP_MAX\":174766,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-156.5047213,20.8914754],\"properties\":{\"NAME\":\"Wailuku\",\"NAMEASCII\":\"Wailuku\",\"POP_MAX\":52148,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.2969123,42.3226221],\"properties\":{\"NAME\":\"Montpelier\",\"NAMEASCII\":\"Montpelier\",\"POP_MAX\":2997,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.4605693,42.5609538],\"properties\":{\"NAME\":\"Twin Falls\",\"NAMEASCII\":\"Twin Falls\",\"POP_MAX\":47315,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-116.6705378,43.6609642],\"properties\":{\"NAME\":\"Caldwell\",\"NAMEASCII\":\"Caldwell\",\"POP_MAX\":132476,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-113.8949966,45.1756779],\"properties\":{\"NAME\":\"Salmon\",\"NAMEASCII\":\"Salmon\",\"POP_MAX\":3601,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-116.7794458,47.6780833],\"properties\":{\"NAME\":\"Coeur d'Alene\",\"NAMEASCII\":\"Coeur d'Alene\",\"POP_MAX\":34514,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.2911013,46.2918113],\"properties\":{\"NAME\":\"Richland\",\"NAMEASCII\":\"Richland\",\"POP_MAX\":44869,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.4869269,48.7601361],\"properties\":{\"NAME\":\"Bellingham\",\"NAMEASCII\":\"Bellingham\",\"POP_MAX\":99662,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.9369511,46.1387199],\"properties\":{\"NAME\":\"Longview\",\"NAMEASCII\":\"Longview\",\"POP_MAX\":66231,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.3418828,46.0651585],\"properties\":{\"NAME\":\"Walla Walla\",\"NAMEASCII\":\"Walla Walla\",\"POP_MAX\":45150,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.8143911,46.9748963],\"properties\":{\"NAME\":\"Aberdeen\",\"NAMEASCII\":\"Aberdeen\",\"POP_MAX\":32745,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.6420175,47.5735955],\"properties\":{\"NAME\":\"Bremerton\",\"NAMEASCII\":\"Bremerton\",\"POP_MAX\":126820,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.1999677,47.9604175],\"properties\":{\"NAME\":\"Everett\",\"NAMEASCII\":\"Everett\",\"POP_MAX\":486903,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.5674878,35.1481763],\"properties\":{\"NAME\":\"Bullhead City\",\"NAMEASCII\":\"Bullhead City\",\"POP_MAX\":37989,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-110.696815,35.0236103],\"properties\":{\"NAME\":\"Winslow\",\"NAMEASCII\":\"Winslow\",\"POP_MAX\":9931,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.7246546,32.9503776],\"properties\":{\"NAME\":\"Gila Bend\",\"NAMEASCII\":\"Gila Bend\",\"POP_MAX\":2088,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-110.066884,31.7131405],\"properties\":{\"NAME\":\"Tombstone\",\"NAMEASCII\":\"Tombstone\",\"POP_MAX\":1570,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.8313945,32.2532109],\"properties\":{\"NAME\":\"Willcox\",\"NAMEASCII\":\"Willcox\",\"POP_MAX\":5146,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.92541842334307,33.48853732982781],\"properties\":{\"NAME\":\"Scottsdale\",\"NAMEASCII\":\"Scottsdale\",\"POP_MAX\":15401,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.0522221,35.1898792],\"properties\":{\"NAME\":\"Kingman\",\"NAMEASCII\":\"Kingman\",\"POP_MAX\":42182,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.1385922,36.0547876],\"properties\":{\"NAME\":\"Grand Canyon\",\"NAMEASCII\":\"Grand Canyon\",\"POP_MAX\":1550,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-124.08275707642163,40.86270620639123],\"properties\":{\"NAME\":\"Arcata\",\"NAMEASCII\":\"Arcata\",\"POP_MAX\":20905,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.289739,37.958134],\"properties\":{\"NAME\":\"Stockton\",\"NAMEASCII\":\"Stockton\",\"POP_MAX\":685306,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.0218858,34.8990184],\"properties\":{\"NAME\":\"Barstow\",\"NAMEASCII\":\"Barstow\",\"POP_MAX\":21119,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.2903191,34.5365082],\"properties\":{\"NAME\":\"Victorville\",\"NAMEASCII\":\"Victorville\",\"POP_MAX\":83496,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.1388719,34.1603813],\"properties\":{\"NAME\":\"Pasadena\",\"NAMEASCII\":\"Pasadena\",\"POP_MAX\":144618,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.3160094,36.3250295],\"properties\":{\"NAME\":\"Visalia\",\"NAMEASCII\":\"Visalia\",\"POP_MAX\":121968,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-115.5580475,32.7923769],\"properties\":{\"NAME\":\"El Centro\",\"NAMEASCII\":\"El Centro\",\"POP_MAX\":45000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.6585889,35.283181],\"properties\":{\"NAME\":\"San Luis Obispo\",\"NAMEASCII\":\"San Luis Obispo\",\"POP_MAX\":65386,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.481933,37.3026184],\"properties\":{\"NAME\":\"Merced\",\"NAMEASCII\":\"Merced\",\"POP_MAX\":96091,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.6157656,39.1410333],\"properties\":{\"NAME\":\"Yuba City\",\"NAMEASCII\":\"Yuba City\",\"POP_MAX\":116217,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.3905762,40.5870433],\"properties\":{\"NAME\":\"Redding\",\"NAMEASCII\":\"Redding\",\"POP_MAX\":96058,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.6999889,38.4504037],\"properties\":{\"NAME\":\"Santa Rosa\",\"NAMEASCII\":\"Santa Rosa\",\"POP_MAX\":231792,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.34581123442152,33.191499041848665],\"properties\":{\"NAME\":\"Oceanside\",\"NAMEASCII\":\"Oceanside\",\"POP_MAX\":609854,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.9899899,37.6554134],\"properties\":{\"NAME\":\"Modesto\",\"NAMEASCII\":\"Modesto\",\"POP_MAX\":323386,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.8299502,33.6804106],\"properties\":{\"NAME\":\"Irvine\",\"NAMEASCII\":\"Irvine\",\"POP_MAX\":3010232,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.2108621,39.1542367],\"properties\":{\"NAME\":\"Ukiah\",\"NAMEASCII\":\"Ukiah\",\"POP_MAX\":27828,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.6133507,34.8484271],\"properties\":{\"NAME\":\"Needles\",\"NAMEASCII\":\"Needles\",\"POP_MAX\":6974,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.394076,37.3639584],\"properties\":{\"NAME\":\"Bishop\",\"NAMEASCII\":\"Bishop\",\"POP_MAX\":4827,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-116.5330526,33.7773556],\"properties\":{\"NAME\":\"Palm Springs\",\"NAMEASCII\":\"Palm Springs\",\"POP_MAX\":390115,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.4366386,34.940127],\"properties\":{\"NAME\":\"Santa Maria\",\"NAMEASCII\":\"Santa Maria\",\"POP_MAX\":110705,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.3441213,36.2070264],\"properties\":{\"NAME\":\"Tulare\",\"NAMEASCII\":\"Tulare\",\"POP_MAX\":55908,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.3093925,41.3103583],\"properties\":{\"NAME\":\"Mt. Shasta\",\"NAMEASCII\":\"Mt. Shasta\",\"POP_MAX\":3855,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-124.2004916,41.7564551],\"properties\":{\"NAME\":\"Crescent City\",\"NAMEASCII\":\"Crescent City\",\"POP_MAX\":11534,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.0588693,40.5606883],\"properties\":{\"NAME\":\"Fort Collins\",\"NAMEASCII\":\"Fort Collins\",\"POP_MAX\":228385,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.6300066,38.2803882],\"properties\":{\"NAME\":\"Pueblo\",\"NAMEASCII\":\"Pueblo\",\"POP_MAX\":112195,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.6194058,38.0864982],\"properties\":{\"NAME\":\"Lamar\",\"NAMEASCII\":\"Lamar\",\"POP_MAX\":8620,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.5063965,37.1713345],\"properties\":{\"NAME\":\"Trinidad\",\"NAMEASCII\":\"Trinidad\",\"POP_MAX\":9156,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.92829,38.5447648],\"properties\":{\"NAME\":\"Gunnison\",\"NAMEASCII\":\"Gunnison\",\"POP_MAX\":7324,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.8799891,37.2756433],\"properties\":{\"NAME\":\"Durango\",\"NAMEASCII\":\"Durango\",\"POP_MAX\":23233,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.8655197,38.4772754],\"properties\":{\"NAME\":\"Montrose\",\"NAMEASCII\":\"Montrose\",\"POP_MAX\":21789,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.5503968,40.5172801],\"properties\":{\"NAME\":\"Craig\",\"NAMEASCII\":\"Craig\",\"POP_MAX\":9391,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.2445424213015,40.00813654886576],\"properties\":{\"NAME\":\"Boulder\",\"NAMEASCII\":\"Boulder\",\"POP_MAX\":122274,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.8315802,35.9789525],\"properties\":{\"NAME\":\"Boulder City\",\"NAMEASCII\":\"Boulder City\",\"POP_MAX\":15479,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.7346847,40.9733763],\"properties\":{\"NAME\":\"Winnemucca\",\"NAMEASCII\":\"Winnemucca\",\"POP_MAX\":9666,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.5224679,33.3945366],\"properties\":{\"NAME\":\"Roswell\",\"NAMEASCII\":\"Roswell\",\"POP_MAX\":46096,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.2047706,34.4050692],\"properties\":{\"NAME\":\"Clovis\",\"NAMEASCII\":\"Clovis\",\"POP_MAX\":33792,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.7778083,32.3126129],\"properties\":{\"NAME\":\"Las Cruces\",\"NAMEASCII\":\"Las Cruces\",\"POP_MAX\":115167,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.1406143,32.7126144],\"properties\":{\"NAME\":\"Hobbs\",\"NAMEASCII\":\"Hobbs\",\"POP_MAX\":28738,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.8989895,34.0621185],\"properties\":{\"NAME\":\"Socorro\",\"NAMEASCII\":\"Socorro\",\"POP_MAX\":8668,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.7339938,35.5240707],\"properties\":{\"NAME\":\"Gallup\",\"NAMEASCII\":\"Gallup\",\"POP_MAX\":23800,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.439889,36.8973977],\"properties\":{\"NAME\":\"Raton\",\"NAMEASCII\":\"Raton\",\"POP_MAX\":7073,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.725514,35.1698029],\"properties\":{\"NAME\":\"Tucumcari\",\"NAMEASCII\":\"Tucumcari\",\"POP_MAX\":5313,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.3560987,43.218433],\"properties\":{\"NAME\":\"Roseburg\",\"NAMEASCII\":\"Roseburg\",\"POP_MAX\":30479,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.7874886,45.6725985],\"properties\":{\"NAME\":\"Pendleton\",\"NAMEASCII\":\"Pendleton\",\"POP_MAX\":16799,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.9520264,44.4165253],\"properties\":{\"NAME\":\"John Day\",\"NAMEASCII\":\"John Day\",\"POP_MAX\":1573,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.3271857,42.43954],\"properties\":{\"NAME\":\"Grants Pass\",\"NAMEASCII\":\"Grants Pass\",\"POP_MAX\":46189,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.2799793,44.5723556],\"properties\":{\"NAME\":\"Corvallis\",\"NAMEASCII\":\"Corvallis\",\"POP_MAX\":59030,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.086942,44.6204922],\"properties\":{\"NAME\":\"Albany\",\"NAMEASCII\":\"Albany\",\"POP_MAX\":51376,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.8299974,46.188381],\"properties\":{\"NAME\":\"Astoria\",\"NAMEASCII\":\"Astoria\",\"POP_MAX\":10011,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.8335979,41.7359396],\"properties\":{\"NAME\":\"Logan\",\"NAMEASCII\":\"Logan\",\"POP_MAX\":72490,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.8272065,37.8425338],\"properties\":{\"NAME\":\"Parowan\",\"NAMEASCII\":\"Parowan\",\"POP_MAX\":2571,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.5254936,37.0473885],\"properties\":{\"NAME\":\"Kanab\",\"NAMEASCII\":\"Kanab\",\"POP_MAX\":3442,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.3421995,37.8717827],\"properties\":{\"NAME\":\"Monticello\",\"NAMEASCII\":\"Monticello\",\"POP_MAX\":1864,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.5491895,38.5737036],\"properties\":{\"NAME\":\"Moab\",\"NAMEASCII\":\"Moab\",\"POP_MAX\":5730,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-110.8100169,39.5997909],\"properties\":{\"NAME\":\"Price\",\"NAMEASCII\":\"Price\",\"POP_MAX\":10281,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-113.061094,37.6774276],\"properties\":{\"NAME\":\"Cedar City\",\"NAMEASCII\":\"Cedar City\",\"POP_MAX\":27738,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.5280022,40.4553976],\"properties\":{\"NAME\":\"Vernal\",\"NAMEASCII\":\"Vernal\",\"POP_MAX\":14353,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.9680341,41.2323786],\"properties\":{\"NAME\":\"Ogden\",\"NAMEASCII\":\"Ogden\",\"POP_MAX\":377224,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.4649827,41.5145577],\"properties\":{\"NAME\":\"Green River\",\"NAMEASCII\":\"Green River\",\"POP_MAX\":11358,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-107.234292,41.7906649],\"properties\":{\"NAME\":\"Rawlins\",\"NAMEASCII\":\"Rawlins\",\"POP_MAX\":8533,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.3845341,42.7564716],\"properties\":{\"NAME\":\"Douglas\",\"NAMEASCII\":\"Douglas\",\"POP_MAX\":6298,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.3950481,43.0281604],\"properties\":{\"NAME\":\"Riverton\",\"NAMEASCII\":\"Riverton\",\"POP_MAX\":11508,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.2146715,43.645978],\"properties\":{\"NAME\":\"Thermopolis\",\"NAMEASCII\":\"Thermopolis\",\"POP_MAX\":3445,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.5052503,44.2831743],\"properties\":{\"NAME\":\"Gillette\",\"NAMEASCII\":\"Gillette\",\"POP_MAX\":29113,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.7041641,35.8425783],\"properties\":{\"NAME\":\"Jonesboro\",\"NAMEASCII\":\"Jonesboro\",\"POP_MAX\":58619,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.0374748,33.4421047],\"properties\":{\"NAME\":\"Texarkana\",\"NAMEASCII\":\"Texarkana\",\"POP_MAX\":74414,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.0030512,34.2286975],\"properties\":{\"NAME\":\"Pine Bluff\",\"NAMEASCII\":\"Pine Bluff\",\"POP_MAX\":53217,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.0550025,34.503952],\"properties\":{\"NAME\":\"Hot Springs\",\"NAMEASCII\":\"Hot Springs\",\"POP_MAX\":44182,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.3983572,35.3862238],\"properties\":{\"NAME\":\"Fort Smith\",\"NAMEASCII\":\"Fort Smith\",\"POP_MAX\":93988,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.1572091,36.0629783],\"properties\":{\"NAME\":\"Fayetteville\",\"NAMEASCII\":\"Fayetteville\",\"POP_MAX\":151671,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.4513184,35.0912805],\"properties\":{\"NAME\":\"Conway\",\"NAMEASCII\":\"Conway\",\"POP_MAX\":61995,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.66252,33.2139274],\"properties\":{\"NAME\":\"El Dorado\",\"NAMEASCII\":\"El Dorado\",\"POP_MAX\":22416,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.5875304,41.5539868],\"properties\":{\"NAME\":\"Davenport\",\"NAMEASCII\":\"Davenport\",\"POP_MAX\":255738,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.1127696,40.8079342],\"properties\":{\"NAME\":\"Burlington\",\"NAMEASCII\":\"Burlington\",\"POP_MAX\":29773,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.6644507,42.5009316],\"properties\":{\"NAME\":\"Dubuque\",\"NAMEASCII\":\"Dubuque\",\"POP_MAX\":62483,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.3427979,42.4931543],\"properties\":{\"NAME\":\"Waterloo\",\"NAMEASCII\":\"Waterloo\",\"POP_MAX\":98347,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.3999921,42.500389],\"properties\":{\"NAME\":\"Sioux City\",\"NAMEASCII\":\"Sioux City\",\"POP_MAX\":90932,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.8608002,41.2622734],\"properties\":{\"NAME\":\"Council Bluffs\",\"NAMEASCII\":\"Council Bluffs\",\"POP_MAX\":101805,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.62309132371816,42.018667665585504],\"properties\":{\"NAME\":\"Ames\",\"NAMEASCII\":\"Ames\",\"POP_MAX\":57104,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.2008334,43.1540184],\"properties\":{\"NAME\":\"Mason City\",\"NAMEASCII\":\"Mason City\",\"POP_MAX\":27802,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.181375,38.4042308],\"properties\":{\"NAME\":\"Emporia\",\"NAMEASCII\":\"Emporia\",\"POP_MAX\":29048,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.6071794,38.8246702],\"properties\":{\"NAME\":\"Salina\",\"NAMEASCII\":\"Salina\",\"POP_MAX\":48031,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.018195,37.7600582],\"properties\":{\"NAME\":\"Dodge City\",\"NAMEASCII\":\"Dodge City\",\"POP_MAX\":25932,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.6263184,37.0380609],\"properties\":{\"NAME\":\"Coffeyville\",\"NAMEASCII\":\"Coffeyville\",\"POP_MAX\":11760,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.5061658,38.7842851],\"properties\":{\"NAME\":\"St. Charles\",\"NAMEASCII\":\"St. Charles\",\"POP_MAX\":360485,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.4026838,36.7601968],\"properties\":{\"NAME\":\"Poplar Bluff\",\"NAMEASCII\":\"Poplar Bluff\",\"POP_MAX\":20662,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.5130789,37.0845956],\"properties\":{\"NAME\":\"Joplin\",\"NAMEASCII\":\"Joplin\",\"POP_MAX\":73763,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.3339095,38.9520785],\"properties\":{\"NAME\":\"Columbia\",\"NAMEASCII\":\"Columbia\",\"POP_MAX\":398093,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.8463918,39.7690312],\"properties\":{\"NAME\":\"St. Joseph\",\"NAMEASCII\":\"St. Joseph\",\"POP_MAX\":78012,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.6261683,40.2055937],\"properties\":{\"NAME\":\"McCook\",\"NAMEASCII\":\"McCook\",\"POP_MAX\":8012,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.4335983,42.0287124],\"properties\":{\"NAME\":\"Norfolk\",\"NAMEASCII\":\"Norfolk\",\"POP_MAX\":25030,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.7705005,41.1362862],\"properties\":{\"NAME\":\"North Platte\",\"NAMEASCII\":\"North Platte\",\"POP_MAX\":25247,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.9782727,41.1398002],\"properties\":{\"NAME\":\"Sidney\",\"NAMEASCII\":\"Sidney\",\"POP_MAX\":6492,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.6606859,41.8675078],\"properties\":{\"NAME\":\"Scottsbluff\",\"NAMEASCII\":\"Scottsbluff\",\"POP_MAX\":25475,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.0030774,42.8279142],\"properties\":{\"NAME\":\"Chadron\",\"NAMEASCII\":\"Chadron\",\"POP_MAX\":5798,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.4099728,34.5990367],\"properties\":{\"NAME\":\"Lawton\",\"NAMEASCII\":\"Lawton\",\"POP_MAX\":91752,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.4419910256121,35.22047017991464],\"properties\":{\"NAME\":\"Norman\",\"NAMEASCII\":\"Norman\",\"POP_MAX\":113525,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.3694349,35.7482172],\"properties\":{\"NAME\":\"Muskogee\",\"NAMEASCII\":\"Muskogee\",\"POP_MAX\":39295,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.0852733,36.7073576],\"properties\":{\"NAME\":\"Ponca City\",\"NAMEASCII\":\"Ponca City\",\"POP_MAX\":25273,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.9337838,35.3427897],\"properties\":{\"NAME\":\"Shawnee\",\"NAMEASCII\":\"Shawnee\",\"POP_MAX\":29628,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.3976903,36.4334208],\"properties\":{\"NAME\":\"Woodward\",\"NAMEASCII\":\"Woodward\",\"POP_MAX\":12931,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.4795012,36.6858085],\"properties\":{\"NAME\":\"Guymon\",\"NAMEASCII\":\"Guymon\",\"POP_MAX\":11178,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.3924897,42.8820195],\"properties\":{\"NAME\":\"Yankton\",\"NAMEASCII\":\"Yankton\",\"POP_MAX\":15580,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.7880304,44.3067645],\"properties\":{\"NAME\":\"Brookings\",\"NAMEASCII\":\"Brookings\",\"POP_MAX\":22411,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.0261978,43.7142942],\"properties\":{\"NAME\":\"Mitchell\",\"NAMEASCII\":\"Mitchell\",\"POP_MAX\":15205,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.4864022,45.4651176],\"properties\":{\"NAME\":\"Aberdeen\",\"NAMEASCII\":\"Aberdeen\",\"POP_MAX\":26041,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.4347071,45.540126],\"properties\":{\"NAME\":\"Mobridge\",\"NAMEASCII\":\"Mobridge\",\"POP_MAX\":3156,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.7194861,29.5959312],\"properties\":{\"NAME\":\"Houma\",\"NAMEASCII\":\"Houma\",\"POP_MAX\":64592,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.119194,32.5096035],\"properties\":{\"NAME\":\"Monroe\",\"NAMEASCII\":\"Monroe\",\"POP_MAX\":101724,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.4558637,30.3120632],\"properties\":{\"NAME\":\"Conroe\",\"NAMEASCII\":\"Conroe\",\"POP_MAX\":41643,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.6552666,31.6037415],\"properties\":{\"NAME\":\"Nacogdoches\",\"NAMEASCII\":\"Nacogdoches\",\"POP_MAX\":30691,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.4892774,28.711024],\"properties\":{\"NAME\":\"Eagle Pass\",\"NAMEASCII\":\"Eagle Pass\",\"POP_MAX\":53276,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.1599622,26.3031865],\"properties\":{\"NAME\":\"Edinburg\",\"NAMEASCII\":\"Edinburg\",\"POP_MAX\":150000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.8558464,27.5159548],\"properties\":{\"NAME\":\"Kingsville\",\"NAMEASCII\":\"Kingsville\",\"POP_MAX\":25264,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.9285926,29.8989876],\"properties\":{\"NAME\":\"Port Arthur\",\"NAMEASCII\":\"Port Arthur\",\"POP_MAX\":56945,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.5505866,30.7237693],\"properties\":{\"NAME\":\"Huntsville\",\"NAMEASCII\":\"Huntsville\",\"POP_MAX\":35590,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.7274821,31.1172854],\"properties\":{\"NAME\":\"Killeen\",\"NAMEASCII\":\"Killeen\",\"POP_MAX\":137919,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.7288796,31.3384347],\"properties\":{\"NAME\":\"Lufkin\",\"NAMEASCII\":\"Lufkin\",\"POP_MAX\":43264,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.8963843,29.362948],\"properties\":{\"NAME\":\"Del Rio\",\"NAMEASCII\":\"Del Rio\",\"POP_MAX\":36068,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.4366966,31.4640084],\"properties\":{\"NAME\":\"San Angelo\",\"NAMEASCII\":\"San Angelo\",\"POP_MAX\":88256,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.608584,33.6359947],\"properties\":{\"NAME\":\"Sherman\",\"NAMEASCII\":\"Sherman\",\"POP_MAX\":40284,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.1016828,30.086263],\"properties\":{\"NAME\":\"Beaumont\",\"NAMEASCII\":\"Beaumont\",\"POP_MAX\":111485,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.9643598,28.9811109],\"properties\":{\"NAME\":\"Bay City\",\"NAMEASCII\":\"Bay City\",\"POP_MAX\":18663,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.6296938,28.6160169],\"properties\":{\"NAME\":\"Port Lavaca\",\"NAMEASCII\":\"Port Lavaca\",\"POP_MAX\":11743,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.1448985,27.2269027],\"properties\":{\"NAME\":\"Falfurrias\",\"NAMEASCII\":\"Falfurrias\",\"POP_MAX\":5349,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.7508399,28.405978],\"properties\":{\"NAME\":\"Beeville\",\"NAMEASCII\":\"Beeville\",\"POP_MAX\":13004,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.8849968,30.8916919],\"properties\":{\"NAME\":\"Fort Stockton\",\"NAMEASCII\":\"Fort Stockton\",\"POP_MAX\":7721,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.4998947,31.4157943],\"properties\":{\"NAME\":\"Pecos\",\"NAMEASCII\":\"Pecos\",\"POP_MAX\":8372,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.9668875,35.8623963],\"properties\":{\"NAME\":\"Dumas\",\"NAMEASCII\":\"Dumas\",\"POP_MAX\":13629,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.1288365,33.2157619],\"properties\":{\"NAME\":\"Denton\",\"NAMEASCII\":\"Denton\",\"POP_MAX\":176930,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.0974996,32.030718],\"properties\":{\"NAME\":\"Midland\",\"NAMEASCII\":\"Midland\",\"POP_MAX\":98501,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.3630083,31.1020925],\"properties\":{\"NAME\":\"Temple\",\"NAMEASCII\":\"Temple\",\"POP_MAX\":61161,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.4400004,9.3803951],\"properties\":{\"NAME\":\"Trujillo\",\"NAMEASCII\":\"Trujillo\",\"POP_MAX\":50353,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-71.503949,10.531827],\"properties\":{\"NAME\":\"Santa Rita\",\"NAMEASCII\":\"Santa Rita\",\"POP_MAX\":31810,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-72.5499492,10.0704305],\"properties\":{\"NAME\":\"Machiques\",\"NAMEASCII\":\"Machiques\",\"POP_MAX\":62968,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-71.9199876,9.0103919],\"properties\":{\"NAME\":\"San Carlos del Zulia\",\"NAMEASCII\":\"San Carlos del Zulia\",\"POP_MAX\":97288,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-68.00652938505468,10.459714496602153],\"properties\":{\"NAME\":\"Puerto Cabello\",\"NAMEASCII\":\"Puerto Cabello\",\"POP_MAX\":174000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-69.2000245,9.5803829],\"properties\":{\"NAME\":\"Acarigua\",\"NAMEASCII\":\"Acarigua\",\"POP_MAX\":260921,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-72.9000053,41.3303829],\"properties\":{\"NAME\":\"New Haven\",\"NAMEASCII\":\"New Haven\",\"POP_MAX\":846766,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.3166911,42.6336884],\"properties\":{\"NAME\":\"Lowell\",\"NAMEASCII\":\"Lowell\",\"POP_MAX\":723629,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.8000208,42.2704289],\"properties\":{\"NAME\":\"Worcester\",\"NAMEASCII\":\"Worcester\",\"POP_MAX\":287365,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.4552873,42.9959918],\"properties\":{\"NAME\":\"Manchester\",\"NAMEASCII\":\"Manchester\",\"POP_MAX\":196566,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.313358,41.490399],\"properties\":{\"NAME\":\"Newport\",\"NAMEASCII\":\"Newport\",\"POP_MAX\":45968,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.3905866,31.2234546],\"properties\":{\"NAME\":\"Dothan\",\"NAMEASCII\":\"Dothan\",\"POP_MAX\":61741,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.5441761,33.2251154],\"properties\":{\"NAME\":\"Tuscaloosa\",\"NAMEASCII\":\"Tuscaloosa\",\"POP_MAX\":121373,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.0066472,34.0145504],\"properties\":{\"NAME\":\"Gadsden\",\"NAMEASCII\":\"Gadsden\",\"POP_MAX\":41709,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.8439956,31.3278152],\"properties\":{\"NAME\":\"Enterprise\",\"NAMEASCII\":\"Enterprise\",\"POP_MAX\":24205,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.0211589,32.4075684],\"properties\":{\"NAME\":\"Selma\",\"NAMEASCII\":\"Selma\",\"POP_MAX\":20126,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.2910787,25.7154187],\"properties\":{\"NAME\":\"Coral Gables\",\"NAMEASCII\":\"Coral Gables\",\"POP_MAX\":150000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.9796837,26.6029098],\"properties\":{\"NAME\":\"Cape Coral\",\"NAMEASCII\":\"Cape Coral\",\"POP_MAX\":132489,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.7949921,26.1420593],\"properties\":{\"NAME\":\"Naples\",\"NAMEASCII\":\"Naples\",\"POP_MAX\":262306,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3258053,27.4467859],\"properties\":{\"NAME\":\"Fort Pierce\",\"NAMEASCII\":\"Fort Pierce\",\"POP_MAX\":228245,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.4077806,28.2920573],\"properties\":{\"NAME\":\"Kissimmee\",\"NAMEASCII\":\"Kissimmee\",\"POP_MAX\":225494,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.8077914,28.6123478],\"properties\":{\"NAME\":\"Titusville\",\"NAMEASCII\":\"Titusville\",\"POP_MAX\":52311,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.3147113,29.8948794],\"properties\":{\"NAME\":\"St. Augustine\",\"NAMEASCII\":\"St. Augustine\",\"POP_MAX\":76331,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.1402682,29.1873515],\"properties\":{\"NAME\":\"Ocala\",\"NAMEASCII\":\"Ocala\",\"POP_MAX\":141382,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.1417855,26.1360649],\"properties\":{\"NAME\":\"Fort Lauderdale\",\"NAMEASCII\":\"Fort Lauderdale\",\"POP_MAX\":2042042,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.992523,29.7256132],\"properties\":{\"NAME\":\"Apalachicola\",\"NAMEASCII\":\"Apalachicola\",\"POP_MAX\":2284,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3911243,27.642252],\"properties\":{\"NAME\":\"Vero Beach\",\"NAMEASCII\":\"Vero Beach\",\"POP_MAX\":86039,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.2785966,30.8328583],\"properties\":{\"NAME\":\"Valdosta\",\"NAMEASCII\":\"Valdosta\",\"POP_MAX\":61179,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.1558299,31.5787301],\"properties\":{\"NAME\":\"Albany\",\"NAMEASCII\":\"Albany\",\"POP_MAX\":88766,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.3780221,33.9612978],\"properties\":{\"NAME\":\"Athens\",\"NAMEASCII\":\"Athens\",\"POP_MAX\":110301,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.6300481,32.8503837],\"properties\":{\"NAME\":\"Macon\",\"NAMEASCII\":\"Macon\",\"POP_MAX\":115592,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.9800173,32.4704328],\"properties\":{\"NAME\":\"Columbus\",\"NAMEASCII\":\"Columbus\",\"POP_MAX\":217980,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.8506899,31.5077783],\"properties\":{\"NAME\":\"Douglas\",\"NAMEASCII\":\"Douglas\",\"POP_MAX\":13441,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.9182827,32.5374571],\"properties\":{\"NAME\":\"Dublin\",\"NAMEASCII\":\"Dublin\",\"POP_MAX\":22623,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.0927637,30.3675637],\"properties\":{\"NAME\":\"Gulfport\",\"NAMEASCII\":\"Gulfport\",\"POP_MAX\":82165,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.2902452,31.3272726],\"properties\":{\"NAME\":\"Hattiesburg\",\"NAMEASCII\":\"Hattiesburg\",\"POP_MAX\":58874,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.7033301,34.2579206],\"properties\":{\"NAME\":\"Tupelo\",\"NAMEASCII\":\"Tupelo\",\"POP_MAX\":35956,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.0616875,33.4103754],\"properties\":{\"NAME\":\"Greenville\",\"NAMEASCII\":\"Greenville\",\"POP_MAX\":38107,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.3875074,31.5548039],\"properties\":{\"NAME\":\"Natchez\",\"NAMEASCII\":\"Natchez\",\"POP_MAX\":23863,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.7627906,34.1956763],\"properties\":{\"NAME\":\"Florence\",\"NAMEASCII\":\"Florence\",\"POP_MAX\":57438,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.3941545,34.852923],\"properties\":{\"NAME\":\"Greenville\",\"NAMEASCII\":\"Greenville\",\"POP_MAX\":350954,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.3417216,33.9206543],\"properties\":{\"NAME\":\"Sumter\",\"NAMEASCII\":\"Sumter\",\"POP_MAX\":50868,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.6502629,34.5037453],\"properties\":{\"NAME\":\"Anderson\",\"NAMEASCII\":\"Anderson\",\"POP_MAX\":61558,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.7206039,33.5494625],\"properties\":{\"NAME\":\"Aiken\",\"NAMEASCII\":\"Aiken\",\"POP_MAX\":46196,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.689504,32.4321664],\"properties\":{\"NAME\":\"Beaufort\",\"NAMEASCII\":\"Beaufort\",\"POP_MAX\":31626,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.03,34.9403854],\"properties\":{\"NAME\":\"Rock Hill\",\"NAMEASCII\":\"Rock Hill\",\"POP_MAX\":94564,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.954736,39.8407064],\"properties\":{\"NAME\":\"Decatur\",\"NAMEASCII\":\"Decatur\",\"POP_MAX\":77868,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.1842216,38.8909969],\"properties\":{\"NAME\":\"Alton\",\"NAMEASCII\":\"Alton\",\"POP_MAX\":84276,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.4097282,39.9359719],\"properties\":{\"NAME\":\"Quincy\",\"NAMEASCII\":\"Quincy\",\"POP_MAX\":47108,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.2041875,40.1099923],\"properties\":{\"NAME\":\"Urbana\",\"NAMEASCII\":\"Urbana\",\"POP_MAX\":144074,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.9935966,40.4845947],\"properties\":{\"NAME\":\"Bloomington\",\"NAMEASCII\":\"Bloomington\",\"POP_MAX\":128979,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.8611076,41.1203699],\"properties\":{\"NAME\":\"Kankakee\",\"NAMEASCII\":\"Kankakee\",\"POP_MAX\":69608,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.8447262,42.3640408],\"properties\":{\"NAME\":\"Waukegan\",\"NAMEASCII\":\"Waukegan\",\"POP_MAX\":200000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.2999956,41.7653951],\"properties\":{\"NAME\":\"Aurora\",\"NAMEASCII\":\"Aurora\",\"POP_MAX\":350000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.2202495,37.7268303],\"properties\":{\"NAME\":\"Carbondale\",\"NAMEASCII\":\"Carbondale\",\"POP_MAX\":32444,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.0002277,38.5251536],\"properties\":{\"NAME\":\"Belleville\",\"NAMEASCII\":\"Belleville\",\"POP_MAX\":143900,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.5264087,39.1656572],\"properties\":{\"NAME\":\"Bloomington\",\"NAMEASCII\":\"Bloomington\",\"POP_MAX\":100310,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.386375,40.1937598],\"properties\":{\"NAME\":\"Muncie\",\"NAMEASCII\":\"Muncie\",\"POP_MAX\":85449,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.133642,40.4867652],\"properties\":{\"NAME\":\"Kokomo\",\"NAMEASCII\":\"Kokomo\",\"POP_MAX\":61121,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.3300031,41.5803935],\"properties\":{\"NAME\":\"Gary\",\"NAMEASCII\":\"Gary\",\"POP_MAX\":591180,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.1299823,41.0803982],\"properties\":{\"NAME\":\"Fort Wayne\",\"NAMEASCII\":\"Fort Wayne\",\"POP_MAX\":299871,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.5085991,39.0840084],\"properties\":{\"NAME\":\"Covington\",\"NAMEASCII\":\"Covington\",\"POP_MAX\":585489,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.4436489,36.9906995],\"properties\":{\"NAME\":\"Bowling Green\",\"NAMEASCII\":\"Bowling Green\",\"POP_MAX\":71140,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.6000031,37.0837171],\"properties\":{\"NAME\":\"Paducah\",\"NAMEASCII\":\"Paducah\",\"POP_MAX\":41317,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.1133238,37.7745793],\"properties\":{\"NAME\":\"Owensboro\",\"NAMEASCII\":\"Owensboro\",\"POP_MAX\":67825,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.4305557,34.7543244],\"properties\":{\"NAME\":\"Jacksonville\",\"NAMEASCII\":\"Jacksonville\",\"POP_MAX\":77288,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.9930536,35.3851386],\"properties\":{\"NAME\":\"Goldsboro\",\"NAMEASCII\":\"Goldsboro\",\"POP_MAX\":47602,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.3666836,35.6128766],\"properties\":{\"NAME\":\"Greenville\",\"NAMEASCII\":\"Greenville\",\"POP_MAX\":92565,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.88699850074843,35.05111113699372],\"properties\":{\"NAME\":\"Fayetteville\",\"NAMEASCII\":\"Fayetteville\",\"POP_MAX\":243306,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.3414022,35.7334894],\"properties\":{\"NAME\":\"Hickory\",\"NAMEASCII\":\"Hickory\",\"POP_MAX\":89462,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.5541447,35.6011977],\"properties\":{\"NAME\":\"Asheville\",\"NAMEASCII\":\"Asheville\",\"POP_MAX\":142755,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.2599954,36.1054305],\"properties\":{\"NAME\":\"Winston-Salem\",\"NAMEASCII\":\"Winston-Salem\",\"POP_MAX\":281683,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.7047179,36.0773185],\"properties\":{\"NAME\":\"Kitty Hawk\",\"NAMEASCII\":\"Kitty Hawk\",\"POP_MAX\":3413,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.519996,41.0703988],\"properties\":{\"NAME\":\"Akron\",\"NAMEASCII\":\"Akron\",\"POP_MAX\":703200,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.1052645,40.7428736],\"properties\":{\"NAME\":\"Lima\",\"NAMEASCII\":\"Lima\",\"POP_MAX\":68364,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.2697248,36.0106559],\"properties\":{\"NAME\":\"Oak Ridge\",\"NAMEASCII\":\"Oak Ridge\",\"POP_MAX\":33556,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.3902672,35.8459632],\"properties\":{\"NAME\":\"Murfreesboro\",\"NAMEASCII\":\"Murfreesboro\",\"POP_MAX\":115774,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.3594328,36.5300816],\"properties\":{\"NAME\":\"Clarksville\",\"NAMEASCII\":\"Clarksville\",\"POP_MAX\":132536,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.8138918,35.6148661],\"properties\":{\"NAME\":\"Jackson\",\"NAMEASCII\":\"Jackson\",\"POP_MAX\":63196,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.0552053829619,38.80433790389193],\"properties\":{\"NAME\":\"Alexandria\",\"NAMEASCII\":\"Alexandria\",\"POP_MAX\":127273,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.4607864,38.3035134],\"properties\":{\"NAME\":\"Fredericksburg\",\"NAMEASCII\":\"Fredericksburg\",\"POP_MAX\":133134,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.9416169,37.2711992],\"properties\":{\"NAME\":\"Roanoke\",\"NAMEASCII\":\"Roanoke\",\"POP_MAX\":198171,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.3953195,36.5862539],\"properties\":{\"NAME\":\"Danville\",\"NAMEASCII\":\"Danville\",\"POP_MAX\":45894,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.1666348,39.1787313],\"properties\":{\"NAME\":\"Winchester\",\"NAMEASCII\":\"Winchester\",\"POP_MAX\":53941,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.1760024,36.6115237],\"properties\":{\"NAME\":\"Bristol\",\"NAMEASCII\":\"Bristol\",\"POP_MAX\":37443,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.1038977,46.7212425],\"properties\":{\"NAME\":\"Superior\",\"NAMEASCII\":\"Superior\",\"POP_MAX\":27580,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.183336,43.4257072],\"properties\":{\"NAME\":\"West Bend\",\"NAMEASCII\":\"West Bend\",\"POP_MAX\":34530,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.4469117,43.7734379],\"properties\":{\"NAME\":\"Fond du Lac\",\"NAMEASCII\":\"Fond du Lac\",\"POP_MAX\":54299,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.5425131,44.0251022],\"properties\":{\"NAME\":\"Oshkosh\",\"NAMEASCII\":\"Oshkosh\",\"POP_MAX\":72698,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.4120724,45.6399131],\"properties\":{\"NAME\":\"Rhinelander\",\"NAMEASCII\":\"Rhinelander\",\"POP_MAX\":11483,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.8118341,42.7277136],\"properties\":{\"NAME\":\"Racine\",\"NAMEASCII\":\"Racine\",\"POP_MAX\":131654,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.6304757,45.1003854],\"properties\":{\"NAME\":\"Marinette\",\"NAMEASCII\":\"Marinette\",\"POP_MAX\":27169,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.7210783,40.0643103],\"properties\":{\"NAME\":\"Wheeling\",\"NAMEASCII\":\"Wheeling\",\"POP_MAX\":52492,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.9560604,39.6298149],\"properties\":{\"NAME\":\"Morgantown\",\"NAMEASCII\":\"Morgantown\",\"POP_MAX\":58808,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.4452883,38.4195787],\"properties\":{\"NAME\":\"Huntington\",\"NAMEASCII\":\"Huntington\",\"POP_MAX\":85396,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.183014,37.7801862],\"properties\":{\"NAME\":\"Beckley\",\"NAMEASCII\":\"Beckley\",\"POP_MAX\":37836,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.546898,39.7462677],\"properties\":{\"NAME\":\"Wilmington\",\"NAMEASCII\":\"Wilmington\",\"POP_MAX\":161560,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.7627741,39.6531726],\"properties\":{\"NAME\":\"Cumberland\",\"NAMEASCII\":\"Cumberland\",\"POP_MAX\":21316,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-74.4233232,39.3646373],\"properties\":{\"NAME\":\"Atlantic City\",\"NAMEASCII\":\"Atlantic City\",\"POP_MAX\":76573,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-74.1700053,40.7004214],\"properties\":{\"NAME\":\"Newark\",\"NAMEASCII\":\"Newark\",\"POP_MAX\":280123,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.9399677,42.8145817],\"properties\":{\"NAME\":\"Schenectady\",\"NAMEASCII\":\"Schenectady\",\"POP_MAX\":149255,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.9183224,42.0990182],\"properties\":{\"NAME\":\"Binghamton\",\"NAMEASCII\":\"Binghamton\",\"POP_MAX\":139895,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.2330671,43.1011792],\"properties\":{\"NAME\":\"Utica\",\"NAMEASCII\":\"Utica\",\"POP_MAX\":105150,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.9110619,43.9751569],\"properties\":{\"NAME\":\"Watertown\",\"NAMEASCII\":\"Watertown\",\"POP_MAX\":33821,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.0369434,43.094823],\"properties\":{\"NAME\":\"Niagara Falls\",\"NAMEASCII\":\"Niagara Falls\",\"POP_MAX\":153134,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.2355359,42.0973645],\"properties\":{\"NAME\":\"Jamestown\",\"NAMEASCII\":\"Jamestown\",\"POP_MAX\":45756,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.8080355,42.0901298],\"properties\":{\"NAME\":\"Elmira\",\"NAMEASCII\":\"Elmira\",\"POP_MAX\":62376,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.7280404,39.9629212],\"properties\":{\"NAME\":\"York\",\"NAMEASCII\":\"York\",\"POP_MAX\":218010,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.9222217,40.327085],\"properties\":{\"NAME\":\"Johnstown\",\"NAMEASCII\":\"Johnstown\",\"POP_MAX\":69286,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.6626791,41.4092928],\"properties\":{\"NAME\":\"Scranton\",\"NAMEASCII\":\"Scranton\",\"POP_MAX\":156196,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.8602452,40.7937232],\"properties\":{\"NAME\":\"State College\",\"NAMEASCII\":\"State College\",\"POP_MAX\":87926,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.0849931,42.1299207],\"properties\":{\"NAME\":\"Erie\",\"NAMEASCII\":\"Erie\",\"POP_MAX\":178182,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.8779373,41.2490442],\"properties\":{\"NAME\":\"Wilkes-Barre\",\"NAMEASCII\":\"Wilkes Barre\",\"POP_MAX\":158913,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-56.9899945,5.9504236],\"properties\":{\"NAME\":\"Nieuw Nickerie\",\"NAMEASCII\":\"Nieuw Nickerie\",\"POP_MAX\":15992,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-62.4099996,8.0204265],\"properties\":{\"NAME\":\"Upata\",\"NAMEASCII\":\"Upata\",\"POP_MAX\":53685,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-62.5333254,7.3503898],\"properties\":{\"NAME\":\"El Manteco\",\"NAMEASCII\":\"El Manteco\",\"POP_MAX\":2215,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-66.25448,9.33597],\"properties\":{\"NAME\":\"Chaguaramas\",\"NAMEASCII\":\"Chaguaramas\",\"POP_MAX\":15000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-64.7200137,10.1303752],\"properties\":{\"NAME\":\"Barcelona\",\"NAMEASCII\":\"Barcelona\",\"POP_MAX\":600954,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-64.2600159,8.8903475],\"properties\":{\"NAME\":\"El Tigre\",\"NAMEASCII\":\"El Tigre\",\"POP_MAX\":197440,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-66.9699797,10.6003982],\"properties\":{\"NAME\":\"Maiquetía\",\"NAMEASCII\":\"Maiquetia\",\"POP_MAX\":315442,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-67.4399768,8.9303967],\"properties\":{\"NAME\":\"Calabozo\",\"NAMEASCII\":\"Calabozo\",\"POP_MAX\":117132,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-65.3200029,9.3403976],\"properties\":{\"NAME\":\"Zaraza\",\"NAMEASCII\":\"Zaraza\",\"POP_MAX\":41483,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-66.3799899,9.8504181],\"properties\":{\"NAME\":\"Altagracia de Orituco\",\"NAMEASCII\":\"Altagracia de Orituco\",\"POP_MAX\":40052,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-62.0599952,9.0604922],\"properties\":{\"NAME\":\"Tucupita\",\"NAMEASCII\":\"Tucupita\",\"POP_MAX\":51534,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-63.8499893,10.9603762],\"properties\":{\"NAME\":\"Porlamar\",\"NAMEASCII\":\"Porlamar\",\"POP_MAX\":196934,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-55.0200114,5.0403758],\"properties\":{\"NAME\":\"Brokopondo\",\"NAMEASCII\":\"Brokopondo\",\"POP_MAX\":8340,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-56.3199838,5.8904273],\"properties\":{\"NAME\":\"Totness\",\"NAMEASCII\":\"Totness\",\"POP_MAX\":1685,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-68.2043746,44.3878965],\"properties\":{\"NAME\":\"Bar Harbor\",\"NAMEASCII\":\"Bar Harbor\",\"POP_MAX\":6090,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.2152596,44.1007048],\"properties\":{\"NAME\":\"Lewiston\",\"NAMEASCII\":\"Lewiston\",\"POP_MAX\":57688,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-68.01246423427497,46.67557721227555],\"properties\":{\"NAME\":\"Presque Isle\",\"NAMEASCII\":\"Presque Isle\",\"POP_MAX\":9466,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.7199909,42.3003754],\"properties\":{\"NAME\":\"Ann Arbor\",\"NAMEASCII\":\"Ann Arbor\",\"POP_MAX\":265976,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.5871896,42.2921588],\"properties\":{\"NAME\":\"Kalamazoo\",\"NAMEASCII\":\"Kalamazoo\",\"POP_MAX\":183381,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.2483637,43.2345819],\"properties\":{\"NAME\":\"Muskegon\",\"NAMEASCII\":\"Muskegon\",\"POP_MAX\":101177,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.6875381,43.0128642],\"properties\":{\"NAME\":\"Flint\",\"NAMEASCII\":\"Flint\",\"POP_MAX\":295212,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.6699494,42.9637199],\"properties\":{\"NAME\":\"Grand Rapids\",\"NAMEASCII\":\"Grand Rapids\",\"POP_MAX\":535829,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.2902238,42.6518526],\"properties\":{\"NAME\":\"Pontiac\",\"NAMEASCII\":\"Pontiac\",\"POP_MAX\":67994,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.4136084,44.2512124],\"properties\":{\"NAME\":\"Cadillac\",\"NAMEASCII\":\"Cadillac\",\"POP_MAX\":14097,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.6221745,44.7684418],\"properties\":{\"NAME\":\"Traverse City\",\"NAMEASCII\":\"Traverse City\",\"POP_MAX\":43189,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.9551868,45.3737537],\"properties\":{\"NAME\":\"Petoskey\",\"NAMEASCII\":\"Petoskey\",\"POP_MAX\":12667,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.0643604,45.7456948],\"properties\":{\"NAME\":\"Escanaba\",\"NAMEASCII\":\"Escanaba\",\"POP_MAX\":17318,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.4065876,46.5467312],\"properties\":{\"NAME\":\"Marquette\",\"NAMEASCII\":\"Marquette\",\"POP_MAX\":26591,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.5808053,47.1272901],\"properties\":{\"NAME\":\"Hancock\",\"NAMEASCII\":\"Hancock\",\"POP_MAX\":16355,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-2.4299915,36.8303475],\"properties\":{\"NAME\":\"Almería\",\"NAMEASCII\":\"Almeria\",\"POP_MAX\":179405,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-4.4199992,36.7204059],\"properties\":{\"NAME\":\"Málaga\",\"NAMEASCII\":\"Malaga\",\"POP_MAX\":550058,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.7999854,37.7703935],\"properties\":{\"NAME\":\"Jaén\",\"NAMEASCII\":\"Jaen\",\"POP_MAX\":116400,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-6.9299494,37.2503736],\"properties\":{\"NAME\":\"Huelva\",\"NAMEASCII\":\"Huelva\",\"POP_MAX\":144174,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-1.8699998,39.0003443],\"properties\":{\"NAME\":\"Albacete\",\"NAMEASCII\":\"Albacete\",\"POP_MAX\":158094,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-4.0167164,39.8670355],\"properties\":{\"NAME\":\"Toledo\",\"NAMEASCII\":\"Toledo\",\"POP_MAX\":74632,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.1665874,40.6337071],\"properties\":{\"NAME\":\"Guadalajara\",\"NAMEASCII\":\"Guadalajara\",\"POP_MAX\":72850,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.7999854,43.3804645],\"properties\":{\"NAME\":\"Santander\",\"NAMEASCII\":\"Santander\",\"POP_MAX\":208763,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.6700004,40.9704049],\"properties\":{\"NAME\":\"Salamanca\",\"NAMEASCII\":\"Salamanca\",\"POP_MAX\":162353,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.6799669,42.3503982],\"properties\":{\"NAME\":\"Burgos\",\"NAMEASCII\":\"Burgos\",\"POP_MAX\":170183,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[0.6300284,6.9003915],\"properties\":{\"NAME\":\"Kpalimé\",\"NAMEASCII\":\"Kpalime\",\"POP_MAX\":100479,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[1.1499967,8.9904706],\"properties\":{\"NAME\":\"Sokodé\",\"NAMEASCII\":\"Sokode\",\"POP_MAX\":117811,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[0.4708134,10.3595602],\"properties\":{\"NAME\":\"Mango\",\"NAMEASCII\":\"Mango\",\"POP_MAX\":42626,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[11.220028,33.1403919],\"properties\":{\"NAME\":\"Ben Gardane\",\"NAMEASCII\":\"Ben Gardane\",\"POP_MAX\":19843,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[11.0999837,33.5103951],\"properties\":{\"NAME\":\"Zarzis\",\"NAMEASCII\":\"Zarzis\",\"POP_MAX\":159161,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.7000081,32.0170496],\"properties\":{\"NAME\":\"Dehibat\",\"NAMEASCII\":\"Dehibat\",\"POP_MAX\":3525,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[1.2499906,41.1203699],\"properties\":{\"NAME\":\"Tarragona\",\"NAMEASCII\":\"Tarragona\",\"POP_MAX\":126291,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[8.1299841,33.9304212],\"properties\":{\"NAME\":\"Tozeur\",\"NAMEASCII\":\"Tozeur\",\"POP_MAX\":39504,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[9.1900227,36.7304053],\"properties\":{\"NAME\":\"Béja\",\"NAMEASCII\":\"Beja\",\"POP_MAX\":59567,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[9.8549951,37.2904228],\"properties\":{\"NAME\":\"Bizerte\",\"NAMEASCII\":\"Bizerte\",\"POP_MAX\":139843,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.7300321,36.4603443],\"properties\":{\"NAME\":\"Nabeul\",\"NAMEASCII\":\"Nabeul\",\"POP_MAX\":115149,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.7147546,36.1826351],\"properties\":{\"NAME\":\"El Kef\",\"NAMEASCII\":\"El Kef\",\"POP_MAX\":47979,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.829993,35.1803965],\"properties\":{\"NAME\":\"Qasserine\",\"NAMEASCII\":\"Qasserine\",\"POP_MAX\":81987,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.099993,33.900423],\"properties\":{\"NAME\":\"Gabès\",\"NAMEASCII\":\"Gabes\",\"POP_MAX\":219517,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[8.7800219,34.4204429],\"properties\":{\"NAME\":\"Gafsa\",\"NAMEASCII\":\"Gafsa\",\"POP_MAX\":126803,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[10.099993,35.6803919],\"properties\":{\"NAME\":\"Qairouan\",\"NAMEASCII\":\"Qairouan\",\"POP_MAX\":144522,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[35.8865841,34.8846345],\"properties\":{\"NAME\":\"Tartus\",\"NAMEASCII\":\"Tartus\",\"POP_MAX\":162980,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[39.0199849,35.9303766],\"properties\":{\"NAME\":\"Ar Raqqah\",\"NAMEASCII\":\"Ar Raqqah\",\"POP_MAX\":177636,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.7299955,35.1503467],\"properties\":{\"NAME\":\"Hamah\",\"NAMEASCII\":\"Hamah\",\"POP_MAX\":460602,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[38.2833374,34.5504092],\"properties\":{\"NAME\":\"Tadmur\",\"NAMEASCII\":\"Tadmur\",\"POP_MAX\":55111,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[40.9186287,34.4504153],\"properties\":{\"NAME\":\"Abu Kamal\",\"NAMEASCII\":\"Abu Kamal\",\"POP_MAX\":80808,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[40.1299947,35.3303874],\"properties\":{\"NAME\":\"Dayr az Zawr\",\"NAMEASCII\":\"Dayr az Zawr\",\"POP_MAX\":309141,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.5665946,32.7004187],\"properties\":{\"NAME\":\"As Suwayda\",\"NAMEASCII\":\"As Suwayda\",\"POP_MAX\":72248,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.7333028,34.0170309],\"properties\":{\"NAME\":\"Ad Nabk\",\"NAMEASCII\":\"Ad Nabk\",\"POP_MAX\":50178,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[34.3499857,11.7704043],\"properties\":{\"NAME\":\"Ad Damazīn\",\"NAMEASCII\":\"Ad Damazin\",\"POP_MAX\":186051,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[36.3841768,18.3362309],\"properties\":{\"NAME\":\"Haiya\",\"NAMEASCII\":\"Haiya\",\"POP_MAX\":20000,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[43.3155367,14.1950883],\"properties\":{\"NAME\":\"Zabīd\",\"NAMEASCII\":\"Zabid\",\"POP_MAX\":152504,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[43.6021342,15.6917411],\"properties\":{\"NAME\":\"Hajjah\",\"NAMEASCII\":\"Hajjah\",\"POP_MAX\":208287,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[44.8837614,13.058181],\"properties\":{\"NAME\":\"Lahij\",\"NAMEASCII\":\"Lahij\",\"POP_MAX\":66288,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[8.2800008,47.0504214],\"properties\":{\"NAME\":\"Luzern\",\"NAMEASCII\":\"Luzern\",\"POP_MAX\":250000,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[8.9666772,46.0003821],\"properties\":{\"NAME\":\"Lugano\",\"NAMEASCII\":\"Lugano\",\"POP_MAX\":105388,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[-132.3715949,56.4712675],\"properties\":{\"NAME\":\"Wrangell\",\"NAMEASCII\":\"Wrangell\",\"POP_MAX\":2070,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.0718893,66.2569751],\"properties\":{\"NAME\":\"Shishmaref\",\"NAMEASCII\":\"Shishmaref\",\"POP_MAX\":254,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-135.438617,58.1154049],\"properties\":{\"NAME\":\"Hoonah\",\"NAMEASCII\":\"Hoonah\",\"POP_MAX\":361,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-174.2004887,52.1964897],\"properties\":{\"NAME\":\"Atka\",\"NAMEASCII\":\"Atka\",\"POP_MAX\":61,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-168.8676876,52.9384341],\"properties\":{\"NAME\":\"Nikolski\",\"NAMEASCII\":\"Nikolski\",\"POP_MAX\":18,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-154.4550273,57.5722856],\"properties\":{\"NAME\":\"Karluk\",\"NAMEASCII\":\"Karluk\",\"POP_MAX\":96,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-163.415023,54.8512114],\"properties\":{\"NAME\":\"False Pass\",\"NAMEASCII\":\"False Pass\",\"POP_MAX\":35,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-164.4859034,67.7314922],\"properties\":{\"NAME\":\"Kivalina\",\"NAMEASCII\":\"Kivalina\",\"POP_MAX\":374,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-154.8971967,59.7203457],\"properties\":{\"NAME\":\"Newhalen\",\"NAMEASCII\":\"Newhalen\",\"POP_MAX\":160,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.5691266,57.56456],\"properties\":{\"NAME\":\"Pilot Point\",\"NAMEASCII\":\"Pilot Point\",\"POP_MAX\":68,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-158.4022282,56.295671],\"properties\":{\"NAME\":\"Chignik\",\"NAMEASCII\":\"Chignik\",\"POP_MAX\":118,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-156.6613784,58.6887032],\"properties\":{\"NAME\":\"King Salmon\",\"NAMEASCII\":\"King Salmon\",\"POP_MAX\":292,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-161.9157864,59.7492328],\"properties\":{\"NAME\":\"Quinhagak\",\"NAMEASCII\":\"Quinhagak\",\"POP_MAX\":250,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-159.5221857,61.5787077],\"properties\":{\"NAME\":\"Aniak\",\"NAMEASCII\":\"Aniak\",\"POP_MAX\":501,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-163.5532833,63.0345878],\"properties\":{\"NAME\":\"Kotlit\",\"NAMEASCII\":\"Kotlit\",\"POP_MAX\":1002,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-160.7880516,63.8734255],\"properties\":{\"NAME\":\"Unalakleet\",\"NAMEASCII\":\"Unalakleet\",\"POP_MAX\":741,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-161.1574717,64.9402687],\"properties\":{\"NAME\":\"Koyuk\",\"NAMEASCII\":\"Koyuk\",\"POP_MAX\":254,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-155.5957845,62.9568148],\"properties\":{\"NAME\":\"McGrath\",\"NAMEASCII\":\"McGrath\",\"POP_MAX\":138,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-154.2549878,66.0491842],\"properties\":{\"NAME\":\"Hughes\",\"NAMEASCII\":\"Hughes\",\"POP_MAX\":78,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.8514091,67.0864852],\"properties\":{\"NAME\":\"Ambler\",\"NAMEASCII\":\"Ambler\",\"POP_MAX\":258,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-168.0875027,65.6095986],\"properties\":{\"NAME\":\"Wales\",\"NAMEASCII\":\"Wales\",\"POP_MAX\":99,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-162.5965975,66.8986931],\"properties\":{\"NAME\":\"Kotzebue\",\"NAMEASCII\":\"Kotzebue\",\"POP_MAX\":3194,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-149.439442,61.5817308],\"properties\":{\"NAME\":\"Wasilla\",\"NAMEASCII\":\"Wasilla\",\"POP_MAX\":8521,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-144.0605197,65.8258903],\"properties\":{\"NAME\":\"Circle\",\"NAMEASCII\":\"Circle\",\"POP_MAX\":100,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-148.9140994,63.7330982],\"properties\":{\"NAME\":\"Denali Park\",\"NAMEASCII\":\"Denali Park\",\"POP_MAX\":1826,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-139.7272183,59.5473071],\"properties\":{\"NAME\":\"Yakutat\",\"NAMEASCII\":\"Yakutat\",\"POP_MAX\":109,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-151.5482797,59.6429344],\"properties\":{\"NAME\":\"Homer\",\"NAMEASCII\":\"Homer\",\"POP_MAX\":6560,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-143.346403,63.3857033],\"properties\":{\"NAME\":\"Tanacross\",\"NAMEASCII\":\"Tanacross\",\"POP_MAX\":136,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-150.1074891,67.4104706],\"properties\":{\"NAME\":\"Wiseman\",\"NAMEASCII\":\"Wiseman\",\"POP_MAX\":14,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[16.3665873,61.3520032],\"properties\":{\"NAME\":\"Bollnäs\",\"NAMEASCII\":\"Bollnas\",\"POP_MAX\":13398,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[17.1666418,60.6669804],\"properties\":{\"NAME\":\"Gävle\",\"NAMEASCII\":\"Gavle\",\"POP_MAX\":68635,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[16.3665873,56.6670178],\"properties\":{\"NAME\":\"Kalmar\",\"NAMEASCII\":\"Kalmar\",\"POP_MAX\":35024,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[14.8167077,56.8836971],\"properties\":{\"NAME\":\"Växjö\",\"NAMEASCII\":\"Vaxjo\",\"POP_MAX\":59600,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[15.2199906,59.2803467],\"properties\":{\"NAME\":\"Örebro\",\"NAMEASCII\":\"Orebro\",\"POP_MAX\":98573,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[16.1786918,58.5954273],\"properties\":{\"NAME\":\"Norrköping\",\"NAMEASCII\":\"Norrkoping\",\"POP_MAX\":88639,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[12.8555871,56.6717721],\"properties\":{\"NAME\":\"Halmstad\",\"NAMEASCII\":\"Halmstad\",\"POP_MAX\":55657,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[13.4999406,59.3671373],\"properties\":{\"NAME\":\"Karlstad\",\"NAMEASCII\":\"Karlstad\",\"POP_MAX\":74141,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[20.9500284,64.7720787],\"properties\":{\"NAME\":\"Skellefteå\",\"NAMEASCII\":\"Skelleftea\",\"POP_MAX\":31311,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[18.3000093,57.6336513],\"properties\":{\"NAME\":\"Visby\",\"NAMEASCII\":\"Visby\",\"POP_MAX\":22593,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[34.4000085,45.7170402],\"properties\":{\"NAME\":\"Dzhankoy\",\"NAMEASCII\":\"Dzhankoy\",\"POP_MAX\":43879,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.3630692,45.1968911],\"properties\":{\"NAME\":\"Yevpatoriya\",\"NAMEASCII\":\"Yevpatoriya\",\"POP_MAX\":105223,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.4880981,45.3685085],\"properties\":{\"NAME\":\"Kerch\",\"NAMEASCII\":\"Kerch\",\"POP_MAX\":152195,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.0987349,44.9491543],\"properties\":{\"NAME\":\"Simferopol\",\"NAMEASCII\":\"Simferopol\",\"POP_MAX\":358108,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.6006649,46.6325372],\"properties\":{\"NAME\":\"Kherson\",\"NAMEASCII\":\"Kherson\",\"POP_MAX\":320477,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[31.3333223,47.550365],\"properties\":{\"NAME\":\"Voznesensk\",\"NAMEASCII\":\"Voznesensk\",\"POP_MAX\":43996,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[31.8902909,51.0540788],\"properties\":{\"NAME\":\"Nizhyn\",\"NAMEASCII\":\"Nizhyn\",\"POP_MAX\":116288,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[26.2528055,50.6165861],\"properties\":{\"NAME\":\"Rivne\",\"NAMEASCII\":\"Rivne\",\"POP_MAX\":255106,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[25.9215596,48.305306],\"properties\":{\"NAME\":\"Chernivtsi\",\"NAMEASCII\":\"Chernivtsi\",\"POP_MAX\":298251,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[24.7093855,48.9347508],\"properties\":{\"NAME\":\"Ivano-Frankivsk\",\"NAMEASCII\":\"Ivano-Frankivsk\",\"POP_MAX\":241239,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[25.5821488,49.5359802],\"properties\":{\"NAME\":\"Ternopil\",\"NAMEASCII\":\"Ternopil\",\"POP_MAX\":244768,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[25.3333785,50.7471983],\"properties\":{\"NAME\":\"Lutsk\",\"NAMEASCII\":\"Lutsk\",\"POP_MAX\":213661,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[24.7166202,51.2170663],\"properties\":{\"NAME\":\"Kovel\",\"NAMEASCII\":\"Kovel\",\"POP_MAX\":71301,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[32.0709,49.4347203],\"properties\":{\"NAME\":\"Cherkasy\",\"NAMEASCII\":\"Cherkasy\",\"POP_MAX\":297568,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[32.2602941,48.5040536],\"properties\":{\"NAME\":\"Kirovohrad\",\"NAMEASCII\":\"Kirovohrad\",\"POP_MAX\":249454,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[28.8373506,45.3503443],\"properties\":{\"NAME\":\"Izmayil\",\"NAMEASCII\":\"Izmayil\",\"POP_MAX\":83194,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[28.4815584,49.225379],\"properties\":{\"NAME\":\"Vinnytsya\",\"NAMEASCII\":\"Vinnytsya\",\"POP_MAX\":352115,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[28.6500236,50.9504159],\"properties\":{\"NAME\":\"Korosten\",\"NAMEASCII\":\"Korosten\",\"POP_MAX\":72984,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[33.4796512,51.8734086],\"properties\":{\"NAME\":\"Shostka\",\"NAMEASCII\":\"Shostka\",\"POP_MAX\":96825,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[34.4062097,47.5665914],\"properties\":{\"NAME\":\"Nikopol\",\"NAMEASCII\":\"Nikopol\",\"POP_MAX\":130500,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[37.5980562,49.7217829],\"properties\":{\"NAME\":\"Kupyansk\",\"NAMEASCII\":\"Kupyansk\",\"POP_MAX\":78870,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[38.4273596,48.9204106],\"properties\":{\"NAME\":\"Lysychansk\",\"NAMEASCII\":\"Lysychansk\",\"POP_MAX\":124421,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[39.3343843,48.5697602],\"properties\":{\"NAME\":\"Luhansk\",\"NAMEASCII\":\"Luhansk\",\"POP_MAX\":452000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[34.5702823,49.5740399],\"properties\":{\"NAME\":\"Poltava\",\"NAMEASCII\":\"Poltava\",\"POP_MAX\":317847,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[33.4296285,49.0835272],\"properties\":{\"NAME\":\"Kremenchuk\",\"NAMEASCII\":\"Kremenchuk\",\"POP_MAX\":232742,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[35.3774682,46.8378245],\"properties\":{\"NAME\":\"Melitopol\",\"NAMEASCII\":\"Melitopol\",\"POP_MAX\":158000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[52.1637821,16.239408],\"properties\":{\"NAME\":\"Al Ghaydah\",\"NAMEASCII\":\"Al Ghaydah\",\"POP_MAX\":27404,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[44.8341003,14.4294926],\"properties\":{\"NAME\":\"Rida\",\"NAMEASCII\":\"Rida\",\"POP_MAX\":45233,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[54.023927,12.651875],\"properties\":{\"NAME\":\"Hadiboh\",\"NAMEASCII\":\"Hadiboh\",\"POP_MAX\":11396,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[48.7873474,15.942992],\"properties\":{\"NAME\":\"Saywun\",\"NAMEASCII\":\"Saywun\",\"POP_MAX\":68747,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[55.9427762,25.7915381],\"properties\":{\"NAME\":\"Ras al Khaymah\",\"NAMEASCII\":\"Ras al Khaymah\",\"POP_MAX\":160849,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[56.3374808,25.1234394],\"properties\":{\"NAME\":\"Al Fujayrah\",\"NAMEASCII\":\"Al Fujayrah\",\"POP_MAX\":94163,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[55.7399979,24.2304706],\"properties\":{\"NAME\":\"Al Ayn\",\"NAMEASCII\":\"Al Ayn\",\"POP_MAX\":408733,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[54.3649397,39.5123802],\"properties\":{\"NAME\":\"Balkanabat\",\"NAMEASCII\":\"Balkanabat\",\"POP_MAX\":110827,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[59.6000207,37.3503416],\"properties\":{\"NAME\":\"Kaka\",\"NAMEASCII\":\"Kaka\",\"POP_MAX\":38381,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[64.5457653,39.7210755],\"properties\":{\"NAME\":\"Kogon\",\"NAMEASCII\":\"Kogon\",\"POP_MAX\":107566,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[60.3557369,41.3911286],\"properties\":{\"NAME\":\"Khiwa\",\"NAMEASCII\":\"Khiwa\",\"POP_MAX\":149751,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[59.7707596,42.9311379],\"properties\":{\"NAME\":\"Chimboy\",\"NAMEASCII\":\"Chimboy\",\"POP_MAX\":36917,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[58.9000118,43.0704059],\"properties\":{\"NAME\":\"Qunghirot\",\"NAMEASCII\":\"Qunghirot\",\"POP_MAX\":57758,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[64.201807,41.582228],\"properties\":{\"NAME\":\"Zarafshon\",\"NAMEASCII\":\"Zarafshon\",\"POP_MAX\":63543,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[65.3549666,40.1104057],\"properties\":{\"NAME\":\"Navoi\",\"NAMEASCII\":\"Navoi\",\"POP_MAX\":214828,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[65.1997306,37.8248088],\"properties\":{\"NAME\":\"Atamyrat\",\"NAMEASCII\":\"Atamyrat\",\"POP_MAX\":33242,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[66.8314656,39.0617875],\"properties\":{\"NAME\":\"Shahrisabz\",\"NAMEASCII\":\"Shahrisabz\",\"POP_MAX\":498545,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[65.800004,38.8704297],\"properties\":{\"NAME\":\"Qarshi\",\"NAMEASCII\":\"Qarshi\",\"POP_MAX\":386361,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[70.9400004,40.5404053],\"properties\":{\"NAME\":\"Qoqon\",\"NAMEASCII\":\"Qoqon\",\"POP_MAX\":350000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[68.688975,37.9793988],\"properties\":{\"NAME\":\"Kuybyshevskiy\",\"NAMEASCII\":\"Kuybyshevskiy\",\"POP_MAX\":8925,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[69.7757303,37.9211595],\"properties\":{\"NAME\":\"Kulob\",\"NAMEASCII\":\"Kulob\",\"POP_MAX\":115164,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[69.0014624,39.9219159],\"properties\":{\"NAME\":\"Uroteppa\",\"NAMEASCII\":\"Uroteppa\",\"POP_MAX\":156621,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[67.8300093,40.1003805],\"properties\":{\"NAME\":\"Jizzax\",\"NAMEASCII\":\"Jizzax\",\"POP_MAX\":235352,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[70.154932,41.0303754],\"properties\":{\"NAME\":\"Angren\",\"NAMEASCII\":\"Angren\",\"POP_MAX\":202070,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[69.5950179,40.850438],\"properties\":{\"NAME\":\"Olmaliq\",\"NAMEASCII\":\"Olmaliq\",\"POP_MAX\":121207,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[99.1872168,10.5126774],\"properties\":{\"NAME\":\"Chumphon\",\"NAMEASCII\":\"Chumphon\",\"POP_MAX\":85686,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.7286307,8.1539584],\"properties\":{\"NAME\":\"Thung Song\",\"NAMEASCII\":\"Thung Song\",\"POP_MAX\":28223,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.6080179,7.5634001],\"properties\":{\"NAME\":\"Trang\",\"NAMEASCII\":\"Trang\",\"POP_MAX\":147820,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.2850732,6.5504903],\"properties\":{\"NAME\":\"Yala\",\"NAMEASCII\":\"Yala\",\"POP_MAX\":148140,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.8264542,19.9118712],\"properties\":{\"NAME\":\"Chiang Rai\",\"NAMEASCII\":\"Chiang Rai\",\"POP_MAX\":117127,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.4812557,18.2915566],\"properties\":{\"NAME\":\"Lampang\",\"NAMEASCII\":\"Lampang\",\"POP_MAX\":204081,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.7714611,18.7868494],\"properties\":{\"NAME\":\"Nan\",\"NAMEASCII\":\"Nan\",\"POP_MAX\":82483,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.9083097,19.1707019],\"properties\":{\"NAME\":\"Phayao\",\"NAMEASCII\":\"Phayao\",\"POP_MAX\":21058,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.1629195,18.1532963],\"properties\":{\"NAME\":\"Phrae\",\"NAMEASCII\":\"Phrae\",\"POP_MAX\":38538,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.2728869,16.8283126],\"properties\":{\"NAME\":\"Phitsanulok\",\"NAMEASCII\":\"Phitsanulok\",\"POP_MAX\":164017,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.7515234,17.0118673],\"properties\":{\"NAME\":\"Sukhothai\",\"NAMEASCII\":\"Sukhothai\",\"POP_MAX\":10276,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0971871,17.6316227],\"properties\":{\"NAME\":\"Uttaradit\",\"NAMEASCII\":\"Uttaradit\",\"POP_MAX\":76630,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.5220284,14.0174247],\"properties\":{\"NAME\":\"Kanchanaburi\",\"NAMEASCII\":\"Kanchanaburi\",\"POP_MAX\":63699,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[98.5707686,16.7161747],\"properties\":{\"NAME\":\"Mae Sot\",\"NAMEASCII\":\"Mae Sot\",\"POP_MAX\":45781,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.1293392,16.8847433],\"properties\":{\"NAME\":\"Tak\",\"NAMEASCII\":\"Tak\",\"POP_MAX\":33146,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.026442,15.3818634],\"properties\":{\"NAME\":\"Uthai Thani\",\"NAMEASCII\":\"Uthai Thani\",\"POP_MAX\":22219,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.6186023,14.8040176],\"properties\":{\"NAME\":\"Lop Buri\",\"NAMEASCII\":\"Lop Buri\",\"POP_MAX\":57761,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.3767989,14.0572156],\"properties\":{\"NAME\":\"Prachin Buri\",\"NAMEASCII\":\"Prachin Buri\",\"POP_MAX\":79757,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.5684244,14.3587993],\"properties\":{\"NAME\":\"Ayutthaya\",\"NAMEASCII\":\"Ayutthaya\",\"POP_MAX\":145615,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.5333361,14.0171147],\"properties\":{\"NAME\":\"Pathum Thani\",\"NAMEASCII\":\"Pathum Thani\",\"POP_MAX\":154412,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.8799816,14.530365],\"properties\":{\"NAME\":\"Saraburi\",\"NAMEASCII\":\"Saraburi\",\"POP_MAX\":70769,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.4833134,13.8336892],\"properties\":{\"NAME\":\"Nonthaburi\",\"NAMEASCII\":\"Nonthaburi\",\"POP_MAX\":258550,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.9411759,13.1132939],\"properties\":{\"NAME\":\"Phetchaburi\",\"NAMEASCII\":\"Phetchaburi\",\"POP_MAX\":90497,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.9443282,12.5697095],\"properties\":{\"NAME\":\"Hua Hin\",\"NAMEASCII\":\"Hua Hin\",\"POP_MAX\":50456,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[99.821545,13.5418982],\"properties\":{\"NAME\":\"Ratchaburi\",\"NAMEASCII\":\"Ratchaburi\",\"POP_MAX\":106996,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.6114709,13.6069072],\"properties\":{\"NAME\":\"Samut Prakan\",\"NAMEASCII\":\"Samut Prakan\",\"POP_MAX\":388920,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[104.3298486,15.1202515],\"properties\":{\"NAME\":\"Sisaket\",\"NAMEASCII\":\"Sisaket\",\"POP_MAX\":44751,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[107.1000154,20.9604118],\"properties\":{\"NAME\":\"Hong Gai\",\"NAMEASCII\":\"Hong Gai\",\"POP_MAX\":172915,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[107.320002,21.0404328],\"properties\":{\"NAME\":\"Cẩm Phả\",\"NAMEASCII\":\"Cam Pha\",\"POP_MAX\":135477,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[100.9286608,13.1590275],\"properties\":{\"NAME\":\"Si Racha\",\"NAMEASCII\":\"Si Racha\",\"POP_MAX\":178916,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.9999743,13.4004081],\"properties\":{\"NAME\":\"Chon Buri\",\"NAMEASCII\":\"Chon Buri\",\"POP_MAX\":226618,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.0978918,12.6132727],\"properties\":{\"NAME\":\"Chanthaburi\",\"NAMEASCII\":\"Chanthaburi\",\"POP_MAX\":99819,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.4969372,13.6823548],\"properties\":{\"NAME\":\"Aranyaprathet\",\"NAMEASCII\":\"Aranyaprathet\",\"POP_MAX\":22472,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.2814559,12.671848],\"properties\":{\"NAME\":\"Rayong\",\"NAMEASCII\":\"Rayong\",\"POP_MAX\":37035,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.116641,15.0004397],\"properties\":{\"NAME\":\"Buriram\",\"NAMEASCII\":\"Buriram\",\"POP_MAX\":47292,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.0386189,15.8040082],\"properties\":{\"NAME\":\"Chaiyaphum\",\"NAMEASCII\":\"Chaiyaphum\",\"POP_MAX\":58350,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.4185957,15.5840216],\"properties\":{\"NAME\":\"Bua Yai\",\"NAMEASCII\":\"Bua Yai\",\"POP_MAX\":18269,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.4914502,14.886829],\"properties\":{\"NAME\":\"Surin\",\"NAMEASCII\":\"Surin\",\"POP_MAX\":62536,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[101.7315059,17.4918897],\"properties\":{\"NAME\":\"Loei\",\"NAMEASCII\":\"Loei\",\"POP_MAX\":35273,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.747878,17.8732617],\"properties\":{\"NAME\":\"Nong Khai\",\"NAMEASCII\":\"Nong Khai\",\"POP_MAX\":104505,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[104.1478959,17.1679043],\"properties\":{\"NAME\":\"Sakhon Nakhon\",\"NAMEASCII\":\"Sakhon Nakhon\",\"POP_MAX\":76237,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.7893225,17.4047632],\"properties\":{\"NAME\":\"Udon Thani\",\"NAMEASCII\":\"Udon Thani\",\"POP_MAX\":247231,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[103.9659948,22.5013513],\"properties\":{\"NAME\":\"Lao Chi\",\"NAMEASCII\":\"Lao Chi\",\"POP_MAX\":67206,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.3383142,20.8137024],\"properties\":{\"NAME\":\"Hoa Binh\",\"NAMEASCII\":\"Hoa Binh\",\"POP_MAX\":105260,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.5050223,21.1381787],\"properties\":{\"NAME\":\"Sơn Tây\",\"NAMEASCII\":\"Son Tay\",\"POP_MAX\":189547,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.9750195,20.254305],\"properties\":{\"NAME\":\"Ninh Bình\",\"NAMEASCII\":\"Ninh Binh\",\"POP_MAX\":130517,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.4299882,21.3304151],\"properties\":{\"NAME\":\"Việt Trì\",\"NAMEASCII\":\"Viet Tri\",\"POP_MAX\":350000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.2000187,21.2670081],\"properties\":{\"NAME\":\"Bắc Giang\",\"NAMEASCII\":\"Bac Giang\",\"POP_MAX\":53728,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[104.76946,17.3944796],\"properties\":{\"NAME\":\"Nakhon Phanom\",\"NAMEASCII\":\"Nakhon Phanom\",\"POP_MAX\":55377,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[105.900037,18.3337763],\"properties\":{\"NAME\":\"Hà Tĩnh\",\"NAMEASCII\":\"Ha Tinh\",\"POP_MAX\":165396,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.0499833,12.6670421],\"properties\":{\"NAME\":\"Buon Me Thuot\",\"NAMEASCII\":\"Buon Me Thuot\",\"POP_MAX\":349945,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.4199865,11.9304203],\"properties\":{\"NAME\":\"Da Lat\",\"NAMEASCII\":\"Da Lat\",\"POP_MAX\":256019,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.9833113,11.5670317],\"properties\":{\"NAME\":\"Phan Rang\",\"NAMEASCII\":\"Phan Rang\",\"POP_MAX\":179773,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.6000459,11.6503858],\"properties\":{\"NAME\":\"Hon Quan\",\"NAMEASCII\":\"Hon Quan\",\"POP_MAX\":40279,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[107.9833207,14.383759],\"properties\":{\"NAME\":\"Kon Tum\",\"NAMEASCII\":\"Kon Tum\",\"POP_MAX\":105489,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.8299873,15.1504305],\"properties\":{\"NAME\":\"Quảng Ngãi\",\"NAMEASCII\":\"Quang Ngai\",\"POP_MAX\":250000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[107.2000093,16.7503587],\"properties\":{\"NAME\":\"Quảng Trị\",\"NAMEASCII\":\"Quang Tri\",\"POP_MAX\":72722,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[101.8214229,6.4318412],\"properties\":{\"NAME\":\"Narathiwat\",\"NAMEASCII\":\"Narathiwat\",\"POP_MAX\":68112,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[107.0849776,10.3553744],\"properties\":{\"NAME\":\"Vung Tau\",\"NAMEASCII\":\"Vung Tau\",\"POP_MAX\":248767,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.1000577,10.933737],\"properties\":{\"NAME\":\"Phan Thiet\",\"NAMEASCII\":\"Phan Thiet\",\"POP_MAX\":336846,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.4200146,10.3803858],\"properties\":{\"NAME\":\"Long Xuyen\",\"NAMEASCII\":\"Long Xuyen\",\"POP_MAX\":350000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.1166739,10.7003921],\"properties\":{\"NAME\":\"Châu Đốc\",\"NAMEASCII\":\"Chau Doc\",\"POP_MAX\":70239,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.0913525,10.0153951],\"properties\":{\"NAME\":\"Rạch Giá\",\"NAMEASCII\":\"Rach Gia\",\"POP_MAX\":300000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.416698,10.5337356],\"properties\":{\"NAME\":\"Tan An\",\"NAMEASCII\":\"Tan An\",\"POP_MAX\":137498,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.3500354,10.3504134],\"properties\":{\"NAME\":\"Mỹ Tho\",\"NAMEASCII\":\"My Tho\",\"POP_MAX\":124143,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.7199963,9.2803754],\"properties\":{\"NAME\":\"Bạc Liêu\",\"NAMEASCII\":\"Bac Lieu\",\"POP_MAX\":225000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.1500052,9.1773584],\"properties\":{\"NAME\":\"Cà Mau\",\"NAMEASCII\":\"Ca Mau\",\"POP_MAX\":356636,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.9800321,9.6037407],\"properties\":{\"NAME\":\"Sóc Trăng\",\"NAMEASCII\":\"Soc Trang\",\"POP_MAX\":300000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[104.9833488,22.8336566],\"properties\":{\"NAME\":\"Ha Giang\",\"NAMEASCII\":\"Ha Giang\",\"POP_MAX\":38362,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[29.0800232,-9.7795207],\"properties\":{\"NAME\":\"Kawambwa\",\"NAMEASCII\":\"Kawambwa\",\"POP_MAX\":20589,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.7300187,-9.3495727],\"properties\":{\"NAME\":\"Nchelenge\",\"NAMEASCII\":\"Nchelenge\",\"POP_MAX\":23693,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[32.0599963,-10.5496028],\"properties\":{\"NAME\":\"Chinsali\",\"NAMEASCII\":\"Chinsali\",\"POP_MAX\":14015,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[31.1799467,-10.1995984],\"properties\":{\"NAME\":\"Kasama\",\"NAMEASCII\":\"Kasama\",\"POP_MAX\":200000,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.6599971,-13.9696008],\"properties\":{\"NAME\":\"Kapiri Mposhi\",\"NAMEASCII\":\"Kapiri Mposhi\",\"POP_MAX\":37942,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[27.0700166,-14.9796167],\"properties\":{\"NAME\":\"Mumbwa\",\"NAMEASCII\":\"Mumbwa\",\"POP_MAX\":19086,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[27.8500207,-12.5396106],\"properties\":{\"NAME\":\"Chingola\",\"NAMEASCII\":\"Chingola\",\"POP_MAX\":182015,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[27.8199967,-12.3695951],\"properties\":{\"NAME\":\"Chililabombwe\",\"NAMEASCII\":\"Chililabombwe\",\"POP_MAX\":82068,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[30.8099951,-14.5495137],\"properties\":{\"NAME\":\"Nyimba\",\"NAMEASCII\":\"Nyimba\",\"POP_MAX\":1336,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[33.1700061,-12.2895483],\"properties\":{\"NAME\":\"Lundazi\",\"NAMEASCII\":\"Lundazi\",\"POP_MAX\":11635,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[32.6400126,-13.6295699],\"properties\":{\"NAME\":\"Chipata\",\"NAMEASCII\":\"Chipata\",\"POP_MAX\":85963,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[24.4399963,-11.7395561],\"properties\":{\"NAME\":\"Mwinilunga\",\"NAMEASCII\":\"Mwinilunga\",\"POP_MAX\":13798,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[25.8200154,-13.4596061],\"properties\":{\"NAME\":\"Kasempa\",\"NAMEASCII\":\"Kasempa\",\"POP_MAX\":5622,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[26.39998,-12.1795809],\"properties\":{\"NAME\":\"Solwezi\",\"NAMEASCII\":\"Solwezi\",\"POP_MAX\":65000,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[26.9700227,-16.8094791],\"properties\":{\"NAME\":\"Choma\",\"NAMEASCII\":\"Choma\",\"POP_MAX\":46746,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[23.1200252,-15.2795984],\"properties\":{\"NAME\":\"Mongu\",\"NAMEASCII\":\"Mongu\",\"POP_MAX\":52534,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[24.7999743,-14.7796289],\"properties\":{\"NAME\":\"Kaoma\",\"NAMEASCII\":\"Kaoma\",\"POP_MAX\":14212,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[24.3000048,-17.4695422],\"properties\":{\"NAME\":\"Sesheke\",\"NAMEASCII\":\"Sesheke\",\"POP_MAX\":20149,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[23.2400179,-14.3895752],\"properties\":{\"NAME\":\"Lukulu\",\"NAMEASCII\":\"Lukulu\",\"POP_MAX\":3349,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[22.6800004,-14.9895902],\"properties\":{\"NAME\":\"Kalabo\",\"NAMEASCII\":\"Kalabo\",\"POP_MAX\":7731,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[23.2700419,-16.1195988],\"properties\":{\"NAME\":\"Senanga\",\"NAMEASCII\":\"Senanga\",\"POP_MAX\":10005,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[30.970037,-17.5196167],\"properties\":{\"NAME\":\"Mazowe\",\"NAMEASCII\":\"Mazowe\",\"POP_MAX\":9966,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[31.5700004,-17.3196289],\"properties\":{\"NAME\":\"Shamva\",\"NAMEASCII\":\"Shamva\",\"POP_MAX\":10317,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[25.8400142,-17.9296175],\"properties\":{\"NAME\":\"Victoria Falls\",\"NAMEASCII\":\"Victoria Falls\",\"POP_MAX\":35761,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[30.0499898,-20.3295744],\"properties\":{\"NAME\":\"Zvishavane\",\"NAMEASCII\":\"Zvishavane\",\"POP_MAX\":35896,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.7999792,-18.9296081],\"properties\":{\"NAME\":\"Kwekwe\",\"NAMEASCII\":\"Kwekwe\",\"POP_MAX\":99149,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[27.8199967,-20.4795394],\"properties\":{\"NAME\":\"Plumtree\",\"NAMEASCII\":\"Plumtree\",\"POP_MAX\":2148,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.9899934,-22.2096146],\"properties\":{\"NAME\":\"Beitbridge\",\"NAMEASCII\":\"Beitbridge\",\"POP_MAX\":26459,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.0100016,-20.9396146],\"properties\":{\"NAME\":\"Gwanda\",\"NAMEASCII\":\"Gwanda\",\"POP_MAX\":14450,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[31.6600207,-21.0495821],\"properties\":{\"NAME\":\"Chiredzi\",\"NAMEASCII\":\"Chiredzi\",\"POP_MAX\":28205,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[30.8200203,-20.0596167],\"properties\":{\"NAME\":\"Masvingo\",\"NAMEASCII\":\"Masvingo\",\"POP_MAX\":76311,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.6799865,-16.8195561],\"properties\":{\"NAME\":\"Karoi\",\"NAMEASCII\":\"Karoi\",\"POP_MAX\":25030,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[30.1800077,-17.3596264],\"properties\":{\"NAME\":\"Chinhoyi\",\"NAMEASCII\":\"Chinhoyi\",\"POP_MAX\":61739,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[28.8000402,-16.5295996],\"properties\":{\"NAME\":\"Kariba\",\"NAMEASCII\":\"Kariba\",\"POP_MAX\":25531,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[31.9000061,-27.2961776],\"properties\":{\"NAME\":\"Golela\",\"NAMEASCII\":\"Golela\",\"POP_MAX\":3695,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[167.1766068,-15.5125557],\"properties\":{\"NAME\":\"Luganville\",\"NAMEASCII\":\"Luganville\",\"POP_MAX\":13397,\"ISO_A2\":\"VU\",\"SOV_A3\":\"VUT\"}},{\"type\":\"Point\",\"coordinates\":[-85.9600092,15.9103583],\"properties\":{\"NAME\":\"Trujillo\",\"NAMEASCII\":\"Trujillo\",\"POP_MAX\":9646,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-84.4799962,15.7504197],\"properties\":{\"NAME\":\"Brus Laguna\",\"NAMEASCII\":\"Brus Laguna\",\"POP_MAX\":4067,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-83.7716415,15.2620258],\"properties\":{\"NAME\":\"Puerto Lempira\",\"NAMEASCII\":\"Puerto Lempira\",\"POP_MAX\":4856,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-86.2299669,14.6704081],\"properties\":{\"NAME\":\"Juticalpa\",\"NAMEASCII\":\"Juticalpa\",\"POP_MAX\":37442,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-87.6499836,14.4603951],\"properties\":{\"NAME\":\"Comayagua\",\"NAMEASCII\":\"Comayagua\",\"POP_MAX\":71142,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-87.1908126,13.3006726],\"properties\":{\"NAME\":\"Choluteca\",\"NAMEASCII\":\"Choluteca\",\"POP_MAX\":99429,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-58.3800131,3.9003937],\"properties\":{\"NAME\":\"Kumaka\",\"NAMEASCII\":\"Kumaka\",\"POP_MAX\":2190,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-58.6300236,6.4104214],\"properties\":{\"NAME\":\"Bartica\",\"NAMEASCII\":\"Bartica\",\"POP_MAX\":11524,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-58.5000574,7.2704206],\"properties\":{\"NAME\":\"Anna Regina\",\"NAMEASCII\":\"Anna Regina\",\"POP_MAX\":3113,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-14.3949976,65.2674231],\"properties\":{\"NAME\":\"Egilsstaðir\",\"NAMEASCII\":\"Egilsstadir\",\"POP_MAX\":2265,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-19.6389928,65.746412],\"properties\":{\"NAME\":\"Sauðárkrókur\",\"NAMEASCII\":\"Saudarkrokur\",\"POP_MAX\":2682,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-20.996946,63.9334219],\"properties\":{\"NAME\":\"Selfoss\",\"NAMEASCII\":\"Selfoss\",\"POP_MAX\":6275,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-1.6985116,37.6885639],\"properties\":{\"NAME\":\"Lorca\",\"NAMEASCII\":\"Lorca\",\"POP_MAX\":86119,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-0.9800283,37.6004297],\"properties\":{\"NAME\":\"Cartagena\",\"NAMEASCII\":\"Cartagena\",\"POP_MAX\":201274,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.8299907,43.3504922],\"properties\":{\"NAME\":\"Oviedo\",\"NAMEASCII\":\"Oviedo\",\"POP_MAX\":235651,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-8.5410914,42.882898],\"properties\":{\"NAME\":\"Santiago de Compostela\",\"NAMEASCII\":\"Santiago de Compostela\",\"POP_MAX\":92430,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-6.9699728,38.8804291],\"properties\":{\"NAME\":\"Badajoz\",\"NAMEASCII\":\"Badajoz\",\"POP_MAX\":140133,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-2.4299915,42.470365],\"properties\":{\"NAME\":\"Logroño\",\"NAMEASCII\":\"Logrono\",\"POP_MAX\":143698,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-1.9799931,43.3203906],\"properties\":{\"NAME\":\"San Sebastián\",\"NAMEASCII\":\"San Sebastian\",\"POP_MAX\":357468,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[29.4769498,4.9151121],\"properties\":{\"NAME\":\"Maridi\",\"NAMEASCII\":\"Maridi\",\"POP_MAX\":14224,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[30.6800288,4.0903821],\"properties\":{\"NAME\":\"Yei\",\"NAMEASCII\":\"Yei\",\"POP_MAX\":185000,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[32.2000394,10.43369],\"properties\":{\"NAME\":\"Melut\",\"NAMEASCII\":\"Melut\",\"POP_MAX\":6407,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[33.0666015,8.6003911],\"properties\":{\"NAME\":\"Nasir\",\"NAMEASCII\":\"Nasir\",\"POP_MAX\":1741,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[28.1166711,8.5337285],\"properties\":{\"NAME\":\"Gogrial\",\"NAMEASCII\":\"Gogrial\",\"POP_MAX\":50065,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[32.9799918,14.2503821],\"properties\":{\"NAME\":\"El Manaqil\",\"NAMEASCII\":\"El Manaqil\",\"POP_MAX\":151827,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.4200166,16.6804922],\"properties\":{\"NAME\":\"Shendi\",\"NAMEASCII\":\"Shendi\",\"POP_MAX\":186611,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.9832898,18.0170256],\"properties\":{\"NAME\":\"Berber\",\"NAMEASCII\":\"Berber\",\"POP_MAX\":49556,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[30.4165824,19.6336969],\"properties\":{\"NAME\":\"Kerma\",\"NAMEASCII\":\"Kerma\",\"POP_MAX\":3928,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[32.2999816,13.990398],\"properties\":{\"NAME\":\"Ed Dueim\",\"NAMEASCII\":\"Ed Dueim\",\"POP_MAX\":87068,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[31.1999971,12.910438],\"properties\":{\"NAME\":\"Umm Ruwaba\",\"NAMEASCII\":\"Umm Ruwaba\",\"POP_MAX\":55742,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.5902388,4.7721234],\"properties\":{\"NAME\":\"Kapoeta\",\"NAMEASCII\":\"Kapoeta\",\"POP_MAX\":7042,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[-73.7499793,18.2003736],\"properties\":{\"NAME\":\"Les Cayes\",\"NAMEASCII\":\"Les Cayes\",\"POP_MAX\":175457,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-72.6832485,19.4504265],\"properties\":{\"NAME\":\"Gonaïves\",\"NAMEASCII\":\"Gonaives\",\"POP_MAX\":166678,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-4.6166797,55.4503996],\"properties\":{\"NAME\":\"Ayr\",\"NAMEASCII\":\"Ayr\",\"POP_MAX\":69042,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.105049991692299,57.145133499698055],\"properties\":{\"NAME\":\"Aberdeen\",\"NAMEASCII\":\"Aberdeen\",\"POP_MAX\":189364,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.43637522000611,56.3926089503458],\"properties\":{\"NAME\":\"Perth\",\"NAMEASCII\":\"Perth\",\"POP_MAX\":39654,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.0000084,56.470389],\"properties\":{\"NAME\":\"Dundee\",\"NAMEASCII\":\"Dundee\",\"POP_MAX\":151592,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.2300131,54.5803752],\"properties\":{\"NAME\":\"Middlesbrough\",\"NAMEASCII\":\"Middlesbrough\",\"POP_MAX\":416042,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.502674527924457,52.40074087605872],\"properties\":{\"NAME\":\"Coventry\",\"NAMEASCII\":\"Coventry\",\"POP_MAX\":388271,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.3500222,51.3837486],\"properties\":{\"NAME\":\"Bath\",\"NAMEASCII\":\"Bath\",\"POP_MAX\":93238,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.5299502,50.7004053],\"properties\":{\"NAME\":\"Exeter\",\"NAMEASCII\":\"Exeter\",\"POP_MAX\":113118,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[0.1166231,52.2003913],\"properties\":{\"NAME\":\"Cambridge\",\"NAMEASCII\":\"Cambridge\",\"POP_MAX\":128488,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-0.3299905,53.7504258],\"properties\":{\"NAME\":\"Kingston upon Hull\",\"NAMEASCII\":\"Kingston upon Hull\",\"POP_MAX\":302296,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-7.3332839,55.0003754],\"properties\":{\"NAME\":\"Londonderry/Derry\",\"NAMEASCII\":\"Londonderry\",\"POP_MAX\":83652,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-6.047722990732365,54.51034008127803],\"properties\":{\"NAME\":\"Lisburn\",\"NAMEASCII\":\"Lisburn\",\"POP_MAX\":12899,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-5.5500336,50.1337215],\"properties\":{\"NAME\":\"Penzance\",\"NAMEASCII\":\"Penzance\",\"POP_MAX\":20812,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.072104058604134,53.9511680622694],\"properties\":{\"NAME\":\"York\",\"NAMEASCII\":\"York\",\"POP_MAX\":158947,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.0500053,53.8303951],\"properties\":{\"NAME\":\"Blackpool\",\"NAMEASCII\":\"Blackpool\",\"POP_MAX\":272792,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.5500007,55.0670897],\"properties\":{\"NAME\":\"Dumfries\",\"NAMEASCII\":\"Dumfries\",\"POP_MAX\":31044,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-0.4299844,54.2803935],\"properties\":{\"NAME\":\"Scarborough\",\"NAMEASCII\":\"Scarborough\",\"POP_MAX\":70571,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-4.1599893,50.3853858],\"properties\":{\"NAME\":\"Plymouth\",\"NAMEASCII\":\"Plymouth\",\"POP_MAX\":247297,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[27.4102543,37.7512215],\"properties\":{\"NAME\":\"Söke\",\"NAMEASCII\":\"Soke\",\"POP_MAX\":77341,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[27.8900183,39.6503821],\"properties\":{\"NAME\":\"Balıkesir\",\"NAMEASCII\":\"Balikesir\",\"POP_MAX\":261516,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[26.4063879,40.1459332],\"properties\":{\"NAME\":\"Çanakkale\",\"NAMEASCII\":\"Canakkale\",\"POP_MAX\":87791,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[26.5699955,41.6704397],\"properties\":{\"NAME\":\"Edirne\",\"NAMEASCII\":\"Edirne\",\"POP_MAX\":126470,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[27.5099898,40.9908688],\"properties\":{\"NAME\":\"Tekirdağ\",\"NAMEASCII\":\"Tekirdag\",\"POP_MAX\":122287,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.9306172,40.776024],\"properties\":{\"NAME\":\"İzmit\",\"NAMEASCII\":\"Izmit\",\"POP_MAX\":466504,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[31.6061222,40.736259],\"properties\":{\"NAME\":\"Bolu\",\"NAMEASCII\":\"Bolu\",\"POP_MAX\":96629,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.5500109,38.7503854],\"properties\":{\"NAME\":\"Afyon\",\"NAMEASCII\":\"Afyon\",\"POP_MAX\":156992,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.0800232,37.7703935],\"properties\":{\"NAME\":\"Denizli\",\"NAMEASCII\":\"Denizli\",\"POP_MAX\":372344,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[27.4399682,38.6303927],\"properties\":{\"NAME\":\"Manisa\",\"NAMEASCII\":\"Manisa\",\"POP_MAX\":243971,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[38.2799267,37.7703935],\"properties\":{\"NAME\":\"Adıyaman\",\"NAMEASCII\":\"Adiyaman\",\"POP_MAX\":223744,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[38.3000288,38.3704344],\"properties\":{\"NAME\":\"Malatya\",\"NAMEASCII\":\"Malatya\",\"POP_MAX\":461574,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.8799792,36.9203937],\"properties\":{\"NAME\":\"Tarsus\",\"NAMEASCII\":\"Tarsus\",\"POP_MAX\":894318,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.9332999,36.1170577],\"properties\":{\"NAME\":\"Samandagi\",\"NAMEASCII\":\"Samandagi\",\"POP_MAX\":93638,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[36.1700297,36.5804144],\"properties\":{\"NAME\":\"İskenderun\",\"NAMEASCII\":\"Iskenderun\",\"POP_MAX\":297943,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.8330476,40.65368],\"properties\":{\"NAME\":\"Amasya\",\"NAMEASCII\":\"Amasya\",\"POP_MAX\":82896,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[37.8699259,41.0004289],\"properties\":{\"NAME\":\"Ordu\",\"NAMEASCII\":\"Ordu\",\"POP_MAX\":155117,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[37.0349898,39.7454151],\"properties\":{\"NAME\":\"Sivas\",\"NAMEASCII\":\"Sivas\",\"POP_MAX\":264022,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.9068933,41.568172],\"properties\":{\"NAME\":\"Bafra\",\"NAMEASCII\":\"Bafra\",\"POP_MAX\":97452,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.2900272,39.9203915],\"properties\":{\"NAME\":\"Erzurum\",\"NAMEASCII\":\"Erzurum\",\"POP_MAX\":420691,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[39.4927726,39.7526498],\"properties\":{\"NAME\":\"Erzincan\",\"NAMEASCII\":\"Erzincan\",\"POP_MAX\":129407,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[43.0513151,39.7198352],\"properties\":{\"NAME\":\"Ağrı\",\"NAMEASCII\":\"Agri\",\"POP_MAX\":87854,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[40.2300402,37.920436],\"properties\":{\"NAME\":\"Diyarbakır\",\"NAMEASCII\":\"Diyarbakir\",\"POP_MAX\":644763,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.4969397,38.7490159],\"properties\":{\"NAME\":\"Muş\",\"NAMEASCII\":\"Mus\",\"POP_MAX\":82536,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[1.1699955,52.0703475],\"properties\":{\"NAME\":\"Ipswich\",\"NAMEASCII\":\"Ipswich\",\"POP_MAX\":143767,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[1.3000134,52.630365],\"properties\":{\"NAME\":\"Norwich\",\"NAMEASCII\":\"Norwich\",\"POP_MAX\":190756,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[81.7000154,7.7170083],\"properties\":{\"NAME\":\"Batticaloa\",\"NAMEASCII\":\"Batticaloa\",\"POP_MAX\":129222,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[80.3999397,9.4004197],\"properties\":{\"NAME\":\"Kilinochchi\",\"NAMEASCII\":\"Kilinochchi\",\"POP_MAX\":103717,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[80.5427734,5.9489767],\"properties\":{\"NAME\":\"Matara\",\"NAMEASCII\":\"Matara\",\"POP_MAX\":68244,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[81.0499259,6.9836939],\"properties\":{\"NAME\":\"Badulla\",\"NAMEASCII\":\"Badulla\",\"POP_MAX\":47587,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[79.8800232,6.7803988],\"properties\":{\"NAME\":\"Moratuwa\",\"NAMEASCII\":\"Moratuwa\",\"POP_MAX\":200000,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[127.7458353,34.7367802],\"properties\":{\"NAME\":\"Yeosu\",\"NAMEASCII\":\"Yeosu\",\"POP_MAX\":341994,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[128.7250004,36.5659192],\"properties\":{\"NAME\":\"Andong\",\"NAMEASCII\":\"Andong\",\"POP_MAX\":129319,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.5219307,33.5101367],\"properties\":{\"NAME\":\"Jeju\",\"NAMEASCII\":\"Jeju\",\"POP_MAX\":408364,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[-0.1699744,50.8303457],\"properties\":{\"NAME\":\"Brighton\",\"NAMEASCII\":\"Brighton\",\"POP_MAX\":503008,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.9500114,58.9669808],\"properties\":{\"NAME\":\"Kirkwall\",\"NAMEASCII\":\"Kirkwall\",\"POP_MAX\":8500,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-4.2332664,57.467124],\"properties\":{\"NAME\":\"Inverness\",\"NAMEASCII\":\"Inverness\",\"POP_MAX\":45158,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.248076337369831,51.751827978066444],\"properties\":{\"NAME\":\"Oxford\",\"NAMEASCII\":\"Oxford\",\"POP_MAX\":192796,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-0.4200108,51.8803591],\"properties\":{\"NAME\":\"Luton\",\"NAMEASCII\":\"Luton\",\"POP_MAX\":235958,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.0800222,50.8003475],\"properties\":{\"NAME\":\"Portsmouth\",\"NAMEASCII\":\"Portsmouth\",\"POP_MAX\":442252,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-0.248404030339169,52.567187150649296],\"properties\":{\"NAME\":\"Peterborough\",\"NAMEASCII\":\"Peterborough\",\"POP_MAX\":140141,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.165706334543335,52.941084202004],\"properties\":{\"NAME\":\"Nottingham\",\"NAMEASCII\":\"Nottingham\",\"POP_MAX\":825600,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.1800068,53.0003683],\"properties\":{\"NAME\":\"Stoke\",\"NAMEASCII\":\"Stoke\",\"POP_MAX\":390801,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[31.7800134,41.4303768],\"properties\":{\"NAME\":\"Zonguldak\",\"NAMEASCII\":\"Zonguldak\",\"POP_MAX\":156918,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[34.0516577,37.5062752],\"properties\":{\"NAME\":\"Ereğli\",\"NAMEASCII\":\"Eregli\",\"POP_MAX\":92117,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[33.2150162,37.1815405],\"properties\":{\"NAME\":\"Karaman\",\"NAMEASCII\":\"Karaman\",\"POP_MAX\":120399,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.4200024,38.6803638],\"properties\":{\"NAME\":\"Uşak\",\"NAMEASCII\":\"Usak\",\"POP_MAX\":152862,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[37.1199975,36.7204059],\"properties\":{\"NAME\":\"Kilis\",\"NAMEASCII\":\"Kilis\",\"POP_MAX\":82301,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[33.5299841,39.8503699],\"properties\":{\"NAME\":\"Kırıkkale\",\"NAMEASCII\":\"Kirikkale\",\"POP_MAX\":211138,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[43.0974621,40.6084632],\"properties\":{\"NAME\":\"Kars\",\"NAMEASCII\":\"Kars\",\"POP_MAX\":77486,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[40.7427221,37.3115068],\"properties\":{\"NAME\":\"Mardin\",\"NAMEASCII\":\"Mardin\",\"POP_MAX\":71373,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[41.1400105,37.890412],\"properties\":{\"NAME\":\"Batman\",\"NAMEASCII\":\"Batman\",\"POP_MAX\":302074,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[43.399976,38.4954397],\"properties\":{\"NAME\":\"Van\",\"NAMEASCII\":\"Van\",\"POP_MAX\":371713,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.8235909,33.1256641],\"properties\":{\"NAME\":\"Al Qunaytirah\",\"NAMEASCII\":\"Al Qunaytirah\",\"POP_MAX\":4318,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[33.1999267,0.440424],\"properties\":{\"NAME\":\"Jinja\",\"NAMEASCII\":\"Jinja\",\"POP_MAX\":301619,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[33.6000057,1.7103982],\"properties\":{\"NAME\":\"Soroti\",\"NAMEASCII\":\"Soroti\",\"POP_MAX\":1038,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[30.9000154,3.0203699],\"properties\":{\"NAME\":\"Arua\",\"NAMEASCII\":\"Arua\",\"POP_MAX\":250000,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.47998,2.4703776],\"properties\":{\"NAME\":\"Pakwach\",\"NAMEASCII\":\"Pakwach\",\"POP_MAX\":17541,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.720017,3.650409],\"properties\":{\"NAME\":\"Moyo\",\"NAMEASCII\":\"Moyo\",\"POP_MAX\":22434,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.4600236,0.0603955],\"properties\":{\"NAME\":\"Entebbe\",\"NAMEASCII\":\"Entebbe\",\"POP_MAX\":175128,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[31.3700126,0.5904407],\"properties\":{\"NAME\":\"Mubende\",\"NAMEASCII\":\"Mubende\",\"POP_MAX\":18936,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.0500227,0.4004265],\"properties\":{\"NAME\":\"Mityana\",\"NAMEASCII\":\"Mityana\",\"POP_MAX\":41131,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.8700244,3.3004045],\"properties\":{\"NAME\":\"Kitgum\",\"NAMEASCII\":\"Kitgum\",\"POP_MAX\":56891,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.8900232,2.2603904],\"properties\":{\"NAME\":\"Lira\",\"NAMEASCII\":\"Lira\",\"POP_MAX\":135445,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[32.0699182,1.7003988],\"properties\":{\"NAME\":\"Masindi-Port\",\"NAMEASCII\":\"Masindi-Port\",\"POP_MAX\":8319,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.1699967,1.0904102],\"properties\":{\"NAME\":\"Mbale\",\"NAMEASCII\":\"Mbale\",\"POP_MAX\":402368,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.1699967,0.7103817],\"properties\":{\"NAME\":\"Tororo\",\"NAMEASCII\":\"Tororo\",\"POP_MAX\":150000,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.1200256,3.5203911],\"properties\":{\"NAME\":\"Kaabong\",\"NAMEASCII\":\"Kaabong\",\"POP_MAX\":1137,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[34.6399939,2.5403475],\"properties\":{\"NAME\":\"Moroto\",\"NAMEASCII\":\"Moroto\",\"POP_MAX\":371,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[18.2200142,46.0804289],\"properties\":{\"NAME\":\"Pécs\",\"NAMEASCII\":\"Pecs\",\"POP_MAX\":186262,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[17.6300244,47.7003559],\"properties\":{\"NAME\":\"Győr\",\"NAMEASCII\":\"Gyor\",\"POP_MAX\":136081,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[17.7999882,46.3670264],\"properties\":{\"NAME\":\"Kaposvár\",\"NAMEASCII\":\"Kaposvar\",\"POP_MAX\":108528,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[19.1332401,47.7836583],\"properties\":{\"NAME\":\"Vác\",\"NAMEASCII\":\"Vac\",\"POP_MAX\":35293,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[20.780013,48.100409],\"properties\":{\"NAME\":\"Miskolc\",\"NAMEASCII\":\"Miskolc\",\"POP_MAX\":247757,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[20.1500256,46.2503927],\"properties\":{\"NAME\":\"Szeged\",\"NAMEASCII\":\"Szeged\",\"POP_MAX\":187765,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[21.6300386,47.5304696],\"properties\":{\"NAME\":\"Debrecen\",\"NAMEASCII\":\"Debrecen\",\"POP_MAX\":231286,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[20.1793778,47.1863562],\"properties\":{\"NAME\":\"Szolnok\",\"NAMEASCII\":\"Szolnok\",\"POP_MAX\":109261,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[32.7749397,-9.2846155],\"properties\":{\"NAME\":\"Tunduma\",\"NAMEASCII\":\"Tunduma\",\"POP_MAX\":36556,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[33.6400032,-9.2495788],\"properties\":{\"NAME\":\"Tukuyu\",\"NAMEASCII\":\"Tukuyu\",\"POP_MAX\":127570,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[31.6200232,-7.9595801],\"properties\":{\"NAME\":\"Sumbawanga\",\"NAMEASCII\":\"Sumbawanga\",\"POP_MAX\":89161,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[31.0500321,-6.3595744],\"properties\":{\"NAME\":\"Mpanda\",\"NAMEASCII\":\"Mpanda\",\"POP_MAX\":73338,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.5999821,-7.4328939],\"properties\":{\"NAME\":\"Kipili\",\"NAMEASCII\":\"Kipili\",\"POP_MAX\":1533,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.4332739,-6.8161873],\"properties\":{\"NAME\":\"Karema\",\"NAMEASCII\":\"Karema\",\"POP_MAX\":16385,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[32.1666048,-2.8661959],\"properties\":{\"NAME\":\"Geita\",\"NAMEASCII\":\"Geita\",\"POP_MAX\":1536,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[33.5500345,-2.3829179],\"properties\":{\"NAME\":\"Nyahanga\",\"NAMEASCII\":\"Nyahanga\",\"POP_MAX\":16092,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[32.5800162,-3.8195744],\"properties\":{\"NAME\":\"Kahama\",\"NAMEASCII\":\"Kahama\",\"POP_MAX\":36014,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[33.4200166,-3.6595841],\"properties\":{\"NAME\":\"Shinyanga\",\"NAMEASCII\":\"Shinyanga\",\"POP_MAX\":107362,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[33.1800313,-4.2096281],\"properties\":{\"NAME\":\"Nzega\",\"NAMEASCII\":\"Nzega\",\"POP_MAX\":26584,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[32.7700305,-5.6295414],\"properties\":{\"NAME\":\"Sikonge\",\"NAMEASCII\":\"Sikonge\",\"POP_MAX\":27113,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[31.3100162,-2.6296212],\"properties\":{\"NAME\":\"Biharamulo\",\"NAMEASCII\":\"Biharamulo\",\"POP_MAX\":34038,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[31.7999605,-1.3196236],\"properties\":{\"NAME\":\"Bukoba\",\"NAMEASCII\":\"Bukoba\",\"POP_MAX\":100504,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.6500048,-2.4695276],\"properties\":{\"NAME\":\"Ngara\",\"NAMEASCII\":\"Ngara\",\"POP_MAX\":16890,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[31.7299906,-0.3296065],\"properties\":{\"NAME\":\"Masaka\",\"NAMEASCII\":\"Masaka\",\"POP_MAX\":65373,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[30.9600118,-3.2796073],\"properties\":{\"NAME\":\"Kakonko\",\"NAMEASCII\":\"Kakonko\",\"POP_MAX\":24688,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.1000126,-4.5795797],\"properties\":{\"NAME\":\"Kasulu\",\"NAMEASCII\":\"Kasulu\",\"POP_MAX\":37349,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.2613981,-4.4565381],\"properties\":{\"NAME\":\"Kanyato\",\"NAMEASCII\":\"Kanyato\",\"POP_MAX\":232,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[30.3900207,-5.1195984],\"properties\":{\"NAME\":\"Uvinza\",\"NAMEASCII\":\"Uvinza\",\"POP_MAX\":80350,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[29.6100166,-4.879613],\"properties\":{\"NAME\":\"Kigoma\",\"NAMEASCII\":\"Kigoma\",\"POP_MAX\":164268,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[29.9200236,-0.1296187],\"properties\":{\"NAME\":\"Katwe\",\"NAMEASCII\":\"Katwe\",\"POP_MAX\":1957,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[30.6500048,-0.5996159],\"properties\":{\"NAME\":\"Mbarara\",\"NAMEASCII\":\"Mbarara\",\"POP_MAX\":83700,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[29.9799682,-1.249602],\"properties\":{\"NAME\":\"Kabale\",\"NAMEASCII\":\"Kabale\",\"POP_MAX\":44600,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[36.9800061,-7.3996142],\"properties\":{\"NAME\":\"Mikumi\",\"NAMEASCII\":\"Mikumi\",\"POP_MAX\":16780,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[36.6800244,-8.1295955],\"properties\":{\"NAME\":\"Ifakara\",\"NAMEASCII\":\"Ifakara\",\"POP_MAX\":49528,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[36.9900313,-6.8395967],\"properties\":{\"NAME\":\"Kilosa\",\"NAMEASCII\":\"Kilosa\",\"POP_MAX\":91889,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[39.7700166,-5.2395394],\"properties\":{\"NAME\":\"Chake Chake\",\"NAMEASCII\":\"Chake Chake\",\"POP_MAX\":49959,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[38.950015,-7.7296199],\"properties\":{\"NAME\":\"Kibiti\",\"NAMEASCII\":\"Kibiti\",\"POP_MAX\":30163,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[38.8900187,-6.4396212],\"properties\":{\"NAME\":\"Bagamoyo\",\"NAMEASCII\":\"Bagamoyo\",\"POP_MAX\":82426,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[39.650024,-7.9162752],\"properties\":{\"NAME\":\"Kilindoni\",\"NAMEASCII\":\"Kilindoni\",\"POP_MAX\":12409,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[36.4799849,-6.3496008],\"properties\":{\"NAME\":\"Mpwapwa\",\"NAMEASCII\":\"Mpwapwa\",\"POP_MAX\":19806,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[34.7700118,-9.3296256],\"properties\":{\"NAME\":\"Njombe\",\"NAMEASCII\":\"Njombe\",\"POP_MAX\":46724,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.6900073,-7.7696175],\"properties\":{\"NAME\":\"Iringa\",\"NAMEASCII\":\"Iringa\",\"POP_MAX\":111820,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[38.7999467,-10.7295919],\"properties\":{\"NAME\":\"Masasi\",\"NAMEASCII\":\"Masasi\",\"POP_MAX\":36032,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[40.189991,-10.2696199],\"properties\":{\"NAME\":\"Mtwara\",\"NAMEASCII\":\"Mtwara\",\"POP_MAX\":96602,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[37.3700081,-11.0895699],\"properties\":{\"NAME\":\"Tunduru\",\"NAMEASCII\":\"Tunduru\",\"POP_MAX\":600,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[34.7666011,-11.2829431],\"properties\":{\"NAME\":\"Mbamba Bay\",\"NAMEASCII\":\"Mbamba Bay\",\"POP_MAX\":8997,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[34.9000297,-5.7796098],\"properties\":{\"NAME\":\"Manyoni\",\"NAMEASCII\":\"Manyoni\",\"POP_MAX\":310,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[34.4800036,-5.6996146],\"properties\":{\"NAME\":\"Itigi\",\"NAMEASCII\":\"Itigi\",\"POP_MAX\":19711,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[34.7400394,-4.8196167],\"properties\":{\"NAME\":\"Singida\",\"NAMEASCII\":\"Singida\",\"POP_MAX\":62432,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.5199918,-3.2495833],\"properties\":{\"NAME\":\"Ngorongoro\",\"NAMEASCII\":\"Ngorongoro\",\"POP_MAX\":10836,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.5500158,-3.3496289],\"properties\":{\"NAME\":\"Oldeani\",\"NAMEASCII\":\"Oldeani\",\"POP_MAX\":8000,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.530017,-3.8495984],\"properties\":{\"NAME\":\"Mbulu\",\"NAMEASCII\":\"Mbulu\",\"POP_MAX\":13430,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.7500036,-4.2195499],\"properties\":{\"NAME\":\"Babati\",\"NAMEASCII\":\"Babati\",\"POP_MAX\":34291,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[37.7200126,-4.0695849],\"properties\":{\"NAME\":\"Same\",\"NAMEASCII\":\"Same\",\"POP_MAX\":17455,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[37.3399841,-3.3396037],\"properties\":{\"NAME\":\"Moshi\",\"NAMEASCII\":\"Moshi\",\"POP_MAX\":721018,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[33.7999934,-1.4895874],\"properties\":{\"NAME\":\"Musoma\",\"NAMEASCII\":\"Musoma\",\"POP_MAX\":133156,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[38.5400142,-5.0895744],\"properties\":{\"NAME\":\"Korogwe\",\"NAMEASCII\":\"Korogwe\",\"POP_MAX\":50000,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[1.3000134,51.1337122],\"properties\":{\"NAME\":\"Dover\",\"NAMEASCII\":\"Dover\",\"POP_MAX\":36384,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[6.6500227,46.5304273],\"properties\":{\"NAME\":\"Lausanne\",\"NAMEASCII\":\"Lausanne\",\"POP_MAX\":265702,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[7.590017,47.580389],\"properties\":{\"NAME\":\"Basel\",\"NAMEASCII\":\"Basel\",\"POP_MAX\":830000,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[12.2999621,58.2671011],\"properties\":{\"NAME\":\"Trollhättan\",\"NAMEASCII\":\"Trollhattan\",\"POP_MAX\":44543,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[12.939247443030592,57.717756121714984],\"properties\":{\"NAME\":\"Borås\",\"NAMEASCII\":\"Boras\",\"POP_MAX\":65008,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[14.1332869,56.0336715],\"properties\":{\"NAME\":\"Kristianstad\",\"NAMEASCII\":\"Kristianstad\",\"POP_MAX\":32188,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[12.723269742553532,56.041291180968074],\"properties\":{\"NAME\":\"Helsingborg\",\"NAMEASCII\":\"Helsingborg\",\"POP_MAX\":91304,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[-0.4836407,38.3512199],\"properties\":{\"NAME\":\"Alicante\",\"NAMEASCII\":\"Alicante\",\"POP_MAX\":315863,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-0.0500076,39.9704142],\"properties\":{\"NAME\":\"Castello\",\"NAMEASCII\":\"Castello\",\"POP_MAX\":180610,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[28.4200118,12.6904256],\"properties\":{\"NAME\":\"En Nuhud\",\"NAMEASCII\":\"En Nuhud\",\"POP_MAX\":108008,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[27.7333353,11.0337309],\"properties\":{\"NAME\":\"Muglad\",\"NAMEASCII\":\"Muglad\",\"POP_MAX\":19997,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[29.7400345,-2.3495866],\"properties\":{\"NAME\":\"Nyanza\",\"NAMEASCII\":\"Nyanza\",\"POP_MAX\":225209,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[29.7599816,-2.0696037],\"properties\":{\"NAME\":\"Gitarama\",\"NAMEASCII\":\"Gitarama\",\"POP_MAX\":87613,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[29.7300093,-2.5896236],\"properties\":{\"NAME\":\"Butare\",\"NAMEASCII\":\"Butare\",\"POP_MAX\":77000,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[29.262906,-1.6846659],\"properties\":{\"NAME\":\"Gisenyi\",\"NAMEASCII\":\"Gisenyi\",\"POP_MAX\":83623,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[28.8999825,-2.4796045],\"properties\":{\"NAME\":\"Cyangugu\",\"NAMEASCII\":\"Cyangugu\",\"POP_MAX\":19900,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[30.060015,-1.5795561],\"properties\":{\"NAME\":\"Byumba\",\"NAMEASCII\":\"Byumba\",\"POP_MAX\":70593,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[29.6300154,-1.4996126],\"properties\":{\"NAME\":\"Ruhengeri\",\"NAMEASCII\":\"Ruhengeri\",\"POP_MAX\":86685,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[-85.8199919,11.4403727],\"properties\":{\"NAME\":\"Rivas\",\"NAMEASCII\":\"Rivas\",\"POP_MAX\":31941,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-83.6999921,10.9204045],\"properties\":{\"NAME\":\"San Juan de Nicaragua\",\"NAMEASCII\":\"San Juan de Nicaragua\",\"POP_MAX\":1000,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[10.2700085,13.9874007],\"properties\":{\"NAME\":\"Gouré\",\"NAMEASCII\":\"Goure\",\"POP_MAX\":14639,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[3.4466524,11.8881749],\"properties\":{\"NAME\":\"Gaya\",\"NAMEASCII\":\"Gaya\",\"POP_MAX\":33051,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[1.453079,14.2120382],\"properties\":{\"NAME\":\"Tillabéri\",\"NAMEASCII\":\"Tillaberi\",\"POP_MAX\":19262,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[0.9194681,14.7317997],\"properties\":{\"NAME\":\"Ayorou\",\"NAMEASCII\":\"Ayorou\",\"POP_MAX\":26290,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[5.2599267,13.790436],\"properties\":{\"NAME\":\"Birni Nkonni\",\"NAMEASCII\":\"Birni Nkonni\",\"POP_MAX\":65252,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[5.9585921,14.0761808],\"properties\":{\"NAME\":\"Madaoua\",\"NAMEASCII\":\"Madaoua\",\"POP_MAX\":24804,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[23.8258736,44.3262724],\"properties\":{\"NAME\":\"Craiova\",\"NAMEASCII\":\"Craiova\",\"POP_MAX\":304142,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[27.3259183,44.2062797],\"properties\":{\"NAME\":\"Călărași\",\"NAMEASCII\":\"Calarasi\",\"POP_MAX\":73224,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[15.6500419,46.5404783],\"properties\":{\"NAME\":\"Maribor\",\"NAMEASCII\":\"Maribor\",\"POP_MAX\":114228,\"ISO_A2\":\"SI\",\"SOV_A3\":\"SVN\"}},{\"type\":\"Point\",\"coordinates\":[21.8865087,45.2969625],\"properties\":{\"NAME\":\"Reșița\",\"NAMEASCII\":\"Resita\",\"POP_MAX\":83324,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[21.2234484,45.7588206],\"properties\":{\"NAME\":\"Timișoara\",\"NAMEASCII\":\"Timisoara\",\"POP_MAX\":315053,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.6596541,47.7484149],\"properties\":{\"NAME\":\"Botoșani\",\"NAMEASCII\":\"Botosani\",\"POP_MAX\":114783,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[23.5790669,47.659454],\"properties\":{\"NAME\":\"Baia Mare\",\"NAMEASCII\":\"Baia Mare\",\"POP_MAX\":136553,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.5578186,46.5582033],\"properties\":{\"NAME\":\"Tirgu Mures\",\"NAMEASCII\":\"Tirgu Mures\",\"POP_MAX\":149433,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[24.8758353,44.8563176],\"properties\":{\"NAME\":\"Pitești\",\"NAMEASCII\":\"Pitesti\",\"POP_MAX\":171021,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[25.6071602,45.6475354],\"properties\":{\"NAME\":\"Brașov\",\"NAMEASCII\":\"Brasov\",\"POP_MAX\":311044,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.036488,44.9469064],\"properties\":{\"NAME\":\"Ploiești\",\"NAMEASCII\":\"Ploiesti\",\"POP_MAX\":232542,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[26.9196382,46.5784347],\"properties\":{\"NAME\":\"Bacău\",\"NAMEASCII\":\"Bacau\",\"POP_MAX\":199668,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[-79.9299897,-6.8296232],\"properties\":{\"NAME\":\"Pimentel\",\"NAMEASCII\":\"Pimentel\",\"POP_MAX\":15552,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-79.7499748,-5.9795976],\"properties\":{\"NAME\":\"Olmos\",\"NAMEASCII\":\"Olmos\",\"POP_MAX\":9800,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-80.819987,-5.5596232],\"properties\":{\"NAME\":\"Sechura\",\"NAMEASCII\":\"Sechura\",\"POP_MAX\":23020,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-80.1700009,-5.0895744],\"properties\":{\"NAME\":\"Chulucanas\",\"NAMEASCII\":\"Chulucanas\",\"POP_MAX\":68835,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-80.6799956,-4.8895866],\"properties\":{\"NAME\":\"Sullana\",\"NAMEASCII\":\"Sullana\",\"POP_MAX\":160789,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-72.8900059,-13.6395951],\"properties\":{\"NAME\":\"Abancay\",\"NAMEASCII\":\"Abancay\",\"POP_MAX\":55111,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-72.7199905,-16.6196199],\"properties\":{\"NAME\":\"Camaná\",\"NAMEASCII\":\"Camana\",\"POP_MAX\":20956,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-71.2299781,-14.2895813],\"properties\":{\"NAME\":\"Sicuani\",\"NAMEASCII\":\"Sicuani\",\"POP_MAX\":33575,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.0333069,-15.8329496],\"properties\":{\"NAME\":\"Puno\",\"NAMEASCII\":\"Puno\",\"POP_MAX\":116552,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.5999907,-14.8795711],\"properties\":{\"NAME\":\"Ayaviri\",\"NAMEASCII\":\"Ayaviri\",\"POP_MAX\":19310,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-69.6699958,-16.0796012],\"properties\":{\"NAME\":\"Ilave\",\"NAMEASCII\":\"Ilave\",\"POP_MAX\":16033,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-69.0449952,-16.5645845],\"properties\":{\"NAME\":\"Desaguadero\",\"NAMEASCII\":\"Desaguadero\",\"POP_MAX\":5329,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.1599943,-10.0695805],\"properties\":{\"NAME\":\"Huarmey\",\"NAMEASCII\":\"Huarmey\",\"POP_MAX\":16172,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.0400017,-7.6196008],\"properties\":{\"NAME\":\"Cajabamba\",\"NAMEASCII\":\"Cajabamba\",\"POP_MAX\":13486,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.8099805,-5.7095882],\"properties\":{\"NAME\":\"Jaén\",\"NAMEASCII\":\"Jaen\",\"POP_MAX\":52493,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.650042,-6.5495886],\"properties\":{\"NAME\":\"Chota\",\"NAMEASCII\":\"Chota\",\"POP_MAX\":14240,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.9899976,-9.2896281],\"properties\":{\"NAME\":\"Tingo María\",\"NAMEASCII\":\"Tingo Maria\",\"POP_MAX\":53177,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.9666563,-6.0496191],\"properties\":{\"NAME\":\"Moyobamba\",\"NAMEASCII\":\"Moyobamba\",\"POP_MAX\":47734,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.7399777,-7.1696024],\"properties\":{\"NAME\":\"Juanjuí\",\"NAMEASCII\":\"Juanjui\",\"POP_MAX\":37715,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.5200169,-8.1796183],\"properties\":{\"NAME\":\"Tocache\",\"NAMEASCII\":\"Tocache\",\"POP_MAX\":29029,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.870012,-6.2296081],\"properties\":{\"NAME\":\"Chachapoyas\",\"NAMEASCII\":\"Chachapoyas\",\"POP_MAX\":25978,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.5083425,-3.916261],\"properties\":{\"NAME\":\"Caballococha\",\"NAMEASCII\":\"Caballococha\",\"POP_MAX\":3195,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-71.9166803,-2.3327917],\"properties\":{\"NAME\":\"Puca Urco\",\"NAMEASCII\":\"Puca Urco\",\"POP_MAX\":10,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.4024789,-2.9020593],\"properties\":{\"NAME\":\"Andoas\",\"NAMEASCII\":\"Andoas\",\"POP_MAX\":10,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.7666004,-2.5161397],\"properties\":{\"NAME\":\"Soldado Bartra\",\"NAMEASCII\":\"Soldado Bartra\",\"POP_MAX\":10,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.3999819,-0.9329289],\"properties\":{\"NAME\":\"Nuevo Rocafuerte\",\"NAMEASCII\":\"Nuevo Rocafuerte\",\"POP_MAX\":40,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-73.9099954,-5.0696273],\"properties\":{\"NAME\":\"Requena\",\"NAMEASCII\":\"Requena\",\"POP_MAX\":18000,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.2500004,-12.9496114],\"properties\":{\"NAME\":\"Huanta\",\"NAMEASCII\":\"Huanta\",\"POP_MAX\":18627,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-73.7899768,-15.0196142],\"properties\":{\"NAME\":\"Coracora\",\"NAMEASCII\":\"Coracora\",\"POP_MAX\":7420,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.1399884,-13.4196085],\"properties\":{\"NAME\":\"Chincha Alta\",\"NAMEASCII\":\"Chincha Alta\",\"POP_MAX\":153076,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.7399612,-14.1895874],\"properties\":{\"NAME\":\"Santiago\",\"NAMEASCII\":\"Santiago\",\"POP_MAX\":10449,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.3400114,-11.1296191],\"properties\":{\"NAME\":\"San Ramon\",\"NAMEASCII\":\"San Ramon\",\"POP_MAX\":14708,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.0100222,-11.1496179],\"properties\":{\"NAME\":\"Junín\",\"NAMEASCII\":\"Junin\",\"POP_MAX\":15320,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.5000275,-11.7996041],\"properties\":{\"NAME\":\"Jauja\",\"NAMEASCII\":\"Jauja\",\"POP_MAX\":21057,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.7999905,-10.6996195],\"properties\":{\"NAME\":\"Pativilca\",\"NAMEASCII\":\"Pativilca\",\"POP_MAX\":31905,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.2699712,-11.5596187],\"properties\":{\"NAME\":\"Chancay\",\"NAMEASCII\":\"Chancay\",\"POP_MAX\":26958,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.7399777,-12.5196118],\"properties\":{\"NAME\":\"Chilca\",\"NAMEASCII\":\"Chilca\",\"POP_MAX\":12884,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-57.8999907,-21.0695809],\"properties\":{\"NAME\":\"Fuerte Olimpo\",\"NAMEASCII\":\"Fuerte Olimpo\",\"POP_MAX\":2475,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-60.7832772,-19.9161112],\"properties\":{\"NAME\":\"Capitan Pablo Lagerenza\",\"NAMEASCII\":\"Capitan Pablo Lagerenza\",\"POP_MAX\":1200,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.9399882,-22.2896098],\"properties\":{\"NAME\":\"La Victoria\",\"NAMEASCII\":\"La Victoria\",\"POP_MAX\":5000,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.0500167,-23.3396232],\"properties\":{\"NAME\":\"Horqueta\",\"NAMEASCII\":\"Horqueta\",\"POP_MAX\":16171,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.2399793,-23.4694861],\"properties\":{\"NAME\":\"Belén\",\"NAMEASCII\":\"Belen\",\"POP_MAX\":11359,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.1000137,-24.4196089],\"properties\":{\"NAME\":\"Rosario\",\"NAMEASCII\":\"Rosario\",\"POP_MAX\":5123,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-57.3600236,-25.5096199],\"properties\":{\"NAME\":\"Itá\",\"NAMEASCII\":\"Ita\",\"POP_MAX\":41090,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-58.2999921,-26.8694853],\"properties\":{\"NAME\":\"Pilar\",\"NAMEASCII\":\"Pilar\",\"POP_MAX\":28435,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.7599921,-22.5445813],\"properties\":{\"NAME\":\"Pedro Juan Caballero\",\"NAMEASCII\":\"Pedro Juan Caballero\",\"POP_MAX\":102787,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-56.5199974,-22.1296195],\"properties\":{\"NAME\":\"Bella Vista\",\"NAMEASCII\":\"Bella Vista\",\"POP_MAX\":16852,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.940007,-26.0295882],\"properties\":{\"NAME\":\"Abaí\",\"NAMEASCII\":\"Abai\",\"POP_MAX\":3024,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.64315131187634,-24.125302399264495],\"properties\":{\"NAME\":\"Ygatimí\",\"NAMEASCII\":\"Ygatimi\",\"POP_MAX\":2809,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-55.6465764251629,-27.089777914206802],\"properties\":{\"NAME\":\"Hohenau\",\"NAMEASCII\":\"Hohenau\",\"POP_MAX\":5306,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-85.949984,11.9337276],\"properties\":{\"NAME\":\"Granada‎\",\"NAMEASCII\":\"Granada\",\"POP_MAX\":105219,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-87.1300411,12.6303776],\"properties\":{\"NAME\":\"Chinandega\",\"NAMEASCII\":\"Chinandega\",\"POP_MAX\":139023,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-85.9166527,12.9170785],\"properties\":{\"NAME\":\"Matagalpa\",\"NAMEASCII\":\"Matagalpa\",\"POP_MAX\":109089,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-28.6447568,38.5346559],\"properties\":{\"NAME\":\"Horta\",\"NAMEASCII\":\"Horta\",\"POP_MAX\":6611,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-27.2166698,38.6503915],\"properties\":{\"NAME\":\"Angra do Heroísmo\",\"NAMEASCII\":\"Angra do Heroismo\",\"POP_MAX\":12045,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.533314,37.1337398],\"properties\":{\"NAME\":\"Portimão\",\"NAMEASCII\":\"Portimao\",\"POP_MAX\":61226,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.9332732,37.0170803],\"properties\":{\"NAME\":\"Faro\",\"NAMEASCII\":\"Faro\",\"POP_MAX\":41355,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.4166803,40.2003744],\"properties\":{\"NAME\":\"Coimbra\",\"NAMEASCII\":\"Coimbra\",\"POP_MAX\":106582,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-12.0499728,8.8804256],\"properties\":{\"NAME\":\"Makeni\",\"NAMEASCII\":\"Makeni\",\"POP_MAX\":87679,\"ISO_A2\":\"SL\",\"SOV_A3\":\"SLE\"}},{\"type\":\"Point\",\"coordinates\":[-16.2400013,14.6603829],\"properties\":{\"NAME\":\"Diourbel\",\"NAMEASCII\":\"Diourbel\",\"POP_MAX\":148024,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-16.2500007,15.6103766],\"properties\":{\"NAME\":\"Louga\",\"NAMEASCII\":\"Louga\",\"POP_MAX\":85075,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-16.9300108,14.8103996],\"properties\":{\"NAME\":\"Thiès\",\"NAMEASCII\":\"Thies\",\"POP_MAX\":293001,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-14.9500283,12.910438],\"properties\":{\"NAME\":\"Kolda\",\"NAMEASCII\":\"Kolda\",\"POP_MAX\":69267,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-13.6800283,13.7803591],\"properties\":{\"NAME\":\"Tambacounda\",\"NAMEASCII\":\"Tambacounda\",\"POP_MAX\":89212,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-12.1799907,12.5604336],\"properties\":{\"NAME\":\"Kédougou\",\"NAMEASCII\":\"Kedougou\",\"POP_MAX\":18226,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-7.7169814,4.3753776],\"properties\":{\"NAME\":\"Harper\",\"NAMEASCII\":\"Harper\",\"POP_MAX\":32661,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-9.4899998,7.0104106],\"properties\":{\"NAME\":\"Gbarnga\",\"NAMEASCII\":\"Gbarnga\",\"POP_MAX\":45835,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-10.8499943,8.4404783],\"properties\":{\"NAME\":\"Koidu\",\"NAMEASCII\":\"Koidu\",\"POP_MAX\":87539,\"ISO_A2\":\"SL\",\"SOV_A3\":\"SLE\"}},{\"type\":\"Point\",\"coordinates\":[-11.1899736,7.8804092],\"properties\":{\"NAME\":\"Kenema\",\"NAMEASCII\":\"Kenema\",\"POP_MAX\":143137,\"ISO_A2\":\"SL\",\"SOV_A3\":\"SLE\"}},{\"type\":\"Point\",\"coordinates\":[-8.1300053,6.0703904],\"properties\":{\"NAME\":\"Zwedru\",\"NAMEASCII\":\"Zwedru\",\"POP_MAX\":25678,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[12.6088838,13.3170541],\"properties\":{\"NAME\":\"Diffa\",\"NAMEASCII\":\"Diffa\",\"POP_MAX\":30988,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[13.110817,14.2531726],\"properties\":{\"NAME\":\"Nguigmi\",\"NAMEASCII\":\"Nguigmi\",\"POP_MAX\":17897,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[20.3107393,42.6603276],\"properties\":{\"NAME\":\"Pec\",\"NAMEASCII\":\"Pec\",\"POP_MAX\":105163,\"ISO_A2\":\"-99\",\"SOV_A3\":\"KOS\"}},{\"type\":\"Point\",\"coordinates\":[43.9628357,26.3663867],\"properties\":{\"NAME\":\"Buraydah\",\"NAMEASCII\":\"Buraydah\",\"POP_MAX\":398581,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[41.7000797,27.5235771],\"properties\":{\"NAME\":\"Hail\",\"NAMEASCII\":\"Hail\",\"POP_MAX\":385257,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[41.0206897,30.9900063],\"properties\":{\"NAME\":\"Arar\",\"NAMEASCII\":\"Arar\",\"POP_MAX\":222016,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[43.4948022,29.6202191],\"properties\":{\"NAME\":\"Rafha\",\"NAMEASCII\":\"Rafha\",\"POP_MAX\":64755,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[38.070017,-0.9295699],\"properties\":{\"NAME\":\"Mwingi\",\"NAMEASCII\":\"Mwingi\",\"POP_MAX\":11219,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[37.4500032,-0.5195691],\"properties\":{\"NAME\":\"Embu\",\"NAMEASCII\":\"Embu\",\"POP_MAX\":58620,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[37.259989,-1.5095345],\"properties\":{\"NAME\":\"Machakos\",\"NAMEASCII\":\"Machakos\",\"POP_MAX\":144925,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[37.0600012,0.020398],\"properties\":{\"NAME\":\"Nanyuki\",\"NAMEASCII\":\"Nanyuki\",\"POP_MAX\":36142,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[36.6800244,1.1104606],\"properties\":{\"NAME\":\"Maralal\",\"NAMEASCII\":\"Maralal\",\"POP_MAX\":20841,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[37.1199975,-1.7496232],\"properties\":{\"NAME\":\"Konza\",\"NAMEASCII\":\"Konza\",\"POP_MAX\":2004,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[35.5700146,3.130389],\"properties\":{\"NAME\":\"Lodwar\",\"NAMEASCII\":\"Lodwar\",\"POP_MAX\":20219,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[35.7200313,0.0503703],\"properties\":{\"NAME\":\"Eldama Ravine\",\"NAMEASCII\":\"Eldama Ravine\",\"POP_MAX\":17581,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[35.1200162,-0.6795593],\"properties\":{\"NAME\":\"Sotik\",\"NAMEASCII\":\"Sotik\",\"POP_MAX\":71285,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[36.800017,-2.5396008],\"properties\":{\"NAME\":\"Namanga\",\"NAMEASCII\":\"Namanga\",\"POP_MAX\":13193,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[36.4299621,-0.7095833],\"properties\":{\"NAME\":\"Naivasha\",\"NAMEASCII\":\"Naivasha\",\"POP_MAX\":43983,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[35.2800065,-0.3595788],\"properties\":{\"NAME\":\"Kericho\",\"NAMEASCII\":\"Kericho\",\"POP_MAX\":98852,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.9899467,1.0304655],\"properties\":{\"NAME\":\"Kitale\",\"NAMEASCII\":\"Kitale\",\"POP_MAX\":150495,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.5599987,0.5703902],\"properties\":{\"NAME\":\"Bungoma\",\"NAMEASCII\":\"Bungoma\",\"POP_MAX\":55962,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.7300142,0.2904073],\"properties\":{\"NAME\":\"Kakamega\",\"NAMEASCII\":\"Kakamega\",\"POP_MAX\":63426,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[40.0499996,1.7503699],\"properties\":{\"NAME\":\"Wajir\",\"NAMEASCII\":\"Wajir\",\"POP_MAX\":45771,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[39.6700227,-0.4396256],\"properties\":{\"NAME\":\"Garissa\",\"NAMEASCII\":\"Garissa\",\"POP_MAX\":67861,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[5.7833573,53.2503788],\"properties\":{\"NAME\":\"Leeuwarden\",\"NAMEASCII\":\"Leeuwarden\",\"POP_MAX\":125778,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[6.5800012,53.2204065],\"properties\":{\"NAME\":\"Groningen\",\"NAMEASCII\":\"Groningen\",\"POP_MAX\":216688,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[16.5155704,68.7879059],\"properties\":{\"NAME\":\"Harstad\",\"NAMEASCII\":\"Harstad\",\"POP_MAX\":19433,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[5.1200386,52.1003457],\"properties\":{\"NAME\":\"Utrecht\",\"NAMEASCII\":\"Utrecht\",\"POP_MAX\":640000,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[6.263280014851641,62.45979913939814],\"properties\":{\"NAME\":\"Ålesund\",\"NAMEASCII\":\"Alesund\",\"POP_MAX\":47772,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[5.6900297,58.845412],\"properties\":{\"NAME\":\"Sandnes\",\"NAMEASCII\":\"Sandnes\",\"POP_MAX\":46911,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[10.199231839963424,59.738481129257444],\"properties\":{\"NAME\":\"Drammen\",\"NAMEASCII\":\"Drammen\",\"POP_MAX\":90722,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[10.6691573,59.436978],\"properties\":{\"NAME\":\"Moss\",\"NAMEASCII\":\"Moss\",\"POP_MAX\":36901,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[11.5000109,64.0170602],\"properties\":{\"NAME\":\"Steinkjer\",\"NAMEASCII\":\"Steinkjer\",\"POP_MAX\":11274,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[21.5605855,57.3898678],\"properties\":{\"NAME\":\"Ventspils\",\"NAMEASCII\":\"Ventspils\",\"POP_MAX\":42884,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[21.1199406,55.720409],\"properties\":{\"NAME\":\"Klaipėda\",\"NAMEASCII\":\"Klaipeda\",\"POP_MAX\":192307,\"ISO_A2\":\"LT\",\"SOV_A3\":\"LTU\"}},{\"type\":\"Point\",\"coordinates\":[19.1332401,48.5837386],\"properties\":{\"NAME\":\"Zvolen\",\"NAMEASCII\":\"Zvolen\",\"POP_MAX\":44502,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[18.7493876,49.2198238],\"properties\":{\"NAME\":\"Žilina\",\"NAMEASCII\":\"Zilina\",\"POP_MAX\":87625,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[21.2500101,48.730448],\"properties\":{\"NAME\":\"Košice\",\"NAMEASCII\":\"Kosice\",\"POP_MAX\":236563,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[21.2393648,48.9997339],\"properties\":{\"NAME\":\"Prešov\",\"NAMEASCII\":\"Presov\",\"POP_MAX\":94718,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[23.8800305,54.9504043],\"properties\":{\"NAME\":\"Kaunas\",\"NAMEASCII\":\"Kaunas\",\"POP_MAX\":374643,\"ISO_A2\":\"LT\",\"SOV_A3\":\"LTU\"}},{\"type\":\"Point\",\"coordinates\":[23.7128055,56.6527035],\"properties\":{\"NAME\":\"Jelgava\",\"NAMEASCII\":\"Jelgava\",\"POP_MAX\":67207,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[47.3120369,24.1555656],\"properties\":{\"NAME\":\"Al Kharj\",\"NAMEASCII\":\"Al Kharj\",\"POP_MAX\":298428,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[50.0977245,26.4301376],\"properties\":{\"NAME\":\"Dammam\",\"NAMEASCII\":\"Ad Damman\",\"POP_MAX\":2054710,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[45.9600781,28.4336507],\"properties\":{\"NAME\":\"Hafar al Batin\",\"NAMEASCII\":\"Hafar al Batin\",\"POP_MAX\":249194,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[49.646003,27.0046424],\"properties\":{\"NAME\":\"Al Jubayl\",\"NAMEASCII\":\"Al Jubayl\",\"POP_MAX\":237274,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[62.328588,25.1389681],\"properties\":{\"NAME\":\"Gwadar\",\"NAMEASCII\":\"Gwadar\",\"POP_MAX\":51901,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[69.4385933,31.3489767],\"properties\":{\"NAME\":\"Zhob\",\"NAMEASCII\":\"Zhob\",\"POP_MAX\":88356,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[74.300002,35.9170958],\"properties\":{\"NAME\":\"Gilgit\",\"NAMEASCII\":\"Gilgit\",\"POP_MAX\":216760,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[74.4550313,31.1253727],\"properties\":{\"NAME\":\"Kasur\",\"NAMEASCII\":\"Kasur\",\"POP_MAX\":290643,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[71.4718025,32.452191],\"properties\":{\"NAME\":\"Kundian\",\"NAMEASCII\":\"Kundian\",\"POP_MAX\":35406,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.450028,30.8104049],\"properties\":{\"NAME\":\"Okara\",\"NAMEASCII\":\"Okara\",\"POP_MAX\":223648,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[72.3249804,31.2803762],\"properties\":{\"NAME\":\"Jhang\",\"NAMEASCII\":\"Jhang\",\"POP_MAX\":341210,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[72.6749849,32.0853658],\"properties\":{\"NAME\":\"Sargodha\",\"NAMEASCII\":\"Sargodha\",\"POP_MAX\":542603,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[70.6350577,30.060399],\"properties\":{\"NAME\":\"Dera Ghazi Khan\",\"NAMEASCII\":\"Dera Ghazi Khan\",\"POP_MAX\":236093,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[70.1302307,28.3006356],\"properties\":{\"NAME\":\"Sadiqabad\",\"NAMEASCII\":\"Sadiqabad\",\"POP_MAX\":189876,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[68.4000004,26.245438],\"properties\":{\"NAME\":\"Nawabshah\",\"NAMEASCII\":\"Nawabshah\",\"POP_MAX\":229504,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[76.1853649,42.4560248],\"properties\":{\"NAME\":\"Balykchy\",\"NAMEASCII\":\"Balykchy\",\"POP_MAX\":40527,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[75.7968099,41.1724856],\"properties\":{\"NAME\":\"At Bashy\",\"NAMEASCII\":\"At Bashy\",\"POP_MAX\":15601,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[73.0025101,40.9428872],\"properties\":{\"NAME\":\"Jalal Abad\",\"NAMEASCII\":\"Jalal Abad\",\"POP_MAX\":248899,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[72.9371911,41.8825714],\"properties\":{\"NAME\":\"Toktogul\",\"NAMEASCII\":\"Toktogul\",\"POP_MAX\":26115,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[72.2314461,41.3418551],\"properties\":{\"NAME\":\"Tash Komur\",\"NAMEASCII\":\"Tash Komur\",\"POP_MAX\":23594,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[72.2429183,42.5183724],\"properties\":{\"NAME\":\"Talas\",\"NAMEASCII\":\"Talas\",\"POP_MAX\":35172,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[72.7900166,40.5404053],\"properties\":{\"NAME\":\"Osh\",\"NAMEASCII\":\"Osh\",\"POP_MAX\":391277,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[70.5985742,32.9889799],\"properties\":{\"NAME\":\"Bannu\",\"NAMEASCII\":\"Bannu\",\"POP_MAX\":622419,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[70.8985559,31.828999],\"properties\":{\"NAME\":\"Dera Ismail Khan\",\"NAMEASCII\":\"Dera Ismail Khan\",\"POP_MAX\":101616,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[81.6166613,28.0503408],\"properties\":{\"NAME\":\"Nepalganj\",\"NAMEASCII\":\"Nepalganj\",\"POP_MAX\":64400,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[84.8665922,27.0004049],\"properties\":{\"NAME\":\"Birganj\",\"NAMEASCII\":\"Birganj\",\"POP_MAX\":133238,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[87.2833439,26.4837439],\"properties\":{\"NAME\":\"Biratnagar\",\"NAMEASCII\":\"Biratnagar\",\"POP_MAX\":182324,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[101.0314453,4.0118598],\"properties\":{\"NAME\":\"Teluk Intan\",\"NAMEASCII\":\"Teluk Intan\",\"POP_MAX\":101659,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[100.4000109,5.4170711],\"properties\":{\"NAME\":\"Butterworth\",\"NAMEASCII\":\"Butterworth\",\"POP_MAX\":821652,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[100.4793343,5.6497184],\"properties\":{\"NAME\":\"Sungai Petani\",\"NAMEASCII\":\"Sungai Petani\",\"POP_MAX\":358499,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[100.3729325,6.1133077],\"properties\":{\"NAME\":\"Alor Setar\",\"NAMEASCII\":\"Alor Setar\",\"POP_MAX\":336475,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[102.566597,2.0337376],\"properties\":{\"NAME\":\"Muar\",\"NAMEASCII\":\"Muar\",\"POP_MAX\":191346,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[102.9333447,1.8503638],\"properties\":{\"NAME\":\"Batu Pahat\",\"NAMEASCII\":\"Batu Pahat\",\"POP_MAX\":199619,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[103.317869,2.038311],\"properties\":{\"NAME\":\"Keluang\",\"NAMEASCII\":\"Keluang\",\"POP_MAX\":169828,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[101.9400203,2.7104922],\"properties\":{\"NAME\":\"Seremban\",\"NAMEASCII\":\"Seremban\",\"POP_MAX\":372917,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[101.8423002,3.7927],\"properties\":{\"NAME\":\"Raub\",\"NAMEASCII\":\"Raub\",\"POP_MAX\":40024,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[103.4478869,4.2332416],\"properties\":{\"NAME\":\"Chukai\",\"NAMEASCII\":\"Chukai\",\"POP_MAX\":82425,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[103.12,5.3304098],\"properties\":{\"NAME\":\"Kuala Terengganu\",\"NAMEASCII\":\"Kuala Terengganu\",\"POP_MAX\":350210,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[118.3359704,5.0463961],\"properties\":{\"NAME\":\"Lahad Datu\",\"NAMEASCII\":\"Lahad Datu\",\"POP_MAX\":105622,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[113.0359838,3.1664075],\"properties\":{\"NAME\":\"Bintulu\",\"NAMEASCII\":\"Bintulu\",\"POP_MAX\":151617,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[113.9845048,4.3999239],\"properties\":{\"NAME\":\"Miri\",\"NAMEASCII\":\"Miri\",\"POP_MAX\":228212,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[25.1000077,-30.7195345],\"properties\":{\"NAME\":\"Colesberg\",\"NAMEASCII\":\"Colesberg\",\"POP_MAX\":12423,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[19.383354,-29.132913],\"properties\":{\"NAME\":\"Poffader\",\"NAMEASCII\":\"Poffader\",\"POP_MAX\":4220,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.1333154,-30.949598],\"properties\":{\"NAME\":\"Carnarvon\",\"NAMEASCII\":\"Carnarvon\",\"POP_MAX\":5785,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.7300232,-29.6595475],\"properties\":{\"NAME\":\"Prieska\",\"NAMEASCII\":\"Prieska\",\"POP_MAX\":11236,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[23.4200069,-27.4495532],\"properties\":{\"NAME\":\"Kuruman\",\"NAMEASCII\":\"Kuruman\",\"POP_MAX\":10006,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[23.0333121,-34.032924],\"properties\":{\"NAME\":\"Knysna\",\"NAMEASCII\":\"Knysna\",\"POP_MAX\":63106,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[20.4300085,-34.0195915],\"properties\":{\"NAME\":\"Swellendam\",\"NAMEASCII\":\"Swellendam\",\"POP_MAX\":13674,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[19.2299267,-34.4095935],\"properties\":{\"NAME\":\"Hermanus\",\"NAMEASCII\":\"Hermanus\",\"POP_MAX\":25153,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[18.9600207,-33.6995593],\"properties\":{\"NAME\":\"Paarl\",\"NAMEASCII\":\"Paarl\",\"POP_MAX\":187865,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[20.0299812,-34.5295345],\"properties\":{\"NAME\":\"Bredasdorp\",\"NAMEASCII\":\"Bredasdorp\",\"POP_MAX\":14936,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.5699812,-32.3496159],\"properties\":{\"NAME\":\"Beaufort West\",\"NAMEASCII\":\"Beaufort West\",\"POP_MAX\":44737,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[33.9500101,-16.0995483],\"properties\":{\"NAME\":\"Moatize\",\"NAMEASCII\":\"Moatize\",\"POP_MAX\":42000,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[30.4100195,-15.6195776],\"properties\":{\"NAME\":\"Luangwa\",\"NAMEASCII\":\"Luangwa\",\"POP_MAX\":3065,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[32.8799979,-18.9696057],\"properties\":{\"NAME\":\"Manica\",\"NAMEASCII\":\"Manica\",\"POP_MAX\":4000,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[32.7700305,-20.4501355],\"properties\":{\"NAME\":\"Espungabera\",\"NAMEASCII\":\"Espungabera\",\"POP_MAX\":393,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[40.430028,-2.3796106],\"properties\":{\"NAME\":\"Witu\",\"NAMEASCII\":\"Witu\",\"POP_MAX\":5380,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[38.4666337,-2.9827779],\"properties\":{\"NAME\":\"Tsavo\",\"NAMEASCII\":\"Tsavo\",\"POP_MAX\":414,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[38.5699865,-3.369576],\"properties\":{\"NAME\":\"Voi\",\"NAMEASCII\":\"Voi\",\"POP_MAX\":36487,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[39.8500118,-3.609613],\"properties\":{\"NAME\":\"Kilifi\",\"NAMEASCII\":\"Kilifi\",\"POP_MAX\":80339,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[33.9333186,-9.9328963],\"properties\":{\"NAME\":\"Karonga\",\"NAMEASCII\":\"Karonga\",\"POP_MAX\":34207,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[37.0900252,-1.039589],\"properties\":{\"NAME\":\"Thika\",\"NAMEASCII\":\"Thika\",\"POP_MAX\":99322,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.6399939,-0.3595788],\"properties\":{\"NAME\":\"Kendu Bay\",\"NAMEASCII\":\"Kendu Bay\",\"POP_MAX\":91248,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.1499979,-0.8496264],\"properties\":{\"NAME\":\"Karungu\",\"NAMEASCII\":\"Karungu\",\"POP_MAX\":2376,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.7599865,-0.6695858],\"properties\":{\"NAME\":\"Kisii\",\"NAMEASCII\":\"Kisii\",\"POP_MAX\":28547,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[39.0000378,-13.1195752],\"properties\":{\"NAME\":\"Montepuez\",\"NAMEASCII\":\"Montepuez\",\"POP_MAX\":72279,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[40.3499812,-11.3195817],\"properties\":{\"NAME\":\"Mocimboa\",\"NAMEASCII\":\"Mocimboa\",\"POP_MAX\":27909,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[37.4994576,-13.1983817],\"properties\":{\"NAME\":\"Marrupa\",\"NAMEASCII\":\"Marrupa\",\"POP_MAX\":8762,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[36.5399812,-14.7896024],\"properties\":{\"NAME\":\"Cuamba\",\"NAMEASCII\":\"Cuamba\",\"POP_MAX\":73268,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[37.7400114,-15.1756771],\"properties\":{\"NAME\":\"Ligonha\",\"NAMEASCII\":\"Ligonha\",\"POP_MAX\":3500,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[27.7799991,-25.6296126],\"properties\":{\"NAME\":\"Brits\",\"NAMEASCII\":\"Brits\",\"POP_MAX\":122497,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[25.5900036,-27.6495927],\"properties\":{\"NAME\":\"Bloemhof\",\"NAMEASCII\":\"Bloemhof\",\"POP_MAX\":17122,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[27.099989,-26.6995731],\"properties\":{\"NAME\":\"Potchefstroom\",\"NAMEASCII\":\"Potchefstroom\",\"POP_MAX\":123669,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.4700016,-28.6995544],\"properties\":{\"NAME\":\"Brandfort\",\"NAMEASCII\":\"Brandfort\",\"POP_MAX\":12091,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[28.2999674,-28.2195837],\"properties\":{\"NAME\":\"Bethlehem\",\"NAMEASCII\":\"Bethlehem\",\"POP_MAX\":83654,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[33.0900109,-25.0195207],\"properties\":{\"NAME\":\"Macia\",\"NAMEASCII\":\"Macia\",\"POP_MAX\":23156,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[32.9563757,-21.5373043],\"properties\":{\"NAME\":\"Massangena\",\"NAMEASCII\":\"Massangena\",\"POP_MAX\":650,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[31.9630513,-22.8426509],\"properties\":{\"NAME\":\"Mapai\",\"NAMEASCII\":\"Mapai\",\"POP_MAX\":201,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[28.430037,-26.2695735],\"properties\":{\"NAME\":\"Springs\",\"NAMEASCII\":\"Springs\",\"POP_MAX\":236083,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.8899996,-27.3595845],\"properties\":{\"NAME\":\"Volksrust\",\"NAMEASCII\":\"Volksrust\",\"POP_MAX\":43378,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.9800105,-25.4696224],\"properties\":{\"NAME\":\"Mbombela\",\"NAMEASCII\":\"Mbombela\",\"POP_MAX\":348138,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[31.9400036,-25.4095744],\"properties\":{\"NAME\":\"Komatipoort\",\"NAMEASCII\":\"Komatipoort\",\"POP_MAX\":20508,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.4700252,-25.7596305],\"properties\":{\"NAME\":\"Middelburg\",\"NAMEASCII\":\"Middelburg\",\"POP_MAX\":154706,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.4500264,-26.469613],\"properties\":{\"NAME\":\"Bethal\",\"NAMEASCII\":\"Bethal\",\"POP_MAX\":101919,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.2400134,-26.9395068],\"properties\":{\"NAME\":\"Standerton\",\"NAMEASCII\":\"Standerton\",\"POP_MAX\":74021,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.4999975,-24.1996224],\"properties\":{\"NAME\":\"Lebowakgomo\",\"NAMEASCII\":\"Lebowakgomo\",\"POP_MAX\":33308,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.1699825,-23.8195422],\"properties\":{\"NAME\":\"Tzaneen\",\"NAMEASCII\":\"Tzaneen\",\"POP_MAX\":67245,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[31.4100101,-28.3296028],\"properties\":{\"NAME\":\"Ulundi\",\"NAMEASCII\":\"Ulundi\",\"POP_MAX\":20753,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.7800321,-28.5494861],\"properties\":{\"NAME\":\"Ladysmith\",\"NAMEASCII\":\"Ladysmith\",\"POP_MAX\":47375,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.4599906,-30.7195345],\"properties\":{\"NAME\":\"Port Shepstone\",\"NAMEASCII\":\"Port Shepstone\",\"POP_MAX\":52793,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[32.0833024,-27.5660836],\"properties\":{\"NAME\":\"Ubomba\",\"NAMEASCII\":\"Ubomba\",\"POP_MAX\":564,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[50.1665913,-14.2661719],\"properties\":{\"NAME\":\"Sambava\",\"NAMEASCII\":\"Sambava\",\"POP_MAX\":43465,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[48.4500036,-13.6829],\"properties\":{\"NAME\":\"Ambanja\",\"NAMEASCII\":\"Ambanja\",\"POP_MAX\":30621,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[46.1166577,-22.3996289],\"properties\":{\"NAME\":\"Ihosy\",\"NAMEASCII\":\"Ihosy\",\"POP_MAX\":16990,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[48.8166479,-15.8328463],\"properties\":{\"NAME\":\"Mandritsara\",\"NAMEASCII\":\"Mandritsara\",\"POP_MAX\":9705,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[44.4833207,-16.7495345],\"properties\":{\"NAME\":\"Besalampy\",\"NAMEASCII\":\"Besalampy\",\"POP_MAX\":1022,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[46.6333186,-16.0995483],\"properties\":{\"NAME\":\"Marovoay\",\"NAMEASCII\":\"Marovoay\",\"POP_MAX\":31253,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[47.9833654,-14.8660836],\"properties\":{\"NAME\":\"Antsohihy\",\"NAMEASCII\":\"Antsohihy\",\"POP_MAX\":21290,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[48.4166723,-17.8328792],\"properties\":{\"NAME\":\"Ambatondrazaka\",\"NAMEASCII\":\"Ambatondrazaka\",\"POP_MAX\":43134,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[45.3166031,-24.2161588],\"properties\":{\"NAME\":\"Bekiy\",\"NAMEASCII\":\"Bekiy\",\"POP_MAX\":4286,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[44.3332523,-21.4329179],\"properties\":{\"NAME\":\"Manja\",\"NAMEASCII\":\"Manja\",\"POP_MAX\":1536,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[45.4666198,-19.5161873],\"properties\":{\"NAME\":\"Miandrivazo\",\"NAMEASCII\":\"Miandrivazo\",\"POP_MAX\":20631,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[154.6711375,-5.4297422],\"properties\":{\"NAME\":\"Sohano\",\"NAMEASCII\":\"Sohano\",\"POP_MAX\":2338,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[155.6333321,-6.2162756],\"properties\":{\"NAME\":\"Kieta\",\"NAMEASCII\":\"Kieta\",\"POP_MAX\":6958,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[156.8350158,-8.0996232],\"properties\":{\"NAME\":\"Gizo\",\"NAMEASCII\":\"Gizo\",\"POP_MAX\":6154,\"ISO_A2\":\"SB\",\"SOV_A3\":\"SLB\"}},{\"type\":\"Point\",\"coordinates\":[143.6452266,-6.1443937],\"properties\":{\"NAME\":\"Mendi\",\"NAMEASCII\":\"Mendi\",\"POP_MAX\":26252,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[148.5650297,-10.0426054],\"properties\":{\"NAME\":\"Abau\",\"NAMEASCII\":\"Abau\",\"POP_MAX\":230,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[150.4590743,-10.3020727],\"properties\":{\"NAME\":\"Alotau\",\"NAMEASCII\":\"Alotau\",\"POP_MAX\":11624,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[148.2484082,-8.7691947],\"properties\":{\"NAME\":\"Popondetta\",\"NAMEASCII\":\"Popondetta\",\"POP_MAX\":28198,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[150.4099816,-5.4746155],\"properties\":{\"NAME\":\"Hoskins\",\"NAMEASCII\":\"Hoskins\",\"POP_MAX\":871,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[4.629991,52.3804319],\"properties\":{\"NAME\":\"Haarlem\",\"NAMEASCII\":\"Haarlem\",\"POP_MAX\":349957,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[-80.28002,7.7603906],\"properties\":{\"NAME\":\"Las Tablas\",\"NAMEASCII\":\"Las Tablas\",\"POP_MAX\":11358,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.9833362,8.1003699],\"properties\":{\"NAME\":\"Santiago\",\"NAMEASCII\":\"Santiago\",\"POP_MAX\":45955,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.1402281,8.3981812],\"properties\":{\"NAME\":\"La Palma\",\"NAMEASCII\":\"La Palma\",\"POP_MAX\":1845,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-5.9099858,35.0203805],\"properties\":{\"NAME\":\"Ksar El Kebir\",\"NAMEASCII\":\"Ksar El Kebir\",\"POP_MAX\":306600,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-6.1600222,35.2004212],\"properties\":{\"NAME\":\"Larache\",\"NAMEASCII\":\"Larache\",\"POP_MAX\":120082,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-4.019972,34.2203776],\"properties\":{\"NAME\":\"Taza\",\"NAMEASCII\":\"Taza\",\"POP_MAX\":199633,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-5.5700066,34.8103416],\"properties\":{\"NAME\":\"Ouezzane\",\"NAMEASCII\":\"Ouezzane\",\"POP_MAX\":69658,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-6.5799966,34.2704004],\"properties\":{\"NAME\":\"Kenitra\",\"NAMEASCII\":\"Kenitra\",\"POP_MAX\":551786,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-7.6200106,33.0104256],\"properties\":{\"NAME\":\"Settat\",\"NAMEASCII\":\"Settat\",\"POP_MAX\":161748,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-4.4499716,31.9404134],\"properties\":{\"NAME\":\"Er Rachidia\",\"NAMEASCII\":\"Er Rachidia\",\"POP_MAX\":228489,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-5.5599813,33.900423],\"properties\":{\"NAME\":\"Meknes\",\"NAMEASCII\":\"Meknes\",\"POP_MAX\":697628,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-9.7399846,29.7104203],\"properties\":{\"NAME\":\"Tiznit\",\"NAMEASCII\":\"Tiznit\",\"POP_MAX\":57705,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-8.5099821,33.2603587],\"properties\":{\"NAME\":\"El Jadida\",\"NAMEASCII\":\"El Jadida\",\"POP_MAX\":180470,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[27.9053145,47.7590861],\"properties\":{\"NAME\":\"Bălți\",\"NAMEASCII\":\"Balti\",\"POP_MAX\":151355,\"ISO_A2\":\"MD\",\"SOV_A3\":\"MDA\"}},{\"type\":\"Point\",\"coordinates\":[28.1944441,45.9078813],\"properties\":{\"NAME\":\"Cahul\",\"NAMEASCII\":\"Cahul\",\"POP_MAX\":63407,\"ISO_A2\":\"MD\",\"SOV_A3\":\"MDA\"}},{\"type\":\"Point\",\"coordinates\":[29.639989,46.8530949],\"properties\":{\"NAME\":\"Tiraspol\",\"NAMEASCII\":\"Tiraspol\",\"POP_MAX\":157000,\"ISO_A2\":\"MD\",\"SOV_A3\":\"MDA\"}},{\"type\":\"Point\",\"coordinates\":[33.266641,-9.716217],\"properties\":{\"NAME\":\"Chitipa\",\"NAMEASCII\":\"Chitipa\",\"POP_MAX\":13412,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.3000146,-11.5996163],\"properties\":{\"NAME\":\"Nkhata Bay\",\"NAMEASCII\":\"Nkhata Bay\",\"POP_MAX\":22108,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.3000146,-12.9162801],\"properties\":{\"NAME\":\"Nkhotakota\",\"NAMEASCII\":\"Nkhotakota\",\"POP_MAX\":59854,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.7300142,-19.6195919],\"properties\":{\"NAME\":\"Dondo\",\"NAMEASCII\":\"Dondo\",\"POP_MAX\":78648,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[34.6558585,-16.8921098],\"properties\":{\"NAME\":\"Chiramba\",\"NAMEASCII\":\"Chiramba\",\"POP_MAX\":556,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[38.2600313,-16.8495801],\"properties\":{\"NAME\":\"Mocuba\",\"NAMEASCII\":\"Mocuba\",\"POP_MAX\":68984,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[36.8197058,-17.6076733],\"properties\":{\"NAME\":\"Nicuadala\",\"NAMEASCII\":\"Nicuadala\",\"POP_MAX\":6945,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[35.2699812,-14.4595967],\"properties\":{\"NAME\":\"Mangochi\",\"NAMEASCII\":\"Mangochi\",\"POP_MAX\":97711,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.4332881,-13.7829455],\"properties\":{\"NAME\":\"Salima\",\"NAMEASCII\":\"Salima\",\"POP_MAX\":71181,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.3885509,-23.8660227],\"properties\":{\"NAME\":\"Maxixe\",\"NAMEASCII\":\"Maxixe\",\"POP_MAX\":119868,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[34.7302726,-24.0628865],\"properties\":{\"NAME\":\"Panda\",\"NAMEASCII\":\"Panda\",\"POP_MAX\":602,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[34.765981,-24.7256885],\"properties\":{\"NAME\":\"Quissico\",\"NAMEASCII\":\"Quissico\",\"POP_MAX\":1210,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[35.3165934,-21.9995499],\"properties\":{\"NAME\":\"Vilanculos\",\"NAMEASCII\":\"Vilanculos\",\"POP_MAX\":177,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[25.6100024,-32.1995475],\"properties\":{\"NAME\":\"Cradock\",\"NAMEASCII\":\"Cradock\",\"POP_MAX\":32898,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[25.3900158,-33.7596073],\"properties\":{\"NAME\":\"Uitenhage\",\"NAMEASCII\":\"Uitenhage\",\"POP_MAX\":228912,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.8800024,-33.5995137],\"properties\":{\"NAME\":\"Port Alfred\",\"NAMEASCII\":\"Port Alfred\",\"POP_MAX\":17959,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.5200244,-33.2995837],\"properties\":{\"NAME\":\"Grahamstown\",\"NAMEASCII\":\"Grahamstown\",\"POP_MAX\":91548,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.5283162,-31.6278511],\"properties\":{\"NAME\":\"Port St. Johns\",\"NAMEASCII\":\"Port St. Johns\",\"POP_MAX\":5939,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.7100386,-30.6895622],\"properties\":{\"NAME\":\"Aliwal North\",\"NAMEASCII\":\"Aliwal North\",\"POP_MAX\":44436,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.8800024,-31.8996175],\"properties\":{\"NAME\":\"Queenstown\",\"NAMEASCII\":\"Queenstown\",\"POP_MAX\":105309,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[32.4600236,-25.9695919],\"properties\":{\"NAME\":\"Matola\",\"NAMEASCII\":\"Matola\",\"POP_MAX\":543907,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[165.8567353,-10.7380183],\"properties\":{\"NAME\":\"Lata\",\"NAMEASCII\":\"Lata\",\"POP_MAX\":553,\"ISO_A2\":\"SB\",\"SOV_A3\":\"SLB\"}},{\"type\":\"Point\",\"coordinates\":[84.9035925,56.4926099],\"properties\":{\"NAME\":\"Timiryazevskiy\",\"NAMEASCII\":\"Timiryazevskiy\",\"POP_MAX\":7182,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.1626888,56.993122],\"properties\":{\"NAME\":\"Asino\",\"NAMEASCII\":\"Asino\",\"POP_MAX\":27070,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[77.5776831,60.7331521],\"properties\":{\"NAME\":\"Strezhevoy\",\"NAMEASCII\":\"Strezhevoy\",\"POP_MAX\":44784,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.0600061,44.290409],\"properties\":{\"NAME\":\"Cherkessk\",\"NAMEASCII\":\"Cherkessk\",\"POP_MAX\":116224,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.669976,43.0503813],\"properties\":{\"NAME\":\"Vladikavkaz\",\"NAMEASCII\":\"Vladikavkaz\",\"POP_MAX\":364630,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.4343925,45.1047262],\"properties\":{\"NAME\":\"Blagodarnyy\",\"NAMEASCII\":\"Blagodarnyy\",\"POP_MAX\":35995,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.8787064,44.4091097],\"properties\":{\"NAME\":\"Zelenokumsk\",\"NAMEASCII\":\"Zelenokumsk\",\"POP_MAX\":41306,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.0832934,2.7837177],\"properties\":{\"NAME\":\"Buurhakaba\",\"NAMEASCII\":\"Buurhakaba\",\"POP_MAX\":31267,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[42.550002,3.8004773],\"properties\":{\"NAME\":\"Luuq\",\"NAMEASCII\":\"Luuq\",\"POP_MAX\":33820,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[41.8600183,3.9404429],\"properties\":{\"NAME\":\"Mandera\",\"NAMEASCII\":\"Mandera\",\"POP_MAX\":52885,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[173.333337,66.4170687],\"properties\":{\"NAME\":\"Mukhomornoye\",\"NAMEASCII\":\"Mukhomornoye\",\"POP_MAX\":100,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[179.3066674,63.0654645],\"properties\":{\"NAME\":\"Beringovskiy\",\"NAMEASCII\":\"Beringovskiy\",\"POP_MAX\":1861,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[166.44857353746198,68.05262665090873],\"properties\":{\"NAME\":\"Bilibino\",\"NAMEASCII\":\"Bilibino\",\"POP_MAX\":5757,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-179.4999844,68.933711],\"properties\":{\"NAME\":\"Mys Shmidta\",\"NAMEASCII\":\"Mys Shmidta\",\"POP_MAX\":492,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-179.1837225,66.3221317],\"properties\":{\"NAME\":\"Egvekinot\",\"NAMEASCII\":\"Egvekinot\",\"POP_MAX\":2248,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[21.8819612,55.0717664],\"properties\":{\"NAME\":\"Sovetsk\",\"NAMEASCII\":\"Sovetsk\",\"POP_MAX\":43309,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[30.2188167,69.4125706],\"properties\":{\"NAME\":\"Nikel\",\"NAMEASCII\":\"Nikel\",\"POP_MAX\":15866,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.8287349,67.9291211],\"properties\":{\"NAME\":\"Monchegorsk\",\"NAMEASCII\":\"Monchegorsk\",\"POP_MAX\":49868,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.6687353,67.609089],\"properties\":{\"NAME\":\"Kirovsk\",\"NAMEASCII\":\"Kirovsk\",\"POP_MAX\":29605,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.8974035,58.3978166],\"properties\":{\"NAME\":\"Borovichi\",\"NAMEASCII\":\"Borovichi\",\"POP_MAX\":57887,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[31.3543546,57.9947663],\"properties\":{\"NAME\":\"Staraya Russa\",\"NAMEASCII\":\"Staraya Russa\",\"POP_MAX\":34303,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.338739,59.9290926],\"properties\":{\"NAME\":\"Volkhov\",\"NAMEASCII\":\"Volkhov\",\"POP_MAX\":45673,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.5143778,59.6448464],\"properties\":{\"NAME\":\"Tikhvin\",\"NAMEASCII\":\"Tikhvin\",\"POP_MAX\":62075,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[28.9176558,61.1013208],\"properties\":{\"NAME\":\"Svetogorsk\",\"NAMEASCII\":\"Svetogorsk\",\"POP_MAX\":30115,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[30.1333439,59.5706649],\"properties\":{\"NAME\":\"Gatchina\",\"NAMEASCII\":\"Gatchina\",\"POP_MAX\":90486,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[29.8389949,58.7363489],\"properties\":{\"NAME\":\"Luga\",\"NAMEASCII\":\"Luga\",\"POP_MAX\":40114,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.2448429,52.7652405],\"properties\":{\"NAME\":\"Klintsy\",\"NAMEASCII\":\"Klintsy\",\"POP_MAX\":66336,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.8604126,53.9509046],\"properties\":{\"NAME\":\"Roslavl\",\"NAMEASCII\":\"Roslavl\",\"POP_MAX\":56971,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.2161014,55.1464905],\"properties\":{\"NAME\":\"Safonovo\",\"NAMEASCII\":\"Safonovo\",\"POP_MAX\":46637,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.2917981,55.2121971],\"properties\":{\"NAME\":\"Vyazma\",\"NAMEASCII\":\"Vyazma\",\"POP_MAX\":55500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.3243025,63.7547764],\"properties\":{\"NAME\":\"Segezha\",\"NAMEASCII\":\"Segezha\",\"POP_MAX\":33354,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.9287479,57.2191288],\"properties\":{\"NAME\":\"Vichuga\",\"NAMEASCII\":\"Vichuga\",\"POP_MAX\":39071,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.5093562,58.3797557],\"properties\":{\"NAME\":\"Sharya\",\"NAMEASCII\":\"Sharya\",\"POP_MAX\":35532,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.5243798,58.4846847],\"properties\":{\"NAME\":\"Buy\",\"NAMEASCII\":\"Buy\",\"POP_MAX\":26486,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.460024,56.2503766],\"properties\":{\"NAME\":\"Dzerzhinsk\",\"NAMEASCII\":\"Dzerzhinsk\",\"POP_MAX\":256537,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.1643925,55.3247225],\"properties\":{\"NAME\":\"Vyska\",\"NAMEASCII\":\"Vyska\",\"POP_MAX\":61664,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.3443766,56.8691244],\"properties\":{\"NAME\":\"Kimry\",\"NAMEASCII\":\"Kimry\",\"POP_MAX\":52070,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.6899979,57.7647286],\"properties\":{\"NAME\":\"Bezhetsk\",\"NAMEASCII\":\"Bezhetsk\",\"POP_MAX\":34736,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.7730794,56.2235049],\"properties\":{\"NAME\":\"Nelidovo\",\"NAMEASCII\":\"Nelidovo\",\"POP_MAX\":25349,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.051761,57.8721639],\"properties\":{\"NAME\":\"Bologoye\",\"NAMEASCII\":\"Bologoye\",\"POP_MAX\":25142,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.9787329,57.0290629],\"properties\":{\"NAME\":\"Torzhok\",\"NAMEASCII\":\"Torzhok\",\"POP_MAX\":48546,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.1143884,59.4647799],\"properties\":{\"NAME\":\"Sokol\",\"NAMEASCII\":\"Sokol\",\"POP_MAX\":42174,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.9099751,59.1404328],\"properties\":{\"NAME\":\"Cherepovets\",\"NAMEASCII\":\"Cherepovets\",\"POP_MAX\":311850,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.8199971,58.0503443],\"properties\":{\"NAME\":\"Rybinsk\",\"NAMEASCII\":\"Rybinsk\",\"POP_MAX\":216724,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.4043025,57.1891565],\"properties\":{\"NAME\":\"Rostov\",\"NAMEASCII\":\"Rostov\",\"POP_MAX\":33803,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.2700236,54.5203788],\"properties\":{\"NAME\":\"Kaluga\",\"NAMEASCII\":\"Kaluga\",\"POP_MAX\":338978,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.3048205,54.0851858],\"properties\":{\"NAME\":\"Kirov\",\"NAMEASCII\":\"Kirov\",\"POP_MAX\":39319,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.620028,55.080448],\"properties\":{\"NAME\":\"Obninsk\",\"NAMEASCII\":\"Obninsk\",\"POP_MAX\":107392,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[35.2743737,51.6947632],\"properties\":{\"NAME\":\"Lgov\",\"NAMEASCII\":\"Lgov\",\"POP_MAX\":23500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[35.4043916,52.3547746],\"properties\":{\"NAME\":\"Zheleznogorsk\",\"NAMEASCII\":\"Zheleznogorsk\",\"POP_MAX\":97900,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.9343477,52.4947661],\"properties\":{\"NAME\":\"Gryazi\",\"NAMEASCII\":\"Gryazi\",\"POP_MAX\":47413,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.02939,55.3847964],\"properties\":{\"NAME\":\"Yegoryevsk\",\"NAMEASCII\":\"Yegoryevsk\",\"POP_MAX\":89795,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.5299467,55.3804297],\"properties\":{\"NAME\":\"Podolsk\",\"NAMEASCII\":\"Podolsk\",\"POP_MAX\":320635,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.9808846,56.1806909],\"properties\":{\"NAME\":\"Solnechnogorsk\",\"NAMEASCII\":\"Solnechnogorsk\",\"POP_MAX\":58891,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.4800179,55.8704256],\"properties\":{\"NAME\":\"Noginsk\",\"NAMEASCII\":\"Noginsk\",\"POP_MAX\":229731,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.4300044,54.9303797],\"properties\":{\"NAME\":\"Serpukhov\",\"NAMEASCII\":\"Serpukhov\",\"POP_MAX\":135584,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.6043607,52.4247962],\"properties\":{\"NAME\":\"Livny\",\"NAMEASCII\":\"Livny\",\"POP_MAX\":52915,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.5471643,53.2647449],\"properties\":{\"NAME\":\"Mtsensk\",\"NAMEASCII\":\"Mtsensk\",\"POP_MAX\":47609,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.5420015,46.4775106],\"properties\":{\"NAME\":\"Salsk\",\"NAMEASCII\":\"Salsk\",\"POP_MAX\":61000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.7861303,48.1865019],\"properties\":{\"NAME\":\"Belaya Kalitva\",\"NAMEASCII\":\"Belaya Kalitva\",\"POP_MAX\":48098,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.2700378,47.7203805],\"properties\":{\"NAME\":\"Shakhty\",\"NAMEASCII\":\"Shakhty\",\"POP_MAX\":221312,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.3974202,48.9378514],\"properties\":{\"NAME\":\"Millerovo\",\"NAMEASCII\":\"Millerovo\",\"POP_MAX\":38527,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.1215385,53.1491189],\"properties\":{\"NAME\":\"Yefremov\",\"NAMEASCII\":\"Yefremov\",\"POP_MAX\":45497,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.1143554,53.7746879],\"properties\":{\"NAME\":\"Bogoroditsk\",\"NAMEASCII\":\"Bogoroditsk\",\"POP_MAX\":39553,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.4000089,50.0803915],\"properties\":{\"NAME\":\"Kamyshin\",\"NAMEASCII\":\"Kamyshin\",\"POP_MAX\":128626,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.8773348,50.047732],\"properties\":{\"NAME\":\"Pallasovka\",\"NAMEASCII\":\"Pallasovka\",\"POP_MAX\":17139,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.6517952,49.7721932],\"properties\":{\"NAME\":\"Frolovo\",\"NAMEASCII\":\"Frolovo\",\"POP_MAX\":40882,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.7743623,48.794811],\"properties\":{\"NAME\":\"Volzhskiy\",\"NAMEASCII\":\"Volzhskiy\",\"POP_MAX\":323293,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.2174548,50.0678599],\"properties\":{\"NAME\":\"Mikhaylovka\",\"NAMEASCII\":\"Mikhaylovka\",\"POP_MAX\":58898,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.0030586,50.7734499],\"properties\":{\"NAME\":\"Uryupinsk\",\"NAMEASCII\":\"Uryupinsk\",\"POP_MAX\":41644,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.8399536,51.3004203],\"properties\":{\"NAME\":\"Starsy Oskol\",\"NAMEASCII\":\"Starsy Oskol\",\"POP_MAX\":226977,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.6930798,50.6534831],\"properties\":{\"NAME\":\"Alekseyevka\",\"NAMEASCII\":\"Alekseyevka\",\"POP_MAX\":39848,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.0986975,50.2090916],\"properties\":{\"NAME\":\"Valuyki\",\"NAMEASCII\":\"Valuyki\",\"POP_MAX\":35887,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.064375,44.1147608],\"properties\":{\"NAME\":\"Tuapse\",\"NAMEASCII\":\"Tuapse\",\"POP_MAX\":99145,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.0643843,44.5747585],\"properties\":{\"NAME\":\"Gelendzhik\",\"NAMEASCII\":\"Gelendzhik\",\"POP_MAX\":55508,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.7442724,44.6347807],\"properties\":{\"NAME\":\"Labinsk\",\"NAMEASCII\":\"Labinsk\",\"POP_MAX\":61945,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.130037,45.0003915],\"properties\":{\"NAME\":\"Armavir\",\"NAMEASCII\":\"Armavir\",\"POP_MAX\":199548,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.9443823,45.6247461],\"properties\":{\"NAME\":\"Timashevsk\",\"NAMEASCII\":\"Timashevsk\",\"POP_MAX\":44024,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.1377461,45.8531043],\"properties\":{\"NAME\":\"Tikhoretsk\",\"NAMEASCII\":\"Tikhoretsk\",\"POP_MAX\":64387,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.2633903,46.6987891],\"properties\":{\"NAME\":\"Yeysk\",\"NAMEASCII\":\"Yeysk\",\"POP_MAX\":87814,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.1800223,54.1703744],\"properties\":{\"NAME\":\"Saransk\",\"NAMEASCII\":\"Saransk\",\"POP_MAX\":303394,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.0443811,53.1947233],\"properties\":{\"NAME\":\"Kamenka\",\"NAMEASCII\":\"Kamenka\",\"POP_MAX\":16560,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.5999873,53.1204126],\"properties\":{\"NAME\":\"Kuznetsk\",\"NAMEASCII\":\"Kuznetsk\",\"POP_MAX\":95574,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.2217863,52.4621841],\"properties\":{\"NAME\":\"Serdobsk\",\"NAMEASCII\":\"Serdobsk\",\"POP_MAX\":36652,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.39307,54.9434538],\"properties\":{\"NAME\":\"Kasimov\",\"NAMEASCII\":\"Kasimov\",\"POP_MAX\":36663,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.9086975,54.349149],\"properties\":{\"NAME\":\"Sasovo\",\"NAMEASCII\":\"Sasovo\",\"POP_MAX\":31325,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.5043811,52.5947341],\"properties\":{\"NAME\":\"Kotovsk\",\"NAMEASCII\":\"Kotovsk\",\"POP_MAX\":33077,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.8043628,53.4547333],\"properties\":{\"NAME\":\"Morshansk\",\"NAMEASCII\":\"Morshansk\",\"POP_MAX\":49350,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.3300248,56.3603699],\"properties\":{\"NAME\":\"Kovrov\",\"NAMEASCII\":\"Kovrov\",\"POP_MAX\":154224,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.0400073,55.5704181],\"properties\":{\"NAME\":\"Murom\",\"NAMEASCII\":\"Murom\",\"POP_MAX\":131287,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.9269209,54.0673832],\"properties\":{\"NAME\":\"Rayevskiy\",\"NAMEASCII\":\"Rayevskiy\",\"POP_MAX\":20060,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.6387357,52.7091199],\"properties\":{\"NAME\":\"Sibay\",\"NAMEASCII\":\"Sibay\",\"POP_MAX\":61590,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.7843363,52.7747748],\"properties\":{\"NAME\":\"Kumertau\",\"NAMEASCII\":\"Kumertau\",\"POP_MAX\":65321,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.9299605,53.3703457],\"properties\":{\"NAME\":\"Salavat\",\"NAMEASCII\":\"Salavat\",\"POP_MAX\":159893,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.1187015,54.1291366],\"properties\":{\"NAME\":\"Belebey\",\"NAMEASCII\":\"Belebey\",\"POP_MAX\":62582,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.6943347,54.6047923],\"properties\":{\"NAME\":\"Tuymazy\",\"NAMEASCII\":\"Tuymazy\",\"POP_MAX\":68829,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.2630855,56.0835134],\"properties\":{\"NAME\":\"Neftekamsk\",\"NAMEASCII\":\"Neftekamsk\",\"POP_MAX\":126805,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.5702364,54.1056496],\"properties\":{\"NAME\":\"Troitsk\",\"NAMEASCII\":\"Troitsk\",\"POP_MAX\":82338,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.2935091,54.7488662],\"properties\":{\"NAME\":\"Yemanzhelinsk\",\"NAMEASCII\":\"Yemanzhelinsk\",\"POP_MAX\":42023,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.6819185,53.0473938],\"properties\":{\"NAME\":\"Kartaly\",\"NAMEASCII\":\"Kartaly\",\"POP_MAX\":28503,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.2726176,54.9979983],\"properties\":{\"NAME\":\"Asha\",\"NAMEASCII\":\"Asha\",\"POP_MAX\":38883,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.0949259,54.9954144],\"properties\":{\"NAME\":\"Miass\",\"NAMEASCII\":\"Miass\",\"POP_MAX\":167500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.5595487,55.6999968],\"properties\":{\"NAME\":\"Kyshtym\",\"NAMEASCII\":\"Kyshtym\",\"POP_MAX\":50911,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[64.4332657,54.9086756],\"properties\":{\"NAME\":\"Kurtamysh\",\"NAMEASCII\":\"Kurtamysh\",\"POP_MAX\":17936,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[63.6332629,56.0836684],\"properties\":{\"NAME\":\"Shadrinsk\",\"NAMEASCII\":\"Shadrinsk\",\"POP_MAX\":79479,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.0635583,69.7301481],\"properties\":{\"NAME\":\"Varnek\",\"NAMEASCII\":\"Varnek\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.3041634,68.8078788],\"properties\":{\"NAME\":\"Bugrino\",\"NAMEASCII\":\"Bugrino\",\"POP_MAX\":300,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[74.92531301724216,67.92211738288061],\"properties\":{\"NAME\":\"Yamburg\",\"NAMEASCII\":\"Yamburg\",\"POP_MAX\":48488,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[77.5199605,67.7503982],\"properties\":{\"NAME\":\"Nakhodka\",\"NAMEASCII\":\"Nakhodka\",\"POP_MAX\":159551,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.8943225,63.5947604],\"properties\":{\"NAME\":\"Sosnogorsk\",\"NAMEASCII\":\"Sosnogorsk\",\"POP_MAX\":29343,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.9580863,57.5784609],\"properties\":{\"NAME\":\"Sovetsk\",\"NAMEASCII\":\"Sovetsk\",\"POP_MAX\":17869,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[50.1880371,58.7184947],\"properties\":{\"NAME\":\"Slobodskoy\",\"NAMEASCII\":\"Slobodskoy\",\"POP_MAX\":48962,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.2451725,59.313833],\"properties\":{\"NAME\":\"Kirs\",\"NAMEASCII\":\"Kirs\",\"POP_MAX\":11385,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.1591829,58.6589376],\"properties\":{\"NAME\":\"Omutninsk\",\"NAMEASCII\":\"Omutninsk\",\"POP_MAX\":32800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.3137329,58.3041272],\"properties\":{\"NAME\":\"Kotelnich\",\"NAMEASCII\":\"Kotelnich\",\"POP_MAX\":28431,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.8749483,56.6353919],\"properties\":{\"NAME\":\"Yoshkar Ola\",\"NAMEASCII\":\"Yoshkar Ola\",\"POP_MAX\":324406,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.9350203,56.4204696],\"properties\":{\"NAME\":\"Kamensk Uralskiy\",\"NAMEASCII\":\"Kamensk Uralskiy\",\"POP_MAX\":182500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.1880468,56.4434139],\"properties\":{\"NAME\":\"Polevskoy\",\"NAMEASCII\":\"Polevskoy\",\"POP_MAX\":65770,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[65.25828,58.0536515],\"properties\":{\"NAME\":\"Tavda\",\"NAMEASCII\":\"Tavda\",\"POP_MAX\":39480,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.869753,57.3651923],\"properties\":{\"NAME\":\"Artemovskiy\",\"NAMEASCII\":\"Artemovskiy\",\"POP_MAX\":44689,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.2147635,57.4902492],\"properties\":{\"NAME\":\"Nevyansk\",\"NAMEASCII\":\"Nevyansk\",\"POP_MAX\":28170,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.5497819,58.0501892],\"properties\":{\"NAME\":\"Verkhnyaya Salda\",\"NAMEASCII\":\"Verkhnyaya Salda\",\"POP_MAX\":48992,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.7982515,58.6436414],\"properties\":{\"NAME\":\"Nizhnyaya Tura\",\"NAMEASCII\":\"Nizhnyaya Tura\",\"POP_MAX\":56084,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.0098148,59.7601624],\"properties\":{\"NAME\":\"Karpinsk\",\"NAMEASCII\":\"Karpinsk\",\"POP_MAX\":30807,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.4132527,60.6936454],\"properties\":{\"NAME\":\"Ivdel\",\"NAMEASCII\":\"Ivdel\",\"POP_MAX\":19379,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.7586344,56.599115],\"properties\":{\"NAME\":\"Krasnoufimsk\",\"NAMEASCII\":\"Krasnoufimsk\",\"POP_MAX\":43121,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.7987211,56.4791482],\"properties\":{\"NAME\":\"Sarapul\",\"NAMEASCII\":\"Sarapul\",\"POP_MAX\":101344,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.1843493,56.4547569],\"properties\":{\"NAME\":\"Mozhga\",\"NAMEASCII\":\"Mozhga\",\"POP_MAX\":47270,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.9900272,57.0304065],\"properties\":{\"NAME\":\"Votkinsk\",\"NAMEASCII\":\"Votkinsk\",\"POP_MAX\":98633,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.6287666,58.123208],\"properties\":{\"NAME\":\"Glazov\",\"NAMEASCII\":\"Glazov\",\"POP_MAX\":100676,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.4686682,55.5091299],\"properties\":{\"NAME\":\"Kanash\",\"NAMEASCII\":\"Kanash\",\"POP_MAX\":49886,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.4243908,55.4848161],\"properties\":{\"NAME\":\"Shumerlya\",\"NAMEASCII\":\"Shumerlya\",\"POP_MAX\":35230,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.5999873,54.8503587],\"properties\":{\"NAME\":\"Alatyr\",\"NAMEASCII\":\"Alatyr\",\"POP_MAX\":46427,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.9998881,51.1602997],\"properties\":{\"NAME\":\"Sol-lletsk\",\"NAMEASCII\":\"Sol-lletsk\",\"POP_MAX\":27419,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.5400244,50.754588],\"properties\":{\"NAME\":\"Dombarovskiy\",\"NAMEASCII\":\"Dombarovskiy\",\"POP_MAX\":9556,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.5787487,51.4191211],\"properties\":{\"NAME\":\"Mednogorsk\",\"NAMEASCII\":\"Mednogorsk\",\"POP_MAX\":30676,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.4543025,51.474725],\"properties\":{\"NAME\":\"Gay\",\"NAMEASCII\":\"Gay\",\"POP_MAX\":41619,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.2617606,52.7821129],\"properties\":{\"NAME\":\"Buzuluk\",\"NAMEASCII\":\"Buzuluk\",\"POP_MAX\":87714,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[51.3473978,53.3778129],\"properties\":{\"NAME\":\"Otradnyy\",\"NAMEASCII\":\"Otradnyy\",\"POP_MAX\":50127,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.42006336630951,53.50809356149513],\"properties\":{\"NAME\":\"Tolyatti\",\"NAMEASCII\":\"Tolyatti\",\"POP_MAX\":702879,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.1200166,51.5004081],\"properties\":{\"NAME\":\"Engels\",\"NAMEASCII\":\"Engels\",\"POP_MAX\":196011,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.7943754,52.0147695],\"properties\":{\"NAME\":\"Pugachev\",\"NAMEASCII\":\"Pugachev\",\"POP_MAX\":26690,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.374307,52.0347166],\"properties\":{\"NAME\":\"Volsk\",\"NAMEASCII\":\"Volsk\",\"POP_MAX\":70500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.9961059,51.8764575],\"properties\":{\"NAME\":\"Atkarsk\",\"NAMEASCII\":\"Atkarsk\",\"POP_MAX\":27554,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.1630912,51.5535057],\"properties\":{\"NAME\":\"Balashov\",\"NAMEASCII\":\"Balashov\",\"POP_MAX\":98107,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[52.3199483,54.9004073],\"properties\":{\"NAME\":\"Almetyevsk\",\"NAMEASCII\":\"Almetyevsk\",\"POP_MAX\":140437,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[50.6406709,55.3647717],\"properties\":{\"NAME\":\"Chistopol\",\"NAMEASCII\":\"Chistopol\",\"POP_MAX\":62200,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[51.8200305,55.6404397],\"properties\":{\"NAME\":\"Nizhnekamsk\",\"NAMEASCII\":\"Nizhnekamsk\",\"POP_MAX\":234297,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.5600134,54.2504212],\"properties\":{\"NAME\":\"Dimitrovgrad\",\"NAMEASCII\":\"Dimitrovgrad\",\"POP_MAX\":132226,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[65.0859391,62.9669951],\"properties\":{\"NAME\":\"Peregrebnoye\",\"NAMEASCII\":\"Peregrebnoye\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.9700146,64.2504568],\"properties\":{\"NAME\":\"Saranpaul\",\"NAMEASCII\":\"Saranpaul\",\"POP_MAX\":2985,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[64.7547965,60.1401392],\"properties\":{\"NAME\":\"Uray\",\"NAMEASCII\":\"Uray\",\"POP_MAX\":39878,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[80.25137,61.1011916],\"properties\":{\"NAME\":\"Laryak\",\"NAMEASCII\":\"Laryak\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[74.4940987,62.0446224],\"properties\":{\"NAME\":\"Kogalym\",\"NAMEASCII\":\"Kogalym\",\"POP_MAX\":58192,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[76.0953446,61.0607548],\"properties\":{\"NAME\":\"Megion\",\"NAMEASCII\":\"Megion\",\"POP_MAX\":48691,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[74.8200219,54.1604783],\"properties\":{\"NAME\":\"Cherlak\",\"NAMEASCII\":\"Cherlak\",\"POP_MAX\":12122,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[74.5682544,55.048667],\"properties\":{\"NAME\":\"Kalachinsk\",\"NAMEASCII\":\"Kalachinsk\",\"POP_MAX\":24059,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[71.3500012,55.5669558],\"properties\":{\"NAME\":\"Nazyvayevsk\",\"NAMEASCII\":\"Nazyvayevsk\",\"POP_MAX\":12284,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[71.2682491,54.9287002],\"properties\":{\"NAME\":\"Isikul\",\"NAMEASCII\":\"Isikul\",\"POP_MAX\":21136,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[69.4498071,56.1502277],\"properties\":{\"NAME\":\"Ishim\",\"NAMEASCII\":\"Ishim\",\"POP_MAX\":67762,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[68.371475,56.3819448],\"properties\":{\"NAME\":\"Golyshmanovo\",\"NAMEASCII\":\"Golyshmanovo\",\"POP_MAX\":13424,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[66.2982682,56.6736324],\"properties\":{\"NAME\":\"Yalutorovsk\",\"NAMEASCII\":\"Yalutorovsk\",\"POP_MAX\":35892,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[85.1800097,52.534066],\"properties\":{\"NAME\":\"Biysk\",\"NAMEASCII\":\"Biysk\",\"POP_MAX\":215430,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[82.195024,51.1570958],\"properties\":{\"NAME\":\"Zmeinogorsk\",\"NAMEASCII\":\"Zmeinogorsk\",\"POP_MAX\":11514,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[82.7776757,52.4917688],\"properties\":{\"NAME\":\"Aleysk\",\"NAMEASCII\":\"Aleysk\",\"POP_MAX\":28019,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[83.958844,53.3992586],\"properties\":{\"NAME\":\"Novoaltaysk\",\"NAMEASCII\":\"Novoaltaysk\",\"POP_MAX\":91386,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[81.3387972,53.7936015],\"properties\":{\"NAME\":\"Kamenna Obi\",\"NAMEASCII\":\"Kamenna Obi\",\"POP_MAX\":44564,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[81.487677,50.988088],\"properties\":{\"NAME\":\"Gornyak\",\"NAMEASCII\":\"Gornyak\",\"POP_MAX\":15668,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.9472635,52.5826677],\"properties\":{\"NAME\":\"Kulunda\",\"NAMEASCII\":\"Kulunda\",\"POP_MAX\":15345,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.6695544,53.0049416],\"properties\":{\"NAME\":\"Slavgorod\",\"NAMEASCII\":\"Slavgorod\",\"POP_MAX\":34141,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[87.867701,52.7917505],\"properties\":{\"NAME\":\"Tashtagol\",\"NAMEASCII\":\"Tashtagol\",\"POP_MAX\":22779,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[85.9376896,54.2981443],\"properties\":{\"NAME\":\"Guryevsk\",\"NAMEASCII\":\"Guryevsk\",\"POP_MAX\":38757,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[84.8854024,55.7257575],\"properties\":{\"NAME\":\"Yurga\",\"NAMEASCII\":\"Yurga\",\"POP_MAX\":84220,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[85.6108361,55.2801774],\"properties\":{\"NAME\":\"Topki\",\"NAMEASCII\":\"Topki\",\"POP_MAX\":24672,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[87.760369,56.2107666],\"properties\":{\"NAME\":\"Mariinsk\",\"NAMEASCII\":\"Mariinsk\",\"POP_MAX\":43122,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.9530517,54.49144],\"properties\":{\"NAME\":\"Shira\",\"NAMEASCII\":\"Shira\",\"POP_MAX\":9358,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[83.3688024,54.2336263],\"properties\":{\"NAME\":\"Cherepanovo\",\"NAMEASCII\":\"Cherepanovo\",\"POP_MAX\":20125,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[80.2811356,55.1959448],\"properties\":{\"NAME\":\"Kargat\",\"NAMEASCII\":\"Kargat\",\"POP_MAX\":10881,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[82.7076542,54.9980499],\"properties\":{\"NAME\":\"Ob\",\"NAMEASCII\":\"Ob\",\"POP_MAX\":39949,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.0218937,53.7273006],\"properties\":{\"NAME\":\"Karasuk\",\"NAMEASCII\":\"Karasuk\",\"POP_MAX\":28589,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.3518994,55.3572787],\"properties\":{\"NAME\":\"Barabinsk\",\"NAMEASCII\":\"Barabinsk\",\"POP_MAX\":31508,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[75.9665153,55.2219381],\"properties\":{\"NAME\":\"Tatarsk\",\"NAMEASCII\":\"Tatarsk\",\"POP_MAX\":25150,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.1650362,5.0854118],\"properties\":{\"NAME\":\"Ferfer\",\"NAMEASCII\":\"Ferfer\",\"POP_MAX\":6000,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[45.5165909,2.7670003],\"properties\":{\"NAME\":\"Jawhar\",\"NAMEASCII\":\"Jawhar\",\"POP_MAX\":111308,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[54.6917932,16.9924369],\"properties\":{\"NAME\":\"Mirbat\",\"NAMEASCII\":\"Mirbat\",\"POP_MAX\":1120,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[51.1233288,10.5820272],\"properties\":{\"NAME\":\"Hurdiyo\",\"NAMEASCII\":\"Hurdiyo\",\"POP_MAX\":176,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[49.1659806,9.5004136],\"properties\":{\"NAME\":\"Qardho\",\"NAMEASCII\":\"Qardho\",\"POP_MAX\":1341,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[50.7500183,11.9669556],\"properties\":{\"NAME\":\"Caluula\",\"NAMEASCII\":\"Caluula\",\"POP_MAX\":513,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[56.5169531,23.2253898],\"properties\":{\"NAME\":\"Ibri\",\"NAMEASCII\":\"Ibri\",\"POP_MAX\":101640,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[47.6243693,42.8747331],\"properties\":{\"NAME\":\"Kaspiysk\",\"NAMEASCII\":\"Kaspiysk\",\"POP_MAX\":81752,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.2774043,42.0578062],\"properties\":{\"NAME\":\"Derbent\",\"NAMEASCII\":\"Derbent\",\"POP_MAX\":105965,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.113031,42.8334953],\"properties\":{\"NAME\":\"Buynaksk\",\"NAMEASCII\":\"Buynaksk\",\"POP_MAX\":75800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[128.8961527,37.7558724],\"properties\":{\"NAME\":\"Gangneung\",\"NAMEASCII\":\"Gangneung\",\"POP_MAX\":180611,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[128.5911584,38.208713],\"properties\":{\"NAME\":\"Sokcho\",\"NAMEASCII\":\"Sokcho\",\"POP_MAX\":85430,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[127.1403942,35.8314162],\"properties\":{\"NAME\":\"Jeonju\",\"NAMEASCII\":\"Jeonju\",\"POP_MAX\":711424,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.7160215,35.9817657],\"properties\":{\"NAME\":\"Gunsan\",\"NAMEASCII\":\"Gunsan\",\"POP_MAX\":244080,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.3958402,34.8068018],\"properties\":{\"NAME\":\"Mokpo\",\"NAMEASCII\":\"Mokpo\",\"POP_MAX\":268402,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[123.3800036,10.5503754],\"properties\":{\"NAME\":\"San Carlos\",\"NAMEASCII\":\"San Carlos\",\"POP_MAX\":6353,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[123.3085868,10.9587484],\"properties\":{\"NAME\":\"Cadiz\",\"NAMEASCII\":\"Cadiz\",\"POP_MAX\":283157,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[123.5070243,7.852969],\"properties\":{\"NAME\":\"Pagadian\",\"NAMEASCII\":\"Pagadian\",\"POP_MAX\":159590,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[123.8444197,8.1462069],\"properties\":{\"NAME\":\"Ozamis\",\"NAMEASCII\":\"Ozamis\",\"POP_MAX\":97806,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.5833785,15.4837952],\"properties\":{\"NAME\":\"Tarlac\",\"NAMEASCII\":\"Tarlac\",\"POP_MAX\":183930,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.9617016,15.5020886],\"properties\":{\"NAME\":\"Cabanatuan\",\"NAMEASCII\":\"Cabanatuan\",\"POP_MAX\":220250,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.2827767,14.8295716],\"properties\":{\"NAME\":\"Olongapo\",\"NAMEASCII\":\"Olongapo\",\"POP_MAX\":304388,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.3408093,16.0478951],\"properties\":{\"NAME\":\"Dagupan\",\"NAMEASCII\":\"Dagupan\",\"POP_MAX\":163676,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[121.3226098,14.0695663],\"properties\":{\"NAME\":\"San Pablo\",\"NAMEASCII\":\"San Pablo\",\"POP_MAX\":240830,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[121.0299662,14.6504352],\"properties\":{\"NAME\":\"Quezon City\",\"NAMEASCII\":\"Quezon City\",\"POP_MAX\":2761720,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.9999939,14.5504413],\"properties\":{\"NAME\":\"Pasay City\",\"NAMEASCII\":\"Pasay City\",\"POP_MAX\":403064,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[124.2153531,8.1712441],\"properties\":{\"NAME\":\"Iligan\",\"NAMEASCII\":\"Iligan\",\"POP_MAX\":464599,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[124.6075256,11.0642975],\"properties\":{\"NAME\":\"Ormac\",\"NAMEASCII\":\"Ormac\",\"POP_MAX\":167584,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.0000081,11.250436],\"properties\":{\"NAME\":\"Tacloban\",\"NAMEASCII\":\"Tacloban\",\"POP_MAX\":280006,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.5435925,8.9495429],\"properties\":{\"NAME\":\"Butuan\",\"NAMEASCII\":\"Butuan\",\"POP_MAX\":190557,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.8016646,7.382145],\"properties\":{\"NAME\":\"Tagum\",\"NAMEASCII\":\"Tagum\",\"POP_MAX\":6726,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.4888155,9.7842981],\"properties\":{\"NAME\":\"Surigao\",\"NAMEASCII\":\"Surigao\",\"POP_MAX\":87832,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.1299743,8.830377],\"properties\":{\"NAME\":\"Gingoog\",\"NAMEASCII\":\"Gingoog\",\"POP_MAX\":218,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[102.1666215,68.4837384],\"properties\":{\"NAME\":\"Yessey\",\"NAMEASCII\":\"Yessey\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[107.7833329,55.900398],\"properties\":{\"NAME\":\"Ulkan\",\"NAMEASCII\":\"Ulkan\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[108.1119433,57.7857351],\"properties\":{\"NAME\":\"Kirensk\",\"NAMEASCII\":\"Kirensk\",\"POP_MAX\":13308,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.1226778,56.5762482],\"properties\":{\"NAME\":\"Zheleznogorsk Ilimskiy\",\"NAMEASCII\":\"Zheleznogorsk Ilimskiy\",\"POP_MAX\":28456,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[101.2426985,56.0930994],\"properties\":{\"NAME\":\"Vikhorevka\",\"NAMEASCII\":\"Vikhorevka\",\"POP_MAX\":166,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[97.8144323,55.9606527],\"properties\":{\"NAME\":\"Biryusinsk\",\"NAMEASCII\":\"Biryusinsk\",\"POP_MAX\":9583,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[99.0996185787628,58.69455775991616],\"properties\":{\"NAME\":\"Kodinskiy\",\"NAMEASCII\":\"Kodinskiy\",\"POP_MAX\":15670,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[93.4355265,54.3487356],\"properties\":{\"NAME\":\"Artemovsk\",\"NAMEASCII\":\"Artemovsk\",\"POP_MAX\":4948,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[94.3153177,55.8103776],\"properties\":{\"NAME\":\"Uyar\",\"NAMEASCII\":\"Uyar\",\"POP_MAX\":13167,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.8207084,55.3291667],\"properties\":{\"NAME\":\"Uzhur\",\"NAMEASCII\":\"Uzhur\",\"POP_MAX\":19212,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[91.4004052,53.0894326],\"properties\":{\"NAME\":\"Sayanogorsk\",\"NAMEASCII\":\"Sayanogorsk\",\"POP_MAX\":55642,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[90.1236356,61.5995075],\"properties\":{\"NAME\":\"Podkamennaya Tunguska\",\"NAMEASCII\":\"Podkamennaya\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.5833349,67.467108],\"properties\":{\"NAME\":\"Igarka\",\"NAMEASCII\":\"Igarka\",\"POP_MAX\":7470,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.2499939,71.450379],\"properties\":{\"NAME\":\"Agapa\",\"NAMEASCII\":\"Agapa\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[97.5000329,70.7669841],\"properties\":{\"NAME\":\"Boyarka\",\"NAMEASCII\":\"Boyarka\",\"POP_MAX\":35968,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[111.5100305,74.0165015],\"properties\":{\"NAME\":\"Nordvik\",\"NAMEASCII\":\"Nordvik\",\"POP_MAX\":0,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.2500085,77.7169733],\"properties\":{\"NAME\":\"Chelyuskin\",\"NAMEASCII\":\"Chelyuskin\",\"POP_MAX\":885,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.8899792,56.3315344],\"properties\":{\"NAME\":\"Taksimo\",\"NAMEASCII\":\"Taksimo\",\"POP_MAX\":10359,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[106.5003621,51.2807575],\"properties\":{\"NAME\":\"Gusinoozyorsk\",\"NAMEASCII\":\"Gusinoozyorsk\",\"POP_MAX\":24083,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.5228182,51.1030681],\"properties\":{\"NAME\":\"Aginskoye\",\"NAMEASCII\":\"Aginskoye\",\"POP_MAX\":11491,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[129.6166772,49.7503858],\"properties\":{\"NAME\":\"Progress\",\"NAMEASCII\":\"Progress\",\"POP_MAX\":146,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[128.4637243,50.9191],\"properties\":{\"NAME\":\"Belogorsk\",\"NAMEASCII\":\"Belogorsk\",\"POP_MAX\":70203,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[121.613083,56.5312122],\"properties\":{\"NAME\":\"Nyukzha\",\"NAMEASCII\":\"Nyukzha\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[116.548586,52.0089559],\"properties\":{\"NAME\":\"Nerchinsk\",\"NAMEASCII\":\"Nerchinsk\",\"POP_MAX\":15360,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.0497823,44.2702035],\"properties\":{\"NAME\":\"Kavalerovo\",\"NAMEASCII\":\"Kavalerovo\",\"POP_MAX\":18657,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[132.8197892,44.6001575],\"properties\":{\"NAME\":\"Spassk Dalniy\",\"NAMEASCII\":\"Spassk Dalniy\",\"POP_MAX\":45900,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[143.1833427,73.2203744],\"properties\":{\"NAME\":\"Shalaurova\",\"NAMEASCII\":\"Shalaurova\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[153.9000012,70.8503898],\"properties\":{\"NAME\":\"Logashkino\",\"NAMEASCII\":\"Logashkino\",\"POP_MAX\":0,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.6000329,70.0170557],\"properties\":{\"NAME\":\"Ust Kuyga\",\"NAMEASCII\":\"Ust Kuyga\",\"POP_MAX\":1517,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[129.1272497,61.4934416],\"properties\":{\"NAME\":\"Pokrovsk\",\"NAMEASCII\":\"Pokrovsk\",\"POP_MAX\":9763,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[120.3167281,63.4456997],\"properties\":{\"NAME\":\"Verkhnevilyuysk\",\"NAMEASCII\":\"Verkhnevilyuysk\",\"POP_MAX\":6341,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[112.5578218,59.451499],\"properties\":{\"NAME\":\"Vitim\",\"NAMEASCII\":\"Vitim\",\"POP_MAX\":3843,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[120.3925891,60.503192],\"properties\":{\"NAME\":\"Olyokminsk\",\"NAMEASCII\":\"Olyokminsk\",\"POP_MAX\":10000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[125.2500187,64.9004429],\"properties\":{\"NAME\":\"Tunguskhaya\",\"NAMEASCII\":\"Tunguskhaya\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[123.9255,68.4106163],\"properties\":{\"NAME\":\"Natara\",\"NAMEASCII\":\"Natara\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.0000077,70.1336894],\"properties\":{\"NAME\":\"Zhilinda\",\"NAMEASCII\":\"Zhilinda\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[127.0336824,72.5996887],\"properties\":{\"NAME\":\"Trofimovsk\",\"NAMEASCII\":\"Trofimovsk\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[139.5000016,57.3669751],\"properties\":{\"NAME\":\"Tukchi\",\"NAMEASCII\":\"Tukchi\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[136.8974214,50.2228375],\"properties\":{\"NAME\":\"Amursk\",\"NAMEASCII\":\"Amursk\",\"POP_MAX\":46993,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[134.2649206,46.8202545],\"properties\":{\"NAME\":\"Bikin\",\"NAMEASCII\":\"Bikin\",\"POP_MAX\":19659,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[134.7474751,47.5328467],\"properties\":{\"NAME\":\"Vyazemskiy\",\"NAMEASCII\":\"Vyazemskiy\",\"POP_MAX\":15247,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.0241178,51.1177958],\"properties\":{\"NAME\":\"Chegdomyn\",\"NAMEASCII\":\"Chegdomyn\",\"POP_MAX\":14855,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[152.4165775,59.0337209],\"properties\":{\"NAME\":\"Siglan\",\"NAMEASCII\":\"Siglan\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[151.166628,60.2004197],\"properties\":{\"NAME\":\"Karamken\",\"NAMEASCII\":\"Karamken\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[152.2501794,61.8669847],\"properties\":{\"NAME\":\"Strelka\",\"NAMEASCII\":\"Strelka\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[156.0850358,50.6904834],\"properties\":{\"NAME\":\"Severo Kurilsk\",\"NAMEASCII\":\"Severo Kurilsk\",\"POP_MAX\":2422,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.0899727,48.4615497],\"properties\":{\"NAME\":\"Krasnogorsk\",\"NAMEASCII\":\"Krasnogorsk\",\"POP_MAX\":3304,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[143.0850024,49.2415538],\"properties\":{\"NAME\":\"Poronaysk\",\"NAMEASCII\":\"Poronaysk\",\"POP_MAX\":16677,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.8000069,48.6337356],\"properties\":{\"NAME\":\"Makarov\",\"NAMEASCII\":\"Makarov\",\"POP_MAX\":6663,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.8000069,47.3504289],\"properties\":{\"NAME\":\"Dolinsk\",\"NAMEASCII\":\"Dolinsk\",\"POP_MAX\":11989,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[141.8699344,46.6802889],\"properties\":{\"NAME\":\"Nevelsk\",\"NAMEASCII\":\"Nevelsk\",\"POP_MAX\":17000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.8519598,-1.2008699],\"properties\":{\"NAME\":\"Buur Gaabo\",\"NAMEASCII\":\"Buur Gaabo\",\"POP_MAX\":3096,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[-3.6665827,16.416994],\"properties\":{\"NAME\":\"Goundam\",\"NAMEASCII\":\"Goundam\",\"POP_MAX\":8456,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[0.8563712,19.4548706],\"properties\":{\"NAME\":\"Aguelhok\",\"NAMEASCII\":\"Aguelhok\",\"POP_MAX\":9000,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-0.3499893,16.9003754],\"properties\":{\"NAME\":\"Bourem\",\"NAMEASCII\":\"Bourem\",\"POP_MAX\":30000,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-115.94008409781253,30.558464923969392],\"properties\":{\"NAME\":\"San Quintín\",\"NAMEASCII\":\"San Quintin\",\"POP_MAX\":5433,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-114.1665821,28.9336977],\"properties\":{\"NAME\":\"Punta Prieta\",\"NAMEASCII\":\"Punta Prieta\",\"POP_MAX\":527,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-114.8496153,31.0241128],\"properties\":{\"NAME\":\"San Felipe\",\"NAMEASCII\":\"San Felipe\",\"POP_MAX\":20750,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-112.2833637,27.3170781],\"properties\":{\"NAME\":\"Santa Rosalía\",\"NAMEASCII\":\"Santa Rosalia\",\"POP_MAX\":11899,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-114.1699669,27.990422],\"properties\":{\"NAME\":\"Guerrero Negro\",\"NAMEASCII\":\"Guerrero Negro\",\"POP_MAX\":13054,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.5316521,28.7076392],\"properties\":{\"NAME\":\"Piedras Negras\",\"NAMEASCII\":\"Piedras Negras\",\"POP_MAX\":139619,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.9826911,25.7592145],\"properties\":{\"NAME\":\"San Pedro de las Colonias\",\"NAMEASCII\":\"San Pedro de las Colonias\",\"POP_MAX\":53688,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.70184027972485,27.28889159011016],\"properties\":{\"NAME\":\"Sierra Mojada\",\"NAMEASCII\":\"Sierra Mojada\",\"POP_MAX\":10,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.1799494,25.420398],\"properties\":{\"NAME\":\"Parras\",\"NAMEASCII\":\"Parras\",\"POP_MAX\":32253,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.8695856,28.4257442],\"properties\":{\"NAME\":\"Cuauhtémoc\",\"NAMEASCII\":\"Cuauhtemoc\",\"POP_MAX\":90835,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-107.9118993,30.4184908],\"properties\":{\"NAME\":\"Nuevo Casas Grandes\",\"NAMEASCII\":\"Nuevo Casas Grandes\",\"POP_MAX\":54826,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.41002,29.5404049],\"properties\":{\"NAME\":\"Ojinaga\",\"NAMEASCII\":\"Ojinaga\",\"POP_MAX\":22128,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.5099952,30.6104429],\"properties\":{\"NAME\":\"Villa Ahumada\",\"NAMEASCII\":\"Villa Ahumada\",\"POP_MAX\":9326,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.8200373,26.8004429],\"properties\":{\"NAME\":\"Santa Barbara\",\"NAMEASCII\":\"Santa Barbara\",\"POP_MAX\":10800,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.1700511,27.6904144],\"properties\":{\"NAME\":\"Ciudad Camargo\",\"NAMEASCII\":\"Ciudad Camargo\",\"POP_MAX\":37743,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.6999858,24.8704057],\"properties\":{\"NAME\":\"Cuencame\",\"NAMEASCII\":\"Cuencame\",\"POP_MAX\":8876,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.3399891,24.8304081],\"properties\":{\"NAME\":\"Papasquiaro\",\"NAMEASCII\":\"Papasquiaro\",\"POP_MAX\":22750,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.7999868,22.8504256],\"properties\":{\"NAME\":\"Escuinapa\",\"NAMEASCII\":\"Escuinapa\",\"POP_MAX\":28248,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-108.0900021,25.4703691],\"properties\":{\"NAME\":\"Guamúchil\",\"NAMEASCII\":\"Guamuchil\",\"POP_MAX\":62695,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-108.4699789,25.5704922],\"properties\":{\"NAME\":\"Guasave\",\"NAMEASCII\":\"Guasave\",\"POP_MAX\":96860,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-108.6199956,26.4204144],\"properties\":{\"NAME\":\"El Fuerte\",\"NAMEASCII\":\"El Fuerte\",\"POP_MAX\":11171,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-107.3699943,24.3304645],\"properties\":{\"NAME\":\"Eldorado\",\"NAMEASCII\":\"Eldorado\",\"POP_MAX\":17365,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.900023,23.920412],\"properties\":{\"NAME\":\"La Cruz\",\"NAMEASCII\":\"La Cruz\",\"POP_MAX\":11900,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.5630388,31.3223375],\"properties\":{\"NAME\":\"Agua Prieta\",\"NAMEASCII\":\"Agua Prieta\",\"POP_MAX\":86083,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.9249805,27.4666038],\"properties\":{\"NAME\":\"Ciudad Obregon\",\"NAMEASCII\":\"Ciudad Obregon\",\"POP_MAX\":288002,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.4546216,27.0818986],\"properties\":{\"NAME\":\"Navajoa\",\"NAMEASCII\":\"Navajoa\",\"POP_MAX\":116093,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-112.1642495,30.7161471],\"properties\":{\"NAME\":\"Caborca\",\"NAMEASCII\":\"Caborca\",\"POP_MAX\":57357,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.1333399,29.0171035],\"properties\":{\"NAME\":\"Mazatlán\",\"NAMEASCII\":\"Mazatlan\",\"POP_MAX\":500000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.3000481,30.9904197],\"properties\":{\"NAME\":\"Cananea\",\"NAMEASCII\":\"Cananea\",\"POP_MAX\":33433,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-109.6300373,26.8304153],\"properties\":{\"NAME\":\"Huatabampo\",\"NAMEASCII\":\"Huatabampo\",\"POP_MAX\":30426,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.5800025,22.7704305],\"properties\":{\"NAME\":\"Zacatecas\",\"NAMEASCII\":\"Zacatecas\",\"POP_MAX\":234481,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.3899789,24.2904153],\"properties\":{\"NAME\":\"Juan Aldama\",\"NAMEASCII\":\"Juan Aldama\",\"POP_MAX\":14162,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.5699679,22.7704305],\"properties\":{\"NAME\":\"Valparaíso\",\"NAMEASCII\":\"Valparaiso\",\"POP_MAX\":10545,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.8599854,23.1704319],\"properties\":{\"NAME\":\"Fresnillo\",\"NAMEASCII\":\"Fresnillo\",\"POP_MAX\":105488,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.5700312,24.8603805],\"properties\":{\"NAME\":\"Linares\",\"NAMEASCII\":\"Linares\",\"POP_MAX\":57731,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.6500169,23.6603762],\"properties\":{\"NAME\":\"Matehuala\",\"NAMEASCII\":\"Matehuala\",\"POP_MAX\":67717,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.7500037,21.9803754],\"properties\":{\"NAME\":\"Tamuín\",\"NAMEASCII\":\"Tamuin\",\"POP_MAX\":14748,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.7799502,21.2704187],\"properties\":{\"NAME\":\"Tamazunchale\",\"NAMEASCII\":\"Tamazunchale\",\"POP_MAX\":72685,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.7199962,23.0003906],\"properties\":{\"NAME\":\"Tula\",\"NAMEASCII\":\"Tula\",\"POP_MAX\":9054,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.0699677,22.9204214],\"properties\":{\"NAME\":\"Aldama\",\"NAMEASCII\":\"Aldama\",\"POP_MAX\":12292,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.1600139,24.8504328],\"properties\":{\"NAME\":\"San Fernando\",\"NAMEASCII\":\"San Fernando\",\"POP_MAX\":29171,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.8799748,18.9203813],\"properties\":{\"NAME\":\"Tecoman\",\"NAMEASCII\":\"Tecoman\",\"POP_MAX\":91321,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.2449819,20.6770958],\"properties\":{\"NAME\":\"Puerto Vallarta\",\"NAMEASCII\":\"Puerto Vallarta\",\"POP_MAX\":187134,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.5600037,20.2803758],\"properties\":{\"NAME\":\"La Barca\",\"NAMEASCII\":\"La Barca\",\"POP_MAX\":35345,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.4600004,19.7104106],\"properties\":{\"NAME\":\"Ciudad Guzman\",\"NAMEASCII\":\"Ciudad Guzman\",\"POP_MAX\":92161,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.9299905,21.3704126],\"properties\":{\"NAME\":\"Lagos de Moreno\",\"NAMEASCII\":\"Lagos de Moreno\",\"POP_MAX\":94127,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.189493,19.7333808],\"properties\":{\"NAME\":\"Morelia\",\"NAMEASCII\":\"Morelia\",\"POP_MAX\":644306,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.199974,17.9587087],\"properties\":{\"NAME\":\"Lázaro Cárdenas\",\"NAMEASCII\":\"Lazaro Cardenas\",\"POP_MAX\":160087,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.2800208,19.9803683],\"properties\":{\"NAME\":\"Zamora\",\"NAMEASCII\":\"Zamora\",\"POP_MAX\":214947,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.1499677,18.7803898],\"properties\":{\"NAME\":\"Coalcoman\",\"NAMEASCII\":\"Coalcoman\",\"POP_MAX\":10715,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.0700078,19.4203766],\"properties\":{\"NAME\":\"Uruapan\",\"NAMEASCII\":\"Uruapan\",\"POP_MAX\":264531,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.2699675,21.9304043],\"properties\":{\"NAME\":\"Tuxpan\",\"NAMEASCII\":\"Tuxpan\",\"POP_MAX\":26115,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.8799913,21.5053915],\"properties\":{\"NAME\":\"Tepic\",\"NAMEASCII\":\"Tepic\",\"POP_MAX\":318781,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.8999901,21.2304212],\"properties\":{\"NAME\":\"Compostela\",\"NAMEASCII\":\"Compostela\",\"POP_MAX\":16162,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.4599817,22.4004273],\"properties\":{\"NAME\":\"Tecuala\",\"NAMEASCII\":\"Tecuala\",\"POP_MAX\":14921,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-91.8244802,18.6536593],\"properties\":{\"NAME\":\"Ciudad del Carmen\",\"NAMEASCII\":\"Ciudad del Carmen\",\"POP_MAX\":156195,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-90.7200029,19.3504326],\"properties\":{\"NAME\":\"Champotón\",\"NAMEASCII\":\"Champoton\",\"POP_MAX\":26636,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-95.1999878,16.167061],\"properties\":{\"NAME\":\"Salina Cruz\",\"NAMEASCII\":\"Salina Cruz\",\"POP_MAX\":81063,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.0658883,15.8591803],\"properties\":{\"NAME\":\"Puerto Escondido\",\"NAMEASCII\":\"Puerto Escondido\",\"POP_MAX\":19488,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.4699878,15.7303951],\"properties\":{\"NAME\":\"Pochutla\",\"NAMEASCII\":\"Pochutla\",\"POP_MAX\":24481,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.3999921,16.917041],\"properties\":{\"NAME\":\"Mitla\",\"NAMEASCII\":\"Mitla\",\"POP_MAX\":7547,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.6800173,17.2704045],\"properties\":{\"NAME\":\"Tlaxiaco\",\"NAMEASCII\":\"Tlaxiaco\",\"POP_MAX\":21391,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.7899848,17.8103715],\"properties\":{\"NAME\":\"Huajuapan de León\",\"NAMEASCII\":\"Huajuapan de Leon\",\"POP_MAX\":47844,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.379984,18.4503583],\"properties\":{\"NAME\":\"Tehuacan\",\"NAMEASCII\":\"Tehuacan\",\"POP_MAX\":241429,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.3599852,19.8204297],\"properties\":{\"NAME\":\"Teziutlán\",\"NAMEASCII\":\"Teziutlan\",\"POP_MAX\":177796,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-92.6499884,18.5803762],\"properties\":{\"NAME\":\"Frontera\",\"NAMEASCII\":\"Frontera\",\"POP_MAX\":22621,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-91.4299854,17.4803658],\"properties\":{\"NAME\":\"Tenosique\",\"NAMEASCII\":\"Tenosique\",\"POP_MAX\":32415,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.2000092,20.5704098],\"properties\":{\"NAME\":\"Salamanca\",\"NAMEASCII\":\"Salamanca\",\"POP_MAX\":197524,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.2799785,21.0204081],\"properties\":{\"NAME\":\"Guanajuato\",\"NAMEASCII\":\"Guanajuato\",\"POP_MAX\":112200,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.6199506,18.5703768],\"properties\":{\"NAME\":\"Taxco\",\"NAMEASCII\":\"Taxco\",\"POP_MAX\":53217,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.09466591520858,16.964354518988458],\"properties\":{\"NAME\":\"Ayutla\",\"NAMEASCII\":\"Ayutla\",\"POP_MAX\":9897,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.6500169,18.3203921],\"properties\":{\"NAME\":\"Ciudad Altamirano\",\"NAMEASCII\":\"Ciudad Altamirano\",\"POP_MAX\":24533,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.2700308,17.5204151],\"properties\":{\"NAME\":\"Petatlán\",\"NAMEASCII\":\"Petatlan\",\"POP_MAX\":31910,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.73558896806964,20.106423601457994],\"properties\":{\"NAME\":\"Pachuca\",\"NAMEASCII\":\"Pachuca\",\"POP_MAX\":319581,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.65317928548968,19.28930795148478],\"properties\":{\"NAME\":\"Toluca\",\"NAMEASCII\":\"Toluca\",\"POP_MAX\":1531000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.1099817,19.8104045],\"properties\":{\"NAME\":\"Zumpango\",\"NAMEASCII\":\"Zumpango\",\"POP_MAX\":250000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-94.5300029,17.9804645],\"properties\":{\"NAME\":\"Minatitlán\",\"NAMEASCII\":\"Minatitlan\",\"POP_MAX\":201902,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-94.4200096,18.1204043],\"properties\":{\"NAME\":\"Coatzacoalcos\",\"NAMEASCII\":\"Coatzacoalcos\",\"POP_MAX\":287285,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.44394909450384,20.525714761967706],\"properties\":{\"NAME\":\"Poza Rica de Hidalgo\",\"NAMEASCII\":\"Poza Rica de Hidalgo\",\"POP_MAX\":254481,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.9199862,18.9203813],\"properties\":{\"NAME\":\"Córdoba\",\"NAMEASCII\":\"Cordoba\",\"POP_MAX\":220563,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-95.2999817,18.4703829],\"properties\":{\"NAME\":\"Santiago Tuxtla\",\"NAMEASCII\":\"Santiago Tuxtla\",\"POP_MAX\":15681,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.4099821,20.9604118],\"properties\":{\"NAME\":\"Tuxpam\",\"NAMEASCII\":\"Tuxpam\",\"POP_MAX\":109049,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.1899862,22.060448],\"properties\":{\"NAME\":\"Pánuco\",\"NAMEASCII\":\"Panuco\",\"POP_MAX\":35316,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-93.2200312,15.6903976],\"properties\":{\"NAME\":\"Pijijiapan\",\"NAMEASCII\":\"Pijijiapan\",\"POP_MAX\":23675,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-86.7114549,21.2083906],\"properties\":{\"NAME\":\"Isla Mujeres\",\"NAMEASCII\":\"Isla Mujeres\",\"POP_MAX\":12491,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-88.049985,19.5803927],\"properties\":{\"NAME\":\"Felipe Carrillo Puerto\",\"NAMEASCII\":\"Felipe Carrillo Puerto\",\"POP_MAX\":24807,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-88.1499789,21.1304273],\"properties\":{\"NAME\":\"Tizimín\",\"NAMEASCII\":\"Tizimin\",\"POP_MAX\":41993,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-88.2000017,20.6704037],\"properties\":{\"NAME\":\"Valladolid\",\"NAMEASCII\":\"Valladolid\",\"POP_MAX\":48479,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.020055,20.9304136],\"properties\":{\"NAME\":\"Izamal\",\"NAMEASCII\":\"Izamal\",\"POP_MAX\":14954,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.5300238,20.4003943],\"properties\":{\"NAME\":\"Ticul\",\"NAMEASCII\":\"Ticul\",\"POP_MAX\":30519,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-12.4833055,22.7303813],\"properties\":{\"NAME\":\"Zouirat\",\"NAMEASCII\":\"Zouirat\",\"POP_MAX\":56345,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-5.7799679,25.3804004],\"properties\":{\"NAME\":\"Chegga\",\"NAMEASCII\":\"Chegga\",\"POP_MAX\":10,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-13.4999876,17.0003951],\"properties\":{\"NAME\":\"Magta Lajar\",\"NAMEASCII\":\"Magta Lajar\",\"POP_MAX\":10,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-14.2699665,16.5903943],\"properties\":{\"NAME\":\"Bogue\",\"NAMEASCII\":\"Bogue\",\"POP_MAX\":10415,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-14.7000436,17.5503874],\"properties\":{\"NAME\":\"Boutilimit\",\"NAMEASCII\":\"Boutilimit\",\"POP_MAX\":14142,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-12.1833238,15.1670187],\"properties\":{\"NAME\":\"Sélibaby\",\"NAMEASCII\":\"Selibaby\",\"POP_MAX\":460,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.0800084,12.750422],\"properties\":{\"NAME\":\"Kati\",\"NAMEASCII\":\"Kati\",\"POP_MAX\":66895,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-7.4499952,13.550399],\"properties\":{\"NAME\":\"Banamba\",\"NAMEASCII\":\"Banamba\",\"POP_MAX\":30591,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-8.4400122,11.9404197],\"properties\":{\"NAME\":\"Kangaba\",\"NAMEASCII\":\"Kangaba\",\"POP_MAX\":17232,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-9.5899679,15.2304256],\"properties\":{\"NAME\":\"Nioro du Sahel\",\"NAMEASCII\":\"Nioro du Sahel\",\"POP_MAX\":14421,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-10.820022,13.8003837],\"properties\":{\"NAME\":\"Bafoulabé\",\"NAMEASCII\":\"Bafoulabe\",\"POP_MAX\":26823,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-11.4066012,12.6169934],\"properties\":{\"NAME\":\"Satadougou\",\"NAMEASCII\":\"Satadougou\",\"POP_MAX\":706,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-10.5666266,15.1337132],\"properties\":{\"NAME\":\"Yélimané\",\"NAMEASCII\":\"Yelimane\",\"POP_MAX\":988,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-9.4833077,13.0504037],\"properties\":{\"NAME\":\"Kita\",\"NAMEASCII\":\"Kita\",\"POP_MAX\":46435,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-5.4699868,12.3904181],\"properties\":{\"NAME\":\"Koutiala\",\"NAMEASCII\":\"Koutiala\",\"POP_MAX\":104927,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-5.6799998,11.3204059],\"properties\":{\"NAME\":\"Sikasso\",\"NAMEASCII\":\"Sikasso\",\"POP_MAX\":225753,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-7.4899669,11.4204256],\"properties\":{\"NAME\":\"Bougouni\",\"NAMEASCII\":\"Bougouni\",\"POP_MAX\":35450,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-8.1666181,16.2504151],\"properties\":{\"NAME\":\"Timbedra\",\"NAMEASCII\":\"Timbedra\",\"POP_MAX\":245,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.2500074,16.6170593],\"properties\":{\"NAME\":\"Nema\",\"NAMEASCII\":\"Nema\",\"POP_MAX\":200000,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-6.0699502,13.6703658],\"properties\":{\"NAME\":\"Markala\",\"NAMEASCII\":\"Markala\",\"POP_MAX\":53738,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-6.1333055,14.7337376],\"properties\":{\"NAME\":\"Sokolo\",\"NAMEASCII\":\"Sokolo\",\"POP_MAX\":4374,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-4.9000474,13.3004142],\"properties\":{\"NAME\":\"San\",\"NAMEASCII\":\"San\",\"POP_MAX\":41386,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[12.1899947,10.6204228],\"properties\":{\"NAME\":\"Biu\",\"NAMEASCII\":\"Biu\",\"POP_MAX\":95005,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[13.6900065,11.5203937],\"properties\":{\"NAME\":\"Bama\",\"NAMEASCII\":\"Bama\",\"POP_MAX\":118121,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.34998,5.100398],\"properties\":{\"NAME\":\"Aba\",\"NAMEASCII\":\"Aba\",\"POP_MAX\":897560,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.559993,4.5704045],\"properties\":{\"NAME\":\"Opobo\",\"NAMEASCII\":\"Opobo\",\"POP_MAX\":34911,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.0333068,5.7837154],\"properties\":{\"NAME\":\"Orlu\",\"NAMEASCII\":\"Orlu\",\"POP_MAX\":9351,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[8.1299841,7.1903996],\"properties\":{\"NAME\":\"Oturkpo\",\"NAMEASCII\":\"Oturkpo\",\"POP_MAX\":68220,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[8.3300236,4.9604065],\"properties\":{\"NAME\":\"Calabar\",\"NAMEASCII\":\"Calabar\",\"POP_MAX\":461796,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[9.7800126,7.8704098],\"properties\":{\"NAME\":\"Wukari\",\"NAMEASCII\":\"Wukari\",\"POP_MAX\":92933,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.3600195,8.9003727],\"properties\":{\"NAME\":\"Jalingo\",\"NAMEASCII\":\"Jalingo\",\"POP_MAX\":117757,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.4699397,10.4003587],\"properties\":{\"NAME\":\"Kontagora\",\"NAMEASCII\":\"Kontagora\",\"POP_MAX\":98754,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.0100101,9.0804134],\"properties\":{\"NAME\":\"Bida\",\"NAMEASCII\":\"Bida\",\"POP_MAX\":173849,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[3.3500175,7.1604273],\"properties\":{\"NAME\":\"Abeokuta\",\"NAMEASCII\":\"Abeokuta\",\"POP_MAX\":593100,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[3.9200085,6.820448],\"properties\":{\"NAME\":\"Ijebu Ode\",\"NAMEASCII\":\"Ijebu Ode\",\"POP_MAX\":209175,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.1999821,7.2503959],\"properties\":{\"NAME\":\"Akure\",\"NAMEASCII\":\"Akure\",\"POP_MAX\":420594,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.7599996,7.5304305],\"properties\":{\"NAME\":\"Ikare\",\"NAMEASCII\":\"Ikare\",\"POP_MAX\":1099931,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.5899841,7.200399],\"properties\":{\"NAME\":\"Owo\",\"NAMEASCII\":\"Owo\",\"POP_MAX\":276574,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.840004,7.0904057],\"properties\":{\"NAME\":\"Ondo\",\"NAMEASCII\":\"Ondo\",\"POP_MAX\":257005,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.2199808,7.6303727],\"properties\":{\"NAME\":\"Ado Ekiti\",\"NAMEASCII\":\"Ado Ekiti\",\"POP_MAX\":446749,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.5600211,7.4804336],\"properties\":{\"NAME\":\"Ife\",\"NAMEASCII\":\"Ife\",\"POP_MAX\":482365,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.5600211,7.7703642],\"properties\":{\"NAME\":\"Oshogbo\",\"NAMEASCII\":\"Oshogbo\",\"POP_MAX\":408245,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[3.9299821,7.8504368],\"properties\":{\"NAME\":\"Oyo\",\"NAMEASCII\":\"Oyo\",\"POP_MAX\":736072,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.0699971,6.2104336],\"properties\":{\"NAME\":\"Awka\",\"NAMEASCII\":\"Awka\",\"POP_MAX\":500000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.779989,6.140412],\"properties\":{\"NAME\":\"Onitsha\",\"NAMEASCII\":\"Onitsha\",\"POP_MAX\":73374,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[10.1900134,11.6804098],\"properties\":{\"NAME\":\"Azare\",\"NAMEASCII\":\"Azare\",\"POP_MAX\":105687,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[9.8400089,10.3103642],\"properties\":{\"NAME\":\"Bauchi\",\"NAMEASCII\":\"Bauchi\",\"POP_MAX\":316149,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.1699536,10.2904429],\"properties\":{\"NAME\":\"Gombe\",\"NAMEASCII\":\"Gombe\",\"POP_MAX\":270366,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.2130517,10.0457033],\"properties\":{\"NAME\":\"Kumo\",\"NAMEASCII\":\"Kumo\",\"POP_MAX\":35712,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.6800044,5.8904273],\"properties\":{\"NAME\":\"Sapele\",\"NAMEASCII\":\"Sapele\",\"POP_MAX\":309162,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.383363,6.8670343],\"properties\":{\"NAME\":\"Nsukka\",\"NAMEASCII\":\"Nsukka\",\"POP_MAX\":111017,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.7399397,7.8003882],\"properties\":{\"NAME\":\"Lokoja\",\"NAMEASCII\":\"Lokoja\",\"POP_MAX\":60579,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.7399397,7.1104045],\"properties\":{\"NAME\":\"Idah\",\"NAMEASCII\":\"Idah\",\"POP_MAX\":75087,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[8.5200378,8.4904236],\"properties\":{\"NAME\":\"Lafia\",\"NAMEASCII\":\"Lafia\",\"POP_MAX\":127236,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.8736173,8.8490322],\"properties\":{\"NAME\":\"Keffi\",\"NAMEASCII\":\"Keffi\",\"POP_MAX\":85911,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.3200077,11.5203937],\"properties\":{\"NAME\":\"Funtua\",\"NAMEASCII\":\"Funtua\",\"POP_MAX\":180475,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.5999906,12.9904073],\"properties\":{\"NAME\":\"Katsina\",\"NAMEASCII\":\"Katsina\",\"POP_MAX\":432149,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.6599963,12.1704057],\"properties\":{\"NAME\":\"Gusau\",\"NAMEASCII\":\"Gusau\",\"POP_MAX\":226857,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[10.4499975,12.8803882],\"properties\":{\"NAME\":\"Nguru\",\"NAMEASCII\":\"Nguru\",\"POP_MAX\":111014,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.0399873,12.8704922],\"properties\":{\"NAME\":\"Gashua\",\"NAMEASCII\":\"Gashua\",\"POP_MAX\":125817,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[11.0799849,11.7103821],\"properties\":{\"NAME\":\"Potiskum\",\"NAMEASCII\":\"Potiskum\",\"POP_MAX\":86002,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.1999397,12.4504144],\"properties\":{\"NAME\":\"Birnin Kebbi\",\"NAMEASCII\":\"Birnin Kebbi\",\"POP_MAX\":108164,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.5169746,11.4231903],\"properties\":{\"NAME\":\"Koko\",\"NAMEASCII\":\"Koko\",\"POP_MAX\":25792,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[13.2700321,10.2703408],\"properties\":{\"NAME\":\"Mubi\",\"NAMEASCII\":\"Mubi\",\"POP_MAX\":225705,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[12.0400297,9.4604419],\"properties\":{\"NAME\":\"Numan\",\"NAMEASCII\":\"Numan\",\"POP_MAX\":77617,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[10.4566638,30.1679118],\"properties\":{\"NAME\":\"Dirj\",\"NAMEASCII\":\"Dirj\",\"POP_MAX\":931,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[10.9700175,31.8804429],\"properties\":{\"NAME\":\"Nalut\",\"NAMEASCII\":\"Nalut\",\"POP_MAX\":66609,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[21.3395137,41.039057],\"properties\":{\"NAME\":\"Bitola\",\"NAMEASCII\":\"Bitola\",\"POP_MAX\":86528,\"ISO_A2\":\"MK\",\"SOV_A3\":\"MKD\"}},{\"type\":\"Point\",\"coordinates\":[17.5833606,28.5504136],\"properties\":{\"NAME\":\"Zillah\",\"NAMEASCII\":\"Zillah\",\"POP_MAX\":10,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[14.2599975,32.6604212],\"properties\":{\"NAME\":\"Al Khums\",\"NAMEASCII\":\"Al Khums\",\"POP_MAX\":201943,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[14.4708374,24.3703587],\"properties\":{\"NAME\":\"Tajarhi\",\"NAMEASCII\":\"Tajarhi\",\"POP_MAX\":1500,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[15.0333353,27.5170142],\"properties\":{\"NAME\":\"Umm al Abid\",\"NAMEASCII\":\"Umm al Abid\",\"POP_MAX\":300,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[12.7199882,32.7604151],\"properties\":{\"NAME\":\"Az Zawiyah\",\"NAMEASCII\":\"Az Zawiyah\",\"POP_MAX\":200000,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[13.0199698,32.1703736],\"properties\":{\"NAME\":\"Gharyan\",\"NAMEASCII\":\"Gharyan\",\"POP_MAX\":146810,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[12.9833313,31.433726],\"properties\":{\"NAME\":\"Mizdah\",\"NAMEASCII\":\"Mizdah\",\"POP_MAX\":26107,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[13.9899882,31.770398],\"properties\":{\"NAME\":\"Bani Walid\",\"NAMEASCII\":\"Bani Walid\",\"POP_MAX\":65392,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[20.8299841,32.5004568],\"properties\":{\"NAME\":\"Al Marj\",\"NAMEASCII\":\"Al Marj\",\"POP_MAX\":169540,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[21.6200134,32.7604151],\"properties\":{\"NAME\":\"Al Bayda\",\"NAMEASCII\":\"Al Bayda\",\"POP_MAX\":1794,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[21.8621691,32.828137],\"properties\":{\"NAME\":\"Shahhat\",\"NAMEASCII\":\"Shahhat\",\"POP_MAX\":45000,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[19.2000061,30.2570278],\"properties\":{\"NAME\":\"El Agheila\",\"NAMEASCII\":\"El Agheila\",\"POP_MAX\":100,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[19.2166459,29.2337053],\"properties\":{\"NAME\":\"Maradah\",\"NAMEASCII\":\"Maradah\",\"POP_MAX\":2500,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[20.0154602,31.6606372],\"properties\":{\"NAME\":\"Qaminis\",\"NAMEASCII\":\"Qaminis\",\"POP_MAX\":5348,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[18.2666263,30.6704134],\"properties\":{\"NAME\":\"As Sidr\",\"NAMEASCII\":\"As Sidr\",\"POP_MAX\":50,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[24.5165808,29.7503921],\"properties\":{\"NAME\":\"Al Jaghbub\",\"NAMEASCII\":\"Al Jaghbub\",\"POP_MAX\":1744,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[35.9041544,33.850116],\"properties\":{\"NAME\":\"Zahlé\",\"NAMEASCII\":\"Zahle\",\"POP_MAX\":78145,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[22.3499947,53.8337024],\"properties\":{\"NAME\":\"Ełk\",\"NAMEASCII\":\"Elk\",\"POP_MAX\":55769,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.5300211,54.5203788],\"properties\":{\"NAME\":\"Gdynia\",\"NAMEASCII\":\"Gdynia\",\"POP_MAX\":314664,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[17.0300093,51.1104319],\"properties\":{\"NAME\":\"Wrocław\",\"NAMEASCII\":\"Wroclaw\",\"POP_MAX\":634893,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[14.5300069,53.4203943],\"properties\":{\"NAME\":\"Szczecin\",\"NAMEASCII\":\"Szczecin\",\"POP_MAX\":407811,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[15.5000252,51.9504065],\"properties\":{\"NAME\":\"Zielona Góra\",\"NAMEASCII\":\"Zielona Gora\",\"POP_MAX\":118433,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[16.8999397,52.4057534],\"properties\":{\"NAME\":\"Poznań\",\"NAMEASCII\":\"Poznan\",\"POP_MAX\":623997,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.7500077,53.4803906],\"properties\":{\"NAME\":\"Grudziądz\",\"NAMEASCII\":\"Grudziadz\",\"POP_MAX\":102443,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.0100012,53.1204126],\"properties\":{\"NAME\":\"Bydgoszcz\",\"NAMEASCII\":\"Bydgoszcz\",\"POP_MAX\":366452,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[19.020017,50.2603805],\"properties\":{\"NAME\":\"Katowice\",\"NAMEASCII\":\"Katowice\",\"POP_MAX\":2746000,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[18.6700126,50.3303762],\"properties\":{\"NAME\":\"Gliwice\",\"NAMEASCII\":\"Gliwice\",\"POP_MAX\":507670,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[20.6600203,50.8903937],\"properties\":{\"NAME\":\"Kielce\",\"NAMEASCII\":\"Kielce\",\"POP_MAX\":215733,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[23.182319226878395,53.13169570980265],\"properties\":{\"NAME\":\"Białystok\",\"NAMEASCII\":\"Bialystok\",\"POP_MAX\":291855,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[22.5727201,51.2503976],\"properties\":{\"NAME\":\"Lublin\",\"NAMEASCII\":\"Lublin\",\"POP_MAX\":360044,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[21.995991522124438,50.02865490248002],\"properties\":{\"NAME\":\"Rzeszów\",\"NAMEASCII\":\"Rzeszow\",\"POP_MAX\":245686,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[54.6330371,59.0161768],\"properties\":{\"NAME\":\"Kudymkar\",\"NAMEASCII\":\"Kudymkar\",\"POP_MAX\":32423,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[56.9543424,57.4347746],\"properties\":{\"NAME\":\"Kungur\",\"NAMEASCII\":\"Kungur\",\"POP_MAX\":66389,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.7442871,58.0747355],\"properties\":{\"NAME\":\"Krasnokamsk\",\"NAMEASCII\":\"Krasnokamsk\",\"POP_MAX\":52689,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.8130497,58.2934302],\"properties\":{\"NAME\":\"Chusovoy\",\"NAMEASCII\":\"Chusovoy\",\"POP_MAX\":72113,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.5887223,58.8691315],\"properties\":{\"NAME\":\"Gubakha\",\"NAMEASCII\":\"Gubakha\",\"POP_MAX\":31424,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.9500028,48.9336914],\"properties\":{\"NAME\":\"Olgiy\",\"NAMEASCII\":\"Olgiy\",\"POP_MAX\":34934,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[101.7500577,19.2504645],\"properties\":{\"NAME\":\"Xaignabouri\",\"NAMEASCII\":\"Xaignabouri\",\"POP_MAX\":16200,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[105.8183365,15.1220602],\"properties\":{\"NAME\":\"Pakxe\",\"NAMEASCII\":\"Pakxe\",\"POP_MAX\":102775,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[103.1959972,19.4518958],\"properties\":{\"NAME\":\"Phonsavan\",\"NAMEASCII\":\"Phonsavan\",\"POP_MAX\":37507,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[102.1416101,19.8845343],\"properties\":{\"NAME\":\"Louangphrabang\",\"NAMEASCII\":\"Louangphrabang\",\"POP_MAX\":107142,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[104.8361226,17.4111969],\"properties\":{\"NAME\":\"Thakhek\",\"NAMEASCII\":\"Thakhek\",\"POP_MAX\":76928,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[111.2333032,44.3337138],\"properties\":{\"NAME\":\"Ulaan-Uul\",\"NAMEASCII\":\"Ulaan-Uul\",\"POP_MAX\":3726,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[126.3866418,38.3366897],\"properties\":{\"NAME\":\"Pyongsan\",\"NAMEASCII\":\"Pyongsan\",\"POP_MAX\":66260,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.3570922,37.9371017],\"properties\":{\"NAME\":\"Ongjin\",\"NAMEASCII\":\"Ongjin\",\"POP_MAX\":69195,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.7143831,38.039421],\"properties\":{\"NAME\":\"Haeju\",\"NAMEASCII\":\"Haeju\",\"POP_MAX\":224231,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[129.3204162,40.9604313],\"properties\":{\"NAME\":\"Kilchu\",\"NAMEASCII\":\"Kilchu\",\"POP_MAX\":101165,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[129.2303959,42.2304313],\"properties\":{\"NAME\":\"Musan\",\"NAMEASCII\":\"Musan\",\"POP_MAX\":80146,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[130.4027274,42.3376858],\"properties\":{\"NAME\":\"Rason\",\"NAMEASCII\":\"Rason\",\"POP_MAX\":60864,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[126.6032177,40.9732213],\"properties\":{\"NAME\":\"Kanggye\",\"NAMEASCII\":\"Kanggye\",\"POP_MAX\":299514,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.4501098,40.6170931],\"properties\":{\"NAME\":\"Taedong\",\"NAMEASCII\":\"Taedong\",\"POP_MAX\":1884,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[125.2163256,39.6812846],\"properties\":{\"NAME\":\"Chongju\",\"NAMEASCII\":\"Chongju\",\"POP_MAX\":141769,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[128.1927331,41.3927305],\"properties\":{\"NAME\":\"Hyeson\",\"NAMEASCII\":\"Hyeson\",\"POP_MAX\":227461,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[96.7832808,48.9664284],\"properties\":{\"NAME\":\"Hodrogo\",\"NAMEASCII\":\"Hodrogo\",\"POP_MAX\":10,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[18.7399825,-28.0195959],\"properties\":{\"NAME\":\"Karasburg\",\"NAMEASCII\":\"Karasburg\",\"POP_MAX\":6054,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[17.150002,-26.4995337],\"properties\":{\"NAME\":\"Bethanie\",\"NAMEASCII\":\"Bethanie\",\"POP_MAX\":10363,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[16.4299943,-28.5494861],\"properties\":{\"NAME\":\"Oranjemund\",\"NAMEASCII\":\"Oranjemund\",\"POP_MAX\":8496,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[17.9599267,-24.6195967],\"properties\":{\"NAME\":\"Mariental\",\"NAMEASCII\":\"Mariental\",\"POP_MAX\":13380,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[17.0800321,-23.3195727],\"properties\":{\"NAME\":\"Rehoboth\",\"NAMEASCII\":\"Rehoboth\",\"POP_MAX\":25219,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[16.1400378,-20.1095361],\"properties\":{\"NAME\":\"Outjo\",\"NAMEASCII\":\"Outjo\",\"POP_MAX\":6557,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[13.8200244,-18.0595837],\"properties\":{\"NAME\":\"Opuwo\",\"NAMEASCII\":\"Opuwo\",\"POP_MAX\":4857,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[15.5800203,-21.9995499],\"properties\":{\"NAME\":\"Usakos\",\"NAMEASCII\":\"Usakos\",\"POP_MAX\":9147,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[16.9100166,-21.9796028],\"properties\":{\"NAME\":\"Okahandja\",\"NAMEASCII\":\"Okahandja\",\"POP_MAX\":20879,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[16.6400073,-20.4595406],\"properties\":{\"NAME\":\"Otjiwarongo\",\"NAMEASCII\":\"Otjiwarongo\",\"POP_MAX\":24815,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[15.880002,-17.3995207],\"properties\":{\"NAME\":\"Oshikango\",\"NAMEASCII\":\"Oshikango\",\"POP_MAX\":12423,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[18.6199898,-17.6095337],\"properties\":{\"NAME\":\"Cuangar\",\"NAMEASCII\":\"Cuangar\",\"POP_MAX\":500,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[24.2600073,-17.4996179],\"properties\":{\"NAME\":\"Katima Mulilo\",\"NAMEASCII\":\"Katima Mulilo\",\"POP_MAX\":25027,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[21.4299991,-18.0195345],\"properties\":{\"NAME\":\"Mucusso\",\"NAMEASCII\":\"Mucusso\",\"POP_MAX\":100,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[-12.9921892,27.462909],\"properties\":{\"NAME\":\"Dawra\",\"NAMEASCII\":\"Dawra\",\"POP_MAX\":10,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-13.8481922,26.5481866],\"properties\":{\"NAME\":\"Lemsid\",\"NAMEASCII\":\"Lemsid\",\"POP_MAX\":100,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-11.1000308,28.4303951],\"properties\":{\"NAME\":\"Tan Tan\",\"NAMEASCII\":\"Tan Tan\",\"POP_MAX\":64868,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[157.2333378,57.5504006],\"properties\":{\"NAME\":\"Utkholok\",\"NAMEASCII\":\"Utkholok\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[156.3593859,52.4389813],\"properties\":{\"NAME\":\"Bol'sheretsk\",\"NAMEASCII\":\"Bol'sheretsk\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[164.1720053,59.9673883],\"properties\":{\"NAME\":\"Il'pyrskiy\",\"NAMEASCII\":\"Il'pyrskiy\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[165.8183435,60.3320654],\"properties\":{\"NAME\":\"Korf\",\"NAMEASCII\":\"Korf\",\"POP_MAX\":400,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-14.5333096,23.8837476],\"properties\":{\"NAME\":\"Bir Anzarane\",\"NAMEASCII\":\"Bir Anzarane\",\"POP_MAX\":6597,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[98.5000752,3.6203591],\"properties\":{\"NAME\":\"Binjai\",\"NAMEASCII\":\"Binjai\",\"POP_MAX\":564979,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[99.2733614,1.3887382],\"properties\":{\"NAME\":\"Padangsidempuan\",\"NAMEASCII\":\"Padangsidempuan\",\"POP_MAX\":266882,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[98.9666617,2.017072],\"properties\":{\"NAME\":\"Tarutung\",\"NAMEASCII\":\"Tarutung\",\"POP_MAX\":1305,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[99.1300109,3.3303768],\"properties\":{\"NAME\":\"Tebingtinggi\",\"NAMEASCII\":\"Tebingtinggi\",\"POP_MAX\":268043,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[127.4359834,0.6963774],\"properties\":{\"NAME\":\"Tidore\",\"NAMEASCII\":\"Tidore\",\"POP_MAX\":60611,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[100.3614603,-0.3031482],\"properties\":{\"NAME\":\"Bukittinggi\",\"NAMEASCII\":\"Bukittinggi\",\"POP_MAX\":506964,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[100.7833467,-0.6662785],\"properties\":{\"NAME\":\"Sawahlunto\",\"NAMEASCII\":\"Sawahlunto\",\"POP_MAX\":50354,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[100.4166508,-0.4495992],\"properties\":{\"NAME\":\"Padangpanjang\",\"NAMEASCII\":\"Padangpanjang\",\"POP_MAX\":44096,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[128.9404911,-3.3281315],\"properties\":{\"NAME\":\"Amahai\",\"NAMEASCII\":\"Amahai\",\"POP_MAX\":47653,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[116.1350195,-8.5795422],\"properties\":{\"NAME\":\"Mataram\",\"NAMEASCII\":\"Mataram\",\"POP_MAX\":499409,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[116.2923225,-8.7223242],\"properties\":{\"NAME\":\"Praya\",\"NAMEASCII\":\"Praya\",\"POP_MAX\":35183,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[122.6163293,-5.4698612],\"properties\":{\"NAME\":\"Baubau\",\"NAMEASCII\":\"Baubau\",\"POP_MAX\":24412,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[122.7900138,-0.9395951],\"properties\":{\"NAME\":\"Luwuk\",\"NAMEASCII\":\"Luwuk\",\"POP_MAX\":47778,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[120.7600085,-1.3895935],\"properties\":{\"NAME\":\"Poso\",\"NAMEASCII\":\"Poso\",\"POP_MAX\":47110,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[136.048481,-1.1614937],\"properties\":{\"NAME\":\"Biak\",\"NAMEASCII\":\"Biak\",\"POP_MAX\":103610,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[136.88998,-4.5496073],\"properties\":{\"NAME\":\"Timika\",\"NAMEASCII\":\"Timika\",\"POP_MAX\":26021,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-51.8100007,3.9104706],\"properties\":{\"NAME\":\"Saint-Georges\",\"NAMEASCII\":\"Saint-Georges\",\"POP_MAX\":2742,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-6.350462402562247,53.70888678916407],\"properties\":{\"NAME\":\"Drogheda\",\"NAMEASCII\":\"Drogheda\",\"POP_MAX\":36533,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-6.395592071318646,53.99979607515591],\"properties\":{\"NAME\":\"Dundalk\",\"NAMEASCII\":\"Dundalk\",\"POP_MAX\":38884,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-9.0488123,53.272393],\"properties\":{\"NAME\":\"Galway\",\"NAMEASCII\":\"Galway\",\"POP_MAX\":75594,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-7.2522553,52.6545496],\"properties\":{\"NAME\":\"Kilkenny\",\"NAMEASCII\":\"Kilkenny\",\"POP_MAX\":21589,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-9.5166649,52.0504004],\"properties\":{\"NAME\":\"Killarney\",\"NAMEASCII\":\"Killarney\",\"POP_MAX\":11902,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-8.4833171,54.267061],\"properties\":{\"NAME\":\"Sligo\",\"NAMEASCII\":\"Sligo\",\"POP_MAX\":20228,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-15.482804,11.582953],\"properties\":{\"NAME\":\"Bolama\",\"NAMEASCII\":\"Bolama\",\"POP_MAX\":10769,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[-14.6660146,12.1669951],\"properties\":{\"NAME\":\"Bafatá\",\"NAMEASCII\":\"Bafata\",\"POP_MAX\":29704,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[17.999976,3.8704214],\"properties\":{\"NAME\":\"Mbaïki\",\"NAMEASCII\":\"Mbaiki\",\"POP_MAX\":67132,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[15.8666178,4.9336898],\"properties\":{\"NAME\":\"Carnot\",\"NAMEASCII\":\"Carnot\",\"POP_MAX\":38071,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[16.3833304,6.3169904],\"properties\":{\"NAME\":\"Bozoum\",\"NAMEASCII\":\"Bozoum\",\"POP_MAX\":40201,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[19.1800073,6.9803866],\"properties\":{\"NAME\":\"Kaga Bandoro\",\"NAMEASCII\":\"Kaga Bandoro\",\"POP_MAX\":56520,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[10.3200313,44.8104289],\"properties\":{\"NAME\":\"Parma\",\"NAMEASCII\":\"Parma\",\"POP_MAX\":166011,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[12.2200187,44.4203752],\"properties\":{\"NAME\":\"Ravenna\",\"NAMEASCII\":\"Ravenna\",\"POP_MAX\":134631,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.6099267,44.8504265],\"properties\":{\"NAME\":\"Ferrara\",\"NAMEASCII\":\"Ferrara\",\"POP_MAX\":130992,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.3400207,44.500422],\"properties\":{\"NAME\":\"Bologna\",\"NAMEASCII\":\"Bologna\",\"POP_MAX\":488172,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[9.5150719,40.9142849],\"properties\":{\"NAME\":\"Olbia\",\"NAMEASCII\":\"Olbia\",\"POP_MAX\":45366,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[9.1039815,39.2223979],\"properties\":{\"NAME\":\"Cagliari\",\"NAMEASCII\":\"Cagliari\",\"POP_MAX\":291511,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[10.4000264,43.7204696],\"properties\":{\"NAME\":\"Pisa\",\"NAMEASCII\":\"Pisa\",\"POP_MAX\":203336,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[10.3022747,43.5511337],\"properties\":{\"NAME\":\"Livorno\",\"NAMEASCII\":\"Livorno\",\"POP_MAX\":156274,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.3499943,43.3170317],\"properties\":{\"NAME\":\"Siena\",\"NAMEASCII\":\"Siena\",\"POP_MAX\":52625,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.8749751,43.4617257],\"properties\":{\"NAME\":\"Arezzo\",\"NAMEASCII\":\"Arezzo\",\"POP_MAX\":91589,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[16.6000097,38.9003762],\"properties\":{\"NAME\":\"Catanzaro\",\"NAMEASCII\":\"Catanzaro\",\"POP_MAX\":95251,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.7699406,40.6803967],\"properties\":{\"NAME\":\"Salerno\",\"NAMEASCII\":\"Salerno\",\"POP_MAX\":954265,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.7499934,41.1337024],\"properties\":{\"NAME\":\"Benevento\",\"NAMEASCII\":\"Benevento\",\"POP_MAX\":61791,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[16.8727579,41.1142204],\"properties\":{\"NAME\":\"Bari\",\"NAMEASCII\":\"Bari\",\"POP_MAX\":500577,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[15.5599698,41.4604783],\"properties\":{\"NAME\":\"Foggia\",\"NAMEASCII\":\"Foggia\",\"POP_MAX\":155203,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[18.1499926,40.3603904],\"properties\":{\"NAME\":\"Lecce\",\"NAMEASCII\":\"Lecce\",\"POP_MAX\":162582,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[17.9300061,40.6403475],\"properties\":{\"NAME\":\"Brindisi\",\"NAMEASCII\":\"Brindisi\",\"POP_MAX\":104437,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[17.2299971,40.5083917],\"properties\":{\"NAME\":\"Taranto\",\"NAMEASCII\":\"Taranto\",\"POP_MAX\":202033,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[15.5499963,38.2004706],\"properties\":{\"NAME\":\"Messina\",\"NAMEASCII\":\"Messina\",\"POP_MAX\":252026,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[12.4386617,37.8054043],\"properties\":{\"NAME\":\"Marsala\",\"NAMEASCII\":\"Marsala\",\"POP_MAX\":77784,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[15.2899605,37.0703587],\"properties\":{\"NAME\":\"Siracusa\",\"NAMEASCII\":\"Siracusa\",\"POP_MAX\":123657,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[14.2186564,42.4554305],\"properties\":{\"NAME\":\"Pescara\",\"NAMEASCII\":\"Pescara\",\"POP_MAX\":314789,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[13.3900248,42.3503982],\"properties\":{\"NAME\":\"L'Aquila\",\"NAMEASCII\":\"L'Aquila\",\"POP_MAX\":68503,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.7999926,42.1004134],\"properties\":{\"NAME\":\"Civitavecchia\",\"NAMEASCII\":\"Civitavecchia\",\"POP_MAX\":61316,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[13.4999406,43.6003736],\"properties\":{\"NAME\":\"Ancona\",\"NAMEASCII\":\"Ancona\",\"POP_MAX\":100507,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[12.3899825,43.1103776],\"properties\":{\"NAME\":\"Perugia\",\"NAMEASCII\":\"Perugia\",\"POP_MAX\":149125,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[35.0776932,29.5269949],\"properties\":{\"NAME\":\"Al Aqabah\",\"NAMEASCII\":\"Al Aqabah\",\"POP_MAX\":95048,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[35.7047351,31.1851107],\"properties\":{\"NAME\":\"Al Karak\",\"NAMEASCII\":\"Al Karak\",\"POP_MAX\":80062,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[25.1332873,5.0336579],\"properties\":{\"NAME\":\"Zemio\",\"NAMEASCII\":\"Zemio\",\"POP_MAX\":20000,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[23.316654,5.6170073],\"properties\":{\"NAME\":\"Yakossi\",\"NAMEASCII\":\"Yakossi\",\"POP_MAX\":500,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[9.6699934,45.7004004],\"properties\":{\"NAME\":\"Bergamo\",\"NAMEASCII\":\"Bergamo\",\"POP_MAX\":200000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[13.8000256,45.6503776],\"properties\":{\"NAME\":\"Trieste\",\"NAMEASCII\":\"Trieste\",\"POP_MAX\":216035,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.3600195,46.5004291],\"properties\":{\"NAME\":\"Bolzano\",\"NAMEASCII\":\"Bolzano\",\"POP_MAX\":95895,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[11.1199825,46.0804289],\"properties\":{\"NAME\":\"Trento\",\"NAMEASCII\":\"Trento\",\"POP_MAX\":107808,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[10.9900162,45.4403904],\"properties\":{\"NAME\":\"Verona\",\"NAMEASCII\":\"Verona\",\"POP_MAX\":347459,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[97.966361,4.6735765],\"properties\":{\"NAME\":\"Langsa\",\"NAMEASCII\":\"Langsa\",\"POP_MAX\":117256,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[104.6714789497856,35.00272112392498],\"properties\":{\"NAME\":\"Longxi\",\"NAMEASCII\":\"Longxi\",\"POP_MAX\":355037,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.6800927,35.5303752],\"properties\":{\"NAME\":\"Pingliang\",\"NAMEASCII\":\"Pingliang\",\"POP_MAX\":207256,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[95.7999816,40.5004336],\"properties\":{\"NAME\":\"Anxi\",\"NAMEASCII\":\"Anxi\",\"POP_MAX\":17886,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.0305904,34.4361784],\"properties\":{\"NAME\":\"Minxian\",\"NAMEASCII\":\"Minxian\",\"POP_MAX\":67826,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.1739078,38.4956981],\"properties\":{\"NAME\":\"Jinchang\",\"NAMEASCII\":\"Jinchang\",\"POP_MAX\":144363,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.4241862,36.0450983],\"properties\":{\"NAME\":\"Guide\",\"NAMEASCII\":\"Guide\",\"POP_MAX\":7642,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.6199743,21.9504289],\"properties\":{\"NAME\":\"Qinzhou\",\"NAMEASCII\":\"Qinzhou\",\"POP_MAX\":245376,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.7566772,22.0973708],\"properties\":{\"NAME\":\"Pingxiang\",\"NAMEASCII\":\"Pingxiang\",\"POP_MAX\":31109,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.6666898,24.5003766],\"properties\":{\"NAME\":\"Yishan\",\"NAMEASCII\":\"Yishan\",\"POP_MAX\":47062,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.1000484,21.4804059],\"properties\":{\"NAME\":\"Beihai\",\"NAMEASCII\":\"Beihai\",\"POP_MAX\":728978,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.08299950401414,24.695252134251945],\"properties\":{\"NAME\":\"Hechi\",\"NAMEASCII\":\"Hechi\",\"POP_MAX\":3830000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.1300207,27.6804151],\"properties\":{\"NAME\":\"Tongren\",\"NAMEASCII\":\"Tongren\",\"POP_MAX\":118290,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.5166638,31.0504419],\"properties\":{\"NAME\":\"Fengjie\",\"NAMEASCII\":\"Fengjie\",\"POP_MAX\":49168,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.1943957,40.2247656],\"properties\":{\"NAME\":\"Changping\",\"NAMEASCII\":\"Changping\",\"POP_MAX\":614821,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.5000008,27.3003866],\"properties\":{\"NAME\":\"Shaowu\",\"NAMEASCII\":\"Shaowu\",\"POP_MAX\":112585,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.99504789877176,25.073515108609563],\"properties\":{\"NAME\":\"Longyan\",\"NAMEASCII\":\"Longyan\",\"POP_MAX\":367896,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.6700162,24.5203754],\"properties\":{\"NAME\":\"Zhangzhou\",\"NAMEASCII\":\"Zhangzhou\",\"POP_MAX\":3531147,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.0200114,25.4303457],\"properties\":{\"NAME\":\"Putian\",\"NAMEASCII\":\"Putian\",\"POP_MAX\":376558,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.6200264,27.0704265],\"properties\":{\"NAME\":\"Fuan\",\"NAMEASCII\":\"Fuan\",\"POP_MAX\":92470,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.3166621,25.8669857],\"properties\":{\"NAME\":\"Changting\",\"NAMEASCII\":\"Changting\",\"POP_MAX\":87458,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.1699857,26.6303758],\"properties\":{\"NAME\":\"Nanping\",\"NAMEASCII\":\"Nanping\",\"POP_MAX\":213054,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.5300577,26.6803727],\"properties\":{\"NAME\":\"Ninde\",\"NAMEASCII\":\"Ninde\",\"POP_MAX\":314077,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.3500028,33.2504368],\"properties\":{\"NAME\":\"Jieshou\",\"NAMEASCII\":\"Jieshou\",\"POP_MAX\":141993,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.7800354,30.950448],\"properties\":{\"NAME\":\"Tongling\",\"NAMEASCII\":\"Tongling\",\"POP_MAX\":562832,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.4851484740624,31.672563922240595],\"properties\":{\"NAME\":\"Maanshan\",\"NAMEASCII\":\"Maanshan\",\"POP_MAX\":1366302,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.82,32.9004065],\"properties\":{\"NAME\":\"Fuyang\",\"NAMEASCII\":\"Fuyang\",\"POP_MAX\":170023,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.9700024,21.8504092],\"properties\":{\"NAME\":\"Yangjiang\",\"NAMEASCII\":\"Yangjiang\",\"POP_MAX\":872363,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.1199816,24.3004922],\"properties\":{\"NAME\":\"Meizhou\",\"NAMEASCII\":\"Meizhou\",\"POP_MAX\":414930,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.6800179,23.7304236],\"properties\":{\"NAME\":\"Heyuan\",\"NAMEASCII\":\"Heyuan\",\"POP_MAX\":330961,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.0300927,23.7003996],\"properties\":{\"NAME\":\"Qingyuan\",\"NAMEASCII\":\"Qingyuan\",\"POP_MAX\":706717,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.4500248,23.0504134],\"properties\":{\"NAME\":\"Zhaoqing\",\"NAMEASCII\":\"Zhaoqing\",\"POP_MAX\":480000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.3825354,24.7815222],\"properties\":{\"NAME\":\"Lianxian\",\"NAMEASCII\":\"Lianxian\",\"POP_MAX\":203639,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.0800122,22.5803904],\"properties\":{\"NAME\":\"Jiangmen\",\"NAMEASCII\":\"Jiangmen\",\"POP_MAX\":532419,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.8700179,21.9204049],\"properties\":{\"NAME\":\"Maoming\",\"NAMEASCII\":\"Maoming\",\"POP_MAX\":1217715,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.3190108,-6.3356482],\"properties\":{\"NAME\":\"Indramayu\",\"NAMEASCII\":\"Indramayu\",\"POP_MAX\":123263,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[106.899976,-6.9096183],\"properties\":{\"NAME\":\"Sukabumi\",\"NAMEASCII\":\"Sukabumi\",\"POP_MAX\":276414,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[109.0154024,-7.7188196],\"properties\":{\"NAME\":\"Cilacap\",\"NAMEASCII\":\"Cilacap\",\"POP_MAX\":1174964,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[111.034659,-6.7415149],\"properties\":{\"NAME\":\"Pati\",\"NAMEASCII\":\"Pati\",\"POP_MAX\":122785,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[109.6700394,-6.8795943],\"properties\":{\"NAME\":\"Pakalongan\",\"NAMEASCII\":\"Pakalongan\",\"POP_MAX\":272000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[109.1199955,-6.8695691],\"properties\":{\"NAME\":\"Tegal\",\"NAMEASCII\":\"Tegal\",\"POP_MAX\":237084,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[110.4900927,-7.3095422],\"properties\":{\"NAME\":\"Salatiga\",\"NAMEASCII\":\"Salatiga\",\"POP_MAX\":176000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[110.1799825,-7.4695841],\"properties\":{\"NAME\":\"Magelang\",\"NAMEASCII\":\"Magelang\",\"POP_MAX\":111461,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[106.1496342,-6.1099772],\"properties\":{\"NAME\":\"Serang\",\"NAMEASCII\":\"Serang\",\"POP_MAX\":164767,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[106.972323,-6.2172575],\"properties\":{\"NAME\":\"Bekasi\",\"NAMEASCII\":\"Bekasi\",\"POP_MAX\":2378211,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[108.9654697,0.9119809],\"properties\":{\"NAME\":\"Singkawang\",\"NAMEASCII\":\"Singkawang\",\"POP_MAX\":248012,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[105.3000219,-5.4496041],\"properties\":{\"NAME\":\"Bandar Lampung\",\"NAMEASCII\":\"Bandar Lampung\",\"POP_MAX\":881801,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[104.2314567,-3.4431632],\"properties\":{\"NAME\":\"Perabumulih\",\"NAMEASCII\":\"Perabumulih\",\"POP_MAX\":103470,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[115.1841208,-8.7151125],\"properties\":{\"NAME\":\"Kuta\",\"NAMEASCII\":\"Kuta\",\"POP_MAX\":30012,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[115.094398,-8.1151993],\"properties\":{\"NAME\":\"Singaraja\",\"NAMEASCII\":\"Singaraja\",\"POP_MAX\":234468,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[113.8496293,-7.0049096],\"properties\":{\"NAME\":\"Sumenep\",\"NAMEASCII\":\"Sumenep\",\"POP_MAX\":84656,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[114.3695975,-8.1950179],\"properties\":{\"NAME\":\"Banyuwangi\",\"NAMEASCII\":\"Banyuwangi\",\"POP_MAX\":172424,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.0499975,-6.8995414],\"properties\":{\"NAME\":\"Tuban\",\"NAMEASCII\":\"Tuban\",\"POP_MAX\":76242,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[113.1500337,-7.7496187],\"properties\":{\"NAME\":\"Probolinggo\",\"NAMEASCII\":\"Probolinggo\",\"POP_MAX\":181656,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.9000232,-7.6295744],\"properties\":{\"NAME\":\"Pasuruan\",\"NAMEASCII\":\"Pasuruan\",\"POP_MAX\":500000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.4299743,-7.4695841],\"properties\":{\"NAME\":\"Mojokerto\",\"NAMEASCII\":\"Mojokerto\",\"POP_MAX\":112557,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[111.5149914,-7.634587],\"properties\":{\"NAME\":\"Madiun\",\"NAMEASCII\":\"Madiun\",\"POP_MAX\":186099,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.0000264,-7.7896163],\"properties\":{\"NAME\":\"Kediri\",\"NAMEASCII\":\"Kediri\",\"POP_MAX\":235143,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.1499914,-8.0695992],\"properties\":{\"NAME\":\"Blitar\",\"NAMEASCII\":\"Blitar\",\"POP_MAX\":132416,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[120.253011,-9.6582361],\"properties\":{\"NAME\":\"Waingapu\",\"NAMEASCII\":\"Waingapu\",\"POP_MAX\":48828,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[122.212323,-8.618868],\"properties\":{\"NAME\":\"Maumere\",\"NAMEASCII\":\"Maumere\",\"POP_MAX\":104285,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[121.6489465,-8.8623157],\"properties\":{\"NAME\":\"Ende\",\"NAMEASCII\":\"Ende\",\"POP_MAX\":77205,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[119.8530871,-3.0968278],\"properties\":{\"NAME\":\"Makale\",\"NAMEASCII\":\"Makale\",\"POP_MAX\":9960,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[120.2363195,-3.0999284],\"properties\":{\"NAME\":\"Palopo\",\"NAMEASCII\":\"Palopo\",\"POP_MAX\":2444,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[120.3333679,-4.5328125],\"properties\":{\"NAME\":\"Watampone\",\"NAMEASCII\":\"Watampone\",\"POP_MAX\":81629,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[119.6522208,-3.7857263],\"properties\":{\"NAME\":\"Pinrang\",\"NAMEASCII\":\"Pinrang\",\"POP_MAX\":182731,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[118.9660095,-3.533597],\"properties\":{\"NAME\":\"Majene\",\"NAMEASCII\":\"Majene\",\"POP_MAX\":272377,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[4.3800321,45.4303911],\"properties\":{\"NAME\":\"Saint-Étienne\",\"NAMEASCII\":\"Saint-Etienne\",\"POP_MAX\":265684,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[5.720002,45.1803805],\"properties\":{\"NAME\":\"Grenoble\",\"NAMEASCII\":\"Grenoble\",\"POP_MAX\":388574,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-79.9499884,-4.3795919],\"properties\":{\"NAME\":\"Macará\",\"NAMEASCII\":\"Macara\",\"POP_MAX\":13035,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.9699966,-4.0695849],\"properties\":{\"NAME\":\"Zamora\",\"NAMEASCII\":\"Zamora\",\"POP_MAX\":15276,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.6099669,-0.9295699],\"properties\":{\"NAME\":\"Latacunga\",\"NAMEASCII\":\"Latacunga\",\"POP_MAX\":94972,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-79.599984,-2.1796228],\"properties\":{\"NAME\":\"Milagro\",\"NAMEASCII\":\"Milagro\",\"POP_MAX\":109970,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-79.5400135,-1.7995943],\"properties\":{\"NAME\":\"Babahoyo\",\"NAMEASCII\":\"Babahoyo\",\"POP_MAX\":76279,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-80.0900057,-0.6895845],\"properties\":{\"NAME\":\"Chone\",\"NAMEASCII\":\"Chone\",\"POP_MAX\":44751,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-80.5800017,-1.3495959],\"properties\":{\"NAME\":\"Jipijapa\",\"NAMEASCII\":\"Jipijapa\",\"POP_MAX\":35901,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-77.9363387,-2.8543103],\"properties\":{\"NAME\":\"Yaupi\",\"NAMEASCII\":\"Yaupi\",\"POP_MAX\":293,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.1199968,-2.309589],\"properties\":{\"NAME\":\"Macas\",\"NAMEASCII\":\"Macas\",\"POP_MAX\":23687,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.1599943,0.0503703],\"properties\":{\"NAME\":\"Cayambe\",\"NAMEASCII\":\"Cayambe\",\"POP_MAX\":27881,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.6199921,-1.2696008],\"properties\":{\"NAME\":\"Ambato\",\"NAMEASCII\":\"Ambato\",\"POP_MAX\":281425,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-77.8099899,-0.9795927],\"properties\":{\"NAME\":\"Tena\",\"NAMEASCII\":\"Tena\",\"POP_MAX\":31126,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-75.5904871,7.0305902],\"properties\":{\"NAME\":\"Yarumal\",\"NAMEASCII\":\"Yarumal\",\"POP_MAX\":35315,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.4200159,6.4804429],\"properties\":{\"NAME\":\"Puerto Berrío\",\"NAMEASCII\":\"Puerto Berrio\",\"POP_MAX\":33983,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.7399777,8.1003699],\"properties\":{\"NAME\":\"Turbo\",\"NAMEASCII\":\"Turbo\",\"POP_MAX\":50508,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.3700283,5.550448],\"properties\":{\"NAME\":\"Tunja\",\"NAMEASCII\":\"Tunja\",\"POP_MAX\":161412,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.8199492,5.6203921],\"properties\":{\"NAME\":\"Chiquinquirá\",\"NAMEASCII\":\"Chiquinquira\",\"POP_MAX\":53975,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.0200497,5.8304568],\"properties\":{\"NAME\":\"Duitama\",\"NAMEASCII\":\"Duitama\",\"POP_MAX\":101156,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.150023,8.3304075],\"properties\":{\"NAME\":\"Ayapel\",\"NAMEASCII\":\"Ayapel\",\"POP_MAX\":23639,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.8160031,9.2418506],\"properties\":{\"NAME\":\"Lorica\",\"NAMEASCII\":\"Lorica\",\"POP_MAX\":52771,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.2699827,6.4603408],\"properties\":{\"NAME\":\"Socorro\",\"NAMEASCII\":\"Socorro\",\"POP_MAX\":24895,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9099789,11.5403408],\"properties\":{\"NAME\":\"Riohacha\",\"NAMEASCII\":\"Riohacha\",\"POP_MAX\":133186,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-80.4402944,22.1444481],\"properties\":{\"NAME\":\"Cienfuegos\",\"NAMEASCII\":\"Cienfuegos\",\"POP_MAX\":186644,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-82.7999954,21.8837146],\"properties\":{\"NAME\":\"Nueva Gerona\",\"NAMEASCII\":\"Nueva Gerona\",\"POP_MAX\":25566,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-79.4425,21.9301459],\"properties\":{\"NAME\":\"Sancti Spíritus\",\"NAMEASCII\":\"Sancti Spiritus\",\"POP_MAX\":127069,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-82.6199805,9.5203866],\"properties\":{\"NAME\":\"Sixaola\",\"NAMEASCII\":\"Sixaola\",\"POP_MAX\":1823,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-84.8335895,9.9701641],\"properties\":{\"NAME\":\"Puntarenas\",\"NAMEASCII\":\"Puntarenas\",\"POP_MAX\":57102,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-83.5300025,8.9603691],\"properties\":{\"NAME\":\"Ciudad Cortés\",\"NAMEASCII\":\"Ciudad Cortes\",\"POP_MAX\":3850,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-84.4399728,10.3304922],\"properties\":{\"NAME\":\"Quesada\",\"NAMEASCII\":\"Quesada\",\"POP_MAX\":31106,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-85.433323,10.6337553],\"properties\":{\"NAME\":\"Liberia\",\"NAMEASCII\":\"Liberia\",\"POP_MAX\":45380,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-85.6300035,11.0704212],\"properties\":{\"NAME\":\"La Cruz\",\"NAMEASCII\":\"La Cruz\",\"POP_MAX\":4319,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-78.9854985,1.2671038],\"properties\":{\"NAME\":\"Valdez\",\"NAMEASCII\":\"Valdez\",\"POP_MAX\":11441,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.860055,1.2703992],\"properties\":{\"NAME\":\"San Lorenzo\",\"NAMEASCII\":\"San Lorenzo\",\"POP_MAX\":20209,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-79.6699797,0.9304199],\"properties\":{\"NAME\":\"Esmeraldas\",\"NAMEASCII\":\"Esmeraldas\",\"POP_MAX\":173101,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-89.5597636,13.9946096],\"properties\":{\"NAME\":\"Santa Ana\",\"NAMEASCII\":\"Santa Ana\",\"POP_MAX\":234478,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-78.6274852,22.1098507],\"properties\":{\"NAME\":\"Morón\",\"NAMEASCII\":\"Moron\",\"POP_MAX\":66060,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-77.2644418,21.5456474],\"properties\":{\"NAME\":\"Nuevitas\",\"NAMEASCII\":\"Nuevitas\",\"POP_MAX\":54022,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-77.1166472,20.3437569],\"properties\":{\"NAME\":\"Manzanillo\",\"NAMEASCII\":\"Manzanillo\",\"POP_MAX\":128188,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-76.6432911,20.3795429],\"properties\":{\"NAME\":\"Bayamo\",\"NAMEASCII\":\"Bayamo\",\"POP_MAX\":192632,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-75.718593,20.9629181],\"properties\":{\"NAME\":\"Banes\",\"NAMEASCII\":\"Banes\",\"POP_MAX\":53104,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-76.9543832,20.9601276],\"properties\":{\"NAME\":\"Las Tunas\",\"NAMEASCII\":\"Las Tunas\",\"POP_MAX\":203684,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-69.2999667,18.4503583],\"properties\":{\"NAME\":\"San Pedro de Macorís\",\"NAMEASCII\":\"San Pedro de Macoris\",\"POP_MAX\":217899,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-75.6811276,4.5342827],\"properties\":{\"NAME\":\"Armenia\",\"NAMEASCII\":\"Armenia\",\"POP_MAX\":315328,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.6799907,4.8103898],\"properties\":{\"NAME\":\"Pereira\",\"NAMEASCII\":\"Pereira\",\"POP_MAX\":568750,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.7499958,5.1903408],\"properties\":{\"NAME\":\"Honda\",\"NAMEASCII\":\"Honda\",\"POP_MAX\":35469,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.77031723675944,2.109486387069812],\"properties\":{\"NAME\":\"San Vicente del Caguán\",\"NAMEASCII\":\"San Vicente del Caguan\",\"POP_MAX\":1500,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.6199943,1.6104043],\"properties\":{\"NAME\":\"Florencia\",\"NAMEASCII\":\"Florencia\",\"POP_MAX\":130337,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.8599868,2.560398],\"properties\":{\"NAME\":\"Guapi\",\"NAMEASCII\":\"Guapi\",\"POP_MAX\":13853,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.3302446,2.9310472],\"properties\":{\"NAME\":\"Neiva\",\"NAMEASCII\":\"Neiva\",\"POP_MAX\":352855,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.6499667,2.2103935],\"properties\":{\"NAME\":\"Garzón\",\"NAMEASCII\":\"Garzon\",\"POP_MAX\":56603,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.6499996,0.8303744],\"properties\":{\"NAME\":\"Ipiales\",\"NAMEASCII\":\"Ipiales\",\"POP_MAX\":109618,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.0504533,3.8724024],\"properties\":{\"NAME\":\"Buenaventura\",\"NAMEASCII\":\"Buenaventura\",\"POP_MAX\":252805,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.21001,4.0903821],\"properties\":{\"NAME\":\"Tuluá\",\"NAMEASCII\":\"Tulua\",\"POP_MAX\":165501,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-78.1299962,0.3603772],\"properties\":{\"NAME\":\"Ibarra\",\"NAMEASCII\":\"Ibarra\",\"POP_MAX\":146741,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-75.1299984,9.7203744],\"properties\":{\"NAME\":\"El Carmen de Bolívar\",\"NAMEASCII\":\"El Carmen de Bolivar\",\"POP_MAX\":60980,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.7564014,7.1217475],\"properties\":{\"NAME\":\"Juradó\",\"NAMEASCII\":\"Jurado\",\"POP_MAX\":2351,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.2745484,5.6851801],\"properties\":{\"NAME\":\"Nuquí\",\"NAMEASCII\":\"Nuqui\",\"POP_MAX\":2741,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.6600084,5.6904136],\"properties\":{\"NAME\":\"Quibdó\",\"NAMEASCII\":\"Quibdo\",\"POP_MAX\":92780,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.9800169,9.0003408],\"properties\":{\"NAME\":\"El Banco\",\"NAMEASCII\":\"El Banco\",\"POP_MAX\":54522,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.2500004,11.010399],\"properties\":{\"NAME\":\"Ciénaga\",\"NAMEASCII\":\"Cienaga\",\"POP_MAX\":131171,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.3799573,9.2904265],\"properties\":{\"NAME\":\"Sincelejo\",\"NAMEASCII\":\"Sincelejo\",\"POP_MAX\":261187,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.5720386,9.5358378],\"properties\":{\"NAME\":\"Tolú\",\"NAMEASCII\":\"Tolu\",\"POP_MAX\":27390,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-70.7616346,7.0906641],\"properties\":{\"NAME\":\"Arauca\",\"NAMEASCII\":\"Arauca\",\"POP_MAX\":69264,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-71.7400245,6.4603408],\"properties\":{\"NAME\":\"Tame\",\"NAMEASCII\":\"Tame\",\"POP_MAX\":29099,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.66002,7.3903874],\"properties\":{\"NAME\":\"Pamplona\",\"NAMEASCII\":\"Pamplona\",\"POP_MAX\":53587,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.3500037,8.240413],\"properties\":{\"NAME\":\"Ocaña\",\"NAMEASCII\":\"Ocana\",\"POP_MAX\":83511,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-71.340023,4.794551],\"properties\":{\"NAME\":\"Orocue\",\"NAMEASCII\":\"Orocue\",\"POP_MAX\":2835,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-67.9060983,3.8540399],\"properties\":{\"NAME\":\"Inírida\",\"NAMEASCII\":\"Inirida\",\"POP_MAX\":9065,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.689983,3.6904065],\"properties\":{\"NAME\":\"San Martín\",\"NAMEASCII\":\"San Martin\",\"POP_MAX\":16273,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-67.4930227,6.1850346],\"properties\":{\"NAME\":\"Puerto Carreño\",\"NAMEASCII\":\"Puerto Carreno\",\"POP_MAX\":10216,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-82.761884,22.8133995],\"properties\":{\"NAME\":\"Artemisa\",\"NAMEASCII\":\"Artemisa\",\"POP_MAX\":68073,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-81.577486,23.0415251],\"properties\":{\"NAME\":\"Matanzas\",\"NAMEASCII\":\"Matanzas\",\"POP_MAX\":146733,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-80.9057957,22.7195809],\"properties\":{\"NAME\":\"Colón\",\"NAMEASCII\":\"Colon\",\"POP_MAX\":63882,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-80.0710922,22.8090328],\"properties\":{\"NAME\":\"Sagua la Grande\",\"NAMEASCII\":\"Sagua la Grande\",\"POP_MAX\":62073,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-61.0800291,14.6104118],\"properties\":{\"NAME\":\"Fort-de-France\",\"NAMEASCII\":\"Fort-de-France\",\"POP_MAX\":253995,\"ISO_A2\":\"MQ\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[18.6150288,4.3303416],\"properties\":{\"NAME\":\"Zongo\",\"NAMEASCII\":\"Zongo\",\"POP_MAX\":17667,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[18.6199898,3.6604342],\"properties\":{\"NAME\":\"Libenge\",\"NAMEASCII\":\"Libenge\",\"POP_MAX\":27053,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[21.0500223,1.5103587],\"properties\":{\"NAME\":\"Bongandanga\",\"NAMEASCII\":\"Bongandanga\",\"POP_MAX\":4105,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.2665795,-1.1829394],\"properties\":{\"NAME\":\"Ikela\",\"NAMEASCII\":\"Ikela\",\"POP_MAX\":291,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[20.4199833,2.3834062],\"properties\":{\"NAME\":\"Binga\",\"NAMEASCII\":\"Binga\",\"POP_MAX\":64639,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[19.8000211,1.2337089],\"properties\":{\"NAME\":\"Basankusu\",\"NAMEASCII\":\"Basankusu\",\"POP_MAX\":52216,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[20.8600081,-0.2195874],\"properties\":{\"NAME\":\"Boende\",\"NAMEASCII\":\"Boende\",\"POP_MAX\":32091,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[21.0199467,4.2903699],\"properties\":{\"NAME\":\"Gbadolite\",\"NAMEASCII\":\"Gbadolite\",\"POP_MAX\":50493,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[20.8699816,3.3403762],\"properties\":{\"NAME\":\"Businga\",\"NAMEASCII\":\"Businga\",\"POP_MAX\":34247,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[19.8800162,4.190376],\"properties\":{\"NAME\":\"Bosobolo\",\"NAMEASCII\":\"Bosobolo\",\"POP_MAX\":14553,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.5277661,20.458737],\"properties\":{\"NAME\":\"Zouar\",\"NAMEASCII\":\"Zouar\",\"POP_MAX\":204,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[14.7146984,13.4589575],\"properties\":{\"NAME\":\"Bol\",\"NAMEASCII\":\"Bol\",\"POP_MAX\":3303,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[9.4185876,1.1164034],\"properties\":{\"NAME\":\"Calatrava\",\"NAMEASCII\":\"Calatrava\",\"POP_MAX\":628,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[11.3165596,1.6336845],\"properties\":{\"NAME\":\"Mongomo\",\"NAMEASCII\":\"Mongomo\",\"POP_MAX\":6560,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[18.3332889,13.2170602],\"properties\":{\"NAME\":\"Ati\",\"NAMEASCII\":\"Ati\",\"POP_MAX\":25373,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[19.6833357,13.3004142],\"properties\":{\"NAME\":\"Oum Hadjer\",\"NAMEASCII\":\"Oum Hadjer\",\"POP_MAX\":19271,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[18.6999849,12.1837382],\"properties\":{\"NAME\":\"Mongo\",\"NAMEASCII\":\"Mongo\",\"POP_MAX\":27763,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[16.8500203,8.6504397],\"properties\":{\"NAME\":\"Doba\",\"NAMEASCII\":\"Doba\",\"POP_MAX\":29597,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[14.9666211,9.3504228],\"properties\":{\"NAME\":\"Pala\",\"NAMEASCII\":\"Pala\",\"POP_MAX\":35466,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[15.3871639,10.2859471],\"properties\":{\"NAME\":\"Bongor\",\"NAMEASCII\":\"Bongor\",\"POP_MAX\":193941,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[15.8000069,9.3170657],\"properties\":{\"NAME\":\"Kelo\",\"NAMEASCII\":\"Kelo\",\"POP_MAX\":96224,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[18.0913916,42.6609477],\"properties\":{\"NAME\":\"Dubrovnik\",\"NAMEASCII\":\"Dubrovnik\",\"POP_MAX\":36994,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[16.4699918,43.5204043],\"properties\":{\"NAME\":\"Split\",\"NAMEASCII\":\"Split\",\"POP_MAX\":214741,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[15.2622619,44.1201351],\"properties\":{\"NAME\":\"Zadar\",\"NAMEASCII\":\"Zadar\",\"POP_MAX\":71258,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[31.0000093,30.7904319],\"properties\":{\"NAME\":\"Tanta\",\"NAMEASCII\":\"Tanta\",\"POP_MAX\":404901,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.2599841,30.5903408],\"properties\":{\"NAME\":\"Ismaïlia\",\"NAMEASCII\":\"Ismailia\",\"POP_MAX\":656135,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.3800378,31.0504419],\"properties\":{\"NAME\":\"El Mansura\",\"NAMEASCII\":\"El Mansura\",\"POP_MAX\":600000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.8200109,31.4203935],\"properties\":{\"NAME\":\"Dumyat\",\"NAMEASCII\":\"Dumyat\",\"POP_MAX\":299459,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[27.2300069,31.3504236],\"properties\":{\"NAME\":\"Matruh\",\"NAMEASCII\":\"Matruh\",\"POP_MAX\":103470,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[28.9499536,30.8170711],\"properties\":{\"NAME\":\"El Alamein\",\"NAMEASCII\":\"El Alamein\",\"POP_MAX\":7400,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[28.4332926,31.0337763],\"properties\":{\"NAME\":\"El Daba\",\"NAMEASCII\":\"El Daba\",\"POP_MAX\":14212,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[25.1500305,31.5669737],\"properties\":{\"NAME\":\"Salum\",\"NAMEASCII\":\"Salum\",\"POP_MAX\":7330,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.4700158,31.0504419],\"properties\":{\"NAME\":\"Damanhûr\",\"NAMEASCII\":\"Damanhur\",\"POP_MAX\":500000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.7100012,28.3004289],\"properties\":{\"NAME\":\"Samalut\",\"NAMEASCII\":\"Samalut\",\"POP_MAX\":152097,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.8399674,27.730412],\"properties\":{\"NAME\":\"Mallawi\",\"NAMEASCII\":\"Mallawi\",\"POP_MAX\":217365,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.8099951,28.4903915],\"properties\":{\"NAME\":\"Beni Mazar\",\"NAMEASCII\":\"Beni Mazar\",\"POP_MAX\":79553,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.0900297,29.0803813],\"properties\":{\"NAME\":\"Beni Suef\",\"NAMEASCII\":\"Beni Suef\",\"POP_MAX\":489450,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.3900207,31.4603911],\"properties\":{\"NAME\":\"Rashid\",\"NAMEASCII\":\"Rashid\",\"POP_MAX\":199509,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[27.9665511,27.067145],\"properties\":{\"NAME\":\"Qasr Farafra\",\"NAMEASCII\":\"Qasr Farafra\",\"POP_MAX\":5000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[28.883291,25.7004326],\"properties\":{\"NAME\":\"El Qasr\",\"NAMEASCII\":\"El Qasr\",\"POP_MAX\":1716,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.5499406,25.2904059],\"properties\":{\"NAME\":\"Isna\",\"NAMEASCII\":\"Isna\",\"POP_MAX\":100000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.7200077,26.1504568],\"properties\":{\"NAME\":\"Qena\",\"NAMEASCII\":\"Qena\",\"POP_MAX\":302027,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.8800073,26.3303683],\"properties\":{\"NAME\":\"Girga\",\"NAMEASCII\":\"Girga\",\"POP_MAX\":128250,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.7000183,26.5504065],\"properties\":{\"NAME\":\"Sohag\",\"NAMEASCII\":\"Sohag\",\"POP_MAX\":600000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[35.4841801,23.9459918],\"properties\":{\"NAME\":\"Berenice\",\"NAMEASCII\":\"Berenice\",\"POP_MAX\":10,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[33.9333186,26.7337287],\"properties\":{\"NAME\":\"Bur Safaga\",\"NAMEASCII\":\"Bur Safaga\",\"POP_MAX\":32944,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[33.6147973,28.239389],\"properties\":{\"NAME\":\"El Tur\",\"NAMEASCII\":\"El Tur\",\"POP_MAX\":27628,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[33.8005619,31.1248818],\"properties\":{\"NAME\":\"El Arish\",\"NAMEASCII\":\"El Arish\",\"POP_MAX\":178651,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[24.4300227,0.770378],\"properties\":{\"NAME\":\"Yangambi\",\"NAMEASCII\":\"Yangambi\",\"POP_MAX\":35531,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.7799849,2.7404645],\"properties\":{\"NAME\":\"Aketi\",\"NAMEASCII\":\"Aketi\",\"POP_MAX\":58601,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[30.0332983,1.9504352],\"properties\":{\"NAME\":\"Mongbwalu\",\"NAMEASCII\":\"Mongbwalu\",\"POP_MAX\":2819,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.2665938,1.0838473],\"properties\":{\"NAME\":\"Bafwasende\",\"NAMEASCII\":\"Bafwasende\",\"POP_MAX\":149,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[30.240004,1.5604073],\"properties\":{\"NAME\":\"Bunia\",\"NAMEASCII\":\"Bunia\",\"POP_MAX\":96764,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.9899605,2.1404236],\"properties\":{\"NAME\":\"Wamba\",\"NAMEASCII\":\"Wamba\",\"POP_MAX\":146871,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.5900223,1.2404269],\"properties\":{\"NAME\":\"Basoko\",\"NAMEASCII\":\"Basoko\",\"POP_MAX\":43709,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[36.6574934,15.1103813],\"properties\":{\"NAME\":\"Tessenei\",\"NAMEASCII\":\"Tessenei\",\"POP_MAX\":15255,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[37.8866691,15.5490367],\"properties\":{\"NAME\":\"Agordat\",\"NAMEASCII\":\"Agordat\",\"POP_MAX\":28600,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[39.4500362,15.6101182],\"properties\":{\"NAME\":\"Massawa\",\"NAMEASCII\":\"Massawa\",\"POP_MAX\":142564,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[38.45435135296248,15.781441409744621],\"properties\":{\"NAME\":\"Keren\",\"NAMEASCII\":\"Keren\",\"POP_MAX\":150000,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[38.8163281,14.8859764],\"properties\":{\"NAME\":\"Mendefera\",\"NAMEASCII\":\"Mendefera\",\"POP_MAX\":257390,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[42.7125244,11.1562299],\"properties\":{\"NAME\":\"Ali Sabih\",\"NAMEASCII\":\"Ali Sabih\",\"POP_MAX\":40074,\"ISO_A2\":\"DJ\",\"SOV_A3\":\"DJI\"}},{\"type\":\"Point\",\"coordinates\":[43.2855643,11.973441],\"properties\":{\"NAME\":\"Obock\",\"NAMEASCII\":\"Obock\",\"POP_MAX\":17776,\"ISO_A2\":\"DJ\",\"SOV_A3\":\"DJI\"}},{\"type\":\"Point\",\"coordinates\":[7.0800223,50.7204557],\"properties\":{\"NAME\":\"Bonn\",\"NAMEASCII\":\"Bonn\",\"POP_MAX\":680543,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.6200411,51.9704053],\"properties\":{\"NAME\":\"Münster\",\"NAMEASCII\":\"Munster\",\"POP_MAX\":270184,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[6.779989,51.2203736],\"properties\":{\"NAME\":\"Düsseldorf\",\"NAMEASCII\":\"Dusseldorf\",\"POP_MAX\":1220000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.9999991,48.4003906],\"properties\":{\"NAME\":\"Ulm\",\"NAMEASCII\":\"Ulm\",\"POP_MAX\":172955,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.470015,49.5003752],\"properties\":{\"NAME\":\"Mannheim\",\"NAMEASCII\":\"Mannheim\",\"POP_MAX\":2362000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.8699483,48.0004151],\"properties\":{\"NAME\":\"Freiburg\",\"NAMEASCII\":\"Freiburg\",\"POP_MAX\":254889,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.650004,50.5837199],\"properties\":{\"NAME\":\"Gießen\",\"NAMEASCII\":\"Giessen\",\"POP_MAX\":82358,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.2500284,50.0803915],\"properties\":{\"NAME\":\"Wiesbaden\",\"NAMEASCII\":\"Wiesbaden\",\"POP_MAX\":617126,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.5799825,53.550438],\"properties\":{\"NAME\":\"Bremerhaven\",\"NAMEASCII\":\"Bremerhaven\",\"POP_MAX\":137751,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.049989,52.280438],\"properties\":{\"NAME\":\"Osnabrück\",\"NAMEASCII\":\"Osnabruck\",\"POP_MAX\":231268,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.7166573,52.3669702],\"properties\":{\"NAME\":\"Hanover\",\"NAMEASCII\":\"Hannover\",\"POP_MAX\":722490,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.920004,51.5204328],\"properties\":{\"NAME\":\"Göttingen\",\"NAMEASCII\":\"Gottingen\",\"POP_MAX\":139419,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[12.070002,50.8703691],\"properties\":{\"NAME\":\"Gera\",\"NAMEASCII\":\"Gera\",\"POP_MAX\":104659,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.5800061,50.9304429],\"properties\":{\"NAME\":\"Jena\",\"NAMEASCII\":\"Jena\",\"POP_MAX\":104712,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.4333154,54.7837478],\"properties\":{\"NAME\":\"Flensburg\",\"NAMEASCII\":\"Flensburg\",\"POP_MAX\":97930,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[10.6699841,53.8703927],\"properties\":{\"NAME\":\"Lübeck\",\"NAMEASCII\":\"Lubeck\",\"POP_MAX\":235390,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[10.130017,54.3303904],\"properties\":{\"NAME\":\"Kiel\",\"NAMEASCII\":\"Kiel\",\"POP_MAX\":269427,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[7.5999906,50.3504783],\"properties\":{\"NAME\":\"Koblenz\",\"NAMEASCII\":\"Koblenz\",\"POP_MAX\":312633,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[6.9700032,49.2503904],\"properties\":{\"NAME\":\"Saarbrücken\",\"NAMEASCII\":\"Saarbrucken\",\"POP_MAX\":770001,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[13.3600008,49.740438],\"properties\":{\"NAME\":\"Pizen\",\"NAMEASCII\":\"Pizen\",\"POP_MAX\":164180,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[12.1200248,49.0204045],\"properties\":{\"NAME\":\"Regensburg\",\"NAMEASCII\":\"Regensburg\",\"POP_MAX\":164359,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[12.1333056,47.8503467],\"properties\":{\"NAME\":\"Rosenheim\",\"NAMEASCII\":\"Rosenheim\",\"POP_MAX\":92809,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.916678,50.3170437],\"properties\":{\"NAME\":\"Hof\",\"NAMEASCII\":\"Hof\",\"POP_MAX\":56153,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.950028,49.8004344],\"properties\":{\"NAME\":\"Würzburg\",\"NAMEASCII\":\"Wurzburg\",\"POP_MAX\":168561,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.4499882,48.7704197],\"properties\":{\"NAME\":\"Ingolstadt\",\"NAMEASCII\":\"Ingolstadt\",\"POP_MAX\":163325,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[13.8480847,44.8687199],\"properties\":{\"NAME\":\"Pula\",\"NAMEASCII\":\"Pula\",\"POP_MAX\":61599,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[15.5833276,49.4003813],\"properties\":{\"NAME\":\"Jihlava\",\"NAMEASCII\":\"Jihlava\",\"POP_MAX\":53921,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[17.6500232,49.2304175],\"properties\":{\"NAME\":\"Zlín\",\"NAMEASCII\":\"Zlin\",\"POP_MAX\":124610,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[16.6099833,49.2003935],\"properties\":{\"NAME\":\"Brno\",\"NAMEASCII\":\"Brno\",\"POP_MAX\":388277,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[15.7600093,50.0404197],\"properties\":{\"NAME\":\"Pardubice\",\"NAMEASCII\":\"Pardubice\",\"POP_MAX\":107064,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[14.3299674,51.7704175],\"properties\":{\"NAME\":\"Cottbus\",\"NAMEASCII\":\"Cottbus\",\"POP_MAX\":105067,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[13.0699926,52.4004049],\"properties\":{\"NAME\":\"Potsdam\",\"NAMEASCII\":\"Potsdam\",\"POP_MAX\":218095,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.6200036,52.1304214],\"properties\":{\"NAME\":\"Magdeburg\",\"NAMEASCII\":\"Magdeburg\",\"POP_MAX\":229826,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[12.4099812,51.3354053],\"properties\":{\"NAME\":\"Leipzig\",\"NAMEASCII\":\"Leipzig\",\"POP_MAX\":542529,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[18.6800378,45.5503837],\"properties\":{\"NAME\":\"Osijek\",\"NAMEASCII\":\"Osijek\",\"POP_MAX\":95077,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[18.2499865,49.830355],\"properties\":{\"NAME\":\"Ostrava\",\"NAMEASCII\":\"Ostrava\",\"POP_MAX\":478963,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[28.160286,59.3776276],\"properties\":{\"NAME\":\"Narva\",\"NAMEASCII\":\"Narva\",\"POP_MAX\":66980,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[79.9833243,32.2003976],\"properties\":{\"NAME\":\"Gar\",\"NAMEASCII\":\"Gar\",\"POP_MAX\":10000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[89.1650378,42.9353754],\"properties\":{\"NAME\":\"Turpan\",\"NAMEASCII\":\"Turpan\",\"POP_MAX\":651853,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[85.5333215,38.1337563],\"properties\":{\"NAME\":\"Quiemo\",\"NAMEASCII\":\"Quiemo\",\"POP_MAX\":65572,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[89.53021785838968,46.99112308175973],\"properties\":{\"NAME\":\"Koktokay\",\"NAMEASCII\":\"Koktokay\",\"POP_MAX\":80000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.471442,0.916829],\"properties\":{\"NAME\":\"Tanjungpinang\",\"NAMEASCII\":\"Tanjungpinang\",\"POP_MAX\":226666,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[108.2,4.2169894],\"properties\":{\"NAME\":\"Telukbutun\",\"NAMEASCII\":\"Telukbutun\",\"POP_MAX\":140,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[110.429993,35.4704305],\"properties\":{\"NAME\":\"Hancheng\",\"NAMEASCII\":\"Hancheng\",\"POP_MAX\":222135,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.5000756,34.500438],\"properties\":{\"NAME\":\"Weinan\",\"NAMEASCII\":\"Weinan\",\"POP_MAX\":172321,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.4200008,39.3003776],\"properties\":{\"NAME\":\"Shuozhou\",\"NAMEASCII\":\"Shuozhou\",\"POP_MAX\":570000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.7199825,38.4104319],\"properties\":{\"NAME\":\"Xinzhou\",\"NAMEASCII\":\"Xinzhou\",\"POP_MAX\":279607,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.8300016,35.500377],\"properties\":{\"NAME\":\"Jincheng\",\"NAMEASCII\":\"Jincheng\",\"POP_MAX\":760000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.8999808,37.0400246],\"properties\":{\"NAME\":\"Jiexiu\",\"NAMEASCII\":\"Jiexiu\",\"POP_MAX\":77178,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.1052819,36.1838753],\"properties\":{\"NAME\":\"Changzhi\",\"NAMEASCII\":\"Changzhi\",\"POP_MAX\":706000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.0000077,31.6203813],\"properties\":{\"NAME\":\"Guangshui\",\"NAMEASCII\":\"Guangshui\",\"POP_MAX\":154771,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.2010339823121,31.031409824168122],\"properties\":{\"NAME\":\"Jingmen\",\"NAMEASCII\":\"Jingmen\",\"POP_MAX\":400000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.5000052,30.300436],\"properties\":{\"NAME\":\"Zicheng\",\"NAMEASCII\":\"Zicheng\",\"POP_MAX\":237042,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.400002,29.7003951],\"properties\":{\"NAME\":\"Shishou\",\"NAMEASCII\":\"Shishou\",\"POP_MAX\":231787,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.9000138,30.9203982],\"properties\":{\"NAME\":\"Xiaogan\",\"NAMEASCII\":\"Xiaogan\",\"POP_MAX\":160437,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.880015,29.7204197],\"properties\":{\"NAME\":\"Puqi\",\"NAMEASCII\":\"Puqi\",\"POP_MAX\":205164,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.8136389,32.8081641],\"properties\":{\"NAME\":\"Yunxian\",\"NAMEASCII\":\"Yunxian\",\"POP_MAX\":133558,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.851715,29.6321047],\"properties\":{\"NAME\":\"Jinshi\",\"NAMEASCII\":\"Jinshi\",\"POP_MAX\":274000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.0300927,25.8004265],\"properties\":{\"NAME\":\"Chenzhou\",\"NAMEASCII\":\"Chenzhou\",\"POP_MAX\":322997,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.6780493,27.4409465],\"properties\":{\"NAME\":\"Zhijiang\",\"NAMEASCII\":\"Zhijiang\",\"POP_MAX\":113907,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.9000232,27.8504305],\"properties\":{\"NAME\":\"Xiangtan\",\"NAMEASCII\":\"Xiangtan\",\"POP_MAX\":2586948,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.7780561,29.4019459],\"properties\":{\"NAME\":\"Zigong\",\"NAMEASCII\":\"Zigong\",\"POP_MAX\":1105000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.0800024,29.9804297],\"properties\":{\"NAME\":\"Yaan\",\"NAMEASCII\":\"Yaan\",\"POP_MAX\":340000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.9655627,31.5759396],\"properties\":{\"NAME\":\"Langzhong\",\"NAMEASCII\":\"Langzhong\",\"POP_MAX\":60542,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.9166626,30.950448],\"properties\":{\"NAME\":\"Rongzhag\",\"NAMEASCII\":\"Rongzhag\",\"POP_MAX\":70000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[100.9781669,22.7806883],\"properties\":{\"NAME\":\"Simao\",\"NAMEASCII\":\"Simao\",\"POP_MAX\":162725,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.2496984,23.3723576],\"properties\":{\"NAME\":\"Wenshan\",\"NAMEASCII\":\"Wenshan\",\"POP_MAX\":152388,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.8166499,25.6004645],\"properties\":{\"NAME\":\"Zhanyi\",\"NAMEASCII\":\"Zhanyi\",\"POP_MAX\":652604,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.4166744,26.3504187],\"properties\":{\"NAME\":\"Huize\",\"NAMEASCII\":\"Huize\",\"POP_MAX\":5170,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.9300004,40.9603797],\"properties\":{\"NAME\":\"Chengde\",\"NAMEASCII\":\"Chengde\",\"POP_MAX\":449325,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.8700134,38.3203858],\"properties\":{\"NAME\":\"Cangzhou\",\"NAMEASCII\":\"Cangzhou\",\"POP_MAX\":527681,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.46889650311108,38.85834026064811],\"properties\":{\"NAME\":\"Baoding\",\"NAMEASCII\":\"Baoding\",\"POP_MAX\":1107000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.330037,38.3704344],\"properties\":{\"NAME\":\"Huanghua\",\"NAMEASCII\":\"Huanghua\",\"POP_MAX\":120000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.9999983,38.5004265],\"properties\":{\"NAME\":\"Dingzhou\",\"NAMEASCII\":\"Dingzhou\",\"POP_MAX\":152934,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.3700016,37.3703921],\"properties\":{\"NAME\":\"Nangong\",\"NAMEASCII\":\"Nangong\",\"POP_MAX\":82386,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.6800085,36.850398],\"properties\":{\"NAME\":\"Linqing\",\"NAMEASCII\":\"Linqing\",\"POP_MAX\":110046,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.5000288,37.0499724],\"properties\":{\"NAME\":\"Xiangtai\",\"NAMEASCII\":\"Xiangtai\",\"POP_MAX\":611739,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.9799996,35.7003906],\"properties\":{\"NAME\":\"Puyang\",\"NAMEASCII\":\"Puyang\",\"POP_MAX\":666322,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.2200459,35.9503754],\"properties\":{\"NAME\":\"Hebi\",\"NAMEASCII\":\"Hebi\",\"POP_MAX\":244662,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.8200187,34.0203898],\"properties\":{\"NAME\":\"Xuchang\",\"NAMEASCII\":\"Xuchang\",\"POP_MAX\":449258,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.6300468,33.6304136],\"properties\":{\"NAME\":\"Zhoukou\",\"NAMEASCII\":\"Zhoukou\",\"POP_MAX\":377061,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.0800215,32.6803683],\"properties\":{\"NAME\":\"Dengzhou\",\"NAMEASCII\":\"Dengzhou\",\"POP_MAX\":59338,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.8199768,42.3003754],\"properties\":{\"NAME\":\"Tieling\",\"NAMEASCII\":\"Tieling\",\"POP_MAX\":340000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.4199776,41.5504212],\"properties\":{\"NAME\":\"Chaoyang\",\"NAMEASCII\":\"Chaoyang\",\"POP_MAX\":470296,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.3459818,41.2563306],\"properties\":{\"NAME\":\"Huanren\",\"NAMEASCII\":\"Huanren\",\"POP_MAX\":116621,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.9618896,39.6822923],\"properties\":{\"NAME\":\"Zhuanghe\",\"NAMEASCII\":\"Zhuanghe\",\"POP_MAX\":261510,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.6199841,35.7904368],\"properties\":{\"NAME\":\"Yishui\",\"NAMEASCII\":\"Yishui\",\"POP_MAX\":94115,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.0799841,34.7904203],\"properties\":{\"NAME\":\"Shanxian\",\"NAMEASCII\":\"Shanxian\",\"POP_MAX\":74459,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.6200451,35.5104281],\"properties\":{\"NAME\":\"Pingyi\",\"NAMEASCII\":\"Pingyi\",\"POP_MAX\":78254,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9400069,36.7903758],\"properties\":{\"NAME\":\"Pingdu\",\"NAMEASCII\":\"Pingdu\",\"POP_MAX\":91077,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.6600427,36.2004118],\"properties\":{\"NAME\":\"Laiwu\",\"NAMEASCII\":\"Laiwu\",\"POP_MAX\":124108,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.9844426355911,37.38045002658038],\"properties\":{\"NAME\":\"Buizhou\",\"NAMEASCII\":\"Buizhou\",\"POP_MAX\":115893,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.9700166,36.4304236],\"properties\":{\"NAME\":\"Liaocheng\",\"NAMEASCII\":\"Liaocheng\",\"POP_MAX\":226930,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.4500109,35.4303813],\"properties\":{\"NAME\":\"Rizhao\",\"NAMEASCII\":\"Rizhao\",\"POP_MAX\":865000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.3000223,37.450413],\"properties\":{\"NAME\":\"Dezhou\",\"NAMEASCII\":\"Dezhou\",\"POP_MAX\":379555,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.3600187,27.9703457],\"properties\":{\"NAME\":\"Linchuan\",\"NAMEASCII\":\"Linchuan\",\"POP_MAX\":241104,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.7700288,28.2004092],\"properties\":{\"NAME\":\"Fengcheng\",\"NAMEASCII\":\"Fengcheng\",\"POP_MAX\":61469,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.9999983,27.1304228],\"properties\":{\"NAME\":\"Jian\",\"NAMEASCII\":\"Jian\",\"POP_MAX\":520248,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.9699979,28.4703927],\"properties\":{\"NAME\":\"Shangrao\",\"NAMEASCII\":\"Shangrao\",\"POP_MAX\":1144577,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.1800203,29.2704214],\"properties\":{\"NAME\":\"Jingdezhen\",\"NAMEASCII\":\"Jingdezhen\",\"POP_MAX\":457298,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9000093,32.4904057],\"properties\":{\"NAME\":\"Taizhou\",\"NAMEASCII\":\"Taizhou\",\"POP_MAX\":612356,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.7733597,34.1298664],\"properties\":{\"NAME\":\"Shuyang\",\"NAMEASCII\":\"Shuyang\",\"POP_MAX\":1770000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.226193115,34.58701405953807],\"properties\":{\"NAME\":\"Lianyungang\",\"NAMEASCII\":\"Lianyungang\",\"POP_MAX\":715600,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9000093,28.4504197],\"properties\":{\"NAME\":\"Lishui\",\"NAMEASCII\":\"Lishui\",\"POP_MAX\":172777,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.4499922,28.6804057],\"properties\":{\"NAME\":\"Jiaojing\",\"NAMEASCII\":\"Jiaojing\",\"POP_MAX\":471500,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.8699947,28.9704397],\"properties\":{\"NAME\":\"Quzhou\",\"NAMEASCII\":\"Quzhou\",\"POP_MAX\":370000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[132.5655928,34.2509701],\"properties\":{\"NAME\":\"Kure\",\"NAMEASCII\":\"Kure\",\"POP_MAX\":196991,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[133.0666475,35.466994],\"properties\":{\"NAME\":\"Matsue\",\"NAMEASCII\":\"Matsue\",\"POP_MAX\":156811,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[134.2332946,35.500377],\"properties\":{\"NAME\":\"Tottori\",\"NAMEASCII\":\"Tottori\",\"POP_MAX\":154098,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[129.7177046,33.1631295],\"properties\":{\"NAME\":\"Sasebo\",\"NAMEASCII\":\"Sasebo\",\"POP_MAX\":237444,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[124.8200191,45.1803805],\"properties\":{\"NAME\":\"Songyuan\",\"NAMEASCII\":\"Songyuan\",\"POP_MAX\":495900,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[128.2200183,43.3504922],\"properties\":{\"NAME\":\"Dunhua\",\"NAMEASCII\":\"Dunhua\",\"POP_MAX\":191870,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.1700752,44.4304004],\"properties\":{\"NAME\":\"Nongan\",\"NAMEASCII\":\"Nongan\",\"POP_MAX\":141482,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.7800402,45.330423],\"properties\":{\"NAME\":\"Taonan\",\"NAMEASCII\":\"Taonan\",\"POP_MAX\":116611,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.7173287,42.2788522],\"properties\":{\"NAME\":\"Liuhe\",\"NAMEASCII\":\"Liuhe\",\"POP_MAX\":68938,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.2614298,42.6229397],\"properties\":{\"NAME\":\"Huinan\",\"NAMEASCII\":\"Huinan\",\"POP_MAX\":66315,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.0561193,42.9426359],\"properties\":{\"NAME\":\"Panshi\",\"NAMEASCII\":\"Panshi\",\"POP_MAX\":86216,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[127.3459631,43.7162838],\"properties\":{\"NAME\":\"Jiaohe\",\"NAMEASCII\":\"Jiaohe\",\"POP_MAX\":123018,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.9359623,41.8363469],\"properties\":{\"NAME\":\"Linjiang\",\"NAMEASCII\":\"Linjiang\",\"POP_MAX\":84315,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.7343444,43.3247831],\"properties\":{\"NAME\":\"Wangqing\",\"NAMEASCII\":\"Wangqing\",\"POP_MAX\":88732,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.0043632,42.5347538],\"properties\":{\"NAME\":\"Helong\",\"NAMEASCII\":\"Helong\",\"POP_MAX\":85756,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.9487264,44.4091097],\"properties\":{\"NAME\":\"Shulan\",\"NAMEASCII\":\"Shulan\",\"POP_MAX\":78764,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.8443493,44.1447331],\"properties\":{\"NAME\":\"Jiutai\",\"NAMEASCII\":\"Jiutai\",\"POP_MAX\":205399,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.8200146,33.870399],\"properties\":{\"NAME\":\"Kitakyūshū\",\"NAMEASCII\":\"Kitakyushu\",\"POP_MAX\":997536,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[130.700642,32.8009294],\"properties\":{\"NAME\":\"Kumamoto\",\"NAMEASCII\":\"Kumamoto\",\"POP_MAX\":718232,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[131.5978999,33.243228],\"properties\":{\"NAME\":\"Ōita\",\"NAMEASCII\":\"Oita\",\"POP_MAX\":448907,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[105.6686299,38.8390104],\"properties\":{\"NAME\":\"Alxa Zuoqi\",\"NAMEASCII\":\"Alxa Zuoqi\",\"POP_MAX\":56387,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.0333016,43.5170711],\"properties\":{\"NAME\":\"Linxi\",\"NAMEASCII\":\"Linxi\",\"POP_MAX\":679,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.1999816,43.5837337],\"properties\":{\"NAME\":\"Kailu\",\"NAMEASCII\":\"Kailu\",\"POP_MAX\":2809,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.1833606,43.9837093],\"properties\":{\"NAME\":\"Bairin Zuoqi\",\"NAMEASCII\":\"Bairin Zuoqi\",\"POP_MAX\":50000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.5166548,50.6516227],\"properties\":{\"NAME\":\"Yitulihe\",\"NAMEASCII\":\"Yitulihe\",\"POP_MAX\":19645,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.7300362,49.2804144],\"properties\":{\"NAME\":\"Yakeshi\",\"NAMEASCII\":\"Yakeshi\",\"POP_MAX\":116284,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.9333736,48.7838039],\"properties\":{\"NAME\":\"Bugt\",\"NAMEASCII\":\"Bugt\",\"POP_MAX\":17457,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.2721919,41.0896224],\"properties\":{\"NAME\":\"Wuyuan\",\"NAMEASCII\":\"Wuyuan\",\"POP_MAX\":30057,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.9711063,41.767643],\"properties\":{\"NAME\":\"Bayan Obo\",\"NAMEASCII\":\"Bayan Obo\",\"POP_MAX\":27476,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.1443493,40.4546999],\"properties\":{\"NAME\":\"Fengzhen\",\"NAMEASCII\":\"Fengzhen\",\"POP_MAX\":99174,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.9799906,46.6304212],\"properties\":{\"NAME\":\"Suihua\",\"NAMEASCII\":\"Suihua\",\"POP_MAX\":252245,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[131.3500081,46.6704187],\"properties\":{\"NAME\":\"Shuangyashan\",\"NAMEASCII\":\"Shuangyashan\",\"POP_MAX\":500000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[127.9700077,45.2204297],\"properties\":{\"NAME\":\"Shangzhi\",\"NAMEASCII\":\"Shangzhi\",\"POP_MAX\":96980,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[132.019993,47.2703821],\"properties\":{\"NAME\":\"Fujin\",\"NAMEASCII\":\"Fujin\",\"POP_MAX\":89442,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.2999898,47.8803965],\"properties\":{\"NAME\":\"Yian\",\"NAMEASCII\":\"Yian\",\"POP_MAX\":39924,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.409976,46.3903583],\"properties\":{\"NAME\":\"Tailai\",\"NAMEASCII\":\"Tailai\",\"POP_MAX\":75992,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.1800158,47.3404037],\"properties\":{\"NAME\":\"Longjiang\",\"NAMEASCII\":\"Longjiang\",\"POP_MAX\":106384,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.5100215,47.9203683],\"properties\":{\"NAME\":\"Gannan\",\"NAMEASCII\":\"Gannan\",\"POP_MAX\":59239,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.9300195,47.4504228],\"properties\":{\"NAME\":\"Hailun\",\"NAMEASCII\":\"Hailun\",\"POP_MAX\":109881,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[131.8800016,45.5503837],\"properties\":{\"NAME\":\"Mishan\",\"NAMEASCII\":\"Mishan\",\"POP_MAX\":87257,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[128.0500028,46.9503758],\"properties\":{\"NAME\":\"Tieli\",\"NAMEASCII\":\"Tieli\",\"POP_MAX\":109636,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.2799816,45.3503443],\"properties\":{\"NAME\":\"Shuangcheng\",\"NAMEASCII\":\"Shuangcheng\",\"POP_MAX\":130710,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.98,46.0804289],\"properties\":{\"NAME\":\"Zhaodong\",\"NAMEASCII\":\"Zhaodong\",\"POP_MAX\":179980,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.2759509,46.2663607],\"properties\":{\"NAME\":\"Lanxi\",\"NAMEASCII\":\"Lanxi\",\"POP_MAX\":72528,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.8659501,48.0263308],\"properties\":{\"NAME\":\"Keshan\",\"NAMEASCII\":\"Keshan\",\"POP_MAX\":72403,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.285948,47.1363593],\"properties\":{\"NAME\":\"Nancha\",\"NAMEASCII\":\"Nancha\",\"POP_MAX\":121367,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.5059346,48.2363438],\"properties\":{\"NAME\":\"Xinqing\",\"NAMEASCII\":\"Xinqing\",\"POP_MAX\":55415,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[132.9922334,45.7690267],\"properties\":{\"NAME\":\"Hulin\",\"NAMEASCII\":\"Hulin\",\"POP_MAX\":42559,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.5759468,45.756366],\"properties\":{\"NAME\":\"Boli\",\"NAMEASCII\":\"Boli\",\"POP_MAX\":95260,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.4659371,44.3313367],\"properties\":{\"NAME\":\"Ningan\",\"NAMEASCII\":\"Ningan\",\"POP_MAX\":54636,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[136.7627526,35.4230949],\"properties\":{\"NAME\":\"Gifu\",\"NAMEASCII\":\"Gifu\",\"POP_MAX\":412895,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[136.5166695,34.7170657],\"properties\":{\"NAME\":\"Tsu\",\"NAMEASCII\":\"Tsu\",\"POP_MAX\":500000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[137.9700175,36.2404352],\"properties\":{\"NAME\":\"Matsumoto\",\"NAMEASCII\":\"Matsumoto\",\"POP_MAX\":224926,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[138.3853926,34.9858348],\"properties\":{\"NAME\":\"Shizuoka\",\"NAMEASCII\":\"Shizuoka\",\"POP_MAX\":701561,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[137.7327193,34.7180733],\"properties\":{\"NAME\":\"Hamamatsu\",\"NAMEASCII\":\"Hamamatsu\",\"POP_MAX\":977023,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[143.1700101,42.9304144],\"properties\":{\"NAME\":\"Obihiro\",\"NAMEASCII\":\"Obihiro\",\"POP_MAX\":173890,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[141.5500057,42.6504057],\"properties\":{\"NAME\":\"Tomakomai\",\"NAMEASCII\":\"Tomakomai\",\"POP_MAX\":174806,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[143.8999914,43.8503583],\"properties\":{\"NAME\":\"Kitami\",\"NAMEASCII\":\"Kitami\",\"POP_MAX\":113137,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.9783093,43.1887191],\"properties\":{\"NAME\":\"Otaru\",\"NAMEASCII\":\"Otaru\",\"POP_MAX\":143792,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[136.2200468,36.0704197],\"properties\":{\"NAME\":\"Fukui\",\"NAMEASCII\":\"Fukui\",\"POP_MAX\":248707,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[135.3333309,35.4504059],\"properties\":{\"NAME\":\"Maizuru\",\"NAMEASCII\":\"Maizuru\",\"POP_MAX\":92465,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[135.1677079,34.2231165],\"properties\":{\"NAME\":\"Wakayama\",\"NAMEASCII\":\"Wakayama\",\"POP_MAX\":440006,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.4800451,36.3704273],\"properties\":{\"NAME\":\"Mito\",\"NAMEASCII\":\"Mito\",\"POP_MAX\":353892,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[138.5833134,35.6503937],\"properties\":{\"NAME\":\"Kōfu\",\"NAMEASCII\":\"Kofu\",\"POP_MAX\":197540,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.8900459,37.0553467],\"properties\":{\"NAME\":\"Iwaki\",\"NAMEASCII\":\"Iwaki\",\"POP_MAX\":357309,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[138.8600406,37.450413],\"properties\":{\"NAME\":\"Nagaoka\",\"NAMEASCII\":\"Nagaoka\",\"POP_MAX\":195318,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.3200032,38.2704922],\"properties\":{\"NAME\":\"Yamagata\",\"NAMEASCII\":\"Yamagata\",\"POP_MAX\":272209,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.830214,38.7004142],\"properties\":{\"NAME\":\"Tsuruoka\",\"NAMEASCII\":\"Tsuruoka\",\"POP_MAX\":99820,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[16.8999397,-4.8295902],\"properties\":{\"NAME\":\"Kenge\",\"NAMEASCII\":\"Kenge\",\"POP_MAX\":241,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.23998,-2.1595207],\"properties\":{\"NAME\":\"Bolobo\",\"NAMEASCII\":\"Bolobo\",\"POP_MAX\":27862,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[19.0000183,-7.2829289],\"properties\":{\"NAME\":\"Kahemba\",\"NAMEASCII\":\"Kahemba\",\"POP_MAX\":50000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[18.599991,-4.5496073],\"properties\":{\"NAME\":\"Bulungu\",\"NAMEASCII\":\"Bulungu\",\"POP_MAX\":48344,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.5166556,-5.5829293],\"properties\":{\"NAME\":\"Lusanga\",\"NAMEASCII\":\"Lusanga\",\"POP_MAX\":177,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[19.5300118,-4.0396126],\"properties\":{\"NAME\":\"Mangai\",\"NAMEASCII\":\"Mangai\",\"POP_MAX\":37188,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.8299698,-6.4796187],\"properties\":{\"NAME\":\"Kasongo-Lunda\",\"NAMEASCII\":\"Kasongo-Lunda\",\"POP_MAX\":20060,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.9200419,-3.0196232],\"properties\":{\"NAME\":\"Mushie\",\"NAMEASCII\":\"Mushie\",\"POP_MAX\":33062,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[22.8700146,-6.5095394],\"properties\":{\"NAME\":\"Dibaya\",\"NAMEASCII\":\"Dibaya\",\"POP_MAX\":603,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[21.5699906,-4.8396155],\"properties\":{\"NAME\":\"Mweka\",\"NAMEASCII\":\"Mweka\",\"POP_MAX\":50675,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[21.4100004,-5.3495068],\"properties\":{\"NAME\":\"Luebo\",\"NAMEASCII\":\"Luebo\",\"POP_MAX\":35183,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[22.2599743,-5.5096004],\"properties\":{\"NAME\":\"Demba\",\"NAMEASCII\":\"Demba\",\"POP_MAX\":22263,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[20.6099975,-4.3195955],\"properties\":{\"NAME\":\"Ilebo\",\"NAMEASCII\":\"Ilebo\",\"POP_MAX\":107093,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[12.3549975,-5.9229085],\"properties\":{\"NAME\":\"Moanda\",\"NAMEASCII\":\"Moanda\",\"POP_MAX\":153915,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[14.4333203,-5.549598],\"properties\":{\"NAME\":\"Kimpese\",\"NAMEASCII\":\"Kimpese\",\"POP_MAX\":10578,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[15.179993,-4.5795797],\"properties\":{\"NAME\":\"Kasangulu\",\"NAMEASCII\":\"Kasangulu\",\"POP_MAX\":27961,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[14.8600126,-5.2496163],\"properties\":{\"NAME\":\"Mbanza-Ngungu\",\"NAMEASCII\":\"Mbanza-Ngungu\",\"POP_MAX\":197545,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[12.9300012,-4.9695817],\"properties\":{\"NAME\":\"Tshela\",\"NAMEASCII\":\"Tshela\",\"POP_MAX\":38845,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[28.4325175,-3.0382267],\"properties\":{\"NAME\":\"Mwenga\",\"NAMEASCII\":\"Mwenga\",\"POP_MAX\":2216,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.6700411,-3.5995361],\"properties\":{\"NAME\":\"Kampene\",\"NAMEASCII\":\"Kampene\",\"POP_MAX\":37034,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.430004,-2.5095768],\"properties\":{\"NAME\":\"Kalima\",\"NAMEASCII\":\"Kalima\",\"POP_MAX\":194,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.583328,-0.7328894],\"properties\":{\"NAME\":\"Lubutu\",\"NAMEASCII\":\"Lubutu\",\"POP_MAX\":1313,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[24.4799939,-6.1296142],\"properties\":{\"NAME\":\"Kabinda\",\"NAMEASCII\":\"Kabinda\",\"POP_MAX\":59004,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[25.7499939,-5.3895561],\"properties\":{\"NAME\":\"Lubao\",\"NAMEASCII\":\"Lubao\",\"POP_MAX\":43068,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.4300321,-4.9695817],\"properties\":{\"NAME\":\"Lusambo\",\"NAMEASCII\":\"Lusambo\",\"POP_MAX\":41416,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.9600256,-6.7396028],\"properties\":{\"NAME\":\"Gandajika\",\"NAMEASCII\":\"Gandajika\",\"POP_MAX\":154425,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.591413638094178,-3.532144326154365],\"properties\":{\"NAME\":\"Lodja\",\"NAMEASCII\":\"Lodja\",\"POP_MAX\":68244,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[22.3333032,-10.6996195],\"properties\":{\"NAME\":\"Dilolo\",\"NAMEASCII\":\"Dilolo\",\"POP_MAX\":7854,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[28.0166772,-5.9495735],\"properties\":{\"NAME\":\"Nyunzu\",\"NAMEASCII\":\"Nyunzu\",\"POP_MAX\":15397,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.4499792,-10.3662032],\"properties\":{\"NAME\":\"Kasaji\",\"NAMEASCII\":\"Kasaji\",\"POP_MAX\":11969,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[28.6999947,-8.6995866],\"properties\":{\"NAME\":\"Luanza\",\"NAMEASCII\":\"Luanza\",\"POP_MAX\":861,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.7199841,-7.0595833],\"properties\":{\"NAME\":\"Moba\",\"NAMEASCII\":\"Moba\",\"POP_MAX\":10006,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[25.8400142,-9.2095813],\"properties\":{\"NAME\":\"Bukama\",\"NAMEASCII\":\"Bukama\",\"POP_MAX\":38770,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[24.1700386,-7.5696297],\"properties\":{\"NAME\":\"Kaniama\",\"NAMEASCII\":\"Kaniama\",\"POP_MAX\":36481,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.2500057,-11.7596065],\"properties\":{\"NAME\":\"Kipushi\",\"NAMEASCII\":\"Kipushi\",\"POP_MAX\":113347,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.6000195,-10.8695833],\"properties\":{\"NAME\":\"Kambove\",\"NAMEASCII\":\"Kambove\",\"POP_MAX\":36702,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.9799963,-5.3794791],\"properties\":{\"NAME\":\"Kongolo\",\"NAMEASCII\":\"Kongolo\",\"POP_MAX\":105202,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.9100264,-6.0496191],\"properties\":{\"NAME\":\"Kabalo\",\"NAMEASCII\":\"Kabalo\",\"POP_MAX\":29833,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.4500264,0.4904468],\"properties\":{\"NAME\":\"Beni\",\"NAMEASCII\":\"Beni\",\"POP_MAX\":332903,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[101.3964359,-2.0631441],\"properties\":{\"NAME\":\"Sungaipenuh\",\"NAMEASCII\":\"Sungaipenuh\",\"POP_MAX\":95913,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.9500459,-2.5329346],\"properties\":{\"NAME\":\"Sampit\",\"NAMEASCII\":\"Sampit\",\"POP_MAX\":92710,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[114.38447569161237,-2.983715131744292],\"properties\":{\"NAME\":\"Kualakapuas\",\"NAMEASCII\":\"Kualakapuas\",\"POP_MAX\":35632,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[113.9099873,-2.2095951],\"properties\":{\"NAME\":\"Palangkaraya\",\"NAMEASCII\":\"Palangkaraya\",\"POP_MAX\":148289,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-91.469983,15.3203943],\"properties\":{\"NAME\":\"Huehuetenango\",\"NAMEASCII\":\"Huehuetenango\",\"POP_MAX\":85992,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-89.8832839,16.9336808],\"properties\":{\"NAME\":\"Flores\",\"NAMEASCII\":\"Flores\",\"POP_MAX\":38035,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.1199878,16.7804344],\"properties\":{\"NAME\":\"La Libertad\",\"NAMEASCII\":\"La Libertad\",\"POP_MAX\":8646,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.820032,13.9397296],\"properties\":{\"NAME\":\"San Jose\",\"NAMEASCII\":\"San Jose\",\"POP_MAX\":18655,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-90.7799992,14.3004049],\"properties\":{\"NAME\":\"Escuintla\",\"NAMEASCII\":\"Escuintla\",\"POP_MAX\":107638,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-91.5099805,14.530365],\"properties\":{\"NAME\":\"Mazatenango\",\"NAMEASCII\":\"Mazatenango\",\"POP_MAX\":64652,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-71.6500299,19.8669902],\"properties\":{\"NAME\":\"Monte Cristi\",\"NAMEASCII\":\"Monte Cristi\",\"POP_MAX\":17001,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-71.099986,18.2003736],\"properties\":{\"NAME\":\"Barahona\",\"NAMEASCII\":\"Barahona\",\"POP_MAX\":90128,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-68.4499669,18.7170087],\"properties\":{\"NAME\":\"Bávaro\",\"NAMEASCII\":\"Bavaro\",\"POP_MAX\":795,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-54.0325346,5.4976241],\"properties\":{\"NAME\":\"Saint-Laurent-du-Maroni\",\"NAMEASCII\":\"Saint-Laurent-du-Maroni\",\"POP_MAX\":24287,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.2199921,5.4804265],\"properties\":{\"NAME\":\"Iracoubo\",\"NAMEASCII\":\"Iracoubo\",\"POP_MAX\":1536,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-14.6500208,13.4336361],\"properties\":{\"NAME\":\"Bansang\",\"NAMEASCII\":\"Bansang\",\"POP_MAX\":7615,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-16.6599498,13.2803638],\"properties\":{\"NAME\":\"Brikama\",\"NAMEASCII\":\"Brikama\",\"POP_MAX\":195136,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[-0.8399852,9.4004197],\"properties\":{\"NAME\":\"Tamale\",\"NAMEASCII\":\"Tamale\",\"POP_MAX\":360579,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.0166504,9.4337252],\"properties\":{\"NAME\":\"Yendi\",\"NAMEASCII\":\"Yendi\",\"POP_MAX\":42972,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.8499846,10.7903866],\"properties\":{\"NAME\":\"Bolgatanga\",\"NAMEASCII\":\"Bolgatanga\",\"POP_MAX\":82177,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.239996,11.0603959],\"properties\":{\"NAME\":\"Bawku\",\"NAMEASCII\":\"Bawku\",\"POP_MAX\":73594,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-2.5000131,10.0604053],\"properties\":{\"NAME\":\"Wa\",\"NAMEASCII\":\"Wa\",\"POP_MAX\":78107,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-1.6599868,6.190409],\"properties\":{\"NAME\":\"Obuasi\",\"NAMEASCII\":\"Obuasi\",\"POP_MAX\":180117,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-2.5900076,7.4503837],\"properties\":{\"NAME\":\"Berekum\",\"NAMEASCII\":\"Berekum\",\"POP_MAX\":46287,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.6300497,5.3504344],\"properties\":{\"NAME\":\"Winneba\",\"NAMEASCII\":\"Winneba\",\"POP_MAX\":44254,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-1.249986,5.1103715],\"properties\":{\"NAME\":\"Cape Coast\",\"NAMEASCII\":\"Cape Coast\",\"POP_MAX\":143015,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.7800147,6.5504645],\"properties\":{\"NAME\":\"Nkawkaw\",\"NAMEASCII\":\"Nkawkaw\",\"POP_MAX\":62667,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-0.2600206,6.0904151],\"properties\":{\"NAME\":\"Koforidua\",\"NAMEASCII\":\"Koforidua\",\"POP_MAX\":156653,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[0.0100146,5.640365],\"properties\":{\"NAME\":\"Tema\",\"NAMEASCII\":\"Tema\",\"POP_MAX\":209000,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[0.4699865,6.6004098],\"properties\":{\"NAME\":\"Ho\",\"NAMEASCII\":\"Ho\",\"POP_MAX\":93044,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[14.820015,-0.8795988],\"properties\":{\"NAME\":\"Ewo\",\"NAMEASCII\":\"Ewo\",\"POP_MAX\":10650,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[13.9332991,1.0170813],\"properties\":{\"NAME\":\"Mékambo\",\"NAMEASCII\":\"Mekambo\",\"POP_MAX\":3170,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[12.8665942,0.5670829],\"properties\":{\"NAME\":\"Makokou\",\"NAMEASCII\":\"Makokou\",\"POP_MAX\":17070,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[11.5666219,0.7837105],\"properties\":{\"NAME\":\"Mitzik\",\"NAMEASCII\":\"Mitzik\",\"POP_MAX\":4111,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[11.4833711,2.083657],\"properties\":{\"NAME\":\"Bitam\",\"NAMEASCII\":\"Bitam\",\"POP_MAX\":17637,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[75.7200187,32.2703416],\"properties\":{\"NAME\":\"Pathankot\",\"NAMEASCII\":\"Pathankot\",\"POP_MAX\":253987,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.0299833,29.4903821],\"properties\":{\"NAME\":\"Sirsa\",\"NAMEASCII\":\"Sirsa\",\"POP_MAX\":181639,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9699682,29.4004134],\"properties\":{\"NAME\":\"Panipat\",\"NAMEASCII\":\"Panipat\",\"POP_MAX\":292808,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9699682,29.680448],\"properties\":{\"NAME\":\"Karnal\",\"NAMEASCII\":\"Karnal\",\"POP_MAX\":225049,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.3500248,34.2004305],\"properties\":{\"NAME\":\"Baramula\",\"NAMEASCII\":\"Baramula\",\"POP_MAX\":167986,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.5700256,14.7504291],\"properties\":{\"NAME\":\"Proddatur\",\"NAMEASCII\":\"Proddatur\",\"POP_MAX\":197451,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.48663840446497,15.464096780310284],\"properties\":{\"NAME\":\"Nandyal\",\"NAMEASCII\":\"Nandyal\",\"POP_MAX\":188654,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.4899882,13.7803591],\"properties\":{\"NAME\":\"Hindupur\",\"NAMEASCII\":\"Hindupur\",\"POP_MAX\":168312,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.4199996,13.6504187],\"properties\":{\"NAME\":\"Tirupati\",\"NAMEASCII\":\"Tirupati\",\"POP_MAX\":287035,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.05770666642721,15.505577334845766],\"properties\":{\"NAME\":\"Ongole\",\"NAMEASCII\":\"Ongole\",\"POP_MAX\":202860,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[83.40137201021288,18.110991898813182],\"properties\":{\"NAME\":\"Vizianagaram\",\"NAMEASCII\":\"Vizianagaram\",\"POP_MAX\":179358,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.7899841,17.0303416],\"properties\":{\"NAME\":\"Rajahmundry\",\"NAMEASCII\":\"Rajahmundry\",\"POP_MAX\":304804,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.1799955,16.2004181],\"properties\":{\"NAME\":\"Machilipatnam\",\"NAMEASCII\":\"Machilipatnam\",\"POP_MAX\":192827,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.1600577,17.2804297],\"properties\":{\"NAME\":\"Khammam\",\"NAMEASCII\":\"Khammam\",\"POP_MAX\":290839,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.3399951,15.860413],\"properties\":{\"NAME\":\"Chirala\",\"NAMEASCII\":\"Chirala\",\"POP_MAX\":253000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.1099926,18.4604352],\"properties\":{\"NAME\":\"Karimnagar\",\"NAMEASCII\":\"Karimnagar\",\"POP_MAX\":288251,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.1000284,18.6703965],\"properties\":{\"NAME\":\"Nizamabad\",\"NAMEASCII\":\"Nizamabad\",\"POP_MAX\":388505,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.5699926,8.9003727],\"properties\":{\"NAME\":\"Kollam\",\"NAMEASCII\":\"Kollam\",\"POP_MAX\":394163,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.3700048,9.5004136],\"properties\":{\"NAME\":\"Alappuzha\",\"NAMEASCII\":\"Alappuzha\",\"POP_MAX\":176783,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.9000175,19.8204297],\"properties\":{\"NAME\":\"Puri\",\"NAMEASCII\":\"Puri\",\"POP_MAX\":201026,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[83.9700577,21.4704065],\"properties\":{\"NAME\":\"Sambalpur\",\"NAMEASCII\":\"Sambalpur\",\"POP_MAX\":310852,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[84.8299536,22.2304118],\"properties\":{\"NAME\":\"Raurkela\",\"NAMEASCII\":\"Raurkela\",\"POP_MAX\":625831,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.6368672,10.5625733],\"properties\":{\"NAME\":\"Kavaratti\",\"NAMEASCII\":\"Kavaratti\",\"POP_MAX\":10688,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9199971,12.5703813],\"properties\":{\"NAME\":\"Mandya\",\"NAMEASCII\":\"Mandya\",\"POP_MAX\":285034,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.1333597,13.1337061],\"properties\":{\"NAME\":\"Kolar\",\"NAMEASCII\":\"Kolar\",\"POP_MAX\":144625,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.5600284,13.9303758],\"properties\":{\"NAME\":\"Shivamogga\",\"NAMEASCII\":\"Shivamogga\",\"POP_MAX\":654055,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.3550093,16.2103658],\"properties\":{\"NAME\":\"Raichur\",\"NAMEASCII\":\"Raichur\",\"POP_MAX\":255240,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.3750175,15.2803967],\"properties\":{\"NAME\":\"Hosapete\",\"NAMEASCII\":\"Hosapete\",\"POP_MAX\":286007,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.5175317,17.9229228],\"properties\":{\"NAME\":\"Bidar\",\"NAMEASCII\":\"Bidar\",\"POP_MAX\":300136,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.575024,16.8604037],\"properties\":{\"NAME\":\"Sangli\",\"NAMEASCII\":\"Sangli\",\"POP_MAX\":601214,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.7600069,19.2703858],\"properties\":{\"NAME\":\"Parbhani\",\"NAMEASCII\":\"Parbhani\",\"POP_MAX\":378326,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.5250012,20.5603587],\"properties\":{\"NAME\":\"Malegaon\",\"NAMEASCII\":\"Malegaon\",\"POP_MAX\":690844,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[92.7359826,11.6670256],\"properties\":{\"NAME\":\"Port Blair\",\"NAMEASCII\":\"Port Blair\",\"POP_MAX\":127562,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[92.8000097,26.6337606],\"properties\":{\"NAME\":\"Tezpur\",\"NAMEASCII\":\"Tezpur\",\"POP_MAX\":58851,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[92.7900362,24.7904106],\"properties\":{\"NAME\":\"Silchar\",\"NAMEASCII\":\"Silchar\",\"POP_MAX\":152393,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[94.1165702,25.6669979],\"properties\":{\"NAME\":\"Kohima\",\"NAMEASCII\":\"Kohima\",\"POP_MAX\":92113,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[91.8800142,25.5704922],\"properties\":{\"NAME\":\"Shillong\",\"NAMEASCII\":\"Shillong\",\"POP_MAX\":375527,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[177.4166019,-17.7995996],\"properties\":{\"NAME\":\"Nandi\",\"NAMEASCII\":\"Nandi\",\"POP_MAX\":42284,\"ISO_A2\":\"FJ\",\"SOV_A3\":\"FJI\"}},{\"type\":\"Point\",\"coordinates\":[177.4666247,-17.6160966],\"properties\":{\"NAME\":\"Lautoka\",\"NAMEASCII\":\"Lautoka\",\"POP_MAX\":55894,\"ISO_A2\":\"FJ\",\"SOV_A3\":\"FJI\"}},{\"type\":\"Point\",\"coordinates\":[10.2166267,-0.6996098],\"properties\":{\"NAME\":\"Lambaréné\",\"NAMEASCII\":\"Lambarene\",\"POP_MAX\":25310,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[10.3832316,-0.3329138],\"properties\":{\"NAME\":\"Bifoum\",\"NAMEASCII\":\"Bifoum\",\"POP_MAX\":134,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[11.3832739,-2.3829179],\"properties\":{\"NAME\":\"Ndende\",\"NAMEASCII\":\"Ndende\",\"POP_MAX\":6200,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[11.0166813,-1.8661535],\"properties\":{\"NAME\":\"Mouila\",\"NAMEASCII\":\"Mouila\",\"POP_MAX\":28000,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[9.2499674,-1.5662235],\"properties\":{\"NAME\":\"Omboué\",\"NAMEASCII\":\"Omboue\",\"POP_MAX\":1667,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[13.2000105,-1.5655001],\"properties\":{\"NAME\":\"Moanda\",\"NAMEASCII\":\"Moanda\",\"POP_MAX\":30151,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[13.679547493075411,-0.656775369164836],\"properties\":{\"NAME\":\"Okandja\",\"NAMEASCII\":\"Okandja\",\"POP_MAX\":7155,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[12.4833101,-1.1329166],\"properties\":{\"NAME\":\"Koulamoutou\",\"NAMEASCII\":\"Koulamoutou\",\"POP_MAX\":16222,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[-1.6499874,49.6503919],\"properties\":{\"NAME\":\"Cherbourg\",\"NAMEASCII\":\"Cherbourg\",\"POP_MAX\":60991,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-0.3499893,49.1837537],\"properties\":{\"NAME\":\"Caen\",\"NAMEASCII\":\"Caen\",\"POP_MAX\":190099,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-3.3665752,47.7504045],\"properties\":{\"NAME\":\"Lorient\",\"NAMEASCII\":\"Lorient\",\"POP_MAX\":84952,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-4.4950076,48.3904429],\"properties\":{\"NAME\":\"Brest\",\"NAMEASCII\":\"Brest\",\"POP_MAX\":144899,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.202581510662092,48.00439087635541],\"properties\":{\"NAME\":\"Le Mans\",\"NAMEASCII\":\"Le Mans\",\"POP_MAX\":144515,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-1.5900169,47.2103858],\"properties\":{\"NAME\":\"Nantes\",\"NAMEASCII\":\"Nantes\",\"POP_MAX\":438537,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.6333357,44.2004144],\"properties\":{\"NAME\":\"Agen\",\"NAMEASCII\":\"Agen\",\"POP_MAX\":58223,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[8.7282938,41.9270648],\"properties\":{\"NAME\":\"Ajaccio\",\"NAMEASCII\":\"Ajaccio\",\"POP_MAX\":54364,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[9.4500069,42.7031673],\"properties\":{\"NAME\":\"Bastia\",\"NAMEASCII\":\"Bastia\",\"POP_MAX\":41001,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[5.9188216,43.1341865],\"properties\":{\"NAME\":\"Toulon\",\"NAMEASCII\":\"Toulon\",\"POP_MAX\":357693,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.2099743,43.3504922],\"properties\":{\"NAME\":\"Béziers\",\"NAMEASCII\":\"Beziers\",\"POP_MAX\":81438,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.8699857,43.6103988],\"properties\":{\"NAME\":\"Montpellier\",\"NAMEASCII\":\"Montpellier\",\"POP_MAX\":327254,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[4.3500081,43.8303854],\"properties\":{\"NAME\":\"Nîmes\",\"NAMEASCII\":\"Nimes\",\"POP_MAX\":169547,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.4166801,46.117145],\"properties\":{\"NAME\":\"Vichy\",\"NAMEASCII\":\"Vichy\",\"POP_MAX\":43158,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.1666695,46.9837329],\"properties\":{\"NAME\":\"Nevers\",\"NAMEASCII\":\"Nevers\",\"POP_MAX\":45929,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.5665934,47.8004273],\"properties\":{\"NAME\":\"Auxerre\",\"NAMEASCII\":\"Auxerre\",\"POP_MAX\":41516,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[5.0300183,47.3304043],\"properties\":{\"NAME\":\"Dijon\",\"NAMEASCII\":\"Dijon\",\"POP_MAX\":169946,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.3999979,47.0837268],\"properties\":{\"NAME\":\"Bourges\",\"NAMEASCII\":\"Bourges\",\"POP_MAX\":72340,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.6999467,47.3803754],\"properties\":{\"NAME\":\"Tours\",\"NAMEASCII\":\"Tours\",\"POP_MAX\":236096,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.9000284,47.9004212],\"properties\":{\"NAME\":\"Orléans\",\"NAMEASCII\":\"Orleans\",\"POP_MAX\":217301,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.0833341,49.9337337],\"properties\":{\"NAME\":\"Dieppe\",\"NAMEASCII\":\"Dieppe\",\"POP_MAX\":42461,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.0799751,49.4304053],\"properties\":{\"NAME\":\"Rouen\",\"NAMEASCII\":\"Rouen\",\"POP_MAX\":532559,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.1333475,48.8004696],\"properties\":{\"NAME\":\"Versailles\",\"NAMEASCII\":\"Versailles\",\"POP_MAX\":85416,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.5333325,45.1504081],\"properties\":{\"NAME\":\"Brive\",\"NAMEASCII\":\"Brive\",\"POP_MAX\":55448,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[4.0833577,48.3403943],\"properties\":{\"NAME\":\"Troyes\",\"NAMEASCII\":\"Troyes\",\"POP_MAX\":61703,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[4.029976,49.2503904],\"properties\":{\"NAME\":\"Reims\",\"NAMEASCII\":\"Reims\",\"POP_MAX\":196565,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.8333142,50.9504159],\"properties\":{\"NAME\":\"Calais\",\"NAMEASCII\":\"Calais\",\"POP_MAX\":92201,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[2.300004,49.9003766],\"properties\":{\"NAME\":\"Amiens\",\"NAMEASCII\":\"Amiens\",\"POP_MAX\":143086,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[7.34998,47.7504045],\"properties\":{\"NAME\":\"Mulhouse\",\"NAMEASCII\":\"Mulhouse\",\"POP_MAX\":215454,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[6.2000244,48.6836808],\"properties\":{\"NAME\":\"Nancy\",\"NAMEASCII\":\"Nancy\",\"POP_MAX\":268976,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[6.1800256,49.1203467],\"properties\":{\"NAME\":\"Metz\",\"NAMEASCII\":\"Metz\",\"POP_MAX\":409186,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-72.5499492,-47.2662764],\"properties\":{\"NAME\":\"Cochrane\",\"NAMEASCII\":\"Cochrane\",\"POP_MAX\":4441,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-69.6833025,-20.9828678],\"properties\":{\"NAME\":\"Lagunas\",\"NAMEASCII\":\"Lagunas\",\"POP_MAX\":10,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-69.8000137,-20.2696297],\"properties\":{\"NAME\":\"Pozo Almonte\",\"NAMEASCII\":\"Pozo Almonte\",\"POP_MAX\":10830,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-68.0166342,-23.1828886],\"properties\":{\"NAME\":\"Toconao\",\"NAMEASCII\":\"Toconao\",\"POP_MAX\":378,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2200045,-28.4695943],\"properties\":{\"NAME\":\"Huasco\",\"NAMEASCII\":\"Huasco\",\"POP_MAX\":2558,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.0499984,-26.3696191],\"properties\":{\"NAME\":\"Diego de Almagro\",\"NAMEASCII\":\"Diego de Almagro\",\"POP_MAX\":18137,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.8300283,-27.0696281],\"properties\":{\"NAME\":\"Caldera\",\"NAMEASCII\":\"Caldera\",\"POP_MAX\":10259,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.3436145,-29.9529146],\"properties\":{\"NAME\":\"Coquimbo\",\"NAMEASCII\":\"Coquimbo\",\"POP_MAX\":161317,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.7399821,-30.0294991],\"properties\":{\"NAME\":\"Vicuña\",\"NAMEASCII\":\"Vicuna\",\"POP_MAX\":13496,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.1700076,-31.6296081],\"properties\":{\"NAME\":\"Illapel\",\"NAMEASCII\":\"Illapel\",\"POP_MAX\":26340,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.9799675,-31.7795731],\"properties\":{\"NAME\":\"Salamanca\",\"NAMEASCII\":\"Salamanca\",\"POP_MAX\":20214,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.5999907,-32.8295866],\"properties\":{\"NAME\":\"Los Andes\",\"NAMEASCII\":\"Los Andes\",\"POP_MAX\":56859,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.6099807,-33.5995137],\"properties\":{\"NAME\":\"San Antonio\",\"NAMEASCII\":\"San Antonio\",\"POP_MAX\":104292,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.3400137,-38.2395406],\"properties\":{\"NAME\":\"Victoria\",\"NAMEASCII\":\"Victoria\",\"POP_MAX\":24555,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.1699889,-38.7094861],\"properties\":{\"NAME\":\"Carahue\",\"NAMEASCII\":\"Carahue\",\"POP_MAX\":11875,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.8299838,-39.8495198],\"properties\":{\"NAME\":\"Los Lagos\",\"NAMEASCII\":\"Los Lagos\",\"POP_MAX\":12813,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.1600153,-37.0895849],\"properties\":{\"NAME\":\"Lota\",\"NAMEASCII\":\"Lota\",\"POP_MAX\":49763,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.6499854,-37.6095532],\"properties\":{\"NAME\":\"Lebu\",\"NAMEASCII\":\"Lebu\",\"POP_MAX\":22345,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.5999884,-43.0996057],\"properties\":{\"NAME\":\"Quellón\",\"NAMEASCII\":\"Quellon\",\"POP_MAX\":7029,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.419983,-35.329589],\"properties\":{\"NAME\":\"Constitución\",\"NAMEASCII\":\"Constitucion\",\"POP_MAX\":37917,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-51.1785185,68.8192701],\"properties\":{\"NAME\":\"Qasigiannguit\",\"NAMEASCII\":\"Qasigiannguit\",\"POP_MAX\":1341,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[18.0400252,1.6403766],\"properties\":{\"NAME\":\"Impfondo\",\"NAMEASCII\":\"Impfondo\",\"POP_MAX\":20859,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[14.5800297,1.6403766],\"properties\":{\"NAME\":\"Sembe\",\"NAMEASCII\":\"Sembe\",\"POP_MAX\":9679,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[15.2166833,2.0337376],\"properties\":{\"NAME\":\"Moloundou\",\"NAMEASCII\":\"Moloundou\",\"POP_MAX\":12244,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[19.9147428,39.615423],\"properties\":{\"NAME\":\"Kerkira\",\"NAMEASCII\":\"Kerkira\",\"POP_MAX\":38517,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[22.3793986,37.5091433],\"properties\":{\"NAME\":\"Tripoli\",\"NAMEASCII\":\"Tripoli\",\"POP_MAX\":28970,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[22.4296797,37.0737177],\"properties\":{\"NAME\":\"Sparti\",\"NAMEASCII\":\"Sparti\",\"POP_MAX\":16187,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[21.4077266,38.6217627],\"properties\":{\"NAME\":\"Agrinio\",\"NAMEASCII\":\"Agrinio\",\"POP_MAX\":75233,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[21.4499979,37.6837321],\"properties\":{\"NAME\":\"Pirgos\",\"NAMEASCII\":\"Pirgos\",\"POP_MAX\":22399,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[22.4200162,39.6304092],\"properties\":{\"NAME\":\"Larissa\",\"NAMEASCII\":\"Larissa\",\"POP_MAX\":128758,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[20.8508614,39.6679004],\"properties\":{\"NAME\":\"Ioanina\",\"NAMEASCII\":\"Ioanina\",\"POP_MAX\":86304,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[26.5546476,39.1104151],\"properties\":{\"NAME\":\"Mitilini\",\"NAMEASCII\":\"Mitilini\",\"POP_MAX\":29328,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[26.1358101,38.3681089],\"properties\":{\"NAME\":\"Hios\",\"NAMEASCII\":\"Hios\",\"POP_MAX\":26891,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[23.6123982,38.4639946],\"properties\":{\"NAME\":\"Chalkida\",\"NAMEASCII\":\"Chalkida\",\"POP_MAX\":71842,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[26.0985514,35.2004212],\"properties\":{\"NAME\":\"Sitia\",\"NAMEASCII\":\"Sitia\",\"POP_MAX\":8833,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[22.5024918,40.2723338],\"properties\":{\"NAME\":\"Katerini\",\"NAMEASCII\":\"Katerini\",\"POP_MAX\":53293,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[23.5497147,41.0859792],\"properties\":{\"NAME\":\"Seres\",\"NAMEASCII\":\"Seres\",\"POP_MAX\":55886,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[24.8835868,41.1417898],\"properties\":{\"NAME\":\"Xanthi\",\"NAMEASCII\":\"Xanthi\",\"POP_MAX\":50570,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[24.9332995,37.450413],\"properties\":{\"NAME\":\"Ermoupoli\",\"NAMEASCII\":\"Ermoupoli\",\"POP_MAX\":12260,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[27.2888147,36.8937287],\"properties\":{\"NAME\":\"Kos\",\"NAMEASCII\":\"Kos\",\"POP_MAX\":19244,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[28.2225044,36.441224],\"properties\":{\"NAME\":\"Rodos\",\"NAMEASCII\":\"Rodos\",\"POP_MAX\":56969,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[41.671606,42.1556555],\"properties\":{\"NAME\":\"Poti\",\"NAMEASCII\":\"Poti\",\"POP_MAX\":47149,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[45.0500044,41.5703683],\"properties\":{\"NAME\":\"Rustavi\",\"NAMEASCII\":\"Rustavi\",\"POP_MAX\":157063,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[42.6872029,37.1445402],\"properties\":{\"NAME\":\"Zakho\",\"NAMEASCII\":\"Zakho\",\"POP_MAX\":134863,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[42.4497497,36.3759825],\"properties\":{\"NAME\":\"Tall Afar\",\"NAMEASCII\":\"Tall Afar\",\"POP_MAX\":144465,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[43.6769616,34.5970471],\"properties\":{\"NAME\":\"Tikrit\",\"NAMEASCII\":\"Tikrit\",\"POP_MAX\":56591,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[34.9780789,32.8223573],\"properties\":{\"NAME\":\"Haifa\",\"NAMEASCII\":\"Haifa\",\"POP_MAX\":1011000,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[35.2955094,32.7039844],\"properties\":{\"NAME\":\"Nazareth\",\"NAMEASCII\":\"Nazareth\",\"POP_MAX\":151459,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[44.0244856,32.6149201],\"properties\":{\"NAME\":\"Karbala\",\"NAMEASCII\":\"Karbala\",\"POP_MAX\":510692,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[39.5300313,9.6803768],\"properties\":{\"NAME\":\"Debre Birhan\",\"NAMEASCII\":\"Debre Birhan\",\"POP_MAX\":65231,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[40.0165649,11.1837476],\"properties\":{\"NAME\":\"Bati\",\"NAMEASCII\":\"Bati\",\"POP_MAX\":19260,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.4699833,14.2804319],\"properties\":{\"NAME\":\"Adigrat\",\"NAMEASCII\":\"Adigrat\",\"POP_MAX\":104021,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[38.7200032,14.1304153],\"properties\":{\"NAME\":\"Aksum\",\"NAMEASCII\":\"Aksum\",\"POP_MAX\":47487,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[38.4099963,6.7504265],\"properties\":{\"NAME\":\"Yirga Alem\",\"NAMEASCII\":\"Yirga Alem\",\"POP_MAX\":36292,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[37.8500305,7.5503776],\"properties\":{\"NAME\":\"Hosaina\",\"NAMEASCII\":\"Hosaina\",\"POP_MAX\":89300,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[38.3100024,6.4104214],\"properties\":{\"NAME\":\"Dila\",\"NAMEASCII\":\"Dila\",\"POP_MAX\":47021,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[37.9700232,8.5304212],\"properties\":{\"NAME\":\"Giyon\",\"NAMEASCII\":\"Giyon\",\"POP_MAX\":114534,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[37.8500305,8.9803937],\"properties\":{\"NAME\":\"Hagere Hiywet\",\"NAMEASCII\":\"Hagere Hiywet\",\"POP_MAX\":43920,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[36.5300077,9.0904645],\"properties\":{\"NAME\":\"Nekemte\",\"NAMEASCII\":\"Nekemte\",\"POP_MAX\":73018,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.1399259,7.9504049],\"properties\":{\"NAME\":\"Asela\",\"NAMEASCII\":\"Asela\",\"POP_MAX\":82240,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[38.590037,7.200399],\"properties\":{\"NAME\":\"Shashemene\",\"NAMEASCII\":\"Shashemene\",\"POP_MAX\":114350,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[34.7999841,8.5337285],\"properties\":{\"NAME\":\"Dembi Dolo\",\"NAMEASCII\":\"Dembi Dolo\",\"POP_MAX\":27780,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[35.833306,9.1670231],\"properties\":{\"NAME\":\"Gimbi\",\"NAMEASCII\":\"Gimbi\",\"POP_MAX\":31809,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[34.5333337,10.066994],\"properties\":{\"NAME\":\"Asosa\",\"NAMEASCII\":\"Asosa\",\"POP_MAX\":30512,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[42.7899873,9.3504228],\"properties\":{\"NAME\":\"Jijiga\",\"NAMEASCII\":\"Jijiga\",\"POP_MAX\":56821,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[13.1000166,54.3004181],\"properties\":{\"NAME\":\"Stralsund\",\"NAMEASCII\":\"Stralsund\",\"POP_MAX\":61368,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[12.1499971,54.0703805],\"properties\":{\"NAME\":\"Rostock\",\"NAMEASCII\":\"Rostock\",\"POP_MAX\":203080,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[26.6000195,67.4170593],\"properties\":{\"NAME\":\"Sodankylä\",\"NAMEASCII\":\"Sodankyla\",\"POP_MAX\":8942,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[25.7499939,62.2603457],\"properties\":{\"NAME\":\"Jyväskylä\",\"NAMEASCII\":\"Jyvaskyla\",\"POP_MAX\":98136,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[27.6949397,62.8942863],\"properties\":{\"NAME\":\"Kuopio\",\"NAMEASCII\":\"Kuopio\",\"POP_MAX\":91900,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[28.1833337,61.0670593],\"properties\":{\"NAME\":\"Lappeenranta\",\"NAMEASCII\":\"Lappeenranta\",\"POP_MAX\":59276,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[25.6660197,60.4003559],\"properties\":{\"NAME\":\"Porvoo\",\"NAMEASCII\":\"Porvoo\",\"POP_MAX\":12242,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[57.4449068,49.4730642],\"properties\":{\"NAME\":\"Oktyabrsk\",\"NAMEASCII\":\"Oktyabrsk\",\"POP_MAX\":28196,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[57.334991,49.9031671],\"properties\":{\"NAME\":\"Algha\",\"NAMEASCII\":\"Algha\",\"POP_MAX\":28267,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[55.8739949,48.6916907],\"properties\":{\"NAME\":\"Bayghanin\",\"NAMEASCII\":\"Bayghanin\",\"POP_MAX\":7657,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[58.1441923,48.8267729],\"properties\":{\"NAME\":\"Embi\",\"NAMEASCII\":\"Embi\",\"POP_MAX\":18760,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[61.2399206,52.1929757],\"properties\":{\"NAME\":\"Zhetiqara\",\"NAMEASCII\":\"Zhetiqara\",\"POP_MAX\":46740,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[62.0502071,53.750555],\"properties\":{\"NAME\":\"Komsomolets\",\"NAMEASCII\":\"Komsomolets\",\"POP_MAX\":9838,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[62.5749296,52.6980095],\"properties\":{\"NAME\":\"Tobol\",\"NAMEASCII\":\"Tobol\",\"POP_MAX\":7155,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[64.5999739,52.4579983],\"properties\":{\"NAME\":\"Qusmuryn\",\"NAMEASCII\":\"Qusmuryn\",\"POP_MAX\":8049,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[66.7500236,44.1670056],\"properties\":{\"NAME\":\"Shieli\",\"NAMEASCII\":\"Shieli\",\"POP_MAX\":29832,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.5797867,47.6713654],\"properties\":{\"NAME\":\"Makhambet\",\"NAMEASCII\":\"Makhambet\",\"POP_MAX\":8905,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.1449296,50.1914958],\"properties\":{\"NAME\":\"Chapaev\",\"NAMEASCII\":\"Chapaev\",\"POP_MAX\":6000,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[46.8772314,49.4276406],\"properties\":{\"NAME\":\"Zhanibek\",\"NAMEASCII\":\"Zhanibek\",\"POP_MAX\":8212,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[53.0348917,51.171436],\"properties\":{\"NAME\":\"Aqsay\",\"NAMEASCII\":\"Aqsay\",\"POP_MAX\":34799,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[66.3774882,51.9569694],\"properties\":{\"NAME\":\"Esil\",\"NAMEASCII\":\"Esil\",\"POP_MAX\":13504,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[66.3074666,51.1020604],\"properties\":{\"NAME\":\"Derzhavinsk\",\"NAMEASCII\":\"Derzhavinsk\",\"POP_MAX\":15848,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[69.8327811,51.6324156],\"properties\":{\"NAME\":\"Zhaltyr\",\"NAMEASCII\":\"Zhaltyr\",\"POP_MAX\":694,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[70.4099552,52.6403644],\"properties\":{\"NAME\":\"Makinsk\",\"NAMEASCII\":\"Makinsk\",\"POP_MAX\":23020,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[71.9597314,52.4501951],\"properties\":{\"NAME\":\"Aqsu\",\"NAMEASCII\":\"Aqsu\",\"POP_MAX\":8543,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[71.7098759,51.7502379],\"properties\":{\"NAME\":\"Zholymbet\",\"NAMEASCII\":\"Zholymbet\",\"POP_MAX\":6876,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.1049328,51.6303227],\"properties\":{\"NAME\":\"Erymentau\",\"NAMEASCII\":\"Erymentau\",\"POP_MAX\":25141,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.6191133,46.119548],\"properties\":{\"NAME\":\"Saryshaghan\",\"NAMEASCII\":\"Saryshaghan\",\"POP_MAX\":4365,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[70.7999056,48.0252714],\"properties\":{\"NAME\":\"Qarazhal\",\"NAMEASCII\":\"Qarazhal\",\"POP_MAX\":22170,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[71.6499312,48.6903213],\"properties\":{\"NAME\":\"Atasu\",\"NAMEASCII\":\"Atasu\",\"POP_MAX\":19616,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[72.3414135,53.6367635],\"properties\":{\"NAME\":\"Kishkenekol\",\"NAMEASCII\":\"Kishkenekol\",\"POP_MAX\":6779,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[69.7637931,53.8481201],\"properties\":{\"NAME\":\"Tayynsha\",\"NAMEASCII\":\"Tayynsha\",\"POP_MAX\":13148,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[70.4399792,54.9053166],\"properties\":{\"NAME\":\"Bulaevo\",\"NAMEASCII\":\"Bulaevo\",\"POP_MAX\":9886,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[75.449906,53.3453085],\"properties\":{\"NAME\":\"Ertis\",\"NAMEASCII\":\"Ertis\",\"POP_MAX\":9216,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[76.0899703,53.0803634],\"properties\":{\"NAME\":\"Kachiry\",\"NAMEASCII\":\"Kachiry\",\"POP_MAX\":8931,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[84.8598225,47.4752275],\"properties\":{\"NAME\":\"Zaysan\",\"NAMEASCII\":\"Zaysan\",\"POP_MAX\":17600,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[84.2548466,49.7452698],\"properties\":{\"NAME\":\"Zyryanovsk\",\"NAMEASCII\":\"Zyryanovsk\",\"POP_MAX\":49658,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[83.5149434,50.3553876],\"properties\":{\"NAME\":\"Ridder\",\"NAMEASCII\":\"Ridder\",\"POP_MAX\":56756,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[81.0549385,49.6003174],\"properties\":{\"NAME\":\"Shar\",\"NAMEASCII\":\"Shar\",\"POP_MAX\":9087,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[81.6048274,47.1001858],\"properties\":{\"NAME\":\"Urzhar\",\"NAMEASCII\":\"Urzhar\",\"POP_MAX\":14826,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[79.9149047,45.42034],\"properties\":{\"NAME\":\"Sarqan\",\"NAMEASCII\":\"Sarqan\",\"POP_MAX\":76919,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[77.9699589,45.2653365],\"properties\":{\"NAME\":\"Ushtobe\",\"NAMEASCII\":\"Ushtobe\",\"POP_MAX\":20492,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[79.4702807,43.5420825],\"properties\":{\"NAME\":\"Shonzhy\",\"NAMEASCII\":\"Shonzhy\",\"POP_MAX\":3902,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[77.0687219,43.8843872],\"properties\":{\"NAME\":\"Qapshaghay\",\"NAMEASCII\":\"Qapshaghay\",\"POP_MAX\":42167,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[75.2138997,43.5345895],\"properties\":{\"NAME\":\"Otar\",\"NAMEASCII\":\"Otar\",\"POP_MAX\":11238,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.859718,32.0114944],\"properties\":{\"NAME\":\"Qomsheh\",\"NAMEASCII\":\"Qomsheh\",\"POP_MAX\":118301,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[51.5799934,33.9804181],\"properties\":{\"NAME\":\"Kashan\",\"NAMEASCII\":\"Kashan\",\"POP_MAX\":250000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[51.4699743,32.7004187],\"properties\":{\"NAME\":\"Khomeini Shahr\",\"NAMEASCII\":\"Khomeini Shahr\",\"POP_MAX\":437138,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[53.6714937,28.9718349],\"properties\":{\"NAME\":\"Fasa\",\"NAMEASCII\":\"Fasa\",\"POP_MAX\":124458,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[55.1714538,37.2518205],\"properties\":{\"NAME\":\"Gonbad-e Kavus\",\"NAMEASCII\":\"Gonbad-e Kavus\",\"POP_MAX\":159982,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[54.4800232,36.8303475],\"properties\":{\"NAME\":\"Gorgan\",\"NAMEASCII\":\"Gorgan\",\"POP_MAX\":281023,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[52.3633048,36.4713255],\"properties\":{\"NAME\":\"Amol\",\"NAMEASCII\":\"Amol\",\"POP_MAX\":221650,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[53.100004,36.5503904],\"properties\":{\"NAME\":\"Sari\",\"NAMEASCII\":\"Sari\",\"POP_MAX\":271467,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[53.3743025,35.5547923],\"properties\":{\"NAME\":\"Semnan\",\"NAMEASCII\":\"Semnan\",\"POP_MAX\":124826,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[50.968059,35.8023046],\"properties\":{\"NAME\":\"Karaj\",\"NAMEASCII\":\"Karaj\",\"POP_MAX\":1423000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[50.2614693,30.5818142],\"properties\":{\"NAME\":\"Behbehan\",\"NAMEASCII\":\"Behbehan\",\"POP_MAX\":85707,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.4700024,32.3803866],\"properties\":{\"NAME\":\"Dezful\",\"NAMEASCII\":\"Dezful\",\"POP_MAX\":315482,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.3500097,33.4804228],\"properties\":{\"NAME\":\"Khorramabad\",\"NAMEASCII\":\"Khorramabad\",\"POP_MAX\":375198,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[46.4300236,33.6304136],\"properties\":{\"NAME\":\"Ilam\",\"NAMEASCII\":\"Ilam\",\"POP_MAX\":152894,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[45.2802746,31.3098576],\"properties\":{\"NAME\":\"As Samawah\",\"NAMEASCII\":\"As Samawah\",\"POP_MAX\":174978,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[46.2675529,31.0429488],\"properties\":{\"NAME\":\"An Nasiriyah\",\"NAMEASCII\":\"An Nasiriyah\",\"POP_MAX\":451547,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[47.1511682,31.8416081],\"properties\":{\"NAME\":\"Al Amarah\",\"NAMEASCII\":\"Al Amarah\",\"POP_MAX\":345007,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[45.8303702,32.4907158],\"properties\":{\"NAME\":\"Al Kut\",\"NAMEASCII\":\"Al Kut\",\"POP_MAX\":321521,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[50.3314392,35.0218274],\"properties\":{\"NAME\":\"Saveh\",\"NAMEASCII\":\"Saveh\",\"POP_MAX\":175533,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[49.7000048,34.080412],\"properties\":{\"NAME\":\"Arak\",\"NAMEASCII\":\"Arak\",\"POP_MAX\":503647,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[50.2666369,44.5170618],\"properties\":{\"NAME\":\"Fort Shevchenko\",\"NAMEASCII\":\"Fort Shevchenko\",\"POP_MAX\":5213,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[52.8000223,43.3003919],\"properties\":{\"NAME\":\"Zhangaozen\",\"NAMEASCII\":\"Zhangaozen\",\"POP_MAX\":8895,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[45.7200411,36.770377],\"properties\":{\"NAME\":\"Mahabad\",\"NAMEASCII\":\"Mahabad\",\"POP_MAX\":162434,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[44.9700093,38.5303988],\"properties\":{\"NAME\":\"Khvoy\",\"NAMEASCII\":\"Khvoy\",\"POP_MAX\":202728,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[46.2200105,37.420389],\"properties\":{\"NAME\":\"Maragheh\",\"NAMEASCII\":\"Maragheh\",\"POP_MAX\":151385,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[45.5772074,34.5123753],\"properties\":{\"NAME\":\"Qasr-e Shirin\",\"NAMEASCII\":\"Qasr-e Shirin\",\"POP_MAX\":11202,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[47.5936735,35.8740751],\"properties\":{\"NAME\":\"Bijar\",\"NAMEASCII\":\"Bijar\",\"POP_MAX\":53871,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[45.4308597,35.5612777],\"properties\":{\"NAME\":\"As Sulaymaniyah\",\"NAMEASCII\":\"As Sulaymaniyah\",\"POP_MAX\":723170,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[44.6572635,33.7476416],\"properties\":{\"NAME\":\"Baqubah\",\"NAMEASCII\":\"Baqubah\",\"POP_MAX\":299479,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[60.8937919,33.5064935],\"properties\":{\"NAME\":\"Yazdan\",\"NAMEASCII\":\"Yazdan\",\"POP_MAX\":2000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[60.6128788,35.2233397],\"properties\":{\"NAME\":\"Torbat-e Jam\",\"NAMEASCII\":\"Torbat-e Jam\",\"POP_MAX\":104578,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[58.5014831,37.111829],\"properties\":{\"NAME\":\"Quchan\",\"NAMEASCII\":\"Quchan\",\"POP_MAX\":145531,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[60.629932,25.3004053],\"properties\":{\"NAME\":\"Chabahar\",\"NAMEASCII\":\"Chabahar\",\"POP_MAX\":65801,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[74.18234179634925,30.126337570600114],\"properties\":{\"NAME\":\"Abohar\",\"NAMEASCII\":\"Abohar\",\"POP_MAX\":130603,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.384991,30.320409],\"properties\":{\"NAME\":\"Patiala\",\"NAMEASCII\":\"Patiala\",\"POP_MAX\":329224,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.6350203,25.3504281],\"properties\":{\"NAME\":\"Bhilwara\",\"NAMEASCII\":\"Bhilwara\",\"POP_MAX\":389911,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.329932,25.7903754],\"properties\":{\"NAME\":\"Pali\",\"NAMEASCII\":\"Pali\",\"POP_MAX\":210103,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.7900402,26.1504568],\"properties\":{\"NAME\":\"Tonk\",\"NAMEASCII\":\"Tonk\",\"POP_MAX\":181734,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.1400024,27.6103935],\"properties\":{\"NAME\":\"Sikar\",\"NAMEASCII\":\"Sikar\",\"POP_MAX\":400000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.33224321624638,28.015083438515255],\"properties\":{\"NAME\":\"Bikaner\",\"NAMEASCII\":\"Bikaner\",\"POP_MAX\":576015,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.50741092611864,27.20937409378136],\"properties\":{\"NAME\":\"Bharatpur\",\"NAMEASCII\":\"Bharatpur\",\"POP_MAX\":229384,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.6049259,27.5453587],\"properties\":{\"NAME\":\"Alwar\",\"NAMEASCII\":\"Alwar\",\"POP_MAX\":283228,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[68.8048335,42.4368787],\"properties\":{\"NAME\":\"Arys\",\"NAMEASCII\":\"Arys\",\"POP_MAX\":42648,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[74.030251,44.9387415],\"properties\":{\"NAME\":\"Burylbaytal\",\"NAMEASCII\":\"Burylbaytal\",\"POP_MAX\":100,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.7448421,43.5952576],\"properties\":{\"NAME\":\"Shu\",\"NAMEASCII\":\"Shu\",\"POP_MAX\":42439,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[72.7049572,42.9203634],\"properties\":{\"NAME\":\"Qulan\",\"NAMEASCII\":\"Qulan\",\"POP_MAX\":13128,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.2548978,42.9152991],\"properties\":{\"NAME\":\"Oytal\",\"NAMEASCII\":\"Oytal\",\"POP_MAX\":22673,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[70.459978,43.185386],\"properties\":{\"NAME\":\"Qaratau\",\"NAMEASCII\":\"Qaratau\",\"POP_MAX\":37881,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[80.8000187,25.8803699],\"properties\":{\"NAME\":\"Fatehpur\",\"NAMEASCII\":\"Fatehpur\",\"POP_MAX\":166480,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[82.1700126,26.7503943],\"properties\":{\"NAME\":\"Faizabad\",\"NAMEASCII\":\"Faizabad\",\"POP_MAX\":153047,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.60611406683459,27.56742665546232],\"properties\":{\"NAME\":\"Bahraich\",\"NAMEASCII\":\"Bahraich\",\"POP_MAX\":182218,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[82.5699882,25.145376],\"properties\":{\"NAME\":\"Mirzapur\",\"NAMEASCII\":\"Mirzapur\",\"POP_MAX\":245817,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.5574682,25.4529541],\"properties\":{\"NAME\":\"Jhansi\",\"NAMEASCII\":\"Jhansi\",\"POP_MAX\":826494,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.9050345,27.880377],\"properties\":{\"NAME\":\"Shahjahanpur\",\"NAMEASCII\":\"Shahjahanpur\",\"POP_MAX\":320434,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.0249849,28.8153587],\"properties\":{\"NAME\":\"Rampur\",\"NAMEASCII\":\"Rampur\",\"POP_MAX\":296418,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.4180537,28.3473332],\"properties\":{\"NAME\":\"Bareilly\",\"NAMEASCII\":\"Bareilly\",\"POP_MAX\":817000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.0149597,26.7854568],\"properties\":{\"NAME\":\"Etawah\",\"NAMEASCII\":\"Etawah\",\"POP_MAX\":257448,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.0500057,30.320409],\"properties\":{\"NAME\":\"Dehra Dun\",\"NAMEASCII\":\"Dehra Dun\",\"POP_MAX\":714223,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.31851641697797,22.584697601843814],\"properties\":{\"NAME\":\"Haora\",\"NAMEASCII\":\"Haora\",\"POP_MAX\":4841638,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[89.566667,26.4837439],\"properties\":{\"NAME\":\"Alipur Duar\",\"NAMEASCII\":\"Alipur Duar\",\"POP_MAX\":127342,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.0583353,22.0256698],\"properties\":{\"NAME\":\"Haldia\",\"NAMEASCII\":\"Haldia\",\"POP_MAX\":200762,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.41362605099683,22.85282090770563],\"properties\":{\"NAME\":\"Bhatpara\",\"NAMEASCII\":\"Bhatpara\",\"POP_MAX\":483129,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[87.33387196534922,22.399723290749197],\"properties\":{\"NAME\":\"Medinipur\",\"NAMEASCII\":\"Medinipur\",\"POP_MAX\":169127,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.4550036,26.720422],\"properties\":{\"NAME\":\"Siliguri\",\"NAMEASCII\":\"Siliguri\",\"POP_MAX\":515574,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[87.4799727,25.7854144],\"properties\":{\"NAME\":\"Purnia\",\"NAMEASCII\":\"Purnia\",\"POP_MAX\":198453,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.3799458,26.1204328],\"properties\":{\"NAME\":\"Muzaffarpur\",\"NAMEASCII\":\"Muzaffarpur\",\"POP_MAX\":333200,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[84.3800069,24.7704118],\"properties\":{\"NAME\":\"Aurangabad\",\"NAMEASCII\":\"Aurangabad\",\"POP_MAX\":95929,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[82.1599873,22.0904203],\"properties\":{\"NAME\":\"Bilaspur\",\"NAMEASCII\":\"Bilaspur\",\"POP_MAX\":543454,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.17240563336235,21.284520155461166],\"properties\":{\"NAME\":\"Burhanpur\",\"NAMEASCII\":\"Burhanpur\",\"POP_MAX\":197233,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.7900402,23.1904049],\"properties\":{\"NAME\":\"Ujjain\",\"NAMEASCII\":\"Ujjain\",\"POP_MAX\":513350,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.0299833,23.3503951],\"properties\":{\"NAME\":\"Ratlam\",\"NAMEASCII\":\"Ratlam\",\"POP_MAX\":307229,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.7500146,23.8503904],\"properties\":{\"NAME\":\"Sagar\",\"NAMEASCII\":\"Sagar\",\"POP_MAX\":328240,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.1500419,12.9203858],\"properties\":{\"NAME\":\"Vellore\",\"NAMEASCII\":\"Vellore\",\"POP_MAX\":177081,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.0999674,12.2603744],\"properties\":{\"NAME\":\"Tiruvannamalai\",\"NAMEASCII\":\"Tiruvannamalai\",\"POP_MAX\":138243,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.5800085,9.4203927],\"properties\":{\"NAME\":\"Rajapalaiyam\",\"NAMEASCII\":\"Rajapalaiyam\",\"POP_MAX\":369991,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.770004,11.7204073],\"properties\":{\"NAME\":\"Cuddalore\",\"NAMEASCII\":\"Cuddalore\",\"POP_MAX\":158569,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.083337,10.9503768],\"properties\":{\"NAME\":\"Karur\",\"NAMEASCII\":\"Karur\",\"POP_MAX\":76915,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.7166739,12.8337244],\"properties\":{\"NAME\":\"Kanchipuram\",\"NAMEASCII\":\"Kanchipuram\",\"POP_MAX\":155029,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.689976,8.730409],\"properties\":{\"NAME\":\"Tirunelveli\",\"NAMEASCII\":\"Tirunelveli\",\"POP_MAX\":542200,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.4299918,8.180365],\"properties\":{\"NAME\":\"Nagercoil\",\"NAMEASCII\":\"Nagercoil\",\"POP_MAX\":224329,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.1500419,10.7704136],\"properties\":{\"NAME\":\"Thanjavur\",\"NAMEASCII\":\"Thanjavur\",\"POP_MAX\":219571,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.38752768454357,10.951296280928258],\"properties\":{\"NAME\":\"Kumbakonam\",\"NAMEASCII\":\"Kumbakonam\",\"POP_MAX\":139264,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9699682,10.3204153],\"properties\":{\"NAME\":\"Valparai\",\"NAMEASCII\":\"Valparai\",\"POP_MAX\":114308,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.3299979,11.0804206],\"properties\":{\"NAME\":\"Tiruppur\",\"NAMEASCII\":\"Tiruppur\",\"POP_MAX\":650000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.850013,20.4170083],\"properties\":{\"NAME\":\"Daman\",\"NAMEASCII\":\"Daman\",\"POP_MAX\":39737,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.9200345,20.8503927],\"properties\":{\"NAME\":\"Navsari\",\"NAMEASCII\":\"Navsari\",\"POP_MAX\":163000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[69.67359109934806,23.23382675654731],\"properties\":{\"NAME\":\"Bhuj\",\"NAMEASCII\":\"Bhuj\",\"POP_MAX\":289429,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.1299536,21.7784239],\"properties\":{\"NAME\":\"Bhavnagar\",\"NAMEASCII\":\"Bhavnagar\",\"POP_MAX\":554978,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.64355575894791,23.218993822470544],\"properties\":{\"NAME\":\"Gandhinagar\",\"NAMEASCII\":\"Gandhinagar\",\"POP_MAX\":195891,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[93.6166007,27.1003988],\"properties\":{\"NAME\":\"Itanagar\",\"NAMEASCII\":\"Itanagar\",\"POP_MAX\":44971,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[92.7200146,23.710399],\"properties\":{\"NAME\":\"Aizawl\",\"NAMEASCII\":\"Aizawl\",\"POP_MAX\":283021,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[91.2799991,23.8354043],\"properties\":{\"NAME\":\"Agartala\",\"NAMEASCII\":\"Agartala\",\"POP_MAX\":203264,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[15.9199996,-0.4796232],\"properties\":{\"NAME\":\"Owando\",\"NAMEASCII\":\"Owando\",\"POP_MAX\":34070,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[15.6400166,-0.0095744],\"properties\":{\"NAME\":\"Makoua\",\"NAMEASCII\":\"Makoua\",\"POP_MAX\":11355,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[13.3500272,-3.6896081],\"properties\":{\"NAME\":\"Sibiti\",\"NAMEASCII\":\"Sibiti\",\"POP_MAX\":22811,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[12.7199882,-2.9396281],\"properties\":{\"NAME\":\"Mossendjo\",\"NAMEASCII\":\"Mossendjo\",\"POP_MAX\":30936,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[12.670017,-4.1796041],\"properties\":{\"NAME\":\"Loubomo\",\"NAMEASCII\":\"Loubomo\",\"POP_MAX\":103894,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[15.8500297,-1.8794861],\"properties\":{\"NAME\":\"Gamboma\",\"NAMEASCII\":\"Gamboma\",\"POP_MAX\":20877,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[14.7499934,-2.5396008],\"properties\":{\"NAME\":\"Djambala\",\"NAMEASCII\":\"Djambala\",\"POP_MAX\":9651,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[10.616654,55.0704228],\"properties\":{\"NAME\":\"Svendborg\",\"NAMEASCII\":\"Svendborg\",\"POP_MAX\":29180,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[10.3833349,55.4003768],\"properties\":{\"NAME\":\"Odense\",\"NAMEASCII\":\"Odense\",\"POP_MAX\":158222,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[8.4500162,55.4670394],\"properties\":{\"NAME\":\"Esbjerg\",\"NAMEASCII\":\"Esbjerg\",\"POP_MAX\":72205,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[10.5332999,57.4336894],\"properties\":{\"NAME\":\"Frederikshavn\",\"NAMEASCII\":\"Frederikshavn\",\"POP_MAX\":24103,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[9.9165934,57.0337138],\"properties\":{\"NAME\":\"Aalborg\",\"NAMEASCII\":\"Aalborg\",\"POP_MAX\":122219,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-5.2000291,9.6004075],\"properties\":{\"NAME\":\"Ferkessédougou\",\"NAMEASCII\":\"Ferkessedougou\",\"POP_MAX\":62008,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-9.0199768,9.270376],\"properties\":{\"NAME\":\"Kérouané\",\"NAMEASCII\":\"Kerouane\",\"POP_MAX\":15406,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-9.1666346,11.4170925],\"properties\":{\"NAME\":\"Siguiri\",\"NAMEASCII\":\"Siguiri\",\"POP_MAX\":50159,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-12.1000214,10.3803858],\"properties\":{\"NAME\":\"Mamou\",\"NAMEASCII\":\"Mamou\",\"POP_MAX\":71153,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-14.6050106,10.6854059],\"properties\":{\"NAME\":\"Kamsar\",\"NAMEASCII\":\"Kamsar\",\"POP_MAX\":34973,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-13.5499846,10.3803858],\"properties\":{\"NAME\":\"Fria\",\"NAMEASCII\":\"Fria\",\"POP_MAX\":23729,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-7.5800131,9.510413],\"properties\":{\"NAME\":\"Odienné\",\"NAMEASCII\":\"Odienne\",\"POP_MAX\":49857,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-9.4800004,8.5503683],\"properties\":{\"NAME\":\"Macenta\",\"NAMEASCII\":\"Macenta\",\"POP_MAX\":43102,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-9.2699874,7.5704281],\"properties\":{\"NAME\":\"Yomou\",\"NAMEASCII\":\"Yomou\",\"POP_MAX\":3614,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-10.7500004,10.0404065],\"properties\":{\"NAME\":\"Faranah\",\"NAMEASCII\":\"Faranah\",\"POP_MAX\":19469,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-10.1200131,9.1904584],\"properties\":{\"NAME\":\"Kissidougou\",\"NAMEASCII\":\"Kissidougou\",\"POP_MAX\":66815,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-7.5499891,7.4004126],\"properties\":{\"NAME\":\"Man\",\"NAMEASCII\":\"Man\",\"POP_MAX\":146974,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-6.6700169,7.9504049],\"properties\":{\"NAME\":\"Séguéla\",\"NAMEASCII\":\"Seguela\",\"POP_MAX\":51157,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-5.8799876,6.1504114],\"properties\":{\"NAME\":\"Gagnoa\",\"NAMEASCII\":\"Gagnoa\",\"POP_MAX\":123184,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-6.6100206,5.7904075],\"properties\":{\"NAME\":\"Soubré\",\"NAMEASCII\":\"Soubre\",\"POP_MAX\":108933,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-6.6399671,4.7704181],\"properties\":{\"NAME\":\"San-Pedro\",\"NAMEASCII\":\"San-Pedro\",\"POP_MAX\":210273,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-6.0832827,4.9503813],\"properties\":{\"NAME\":\"Sassandra\",\"NAMEASCII\":\"Sassandra\",\"POP_MAX\":38411,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-2.8000206,8.0304258],\"properties\":{\"NAME\":\"Bondoukou\",\"NAMEASCII\":\"Bondoukou\",\"POP_MAX\":58297,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-4.2800336,5.9403467],\"properties\":{\"NAME\":\"Agboville\",\"NAMEASCII\":\"Agboville\",\"POP_MAX\":81770,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-4.7100074,6.6504584],\"properties\":{\"NAME\":\"Dimbokro\",\"NAMEASCII\":\"Dimbokro\",\"POP_MAX\":67349,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-3.7499884,5.2003919],\"properties\":{\"NAME\":\"Grand Bassam\",\"NAMEASCII\":\"Grand Bassam\",\"POP_MAX\":73772,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-4.3899494,5.3203587],\"properties\":{\"NAME\":\"Dabou\",\"NAMEASCII\":\"Dabou\",\"POP_MAX\":72913,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-7.4899669,6.5504645],\"properties\":{\"NAME\":\"Guiglo\",\"NAMEASCII\":\"Guiglo\",\"POP_MAX\":39134,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-3.4900043,6.730376],\"properties\":{\"NAME\":\"Abengourou\",\"NAMEASCII\":\"Abengourou\",\"POP_MAX\":104020,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[40.2844555,33.0384601],\"properties\":{\"NAME\":\"Ar Rutbah\",\"NAMEASCII\":\"Ar Rutbah\",\"POP_MAX\":22370,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[43.7772656,33.347666],\"properties\":{\"NAME\":\"Al Fallujah\",\"NAMEASCII\":\"Al Fallujah\",\"POP_MAX\":231819,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[44.4217224,32.4721381],\"properties\":{\"NAME\":\"Al Hillah\",\"NAMEASCII\":\"Al Hillah\",\"POP_MAX\":594605,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[-61.5329989,16.241475],\"properties\":{\"NAME\":\"Pointe-à-Pitre\",\"NAMEASCII\":\"Pointe-a-Pitre\",\"POP_MAX\":145511,\"ISO_A2\":\"GP\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-61.7054837,16.0104101],\"properties\":{\"NAME\":\"Basse-terre\",\"NAMEASCII\":\"Basse-terre\",\"POP_MAX\":307,\"ISO_A2\":\"GP\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[55.7128161,-21.0335107],\"properties\":{\"NAME\":\"St.-Benoit\",\"NAMEASCII\":\"St.-Benoit\",\"POP_MAX\":35310,\"ISO_A2\":\"RE\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-60.6199797,-3.2895809],\"properties\":{\"NAME\":\"Manacapuru\",\"NAMEASCII\":\"Manacapuru\",\"POP_MAX\":59102,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.7200275,-3.3896264],\"properties\":{\"NAME\":\"Maués\",\"NAMEASCII\":\"Maues\",\"POP_MAX\":32561,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.670023,-4.5696061],\"properties\":{\"NAME\":\"Pedreiras\",\"NAMEASCII\":\"Pedreiras\",\"POP_MAX\":13638,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.8799679,-4.4795858],\"properties\":{\"NAME\":\"Codó\",\"NAMEASCII\":\"Codo\",\"POP_MAX\":83288,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.1500031,-4.1295813],\"properties\":{\"NAME\":\"Coroatá\",\"NAMEASCII\":\"Coroata\",\"POP_MAX\":34129,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.3599996,-3.7395276],\"properties\":{\"NAME\":\"Chapadinha\",\"NAMEASCII\":\"Chapadinha\",\"POP_MAX\":40804,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.0899974,-2.519602],\"properties\":{\"NAME\":\"Pinheiro\",\"NAMEASCII\":\"Pinheiro\",\"POP_MAX\":38893,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.2599612,-5.5096004],\"properties\":{\"NAME\":\"Barra do Corda\",\"NAMEASCII\":\"Barra do Corda\",\"POP_MAX\":48901,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.0000029,-3.2095858],\"properties\":{\"NAME\":\"Viana\",\"NAMEASCII\":\"Viana\",\"POP_MAX\":26689,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.2399976,-6.0395422],\"properties\":{\"NAME\":\"Colinas\",\"NAMEASCII\":\"Colinas\",\"POP_MAX\":25158,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.1400108,-1.1964787],\"properties\":{\"NAME\":\"Viseu\",\"NAMEASCII\":\"Viseu\",\"POP_MAX\":18958,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.0900045,-1.7496232],\"properties\":{\"NAME\":\"Capitão Poço\",\"NAMEASCII\":\"Capitao Poco\",\"POP_MAX\":32704,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.9300308,-1.2895996],\"properties\":{\"NAME\":\"Castanhal\",\"NAMEASCII\":\"Castanhal\",\"POP_MAX\":137406,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.3399893,-0.6094861],\"properties\":{\"NAME\":\"Salinópolis\",\"NAMEASCII\":\"Salinopolis\",\"POP_MAX\":40998,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.7899996,-1.9395858],\"properties\":{\"NAME\":\"Alenquer\",\"NAMEASCII\":\"Alenquer\",\"POP_MAX\":26290,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.8699854,-1.7595967],\"properties\":{\"NAME\":\"Oriximiná\",\"NAMEASCII\":\"Oriximina\",\"POP_MAX\":35581,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.9480471,-7.1006144],\"properties\":{\"NAME\":\"Xinguara\",\"NAMEASCII\":\"Xinguara\",\"POP_MAX\":4047,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.115693,-4.4394588],\"properties\":{\"NAME\":\"Jacundá\",\"NAMEASCII\":\"Jacunda\",\"POP_MAX\":51375,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.0299943,-3.8295996],\"properties\":{\"NAME\":\"Uruará\",\"NAMEASCII\":\"Uruara\",\"POP_MAX\":10,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.2100021,-3.1996122],\"properties\":{\"NAME\":\"Altamira\",\"NAMEASCII\":\"Altamira\",\"POP_MAX\":70888,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.4900059,-2.9595752],\"properties\":{\"NAME\":\"Paragominas\",\"NAMEASCII\":\"Paragominas\",\"POP_MAX\":69613,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.509986,-2.2396191],\"properties\":{\"NAME\":\"Cametá\",\"NAMEASCII\":\"Cameta\",\"POP_MAX\":45200,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-61.7806324,-11.7302026],\"properties\":{\"NAME\":\"Rolim de Moura\",\"NAMEASCII\":\"Rolim de Moura\",\"POP_MAX\":24516,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-63.0799846,-9.9396142],\"properties\":{\"NAME\":\"Ariquemes\",\"NAMEASCII\":\"Ariquemes\",\"POP_MAX\":58096,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-65.3597162,-9.6953914],\"properties\":{\"NAME\":\"Abunã\",\"NAMEASCII\":\"Abuna\",\"POP_MAX\":1929,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.4199844,-6.3195768],\"properties\":{\"NAME\":\"Tocantinópolis\",\"NAMEASCII\":\"Tocantinopolis\",\"POP_MAX\":8750,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0599876,-11.7196089],\"properties\":{\"NAME\":\"Gurupi\",\"NAMEASCII\":\"Gurupi\",\"POP_MAX\":64789,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.7900161,-20.4696175],\"properties\":{\"NAME\":\"Aquidauana\",\"NAMEASCII\":\"Aquidauana\",\"POP_MAX\":40803,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.200012,-19.6795882],\"properties\":{\"NAME\":\"Paranaíba\",\"NAMEASCII\":\"Paranaiba\",\"POP_MAX\":32217,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.249997,-19.4496281],\"properties\":{\"NAME\":\"Sete Lagoas\",\"NAMEASCII\":\"Sete Lagoas\",\"POP_MAX\":201334,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.8999832,-20.1495337],\"properties\":{\"NAME\":\"Divinópolis\",\"NAMEASCII\":\"Divinopolis\",\"POP_MAX\":193832,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.5199992,-19.4796004],\"properties\":{\"NAME\":\"Ipatinga\",\"NAMEASCII\":\"Ipatinga\",\"POP_MAX\":407894,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.9500131,-19.5795943],\"properties\":{\"NAME\":\"Araxá\",\"NAMEASCII\":\"Araxa\",\"POP_MAX\":82595,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.0099506,-21.2495699],\"properties\":{\"NAME\":\"Lavras\",\"NAMEASCII\":\"Lavras\",\"POP_MAX\":81472,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.9500247,-21.1196037],\"properties\":{\"NAME\":\"Ubá\",\"NAMEASCII\":\"Uba\",\"POP_MAX\":97828,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.2799858,-20.8895919],\"properties\":{\"NAME\":\"Campo Belo\",\"NAMEASCII\":\"Campo Belo\",\"POP_MAX\":47491,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.8999502,-20.4096212],\"properties\":{\"NAME\":\"Ponte Nova\",\"NAMEASCII\":\"Ponte Nova\",\"POP_MAX\":48187,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.429986,-18.7595927],\"properties\":{\"NAME\":\"Curvelo\",\"NAMEASCII\":\"Curvelo\",\"POP_MAX\":63954,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.8699921,-17.1995845],\"properties\":{\"NAME\":\"Paracatu\",\"NAMEASCII\":\"Paracatu\",\"POP_MAX\":70753,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.8100497,-17.1096159],\"properties\":{\"NAME\":\"Bocaiúva\",\"NAMEASCII\":\"Bocaiuva\",\"POP_MAX\":32114,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.0699492,-16.8596053],\"properties\":{\"NAME\":\"Araçuaí\",\"NAMEASCII\":\"Aracuai\",\"POP_MAX\":22005,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.3099768,-15.7996183],\"properties\":{\"NAME\":\"Janaúba\",\"NAMEASCII\":\"Janauba\",\"POP_MAX\":56572,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-58.76552308381893,-11.429763587670966],\"properties\":{\"NAME\":\"Juina\",\"NAMEASCII\":\"Juina\",\"POP_MAX\":980,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.259999,-15.8796134],\"properties\":{\"NAME\":\"Barra do Garças\",\"NAMEASCII\":\"Barra do Garcas\",\"POP_MAX\":52398,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-59.3499797,-15.219602],\"properties\":{\"NAME\":\"Pontes e Lacerda\",\"NAMEASCII\":\"Pontes e Lacerda\",\"POP_MAX\":29381,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.1900082,-15.0695853],\"properties\":{\"NAME\":\"Barra do Bugres\",\"NAMEASCII\":\"Barra do Bugres\",\"POP_MAX\":31311,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.639983,-16.4694999],\"properties\":{\"NAME\":\"Rondonópolis\",\"NAMEASCII\":\"Rondonopolis\",\"POP_MAX\":152912,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.0899884,-29.7696183],\"properties\":{\"NAME\":\"Uruguaiana\",\"NAMEASCII\":\"Uruguaiana\",\"POP_MAX\":123480,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.0099768,-28.6596085],\"properties\":{\"NAME\":\"São Borja\",\"NAMEASCII\":\"Sao Borja\",\"POP_MAX\":59613,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1399899,-29.709622],\"properties\":{\"NAME\":\"Novo Hamburgo\",\"NAMEASCII\":\"Novo Hamburgo\",\"POP_MAX\":876990,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.1200076,-32.0494791],\"properties\":{\"NAME\":\"Rio Grande\",\"NAMEASCII\":\"Rio Grande\",\"POP_MAX\":187838,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.8100007,-30.8396305],\"properties\":{\"NAME\":\"Camaquã\",\"NAMEASCII\":\"Camaqua\",\"POP_MAX\":53169,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.5199667,-29.1694999],\"properties\":{\"NAME\":\"Bento Gonçalves\",\"NAMEASCII\":\"Bento Goncalves\",\"POP_MAX\":94271,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.9400021,-28.4996183],\"properties\":{\"NAME\":\"Vacaria\",\"NAMEASCII\":\"Vacaria\",\"POP_MAX\":56765,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.9199494,-28.3895475],\"properties\":{\"NAME\":\"Ijuí\",\"NAMEASCII\":\"Ijui\",\"POP_MAX\":71202,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.4599681,-27.8695276],\"properties\":{\"NAME\":\"Santa Rosa\",\"NAMEASCII\":\"Santa Rosa\",\"POP_MAX\":59281,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.9299675,-23.4095414],\"properties\":{\"NAME\":\"Maringá\",\"NAMEASCII\":\"Maringa\",\"POP_MAX\":328335,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.4600291,-24.959576],\"properties\":{\"NAME\":\"Cascavel\",\"NAMEASCII\":\"Cascavel\",\"POP_MAX\":257172,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.4199893,-24.0496057],\"properties\":{\"NAME\":\"Campo Murao\",\"NAMEASCII\":\"Campo Murao\",\"POP_MAX\":75401,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.5299897,-25.5234692],\"properties\":{\"NAME\":\"Foz do Iguaçu\",\"NAMEASCII\":\"Foz do Iguacu\",\"POP_MAX\":440455,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.5999899,-26.2396012],\"properties\":{\"NAME\":\"São Francisco do Sul\",\"NAMEASCII\":\"Sao Francisco do Sul\",\"POP_MAX\":36224,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.0799677,-26.2396012],\"properties\":{\"NAME\":\"Porto União\",\"NAMEASCII\":\"Porto Uniao\",\"POP_MAX\":71578,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.6800108,-26.8996126],\"properties\":{\"NAME\":\"Itajaí\",\"NAMEASCII\":\"Itajai\",\"POP_MAX\":327126,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.660012,-28.2296089],\"properties\":{\"NAME\":\"Imbituba\",\"NAMEASCII\":\"Imbituba\",\"POP_MAX\":43450,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.3099889,-27.8095829],\"properties\":{\"NAME\":\"Lajes\",\"NAMEASCII\":\"Lajes\",\"POP_MAX\":164676,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.8399984,-3.1195137],\"properties\":{\"NAME\":\"Granja\",\"NAMEASCII\":\"Granja\",\"POP_MAX\":25879,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.4200076,-7.2295988],\"properties\":{\"NAME\":\"Crato\",\"NAMEASCII\":\"Crato\",\"POP_MAX\":273883,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.5800236,-3.4995422],\"properties\":{\"NAME\":\"Itapipoca\",\"NAMEASCII\":\"Itapipoca\",\"POP_MAX\":55784,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0400308,-3.3995483],\"properties\":{\"NAME\":\"Paracuru\",\"NAMEASCII\":\"Paracuru\",\"POP_MAX\":21196,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.1199907,-2.8896053],\"properties\":{\"NAME\":\"Acaraú\",\"NAMEASCII\":\"Acarau\",\"POP_MAX\":28389,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.3100308,-5.999493],\"properties\":{\"NAME\":\"Tauá\",\"NAMEASCII\":\"Taua\",\"POP_MAX\":29188,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.6660039,-5.1655904],\"properties\":{\"NAME\":\"Crateús\",\"NAMEASCII\":\"Crateus\",\"POP_MAX\":52933,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.8799889,-4.3295691],\"properties\":{\"NAME\":\"Baturité\",\"NAMEASCII\":\"Baturite\",\"POP_MAX\":22417,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.7200574,-4.3195955],\"properties\":{\"NAME\":\"Ipú\",\"NAMEASCII\":\"Ipu\",\"POP_MAX\":26678,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.0299681,-6.7695752],\"properties\":{\"NAME\":\"Floriano\",\"NAMEASCII\":\"Floriano\",\"POP_MAX\":48587,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.7899921,-4.2695727],\"properties\":{\"NAME\":\"Piripiri\",\"NAMEASCII\":\"Piripiri\",\"POP_MAX\":44864,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.5800259,-10.2696199],\"properties\":{\"NAME\":\"Penedo\",\"NAMEASCII\":\"Penedo\",\"POP_MAX\":42097,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.2800161,-14.7896024],\"properties\":{\"NAME\":\"Itabuna\",\"NAMEASCII\":\"Itabuna\",\"POP_MAX\":221938,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.5299492,-17.0395943],\"properties\":{\"NAME\":\"Itamaraju\",\"NAMEASCII\":\"Itamaraju\",\"POP_MAX\":47628,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.7899827,-14.2295849],\"properties\":{\"NAME\":\"Guanambi\",\"NAMEASCII\":\"Guanambi\",\"POP_MAX\":58877,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0800283,-16.4296057],\"properties\":{\"NAME\":\"Porto Seguro\",\"NAMEASCII\":\"Porto Seguro\",\"POP_MAX\":123173,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0800283,-13.3596122],\"properties\":{\"NAME\":\"Valença\",\"NAMEASCII\":\"Valenca\",\"POP_MAX\":63231,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0100068,-11.6495874],\"properties\":{\"NAME\":\"Serrinha\",\"NAMEASCII\":\"Serrinha\",\"POP_MAX\":56829,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.7899943,-10.9696289],\"properties\":{\"NAME\":\"Tucano\",\"NAMEASCII\":\"Tucano\",\"POP_MAX\":31203,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.1900122,-10.4496089],\"properties\":{\"NAME\":\"Senhor do Bonfim\",\"NAMEASCII\":\"Senhor do Bonfim\",\"POP_MAX\":48471,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.1099984,-9.5995833],\"properties\":{\"NAME\":\"Remanso\",\"NAMEASCII\":\"Remanso\",\"POP_MAX\":37945,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.6299854,-15.2396008],\"properties\":{\"NAME\":\"Itambé\",\"NAMEASCII\":\"Itambe\",\"POP_MAX\":23558,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.4400206,-13.2495414],\"properties\":{\"NAME\":\"Bom Jesus da Lapa\",\"NAMEASCII\":\"Bom Jesus da Lapa\",\"POP_MAX\":40691,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.2999797,-12.5196118],\"properties\":{\"NAME\":\"Itaberaba\",\"NAMEASCII\":\"Itaberaba\",\"POP_MAX\":47301,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.8599807,-18.7296203],\"properties\":{\"NAME\":\"São Mateus\",\"NAMEASCII\":\"Sao Mateus\",\"POP_MAX\":77117,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.2900084,-7.0195858],\"properties\":{\"NAME\":\"Patos\",\"NAMEASCII\":\"Patos\",\"POP_MAX\":92575,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.0949677,-22.5195699],\"properties\":{\"NAME\":\"Volta Redonda\",\"NAMEASCII\":\"Volta Redonda\",\"POP_MAX\":456362,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.1999836,-22.509493],\"properties\":{\"NAME\":\"Petrópolis\",\"NAMEASCII\":\"Petropolis\",\"POP_MAX\":286071,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.4399921,-6.4695935],\"properties\":{\"NAME\":\"Nova Cruz\",\"NAMEASCII\":\"Nova Cruz\",\"POP_MAX\":23166,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.10002,-6.4596199],\"properties\":{\"NAME\":\"Caicó\",\"NAMEASCII\":\"Caico\",\"POP_MAX\":54934,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.9100574,-5.579622],\"properties\":{\"NAME\":\"Açu\",\"NAMEASCII\":\"Acu\",\"POP_MAX\":36125,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.4500245,-11.2696106],\"properties\":{\"NAME\":\"Estância\",\"NAMEASCII\":\"Estancia\",\"POP_MAX\":55654,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-96.6833081,49.5170925],\"properties\":{\"NAME\":\"Steinbach\",\"NAMEASCII\":\"Steinbach\",\"POP_MAX\":9729,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-98.8500234,55.8004557],\"properties\":{\"NAME\":\"Nelson House\",\"NAMEASCII\":\"Nelson House\",\"POP_MAX\":2500,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-92.0832789,55.8503752],\"properties\":{\"NAME\":\"Shamattawa\",\"NAMEASCII\":\"Shamattawa\",\"POP_MAX\":870,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-95.2665988,54.9504043],\"properties\":{\"NAME\":\"Oxford House\",\"NAMEASCII\":\"Oxford House\",\"POP_MAX\":184,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-102.4665469,51.2170663],\"properties\":{\"NAME\":\"Yorkton\",\"NAMEASCII\":\"Yorkton\",\"POP_MAX\":15172,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-107.766611,50.2837382],\"properties\":{\"NAME\":\"Swift Current\",\"NAMEASCII\":\"Swift Current\",\"POP_MAX\":14906,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-107.9832902,52.0504004],\"properties\":{\"NAME\":\"Biggar\",\"NAMEASCII\":\"Biggar\",\"POP_MAX\":2192,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-109.1332976,51.4669735],\"properties\":{\"NAME\":\"Kindersley\",\"NAMEASCII\":\"Kindersley\",\"POP_MAX\":4383,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-108.4347356,54.1301184],\"properties\":{\"NAME\":\"Meadow Lake\",\"NAMEASCII\":\"Meadow Lake\",\"POP_MAX\":5882,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-102.3832961,52.8504291],\"properties\":{\"NAME\":\"Hudson Bay\",\"NAMEASCII\":\"Hudson Bay\",\"POP_MAX\":2157,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-112.8332784,49.7004922],\"properties\":{\"NAME\":\"Lethbridge\",\"NAMEASCII\":\"Lethbridge\",\"POP_MAX\":70617,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-111.9000021,50.5670543],\"properties\":{\"NAME\":\"Brooks\",\"NAMEASCII\":\"Brooks\",\"POP_MAX\":14163,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-116.1832807,51.4336939],\"properties\":{\"NAME\":\"Lake Louise\",\"NAMEASCII\":\"Lake Louise\",\"POP_MAX\":1248,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-113.2665853,54.7170335],\"properties\":{\"NAME\":\"Athabasca\",\"NAMEASCII\":\"Athabasca\",\"POP_MAX\":2539,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-111.1499962,58.7170994],\"properties\":{\"NAME\":\"Fort Chipewyan\",\"NAMEASCII\":\"Fort Chipewyan\",\"POP_MAX\":3222,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-128.1172809,52.1484048],\"properties\":{\"NAME\":\"Bella Bella\",\"NAMEASCII\":\"Bella Bella\",\"POP_MAX\":1400,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-131.8332815,53.2404053],\"properties\":{\"NAME\":\"Sandspit\",\"NAMEASCII\":\"Sandspit\",\"POP_MAX\":538,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-125.2499882,50.0170878],\"properties\":{\"NAME\":\"Campbell River\",\"NAMEASCII\":\"Campbell River\",\"POP_MAX\":33430,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-127.4999801,50.7170709],\"properties\":{\"NAME\":\"Port Hardy\",\"NAMEASCII\":\"Port Hardy\",\"POP_MAX\":2295,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-123.9342911,49.1460202],\"properties\":{\"NAME\":\"Nanaimo\",\"NAMEASCII\":\"Nanaimo\",\"POP_MAX\":84905,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-122.4832837,52.9836768],\"properties\":{\"NAME\":\"Quesnel\",\"NAMEASCII\":\"Quesnel\",\"POP_MAX\":13788,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-122.2999874,49.0503768],\"properties\":{\"NAME\":\"Abbotsford\",\"NAMEASCII\":\"Abbotsford\",\"POP_MAX\":151683,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-120.233266,55.7669694],\"properties\":{\"NAME\":\"Dawson Creek\",\"NAMEASCII\":\"Dawson Creek\",\"POP_MAX\":10802,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-119.5832799,49.5003752],\"properties\":{\"NAME\":\"Penticton\",\"NAMEASCII\":\"Penticton\",\"POP_MAX\":37721,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-117.2832911,49.4836579],\"properties\":{\"NAME\":\"Nelson\",\"NAMEASCII\":\"Nelson\",\"POP_MAX\":11779,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-121.9332656,50.6837138],\"properties\":{\"NAME\":\"Lillooet\",\"NAMEASCII\":\"Lillooet\",\"POP_MAX\":2893,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-124.5499793,49.883711],\"properties\":{\"NAME\":\"Powell River\",\"NAMEASCII\":\"Powell River\",\"POP_MAX\":12779,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-118.1833395,51.0004645],\"properties\":{\"NAME\":\"Revelstoke\",\"NAMEASCII\":\"Revelstoke\",\"POP_MAX\":7668,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-125.7665975,54.2170123],\"properties\":{\"NAME\":\"Burns Lake\",\"NAMEASCII\":\"Burns Lake\",\"POP_MAX\":2635,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-130.033288,58.4503457],\"properties\":{\"NAME\":\"Dease Lake\",\"NAMEASCII\":\"Dease Lake\",\"POP_MAX\":303,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-83.1765874,64.1537702],\"properties\":{\"NAME\":\"Coral Harbour\",\"NAMEASCII\":\"Coral Harbour\",\"POP_MAX\":834,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-96.0166563,64.3169902],\"properties\":{\"NAME\":\"Baker Lake\",\"NAMEASCII\":\"Baker Lake\",\"POP_MAX\":1584,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-126.8499681,65.283727],\"properties\":{\"NAME\":\"Norman Wells\",\"NAMEASCII\":\"Norman Wells\",\"POP_MAX\":1027,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-134.8949809,67.4915251],\"properties\":{\"NAME\":\"Fort McPherson\",\"NAMEASCII\":\"Fort McPherson\",\"POP_MAX\":1069,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-139.0000017,61.3503754],\"properties\":{\"NAME\":\"Burwash Landing\",\"NAMEASCII\":\"Burwash Landing\",\"POP_MAX\":73,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-61.1276748,1.8162315],\"properties\":{\"NAME\":\"Caracaraí\",\"NAMEASCII\":\"Caracarai\",\"POP_MAX\":11368,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1799874,-0.0395984],\"properties\":{\"NAME\":\"Porto Santana\",\"NAMEASCII\":\"Porto Santana\",\"POP_MAX\":83927,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-80.0833395,43.9170726],\"properties\":{\"NAME\":\"Orangeville\",\"NAMEASCII\":\"Orangeville\",\"POP_MAX\":32640,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.9333299,45.967025],\"properties\":{\"NAME\":\"Little Current\",\"NAMEASCII\":\"Little Current\",\"POP_MAX\":1595,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-83.4000104,47.8337069],\"properties\":{\"NAME\":\"Chapleau\",\"NAMEASCII\":\"Chapleau\",\"POP_MAX\":2663,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-84.7833368,48.0004151],\"properties\":{\"NAME\":\"Wawa\",\"NAMEASCII\":\"Wawa\",\"POP_MAX\":2174,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-83.6665833,49.7004922],\"properties\":{\"NAME\":\"Hearst\",\"NAMEASCII\":\"Hearst\",\"POP_MAX\":5043,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-86.366651,48.7503951],\"properties\":{\"NAME\":\"Marathon\",\"NAMEASCII\":\"Marathon\",\"POP_MAX\":4627,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-91.9166482,50.2629643],\"properties\":{\"NAME\":\"Sioux Lookout\",\"NAMEASCII\":\"Sioux Lookout\",\"POP_MAX\":4570,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-93.8333012,51.0336924],\"properties\":{\"NAME\":\"Red Lake\",\"NAMEASCII\":\"Red Lake\",\"POP_MAX\":1765,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.0665945,52.6170325],\"properties\":{\"NAME\":\"Deer Lake\",\"NAMEASCII\":\"Deer Lake\",\"POP_MAX\":3743,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-91.7999886,51.7170357],\"properties\":{\"NAME\":\"Cat Lake\",\"NAMEASCII\":\"Cat Lake\",\"POP_MAX\":277,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-74.7333301,45.0170571],\"properties\":{\"NAME\":\"Cornwall\",\"NAMEASCII\":\"Cornwall\",\"POP_MAX\":48821,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-76.4833008,44.2337199],\"properties\":{\"NAME\":\"Kingston\",\"NAMEASCII\":\"Kingston\",\"POP_MAX\":114195,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.7000037,44.3837624],\"properties\":{\"NAME\":\"Barrie\",\"NAMEASCII\":\"Barrie\",\"POP_MAX\":182041,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.0330066,45.3337044],\"properties\":{\"NAME\":\"Parry Sound\",\"NAMEASCII\":\"Parry Sound\",\"POP_MAX\":7105,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.1333012,44.7336894],\"properties\":{\"NAME\":\"Wiarton\",\"NAMEASCII\":\"Wiarton\",\"POP_MAX\":2182,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.6833122,47.3837085],\"properties\":{\"NAME\":\"Cobalt\",\"NAMEASCII\":\"Cobalt\",\"POP_MAX\":1372,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.0165642,49.0670166],\"properties\":{\"NAME\":\"Cochrane\",\"NAMEASCII\":\"Cochrane\",\"POP_MAX\":4441,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-88.2499728,49.0170455],\"properties\":{\"NAME\":\"Nipigon\",\"NAMEASCII\":\"Nipigon\",\"POP_MAX\":1204,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-91.616589,48.7503951],\"properties\":{\"NAME\":\"Atikokan\",\"NAMEASCII\":\"Atikokan\",\"POP_MAX\":3625,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-68.5166812,48.4337478],\"properties\":{\"NAME\":\"Rimouski\",\"NAMEASCII\":\"Rimouski\",\"POP_MAX\":35584,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-70.6666533,46.117145],\"properties\":{\"NAME\":\"Saint-Georges\",\"NAMEASCII\":\"Saint-Georges\",\"POP_MAX\":26149,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-71.9666773,46.0504049],\"properties\":{\"NAME\":\"Victoriaville\",\"NAMEASCII\":\"Victoriaville\",\"POP_MAX\":41500,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-59.609783,50.4813231],\"properties\":{\"NAME\":\"Chevery\",\"NAMEASCII\":\"Chevery\",\"POP_MAX\":284,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-73.8665872,50.4170634],\"properties\":{\"NAME\":\"Mistassini\",\"NAMEASCII\":\"Mistassini\",\"POP_MAX\":2645,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-69.9990971,60.0248232],\"properties\":{\"NAME\":\"Kangirsuk\",\"NAMEASCII\":\"Kangirsuk\",\"POP_MAX\":549,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-72.733323,46.5503744],\"properties\":{\"NAME\":\"Shawinigan\",\"NAMEASCII\":\"Shawinigan\",\"POP_MAX\":49161,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.6332823,49.7503858],\"properties\":{\"NAME\":\"Matagami\",\"NAMEASCII\":\"Matagami\",\"POP_MAX\":1966,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-75.5000275,46.5503744],\"properties\":{\"NAME\":\"Mont-Laurier\",\"NAMEASCII\":\"Mont-Laurier\",\"POP_MAX\":11642,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.1166472,45.8502621],\"properties\":{\"NAME\":\"Pembroke\",\"NAMEASCII\":\"Pembroke\",\"POP_MAX\":15551,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.616565,53.7836279],\"properties\":{\"NAME\":\"Radisson\",\"NAMEASCII\":\"Radisson\",\"POP_MAX\":270,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.0766751,45.2670418],\"properties\":{\"NAME\":\"Saint John\",\"NAMEASCII\":\"Saint John\",\"POP_MAX\":87857,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-68.3332815,47.3794194],\"properties\":{\"NAME\":\"Edmundston\",\"NAMEASCII\":\"Edmundston\",\"POP_MAX\":17894,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-65.3193569,43.7656089],\"properties\":{\"NAME\":\"Shelburne\",\"NAMEASCII\":\"Shelburne\",\"POP_MAX\":3167,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-61.9981901,45.6269165],\"properties\":{\"NAME\":\"Antigonish\",\"NAMEASCII\":\"Antigonish\",\"POP_MAX\":6739,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.1291195,44.9805994],\"properties\":{\"NAME\":\"Windsor\",\"NAMEASCII\":\"Windsor\",\"POP_MAX\":3864,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-65.7604928,44.6225851],\"properties\":{\"NAME\":\"Digby\",\"NAMEASCII\":\"Digby\",\"POP_MAX\":3949,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-58.566565,48.5504073],\"properties\":{\"NAME\":\"Stephenville\",\"NAMEASCII\":\"Stephenville\",\"POP_MAX\":7054,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-53.9899968,47.3004319],\"properties\":{\"NAME\":\"Argentia\",\"NAMEASCII\":\"Argentia\",\"POP_MAX\":1063,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-55.5999502,51.3837486],\"properties\":{\"NAME\":\"St. Anthony\",\"NAMEASCII\":\"St. Anthony\",\"POP_MAX\":224,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-59.1500436,47.5670048],\"properties\":{\"NAME\":\"Channel-Port aux Basques\",\"NAMEASCII\":\"Channel-Port aux Basques\",\"POP_MAX\":4220,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-56.8665912,48.8170319],\"properties\":{\"NAME\":\"Buchans\",\"NAMEASCII\":\"Buchans\",\"POP_MAX\":685,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-58.1166441,49.4836579],\"properties\":{\"NAME\":\"Trout River\",\"NAMEASCII\":\"Trout River\",\"POP_MAX\":452,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-63.980679,53.5264085],\"properties\":{\"NAME\":\"Churchill Falls\",\"NAMEASCII\":\"Churchill Falls\",\"POP_MAX\":100,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-56.949997,51.4503854],\"properties\":{\"NAME\":\"Forteau\",\"NAMEASCII\":\"Forteau\",\"POP_MAX\":448,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[10.1799882,5.1703937],\"properties\":{\"NAME\":\"Bafang\",\"NAMEASCII\":\"Bafang\",\"POP_MAX\":93145,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.8999959,5.7303854],\"properties\":{\"NAME\":\"Foumban\",\"NAMEASCII\":\"Foumban\",\"POP_MAX\":92673,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.4099483,5.4904258],\"properties\":{\"NAME\":\"Bafoussam\",\"NAMEASCII\":\"Bafoussam\",\"POP_MAX\":290768,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[9.4399816,4.6403744],\"properties\":{\"NAME\":\"Kumba\",\"NAMEASCII\":\"Kumba\",\"POP_MAX\":144413,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[8.983317,5.7503583],\"properties\":{\"NAME\":\"Eyumojok\",\"NAMEASCII\":\"Eyumojok\",\"POP_MAX\":5798,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[9.1900227,4.0303858],\"properties\":{\"NAME\":\"Limbe\",\"NAMEASCII\":\"Limbe\",\"POP_MAX\":212474,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[16.0666056,3.5336977],\"properties\":{\"NAME\":\"Nola\",\"NAMEASCII\":\"Nola\",\"POP_MAX\":26809,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[9.9100305,2.9404265],\"properties\":{\"NAME\":\"Kribi\",\"NAMEASCII\":\"Kribi\",\"POP_MAX\":55224,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[19.0833207,5.7337702],\"properties\":{\"NAME\":\"Sibut\",\"NAMEASCII\":\"Sibut\",\"POP_MAX\":34267,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[17.4499837,6.4837244],\"properties\":{\"NAME\":\"Bossangoa\",\"NAMEASCII\":\"Bossangoa\",\"POP_MAX\":63064,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[22.7833016,10.2836992],\"properties\":{\"NAME\":\"Birao\",\"NAMEASCII\":\"Birao\",\"POP_MAX\":10178,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[20.330118,43.8897357],\"properties\":{\"NAME\":\"Čačak\",\"NAMEASCII\":\"Cacak\",\"POP_MAX\":170000,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[21.8999963,43.3304159],\"properties\":{\"NAME\":\"Niš\",\"NAMEASCII\":\"Nis\",\"POP_MAX\":250000,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[22.4000175,8.0670903],\"properties\":{\"NAME\":\"Ouadda\",\"NAMEASCII\":\"Ouadda\",\"POP_MAX\":5434,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[22.8166329,4.7337537],\"properties\":{\"NAME\":\"Bangassou\",\"NAMEASCII\":\"Bangassou\",\"POP_MAX\":32841,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[19.8499406,45.2503762],\"properties\":{\"NAME\":\"Novi Sad\",\"NAMEASCII\":\"Novi Sad\",\"POP_MAX\":225457,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[21.6399605,-21.6996199],\"properties\":{\"NAME\":\"Ghanzi\",\"NAMEASCII\":\"Ghanzi\",\"POP_MAX\":6306,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[-72.5929555,-48.4668778],\"properties\":{\"NAME\":\"Villa O'Higgins\",\"NAMEASCII\":\"Villa O'Higgins\",\"POP_MAX\":250,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-69.1399506,-30.2155859],\"properties\":{\"NAME\":\"Rodeo\",\"NAMEASCII\":\"Rodeo\",\"POP_MAX\":701,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.28317987818585,-43.72388054357429],\"properties\":{\"NAME\":\"Las Plumas\",\"NAMEASCII\":\"Las Plumas\",\"POP_MAX\":605,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.2333041,-42.282963],\"properties\":{\"NAME\":\"Gastre\",\"NAMEASCII\":\"Gastre\",\"POP_MAX\":557,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.9500068,-42.3995967],\"properties\":{\"NAME\":\"Telsen\",\"NAMEASCII\":\"Telsen\",\"POP_MAX\":500,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.5833086,-35.4661181],\"properties\":{\"NAME\":\"Malargüe\",\"NAMEASCII\":\"Malargue\",\"POP_MAX\":11847,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.0166765,-33.5661824],\"properties\":{\"NAME\":\"Tunuyán\",\"NAMEASCII\":\"Tunuyan\",\"POP_MAX\":22834,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.549996,-33.4661369],\"properties\":{\"NAME\":\"La Paz\",\"NAMEASCII\":\"La Paz\",\"POP_MAX\":4400,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.2665743,-37.382952],\"properties\":{\"NAME\":\"Chos Malal\",\"NAMEASCII\":\"Chos Malal\",\"POP_MAX\":8556,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.3665941,-38.5162679],\"properties\":{\"NAME\":\"Las Lajas\",\"NAMEASCII\":\"Las Lajas\",\"POP_MAX\":1218,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.1800114,-18.1895499],\"properties\":{\"NAME\":\"Aiquile\",\"NAMEASCII\":\"Aiquile\",\"POP_MAX\":8224,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.3099612,-19.2996114],\"properties\":{\"NAME\":\"Padilla\",\"NAMEASCII\":\"Padilla\",\"POP_MAX\":2920,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.2099838,-20.6395813],\"properties\":{\"NAME\":\"Camargo\",\"NAMEASCII\":\"Camargo\",\"POP_MAX\":4715,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-67.370007,-14.3095801],\"properties\":{\"NAME\":\"Reyes\",\"NAMEASCII\":\"Reyes\",\"POP_MAX\":7376,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.8499612,-14.8196264],\"properties\":{\"NAME\":\"San Borja\",\"NAMEASCII\":\"San Borja\",\"POP_MAX\":19640,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.0527676,-13.2600834],\"properties\":{\"NAME\":\"Magdalena\",\"NAMEASCII\":\"Magdalena\",\"POP_MAX\":3445,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.7099884,-13.2895906],\"properties\":{\"NAME\":\"San Ramón\",\"NAMEASCII\":\"San Ramon\",\"POP_MAX\":6490,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-50.9299768,-17.8195984],\"properties\":{\"NAME\":\"Rio Verde\",\"NAMEASCII\":\"Rio Verde\",\"POP_MAX\":48318,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.2799836,-17.2995268],\"properties\":{\"NAME\":\"Pires do Rio\",\"NAMEASCII\":\"Pires do Rio\",\"POP_MAX\":24822,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.9599679,-16.3195866],\"properties\":{\"NAME\":\"Anápolis\",\"NAMEASCII\":\"Anapolis\",\"POP_MAX\":319587,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.1300092,-15.3096224],\"properties\":{\"NAME\":\"Goianésia\",\"NAMEASCII\":\"Goianesia\",\"POP_MAX\":47883,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.4700236,-14.469622],\"properties\":{\"NAME\":\"Niquelândia\",\"NAMEASCII\":\"Niquelandia\",\"POP_MAX\":27541,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.2100043,-18.3996146],\"properties\":{\"NAME\":\"Itumbiara\",\"NAMEASCII\":\"Itumbiara\",\"POP_MAX\":79582,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.7500043,-17.8795947],\"properties\":{\"NAME\":\"Jataí\",\"NAMEASCII\":\"Jatai\",\"POP_MAX\":76547,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.5599807,-17.5695361],\"properties\":{\"NAME\":\"Mineiros\",\"NAMEASCII\":\"Mineiros\",\"POP_MAX\":38951,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.3399893,-15.5394791],\"properties\":{\"NAME\":\"Formosa\",\"NAMEASCII\":\"Formosa\",\"POP_MAX\":81232,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-59.0400245,-34.0895613],\"properties\":{\"NAME\":\"Zárate\",\"NAMEASCII\":\"Zarate\",\"POP_MAX\":88781,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.7333132,-37.1828609],\"properties\":{\"NAME\":\"Carhué\",\"NAMEASCII\":\"Carhue\",\"POP_MAX\":7190,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-63.1665943,-37.6995735],\"properties\":{\"NAME\":\"Darregueira\",\"NAMEASCII\":\"Darregueira\",\"POP_MAX\":3412,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.8000297,-37.6655188],\"properties\":{\"NAME\":\"Benito Juárez\",\"NAMEASCII\":\"Juarez\",\"POP_MAX\":10609,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-56.6766028,-36.7162227],\"properties\":{\"NAME\":\"Mar de Ajó\",\"NAMEASCII\":\"Mar de Ajo\",\"POP_MAX\":13610,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.0946723,-35.184895],\"properties\":{\"NAME\":\"Lobos\",\"NAMEASCII\":\"Lobos\",\"POP_MAX\":18278,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.0166244,-35.5662154],\"properties\":{\"NAME\":\"Chascomús\",\"NAMEASCII\":\"Chascomus\",\"POP_MAX\":21054,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.9588737,-34.5845699],\"properties\":{\"NAME\":\"Junín\",\"NAMEASCII\":\"Junin\",\"POP_MAX\":85007,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-57.95443598989702,-34.9233210985585],\"properties\":{\"NAME\":\"La Plata\",\"NAMEASCII\":\"La Plata\",\"POP_MAX\":694253,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.5699827,-33.8995988],\"properties\":{\"NAME\":\"Pergamino\",\"NAMEASCII\":\"Pergamino\",\"POP_MAX\":87652,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.11045422563519,-34.569909861977045],\"properties\":{\"NAME\":\"Luján\",\"NAMEASCII\":\"Lujan\",\"POP_MAX\":81749,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.8699996,-36.7796297],\"properties\":{\"NAME\":\"Azul\",\"NAMEASCII\":\"Azul\",\"POP_MAX\":53941,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.62430936499161,-39.921105210718316],\"properties\":{\"NAME\":\"Villalonga\",\"NAMEASCII\":\"Villalonga\",\"POP_MAX\":2838,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.4500208,-36.2162532],\"properties\":{\"NAME\":\"Victorica\",\"NAMEASCII\":\"Victorica\",\"POP_MAX\":4458,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-63.77002,-35.6595947],\"properties\":{\"NAME\":\"General Pico\",\"NAMEASCII\":\"General Pico\",\"POP_MAX\":57029,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.9332823,-40.7328768],\"properties\":{\"NAME\":\"San Antonio Oeste\",\"NAMEASCII\":\"San Antonio Oeste\",\"POP_MAX\":8492,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.7999807,-40.5828601],\"properties\":{\"NAME\":\"Sierra Colorado\",\"NAMEASCII\":\"Sierra Colorado\",\"POP_MAX\":1522,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.4699679,-33.6895858],\"properties\":{\"NAME\":\"Mercedes\",\"NAMEASCII\":\"Mercedes\",\"POP_MAX\":49345,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.1200245,-32.1796004],\"properties\":{\"NAME\":\"Río Tercero\",\"NAMEASCII\":\"Rio Tercero\",\"POP_MAX\":53389,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.0332833,-27.6495927],\"properties\":{\"NAME\":\"Belen\",\"NAMEASCII\":\"Belen\",\"POP_MAX\":11359,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.166592,-22.4329085],\"properties\":{\"NAME\":\"Rinconada\",\"NAMEASCII\":\"Rinconada\",\"POP_MAX\":6692,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.8700045,-24.2196212],\"properties\":{\"NAME\":\"San Pedro\",\"NAMEASCII\":\"San Pedro\",\"POP_MAX\":58430,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.7899836,-23.8195422],\"properties\":{\"NAME\":\"Libertador General San Martín\",\"NAMEASCII\":\"Libertador General San Martin\",\"POP_MAX\":49267,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.499999,-29.1655208],\"properties\":{\"NAME\":\"Chilecito\",\"NAMEASCII\":\"Chilecito\",\"POP_MAX\":20343,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.3166604,-30.3495829],\"properties\":{\"NAME\":\"Chamical\",\"NAMEASCII\":\"Chamical\",\"POP_MAX\":8989,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.6000397,-23.5996073],\"properties\":{\"NAME\":\"Los Blancos\",\"NAMEASCII\":\"Los Blancos\",\"POP_MAX\":1145,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.9666042,-26.0829183],\"properties\":{\"NAME\":\"Cafayate\",\"NAMEASCII\":\"Cafayate\",\"POP_MAX\":11785,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.4833004,-24.8996313],\"properties\":{\"NAME\":\"Cerrillos\",\"NAMEASCII\":\"Cerrillos\",\"POP_MAX\":11498,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.3500175,-24.1829309],\"properties\":{\"NAME\":\"San Antonio de los Cobres\",\"NAMEASCII\":\"San Antonio de los Cobres\",\"POP_MAX\":4000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.8333071,-28.466132],\"properties\":{\"NAME\":\"Añatuya\",\"NAMEASCII\":\"Anatuya\",\"POP_MAX\":14133,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.1499874,-28.6495833],\"properties\":{\"NAME\":\"Frias\",\"NAMEASCII\":\"Frias\",\"POP_MAX\":13594,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.8665868,-25.7996281],\"properties\":{\"NAME\":\"Monte Quemado\",\"NAMEASCII\":\"Monte Quemado\",\"POP_MAX\":11387,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.6166466,-25.9495414],\"properties\":{\"NAME\":\"Juan José Castelli\",\"NAMEASCII\":\"Juan Jose Castelli\",\"POP_MAX\":9421,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.199996,-27.2162858],\"properties\":{\"NAME\":\"Charata\",\"NAMEASCII\":\"Charata\",\"POP_MAX\":18297,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.6000068,-24.6995919],\"properties\":{\"NAME\":\"Las Lomitas\",\"NAMEASCII\":\"Las Lomitas\",\"POP_MAX\":7683,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.0799797,-29.1795768],\"properties\":{\"NAME\":\"Mercedes\",\"NAMEASCII\":\"Mercedes\",\"POP_MAX\":30649,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.0299827,-31.3895711],\"properties\":{\"NAME\":\"Concordia\",\"NAMEASCII\":\"Concordia\",\"POP_MAX\":145210,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.5666144,-30.9329065],\"properties\":{\"NAME\":\"Sunchales\",\"NAMEASCII\":\"Sunchales\",\"POP_MAX\":12655,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.5832894,-30.7828898],\"properties\":{\"NAME\":\"San Justo\",\"NAMEASCII\":\"San Justo\",\"POP_MAX\":9607,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.2165935,-29.4661743],\"properties\":{\"NAME\":\"Vera\",\"NAMEASCII\":\"Vera\",\"POP_MAX\":9979,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.6500131,-29.1395276],\"properties\":{\"NAME\":\"Reconquista\",\"NAMEASCII\":\"Reconquista\",\"POP_MAX\":90184,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-61.9700007,-33.7495821],\"properties\":{\"NAME\":\"Venado Tuerto\",\"NAMEASCII\":\"Venado Tuerto\",\"POP_MAX\":72340,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-49.3899675,-20.7996232],\"properties\":{\"NAME\":\"São José do Rio Preto\",\"NAMEASCII\":\"Sao Jose do Rio Preto\",\"POP_MAX\":374699,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.40165165116371,-22.56537941724602],\"properties\":{\"NAME\":\"Limeira\",\"NAMEASCII\":\"Limeira\",\"POP_MAX\":289665,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.5599945,-23.0195394],\"properties\":{\"NAME\":\"Taubaté\",\"NAMEASCII\":\"Taubate\",\"POP_MAX\":403560,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.5700175,-22.2896098],\"properties\":{\"NAME\":\"Jaú\",\"NAMEASCII\":\"Jau\",\"POP_MAX\":119206,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.4199821,-22.659613],\"properties\":{\"NAME\":\"Assis\",\"NAMEASCII\":\"Assis\",\"POP_MAX\":87471,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.8800245,-23.9795841],\"properties\":{\"NAME\":\"Itapeva\",\"NAMEASCII\":\"Itapeva\",\"POP_MAX\":62957,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.449999,-22.8795996],\"properties\":{\"NAME\":\"Botucatu\",\"NAMEASCII\":\"Botucatu\",\"POP_MAX\":113862,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.2200037,-21.4595829],\"properties\":{\"NAME\":\"Novo Horizonte\",\"NAMEASCII\":\"Novo Horizonte\",\"POP_MAX\":30158,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.3799494,-20.9095906],\"properties\":{\"NAME\":\"Andradina\",\"NAMEASCII\":\"Andradina\",\"POP_MAX\":52406,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.2600436,-20.2696297],\"properties\":{\"NAME\":\"Fernandópolis\",\"NAMEASCII\":\"Fernandopolis\",\"POP_MAX\":61931,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.2000068,-8.8296045],\"properties\":{\"NAME\":\"Barreiros\",\"NAMEASCII\":\"Barreiros\",\"POP_MAX\":35565,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.1300253,-8.0596256],\"properties\":{\"NAME\":\"Salgueiro\",\"NAMEASCII\":\"Salgueiro\",\"POP_MAX\":42152,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-34.9999931,-7.5596045],\"properties\":{\"NAME\":\"Goiana\",\"NAMEASCII\":\"Goiana\",\"POP_MAX\":71549,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.3200253,-7.4996081],\"properties\":{\"NAME\":\"Timbaúba\",\"NAMEASCII\":\"Timbauba\",\"POP_MAX\":57534,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-88.1883745,17.498711],\"properties\":{\"NAME\":\"Belize City\",\"NAMEASCII\":\"Belize City\",\"POP_MAX\":63028,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[-88.5599797,18.0904319],\"properties\":{\"NAME\":\"Orange Walk\",\"NAMEASCII\":\"Orange Walk\",\"POP_MAX\":20835,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[-88.8100161,16.1003467],\"properties\":{\"NAME\":\"Punta Gorda\",\"NAMEASCII\":\"Punta Gorda\",\"POP_MAX\":7748,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[17.6500232,5.2670028],\"properties\":{\"NAME\":\"Bossembélé\",\"NAMEASCII\":\"Bossembele\",\"POP_MAX\":7287,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[9.9400028,4.9604065],\"properties\":{\"NAME\":\"Nkongsamba\",\"NAMEASCII\":\"Nkongsamba\",\"POP_MAX\":117063,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.1199918,3.8004773],\"properties\":{\"NAME\":\"Edéa\",\"NAMEASCII\":\"Edea\",\"POP_MAX\":203149,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.0700207,6.400422],\"properties\":{\"NAME\":\"Wum\",\"NAMEASCII\":\"Wum\",\"POP_MAX\":68836,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.6800093,6.2203813],\"properties\":{\"NAME\":\"Kumbo\",\"NAMEASCII\":\"Kumbo\",\"POP_MAX\":125486,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[11.2300016,4.7503935],\"properties\":{\"NAME\":\"Bafia\",\"NAMEASCII\":\"Bafia\",\"POP_MAX\":69270,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[11.5000109,3.5203911],\"properties\":{\"NAME\":\"Mbalmayo\",\"NAMEASCII\":\"Mbalmayo\",\"POP_MAX\":80206,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[10.766619,3.650409],\"properties\":{\"NAME\":\"Eséka\",\"NAMEASCII\":\"Eseka\",\"POP_MAX\":22221,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.6799812,4.5804297],\"properties\":{\"NAME\":\"Bertoua\",\"NAMEASCII\":\"Bertoua\",\"POP_MAX\":218111,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.183319,3.9836961],\"properties\":{\"NAME\":\"Abong Mbang\",\"NAMEASCII\":\"Abong Mbang\",\"POP_MAX\":14661,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[14.366606,4.4336945],\"properties\":{\"NAME\":\"Batouri\",\"NAMEASCII\":\"Batouri\",\"POP_MAX\":43821,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.3000044,4.9336898],\"properties\":{\"NAME\":\"Bélabo\",\"NAMEASCII\":\"Belabo\",\"POP_MAX\":22553,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[14.2899698,6.5204922],\"properties\":{\"NAME\":\"Meiganga\",\"NAMEASCII\":\"Meiganga\",\"POP_MAX\":80100,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.5799873,7.3203658],\"properties\":{\"NAME\":\"Ngaoundéré\",\"NAMEASCII\":\"Ngaoundere\",\"POP_MAX\":231357,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[12.6333268,6.4669812],\"properties\":{\"NAME\":\"Tibati\",\"NAMEASCII\":\"Tibati\",\"POP_MAX\":35589,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[12.2332995,7.9670189],\"properties\":{\"NAME\":\"Kontcha\",\"NAMEASCII\":\"Kontcha\",\"POP_MAX\":8018,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.940017,9.9303874],\"properties\":{\"NAME\":\"Guider\",\"NAMEASCII\":\"Guider\",\"POP_MAX\":84647,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.6000378,7.8504368],\"properties\":{\"NAME\":\"Mbe\",\"NAMEASCII\":\"Mbe\",\"POP_MAX\":3950,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[19.448208,41.3177997],\"properties\":{\"NAME\":\"Durrës\",\"NAMEASCII\":\"Durres\",\"POP_MAX\":142432,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[19.5188496,42.0684516],\"properties\":{\"NAME\":\"Shkodër\",\"NAMEASCII\":\"Shkoder\",\"POP_MAX\":155767,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[3.2300248,51.2203736],\"properties\":{\"NAME\":\"Brugge\",\"NAMEASCII\":\"Brugge\",\"POP_MAX\":146469,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[4.870028,50.4703935],\"properties\":{\"NAME\":\"Namur\",\"NAMEASCII\":\"Namur\",\"POP_MAX\":106284,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[4.450002,50.4203965],\"properties\":{\"NAME\":\"Charleroi\",\"NAMEASCII\":\"Charleroi\",\"POP_MAX\":345367,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[48.9202592,39.9323029],\"properties\":{\"NAME\":\"Şirvan\",\"NAMEASCII\":\"Shirvan\",\"POP_MAX\":70684,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[47.7405896,40.6534217],\"properties\":{\"NAME\":\"Goycay\",\"NAMEASCII\":\"Goycay\",\"POP_MAX\":35348,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[48.8510644,38.7540027],\"properties\":{\"NAME\":\"Lankaran\",\"NAMEASCII\":\"Lankaran\",\"POP_MAX\":60180,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[47.1705468,41.1923293],\"properties\":{\"NAME\":\"Saki\",\"NAMEASCII\":\"Saki\",\"POP_MAX\":64968,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[46.7519677,39.8156433],\"properties\":{\"NAME\":\"Stepanakert\",\"NAMEASCII\":\"Stepanakert\",\"POP_MAX\":57473,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[46.4149857,39.2015206],\"properties\":{\"NAME\":\"Kapan\",\"NAMEASCII\":\"Kapan\",\"POP_MAX\":42288,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[66.8997302,36.7501199],\"properties\":{\"NAME\":\"Balkh\",\"NAMEASCII\":\"Balkh\",\"POP_MAX\":179969,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[64.7700927,35.9302216],\"properties\":{\"NAME\":\"Meymaneh\",\"NAMEASCII\":\"Meymaneh\",\"POP_MAX\":199795,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[65.1014937,36.9316592],\"properties\":{\"NAME\":\"Andkhvoy\",\"NAMEASCII\":\"Andkhvoy\",\"POP_MAX\":71730,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[66.8867594,32.1122634],\"properties\":{\"NAME\":\"Qalat\",\"NAMEASCII\":\"Qalat\",\"POP_MAX\":12191,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.4178287,33.5633118],\"properties\":{\"NAME\":\"Ghazni\",\"NAMEASCII\":\"Ghazni\",\"POP_MAX\":141000,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[70.5792472,37.1297608],\"properties\":{\"NAME\":\"Feyzabad\",\"NAMEASCII\":\"Feyzabad\",\"POP_MAX\":64704,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.8725297,36.7279507],\"properties\":{\"NAME\":\"Kondoz\",\"NAMEASCII\":\"Kondoz\",\"POP_MAX\":259809,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[70.4361035,34.4415269],\"properties\":{\"NAME\":\"Jalalabad\",\"NAMEASCII\":\"Jalalabad\",\"POP_MAX\":597971,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[69.1679121,35.0182617],\"properties\":{\"NAME\":\"Charikar\",\"NAMEASCII\":\"Charikar\",\"POP_MAX\":53676,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[102.9833158,13.5837561],\"properties\":{\"NAME\":\"Sisophon\",\"NAMEASCII\":\"Sisophon\",\"POP_MAX\":50302,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[102.9849329,11.617539],\"properties\":{\"NAME\":\"Krong Koh Kong\",\"NAMEASCII\":\"Krong Koh Kong\",\"POP_MAX\":33134,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[103.9166955,12.533691],\"properties\":{\"NAME\":\"Pursat\",\"NAMEASCII\":\"Pursat\",\"POP_MAX\":52476,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[105.4500386,12.0004419],\"properties\":{\"NAME\":\"Kampong Cham\",\"NAMEASCII\":\"Kampong Cham\",\"POP_MAX\":83233,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[104.6666239,12.2504783],\"properties\":{\"NAME\":\"Kompong Chhnang\",\"NAMEASCII\":\"Kompong Chhnang\",\"POP_MAX\":75244,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[104.1833459,10.6170897],\"properties\":{\"NAME\":\"Kampot\",\"NAMEASCII\":\"Kampot\",\"POP_MAX\":50105,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[104.7833093,10.9837598],\"properties\":{\"NAME\":\"Takéo\",\"NAMEASCII\":\"Takeo\",\"POP_MAX\":15264,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[90.3800024,24.750413],\"properties\":{\"NAME\":\"Mymensingh\",\"NAMEASCII\":\"Mymensingh\",\"POP_MAX\":330126,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[89.9500028,24.9004297],\"properties\":{\"NAME\":\"Jamalpur\",\"NAMEASCII\":\"Jamalpur\",\"POP_MAX\":167900,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[90.4999951,23.6204045],\"properties\":{\"NAME\":\"Narayanganj\",\"NAMEASCII\":\"Narayanganj\",\"POP_MAX\":223622,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[20.7400154,-8.4196037],\"properties\":{\"NAME\":\"Lucapa\",\"NAMEASCII\":\"Lucapa\",\"POP_MAX\":31041,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[18.4300272,-9.4195943],\"properties\":{\"NAME\":\"Capenda-Camulemba\",\"NAMEASCII\":\"Capenda-Camulemba\",\"POP_MAX\":80000,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[20.3900109,-9.6595797],\"properties\":{\"NAME\":\"Saurimo\",\"NAMEASCII\":\"Saurimo\",\"POP_MAX\":41316,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[21.31998,-10.5996256],\"properties\":{\"NAME\":\"Muconda\",\"NAMEASCII\":\"Muconda\",\"POP_MAX\":2324,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[19.2600024,-10.1496273],\"properties\":{\"NAME\":\"Cacolo\",\"NAMEASCII\":\"Cacolo\",\"POP_MAX\":984,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.6599825,-8.5795422],\"properties\":{\"NAME\":\"Caxito\",\"NAMEASCII\":\"Caxito\",\"POP_MAX\":28224,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[15.3700073,-8.1895919],\"properties\":{\"NAME\":\"Camabatela\",\"NAMEASCII\":\"Camabatela\",\"POP_MAX\":12837,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.9099837,-9.2995499],\"properties\":{\"NAME\":\"Ndalatando\",\"NAMEASCII\":\"Ndalatando\",\"POP_MAX\":8144,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.9799536,-10.7295919],\"properties\":{\"NAME\":\"Quibala\",\"NAMEASCII\":\"Quibala\",\"POP_MAX\":8915,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.9000101,-9.9996106],\"properties\":{\"NAME\":\"Calulo\",\"NAMEASCII\":\"Calulo\",\"POP_MAX\":795,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[15.1199967,-11.3595276],\"properties\":{\"NAME\":\"Waku Kungo\",\"NAMEASCII\":\"Waku Kungo\",\"POP_MAX\":12069,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.8499873,-7.3495915],\"properties\":{\"NAME\":\"Songo\",\"NAMEASCII\":\"Songo\",\"POP_MAX\":10579,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.2399987,-6.2696057],\"properties\":{\"NAME\":\"Mbanza-Congo\",\"NAMEASCII\":\"Mbanza-Congo\",\"POP_MAX\":60182,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[12.8600313,-7.2295988],\"properties\":{\"NAME\":\"Nzeto\",\"NAMEASCII\":\"Nzeto\",\"POP_MAX\":21059,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[12.3699837,-6.1296142],\"properties\":{\"NAME\":\"Soyo\",\"NAMEASCII\":\"Soyo\",\"POP_MAX\":67491,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[12.1899947,-5.5596232],\"properties\":{\"NAME\":\"Cabinda\",\"NAMEASCII\":\"Cabinda\",\"POP_MAX\":91791,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[16.1999825,-11.3195817],\"properties\":{\"NAME\":\"Calucinga\",\"NAMEASCII\":\"Calucinga\",\"POP_MAX\":531,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[17.4699825,-12.0195906],\"properties\":{\"NAME\":\"Camacupa\",\"NAMEASCII\":\"Camacupa\",\"POP_MAX\":19828,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.2399987,-13.0395801],\"properties\":{\"NAME\":\"Cubal\",\"NAMEASCII\":\"Cubal\",\"POP_MAX\":4837,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[20.3600386,-15.7895414],\"properties\":{\"NAME\":\"Mavinga\",\"NAMEASCII\":\"Mavinga\",\"POP_MAX\":30000,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[19.1699821,-15.1596057],\"properties\":{\"NAME\":\"Cuito Caunavale\",\"NAMEASCII\":\"Cuito Caunavale\",\"POP_MAX\":149,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[22.9999808,-17.3695483],\"properties\":{\"NAME\":\"Luiana\",\"NAMEASCII\":\"Luiana\",\"POP_MAX\":150,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[15.730037,-17.0696183],\"properties\":{\"NAME\":\"Ondjiva\",\"NAMEASCII\":\"Ondjiva\",\"POP_MAX\":10169,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.9200183,-17.3196289],\"properties\":{\"NAME\":\"Chitado\",\"NAMEASCII\":\"Chitado\",\"POP_MAX\":500,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.0800085,-15.7495955],\"properties\":{\"NAME\":\"Chibemba\",\"NAMEASCII\":\"Chibemba\",\"POP_MAX\":1502,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.6900065,-15.1896297],\"properties\":{\"NAME\":\"Chibia\",\"NAMEASCII\":\"Chibia\",\"POP_MAX\":1411,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.5500057,-14.8295483],\"properties\":{\"NAME\":\"Quipungo\",\"NAMEASCII\":\"Quipungo\",\"POP_MAX\":186,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[22.230002,-10.7095414],\"properties\":{\"NAME\":\"Luau\",\"NAMEASCII\":\"Luau\",\"POP_MAX\":18465,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[19.8600175,-13.6995915],\"properties\":{\"NAME\":\"Cangamba\",\"NAMEASCII\":\"Cangamba\",\"POP_MAX\":1307,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[21.4400244,-14.0996187],\"properties\":{\"NAME\":\"Lumbala Nguimbo\",\"NAMEASCII\":\"Lumbala Nguimbo\",\"POP_MAX\":25,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[22.9000386,-11.8895727],\"properties\":{\"NAME\":\"Cazombo\",\"NAMEASCII\":\"Cazombo\",\"POP_MAX\":298,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[-68.6665686,-12.499613],\"properties\":{\"NAME\":\"Puerto Heath\",\"NAMEASCII\":\"Puerto Heath\",\"POP_MAX\":10,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-69.4665973,-17.5996118],\"properties\":{\"NAME\":\"Charaña\",\"NAMEASCII\":\"Charana\",\"POP_MAX\":197,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-69.1666673,-15.4995849],\"properties\":{\"NAME\":\"Puerto Acosta\",\"NAMEASCII\":\"Puerto Acosta\",\"POP_MAX\":1123,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.4199945,-14.7195809],\"properties\":{\"NAME\":\"Apolo\",\"NAMEASCII\":\"Apolo\",\"POP_MAX\":4189,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-67.7200114,-16.1896203],\"properties\":{\"NAME\":\"Coroico\",\"NAMEASCII\":\"Coroico\",\"POP_MAX\":2361,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.4499669,-17.1696122],\"properties\":{\"NAME\":\"Coro Coro\",\"NAMEASCII\":\"Coro Coro\",\"POP_MAX\":1884,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.3832784,-19.0162695],\"properties\":{\"NAME\":\"Sabaya\",\"NAMEASCII\":\"Sabaya\",\"POP_MAX\":573,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.7799913,-18.8995841],\"properties\":{\"NAME\":\"Challapata\",\"NAMEASCII\":\"Challapata\",\"POP_MAX\":9114,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.2500308,-19.8496037],\"properties\":{\"NAME\":\"Llica\",\"NAMEASCII\":\"Llica\",\"POP_MAX\":553,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.7500283,-19.5695691],\"properties\":{\"NAME\":\"Potosí\",\"NAMEASCII\":\"Potosi\",\"POP_MAX\":179901,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.5999858,-22.0795967],\"properties\":{\"NAME\":\"Villazón\",\"NAMEASCII\":\"Villazon\",\"POP_MAX\":37215,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-65.7200043,-21.4395841],\"properties\":{\"NAME\":\"Tupiza\",\"NAMEASCII\":\"Tupiza\",\"POP_MAX\":28766,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.2600253,-17.3496012],\"properties\":{\"NAME\":\"Montero\",\"NAMEASCII\":\"Montero\",\"POP_MAX\":88616,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-61.8666219,-13.6829516],\"properties\":{\"NAME\":\"Piso Firme\",\"NAMEASCII\":\"Piso Firme\",\"POP_MAX\":72,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-59.7599805,-18.3295414],\"properties\":{\"NAME\":\"Roboré\",\"NAMEASCII\":\"Robore\",\"POP_MAX\":10036,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-57.7700245,-17.7796008],\"properties\":{\"NAME\":\"Puerto Quijarro\",\"NAMEASCII\":\"Puerto Quijarro\",\"POP_MAX\":10392,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-60.9600106,-16.3696094],\"properties\":{\"NAME\":\"San Ignacio\",\"NAMEASCII\":\"San Ignacio\",\"POP_MAX\":25391,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.0799846,-15.6995727],\"properties\":{\"NAME\":\"Ascension\",\"NAMEASCII\":\"Ascension\",\"POP_MAX\":14429,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-62.50002,-16.2896142],\"properties\":{\"NAME\":\"San Javier\",\"NAMEASCII\":\"San Javier\",\"POP_MAX\":4210,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-60.6799502,-16.7795068],\"properties\":{\"NAME\":\"San Rafael\",\"NAMEASCII\":\"San Rafael\",\"POP_MAX\":1201,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.1099992,-18.4895833],\"properties\":{\"NAME\":\"Vallegrande\",\"NAMEASCII\":\"Vallegrande\",\"POP_MAX\":8422,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-57.8499679,-18.9495552],\"properties\":{\"NAME\":\"Puerto Suárez\",\"NAMEASCII\":\"Puerto Suarez\",\"POP_MAX\":22000,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.2199502,-19.7995809],\"properties\":{\"NAME\":\"Charagua\",\"NAMEASCII\":\"Charagua\",\"POP_MAX\":3025,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.5000106,-21.2495699],\"properties\":{\"NAME\":\"Villamontes\",\"NAMEASCII\":\"Villamontes\",\"POP_MAX\":18761,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.3499846,-22.7295829],\"properties\":{\"NAME\":\"Bermejo\",\"NAMEASCII\":\"Bermejo\",\"POP_MAX\":36544,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[0.2699987,29.2365216],\"properties\":{\"NAME\":\"Timimoun\",\"NAMEASCII\":\"Timimoun\",\"POP_MAX\":49237,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-0.6399716,35.1903443],\"properties\":{\"NAME\":\"Sidi bel Abbes\",\"NAMEASCII\":\"Sidi bel Abbes\",\"POP_MAX\":208604,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-1.3200076,34.8904142],\"properties\":{\"NAME\":\"Tlimcen\",\"NAMEASCII\":\"Tlimcen\",\"POP_MAX\":229777,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-1.2513813,32.0492698],\"properties\":{\"NAME\":\"Béni Ounif\",\"NAMEASCII\":\"Beni Ounif\",\"POP_MAX\":5628,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-2.7333063,31.0170848],\"properties\":{\"NAME\":\"Abadla\",\"NAMEASCII\":\"Abadla\",\"POP_MAX\":14364,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-0.5799494,32.7604151],\"properties\":{\"NAME\":\"Sefra\",\"NAMEASCII\":\"Sefra\",\"POP_MAX\":63420,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[6.8999816,36.880422],\"properties\":{\"NAME\":\"Skikda\",\"NAMEASCII\":\"Skikda\",\"POP_MAX\":225181,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.9400166,11.1303658],\"properties\":{\"NAME\":\"Kandi\",\"NAMEASCII\":\"Kandi\",\"POP_MAX\":109701,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[2.089991,6.3603727],\"properties\":{\"NAME\":\"Ouidah\",\"NAMEASCII\":\"Ouidah\",\"POP_MAX\":83503,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[1.9899971,7.1903996],\"properties\":{\"NAME\":\"Abomey\",\"NAMEASCII\":\"Abomey\",\"POP_MAX\":82154,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[1.3899821,10.3204153],\"properties\":{\"NAME\":\"Natitingou\",\"NAMEASCII\":\"Natitingou\",\"POP_MAX\":80892,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[1.6800419,9.7004273],\"properties\":{\"NAME\":\"Djougou\",\"NAMEASCII\":\"Djougou\",\"POP_MAX\":202810,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[9.482253,24.5529057],\"properties\":{\"NAME\":\"Djanet\",\"NAMEASCII\":\"Djanet\",\"POP_MAX\":666,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[9.5500008,28.0503408],\"properties\":{\"NAME\":\"I-n-Amenas\",\"NAMEASCII\":\"I-n-Amenas\",\"POP_MAX\":216,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[5.1647387,23.69394],\"properties\":{\"NAME\":\"In Amguel\",\"NAMEASCII\":\"In Amguel\",\"POP_MAX\":3030,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[1.0099536,33.6903583],\"properties\":{\"NAME\":\"El Bayadh\",\"NAMEASCII\":\"El Bayadh\",\"POP_MAX\":67413,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[6.8599841,33.3704037],\"properties\":{\"NAME\":\"El Oued\",\"NAMEASCII\":\"El Oued\",\"POP_MAX\":177497,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[6.0544519,31.7023401],\"properties\":{\"NAME\":\"Hassi Messaoud\",\"NAMEASCII\":\"Hassi Messaoud\",\"POP_MAX\":18124,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[1.3199605,36.1704136],\"properties\":{\"NAME\":\"Chlef\",\"NAMEASCII\":\"Chlef\",\"POP_MAX\":449167,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[0.1400325,35.400409],\"properties\":{\"NAME\":\"Mascara\",\"NAMEASCII\":\"Mascara\",\"POP_MAX\":108230,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[0.0899839,35.940376],\"properties\":{\"NAME\":\"Mostaganem\",\"NAMEASCII\":\"Mostaganem\",\"POP_MAX\":188354,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[0.1400325,34.8403915],\"properties\":{\"NAME\":\"Saïda\",\"NAMEASCII\":\"Saida\",\"POP_MAX\":142213,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[1.3199605,35.380436],\"properties\":{\"NAME\":\"Tiarat\",\"NAMEASCII\":\"Tiarat\",\"POP_MAX\":184195,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[5.0700158,36.7603776],\"properties\":{\"NAME\":\"Béjaïa\",\"NAMEASCII\":\"Bejaia\",\"POP_MAX\":384937,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.8299975,36.4203467],\"properties\":{\"NAME\":\"Blida\",\"NAMEASCII\":\"Blida\",\"POP_MAX\":511348,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[3.9000097,36.3804783],\"properties\":{\"NAME\":\"Bouïra\",\"NAMEASCII\":\"Bouira\",\"POP_MAX\":110144,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.7700012,36.2704075],\"properties\":{\"NAME\":\"Médéa\",\"NAMEASCII\":\"Medea\",\"POP_MAX\":147707,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[7.9499951,36.2903805],\"properties\":{\"NAME\":\"Souk Ahras\",\"NAMEASCII\":\"Souk Ahras\",\"POP_MAX\":134947,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[8.1200105,35.4104342],\"properties\":{\"NAME\":\"Tébessa\",\"NAMEASCII\":\"Tebessa\",\"POP_MAX\":171742,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[17.8200386,43.3504922],\"properties\":{\"NAME\":\"Mostar\",\"NAMEASCII\":\"Mostar\",\"POP_MAX\":163067,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[25.5632869,41.9437822],\"properties\":{\"NAME\":\"Khaskovo\",\"NAMEASCII\":\"Khaskovo\",\"POP_MAX\":79699,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[25.6227148,42.4231328],\"properties\":{\"NAME\":\"Stara Zagora\",\"NAMEASCII\":\"Stara Zagora\",\"POP_MAX\":143431,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[24.6133707,43.4237693],\"properties\":{\"NAME\":\"Pleven\",\"NAMEASCII\":\"Pleven\",\"POP_MAX\":118675,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[25.6555293,43.0862447],\"properties\":{\"NAME\":\"Turnovo\",\"NAMEASCII\":\"Turnovo\",\"POP_MAX\":53115,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[22.6911108,42.2842782],\"properties\":{\"NAME\":\"Kyustendil\",\"NAMEASCII\":\"Kyustendil\",\"POP_MAX\":51067,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[27.8399955,43.5850515],\"properties\":{\"NAME\":\"Dobrich\",\"NAMEASCII\":\"Dobrich\",\"POP_MAX\":94831,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[27.8952893,43.2156425],\"properties\":{\"NAME\":\"Varna\",\"NAMEASCII\":\"Varna\",\"POP_MAX\":312770,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[25.9733394,43.8536914],\"properties\":{\"NAME\":\"Ruse\",\"NAMEASCII\":\"Ruse\",\"POP_MAX\":184270,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[15.4100048,47.0777582],\"properties\":{\"NAME\":\"Graz\",\"NAMEASCII\":\"Graz\",\"POP_MAX\":263234,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[14.3100203,46.6203443],\"properties\":{\"NAME\":\"Klagenfurt\",\"NAMEASCII\":\"Klagenfurt\",\"POP_MAX\":90610,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[14.2887813,48.3192328],\"properties\":{\"NAME\":\"Linz\",\"NAMEASCII\":\"Linz\",\"POP_MAX\":349161,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[13.4411788,48.5754623],\"properties\":{\"NAME\":\"Passau\",\"NAMEASCII\":\"Passau\",\"POP_MAX\":50560,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[13.0400203,47.8104783],\"properties\":{\"NAME\":\"Salzburg\",\"NAMEASCII\":\"Salzburg\",\"POP_MAX\":206279,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[11.4099906,47.2804073],\"properties\":{\"NAME\":\"Innsbruck\",\"NAMEASCII\":\"Innsbruck\",\"POP_MAX\":155214,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[26.0940555,52.1278634],\"properties\":{\"NAME\":\"Pinsk\",\"NAMEASCII\":\"Pinsk\",\"POP_MAX\":130777,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[29.2721561,52.0459562],\"properties\":{\"NAME\":\"Mazyr\",\"NAMEASCII\":\"Mazyr\",\"POP_MAX\":112137,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[30.32465,53.8985047],\"properties\":{\"NAME\":\"Mahilyow\",\"NAMEASCII\":\"Mahilyow\",\"POP_MAX\":369200,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[29.1927811,53.1265621],\"properties\":{\"NAME\":\"Babruysk\",\"NAMEASCII\":\"Babruysk\",\"POP_MAX\":220517,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[30.4215433,54.5153146],\"properties\":{\"NAME\":\"Orsha\",\"NAMEASCII\":\"Orsha\",\"POP_MAX\":135206,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[25.2846476,53.8884794],\"properties\":{\"NAME\":\"Lida\",\"NAMEASCII\":\"Lida\",\"POP_MAX\":100216,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[23.8340901,53.6778721],\"properties\":{\"NAME\":\"Hrodna\",\"NAMEASCII\":\"Hrodna\",\"POP_MAX\":317365,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[28.4921521,54.226004],\"properties\":{\"NAME\":\"Barysaw\",\"NAMEASCII\":\"Barysaw\",\"POP_MAX\":155389,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[45.4122045,39.2092204],\"properties\":{\"NAME\":\"Naxcivan\",\"NAMEASCII\":\"Naxcivan\",\"POP_MAX\":94788,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[89.1999711,23.1704319],\"properties\":{\"NAME\":\"Jashore\",\"NAMEASCII\":\"Jashore\",\"POP_MAX\":243987,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[90.3749898,22.700409],\"properties\":{\"NAME\":\"Barishal\",\"NAMEASCII\":\"Barishal\",\"POP_MAX\":202242,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[91.16998,23.4704136],\"properties\":{\"NAME\":\"Comilla\",\"NAMEASCII\":\"Comilla\",\"POP_MAX\":389411,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[21.8300264,-24.1695984],\"properties\":{\"NAME\":\"Lokhwabe\",\"NAMEASCII\":\"Lokhwabe\",\"POP_MAX\":1473,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[21.870024,-23.9696106],\"properties\":{\"NAME\":\"Lehututu\",\"NAMEASCII\":\"Lehututu\",\"POP_MAX\":1942,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[22.4000175,-26.0094861],\"properties\":{\"NAME\":\"Tshabong\",\"NAMEASCII\":\"Tshabong\",\"POP_MAX\":9679,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[22.4599621,-20.1596106],\"properties\":{\"NAME\":\"Tsau\",\"NAMEASCII\":\"Tsau\",\"POP_MAX\":1409,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[22.2699996,-19.6696146],\"properties\":{\"NAME\":\"Nokaneng\",\"NAMEASCII\":\"Nokaneng\",\"POP_MAX\":1763,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[21.8000024,-18.2995691],\"properties\":{\"NAME\":\"Mohembo\",\"NAMEASCII\":\"Mohembo\",\"POP_MAX\":757,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[23.4200069,-19.9895951],\"properties\":{\"NAME\":\"Maun\",\"NAMEASCII\":\"Maun\",\"POP_MAX\":49945,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[25.1500305,-17.8095731],\"properties\":{\"NAME\":\"Kasane\",\"NAMEASCII\":\"Kasane\",\"POP_MAX\":9250,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[26.1900187,-20.2094783],\"properties\":{\"NAME\":\"Nata\",\"NAMEASCII\":\"Nata\",\"POP_MAX\":4794,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[24.8800211,-21.1795483],\"properties\":{\"NAME\":\"Mopipi\",\"NAMEASCII\":\"Mopipi\",\"POP_MAX\":3301,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[27.130013,-22.5596191],\"properties\":{\"NAME\":\"Palapye\",\"NAMEASCII\":\"Palapye\",\"POP_MAX\":30650,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[29.6165795,-3.9507291],\"properties\":{\"NAME\":\"Bururi\",\"NAMEASCII\":\"Bururi\",\"POP_MAX\":20393,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[30.3172603,-2.8523466],\"properties\":{\"NAME\":\"Muyinga\",\"NAMEASCII\":\"Muyinga\",\"POP_MAX\":71076,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[25.680024,-25.2196118],\"properties\":{\"NAME\":\"Lobatse\",\"NAMEASCII\":\"Lobatse\",\"POP_MAX\":69804,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[25.339993,-24.9696012],\"properties\":{\"NAME\":\"Kanye\",\"NAMEASCII\":\"Kanye\",\"POP_MAX\":46831,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[131.816698,-13.8161735],\"properties\":{\"NAME\":\"Pine Creek\",\"NAMEASCII\":\"Pine Creek\",\"POP_MAX\":665,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[131.0999975,-13.2495414],\"properties\":{\"NAME\":\"Adelaide River\",\"NAMEASCII\":\"Adelaide River\",\"POP_MAX\":237,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[131.0500264,-12.5328926],\"properties\":{\"NAME\":\"McMinns Lagoon\",\"NAMEASCII\":\"McMinns Lagoon\",\"POP_MAX\":5025,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[133.4672432,-17.5527929],\"properties\":{\"NAME\":\"Newcastle Waters\",\"NAMEASCII\":\"Newcastle Waters\",\"POP_MAX\":10,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[120.0333345,-33.5828739],\"properties\":{\"NAME\":\"Ravensthorpe\",\"NAMEASCII\":\"Ravensthorpe\",\"POP_MAX\":1101,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.3499841,-33.2995837],\"properties\":{\"NAME\":\"Wagin\",\"NAMEASCII\":\"Wagin\",\"POP_MAX\":1598,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.1333048,-20.7829317],\"properties\":{\"NAME\":\"Roebourne\",\"NAMEASCII\":\"Roebourne\",\"POP_MAX\":19260,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[116.3250337,-21.6365747],\"properties\":{\"NAME\":\"Pannawonica\",\"NAMEASCII\":\"Pannawonica\",\"POP_MAX\":686,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.7930578,-22.6934611],\"properties\":{\"NAME\":\"Tom Price\",\"NAMEASCII\":\"Tom Price\",\"POP_MAX\":2723,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[114.1666642,-27.6661808],\"properties\":{\"NAME\":\"Kalbarri\",\"NAMEASCII\":\"Kalbarri\",\"POP_MAX\":1537,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.8166739,-28.0662081],\"properties\":{\"NAME\":\"Mount Magnet\",\"NAMEASCII\":\"Mount Magnet\",\"POP_MAX\":424,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[116.0000406,-29.2162671],\"properties\":{\"NAME\":\"Morawa\",\"NAMEASCII\":\"Morawa\",\"POP_MAX\":259,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[114.9166442,-29.2828263],\"properties\":{\"NAME\":\"Port Denison\",\"NAMEASCII\":\"Port Denison\",\"POP_MAX\":1213,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[118.2666723,-31.4828471],\"properties\":{\"NAME\":\"Merredin\",\"NAMEASCII\":\"Merredin\",\"POP_MAX\":2668,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.6666056,-34.632784],\"properties\":{\"NAME\":\"Mount Barker\",\"NAMEASCII\":\"Mount Barker\",\"POP_MAX\":1781,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.5500752,-33.6995593],\"properties\":{\"NAME\":\"Katanning\",\"NAMEASCII\":\"Katanning\",\"POP_MAX\":3934,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.1666361,-32.9328878],\"properties\":{\"NAME\":\"Narrogin\",\"NAMEASCII\":\"Narrogin\",\"POP_MAX\":4238,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.9000468,-31.3495735],\"properties\":{\"NAME\":\"Gingin\",\"NAMEASCII\":\"Gingin\",\"POP_MAX\":1446,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.6502429,-33.3442838],\"properties\":{\"NAME\":\"Bunbury\",\"NAMEASCII\":\"Bunbury\",\"POP_MAX\":26998,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.7702356,-32.23939],\"properties\":{\"NAME\":\"Kwinana\",\"NAMEASCII\":\"Kwinana\",\"POP_MAX\":20086,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[119.3166857,-31.216145],\"properties\":{\"NAME\":\"Southern Cross\",\"NAMEASCII\":\"Southern Cross\",\"POP_MAX\":187,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[128.9973352,-25.7884143],\"properties\":{\"NAME\":\"Kaltukatjara\",\"NAMEASCII\":\"Kaltukatjara\",\"POP_MAX\":355,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.2113468,-35.3546004],\"properties\":{\"NAME\":\"Queanbeyan\",\"NAMEASCII\":\"Queanbeyan\",\"POP_MAX\":32602,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.5466377,-28.1825834],\"properties\":{\"NAME\":\"Tweed Heads\",\"NAMEASCII\":\"Tweed Heads\",\"POP_MAX\":33065,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.3000187,-32.8996081],\"properties\":{\"NAME\":\"Ivanhoe\",\"NAMEASCII\":\"Ivanhoe\",\"POP_MAX\":265,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.3833304,-31.5662012],\"properties\":{\"NAME\":\"Wilcannia\",\"NAMEASCII\":\"Wilcannia\",\"POP_MAX\":442,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.9000386,-36.8996224],\"properties\":{\"NAME\":\"Merimbula\",\"NAMEASCII\":\"Merimbula\",\"POP_MAX\":6367,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.750017,-36.1295919],\"properties\":{\"NAME\":\"Echuca\",\"NAMEASCII\":\"Echuca\",\"POP_MAX\":19457,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.9500048,-35.5295768],\"properties\":{\"NAME\":\"Deniliquin\",\"NAMEASCII\":\"Deniliquin\",\"POP_MAX\":8024,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.6000476,-34.8828463],\"properties\":{\"NAME\":\"Nowra\",\"NAMEASCII\":\"Nowra\",\"POP_MAX\":94781,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.4700297,-35.3495361],\"properties\":{\"NAME\":\"Ulladulla\",\"NAMEASCII\":\"Ulladulla\",\"POP_MAX\":9250,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.2073067,-35.6896187],\"properties\":{\"NAME\":\"Batemans Bay\",\"NAMEASCII\":\"Batemans Bay\",\"POP_MAX\":10557,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.1200345,-36.2395593],\"properties\":{\"NAME\":\"Cooma\",\"NAMEASCII\":\"Cooma\",\"POP_MAX\":6520,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.2200378,-35.3095902],\"properties\":{\"NAME\":\"Tumut\",\"NAMEASCII\":\"Tumut\",\"POP_MAX\":6526,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.3973067,-34.5449341],\"properties\":{\"NAME\":\"Leeton\",\"NAMEASCII\":\"Leeton\",\"POP_MAX\":7299,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.2900077,-34.3095996],\"properties\":{\"NAME\":\"Young\",\"NAMEASCII\":\"Young\",\"POP_MAX\":7501,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.6800097,-33.8296289],\"properties\":{\"NAME\":\"Cowra\",\"NAMEASCII\":\"Cowra\",\"POP_MAX\":6795,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.0199983,-33.3896041],\"properties\":{\"NAME\":\"Forbes\",\"NAMEASCII\":\"Forbes\",\"POP_MAX\":4838,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.7101794,-34.7495727],\"properties\":{\"NAME\":\"Goulburn\",\"NAMEASCII\":\"Goulburn\",\"POP_MAX\":20940,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.8400329,-34.7095752],\"properties\":{\"NAME\":\"Kiama\",\"NAMEASCII\":\"Kiama\",\"POP_MAX\":10379,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.320013,-33.706949],\"properties\":{\"NAME\":\"Katoomba\",\"NAMEASCII\":\"Katoomba\",\"POP_MAX\":22076,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.7399873,-33.5995137],\"properties\":{\"NAME\":\"Richmond\",\"NAMEASCII\":\"Richmond\",\"POP_MAX\":13880,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.152788,-33.4961092],\"properties\":{\"NAME\":\"Lithgow\",\"NAMEASCII\":\"Lithgow\",\"POP_MAX\":11128,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.170015,-33.1295683],\"properties\":{\"NAME\":\"Parkes\",\"NAMEASCII\":\"Parkes\",\"POP_MAX\":11137,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.5700329,-33.4196281],\"properties\":{\"NAME\":\"Bathurst\",\"NAMEASCII\":\"Bathurst\",\"POP_MAX\":6111,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.555028,-32.7209627],\"properties\":{\"NAME\":\"Maitland\",\"NAMEASCII\":\"Maitland\",\"POP_MAX\":18625,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.1600134,-32.5694991],\"properties\":{\"NAME\":\"Singleton\",\"NAMEASCII\":\"Singleton\",\"POP_MAX\":13813,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.5801098,-32.5896012],\"properties\":{\"NAME\":\"Mudgee\",\"NAMEASCII\":\"Mudgee\",\"POP_MAX\":5391,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.890004,-32.2695691],\"properties\":{\"NAME\":\"Muswellbrook\",\"NAMEASCII\":\"Muswellbrook\",\"POP_MAX\":11630,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.4618461,-31.8976021],\"properties\":{\"NAME\":\"Taree\",\"NAMEASCII\":\"Taree\",\"POP_MAX\":44182,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.8220308,-31.0873673],\"properties\":{\"NAME\":\"Kempsey\",\"NAMEASCII\":\"Kempsey\",\"POP_MAX\":11840,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.2622904,-30.9870117],\"properties\":{\"NAME\":\"Gunnedah\",\"NAMEASCII\":\"Gunnedah\",\"POP_MAX\":7148,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.1122973,-30.3070532],\"properties\":{\"NAME\":\"Coffs Harbour\",\"NAMEASCII\":\"Coffs Harbour\",\"POP_MAX\":62978,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.7874357,-30.3319096],\"properties\":{\"NAME\":\"Narrabri\",\"NAMEASCII\":\"Narrabri\",\"POP_MAX\":7082,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.1125744,-29.7667761],\"properties\":{\"NAME\":\"Inverell\",\"NAMEASCII\":\"Inverell\",\"POP_MAX\":8561,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.353312,-29.4229914],\"properties\":{\"NAME\":\"Yamba\",\"NAMEASCII\":\"Yamba\",\"POP_MAX\":1806,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.5679801,-28.8613533],\"properties\":{\"NAME\":\"Ballina\",\"NAMEASCII\":\"Ballina\",\"POP_MAX\":14242,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.3399882,-35.1221598],\"properties\":{\"NAME\":\"Wagga Wagga\",\"NAMEASCII\":\"Wagga Wagga\",\"POP_MAX\":55381,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.8501098,-32.0796065],\"properties\":{\"NAME\":\"Scone\",\"NAMEASCII\":\"Scone\",\"POP_MAX\":4624,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.6128869,-28.656508],\"properties\":{\"NAME\":\"Byron Bay\",\"NAMEASCII\":\"Byron Bay\",\"POP_MAX\":6764,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.6000378,-34.2829346],\"properties\":{\"NAME\":\"Berri\",\"NAMEASCII\":\"Berri\",\"POP_MAX\":4716,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.8333239,-32.9661674],\"properties\":{\"NAME\":\"Peterborough\",\"NAMEASCII\":\"Peterborough\",\"POP_MAX\":1689,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[137.6332938,-33.9328784],\"properties\":{\"NAME\":\"Wallaroo\",\"NAMEASCII\":\"Wallaroo\",\"POP_MAX\":2779,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.6000048,-33.8328845],\"properties\":{\"NAME\":\"Clare\",\"NAMEASCII\":\"Clare\",\"POP_MAX\":3061,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.3333451,-35.6995406],\"properties\":{\"NAME\":\"Meningie\",\"NAMEASCII\":\"Meningie\",\"POP_MAX\":1501,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.8500577,-36.8328047],\"properties\":{\"NAME\":\"Kingston South East\",\"NAMEASCII\":\"Kingston South East\",\"POP_MAX\":206,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.7666426,-36.3161955],\"properties\":{\"NAME\":\"Bordertown\",\"NAMEASCII\":\"Bordertown\",\"POP_MAX\":2583,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.8166654,-37.382952],\"properties\":{\"NAME\":\"Penola\",\"NAMEASCII\":\"Penola\",\"POP_MAX\":1514,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[135.2999996,-30.8995752],\"properties\":{\"NAME\":\"Kingoonya\",\"NAMEASCII\":\"Kingoonya\",\"POP_MAX\":50,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[136.4333671,-33.1496187],\"properties\":{\"NAME\":\"Kimba\",\"NAMEASCII\":\"Kimba\",\"POP_MAX\":636,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[134.2149296,-32.8118718],\"properties\":{\"NAME\":\"Streaky Bay\",\"NAMEASCII\":\"Streaky Bay\",\"POP_MAX\":1060,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[136.9166451,-33.6828678],\"properties\":{\"NAME\":\"Cowell\",\"NAMEASCII\":\"Cowell\",\"POP_MAX\":537,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[136.0833109,-34.3829284],\"properties\":{\"NAME\":\"Tumby Bay\",\"NAMEASCII\":\"Tumby Bay\",\"POP_MAX\":1791,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[137.1655704,-30.4309733],\"properties\":{\"NAME\":\"Andamooka\",\"NAMEASCII\":\"Andamooka\",\"POP_MAX\":528,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[136.8000114,-31.1495858],\"properties\":{\"NAME\":\"Woomera\",\"NAMEASCII\":\"Woomera\",\"POP_MAX\":450,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[137.9900162,-33.1910632],\"properties\":{\"NAME\":\"Port Pirie\",\"NAMEASCII\":\"Port Pirie\",\"POP_MAX\":12506,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.7263537,-34.6073592],\"properties\":{\"NAME\":\"Gawler\",\"NAMEASCII\":\"Gawler\",\"POP_MAX\":16362,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.2600162,-35.1296012],\"properties\":{\"NAME\":\"Murray Bridge\",\"NAMEASCII\":\"Murray Bridge\",\"POP_MAX\":18194,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.6173164,-35.5596008],\"properties\":{\"NAME\":\"Victor Harbor\",\"NAMEASCII\":\"Victor Harbor\",\"POP_MAX\":7760,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.0234135,-37.7311995],\"properties\":{\"NAME\":\"Hamilton\",\"NAMEASCII\":\"Hamilton\",\"POP_MAX\":8869,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.3166772,-35.0661942],\"properties\":{\"NAME\":\"Ouyen\",\"NAMEASCII\":\"Ouyen\",\"POP_MAX\":1400,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.5800109,-38.3395345],\"properties\":{\"NAME\":\"Colac\",\"NAMEASCII\":\"Colac\",\"POP_MAX\":9089,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.7600093,-37.0596126],\"properties\":{\"NAME\":\"Stawell\",\"NAMEASCII\":\"Stawell\",\"POP_MAX\":6991,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.1900183,-36.7096081],\"properties\":{\"NAME\":\"Horsham\",\"NAMEASCII\":\"Horsham\",\"POP_MAX\":12830,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.9099743,-37.2795475],\"properties\":{\"NAME\":\"Ararat\",\"NAMEASCII\":\"Ararat\",\"POP_MAX\":6110,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.729976,-37.0495874],\"properties\":{\"NAME\":\"Maryborough\",\"NAMEASCII\":\"Maryborough\",\"POP_MAX\":7046,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.6099975,-37.8295915],\"properties\":{\"NAME\":\"Bairnsdale\",\"NAMEASCII\":\"Bairnsdale\",\"POP_MAX\":11005,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.0600052,-38.1095744],\"properties\":{\"NAME\":\"Sale\",\"NAMEASCII\":\"Sale\",\"POP_MAX\":22486,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.5300118,-38.1995947],\"properties\":{\"NAME\":\"Traralgon\",\"NAMEASCII\":\"Traralgon\",\"POP_MAX\":18226,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.5900175,-38.6094922],\"properties\":{\"NAME\":\"Wonthaggi\",\"NAMEASCII\":\"Wonthaggi\",\"POP_MAX\":5985,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.2833695,-38.0996008],\"properties\":{\"NAME\":\"Cranbourne\",\"NAMEASCII\":\"Cranbourne\",\"POP_MAX\":460491,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.8400468,-37.5595821],\"properties\":{\"NAME\":\"Ballarat\",\"NAMEASCII\":\"Ballarat\",\"POP_MAX\":85109,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.570028,-37.6895483],\"properties\":{\"NAME\":\"Melton\",\"NAMEASCII\":\"Melton\",\"POP_MAX\":32368,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.1273067,-37.0342395],\"properties\":{\"NAME\":\"Seymour\",\"NAMEASCII\":\"Seymour\",\"POP_MAX\":3693,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.3913732,-36.3745898],\"properties\":{\"NAME\":\"Shepparton\",\"NAMEASCII\":\"Shepparton\",\"POP_MAX\":33550,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.6500138,-35.9196305],\"properties\":{\"NAME\":\"Cobram\",\"NAMEASCII\":\"Cobram\",\"POP_MAX\":4659,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.5400134,-35.3396142],\"properties\":{\"NAME\":\"Swan Hill\",\"NAMEASCII\":\"Swan Hill\",\"POP_MAX\":9276,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.7100195,-37.5696073],\"properties\":{\"NAME\":\"Sunbury\",\"NAMEASCII\":\"Sunbury\",\"POP_MAX\":29925,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.5834781,-20.4162357],\"properties\":{\"NAME\":\"Proserpine\",\"NAMEASCII\":\"Proserpine\",\"POP_MAX\":3976,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.0833349,-24.9494991],\"properties\":{\"NAME\":\"Theodore\",\"NAMEASCII\":\"Theodore\",\"POP_MAX\":246,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.1333483,-25.3662178],\"properties\":{\"NAME\":\"Eidsvold\",\"NAMEASCII\":\"Eidsvold\",\"POP_MAX\":459,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.2833695,-23.5661727],\"properties\":{\"NAME\":\"Barcaldine\",\"NAMEASCII\":\"Barcaldine\",\"POP_MAX\":1068,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.0332743,-22.3996289],\"properties\":{\"NAME\":\"Winton\",\"NAMEASCII\":\"Winton\",\"POP_MAX\":1157,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.2500476,-23.4495906],\"properties\":{\"NAME\":\"Longreach\",\"NAMEASCII\":\"Longreach\",\"POP_MAX\":2894,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.9499816,-27.0829606],\"properties\":{\"NAME\":\"Caboolture\",\"NAMEASCII\":\"Caboolture\",\"POP_MAX\":31513,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.0203226,-28.2292472],\"properties\":{\"NAME\":\"Warwick\",\"NAMEASCII\":\"Warwick\",\"POP_MAX\":12347,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.840592,-26.5389628],\"properties\":{\"NAME\":\"Kingaroy\",\"NAMEASCII\":\"Kingaroy\",\"POP_MAX\":8573,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.2657434,-27.1938582],\"properties\":{\"NAME\":\"Dalby\",\"NAMEASCII\":\"Dalby\",\"POP_MAX\":9847,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.1508996,-27.0787231],\"properties\":{\"NAME\":\"Bongaree\",\"NAMEASCII\":\"Bongaree\",\"POP_MAX\":13649,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.6709289,-26.1885966],\"properties\":{\"NAME\":\"Gympie\",\"NAMEASCII\":\"Gympie\",\"POP_MAX\":11649,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.1666231,-18.6495735],\"properties\":{\"NAME\":\"Ingham\",\"NAMEASCII\":\"Ingham\",\"POP_MAX\":6127,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.3666247,-25.899622],\"properties\":{\"NAME\":\"Birdsville\",\"NAMEASCII\":\"Birdsville\",\"POP_MAX\":283,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.4666186,-24.3495874],\"properties\":{\"NAME\":\"Bedourie\",\"NAMEASCII\":\"Bedourie\",\"POP_MAX\":142,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.9000288,-22.8995984],\"properties\":{\"NAME\":\"Boulia\",\"NAMEASCII\":\"Boulia\",\"POP_MAX\":600,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.1333199,-20.7162691],\"properties\":{\"NAME\":\"Richmond\",\"NAMEASCII\":\"Richmond\",\"POP_MAX\":296,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.5666125,-17.7160905],\"properties\":{\"NAME\":\"Burketown\",\"NAMEASCII\":\"Burketown\",\"POP_MAX\":200,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.8409444,-25.2887032],\"properties\":{\"NAME\":\"Hervey Bay\",\"NAMEASCII\":\"Hervey Bay\",\"POP_MAX\":25114,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.4960746,-24.393564],\"properties\":{\"NAME\":\"Biloela\",\"NAMEASCII\":\"Biloela\",\"POP_MAX\":6309,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.7567305,-23.1329175],\"properties\":{\"NAME\":\"Yeppoon\",\"NAMEASCII\":\"Yeppoon\",\"POP_MAX\":10769,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.1673278,-23.5122225],\"properties\":{\"NAME\":\"Emerald\",\"NAMEASCII\":\"Emerald\",\"POP_MAX\":9398,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.0380334,-22.0015653],\"properties\":{\"NAME\":\"Moranbah\",\"NAMEASCII\":\"Moranbah\",\"POP_MAX\":10000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.2587105,-20.0809074],\"properties\":{\"NAME\":\"Charters Towers\",\"NAMEASCII\":\"Charters Towers\",\"POP_MAX\":9573,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.3994677,-19.5702409],\"properties\":{\"NAME\":\"Ayr\",\"NAMEASCII\":\"Ayr\",\"POP_MAX\":9078,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.469353,-17.2702779],\"properties\":{\"NAME\":\"Atherton\",\"NAMEASCII\":\"Atherton\",\"POP_MAX\":6959,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.4587218,-16.4845881],\"properties\":{\"NAME\":\"Port Douglas\",\"NAMEASCII\":\"Port Douglas\",\"POP_MAX\":3000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.1166613,-40.8329223],\"properties\":{\"NAME\":\"Smithton\",\"NAMEASCII\":\"Smithton\",\"POP_MAX\":4202,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.5166699,-41.1494922],\"properties\":{\"NAME\":\"Scottsdale\",\"NAMEASCII\":\"Scottsdale\",\"POP_MAX\":2468,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.2886124,-41.8783882],\"properties\":{\"NAME\":\"Bicheno\",\"NAMEASCII\":\"Bicheno\",\"POP_MAX\":177,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.3666015,-42.2996028],\"properties\":{\"NAME\":\"Oatlands\",\"NAMEASCII\":\"Oatlands\",\"POP_MAX\":1157,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.5500199,-42.0829236],\"properties\":{\"NAME\":\"Queenstown\",\"NAMEASCII\":\"Queenstown\",\"POP_MAX\":2352,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.3084139,-42.9911369],\"properties\":{\"NAME\":\"Kingston\",\"NAMEASCII\":\"Kingston\",\"POP_MAX\":14371,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[-2.3699952,12.2504783],\"properties\":{\"NAME\":\"Koudougou\",\"NAMEASCII\":\"Koudougou\",\"POP_MAX\":87347,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-2.4199921,13.5704236],\"properties\":{\"NAME\":\"Ouahigouya\",\"NAMEASCII\":\"Ouahigouya\",\"POP_MAX\":79504,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-1.0900474,13.0903754],\"properties\":{\"NAME\":\"Kaya\",\"NAMEASCII\":\"Kaya\",\"POP_MAX\":40017,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-0.3697038,11.7804037],\"properties\":{\"NAME\":\"Tenkodogo\",\"NAMEASCII\":\"Tenkodogo\",\"POP_MAX\":38108,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[-4.7600043,10.630448],\"properties\":{\"NAME\":\"Banfora\",\"NAMEASCII\":\"Banfora\",\"POP_MAX\":60288,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[18.6800378,44.5504706],\"properties\":{\"NAME\":\"Tuzla\",\"NAMEASCII\":\"Tuzla\",\"POP_MAX\":144334,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[16.7000036,44.9803927],\"properties\":{\"NAME\":\"Prijedor\",\"NAMEASCII\":\"Prijedor\",\"POP_MAX\":104858,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[17.1799743,44.7804049],\"properties\":{\"NAME\":\"Banja Luka\",\"NAMEASCII\":\"Banja Luka\",\"POP_MAX\":221738,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[89.2499939,24.0003813],\"properties\":{\"NAME\":\"Pabna\",\"NAMEASCII\":\"Pabna\",\"POP_MAX\":137888,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[88.3499971,24.5803976],\"properties\":{\"NAME\":\"Nawabganj\",\"NAMEASCII\":\"Nawabganj\",\"POP_MAX\":142361,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[88.9999833,25.8004265],\"properties\":{\"NAME\":\"Saidpur\",\"NAMEASCII\":\"Saidpur\",\"POP_MAX\":232209,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[95.3914278,21.4618282],\"properties\":{\"NAME\":\"Myingyan\",\"NAMEASCII\":\"Myingyan\",\"POP_MAX\":163812,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.7414839,17.7818978],\"properties\":{\"NAME\":\"Letpadan\",\"NAMEASCII\":\"Letpadan\",\"POP_MAX\":176571,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[96.4179284,18.9482866],\"properties\":{\"NAME\":\"Taungoo\",\"NAMEASCII\":\"Taungoo\",\"POP_MAX\":106945,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[96.5193176,16.7546995],\"properties\":{\"NAME\":\"Thongwa\",\"NAMEASCII\":\"Thongwa\",\"POP_MAX\":52496,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.7214664,16.2618355],\"properties\":{\"NAME\":\"Mudon\",\"NAMEASCII\":\"Mudon\",\"POP_MAX\":152300,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.8678658,15.2532666],\"properties\":{\"NAME\":\"Ye\",\"NAMEASCII\":\"Ye\",\"POP_MAX\":50798,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.6700484,16.5004256],\"properties\":{\"NAME\":\"Mawlamyine\",\"NAMEASCII\":\"Mawlamyine\",\"POP_MAX\":438861,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[93.5494036,19.4290132],\"properties\":{\"NAME\":\"Kyaukphyu\",\"NAMEASCII\":\"Kyaukphyu\",\"POP_MAX\":4261,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.1828617,16.613287],\"properties\":{\"NAME\":\"Wakema\",\"NAMEASCII\":\"Wakema\",\"POP_MAX\":48405,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[94.7014441,16.1618933],\"properties\":{\"NAME\":\"Labutta\",\"NAMEASCII\":\"Labutta\",\"POP_MAX\":1667,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.6828829,16.2932548],\"properties\":{\"NAME\":\"Phyarpon\",\"NAMEASCII\":\"Phyarpon\",\"POP_MAX\":65601,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.6428853,17.0432866],\"properties\":{\"NAME\":\"Yandoon\",\"NAMEASCII\":\"Yandoon\",\"POP_MAX\":36172,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.4678572,17.6482626],\"properties\":{\"NAME\":\"Hinthada\",\"NAMEASCII\":\"Hinthada\",\"POP_MAX\":180728,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[94.7499682,16.7704092],\"properties\":{\"NAME\":\"Pathein\",\"NAMEASCII\":\"Pathein\",\"POP_MAX\":237089,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.2279235,19.378312],\"properties\":{\"NAME\":\"Allanmyo\",\"NAMEASCII\":\"Allanmyo\",\"POP_MAX\":57897,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[94.880968,20.46145],\"properties\":{\"NAME\":\"Yaynangyoung\",\"NAMEASCII\":\"Yaynangyoung\",\"POP_MAX\":110553,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[94.8230387,20.908477],\"properties\":{\"NAME\":\"Chauk\",\"NAMEASCII\":\"Chauk\",\"POP_MAX\":90870,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.0866402,21.3320429],\"properties\":{\"NAME\":\"Pakokku\",\"NAMEASCII\":\"Pakokku\",\"POP_MAX\":126938,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.3999873,23.0837447],\"properties\":{\"NAME\":\"Namtu\",\"NAMEASCII\":\"Namtu\",\"POP_MAX\":48591,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[98.1949776,14.0979625],\"properties\":{\"NAME\":\"Dawei\",\"NAMEASCII\":\"Dawei\",\"POP_MAX\":146212,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.6928564,22.5782717],\"properties\":{\"NAME\":\"Shwebo\",\"NAMEASCII\":\"Shwebo\",\"POP_MAX\":88914,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[29.8435941,-3.4260067],\"properties\":{\"NAME\":\"Gitega\",\"NAMEASCII\":\"Gitega\",\"POP_MAX\":23167,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[69.2146276,33.6000537],\"properties\":{\"NAME\":\"Gardiz\",\"NAMEASCII\":\"Gardiz\",\"POP_MAX\":103601,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[33.0333219,34.6754144],\"properties\":{\"NAME\":\"Lemosos\",\"NAMEASCII\":\"Lemosos\",\"POP_MAX\":154000,\"ISO_A2\":\"CY\",\"SOV_A3\":\"CYP\"}},{\"type\":\"Point\",\"coordinates\":[84.00558021350962,28.204200899659607],\"properties\":{\"NAME\":\"Pokhara\",\"NAMEASCII\":\"Pokhara\",\"POP_MAX\":200000,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[126.7811097,37.5008348],\"properties\":{\"NAME\":\"Bucheon\",\"NAMEASCII\":\"Puch'on\",\"POP_MAX\":866000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[127.1358319,37.440557],\"properties\":{\"NAME\":\"Songnam\",\"NAMEASCII\":\"Songnam\",\"POP_MAX\":942000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.8353027,37.6546817],\"properties\":{\"NAME\":\"Goyang\",\"NAMEASCII\":\"Goyang\",\"POP_MAX\":903000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[145.7505761,15.2112537],\"properties\":{\"NAME\":\"Capitol Hill\",\"NAMEASCII\":\"Capitol Hill\",\"POP_MAX\":2500,\"ISO_A2\":\"MP\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-64.749986,17.7503752],\"properties\":{\"NAME\":\"Christiansted\",\"NAMEASCII\":\"Christiansted\",\"POP_MAX\":32543,\"ISO_A2\":\"VI\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-66.6166421,18.0003858],\"properties\":{\"NAME\":\"Ponce\",\"NAMEASCII\":\"Ponce\",\"POP_MAX\":160334,\"ISO_A2\":\"PR\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-67.1397109,18.2015104],\"properties\":{\"NAME\":\"Mayagüez\",\"NAMEASCII\":\"Mayaguez\",\"POP_MAX\":291339,\"ISO_A2\":\"PR\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-36.5079889,-54.280577],\"properties\":{\"NAME\":\"Grytviken\",\"NAMEASCII\":\"Grytviken\",\"POP_MAX\":99,\"ISO_A2\":\"GS\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-60.0869631,-51.95059],\"properties\":{\"NAME\":\"Fox Bay\",\"NAMEASCII\":\"Fox Bay\",\"POP_MAX\":120,\"ISO_A2\":\"FK\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-81.37156994982368,19.294748156110312],\"properties\":{\"NAME\":\"George Town\",\"NAMEASCII\":\"George Town\",\"POP_MAX\":4268,\"ISO_A2\":\"KY\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-71.1359786,21.4664274],\"properties\":{\"NAME\":\"Grand Turk\",\"NAMEASCII\":\"Grand Turk\",\"POP_MAX\":5801,\"ISO_A2\":\"TC\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-4.480269097598402,54.14912168202999],\"properties\":{\"NAME\":\"Douglas\",\"NAMEASCII\":\"Douglas\",\"POP_MAX\":35854,\"ISO_A2\":\"IM\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-173.9832927,-18.6495735],\"properties\":{\"NAME\":\"Neiafu\",\"NAMEASCII\":\"Neiafu\",\"POP_MAX\":7391,\"ISO_A2\":\"TO\",\"SOV_A3\":\"TON\"}},{\"type\":\"Point\",\"coordinates\":[-13.5378328,28.9690492],\"properties\":{\"NAME\":\"Arrecife\",\"NAMEASCII\":\"Arrecife\",\"POP_MAX\":52944,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[43.1800411,9.9404126],\"properties\":{\"NAME\":\"Boorama\",\"NAMEASCII\":\"Boorama\",\"POP_MAX\":67664,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[45.5400004,9.5203866],\"properties\":{\"NAME\":\"Burco\",\"NAMEASCII\":\"Burco\",\"POP_MAX\":106593,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[47.097528,10.9800908],\"properties\":{\"NAME\":\"Maydh\",\"NAMEASCII\":\"Maydh\",\"POP_MAX\":30000,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[12.4417702,43.9360958],\"properties\":{\"NAME\":\"San Marino\",\"NAMEASCII\":\"San Marino\",\"POP_MAX\":29579,\"ISO_A2\":\"SM\",\"SOV_A3\":\"SMR\"}},{\"type\":\"Point\",\"coordinates\":[134.4695009,7.3452264],\"properties\":{\"NAME\":\"Koror\",\"NAMEASCII\":\"Koror\",\"POP_MAX\":11200,\"ISO_A2\":\"PW\",\"SOV_A3\":\"PLW\"}},{\"type\":\"Point\",\"coordinates\":[-68.87235603135242,12.112289523294688],\"properties\":{\"NAME\":\"Willemstad\",\"NAMEASCII\":\"Willemstad\",\"POP_MAX\":146813,\"ISO_A2\":\"CW\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[-70.02552621251468,12.521502808252649],\"properties\":{\"NAME\":\"Oranjestad\",\"NAMEASCII\":\"Oranjestad\",\"POP_MAX\":68775,\"ISO_A2\":\"AW\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[57.5166337,-20.3161902],\"properties\":{\"NAME\":\"Curepipe\",\"NAMEASCII\":\"Curepipe\",\"POP_MAX\":299975,\"ISO_A2\":\"MU\",\"SOV_A3\":\"MUS\"}},{\"type\":\"Point\",\"coordinates\":[9.5166695,47.1337238],\"properties\":{\"NAME\":\"Vaduz\",\"NAMEASCII\":\"Vaduz\",\"POP_MAX\":36281,\"ISO_A2\":\"LI\",\"SOV_A3\":\"LIE\"}},{\"type\":\"Point\",\"coordinates\":[35.2544266,32.2214815],\"properties\":{\"NAME\":\"Nablus\",\"NAMEASCII\":\"Nablus\",\"POP_MAX\":215981,\"ISO_A2\":\"PS\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[45.2750036,-12.787089],\"properties\":{\"NAME\":\"Dzaoudzi\",\"NAMEASCII\":\"Dzaoudzi\",\"POP_MAX\":32057,\"ISO_A2\":\"YT\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-68.966602,18.4170012],\"properties\":{\"NAME\":\"La Romana\",\"NAMEASCII\":\"La Romana\",\"POP_MAX\":208437,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-25.0000092,16.8837614],\"properties\":{\"NAME\":\"Mindelo\",\"NAMEASCII\":\"Mindelo\",\"POP_MAX\":70611,\"ISO_A2\":\"CV\",\"SOV_A3\":\"CPV\"}},{\"type\":\"Point\",\"coordinates\":[-53.3632909,46.736978],\"properties\":{\"NAME\":\"Trepassey\",\"NAMEASCII\":\"Trepassey\",\"POP_MAX\":398,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-59.6833185,-62.4995068],\"properties\":{\"NAME\":\"Capitan Arturo Prat Station\",\"NAMEASCII\":\"Capitan Arturo Prat Station\",\"POP_MAX\":41,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-56.6500153,-64.2328894],\"properties\":{\"NAME\":\"Marambio Base\",\"NAMEASCII\":\"Marambio Base\",\"POP_MAX\":150,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[164.2190271,-74.6191926],\"properties\":{\"NAME\":\"Zucchelli Station\",\"NAMEASCII\":\"Zucchelli Station\",\"POP_MAX\":80,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-68.1235405,-67.5647756],\"properties\":{\"NAME\":\"Rothera Station\",\"NAMEASCII\":\"Rothera Station\",\"POP_MAX\":130,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-64.0468756,-64.7624134],\"properties\":{\"NAME\":\"Palmer Station\",\"NAMEASCII\":\"Palmer Station\",\"POP_MAX\":46,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-58.9076523,-62.1827436],\"properties\":{\"NAME\":\"Base Presidente Montalva\",\"NAMEASCII\":\"Base Presidente Montalva\",\"POP_MAX\":150,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-58.650476,-62.2241439],\"properties\":{\"NAME\":\"Carlini Base\",\"NAMEASCII\":\"Carlini Base\",\"POP_MAX\":60,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-58.7715988,-62.2248534],\"properties\":{\"NAME\":\"King Sejong Station\",\"NAMEASCII\":\"King Sejong Station\",\"POP_MAX\":90,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-58.9666956,-62.21632],\"properties\":{\"NAME\":\"Great Wall Station\",\"NAMEASCII\":\"Great Wall Station\",\"POP_MAX\":40,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-58.9526658,-62.1949625],\"properties\":{\"NAME\":\"Escudero Base\",\"NAMEASCII\":\"Escudero Base\",\"POP_MAX\":20,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-57.9999846,-61.999589],\"properties\":{\"NAME\":\"Elephant Island\",\"NAMEASCII\":\"Elephant Island\",\"POP_MAX\":6,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[166.7491023,-77.8469382],\"properties\":{\"NAME\":\"Scott Base\",\"NAMEASCII\":\"Scott Base\",\"POP_MAX\":85,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[166.8694157,-77.7322824],\"properties\":{\"NAME\":\"McMurdo Station\",\"NAMEASCII\":\"McMurdo Station\",\"POP_MAX\":1000,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[76.3392981,-69.434063],\"properties\":{\"NAME\":\"Zhongshan Station\",\"NAMEASCII\":\"Zhongshan Station\",\"POP_MAX\":60,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[106.8000337,-78.4662842],\"properties\":{\"NAME\":\"Vostok Station\",\"NAMEASCII\":\"Vostok\",\"POP_MAX\":25,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-90.584203,-68.7951614],\"properties\":{\"NAME\":\"Peter I Island\",\"NAMEASCII\":\"Peter I Island\",\"POP_MAX\":1,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[93.0062885,-66.5755295],\"properties\":{\"NAME\":\"Mirny Station\",\"NAMEASCII\":\"Mirny Station\",\"POP_MAX\":169,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[62.8750007,-67.6145203],\"properties\":{\"NAME\":\"Mawson Station\",\"NAMEASCII\":\"Mawson Station\",\"POP_MAX\":60,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[78.1407351,-68.7776744],\"properties\":{\"NAME\":\"Davis Station\",\"NAMEASCII\":\"Davis Station\",\"POP_MAX\":70,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[124.1670357,-74.6663094],\"properties\":{\"NAME\":\"Concordia Research Station\",\"NAMEASCII\":\"Concordia Research Station\",\"POP_MAX\":30,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[110.536214,-66.2860861],\"properties\":{\"NAME\":\"Casey Station\",\"NAMEASCII\":\"Casey Station\",\"POP_MAX\":200,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[176.9944521,-89.9999998],\"properties\":{\"NAME\":\"Amundsen–Scott South Pole Station\",\"NAMEASCII\":\"AmundseniScott South Pole Station\",\"POP_MAX\":200,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-13.4167111,-73.0496122],\"properties\":{\"NAME\":\"Wasa Station\",\"NAMEASCII\":\"Wasa Station\",\"POP_MAX\":10,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[2.5333231,-72.0162903],\"properties\":{\"NAME\":\"Troll Station\",\"NAMEASCII\":\"Troll Station\",\"POP_MAX\":44,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-11.2166903,-74.5829036],\"properties\":{\"NAME\":\"Svea Station\",\"NAMEASCII\":\"Svea Station\",\"POP_MAX\":10,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-11.8502129,-71.3012347],\"properties\":{\"NAME\":\"Novolazarevskaya Station\",\"NAMEASCII\":\"Novolazarevskaya Station\",\"POP_MAX\":70,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-7.838438,-70.8903967],\"properties\":{\"NAME\":\"Neumayer Station III\",\"NAMEASCII\":\"Neumayer Station III\",\"POP_MAX\":40,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[11.7304584,-70.7821796],\"properties\":{\"NAME\":\"Maitri Station\",\"NAMEASCII\":\"Maitri Station\",\"POP_MAX\":65,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-26.4741567,-76.0922632],\"properties\":{\"NAME\":\"Halley Station\",\"NAMEASCII\":\"Halley Station\",\"POP_MAX\":70,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-34.6166832,-77.8663208],\"properties\":{\"NAME\":\"Belgrano II Base\",\"NAMEASCII\":\"Belgrano II Base\",\"POP_MAX\":100,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-40.5015315,-81.1790847],\"properties\":{\"NAME\":\"Sobral Base\",\"NAMEASCII\":\"Sobral Base\",\"POP_MAX\":40,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-13.4167111,-75.0495935],\"properties\":{\"NAME\":\"Aboa Station\",\"NAMEASCII\":\"Aboa Station\",\"POP_MAX\":18,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-67.0999976,-68.1163216],\"properties\":{\"NAME\":\"San Martín Base\",\"NAMEASCII\":\"San Martin Base\",\"POP_MAX\":20,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-57.8895935,-63.3284182],\"properties\":{\"NAME\":\"Gen. O'Higgins Base\",\"NAMEASCII\":\"Gen. O'Higgins Base\",\"POP_MAX\":44,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-57.0259015,-63.3753287],\"properties\":{\"NAME\":\"Esperanza Base\",\"NAMEASCII\":\"Esperanza Station\",\"POP_MAX\":250,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-44.7333008,-60.7328963],\"properties\":{\"NAME\":\"Orcadas Station\",\"NAMEASCII\":\"Orcadas Station\",\"POP_MAX\":45,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-45.6007033,-60.6313081],\"properties\":{\"NAME\":\"Signy Research Station\",\"NAMEASCII\":\"Signy Research Station\",\"POP_MAX\":8,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[-57.224986,74.5780629],\"properties\":{\"NAME\":\"Kullorsuaq\",\"NAMEASCII\":\"Kullorsuaq\",\"POP_MAX\":450,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-56.0598137,73.3690023],\"properties\":{\"NAME\":\"Tasiusaq\",\"NAMEASCII\":\"Tasiusaq\",\"POP_MAX\":250,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-155.98771130667805,19.6381395571486],\"properties\":{\"NAME\":\"Kailua-Kona\",\"NAMEASCII\":\"Kailua-Kona\",\"POP_MAX\":9870,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[139.9636836,-66.7750509],\"properties\":{\"NAME\":\"Dumont d'Urville Station\",\"NAMEASCII\":\"Dumont d'Urville Station\",\"POP_MAX\":120,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[39.7460831,-69.0303925],\"properties\":{\"NAME\":\"Showa Station\",\"NAMEASCII\":\"Showa Station\",\"POP_MAX\":60,\"ISO_A2\":\"AQ\",\"SOV_A3\":\"ATA\"}},{\"type\":\"Point\",\"coordinates\":[120.5134086,24.0734001],\"properties\":{\"NAME\":\"Changhua\",\"NAMEASCII\":\"Changhua\",\"POP_MAX\":750000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.4350671,23.4754521],\"properties\":{\"NAME\":\"Chiayi\",\"NAMEASCII\":\"Chiayi\",\"POP_MAX\":500000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.9767395,24.8167914],\"properties\":{\"NAME\":\"Hsinchu\",\"NAMEASCII\":\"Hsinchu\",\"POP_MAX\":750000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.82,24.57],\"properties\":{\"NAME\":\"Miaoli\",\"NAMEASCII\":\"Miaoli\",\"POP_MAX\":150000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.4816792,22.6817021],\"properties\":{\"NAME\":\"Pingtung\",\"NAMEASCII\":\"Pingtung\",\"POP_MAX\":503530,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[-56.7099858,-34.3499589],\"properties\":{\"NAME\":\"San José de Mayo\",\"NAMEASCII\":\"San Jose de Mayo\",\"POP_MAX\":36529,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-54.3330249,-34.482974],\"properties\":{\"NAME\":\"Rocha\",\"NAMEASCII\":\"Rocha\",\"POP_MAX\":26874,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-112.5338394,46.0038961],\"properties\":{\"NAME\":\"Butte\",\"NAMEASCII\":\"Butte\",\"POP_MAX\":34190,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.0324858,47.9252775],\"properties\":{\"NAME\":\"Grand Forks\",\"NAMEASCII\":\"Grand Forks\",\"POP_MAX\":58566,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.4447233,42.8713483],\"properties\":{\"NAME\":\"Pocatello\",\"NAMEASCII\":\"Pocatello\",\"POP_MAX\":63998,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.44682411312154,47.24056773446696],\"properties\":{\"NAME\":\"Tacoma\",\"NAMEASCII\":\"Tacoma\",\"POP_MAX\":719868,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.6236084,32.6852775],\"properties\":{\"NAME\":\"Yuma\",\"NAMEASCII\":\"Yuma\",\"POP_MAX\":92489,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.4477723,34.5900191],\"properties\":{\"NAME\":\"Prescott\",\"NAMEASCII\":\"Prescott\",\"POP_MAX\":55038,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.20033735659706,33.77701767314316],\"properties\":{\"NAME\":\"Long Beach\",\"NAMEASCII\":\"Long Beach\",\"POP_MAX\":2036134,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.5499998,39.0938528],\"properties\":{\"NAME\":\"Grand Junction\",\"NAMEASCII\":\"Grand Junction\",\"POP_MAX\":104214,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.887675,39.2470217],\"properties\":{\"NAME\":\"Ely\",\"NAMEASCII\":\"Ely\",\"POP_MAX\":4216,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.7663953,39.1638485],\"properties\":{\"NAME\":\"Carson City\",\"NAMEASCII\":\"Carson City\",\"POP_MAX\":57341,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.2282998,32.420565],\"properties\":{\"NAME\":\"Carlsbad\",\"NAMEASCII\":\"Carlsbad\",\"POP_MAX\":25302,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.9597187,32.8994763],\"properties\":{\"NAME\":\"Alamogordo\",\"NAMEASCII\":\"Alamogordo\",\"POP_MAX\":36058,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.8744227,42.326627],\"properties\":{\"NAME\":\"Medford\",\"NAMEASCII\":\"Medford\",\"POP_MAX\":108525,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.7805359,42.2250053],\"properties\":{\"NAME\":\"Klamath Falls\",\"NAMEASCII\":\"Klamath Falls\",\"POP_MAX\":42978,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-113.583336,37.1041551],\"properties\":{\"NAME\":\"St. George\",\"NAMEASCII\":\"St. George\",\"POP_MAX\":98638,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.63777,40.2488985],\"properties\":{\"NAME\":\"Provo\",\"NAMEASCII\":\"Provo\",\"POP_MAX\":356712,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.5905681,41.311366],\"properties\":{\"NAME\":\"Laramie\",\"NAMEASCII\":\"Laramie\",\"POP_MAX\":26934,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.3310932,34.7360826],\"properties\":{\"NAME\":\"Little Rock\",\"NAMEASCII\":\"Little Rock\",\"POP_MAX\":270893,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.32765748963789,37.6763377062201],\"properties\":{\"NAME\":\"Wichita\",\"NAMEASCII\":\"Wichita\",\"POP_MAX\":401843,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.173325,38.5766234],\"properties\":{\"NAME\":\"Jefferson City\",\"NAMEASCII\":\"Jefferson City\",\"POP_MAX\":55139,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-103.2305571,44.080551],\"properties\":{\"NAME\":\"Rapid City\",\"NAMEASCII\":\"Rapid City\",\"POP_MAX\":73632,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.0199494,30.199977],\"properties\":{\"NAME\":\"Lafayette\",\"NAMEASCII\":\"Lafayette\",\"POP_MAX\":158214,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.7974801,29.301143],\"properties\":{\"NAME\":\"Galveston\",\"NAMEASCII\":\"Galveston\",\"POP_MAX\":68612,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.3568775,28.9594843],\"properties\":{\"NAME\":\"Freeport\",\"NAMEASCII\":\"Freeport\",\"POP_MAX\":74892,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.0033403,28.8049976],\"properties\":{\"NAME\":\"Victoria\",\"NAMEASCII\":\"Victoria\",\"POP_MAX\":64209,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-102.3672248,31.8455613],\"properties\":{\"NAME\":\"Odessa\",\"NAMEASCII\":\"Odessa\",\"POP_MAX\":106054,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.4930685,33.9136263],\"properties\":{\"NAME\":\"Wichita Falls\",\"NAMEASCII\":\"Wichita Falls\",\"POP_MAX\":101212,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.1463807,31.5491712],\"properties\":{\"NAME\":\"Waco\",\"NAMEASCII\":\"Waco\",\"POP_MAX\":167347,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.8799677,33.5800033],\"properties\":{\"NAME\":\"Lubbock\",\"NAMEASCII\":\"Lubbock\",\"POP_MAX\":213300,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-67.4699492,7.8999945],\"properties\":{\"NAME\":\"San Fernando de Apure\",\"NAMEASCII\":\"San Fernando de Apure\",\"POP_MAX\":122701,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-69.3019125,10.0519384],\"properties\":{\"NAME\":\"Barquisimeto\",\"NAMEASCII\":\"Barquisimeto\",\"POP_MAX\":1116000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-72.6819129,41.771966],\"properties\":{\"NAME\":\"Hartford\",\"NAMEASCII\":\"Hartford\",\"POP_MAX\":913000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.4169256,41.8230482],\"properties\":{\"NAME\":\"Providence\",\"NAMEASCII\":\"Providence\",\"POP_MAX\":1277000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.8249952,33.5300063],\"properties\":{\"NAME\":\"Birmingham\",\"NAMEASCII\":\"Birmingham\",\"POP_MAX\":1128047,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.049985,30.6800252],\"properties\":{\"NAME\":\"Mobile\",\"NAMEASCII\":\"Mobile\",\"POP_MAX\":253466,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.2169351,30.4211263],\"properties\":{\"NAME\":\"Pensacola\",\"NAMEASCII\":\"Pensacola\",\"POP_MAX\":234384,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.6793826,27.7705388],\"properties\":{\"NAME\":\"St. Petersburg\",\"NAMEASCII\":\"St. Petersburg\",\"POP_MAX\":800313,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.8853087,30.3958049],\"properties\":{\"NAME\":\"Biloxi\",\"NAMEASCII\":\"Biloxi\",\"POP_MAX\":50644,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.63712574103997,39.78824659925935],\"properties\":{\"NAME\":\"Springfield\",\"NAMEASCII\":\"Springfield\",\"POP_MAX\":134715,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.8733572,38.2008065],\"properties\":{\"NAME\":\"Frankfort\",\"NAMEASCII\":\"Frankfort\",\"POP_MAX\":36688,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.8000234,36.0700063],\"properties\":{\"NAME\":\"Greensboro\",\"NAMEASCII\":\"Greensboro\",\"POP_MAX\":388887,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.2019333,39.7523219],\"properties\":{\"NAME\":\"Dayton\",\"NAMEASCII\":\"Dayton\",\"POP_MAX\":773000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.9802646,36.8551602],\"properties\":{\"NAME\":\"Virginia Beach\",\"NAMEASCII\":\"Virginia Beach\",\"POP_MAX\":1491000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.401117,43.0730156],\"properties\":{\"NAME\":\"Madison\",\"NAMEASCII\":\"Madison\",\"POP_MAX\":327447,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-88.0000139,44.5299809],\"properties\":{\"NAME\":\"Green Bay\",\"NAMEASCII\":\"Green Bay\",\"POP_MAX\":198611,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-74.7433553,40.2169625],\"properties\":{\"NAME\":\"Trenton\",\"NAMEASCII\":\"Trenton\",\"POP_MAX\":366513,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-63.1700308,9.7499591],\"properties\":{\"NAME\":\"Maturín\",\"NAMEASCII\":\"Maturin\",\"POP_MAX\":410972,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-64.1800208,10.4499939],\"properties\":{\"NAME\":\"Cumaná\",\"NAMEASCII\":\"Cumana\",\"POP_MAX\":317603,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-84.5467363,42.7335272],\"properties\":{\"NAME\":\"Lansing\",\"NAMEASCII\":\"Lansing\",\"POP_MAX\":279952,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-6.2861410092129,36.52482926254671],\"properties\":{\"NAME\":\"Cádiz\",\"NAMEASCII\":\"Cadiz\",\"POP_MAX\":283157,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-3.5850114,37.1649783],\"properties\":{\"NAME\":\"Granada‎\",\"NAMEASCII\":\"Granada\",\"POP_MAX\":388290,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.346014061862125,36.128341769040006],\"properties\":{\"NAME\":\"Gibraltar\",\"NAMEASCII\":\"Gibraltar\",\"POP_MAX\":187083,\"ISO_A2\":\"GI\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-171.7310787,63.7797103],\"properties\":{\"NAME\":\"Gambell\",\"NAMEASCII\":\"Gambell\",\"POP_MAX\":681,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-149.1126919,61.5997142],\"properties\":{\"NAME\":\"Palmer\",\"NAMEASCII\":\"Palmer\",\"POP_MAX\":13111,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-149.4699827,60.1261607],\"properties\":{\"NAME\":\"Seward\",\"NAMEASCII\":\"Seward\",\"POP_MAX\":2900,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[14.1650162,57.7713432],\"properties\":{\"NAME\":\"Jönköping\",\"NAMEASCII\":\"Jonkoping\",\"POP_MAX\":89780,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[18.7166764,63.3180072],\"properties\":{\"NAME\":\"Örnsköldsvik\",\"NAMEASCII\":\"Ornskoldsvik\",\"POP_MAX\":27749,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[35.1748628,47.859243],\"properties\":{\"NAME\":\"Zaporizhzhya\",\"NAMEASCII\":\"Zaporizhzhya\",\"POP_MAX\":788000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[59.0213997,43.768322],\"properties\":{\"NAME\":\"Muynoq\",\"NAMEASCII\":\"Muynoq\",\"POP_MAX\":13000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[67.2729374,37.2329328],\"properties\":{\"NAME\":\"Termiz\",\"NAMEASCII\":\"Termiz\",\"POP_MAX\":177687,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[71.7800008,40.3899752],\"properties\":{\"NAME\":\"Fargona\",\"NAMEASCII\":\"Fargona\",\"POP_MAX\":750000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[71.6699816,41.0000155],\"properties\":{\"NAME\":\"Namangan\",\"NAMEASCII\":\"Namangan\",\"POP_MAX\":750000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[71.5475602,37.4875167],\"properties\":{\"NAME\":\"Khorugh\",\"NAMEASCII\":\"Khorugh\",\"POP_MAX\":30000,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[69.6199259,40.2899813],\"properties\":{\"NAME\":\"Khujand\",\"NAMEASCII\":\"Khujand\",\"POP_MAX\":437684,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[102.8300435,16.4200429],\"properties\":{\"NAME\":\"Khon Kaen\",\"NAMEASCII\":\"Khon Kaen\",\"POP_MAX\":251056,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[105.8300154,21.5999593],\"properties\":{\"NAME\":\"Thái Nguyên\",\"NAMEASCII\":\"Thai Nguyen\",\"POP_MAX\":500000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.7999914,19.8200163],\"properties\":{\"NAME\":\"Thanh Hóa\",\"NAMEASCII\":\"Thanh Hoa\",\"POP_MAX\":197551,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.2000187,20.4200314],\"properties\":{\"NAME\":\"Nam Định\",\"NAMEASCII\":\"Nam Dinh\",\"POP_MAX\":243186,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.6799987,18.6999813],\"properties\":{\"NAME\":\"Vinh\",\"NAMEASCII\":\"Vinh\",\"POP_MAX\":593645,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.6000459,17.4833372],\"properties\":{\"NAME\":\"Đồng Hới\",\"NAMEASCII\":\"Dong Hoi\",\"POP_MAX\":189265,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[31.1999971,-26.4666675],\"properties\":{\"NAME\":\"Lobamba\",\"NAMEASCII\":\"Lobamba\",\"POP_MAX\":9782,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[-86.7969865,15.7631063],\"properties\":{\"NAME\":\"La Ceiba\",\"NAMEASCII\":\"La Ceiba\",\"POP_MAX\":145926,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-88.0299862,15.5000216],\"properties\":{\"NAME\":\"San Pedro Sula\",\"NAMEASCII\":\"San Pedro Sula\",\"POP_MAX\":680091,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-58.2699681,5.9900078],\"properties\":{\"NAME\":\"Linden\",\"NAMEASCII\":\"Linden\",\"POP_MAX\":44690,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-15.2138595,64.2723151],\"properties\":{\"NAME\":\"Höfn\",\"NAMEASCII\":\"Hofn\",\"POP_MAX\":1695,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-1.1299675,37.9799931],\"properties\":{\"NAME\":\"Murcia\",\"NAMEASCII\":\"Murcia\",\"POP_MAX\":406807,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-5.3069994,35.8889838],\"properties\":{\"NAME\":\"Ceuta\",\"NAMEASCII\":\"Ceuta\",\"POP_MAX\":78674,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-8.4199876,43.3299766],\"properties\":{\"NAME\":\"La Coruña\",\"NAMEASCII\":\"La Coruna\",\"POP_MAX\":370610,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-7.8699954,42.3299601],\"properties\":{\"NAME\":\"Ourense\",\"NAMEASCII\":\"Ourense\",\"POP_MAX\":118107,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-72.212516,19.7592224],\"properties\":{\"NAME\":\"Cap-Haïtien\",\"NAMEASCII\":\"Cap-Haitien\",\"POP_MAX\":281487,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-3.2190906,55.9483279],\"properties\":{\"NAME\":\"Edinburgh\",\"NAMEASCII\":\"Edinburgh\",\"POP_MAX\":504966,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.61162548933458,54.98974205316957],\"properties\":{\"NAME\":\"Newcastle\",\"NAMEASCII\":\"Newcastle\",\"POP_MAX\":882000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-2.961934009816594,53.405068298036525],\"properties\":{\"NAME\":\"Liverpool\",\"NAMEASCII\":\"Liverpool\",\"POP_MAX\":811000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-3.167598195527729,51.48261904913091],\"properties\":{\"NAME\":\"Cardiff\",\"NAMEASCII\":\"Cardiff\",\"POP_MAX\":861400,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[30.4150321,40.799976],\"properties\":{\"NAME\":\"Adapazarı\",\"NAMEASCII\":\"Adapazari\",\"POP_MAX\":260109,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[39.7199939,40.9799909],\"properties\":{\"NAME\":\"Trabzon\",\"NAMEASCII\":\"Trabzon\",\"POP_MAX\":764714,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[80.2400012,6.0300053],\"properties\":{\"NAME\":\"Galle\",\"NAMEASCII\":\"Galle\",\"POP_MAX\":99478,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[127.0089472,37.259735],\"properties\":{\"NAME\":\"Suwon\",\"NAMEASCII\":\"Suwon\",\"POP_MAX\":1078000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[-3.0833625,58.4332925],\"properties\":{\"NAME\":\"Wick\",\"NAMEASCII\":\"Wick\",\"POP_MAX\":7147,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-1.551347711412841,53.790016637752316],\"properties\":{\"NAME\":\"Leeds\",\"NAMEASCII\":\"Leeds\",\"POP_MAX\":1529000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[38.7949857,37.1699909],\"properties\":{\"NAME\":\"Şanlıurfa\",\"NAMEASCII\":\"Sanliurfa\",\"POP_MAX\":449549,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.081379140562134,0.171077910128901],\"properties\":{\"NAME\":\"Kasese\",\"NAMEASCII\":\"Kasese\",\"POP_MAX\":67269,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[-1.6499874,42.8200078],\"properties\":{\"NAME\":\"Pamplona\",\"NAMEASCII\":\"Pamplona\",\"POP_MAX\":274545,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[14.5666971,68.2332886],\"properties\":{\"NAME\":\"Svolvær\",\"NAMEASCII\":\"Svolvaer\",\"POP_MAX\":4197,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[14.1666699,66.3166097],\"properties\":{\"NAME\":\"Mo i Rana\",\"NAMEASCII\":\"Mo i Rana\",\"POP_MAX\":20409,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[17.2899934,68.3831502],\"properties\":{\"NAME\":\"Narvik\",\"NAMEASCII\":\"Narvik\",\"POP_MAX\":20000,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[14.4292849,67.2764346],\"properties\":{\"NAME\":\"Bodø\",\"NAMEASCII\":\"Bodo\",\"POP_MAX\":34073,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[-79.8365845,-6.7629089],\"properties\":{\"NAME\":\"Chiclayo\",\"NAMEASCII\":\"Chiclayo\",\"POP_MAX\":596792,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.1399671,-15.4999984],\"properties\":{\"NAME\":\"Juliaca\",\"NAMEASCII\":\"Juliaca\",\"POP_MAX\":245675,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.2699805,-10.6900077],\"properties\":{\"NAME\":\"Cerro de Pasco\",\"NAMEASCII\":\"Cerro de Pasco\",\"POP_MAX\":137232,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.4799677,-6.5099528],\"properties\":{\"NAME\":\"Tarapoto\",\"NAMEASCII\":\"Tarapoto\",\"POP_MAX\":936,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.2199506,-13.175024],\"properties\":{\"NAME\":\"Ayacucho\",\"NAMEASCII\":\"Ayacucho\",\"POP_MAX\":166314,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.1349665,-12.0700268],\"properties\":{\"NAME\":\"Callao\",\"NAMEASCII\":\"Callao\",\"POP_MAX\":876877,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-57.4344119,-23.4063891],\"properties\":{\"NAME\":\"Concepción\",\"NAMEASCII\":\"Concepcion\",\"POP_MAX\":59118,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-56.4333102,-25.7500187],\"properties\":{\"NAME\":\"Villarrica\",\"NAMEASCII\":\"Villarrica\",\"POP_MAX\":41157,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-83.3833706,14.0333411],\"properties\":{\"NAME\":\"Bilwi\",\"NAMEASCII\":\"Puerto Cabezas\",\"POP_MAX\":43001,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-86.8794363,12.4355575],\"properties\":{\"NAME\":\"León\",\"NAMEASCII\":\"Leon\",\"POP_MAX\":164441,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-8.90001,38.5299595],\"properties\":{\"NAME\":\"Setúbal\",\"NAMEASCII\":\"Setubal\",\"POP_MAX\":117974,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.6219471,41.1519522],\"properties\":{\"NAME\":\"Porto\",\"NAMEASCII\":\"Porto\",\"POP_MAX\":1337000,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[41.0788773,19.1263635],\"properties\":{\"NAME\":\"Al Qunfudhah\",\"NAMEASCII\":\"Al Qunfudhah\",\"POP_MAX\":157,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[15.620903943662215,78.22097104117844],\"properties\":{\"NAME\":\"Longyearbyen\",\"NAMEASCII\":\"Longyearbyen\",\"POP_MAX\":1232,\"ISO_A2\":\"SJ\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[4.4780285,51.921915],\"properties\":{\"NAME\":\"Rotterdam\",\"NAMEASCII\":\"Rotterdam\",\"POP_MAX\":1005000,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[6.1300028,49.6116604],\"properties\":{\"NAME\":\"Luxembourg\",\"NAMEASCII\":\"Luxembourg\",\"POP_MAX\":107260,\"ISO_A2\":\"LU\",\"SOV_A3\":\"LUX\"}},{\"type\":\"Point\",\"coordinates\":[5.2774967,59.4119149],\"properties\":{\"NAME\":\"Haugesund\",\"NAMEASCII\":\"Haugesund\",\"POP_MAX\":40321,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[5.6800044,58.9700039],\"properties\":{\"NAME\":\"Stavanger\",\"NAMEASCII\":\"Stavanger\",\"POP_MAX\":173132,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[9.6000236,59.1999898],\"properties\":{\"NAME\":\"Skien\",\"NAMEASCII\":\"Skien\",\"POP_MAX\":73330,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[11.5000109,64.4833108],\"properties\":{\"NAME\":\"Namsos\",\"NAMEASCII\":\"Namsos\",\"POP_MAX\":9035,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[21.0100248,56.5099732],\"properties\":{\"NAME\":\"Liepaga\",\"NAMEASCII\":\"Liepaga\",\"POP_MAX\":85132,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[23.2416715,69.9666453],\"properties\":{\"NAME\":\"Alta\",\"NAMEASCII\":\"Alta\",\"POP_MAX\":12077,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[29.7657493,70.0965968],\"properties\":{\"NAME\":\"Vadsø\",\"NAMEASCII\":\"Vadso\",\"POP_MAX\":5139,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[49.5855932,25.3487486],\"properties\":{\"NAME\":\"Hofuf\",\"NAMEASCII\":\"Al Hufuf\",\"POP_MAX\":637389,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[66.4463212,30.9250491],\"properties\":{\"NAME\":\"Chaman\",\"NAMEASCII\":\"Chaman\",\"POP_MAX\":88568,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[63.0717985,25.9917843],\"properties\":{\"NAME\":\"Turbat\",\"NAMEASCII\":\"Turbat\",\"POP_MAX\":147791,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.1080513,31.4119266],\"properties\":{\"NAME\":\"Faisalabad\",\"NAMEASCII\":\"Faisalabad\",\"POP_MAX\":2617000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[73.06750207299349,33.59100229452351],\"properties\":{\"NAME\":\"Rawalpindi\",\"NAMEASCII\":\"Rawalpindi\",\"POP_MAX\":1858000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[71.6749943,29.3899748],\"properties\":{\"NAME\":\"Bahawalpur\",\"NAMEASCII\":\"Bahawalpur\",\"POP_MAX\":552607,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[69.0117976,25.5317865],\"properties\":{\"NAME\":\"Mirpur Khas\",\"NAMEASCII\":\"Mirput Khas\",\"POP_MAX\":356435,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[68.8485518,27.7135655],\"properties\":{\"NAME\":\"Sukkur\",\"NAMEASCII\":\"Sukkur\",\"POP_MAX\":417767,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[78.38182,42.4920433],\"properties\":{\"NAME\":\"Karakol\",\"NAMEASCII\":\"Karakol\",\"POP_MAX\":70171,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[72.3499918,34.7500352],\"properties\":{\"NAME\":\"Saidu\",\"NAMEASCII\":\"Saidu\",\"POP_MAX\":1860310,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[103.7280944,1.4819705],\"properties\":{\"NAME\":\"Johor Bahru\",\"NAMEASCII\":\"Johor Bahru\",\"POP_MAX\":875000,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[101.4470587176879,3.043281395168714],\"properties\":{\"NAME\":\"Kelang\",\"NAMEASCII\":\"Kelang\",\"POP_MAX\":956000,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[28.3279939,-26.147635],\"properties\":{\"NAME\":\"Benoni\",\"NAMEASCII\":\"Benoni\",\"POP_MAX\":2986000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[27.9580423,-26.6476562],\"properties\":{\"NAME\":\"Vereeniging\",\"NAMEASCII\":\"Vereeniging\",\"POP_MAX\":1074000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[-79.8749801,9.3650214],\"properties\":{\"NAME\":\"Colón\",\"NAMEASCII\":\"Colon\",\"POP_MAX\":204000,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.5666527,8.9499821],\"properties\":{\"NAME\":\"Balboa\",\"NAMEASCII\":\"Balboa\",\"POP_MAX\":62882,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[82.90705104448784,58.311020751051956],\"properties\":{\"NAME\":\"Kolpashevo\",\"NAMEASCII\":\"Kolpashevo\",\"POP_MAX\":27876,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[160.5000118,65.2499823],\"properties\":{\"NAME\":\"Omolon\",\"NAMEASCII\":\"Omolon\",\"POP_MAX\":1050,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[170.3133146,69.7008218],\"properties\":{\"NAME\":\"Pevek\",\"NAMEASCII\":\"Pevek\",\"POP_MAX\":4837,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.3455415,66.6813937],\"properties\":{\"NAME\":\"Umba\",\"NAMEASCII\":\"Umba\",\"POP_MAX\":6128,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.8702311,66.690282],\"properties\":{\"NAME\":\"Kovda\",\"NAMEASCII\":\"Kovda\",\"POP_MAX\":20,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[31.330015,58.4999809],\"properties\":{\"NAME\":\"Velikiy Novgorod\",\"NAMEASCII\":\"Velikiy Novgorod\",\"POP_MAX\":218717,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[30.5200386,56.3199589],\"properties\":{\"NAME\":\"Velikiye Luki\",\"NAMEASCII\":\"Velikiye Luki\",\"POP_MAX\":103149,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.765826,64.5252204],\"properties\":{\"NAME\":\"Belomorsk\",\"NAMEASCII\":\"Belomorsk\",\"POP_MAX\":12165,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.5683703,64.9535921],\"properties\":{\"NAME\":\"Kem\",\"NAMEASCII\":\"Kem\",\"POP_MAX\":13829,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.420799,70.7314484],\"properties\":{\"NAME\":\"Krasino\",\"NAMEASCII\":\"Krasino\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[56.4496968,73.2699916],\"properties\":{\"NAME\":\"Matočkin Šar\",\"NAMEASCII\":\"Matochkin Shar\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.830013,64.5700238],\"properties\":{\"NAME\":\"Severodvinsk\",\"NAMEASCII\":\"Severodvinsk\",\"POP_MAX\":194292,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.1900284,51.7399801],\"properties\":{\"NAME\":\"Kursk\",\"NAMEASCII\":\"Kursk\",\"POP_MAX\":409431,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.6299406,54.1999591],\"properties\":{\"NAME\":\"Tula\",\"NAMEASCII\":\"Tula\",\"POP_MAX\":489486,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.4300187,52.730023],\"properties\":{\"NAME\":\"Tambov\",\"NAMEASCII\":\"Tambov\",\"POP_MAX\":301482,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.9600362,53.6299939],\"properties\":{\"NAME\":\"Sterlitamak\",\"NAMEASCII\":\"Sterlitamak\",\"POP_MAX\":267231,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[65.344993,55.4599597],\"properties\":{\"NAME\":\"Kurgan\",\"NAMEASCII\":\"Kurgan\",\"POP_MAX\":343129,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.0165948,67.689754],\"properties\":{\"NAME\":\"Indiga\",\"NAMEASCII\":\"Indiga\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.1333679,67.8666443],\"properties\":{\"NAME\":\"Shoyna\",\"NAMEASCII\":\"Shoyna\",\"POP_MAX\":300,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[72.9283028,67.6983342],\"properties\":{\"NAME\":\"Novy Port\",\"NAMEASCII\":\"Novy Port\",\"POP_MAX\":1790,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[66.6099804,66.5350202],\"properties\":{\"NAME\":\"Salekhard\",\"NAMEASCII\":\"Salekhard\",\"POP_MAX\":38025,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.4661043,70.8814215],\"properties\":{\"NAME\":\"Gyda\",\"NAMEASCII\":\"Gyda\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[78.6999918,67.4666687],\"properties\":{\"NAME\":\"Tazovsky\",\"NAMEASCII\":\"Tazovskiy\",\"POP_MAX\":5981,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[76.6332446,66.0833165],\"properties\":{\"NAME\":\"Novy Urengoy\",\"NAMEASCII\":\"Novy Urengoy\",\"POP_MAX\":94212,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[72.514788,65.5298102],\"properties\":{\"NAME\":\"Nadym\",\"NAMEASCII\":\"Nadym\",\"POP_MAX\":46339,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[75.6165108,63.1665436],\"properties\":{\"NAME\":\"Noyabrsk\",\"NAMEASCII\":\"Noyabrsk\",\"POP_MAX\":110572,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[50.8199882,61.6599947],\"properties\":{\"NAME\":\"Syktyvkar\",\"NAMEASCII\":\"Syktyvkar\",\"POP_MAX\":230910,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.6899939,63.5599821],\"properties\":{\"NAME\":\"Ukhta\",\"NAMEASCII\":\"Ukhta\",\"POP_MAX\":102187,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.5849735,59.6149774],\"properties\":{\"NAME\":\"Serov\",\"NAMEASCII\":\"Serov\",\"POP_MAX\":98438,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.2500252,56.1299705],\"properties\":{\"NAME\":\"Cheboksary\",\"NAMEASCII\":\"Cheboksary\",\"POP_MAX\":446781,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.6273152,51.2100124],\"properties\":{\"NAME\":\"Orsk\",\"NAMEASCII\":\"Orsk\",\"POP_MAX\":246836,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[47.8000175,52.0299882],\"properties\":{\"NAME\":\"Balakovo\",\"NAMEASCII\":\"Balakovo\",\"POP_MAX\":199572,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[64.4194165,63.193312],\"properties\":{\"NAME\":\"Igrim\",\"NAMEASCII\":\"Igrim\",\"POP_MAX\":9545,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[65.3814249,62.1465283],\"properties\":{\"NAME\":\"Nyagan\",\"NAMEASCII\":\"Nyagan\",\"POP_MAX\":52137,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[69.001514,61.0015336],\"properties\":{\"NAME\":\"Khanty Mansiysk\",\"NAMEASCII\":\"Khanty Mansiysk\",\"POP_MAX\":67800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[76.5800179,60.9349744],\"properties\":{\"NAME\":\"Nizhenvartovsk\",\"NAMEASCII\":\"Nizhenvartovsk\",\"POP_MAX\":244937,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[71.3333097,63.6667198],\"properties\":{\"NAME\":\"Numto\",\"NAMEASCII\":\"Numto\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[74.3782401,56.898244],\"properties\":{\"NAME\":\"Tara\",\"NAMEASCII\":\"Tara\",\"POP_MAX\":26986,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[68.2648148,58.1997925],\"properties\":{\"NAME\":\"Tobolsk\",\"NAMEASCII\":\"Tobolsk\",\"POP_MAX\":113800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[81.2100195,51.5200193],\"properties\":{\"NAME\":\"Rubtsovsk\",\"NAMEASCII\":\"Rubtsovsk\",\"POP_MAX\":161065,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[85.9576884,51.9613361],\"properties\":{\"NAME\":\"Gorno Altaysk\",\"NAMEASCII\":\"Gorno Altaysk\",\"POP_MAX\":59868,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.7099939,53.8999774],\"properties\":{\"NAME\":\"Prokopyevsk\",\"NAMEASCII\":\"Prokopyevsk\",\"POP_MAX\":275615,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.0852152,17.0254582],\"properties\":{\"NAME\":\"Salalah\",\"NAMEASCII\":\"Salalah\",\"POP_MAX\":203877,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[47.4999841,42.9800238],\"properties\":{\"NAME\":\"Makhachkala\",\"NAMEASCII\":\"Makhachkala\",\"POP_MAX\":554981,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[56.734419,24.3619733],\"properties\":{\"NAME\":\"Suhar\",\"NAMEASCII\":\"Suhar\",\"POP_MAX\":151349,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[58.1825362,23.6802458],\"properties\":{\"NAME\":\"Seeb\",\"NAMEASCII\":\"As Sib\",\"POP_MAX\":237816,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[129.3715242,36.020862],\"properties\":{\"NAME\":\"Pohang\",\"NAMEASCII\":\"Pohang\",\"POP_MAX\":435266,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[129.315008,35.5486766],\"properties\":{\"NAME\":\"Ulsan\",\"NAMEASCII\":\"Ulsan\",\"POP_MAX\":1061000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[128.6050255,35.8687346],\"properties\":{\"NAME\":\"Daegu\",\"NAMEASCII\":\"Daegu\",\"POP_MAX\":2460000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[123.7500069,13.1699829],\"properties\":{\"NAME\":\"Legazpi\",\"NAMEASCII\":\"Legazpi\",\"POP_MAX\":320081,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[121.7268746,17.6130967],\"properties\":{\"NAME\":\"Tuguegarao\",\"NAMEASCII\":\"Tuguegarao\",\"POP_MAX\":115105,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.3869047,17.574727],\"properties\":{\"NAME\":\"Vigan\",\"NAMEASCII\":\"Vigan\",\"POP_MAX\":48545,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[100.2500459,64.2832971],\"properties\":{\"NAME\":\"Tura\",\"NAMEASCII\":\"Tura\",\"POP_MAX\":5444,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[91.2333353,64.4833108],\"properties\":{\"NAME\":\"Noginsk\",\"NAMEASCII\":\"Noginsk\",\"POP_MAX\":229731,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[107.7794055,60.3807963],\"properties\":{\"NAME\":\"Yerema\",\"NAMEASCII\":\"Yerema\",\"POP_MAX\":745,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[97.9877034,55.927709],\"properties\":{\"NAME\":\"Tayshet\",\"NAMEASCII\":\"Tayshet\",\"POP_MAX\":52184,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[103.6449808,52.7649821],\"properties\":{\"NAME\":\"Usolye Sibirskoye\",\"NAMEASCII\":\"Usolye Sibirskoye\",\"POP_MAX\":85900,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[103.6988277,51.6538355],\"properties\":{\"NAME\":\"Slyudyanka\",\"NAMEASCII\":\"Slyudyanka\",\"POP_MAX\":18809,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[103.0738529,53.1588082],\"properties\":{\"NAME\":\"Cheremkhovo\",\"NAMEASCII\":\"Cheremkhovo\",\"POP_MAX\":57395,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[102.0330896,53.9330504],\"properties\":{\"NAME\":\"Zima\",\"NAMEASCII\":\"Zima\",\"POP_MAX\":60239,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[100.5653755,54.5653373],\"properties\":{\"NAME\":\"Tulun\",\"NAMEASCII\":\"Tulun\",\"POP_MAX\":51330,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[99.0276916,54.8976685],\"properties\":{\"NAME\":\"Nizhneudinsk\",\"NAMEASCII\":\"Nizhneudinsk\",\"POP_MAX\":43326,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[105.7599939,56.7649705],\"properties\":{\"NAME\":\"Ust-Kut\",\"NAMEASCII\":\"Ust Kut\",\"POP_MAX\":25388,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.1932416160757,57.85074840686792],\"properties\":{\"NAME\":\"Bodaybo\",\"NAMEASCII\":\"Bodaybo\",\"POP_MAX\":15933,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[89.2577453,61.868044],\"properties\":{\"NAME\":\"Komsa\",\"NAMEASCII\":\"Komsa\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[95.710013,56.1900185],\"properties\":{\"NAME\":\"Kansk\",\"NAMEASCII\":\"Kansk\",\"POP_MAX\":101502,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[90.4999951,56.2699878],\"properties\":{\"NAME\":\"Achinsk\",\"NAMEASCII\":\"Achinsk\",\"POP_MAX\":117634,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[92.1565348,58.4515084],\"properties\":{\"NAME\":\"Yeniseysk\",\"NAMEASCII\":\"Yeniseysk\",\"POP_MAX\":19920,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[92.4832849,58.2432524],\"properties\":{\"NAME\":\"Lesosibirsk\",\"NAMEASCII\":\"Lesosibirsk\",\"POP_MAX\":65945,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[87.9549825,65.8381635],\"properties\":{\"NAME\":\"Turukhansk\",\"NAMEASCII\":\"Turukhansk\",\"POP_MAX\":4774,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[83.564191,71.6983226],\"properties\":{\"NAME\":\"Vorontsovo\",\"NAMEASCII\":\"Vorontsovo\",\"POP_MAX\":100,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.8000008,72.7666036],\"properties\":{\"NAME\":\"Starorybnoye\",\"NAMEASCII\":\"Starorybnoye\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.982432,75.0949886],\"properties\":{\"NAME\":\"Mikhaylova\",\"NAMEASCII\":\"Mikhaylova\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.2250105,69.4182033],\"properties\":{\"NAME\":\"Dudinka\",\"NAMEASCII\":\"Dudinka\",\"POP_MAX\":23619,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[90.233293,51.0333049],\"properties\":{\"NAME\":\"Teeli\",\"NAMEASCII\":\"Teli\",\"POP_MAX\":3732,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[111.7338928,56.1349831],\"properties\":{\"NAME\":\"Novyy Uoyin\",\"NAMEASCII\":\"Novyy Uoyin\",\"POP_MAX\":4184,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[113.6000321,54.4333041],\"properties\":{\"NAME\":\"Bagdarin\",\"NAMEASCII\":\"Bagdarin\",\"POP_MAX\":4676,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[109.3129553,55.634006],\"properties\":{\"NAME\":\"Severobaykalsk\",\"NAMEASCII\":\"Severobaykalsk\",\"POP_MAX\":25800,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[106.4526648,50.3526746],\"properties\":{\"NAME\":\"Kyakhta\",\"NAMEASCII\":\"Kyakhta\",\"POP_MAX\":18431,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[128.1311865,51.4061762],\"properties\":{\"NAME\":\"Svobodnyy\",\"NAMEASCII\":\"Svobodnyy\",\"POP_MAX\":63620,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[127.2665881,53.7500124],\"properties\":{\"NAME\":\"Zeya\",\"NAMEASCII\":\"Zeya\",\"POP_MAX\":26999,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[125.8000109,53.4499791],\"properties\":{\"NAME\":\"Magdagachi\",\"NAMEASCII\":\"Magdagachi\",\"POP_MAX\":11739,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[127.6974662,52.0024447],\"properties\":{\"NAME\":\"Shimanovsk\",\"NAMEASCII\":\"Shimanovsk\",\"POP_MAX\":21466,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[123.9166634,53.9833057],\"properties\":{\"NAME\":\"Skovorodino\",\"NAMEASCII\":\"Skovorodino\",\"POP_MAX\":10007,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[124.7075712,55.1742666],\"properties\":{\"NAME\":\"Tynda\",\"NAMEASCII\":\"Tynda\",\"POP_MAX\":37335,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[115.5666304,50.9499766],\"properties\":{\"NAME\":\"Olovyannaya\",\"NAMEASCII\":\"Olovyannaya\",\"POP_MAX\":8247,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[119.7665808,53.7333209],\"properties\":{\"NAME\":\"Mogocha\",\"NAMEASCII\":\"Mogocha\",\"POP_MAX\":12647,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[118.0264803,50.0664905],\"properties\":{\"NAME\":\"Krasnokamensk\",\"NAMEASCII\":\"Krasnokamensk\",\"POP_MAX\":54316,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[116.518562,50.3885639],\"properties\":{\"NAME\":\"Borzya\",\"NAMEASCII\":\"Borzya\",\"POP_MAX\":30421,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[110.4500435,51.3500039],\"properties\":{\"NAME\":\"Khilok\",\"NAMEASCII\":\"Khilok\",\"POP_MAX\":10627,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[132.8874336,42.8374485],\"properties\":{\"NAME\":\"Nakhodka\",\"NAMEASCII\":\"Nakhodka\",\"POP_MAX\":159551,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[132.019993,43.8000255],\"properties\":{\"NAME\":\"Ussuriysk\",\"NAMEASCII\":\"Ussuriysk\",\"POP_MAX\":157068,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.4297778,45.4747553],\"properties\":{\"NAME\":\"Lesozavodsk\",\"NAMEASCII\":\"Lesozavodsk\",\"POP_MAX\":41778,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[136.2166361,70.733291],\"properties\":{\"NAME\":\"Kazachye\",\"NAMEASCII\":\"Kavache\",\"POP_MAX\":-99,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.3849743,67.5447001],\"properties\":{\"NAME\":\"Verkhoyansk\",\"NAMEASCII\":\"Verkhoyansk\",\"POP_MAX\":1388,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[161.3300386,68.7500529],\"properties\":{\"NAME\":\"Chersky\",\"NAMEASCII\":\"Cherskiy\",\"POP_MAX\":3707,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[153.7100386,67.4500031],\"properties\":{\"NAME\":\"Srednekolymsk\",\"NAMEASCII\":\"Srednekolymsk\",\"POP_MAX\":3459,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[150.890004,65.7359733],\"properties\":{\"NAME\":\"Zyryanka\",\"NAMEASCII\":\"Zyryanka\",\"POP_MAX\":3627,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.1833142,60.8000214],\"properties\":{\"NAME\":\"Eldikan\",\"NAMEASCII\":\"Eldikan\",\"POP_MAX\":1516,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[133.8999816,60.1000124],\"properties\":{\"NAME\":\"Chagda\",\"NAMEASCII\":\"Chagda\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.6000329,62.6660057],\"properties\":{\"NAME\":\"Khandyga\",\"NAMEASCII\":\"Khandyga\",\"POP_MAX\":6796,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[134.5433016,60.4565798],\"properties\":{\"NAME\":\"Ust-Maya\",\"NAMEASCII\":\"Ust Maya\",\"POP_MAX\":3062,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[124.7103617,56.6740458],\"properties\":{\"NAME\":\"Neryungri\",\"NAMEASCII\":\"Neryungri\",\"POP_MAX\":66320,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[112.4714188,63.0127545],\"properties\":{\"NAME\":\"Chernyshevsky\",\"NAMEASCII\":\"Chernyshevskiy\",\"POP_MAX\":5137,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[120.5468949,64.3760822],\"properties\":{\"NAME\":\"Terbyas\",\"NAMEASCII\":\"Terbyas\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[121.6247619,63.7552674],\"properties\":{\"NAME\":\"Vilyuysk\",\"NAMEASCII\":\"Vilyuysk\",\"POP_MAX\":9948,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[127.4739139,63.9241459],\"properties\":{\"NAME\":\"Sangar\",\"NAMEASCII\":\"Sangar\",\"POP_MAX\":4633,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[123.3504964,67.9886007],\"properties\":{\"NAME\":\"Menkere\",\"NAMEASCII\":\"Menkere\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.0833101,71.9166297],\"properties\":{\"NAME\":\"Saskylakh\",\"NAMEASCII\":\"Saskylakh\",\"POP_MAX\":1920,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[125.9932808,70.2113591],\"properties\":{\"NAME\":\"Govorovo\",\"NAMEASCII\":\"Govorovo\",\"POP_MAX\":943,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[126.5923521,73.3779331],\"properties\":{\"NAME\":\"Sagastyr\",\"NAMEASCII\":\"Sagastyr\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[119.7729295,72.997783],\"properties\":{\"NAME\":\"Ust-Olenyok\",\"NAMEASCII\":\"Ust Olensk\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[117.6319307,62.1444096],\"properties\":{\"NAME\":\"Suntar\",\"NAMEASCII\":\"Suntar\",\"POP_MAX\":8639,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[112.4500248,68.5250021],\"properties\":{\"NAME\":\"Olenyok\",\"NAMEASCII\":\"Olenek\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[112.3965397,66.4231665],\"properties\":{\"NAME\":\"Udachny\",\"NAMEASCII\":\"Udachnyy\",\"POP_MAX\":15266,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[132.9507889,48.7974207],\"properties\":{\"NAME\":\"Birobidzhan\",\"NAMEASCII\":\"Birobidzhan\",\"POP_MAX\":76146,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.4300175,57.6665951],\"properties\":{\"NAME\":\"Khakhar\",\"NAMEASCII\":\"Khakhar\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[140.7833341,51.4665859],\"properties\":{\"NAME\":\"De-Kastri\",\"NAMEASCII\":\"De Kastri\",\"POP_MAX\":3615,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.3145141,54.7113945],\"properties\":{\"NAME\":\"Chumikan\",\"NAMEASCII\":\"Chumikan\",\"POP_MAX\":1305,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[137.0199979,50.5549878],\"properties\":{\"NAME\":\"Komsomolsk na Amure\",\"NAMEASCII\":\"Komsomolsk na Amure\",\"POP_MAX\":275908,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[138.1673305,56.4542411],\"properties\":{\"NAME\":\"Ayan\",\"NAMEASCII\":\"Ayan\",\"POP_MAX\":1286,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[140.730004,53.1496356],\"properties\":{\"NAME\":\"Nikolayevsk na Amure\",\"NAMEASCII\":\"Nikolayevsk na Amure\",\"POP_MAX\":27152,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[140.2748897,48.9698908],\"properties\":{\"NAME\":\"Sovetskaya Gavan\",\"NAMEASCII\":\"Sovetskaya Gavan\",\"POP_MAX\":29740,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[159.2333191,61.949977],\"properties\":{\"NAME\":\"Evensk\",\"NAMEASCII\":\"Evensk\",\"POP_MAX\":2024,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[150.8999776,60.1000124],\"properties\":{\"NAME\":\"Palatka\",\"NAMEASCII\":\"Palatka\",\"POP_MAX\":21452,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[155.8000402,62.5332748],\"properties\":{\"NAME\":\"Omsukchan\",\"NAMEASCII\":\"Omsukchan\",\"POP_MAX\":4201,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[148.1667594,62.783337],\"properties\":{\"NAME\":\"Susuman\",\"NAMEASCII\":\"Susuman\",\"POP_MAX\":7367,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[143.1667028,51.8332819],\"properties\":{\"NAME\":\"Nogliki\",\"NAMEASCII\":\"Nogliki\",\"POP_MAX\":10098,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.1561185,50.8974992],\"properties\":{\"NAME\":\"Aleksandrovsk Sakhalinskiy\",\"NAMEASCII\":\"Aleksandrovsk Sakhalinskiy\",\"POP_MAX\":12024,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.777476,46.6424359],\"properties\":{\"NAME\":\"Korsakov\",\"NAMEASCII\":\"Korsakov\",\"POP_MAX\":35091,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-116.6199982,31.8699785],\"properties\":{\"NAME\":\"Ensenada\",\"NAMEASCII\":\"Ensenada\",\"POP_MAX\":256565,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.0069282,25.4219046],\"properties\":{\"NAME\":\"Saltillo\",\"NAMEASCII\":\"Saltillo\",\"POP_MAX\":754000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.4919939,31.6923229],\"properties\":{\"NAME\":\"Ciudad Juárez\",\"NAMEASCII\":\"Ciudad Juarez\",\"POP_MAX\":1343000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-105.4999793,28.1999699],\"properties\":{\"NAME\":\"Delicias\",\"NAMEASCII\":\"Delicias\",\"POP_MAX\":114783,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.6700299,24.0311029],\"properties\":{\"NAME\":\"Durango\",\"NAMEASCII\":\"Durango\",\"POP_MAX\":457140,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-108.9999982,25.7899878],\"properties\":{\"NAME\":\"Los Mochis\",\"NAMEASCII\":\"Los Mochis\",\"POP_MAX\":249047,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.1299805,23.7199591],\"properties\":{\"NAME\":\"Ciudad Victoria\",\"NAMEASCII\":\"Ciudad Victoria\",\"POP_MAX\":274900,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-102.2923593,21.8814058],\"properties\":{\"NAME\":\"Aguascalientes\",\"NAMEASCII\":\"Aguascalientes\",\"POP_MAX\":869000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-104.3230851,19.0495866],\"properties\":{\"NAME\":\"Manzanillo\",\"NAMEASCII\":\"Manzanillo\",\"POP_MAX\":110735,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-95.229986,16.3299968],\"properties\":{\"NAME\":\"Tehuantepec\",\"NAMEASCII\":\"Tehuantepec\",\"POP_MAX\":42776,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-92.8999732,17.9999724],\"properties\":{\"NAME\":\"Villahermosa\",\"NAMEASCII\":\"Villahermosa\",\"POP_MAX\":428564,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.2399996,18.9211048],\"properties\":{\"NAME\":\"Cuernavaca\",\"NAMEASCII\":\"Cuernavaca\",\"POP_MAX\":834001,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-100.38666708699424,20.577704021966365],\"properties\":{\"NAME\":\"Querétaro\",\"NAMEASCII\":\"Queretaro\",\"POP_MAX\":961000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-92.2699858,14.8999807],\"properties\":{\"NAME\":\"Tapachula\",\"NAMEASCII\":\"Tapachula\",\"POP_MAX\":221521,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-88.2999956,18.5000193],\"properties\":{\"NAME\":\"Chetumal\",\"NAMEASCII\":\"Chetumal\",\"POP_MAX\":154517,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.6665788,21.283312],\"properties\":{\"NAME\":\"Progreso\",\"NAMEASCII\":\"Progreso\",\"POP_MAX\":47124,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[104.772974,16.537581],\"properties\":{\"NAME\":\"Savannakhet\",\"NAMEASCII\":\"Savannakhet\",\"POP_MAX\":84898,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[110.1500101,44.8666012],\"properties\":{\"NAME\":\"Buyant-Uhaa\",\"NAMEASCII\":\"Buyant-Uhaa\",\"POP_MAX\":8776,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[125.450488,38.7688666],\"properties\":{\"NAME\":\"Nampo\",\"NAMEASCII\":\"Nampo\",\"POP_MAX\":1127000,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[129.79,41.7846188],\"properties\":{\"NAME\":\"Chongjin\",\"NAMEASCII\":\"Chongjin\",\"POP_MAX\":672614,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[129.202749,40.6723094],\"properties\":{\"NAME\":\"Kimchaek\",\"NAMEASCII\":\"Kimchaek\",\"POP_MAX\":187270,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[127.5434883,39.912002],\"properties\":{\"NAME\":\"Hamhung\",\"NAMEASCII\":\"Hamhung\",\"POP_MAX\":773000,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[110.6500313,47.3166842],\"properties\":{\"NAME\":\"Öndörkhaan\",\"NAMEASCII\":\"Ondorhaan\",\"POP_MAX\":14723,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[100.9833345,46.3000021],\"properties\":{\"NAME\":\"Bayankhongor\",\"NAMEASCII\":\"Bayankhongor\",\"POP_MAX\":26252,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[96.8167155,47.7500169],\"properties\":{\"NAME\":\"Uliastay\",\"NAMEASCII\":\"Uliastay\",\"POP_MAX\":8056,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[96.25584996694963,46.36185818585002],\"properties\":{\"NAME\":\"Altai\",\"NAMEASCII\":\"Altay\",\"POP_MAX\":32488,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[100.1544445,49.6452759],\"properties\":{\"NAME\":\"Mörön\",\"NAMEASCII\":\"Moron\",\"POP_MAX\":27690,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[92.0666178,49.9833173],\"properties\":{\"NAME\":\"Ulaangom\",\"NAMEASCII\":\"Ulaangom\",\"POP_MAX\":35796,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[103.5317061,48.8105982],\"properties\":{\"NAME\":\"Bulgan\",\"NAMEASCII\":\"Bulgan\",\"POP_MAX\":17348,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[106.2660095,45.7499839],\"properties\":{\"NAME\":\"Mandalgovi\",\"NAMEASCII\":\"Mandalgovi\",\"POP_MAX\":2984,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[105.97254426003542,49.46239175748236],\"properties\":{\"NAME\":\"Darkhan\",\"NAMEASCII\":\"Darhan\",\"POP_MAX\":74738,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[106.4666174,48.8665896],\"properties\":{\"NAME\":\"Züünkharaa\",\"NAMEASCII\":\"Dzuunharaa\",\"POP_MAX\":18830,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[102.7665848,46.2499793],\"properties\":{\"NAME\":\"Arvaikheer\",\"NAMEASCII\":\"Arvayheer\",\"POP_MAX\":28053,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[113.2833073,46.6999776],\"properties\":{\"NAME\":\"Baruun-Urt\",\"NAMEASCII\":\"Baruun Urt\",\"POP_MAX\":15805,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[165.3000288,62.5499921],\"properties\":{\"NAME\":\"Manily\",\"NAMEASCII\":\"Manily\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[156.2387215,52.663593],\"properties\":{\"NAME\":\"Oktyabrsky\",\"NAMEASCII\":\"Oktyabrskiy\",\"POP_MAX\":1534,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[160.8500162,56.2999601],\"properties\":{\"NAME\":\"Klyuchi\",\"NAMEASCII\":\"Klyuchi\",\"POP_MAX\":1089,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[162.4349841,56.2135055],\"properties\":{\"NAME\":\"Ust-Kamchatsk\",\"NAMEASCII\":\"Ust Kamchatsk\",\"POP_MAX\":4939,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-8.465109738576434,51.89283760162047],\"properties\":{\"NAME\":\"Cork\",\"NAMEASCII\":\"Cork\",\"POP_MAX\":188907,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[8.5700089,40.7300061],\"properties\":{\"NAME\":\"Sassari\",\"NAMEASCII\":\"Sassari\",\"POP_MAX\":120729,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[7.6680146,45.072333],\"properties\":{\"NAME\":\"Turin\",\"NAMEASCII\":\"Turin\",\"POP_MAX\":1652000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[97.00673971886268,32.997718310014406],\"properties\":{\"NAME\":\"Jyekundo\",\"NAMEASCII\":\"Jyekundo\",\"POP_MAX\":23000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.41352949573252,24.32077729521669],\"properties\":{\"NAME\":\"Liuzhou\",\"NAMEASCII\":\"Liuzhou\",\"POP_MAX\":1497000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.8880753,25.092364],\"properties\":{\"NAME\":\"Xingyi\",\"NAMEASCII\":\"Xingyi\",\"POP_MAX\":816000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.9280635,26.2523448],\"properties\":{\"NAME\":\"Anshun\",\"NAMEASCII\":\"Anshun\",\"POP_MAX\":849000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.9180805,27.7019721],\"properties\":{\"NAME\":\"Zunyi\",\"NAMEASCII\":\"Zunyi\",\"POP_MAX\":849000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.4000394,30.8199909],\"properties\":{\"NAME\":\"Wanzhou\",\"NAMEASCII\":\"Wanzhou\",\"POP_MAX\":1680000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.7480749,33.9523141],\"properties\":{\"NAME\":\"Huaibei\",\"NAMEASCII\":\"Huaibei\",\"POP_MAX\":913000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.3680277,31.3523695],\"properties\":{\"NAME\":\"Wuhu\",\"NAMEASCII\":\"Wuhu\",\"POP_MAX\":810000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.4780655,31.7522934],\"properties\":{\"NAME\":\"Luan\",\"NAMEASCII\":\"Luan\",\"POP_MAX\":1690000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.3280911,32.9519359],\"properties\":{\"NAME\":\"Bengbu\",\"NAMEASCII\":\"Bengbu\",\"POP_MAX\":894000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.0500024,30.4999587],\"properties\":{\"NAME\":\"Anqing\",\"NAMEASCII\":\"Anqing\",\"POP_MAX\":580497,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.1135762389419,23.01047704904841],\"properties\":{\"NAME\":\"Foshan\",\"NAMEASCII\":\"Foshan\",\"POP_MAX\":943000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.5000008,0.1332593],\"properties\":{\"NAME\":\"Bontang\",\"NAMEASCII\":\"Bontang\",\"POP_MAX\":101691,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[115.2199849,-8.6500289],\"properties\":{\"NAME\":\"Denpasar\",\"NAMEASCII\":\"Denpasar\",\"POP_MAX\":732344,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[166.4442852,-22.2625278],\"properties\":{\"NAME\":\"Nouméa\",\"NAMEASCII\":\"Noumea\",\"POP_MAX\":93060,\"ISO_A2\":\"NC\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-80.4599832,-1.0600012],\"properties\":{\"NAME\":\"Portoviejo\",\"NAMEASCII\":\"Portoviejo\",\"POP_MAX\":213601,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-75.5699974,6.329987],\"properties\":{\"NAME\":\"Bello\",\"NAMEASCII\":\"Bello\",\"POP_MAX\":519670,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-75.8900037,8.7575391],\"properties\":{\"NAME\":\"Montería\",\"NAMEASCII\":\"Monteria\",\"POP_MAX\":275198,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.1278289,7.1320391],\"properties\":{\"NAME\":\"Bucaramanga\",\"NAMEASCII\":\"Bucaramanga\",\"POP_MAX\":1009000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-83.6980801,22.4175063],\"properties\":{\"NAME\":\"Pinar del Rio\",\"NAMEASCII\":\"Pinar del Rio\",\"POP_MAX\":186990,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-77.9169342,21.3808254],\"properties\":{\"NAME\":\"Camagüey\",\"NAMEASCII\":\"Camaguey\",\"POP_MAX\":347562,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-75.2061436,20.1452936],\"properties\":{\"NAME\":\"Guantánamo\",\"NAMEASCII\":\"Guantanamo\",\"POP_MAX\":272801,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-76.2630559,20.887238],\"properties\":{\"NAME\":\"Holguín\",\"NAMEASCII\":\"Holguin\",\"POP_MAX\":319102,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-77.9166759,18.466688],\"properties\":{\"NAME\":\"Montego Bay\",\"NAMEASCII\":\"Montego Bay\",\"POP_MAX\":126008,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-75.2322144,4.4389138],\"properties\":{\"NAME\":\"Ibagué\",\"NAMEASCII\":\"Ibague\",\"POP_MAX\":421685,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.6100114,2.4199931],\"properties\":{\"NAME\":\"Popayán\",\"NAMEASCII\":\"Popayan\",\"POP_MAX\":258750,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.2016571,11.2472062],\"properties\":{\"NAME\":\"Santa Marta\",\"NAMEASCII\":\"Santa Marta\",\"POP_MAX\":431781,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-72.5199768,7.9200191],\"properties\":{\"NAME\":\"Cúcuta\",\"NAMEASCII\":\"Cucuta\",\"POP_MAX\":722146,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-73.6349992,4.153324],\"properties\":{\"NAME\":\"Villavicencio\",\"NAMEASCII\":\"Villavicencio\",\"POP_MAX\":374763,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-79.9666541,22.4000139],\"properties\":{\"NAME\":\"Santa Clara\",\"NAMEASCII\":\"Santa Clara\",\"POP_MAX\":250512,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-6.8200336,62.0300238],\"properties\":{\"NAME\":\"Tórshavn\",\"NAMEASCII\":\"Torshavn\",\"POP_MAX\":14398,\"ISO_A2\":\"FO\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[31.1900236,30.0099886],\"properties\":{\"NAME\":\"Giza\",\"NAMEASCII\":\"El Giza\",\"POP_MAX\":2681863,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[9.1999963,48.7799799],\"properties\":{\"NAME\":\"Stuttgart\",\"NAMEASCII\":\"Stuttgart\",\"POP_MAX\":2944700,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[8.8000207,53.0800016],\"properties\":{\"NAME\":\"Bremen\",\"NAMEASCII\":\"Bremen\",\"POP_MAX\":724909,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.0799849,49.4499907],\"properties\":{\"NAME\":\"Nürnberg\",\"NAMEASCII\":\"Nurnberg\",\"POP_MAX\":737304,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[92.0500297,31.4800023],\"properties\":{\"NAME\":\"Nagchu\",\"NAMEASCII\":\"Nagchu\",\"POP_MAX\":2500,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[94.36651015429543,29.650743961466343],\"properties\":{\"NAME\":\"Nyingchi\",\"NAMEASCII\":\"Nyingchi\",\"POP_MAX\":100,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[97.18093874825455,31.140937622131112],\"properties\":{\"NAME\":\"Chamdo\",\"NAMEASCII\":\"Chamdo\",\"POP_MAX\":100000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[86.150028,41.7299968],\"properties\":{\"NAME\":\"Korla\",\"NAMEASCII\":\"Korla\",\"POP_MAX\":613000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[82.9363741,41.7277488],\"properties\":{\"NAME\":\"Kuqa\",\"NAMEASCII\":\"Kuqa\",\"POP_MAX\":470600,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[82.9500166,46.7500263],\"properties\":{\"NAME\":\"Tacheng\",\"NAMEASCII\":\"Tacheng\",\"POP_MAX\":49796,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[86.029932,44.2999691],\"properties\":{\"NAME\":\"Shihezi\",\"NAMEASCII\":\"Shihezi\",\"POP_MAX\":640000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[84.8599259,45.589942],\"properties\":{\"NAME\":\"Karamay\",\"NAMEASCII\":\"Karamay\",\"POP_MAX\":261445,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[80.2500264,41.1500063],\"properties\":{\"NAME\":\"Aksu\",\"NAMEASCII\":\"Aksu\",\"POP_MAX\":695000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.5040317,18.2591045],\"properties\":{\"NAME\":\"Sanya\",\"NAMEASCII\":\"Sanya\",\"POP_MAX\":362689,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.3200256,20.0500023],\"properties\":{\"NAME\":\"Haikou\",\"NAMEASCII\":\"Haikou\",\"POP_MAX\":2046189,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[107.0299939,33.1299791],\"properties\":{\"NAME\":\"Hanzhong\",\"NAMEASCII\":\"Hanzhong\",\"POP_MAX\":145986,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[107.1499865,34.3800061],\"properties\":{\"NAME\":\"Baoji\",\"NAMEASCII\":\"Baoji\",\"POP_MAX\":800000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.0299751,35.0799892],\"properties\":{\"NAME\":\"Tongchuan\",\"NAMEASCII\":\"Tongchuan\",\"POP_MAX\":282258,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.5180582,36.0822875],\"properties\":{\"NAME\":\"Linfen\",\"NAMEASCII\":\"Linfen\",\"POP_MAX\":834000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.7280618,37.6823448],\"properties\":{\"NAME\":\"Yuci\",\"NAMEASCII\":\"Yuci\",\"POP_MAX\":840000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.2980529,40.0819658],\"properties\":{\"NAME\":\"Datong\",\"NAMEASCII\":\"Datong\",\"POP_MAX\":1873000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.1580614,30.6519988],\"properties\":{\"NAME\":\"Jianmen\",\"NAMEASCII\":\"Jianmen\",\"POP_MAX\":1708000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.2780728,30.7019182],\"properties\":{\"NAME\":\"Yichang\",\"NAMEASCII\":\"Yichang\",\"POP_MAX\":875000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.438096,30.3723518],\"properties\":{\"NAME\":\"Xiantao\",\"NAMEASCII\":\"Xiantao\",\"POP_MAX\":1556000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.0300223,31.1799947],\"properties\":{\"NAME\":\"Macheng\",\"NAMEASCII\":\"Macheng\",\"POP_MAX\":126366,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.0999922,30.2200016],\"properties\":{\"NAME\":\"Huangshi\",\"NAMEASCII\":\"Huangshi\",\"POP_MAX\":688090,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.1480879,27.8319384],\"properties\":{\"NAME\":\"Zhuzhou\",\"NAMEASCII\":\"Zhuzhou\",\"POP_MAX\":1080000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.60913498645752,26.417919935871467],\"properties\":{\"NAME\":\"Yongzhou\",\"NAMEASCII\":\"Yongzhou\",\"POP_MAX\":1000000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.3280862,28.6023564],\"properties\":{\"NAME\":\"Yiyang\",\"NAMEASCII\":\"Yiyang\",\"POP_MAX\":1352000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.6781001,29.0319426],\"properties\":{\"NAME\":\"Changde\",\"NAMEASCII\":\"Changde\",\"POP_MAX\":1469000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.2000752,26.9999915],\"properties\":{\"NAME\":\"Shaoyang\",\"NAMEASCII\":\"Shaoyang\",\"POP_MAX\":45617,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.7314017,29.5690416],\"properties\":{\"NAME\":\"Leshan\",\"NAMEASCII\":\"Leshan\",\"POP_MAX\":1157000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.7300073,26.5499931],\"properties\":{\"NAME\":\"Panzhihua\",\"NAMEASCII\":\"Panzhihua\",\"POP_MAX\":461513,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.7167171,29.3500031],\"properties\":{\"NAME\":\"Fulin\",\"NAMEASCII\":\"Fulin\",\"POP_MAX\":1049,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.870013,32.429996],\"properties\":{\"NAME\":\"Guangyuan\",\"NAMEASCII\":\"Guangyuan\",\"POP_MAX\":437435,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.3780712,28.8819259],\"properties\":{\"NAME\":\"Luzhou\",\"NAMEASCII\":\"Luzhou\",\"POP_MAX\":1537000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.5680948,28.7719327],\"properties\":{\"NAME\":\"Yibin\",\"NAMEASCII\":\"Yibin\",\"POP_MAX\":902000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.7180692,27.3223312],\"properties\":{\"NAME\":\"Zhaotang\",\"NAMEASCII\":\"Zhaotang\",\"POP_MAX\":809000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[100.2665824,26.8000037],\"properties\":{\"NAME\":\"Lijiang\",\"NAMEASCII\":\"Lijiang\",\"POP_MAX\":18445,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.5700077,24.3799964],\"properties\":{\"NAME\":\"Yuxi\",\"NAMEASCII\":\"Yuxi\",\"POP_MAX\":396325,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[100.25031881794612,25.59373112349816],\"properties\":{\"NAME\":\"Dali\",\"NAMEASCII\":\"Dali\",\"POP_MAX\":156685,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.6180805,39.9323109],\"properties\":{\"NAME\":\"Qinhuangdao\",\"NAMEASCII\":\"Qinhuangdao\",\"POP_MAX\":1003000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.6780533,39.5223101],\"properties\":{\"NAME\":\"Langfang\",\"NAMEASCII\":\"Langfang\",\"POP_MAX\":810000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.85202691011438,40.80525516933235],\"properties\":{\"NAME\":\"Zhangjiakou\",\"NAMEASCII\":\"Zhangjiakou\",\"POP_MAX\":1046000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.1924311,39.626283],\"properties\":{\"NAME\":\"Tangshan\",\"NAMEASCII\":\"Tangshan\",\"POP_MAX\":1879000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.3480663,36.0819257],\"properties\":{\"NAME\":\"Anyang\",\"NAMEASCII\":\"Anyang\",\"POP_MAX\":887000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.25955287067012,35.200690500087106],\"properties\":{\"NAME\":\"Jiaozuo\",\"NAMEASCII\":\"Jiaozuo\",\"POP_MAX\":857000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.35481884772807,34.793813585881864],\"properties\":{\"NAME\":\"Kaifeng\",\"NAMEASCII\":\"Kaifeng\",\"POP_MAX\":872000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.64961002215703,34.4129416652438],\"properties\":{\"NAME\":\"Shangqiu\",\"NAMEASCII\":\"Shangqiu\",\"POP_MAX\":1753000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.2980529,33.7323534],\"properties\":{\"NAME\":\"Pingdingshan\",\"NAMEASCII\":\"Pingdingshan\",\"POP_MAX\":849000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.0680317,32.1323219],\"properties\":{\"NAME\":\"Xinyang\",\"NAMEASCII\":\"Xinyang\",\"POP_MAX\":1541000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.90892644214637,35.30157530547628],\"properties\":{\"NAME\":\"Xinxiang\",\"NAMEASCII\":\"Xinxiang\",\"POP_MAX\":903000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.44447121332469,34.643770028425635],\"properties\":{\"NAME\":\"Luoyang\",\"NAMEASCII\":\"Luoyang\",\"POP_MAX\":1715000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.17807,41.2819443],\"properties\":{\"NAME\":\"Liaoyang\",\"NAMEASCII\":\"Liaoyang\",\"POP_MAX\":794000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[124.3916393,40.1455537],\"properties\":{\"NAME\":\"Dandong\",\"NAMEASCII\":\"Dandong\",\"POP_MAX\":870000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.2780732,40.6722915],\"properties\":{\"NAME\":\"Yingkow\",\"NAMEASCII\":\"Yingkow\",\"POP_MAX\":795000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.0980936,41.1223158],\"properties\":{\"NAME\":\"Jinzhou\",\"NAMEASCII\":\"Jinzhou\",\"POP_MAX\":956000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.6580594,42.0124165],\"properties\":{\"NAME\":\"Fuxin\",\"NAMEASCII\":\"Fuxin\",\"POP_MAX\":770000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.748061,41.3323288],\"properties\":{\"NAME\":\"Benxi\",\"NAMEASCII\":\"Benxi\",\"POP_MAX\":1012000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.8680537,41.8673349],\"properties\":{\"NAME\":\"Fushun\",\"NAMEASCII\":\"Fushun\",\"POP_MAX\":1470000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.5480871,35.4023548],\"properties\":{\"NAME\":\"Jining\",\"NAMEASCII\":\"Jining\",\"POP_MAX\":1186000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.15562569942898,36.702285137592035],\"properties\":{\"NAME\":\"Weifang\",\"NAMEASCII\":\"Weifang\",\"POP_MAX\":1553000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.1181298,36.2019443],\"properties\":{\"NAME\":\"Taian\",\"NAMEASCII\":\"Taian\",\"POP_MAX\":1629000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.4481025,35.2319259],\"properties\":{\"NAME\":\"Heze\",\"NAMEASCII\":\"Heze\",\"POP_MAX\":1338000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.7084354,36.9684011],\"properties\":{\"NAME\":\"Laiyang\",\"NAMEASCII\":\"Laiyang\",\"POP_MAX\":250000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.9280309,27.801966],\"properties\":{\"NAME\":\"Xinyu\",\"NAMEASCII\":\"Xinyu\",\"POP_MAX\":913000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.9500272,25.9199799],\"properties\":{\"NAME\":\"Ganzhou\",\"NAMEASCII\":\"Ganzhou\",\"POP_MAX\":1500000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.9800419,29.7299799],\"properties\":{\"NAME\":\"Jiujiang\",\"NAMEASCII\":\"Jiujiang\",\"POP_MAX\":545616,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9680333,31.7819298],\"properties\":{\"NAME\":\"Changzhou\",\"NAMEASCII\":\"Changzhou\",\"POP_MAX\":1327000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.43048109709629,32.175729712978345],\"properties\":{\"NAME\":\"Zhenjiang\",\"NAMEASCII\":\"Zhenjiang\",\"POP_MAX\":854000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.92458731909477,31.982268964224712],\"properties\":{\"NAME\":\"Nantong\",\"NAMEASCII\":\"Nantong\",\"POP_MAX\":947000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.7480374,30.7723532],\"properties\":{\"NAME\":\"Jiaxing\",\"NAMEASCII\":\"Jiaxing\",\"POP_MAX\":988000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.0980513,30.8723212],\"properties\":{\"NAME\":\"Huzhou\",\"NAMEASCII\":\"Huzhou\",\"POP_MAX\":1231000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.5681001,30.0023227],\"properties\":{\"NAME\":\"Shaoxing\",\"NAMEASCII\":\"Shaoxing\",\"POP_MAX\":777000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.6499987,29.1200429],\"properties\":{\"NAME\":\"Jinhua\",\"NAMEASCII\":\"Jinhua\",\"POP_MAX\":1092852,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.1299743,42.899977],\"properties\":{\"NAME\":\"Liaoyuan\",\"NAMEASCII\":\"Liaoyuan\",\"POP_MAX\":506548,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.8200756,42.9699986],\"properties\":{\"NAME\":\"Tumen\",\"NAMEASCII\":\"Tumen\",\"POP_MAX\":99721,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[124.3300232,43.1700122],\"properties\":{\"NAME\":\"Siping\",\"NAMEASCII\":\"Siping\",\"POP_MAX\":555609,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.8200378,45.6200177],\"properties\":{\"NAME\":\"Baicheng\",\"NAMEASCII\":\"Baicheng\",\"POP_MAX\":386861,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.561064,31.5859648],\"properties\":{\"NAME\":\"Kagoshima\",\"NAMEASCII\":\"Kagoshima\",\"POP_MAX\":555352,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[132.765839,33.8455426],\"properties\":{\"NAME\":\"Matsuyama\",\"NAMEASCII\":\"Matsuyama\",\"POP_MAX\":533541,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[106.8122294,39.6646965],\"properties\":{\"NAME\":\"Wuhai\",\"NAMEASCII\":\"Wuhai\",\"POP_MAX\":218427,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.9654549,43.6615585],\"properties\":{\"NAME\":\"Erenhot\",\"NAMEASCII\":\"Erenhot\",\"POP_MAX\":22287,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.0800122,41.0299878],\"properties\":{\"NAME\":\"Jining\",\"NAMEASCII\":\"Jining\",\"POP_MAX\":281716,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9666202,47.1833073],\"properties\":{\"NAME\":\"Arxan\",\"NAMEASCII\":\"Arxan\",\"POP_MAX\":32023,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.4299792,49.5999815],\"properties\":{\"NAME\":\"Manzhouli\",\"NAMEASCII\":\"Manzhouli\",\"POP_MAX\":93620,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.0443274,43.9443319],\"properties\":{\"NAME\":\"Xilinhot\",\"NAMEASCII\":\"Xilinhot\",\"POP_MAX\":120965,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[127.4460087,50.2500193],\"properties\":{\"NAME\":\"Heihe\",\"NAMEASCII\":\"Heihe\",\"POP_MAX\":109427,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[131.00906045817408,45.76785201225666],\"properties\":{\"NAME\":\"Qitaihe\",\"NAMEASCII\":\"Qitaihe\",\"POP_MAX\":450617,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[128.8980309,47.7018883],\"properties\":{\"NAME\":\"Yichun\",\"NAMEASCII\":\"Yichun\",\"POP_MAX\":777000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.2967317638128,47.34662706575081],\"properties\":{\"NAME\":\"Hegang\",\"NAMEASCII\":\"Hegang\",\"POP_MAX\":743307,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[125.2300199,49.1799813],\"properties\":{\"NAME\":\"Nenjiang\",\"NAMEASCII\":\"Nenjiang\",\"POP_MAX\":87236,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[124.8800154,48.4899976],\"properties\":{\"NAME\":\"Nehe\",\"NAMEASCII\":\"Nehe\",\"POP_MAX\":108253,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.5880663,44.5769628],\"properties\":{\"NAME\":\"Mudangiang\",\"NAMEASCII\":\"Mudangiang\",\"POP_MAX\":1244000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[136.6400211,36.5600023],\"properties\":{\"NAME\":\"Kanazawa\",\"NAMEASCII\":\"Kanazawa\",\"POP_MAX\":551249,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.9800146,42.3499589],\"properties\":{\"NAME\":\"Muroran\",\"NAMEASCII\":\"Muroran\",\"POP_MAX\":155676,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[142.3799808,43.7550153],\"properties\":{\"NAME\":\"Asahikawa\",\"NAMEASCII\":\"Asahikawa\",\"POP_MAX\":356612,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[135.1699816,34.6799878],\"properties\":{\"NAME\":\"Kōbe\",\"NAMEASCII\":\"Kobe\",\"POP_MAX\":1528478,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.602021,35.4306562],\"properties\":{\"NAME\":\"Yokohama\",\"NAMEASCII\":\"Yokohama\",\"POP_MAX\":3697894,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.0899914,39.7099909],\"properties\":{\"NAME\":\"Akita\",\"NAMEASCII\":\"Akita\",\"POP_MAX\":320069,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.7100052,40.8250391],\"properties\":{\"NAME\":\"Aomori\",\"NAMEASCII\":\"Aomori\",\"POP_MAX\":298394,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.4700199,40.5699901],\"properties\":{\"NAME\":\"Hirosaki\",\"NAMEASCII\":\"Hirosaki\",\"POP_MAX\":174972,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[141.5400321,40.5099937],\"properties\":{\"NAME\":\"Hachinohe\",\"NAMEASCII\":\"Hachinohe\",\"POP_MAX\":239046,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.4700199,37.7400078],\"properties\":{\"NAME\":\"Fukushima\",\"NAMEASCII\":\"Fukushima\",\"POP_MAX\":294237,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[141.1300313,39.7200161],\"properties\":{\"NAME\":\"Morioka\",\"NAMEASCII\":\"Morioka\",\"POP_MAX\":295172,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.0400297,37.9199968],\"properties\":{\"NAME\":\"Niigata\",\"NAMEASCII\":\"Niigata\",\"POP_MAX\":569797,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[131.2849991,-0.8554142],\"properties\":{\"NAME\":\"Sorong\",\"NAMEASCII\":\"Sorong\",\"POP_MAX\":125535,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-88.5926518,15.7174953],\"properties\":{\"NAME\":\"Puerto Barrios\",\"NAMEASCII\":\"Puerto Barrios\",\"POP_MAX\":56605,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[82.237502,16.9674772],\"properties\":{\"NAME\":\"Kakinada\",\"NAMEASCII\":\"Kakinada\",\"POP_MAX\":292923,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.5799898,18.0099976],\"properties\":{\"NAME\":\"Warangal\",\"NAMEASCII\":\"Warangal\",\"POP_MAX\":1203853,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[84.7999812,19.3199951],\"properties\":{\"NAME\":\"Brahmapur\",\"NAMEASCII\":\"Brahmapur\",\"POP_MAX\":324726,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.7099934,16.8354181],\"properties\":{\"NAME\":\"Vijayapura\",\"NAMEASCII\":\"Vijayapura\",\"POP_MAX\":271064,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.12805,19.351965],\"properties\":{\"NAME\":\"Bhiwandi\",\"NAMEASCII\":\"Bhiwandi\",\"POP_MAX\":795000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.5699926,18.400413],\"properties\":{\"NAME\":\"Latur\",\"NAMEASCII\":\"Latur\",\"POP_MAX\":374394,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.74577387962105,19.082030985088274],\"properties\":{\"NAME\":\"Ahmednagar\",\"NAMEASCII\":\"Ahmednagar\",\"POP_MAX\":391760,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.3000069,19.9699813],\"properties\":{\"NAME\":\"Chandrapur\",\"NAMEASCII\":\"Chandrapur\",\"POP_MAX\":595118,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.78180983488605,20.925616407680952],\"properties\":{\"NAME\":\"Amravati\",\"NAMEASCII\":\"Amravati\",\"POP_MAX\":734451,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.7699991,20.8999762],\"properties\":{\"NAME\":\"Dhule\",\"NAMEASCII\":\"Dhule\",\"POP_MAX\":479073,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[94.8999849,27.4833211],\"properties\":{\"NAME\":\"Dibrugarh\",\"NAMEASCII\":\"Dibrugarh\",\"POP_MAX\":166366,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[93.950017,24.7999707],\"properties\":{\"NAME\":\"Imphal\",\"NAMEASCII\":\"Imphal\",\"POP_MAX\":264986,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[179.3833036,-16.4165832],\"properties\":{\"NAME\":\"Labasa\",\"NAMEASCII\":\"Labasa\",\"POP_MAX\":24187,\"ISO_A2\":\"FJ\",\"SOV_A3\":\"FJI\"}},{\"type\":\"Point\",\"coordinates\":[-1.670012,48.1000214],\"properties\":{\"NAME\":\"Rennes\",\"NAMEASCII\":\"Rennes\",\"POP_MAX\":209375,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[7.2630781,43.7169636],\"properties\":{\"NAME\":\"Nice\",\"NAMEASCII\":\"Nice\",\"POP_MAX\":927000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.4479809,43.6219048],\"properties\":{\"NAME\":\"Toulouse\",\"NAMEASCII\":\"Toulouse\",\"POP_MAX\":847000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[1.2499906,45.8299791],\"properties\":{\"NAME\":\"Limoges\",\"NAMEASCII\":\"Limoges\",\"POP_MAX\":152199,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[3.0780622,50.651915],\"properties\":{\"NAME\":\"Lille\",\"NAMEASCII\":\"Lille\",\"POP_MAX\":1044000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[7.7500073,48.5799662],\"properties\":{\"NAME\":\"Strasbourg\",\"NAMEASCII\":\"Strasbourg\",\"POP_MAX\":439972,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-72.7000175,-45.3999304],\"properties\":{\"NAME\":\"Puerto Aisén\",\"NAMEASCII\":\"Puerto Aisen\",\"POP_MAX\":8067,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.5116828,-51.7183044],\"properties\":{\"NAME\":\"Puerto Natales\",\"NAMEASCII\":\"Puerto Natales\",\"POP_MAX\":20000,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-67.6167102,-54.933302],\"properties\":{\"NAME\":\"Puerto Williams\",\"NAMEASCII\":\"Puerto Williams\",\"POP_MAX\":2500,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.579999,-38.7300016],\"properties\":{\"NAME\":\"Temuco\",\"NAMEASCII\":\"Temuco\",\"POP_MAX\":265901,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-37.1833224,65.566578],\"properties\":{\"NAME\":\"Kulusuk\",\"NAMEASCII\":\"Kulusuk\",\"POP_MAX\":286,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-49.6350701,62.0041024],\"properties\":{\"NAME\":\"Paamiut\",\"NAMEASCII\":\"Paamiut\",\"POP_MAX\":1862,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-21.9666543,70.483358],\"properties\":{\"NAME\":\"Ittoqqortoormiit\",\"NAMEASCII\":\"Ittoqqortoormiit\",\"POP_MAX\":469,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-42.2167102,62.5332748],\"properties\":{\"NAME\":\"Timmiarmiut\",\"NAMEASCII\":\"Timmiarmiut\",\"POP_MAX\":10,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-46.0364117,60.7289097],\"properties\":{\"NAME\":\"Qaqortoq\",\"NAMEASCII\":\"Qaqortoq\",\"POP_MAX\":3224,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-50.7099092,67.0141225],\"properties\":{\"NAME\":\"Kangerlussuaq\",\"NAMEASCII\":\"Kangerlussuaq\",\"POP_MAX\":556,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-17.8000352,81.7166258],\"properties\":{\"NAME\":\"Nord\",\"NAMEASCII\":\"Nord\",\"POP_MAX\":10,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-53.5652385,69.2441639],\"properties\":{\"NAME\":\"Qeqertasuaq\",\"NAMEASCII\":\"Qeqertasuaq\",\"POP_MAX\":10,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-57.0673605,74.1209687],\"properties\":{\"NAME\":\"Nuussuaq\",\"NAMEASCII\":\"Nuussuaq\",\"POP_MAX\":204,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-51.0999665,69.2166653],\"properties\":{\"NAME\":\"Ilulissat\",\"NAMEASCII\":\"Ilulissat\",\"POP_MAX\":4413,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[21.7299808,38.2300037],\"properties\":{\"NAME\":\"Patra\",\"NAMEASCII\":\"Patra\",\"POP_MAX\":163360,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[41.6300065,41.6000047],\"properties\":{\"NAME\":\"Batumi\",\"NAMEASCII\":\"Batumi\",\"POP_MAX\":155542,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[44.0066751,36.1809895],\"properties\":{\"NAME\":\"Irbil\",\"NAMEASCII\":\"Irbil\",\"POP_MAX\":926000,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[27.4166621,66.6666659],\"properties\":{\"NAME\":\"Kemijärvi\",\"NAMEASCII\":\"Kemijarvi\",\"POP_MAX\":8883,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[23.1166662,63.8332988],\"properties\":{\"NAME\":\"Kokkola\",\"NAMEASCII\":\"Kokkola\",\"POP_MAX\":46714,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[25.6649344,60.9938597],\"properties\":{\"NAME\":\"Lahti\",\"NAMEASCII\":\"Lahti\",\"POP_MAX\":98826,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[29.7666479,62.599989],\"properties\":{\"NAME\":\"Joensuu\",\"NAMEASCII\":\"Joensuu\",\"POP_MAX\":53388,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[22.2549617,60.4538668],\"properties\":{\"NAME\":\"Turku\",\"NAMEASCII\":\"Turku\",\"POP_MAX\":175945,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[58.4499617,50.2699406],\"properties\":{\"NAME\":\"Khromtau\",\"NAMEASCII\":\"Khromtau\",\"POP_MAX\":23715,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[66.8976114,50.2418028],\"properties\":{\"NAME\":\"Arqalyq\",\"NAMEASCII\":\"Arqalyq\",\"POP_MAX\":55521,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[63.628302,53.2208974],\"properties\":{\"NAME\":\"Oostanay\",\"NAMEASCII\":\"Oostanay\",\"POP_MAX\":236901,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[63.2413488,45.691357],\"properties\":{\"NAME\":\"Baykonur\",\"NAMEASCII\":\"Baykonur\",\"POP_MAX\":36175,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.8665909,47.0665961],\"properties\":{\"NAME\":\"Balyqshy\",\"NAMEASCII\":\"Balyqshy\",\"POP_MAX\":31624,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[68.3477038,51.8218872],\"properties\":{\"NAME\":\"Atbasar\",\"NAMEASCII\":\"Atbasar\",\"POP_MAX\":35819,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[69.4199898,53.2999882],\"properties\":{\"NAME\":\"Kokshetau\",\"NAMEASCII\":\"Kokshetau\",\"POP_MAX\":128873,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[72.964993,50.0650177],\"properties\":{\"NAME\":\"Temirtau\",\"NAMEASCII\":\"Temirtau\",\"POP_MAX\":170600,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[67.770013,47.7799892],\"properties\":{\"NAME\":\"Zhezqazghan\",\"NAMEASCII\":\"Zhezqazghan\",\"POP_MAX\":104357,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[75.4648921,49.4249018],\"properties\":{\"NAME\":\"Qarqaraly\",\"NAMEASCII\":\"Qarqaraly\",\"POP_MAX\":8195,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[74.9502465,46.8532241],\"properties\":{\"NAME\":\"Balqash\",\"NAMEASCII\":\"Balqash\",\"POP_MAX\":81364,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[69.220002,54.8799951],\"properties\":{\"NAME\":\"Petropavlovsk\",\"NAMEASCII\":\"Petropavlovsk\",\"POP_MAX\":228238,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[80.4297054,47.9647325],\"properties\":{\"NAME\":\"Ayakoz\",\"NAMEASCII\":\"Ayakoz\",\"POP_MAX\":45861,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[78.4000101,45.0000039],\"properties\":{\"NAME\":\"Taldyqorghan\",\"NAMEASCII\":\"Taldyqorghan\",\"POP_MAX\":88380,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[58.4514603,35.1814301],\"properties\":{\"NAME\":\"Kashmar\",\"NAMEASCII\":\"Kashmar\",\"POP_MAX\":157135,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[58.3619567,29.1076923],\"properties\":{\"NAME\":\"Bam\",\"NAMEASCII\":\"Bam\",\"POP_MAX\":99268,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[57.0800195,30.2999968],\"properties\":{\"NAME\":\"Kerman\",\"NAMEASCII\":\"Kerman\",\"POP_MAX\":577514,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[73.7300109,24.5999829],\"properties\":{\"NAME\":\"Udaipur\",\"NAMEASCII\":\"Udaipur\",\"POP_MAX\":469737,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[68.2548929,43.3015546],\"properties\":{\"NAME\":\"Turkistan\",\"NAMEASCII\":\"Turkistan\",\"POP_MAX\":97360,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[83.3800162,26.7503943],\"properties\":{\"NAME\":\"Gorakhpur\",\"NAMEASCII\":\"Gorakhpur\",\"POP_MAX\":674246,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[87.8649621,23.2503754],\"properties\":{\"NAME\":\"Barddhaman\",\"NAMEASCII\":\"Barddhaman\",\"POP_MAX\":301725,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[88.5300378,23.3803416],\"properties\":{\"NAME\":\"Krishnanagar\",\"NAMEASCII\":\"Krishnanagar\",\"POP_MAX\":145926,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.0000207,24.7999707],\"properties\":{\"NAME\":\"Gaya\",\"NAMEASCII\":\"Gaya\",\"POP_MAX\":423692,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[69.6700004,21.6699809],\"properties\":{\"NAME\":\"Porbandar\",\"NAMEASCII\":\"Porbandar\",\"POP_MAX\":234684,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[-58.0799797,-32.3299788],\"properties\":{\"NAME\":\"Paysandú\",\"NAMEASCII\":\"Paysandu\",\"POP_MAX\":79016,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-57.9686945,-31.3903463],\"properties\":{\"NAME\":\"Salto\",\"NAMEASCII\":\"Salto\",\"POP_MAX\":105690,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-92.1063782,46.7833317],\"properties\":{\"NAME\":\"Duluth\",\"NAMEASCII\":\"Duluth\",\"POP_MAX\":84800,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.8801882,47.4735738],\"properties\":{\"NAME\":\"Bemidji\",\"NAMEASCII\":\"Bemidji\",\"POP_MAX\":14796,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.6776829,48.5452397],\"properties\":{\"NAME\":\"Havre\",\"NAMEASCII\":\"Havre\",\"POP_MAX\":11154,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-114.3159786,48.1977674],\"properties\":{\"NAME\":\"Kalispell\",\"NAMEASCII\":\"Kalispell\",\"POP_MAX\":32062,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.0333014,43.4666866],\"properties\":{\"NAME\":\"Idaho Falls\",\"NAMEASCII\":\"Idaho Falls\",\"POP_MAX\":79399,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.016589,46.4166099],\"properties\":{\"NAME\":\"Lewiston\",\"NAMEASCII\":\"Lewiston\",\"POP_MAX\":49289,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.5046965,46.6022317],\"properties\":{\"NAME\":\"Yakima\",\"NAMEASCII\":\"Yakima\",\"POP_MAX\":99287,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-120.3090237,47.4236286],\"properties\":{\"NAME\":\"Wenatchee\",\"NAMEASCII\":\"Wenatchee\",\"POP_MAX\":62625,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.5483627,31.3586402],\"properties\":{\"NAME\":\"Douglas\",\"NAMEASCII\":\"Douglas\",\"POP_MAX\":30185,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.0199809,35.3699715],\"properties\":{\"NAME\":\"Bakersfield\",\"NAMEASCII\":\"Bakersfield\",\"POP_MAX\":443129,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.27803818707952,37.80472502788702],\"properties\":{\"NAME\":\"Oakland\",\"NAMEASCII\":\"Oakland\",\"POP_MAX\":1510271,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-118.135823,34.6980487],\"properties\":{\"NAME\":\"Lancaster\",\"NAMEASCII\":\"Lancaster\",\"POP_MAX\":225799,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.8363982,39.7286202],\"properties\":{\"NAME\":\"Chico\",\"NAMEASCII\":\"Chico\",\"POP_MAX\":95888,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.8935781,36.6002582],\"properties\":{\"NAME\":\"Monterey\",\"NAMEASCII\":\"Monterey\",\"POP_MAX\":124288,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.6416555,36.682217],\"properties\":{\"NAME\":\"Salinas\",\"NAMEASCII\":\"Salinas\",\"POP_MAX\":156784,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.2977084,35.8911025],\"properties\":{\"NAME\":\"Los Alamos\",\"NAMEASCII\":\"Los Alamos\",\"POP_MAX\":12233,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.1000161,44.0500102],\"properties\":{\"NAME\":\"Eugene\",\"NAMEASCII\":\"Eugene\",\"POP_MAX\":245158,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-124.2165888,43.3666152],\"properties\":{\"NAME\":\"Coos Bay\",\"NAMEASCII\":\"Coos Bay\",\"POP_MAX\":31976,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.30860300281861,44.053928846469],\"properties\":{\"NAME\":\"Bend\",\"NAMEASCII\":\"Bend\",\"POP_MAX\":75441,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-109.0571007,44.5232113],\"properties\":{\"NAME\":\"Cody\",\"NAMEASCII\":\"Cody\",\"POP_MAX\":9161,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.660023,41.9699821],\"properties\":{\"NAME\":\"Cedar Rapids\",\"NAMEASCII\":\"Cedar Rapids\",\"POP_MAX\":170621,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.3199992,37.1800161],\"properties\":{\"NAME\":\"Springfield\",\"NAMEASCII\":\"Springfield\",\"POP_MAX\":210939,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.6800009,40.8199748],\"properties\":{\"NAME\":\"Lincoln\",\"NAMEASCII\":\"Lincoln\",\"POP_MAX\":246220,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-92.4450139,31.3110978],\"properties\":{\"NAME\":\"Alexandria\",\"NAMEASCII\":\"Alexandria\",\"POP_MAX\":76565,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.7327861,32.4486253],\"properties\":{\"NAME\":\"Abilene\",\"NAMEASCII\":\"Abilene\",\"POP_MAX\":114247,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.5000025,25.9199799],\"properties\":{\"NAME\":\"Brownsville\",\"NAMEASCII\":\"Brownsville\",\"POP_MAX\":181399,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.3007827,32.351086],\"properties\":{\"NAME\":\"Tyler\",\"NAMEASCII\":\"Tyler\",\"POP_MAX\":112245,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-69.6799952,11.4200122],\"properties\":{\"NAME\":\"Coro\",\"NAMEASCII\":\"Coro\",\"POP_MAX\":195227,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-70.2100145,11.7199939],\"properties\":{\"NAME\":\"Punto Fijo\",\"NAMEASCII\":\"Punto Fijo\",\"POP_MAX\":234736,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-71.5380471,43.2080719],\"properties\":{\"NAME\":\"Concord\",\"NAMEASCII\":\"Concord\",\"POP_MAX\":44606,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.6099954,34.7199595],\"properties\":{\"NAME\":\"Huntsville\",\"NAMEASCII\":\"Huntsville\",\"POP_MAX\":212733,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.7827448,24.5552311],\"properties\":{\"NAME\":\"Key West\",\"NAMEASCII\":\"Key West\",\"POP_MAX\":29377,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.1236213,26.74502],\"properties\":{\"NAME\":\"West Palm Beach\",\"NAMEASCII\":\"West Palm Beach\",\"POP_MAX\":1250000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.530787,27.3361208],\"properties\":{\"NAME\":\"Sarasota\",\"NAMEASCII\":\"Sarasota\",\"POP_MAX\":589959,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.0230754,29.2105542],\"properties\":{\"NAME\":\"Daytona Beach\",\"NAMEASCII\":\"Daytona Beach\",\"POP_MAX\":216890,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.3250373,29.65138],\"properties\":{\"NAME\":\"Gainesville\",\"NAMEASCII\":\"Gainesville\",\"POP_MAX\":191097,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.860492,26.6402977],\"properties\":{\"NAME\":\"Ft. Myers\",\"NAMEASCII\":\"Ft. Myers\",\"POP_MAX\":188606,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.4916515,31.1496865],\"properties\":{\"NAME\":\"Brunswick\",\"NAMEASCII\":\"Brunswick\",\"POP_MAX\":47085,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.9849805,33.4608116],\"properties\":{\"NAME\":\"Augusta\",\"NAMEASCII\":\"Augusta\",\"POP_MAX\":262332,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.8777452,32.3524813],\"properties\":{\"NAME\":\"Vicksburg\",\"NAMEASCII\":\"Vicksburg\",\"POP_MAX\":25701,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.8869784,33.6889114],\"properties\":{\"NAME\":\"Myrtle Beach\",\"NAMEASCII\":\"Myrtle Beach\",\"POP_MAX\":49357,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.9921047,32.7923769],\"properties\":{\"NAME\":\"Charleston\",\"NAMEASCII\":\"Charleston\",\"POP_MAX\":411940,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.57868049789218,40.689440128207266],\"properties\":{\"NAME\":\"Peoria\",\"NAMEASCII\":\"Peoria\",\"POP_MAX\":172308,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.5558291,37.9746963],\"properties\":{\"NAME\":\"Evansville\",\"NAMEASCII\":\"Evansville\",\"POP_MAX\":174102,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.7506501,38.2269628],\"properties\":{\"NAME\":\"Louisville\",\"NAMEASCII\":\"Louisville\",\"POP_MAX\":948000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.5000208,38.0500147],\"properties\":{\"NAME\":\"Lexington\",\"NAMEASCII\":\"Lexington\",\"POP_MAX\":264578,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.8319839,35.2069404],\"properties\":{\"NAME\":\"Charlotte\",\"NAMEASCII\":\"Charlotte\",\"POP_MAX\":995000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.649739,41.0996993],\"properties\":{\"NAME\":\"Youngstown\",\"NAMEASCII\":\"Youngstown\",\"POP_MAX\":311990,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.3786351,40.798865],\"properties\":{\"NAME\":\"Canton\",\"NAMEASCII\":\"Canton\",\"POP_MAX\":258660,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.55297592935672,41.639787520595725],\"properties\":{\"NAME\":\"Toledo\",\"NAMEASCII\":\"Toledo\",\"POP_MAX\":469924,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.9919555,39.9819202],\"properties\":{\"NAME\":\"Columbus\",\"NAMEASCII\":\"Columbus\",\"POP_MAX\":1270000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-85.2500009,35.0699898],\"properties\":{\"NAME\":\"Chattanooga\",\"NAMEASCII\":\"Chattanooga\",\"POP_MAX\":257589,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.4769259,38.0291891],\"properties\":{\"NAME\":\"Charlottesville\",\"NAMEASCII\":\"Charlottesville\",\"POP_MAX\":87925,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-79.1424667,37.4136194],\"properties\":{\"NAME\":\"Lynchburg\",\"NAMEASCII\":\"Lynchburg\",\"POP_MAX\":103893,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-89.6299919,44.9591537],\"properties\":{\"NAME\":\"Wausau\",\"NAMEASCII\":\"Wausau\",\"POP_MAX\":75422,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.75755317778979,42.653743922035616],\"properties\":{\"NAME\":\"Albany\",\"NAMEASCII\":\"Albany\",\"POP_MAX\":870716,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.4969434,42.4405735],\"properties\":{\"NAME\":\"Ithaca\",\"NAMEASCII\":\"Ithaca\",\"POP_MAX\":59930,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.8847492,40.2735999],\"properties\":{\"NAME\":\"Harrisburg\",\"NAMEASCII\":\"Harrisburg\",\"POP_MAX\":528892,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-65.546604,3.1738231],\"properties\":{\"NAME\":\"La Esmeralda\",\"NAMEASCII\":\"La Esmeralda\",\"POP_MAX\":150,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-63.6000045,8.0999823],\"properties\":{\"NAME\":\"Ciudad Bolívar\",\"NAMEASCII\":\"Ciudad Bolivar\",\"POP_MAX\":338000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-61.6333287,6.7332957],\"properties\":{\"NAME\":\"El Dorado\",\"NAMEASCII\":\"El Dorado\",\"POP_MAX\":2383,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-67.597753,10.2488256],\"properties\":{\"NAME\":\"Maracay\",\"NAMEASCII\":\"Maracay\",\"POP_MAX\":1007000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-68.7783448,44.801153],\"properties\":{\"NAME\":\"Bangor\",\"NAMEASCII\":\"Bangor\",\"POP_MAX\":50213,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-70.2455274,43.6721616],\"properties\":{\"NAME\":\"Portland\",\"NAMEASCII\":\"Portland\",\"POP_MAX\":135866,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.9508295,43.4194802],\"properties\":{\"NAME\":\"Saginaw\",\"NAMEASCII\":\"Saginaw\",\"POP_MAX\":121379,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[10.7200069,34.7500352],\"properties\":{\"NAME\":\"Sfax\",\"NAMEASCII\":\"Sfax\",\"POP_MAX\":453050,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[43.8497676,16.9397787],\"properties\":{\"NAME\":\"Sadah\",\"NAMEASCII\":\"Sadah\",\"POP_MAX\":105542,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[42.951029,14.7998914],\"properties\":{\"NAME\":\"Al Hudaydah\",\"NAMEASCII\":\"Al Hudaydah\",\"POP_MAX\":780000,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[-131.6639895,55.3562193],\"properties\":{\"NAME\":\"Ketchikan\",\"NAMEASCII\":\"Ketchikan\",\"POP_MAX\":9070,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.5316028,53.868584],\"properties\":{\"NAME\":\"Unalaska\",\"NAMEASCII\":\"Unalaska\",\"POP_MAX\":3571,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-160.3783234,59.070361],\"properties\":{\"NAME\":\"Togiak\",\"NAMEASCII\":\"Togiak\",\"POP_MAX\":236,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.3125273,61.7609963],\"properties\":{\"NAME\":\"Red Devil\",\"NAMEASCII\":\"Red Devil\",\"POP_MAX\":25,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.0965648,61.5310879],\"properties\":{\"NAME\":\"Hooper Bay\",\"NAMEASCII\":\"Hooper Bay\",\"POP_MAX\":1079,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-160.0383041,70.6368887],\"properties\":{\"NAME\":\"Wainwright\",\"NAMEASCII\":\"Wainwright\",\"POP_MAX\":174,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-156.9269953,64.7332955],\"properties\":{\"NAME\":\"Galena\",\"NAMEASCII\":\"Galena\",\"POP_MAX\":500,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-143.6029132,70.0878555],\"properties\":{\"NAME\":\"Kaktovik\",\"NAMEASCII\":\"Kaktovik\",\"POP_MAX\":101,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-135.3138959,59.4583203],\"properties\":{\"NAME\":\"Skagway\",\"NAMEASCII\":\"Skagway\",\"POP_MAX\":955,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-145.7574962,60.5427761],\"properties\":{\"NAME\":\"Cordova\",\"NAMEASCII\":\"Cordova\",\"POP_MAX\":2257,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-151.2580131,60.5543516],\"properties\":{\"NAME\":\"Kenai\",\"NAMEASCII\":\"Kenai\",\"POP_MAX\":7610,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-145.2737789,66.5646824],\"properties\":{\"NAME\":\"Fort Yukon\",\"NAMEASCII\":\"Fort Yukon\",\"POP_MAX\":833,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[34.159403,44.4993109],\"properties\":{\"NAME\":\"Yalta\",\"NAMEASCII\":\"Yalta\",\"POP_MAX\":79509,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[30.0988757,51.3894072],\"properties\":{\"NAME\":\"Chernobyl\",\"NAMEASCII\":\"Chernobyl\",\"POP_MAX\":0,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[34.7808638,50.9242934],\"properties\":{\"NAME\":\"Sumy\",\"NAMEASCII\":\"Sumy\",\"POP_MAX\":294456,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[37.5561983,47.0961808],\"properties\":{\"NAME\":\"Mariupol\",\"NAMEASCII\":\"Mariupol\",\"POP_MAX\":481626,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[51.2454402,15.2105044],\"properties\":{\"NAME\":\"Sayhut al Ghamirah\",\"NAMEASCII\":\"Sayhut\",\"POP_MAX\":189,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[49.1259314,14.5411654],\"properties\":{\"NAME\":\"Al Mukalla\",\"NAMEASCII\":\"Al Mukalla\",\"POP_MAX\":258132,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[59.9649597,41.8399901],\"properties\":{\"NAME\":\"Daşoguz\",\"NAMEASCII\":\"Dasoguz\",\"POP_MAX\":201424,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[60.6400089,41.5599813],\"properties\":{\"NAME\":\"Urgentch\",\"NAMEASCII\":\"Urgentch\",\"POP_MAX\":150110,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[98.3815295,7.8765334],\"properties\":{\"NAME\":\"Phuket\",\"NAMEASCII\":\"Phuket\",\"POP_MAX\":141618,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[108.0000122,13.9832925],\"properties\":{\"NAME\":\"Play Ku\",\"NAMEASCII\":\"Play Ku\",\"POP_MAX\":142900,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[109.1700183,12.2500391],\"properties\":{\"NAME\":\"Nha Trang\",\"NAMEASCII\":\"Nha Trang\",\"POP_MAX\":411556,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[109.2206612,11.9020241],\"properties\":{\"NAME\":\"Cam Ranh\",\"NAMEASCII\":\"Cam Ranh\",\"POP_MAX\":146771,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[109.1800435,13.7799715],\"properties\":{\"NAME\":\"Qui Nhon\",\"NAMEASCII\":\"Qui Nhon\",\"POP_MAX\":805290,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[107.5800378,16.4699882],\"properties\":{\"NAME\":\"Hue\",\"NAMEASCII\":\"Hue\",\"POP_MAX\":950000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.8300577,10.9700139],\"properties\":{\"NAME\":\"Biên Hòa\",\"NAMEASCII\":\"Bien Hoa\",\"POP_MAX\":652646,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[105.7700191,10.0499925],\"properties\":{\"NAME\":\"Can Tho\",\"NAMEASCII\":\"Can Tho\",\"POP_MAX\":1121000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[28.8900089,-11.2000024],\"properties\":{\"NAME\":\"Mansa\",\"NAMEASCII\":\"Mansa\",\"POP_MAX\":42277,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[31.4599812,-11.8300415],\"properties\":{\"NAME\":\"Mpika\",\"NAMEASCII\":\"Mpika\",\"POP_MAX\":28445,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[31.3700126,-8.8400431],\"properties\":{\"NAME\":\"Mbala\",\"NAMEASCII\":\"Mbala\",\"POP_MAX\":20570,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.400013,-13.1333211],\"properties\":{\"NAME\":\"Luanshya\",\"NAMEASCII\":\"Luanshya\",\"POP_MAX\":151993,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.6500236,-12.9999442],\"properties\":{\"NAME\":\"Ndola\",\"NAMEASCII\":\"Ndola\",\"POP_MAX\":396339,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[23.1099483,-13.5400146],\"properties\":{\"NAME\":\"Zambezi\",\"NAMEASCII\":\"Zambezi\",\"POP_MAX\":7074,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.1800264,-15.7800329],\"properties\":{\"NAME\":\"Kafue\",\"NAMEASCII\":\"Kafue\",\"POP_MAX\":47554,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[27.7600004,-15.8600281],\"properties\":{\"NAME\":\"Mazabuka\",\"NAMEASCII\":\"Mazabuka\",\"POP_MAX\":64006,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[26.5000256,-18.370004],\"properties\":{\"NAME\":\"Hwange\",\"NAMEASCII\":\"Hwange\",\"POP_MAX\":33989,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.8200297,-19.4500415],\"properties\":{\"NAME\":\"Gweru\",\"NAMEASCII\":\"Gweru\",\"POP_MAX\":183358,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[32.6500378,-18.9700191],\"properties\":{\"NAME\":\"Mutare\",\"NAMEASCII\":\"Mutare\",\"POP_MAX\":249365,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[29.9099467,-18.3300065],\"properties\":{\"NAME\":\"Kadoma\",\"NAMEASCII\":\"Kadoma\",\"POP_MAX\":79174,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[-44.7999893,-4.2299886],\"properties\":{\"NAME\":\"Bacabal\",\"NAMEASCII\":\"Bacabal\",\"POP_MAX\":72372,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.7699982,-1.0500277],\"properties\":{\"NAME\":\"Bragança\",\"NAMEASCII\":\"Braganca\",\"POP_MAX\":57163,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.5200068,-1.9100268],\"properties\":{\"NAME\":\"Óbidos\",\"NAMEASCII\":\"Obidos\",\"POP_MAX\":27587,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-65.3499494,-10.8000268],\"properties\":{\"NAME\":\"Guajara-Miram\",\"NAMEASCII\":\"Guajara-Miram\",\"POP_MAX\":69586,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.4199492,-10.7000329],\"properties\":{\"NAME\":\"Porto Nacional\",\"NAMEASCII\":\"Porto Nacional\",\"POP_MAX\":9129,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.8099984,-22.2300268],\"properties\":{\"NAME\":\"Dourados\",\"NAMEASCII\":\"Dourados\",\"POP_MAX\":162202,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.970007,-18.8700252],\"properties\":{\"NAME\":\"Governador Valadares\",\"NAMEASCII\":\"Governador Valadares\",\"POP_MAX\":250878,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.9299813,-17.3300158],\"properties\":{\"NAME\":\"Pirapora\",\"NAMEASCII\":\"Pirapora\",\"POP_MAX\":60164,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.3749858,-21.7700032],\"properties\":{\"NAME\":\"Juiz de Fora\",\"NAMEASCII\":\"Juiz de Fora\",\"POP_MAX\":470193,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.8000084,-29.6833187],\"properties\":{\"NAME\":\"Santa Maria\",\"NAMEASCII\":\"Santa Maria\",\"POP_MAX\":249219,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.4199893,-28.2500211],\"properties\":{\"NAME\":\"Passo Fundo\",\"NAMEASCII\":\"Passo Fundo\",\"POP_MAX\":179529,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.6400275,-27.1000138],\"properties\":{\"NAME\":\"Xapeco\",\"NAMEASCII\":\"Xapeco\",\"POP_MAX\":160157,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.8418952,-26.3180122],\"properties\":{\"NAME\":\"Joinville\",\"NAMEASCII\":\"Joinville\",\"POP_MAX\":988000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.3200137,-7.2100134],\"properties\":{\"NAME\":\"Juazeiro do Norte\",\"NAMEASCII\":\"Juazeiro do Norte\",\"POP_MAX\":225230,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.3700106,-17.8800081],\"properties\":{\"NAME\":\"Nova Viçosa\",\"NAMEASCII\":\"Nova Vicosa\",\"POP_MAX\":55980,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.4299905,-12.1399967],\"properties\":{\"NAME\":\"Alagoinhas\",\"NAMEASCII\":\"Alagoinhas\",\"POP_MAX\":124070,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.4999675,-9.4200077],\"properties\":{\"NAME\":\"Juazeiro\",\"NAMEASCII\":\"Juazeiro\",\"POP_MAX\":95132,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.35394335476039,-20.332042290924733],\"properties\":{\"NAME\":\"Vitória\",\"NAMEASCII\":\"Vitoria\",\"POP_MAX\":1704000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-34.878017,-7.0991893],\"properties\":{\"NAME\":\"João Pessoa\",\"NAMEASCII\":\"Joao Pessoa\",\"POP_MAX\":956000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.8800169,-7.2300122],\"properties\":{\"NAME\":\"Campina Grande\",\"NAMEASCII\":\"Campina Grande\",\"POP_MAX\":417261,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.5400497,-22.2599992],\"properties\":{\"NAME\":\"Nova Friburgo\",\"NAMEASCII\":\"Nova Friburgo\",\"POP_MAX\":171991,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-101.6665957,57.8832227],\"properties\":{\"NAME\":\"Brochet\",\"NAMEASCII\":\"Brochet\",\"POP_MAX\":278,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-101.0499667,56.8500299],\"properties\":{\"NAME\":\"Lynn Lake\",\"NAMEASCII\":\"Lynn Lake\",\"POP_MAX\":482,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.6999667,56.3499829],\"properties\":{\"NAME\":\"Gillam\",\"NAMEASCII\":\"Gillam\",\"POP_MAX\":1281,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-108.2833494,52.7666358],\"properties\":{\"NAME\":\"North Battleford\",\"NAMEASCII\":\"North Battleford\",\"POP_MAX\":19440,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-105.7499899,53.2000202],\"properties\":{\"NAME\":\"Prince Albert\",\"NAMEASCII\":\"Prince Albert\",\"POP_MAX\":34609,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-124.9999777,49.6833356],\"properties\":{\"NAME\":\"Courtenay\",\"NAMEASCII\":\"Courtenay\",\"POP_MAX\":32793,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-119.4833118,49.899989],\"properties\":{\"NAME\":\"Kelowna\",\"NAMEASCII\":\"Kelowna\",\"POP_MAX\":125109,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-65.7500283,66.1333134],\"properties\":{\"NAME\":\"Pangnirtung\",\"NAMEASCII\":\"Pangnirtung\",\"POP_MAX\":1320,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-117.7499809,70.7333685],\"properties\":{\"NAME\":\"Holman\",\"NAMEASCII\":\"Holman\",\"POP_MAX\":500,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-59.7799793,8.1999762],\"properties\":{\"NAME\":\"Mabaruma\",\"NAMEASCII\":\"Mabaruma\",\"POP_MAX\":2972,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-57.5299874,6.2500177],\"properties\":{\"NAME\":\"New Amsterdam\",\"NAMEASCII\":\"New Amsterdam\",\"POP_MAX\":46874,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-92.8333364,49.7833295],\"properties\":{\"NAME\":\"Dryden\",\"NAMEASCII\":\"Dryden\",\"POP_MAX\":7862,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-82.4333252,52.9166266],\"properties\":{\"NAME\":\"Attawapiskat\",\"NAMEASCII\":\"Attawapiskat\",\"POP_MAX\":1802,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.8299958,43.2499815],\"properties\":{\"NAME\":\"Hamilton\",\"NAMEASCII\":\"Hamilton\",\"POP_MAX\":721053,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-83.0368525,42.315457],\"properties\":{\"NAME\":\"Windsor\",\"NAMEASCII\":\"Windsor\",\"POP_MAX\":319246,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-72.5499492,46.3499732],\"properties\":{\"NAME\":\"Trois-Rivières\",\"NAMEASCII\":\"Trois Rivieres\",\"POP_MAX\":119693,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.3600169,50.3160877],\"properties\":{\"NAME\":\"Sept-Îles\",\"NAMEASCII\":\"Sept-Iles\",\"POP_MAX\":25686,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-57.9333478,48.9499953],\"properties\":{\"NAME\":\"Corner Brook\",\"NAMEASCII\":\"Corner Brook\",\"POP_MAX\":20791,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-23.1499671,66.0833165],\"properties\":{\"NAME\":\"Ísafjörður\",\"NAMEASCII\":\"Isafjordur\",\"POP_MAX\":2534,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-18.1000169,65.6665719],\"properties\":{\"NAME\":\"Akureyri\",\"NAMEASCII\":\"Akureyri\",\"POP_MAX\":16563,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-22.5665918,64.0166467],\"properties\":{\"NAME\":\"Keflavík\",\"NAMEASCII\":\"Keflavik\",\"POP_MAX\":7930,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-71.3166136,-42.9000313],\"properties\":{\"NAME\":\"Esquel\",\"NAMEASCII\":\"Esquel\",\"POP_MAX\":20048,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.0666641,-38.9000171],\"properties\":{\"NAME\":\"Zapala\",\"NAMEASCII\":\"Zapala\",\"POP_MAX\":19152,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.1699768,-17.410011],\"properties\":{\"NAME\":\"Cochabamba\",\"NAMEASCII\":\"Cochabamba\",\"POP_MAX\":1000000,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-60.3299974,-36.9000358],\"properties\":{\"NAME\":\"Olavarría\",\"NAMEASCII\":\"Olavarria\",\"POP_MAX\":86320,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.1500436,-37.3200102],\"properties\":{\"NAME\":\"Tandil\",\"NAMEASCII\":\"Tandil\",\"POP_MAX\":104325,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-62.99754456575547,-40.81319732964497],\"properties\":{\"NAME\":\"Viedma\",\"NAMEASCII\":\"Viedma\",\"POP_MAX\":59122,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.3500175,-33.2999971],\"properties\":{\"NAME\":\"San Luis\",\"NAMEASCII\":\"San Luis\",\"POP_MAX\":432310,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.3499846,-33.1300333],\"properties\":{\"NAME\":\"Río Cuarto\",\"NAMEASCII\":\"Rio Cuarto\",\"POP_MAX\":153757,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.3000299,-24.1833443],\"properties\":{\"NAME\":\"San Salvador de Jujuy\",\"NAMEASCII\":\"San Salvador de Jujuy\",\"POP_MAX\":305891,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.3200122,-23.1399971],\"properties\":{\"NAME\":\"San Ramón de la Nueva Orán\",\"NAMEASCII\":\"San Ramon de la Nueva Oran\",\"POP_MAX\":74059,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-59.2699846,-29.1399927],\"properties\":{\"NAME\":\"Goya\",\"NAMEASCII\":\"Goya\",\"POP_MAX\":72304,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-50.4500061,-21.2099857],\"properties\":{\"NAME\":\"Araçatuba\",\"NAMEASCII\":\"Aracatuba\",\"POP_MAX\":170024,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[4.4130712,51.2223194],\"properties\":{\"NAME\":\"Antwerpen\",\"NAMEASCII\":\"Antwerpen\",\"POP_MAX\":920000,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[67.82273157485362,34.81333703893491],\"properties\":{\"NAME\":\"Bamian\",\"NAMEASCII\":\"Bamian\",\"POP_MAX\":61863,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[68.6992586,36.1393303],\"properties\":{\"NAME\":\"Baghlan\",\"NAMEASCII\":\"Baghlan\",\"POP_MAX\":218748,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[-67.1299958,-17.9799503],\"properties\":{\"NAME\":\"Oruro\",\"NAMEASCII\":\"Oruro\",\"POP_MAX\":246501,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.5199836,-20.0500049],\"properties\":{\"NAME\":\"Camiri\",\"NAMEASCII\":\"Camiri\",\"POP_MAX\":27961,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[30.5299605,39.7949986],\"properties\":{\"NAME\":\"Eskişehir\",\"NAMEASCII\":\"Eskisehir\",\"POP_MAX\":514869,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[30.6980301,36.891928],\"properties\":{\"NAME\":\"Antalya\",\"NAMEASCII\":\"Antalya\",\"POP_MAX\":783000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.4900195,38.7349599],\"properties\":{\"NAME\":\"Kayseri\",\"NAMEASCII\":\"Kayseri\",\"POP_MAX\":592840,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[31.0000093,52.4300155],\"properties\":{\"NAME\":\"Homyel\",\"NAMEASCII\":\"Homyel\",\"POP_MAX\":480951,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[134.200015,-19.6500293],\"properties\":{\"NAME\":\"Tennant Creek\",\"NAMEASCII\":\"Tennant Creek\",\"POP_MAX\":3889,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[130.9888932,-25.2405408],\"properties\":{\"NAME\":\"Yulara\",\"NAMEASCII\":\"Yulara\",\"POP_MAX\":930,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[133.1999727,-25.2333061],\"properties\":{\"NAME\":\"Erldunda\",\"NAMEASCII\":\"Erldunda\",\"POP_MAX\":10,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[121.7666137,-32.2000126],\"properties\":{\"NAME\":\"Norseman\",\"NAMEASCII\":\"Norseman\",\"POP_MAX\":1004,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[127.6712447669129,-18.222685420623794],\"properties\":{\"NAME\":\"Halls Creek\",\"NAMEASCII\":\"Halls Creek\",\"POP_MAX\":1209,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[128.7333203,-15.7665971],\"properties\":{\"NAME\":\"Kununurra\",\"NAMEASCII\":\"Kununurra\",\"POP_MAX\":5679,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[123.64215064609337,-17.31181601826528],\"properties\":{\"NAME\":\"Derby\",\"NAMEASCII\":\"Derby\",\"POP_MAX\":3199,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.0962959,-21.6575935],\"properties\":{\"NAME\":\"Onslow\",\"NAMEASCII\":\"Onslow\",\"POP_MAX\":573,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[114.1233469,-21.9310999],\"properties\":{\"NAME\":\"Exmouth\",\"NAMEASCII\":\"Exmouth\",\"POP_MAX\":1085,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[113.6501066,-24.899838],\"properties\":{\"NAME\":\"Carnarvon\",\"NAMEASCII\":\"Carnarvon\",\"POP_MAX\":7392,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[119.7333011,-23.3665983],\"properties\":{\"NAME\":\"Newman\",\"NAMEASCII\":\"Newman\",\"POP_MAX\":5138,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[118.4832999,-26.5999927],\"properties\":{\"NAME\":\"Meekatharra\",\"NAMEASCII\":\"Meekatharra\",\"POP_MAX\":654,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.7499784,-29.533302],\"properties\":{\"NAME\":\"Three Springs\",\"NAMEASCII\":\"Three Springs\",\"POP_MAX\":190,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[116.1500057,-34.2333252],\"properties\":{\"NAME\":\"Manjimup\",\"NAMEASCII\":\"Manjimup\",\"POP_MAX\":4240,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[116.6533858,-31.6565832],\"properties\":{\"NAME\":\"Northam\",\"NAMEASCII\":\"Northam\",\"POP_MAX\":5855,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[121.8888973,-33.857307],\"properties\":{\"NAME\":\"Esperance\",\"NAMEASCII\":\"Esperance\",\"POP_MAX\":7888,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[121.3280358,-28.8815071],\"properties\":{\"NAME\":\"Leonara\",\"NAMEASCII\":\"Leonara\",\"POP_MAX\":227,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[122.4040425,-28.6270007],\"properties\":{\"NAME\":\"Laverton\",\"NAMEASCII\":\"Laverton\",\"POP_MAX\":316,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[128.2243231160757,-15.594524745058166],\"properties\":{\"NAME\":\"Wyndham\",\"NAMEASCII\":\"Wyndham\",\"POP_MAX\":800,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.9200138,-36.0600354],\"properties\":{\"NAME\":\"Albury\",\"NAMEASCII\":\"Albury\",\"POP_MAX\":104258,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.5266483,-32.1931396],\"properties\":{\"NAME\":\"Forster-Tuncurry\",\"NAMEASCII\":\"Forster-Tuncurry\",\"POP_MAX\":17591,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.9186657,-31.4450199],\"properties\":{\"NAME\":\"Port Macquarie\",\"NAMEASCII\":\"Port Macquarie\",\"POP_MAX\":48547,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.9171342,-31.1026119],\"properties\":{\"NAME\":\"Tamworth\",\"NAMEASCII\":\"Tamworth\",\"POP_MAX\":38551,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.9376827,-29.7119991],\"properties\":{\"NAME\":\"Grafton\",\"NAMEASCII\":\"Grafton\",\"POP_MAX\":9955,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.8300687,-29.469895],\"properties\":{\"NAME\":\"Moree\",\"NAMEASCII\":\"Moree\",\"POP_MAX\":8203,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.325284,-28.5548087],\"properties\":{\"NAME\":\"Goondiwindi\",\"NAMEASCII\":\"Goondiwindi\",\"POP_MAX\":4251,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.2931132,-28.8166532],\"properties\":{\"NAME\":\"Lismore\",\"NAMEASCII\":\"Lismore\",\"POP_MAX\":31430,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.890004,-34.4153812],\"properties\":{\"NAME\":\"Wollongong\",\"NAMEASCII\":\"Wollongong\",\"POP_MAX\":260914,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[133.6622674,-32.0991346],\"properties\":{\"NAME\":\"Ceduna\",\"NAMEASCII\":\"Ceduna\",\"POP_MAX\":1586,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.7650406,-37.8313485],\"properties\":{\"NAME\":\"Mount Gambier\",\"NAMEASCII\":\"Mount Gambier\",\"POP_MAX\":23209,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[137.7700297,-32.4900207],\"properties\":{\"NAME\":\"Port Augusta\",\"NAMEASCII\":\"Port Augusta\",\"POP_MAX\":13897,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.4700012,-38.3799971],\"properties\":{\"NAME\":\"Warrnambool\",\"NAMEASCII\":\"Warrnambool\",\"POP_MAX\":29928,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.1513643,-34.1850077],\"properties\":{\"NAME\":\"Mildura\",\"NAMEASCII\":\"Mildura\",\"POP_MAX\":47867,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.3956335,-38.167495],\"properties\":{\"NAME\":\"Geelong\",\"NAMEASCII\":\"Geelong\",\"POP_MAX\":160991,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.1166752,-19.9167313],\"properties\":{\"NAME\":\"Camooweal\",\"NAMEASCII\":\"Camooweal\",\"POP_MAX\":187,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.2500476,-26.6166325],\"properties\":{\"NAME\":\"Quilpie\",\"NAMEASCII\":\"Quilpie\",\"POP_MAX\":560,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.2500288,-26.4000049],\"properties\":{\"NAME\":\"Charleville\",\"NAMEASCII\":\"Charleville\",\"POP_MAX\":1900,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.2000248,-20.8500077],\"properties\":{\"NAME\":\"Hughenden\",\"NAMEASCII\":\"Hughenden\",\"POP_MAX\":421,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.1333296,-26.8000321],\"properties\":{\"NAME\":\"Caloundra\",\"NAMEASCII\":\"Caloundra\",\"POP_MAX\":38706,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.7907006,-26.559375],\"properties\":{\"NAME\":\"Roma\",\"NAMEASCII\":\"Roma\",\"POP_MAX\":5496,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.9555204,-27.5645333],\"properties\":{\"NAME\":\"Toowoomba\",\"NAMEASCII\":\"Toowoomba\",\"POP_MAX\":92800,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.5332955,-18.3000342],\"properties\":{\"NAME\":\"Georgetown\",\"NAMEASCII\":\"Georgetown\",\"POP_MAX\":818,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[143.816689,-27.9999589],\"properties\":{\"NAME\":\"Thargomindah\",\"NAMEASCII\":\"Thargomindah\",\"POP_MAX\":203,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[141.8666272,-12.6666312],\"properties\":{\"NAME\":\"Weipa\",\"NAMEASCII\":\"Weipa\",\"POP_MAX\":2830,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.8334086,-17.4833398],\"properties\":{\"NAME\":\"Karumba\",\"NAMEASCII\":\"Karumba\",\"POP_MAX\":173,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[140.4999922,-20.699991],\"properties\":{\"NAME\":\"Cloncurry\",\"NAMEASCII\":\"Cloncurry\",\"POP_MAX\":1202,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.7209,-25.5491007],\"properties\":{\"NAME\":\"Maryborough\",\"NAMEASCII\":\"Maryborough\",\"POP_MAX\":20678,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[152.3508968,-24.8790641],\"properties\":{\"NAME\":\"Bundaberg\",\"NAMEASCII\":\"Bundaberg\",\"POP_MAX\":52472,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.2467264,-23.8533386],\"properties\":{\"NAME\":\"Gladstone\",\"NAMEASCII\":\"Gladstone\",\"POP_MAX\":30489,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.208669,-20.0013257],\"properties\":{\"NAME\":\"Bowen\",\"NAMEASCII\":\"Bowen\",\"POP_MAX\":10983,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.0386722,-17.5313472],\"properties\":{\"NAME\":\"Innisfail\",\"NAMEASCII\":\"Innisfail\",\"POP_MAX\":10143,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.1500069,-21.1438916],\"properties\":{\"NAME\":\"Mackay\",\"NAMEASCII\":\"Mackay\",\"POP_MAX\":75922,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.9166642,-41.0666032],\"properties\":{\"NAME\":\"Burnie\",\"NAMEASCII\":\"Burnie\",\"POP_MAX\":19972,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.1301818,-41.4498356],\"properties\":{\"NAME\":\"Launceston\",\"NAMEASCII\":\"Launceston\",\"POP_MAX\":72458,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[-1.1499921,60.1500352],\"properties\":{\"NAME\":\"Lerwick\",\"NAMEASCII\":\"Lerwick\",\"POP_MAX\":6594,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[37.3830484,37.0769296],\"properties\":{\"NAME\":\"Gaziantep\",\"NAMEASCII\":\"Gaziantep\",\"POP_MAX\":1044000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[89.2800179,25.7500161],\"properties\":{\"NAME\":\"Rangpur\",\"NAMEASCII\":\"Rangpur\",\"POP_MAX\":285564,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[96.5149768,17.3200139],\"properties\":{\"NAME\":\"Bago\",\"NAMEASCII\":\"Bago\",\"POP_MAX\":284318,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[96.4378755,18.477876],\"properties\":{\"NAME\":\"Pyu\",\"NAMEASCII\":\"Pyu\",\"POP_MAX\":40386,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.2114388,18.81646],\"properties\":{\"NAME\":\"Pyay\",\"NAMEASCII\":\"Pyay\",\"POP_MAX\":135308,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[94.9195703,20.1445443],\"properties\":{\"NAME\":\"Magway\",\"NAMEASCII\":\"Magway\",\"POP_MAX\":125973,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[97.3927526,25.3596265],\"properties\":{\"NAME\":\"Myitkyina\",\"NAMEASCII\":\"Myitkyina\",\"POP_MAX\":139100,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[95.1499955,22.1049931],\"properties\":{\"NAME\":\"Monywa\",\"NAMEASCII\":\"Monywa\",\"POP_MAX\":226222,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[-4.7500308,41.6500016],\"properties\":{\"NAME\":\"Valladolid\",\"NAMEASCII\":\"Valladolid\",\"POP_MAX\":322304,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[3.2000008,13.0500161],\"properties\":{\"NAME\":\"Dosso\",\"NAMEASCII\":\"Dosso\",\"POP_MAX\":49750,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[36.7180761,34.7319048],\"properties\":{\"NAME\":\"Homs\",\"NAMEASCII\":\"Hims\",\"POP_MAX\":1005000,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[27.4000223,8.7665566],\"properties\":{\"NAME\":\"Aweil\",\"NAMEASCII\":\"Aweil\",\"POP_MAX\":46705,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[37.7332934,18.4333309],\"properties\":{\"NAME\":\"Tokar\",\"NAMEASCII\":\"Tokar\",\"POP_MAX\":73202,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[15.6299397,58.4100122],\"properties\":{\"NAME\":\"Linköping\",\"NAMEASCII\":\"Linkoping\",\"POP_MAX\":96732,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[14.6499996,63.1833126],\"properties\":{\"NAME\":\"Östersund\",\"NAMEASCII\":\"Ostersund\",\"POP_MAX\":46178,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[20.2166365,67.8500045],\"properties\":{\"NAME\":\"Kiruna\",\"NAMEASCII\":\"Kiruna\",\"POP_MAX\":18154,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[20.2399943,63.8299915],\"properties\":{\"NAME\":\"Umeå\",\"NAMEASCII\":\"Umea\",\"POP_MAX\":78197,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[17.6399979,59.8600529],\"properties\":{\"NAME\":\"Uppsala\",\"NAMEASCII\":\"Uppsala\",\"POP_MAX\":133117,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[23.5984456,46.7884219],\"properties\":{\"NAME\":\"Cluj-Napoca\",\"NAMEASCII\":\"Cluj-Napoca\",\"POP_MAX\":316748,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[99.9700114,8.3999898],\"properties\":{\"NAME\":\"Nakhon Si Thammarat\",\"NAMEASCII\":\"Nakhon Si Thammarat\",\"POP_MAX\":232335,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.5600012,7.2099591],\"properties\":{\"NAME\":\"Songkhla\",\"NAMEASCII\":\"Songkhla\",\"POP_MAX\":48616,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.4714278,6.9964321],\"properties\":{\"NAME\":\"Hat Yai\",\"NAMEASCII\":\"Hat Yai\",\"POP_MAX\":317954,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[100.0700052,15.7000352],\"properties\":{\"NAME\":\"Nakhon Sawan\",\"NAMEASCII\":\"Nakhon Sawan\",\"POP_MAX\":111915,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[104.8300248,15.2499593],\"properties\":{\"NAME\":\"Ubon Ratchathani\",\"NAMEASCII\":\"Ubon Ratchathani\",\"POP_MAX\":273893,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[-81.1200204,-5.0899878],\"properties\":{\"NAME\":\"Paita\",\"NAMEASCII\":\"Paita\",\"POP_MAX\":56151,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-81.2799848,-4.5799931],\"properties\":{\"NAME\":\"Talara\",\"NAMEASCII\":\"Talara\",\"POP_MAX\":99074,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-80.4599832,-3.5700289],\"properties\":{\"NAME\":\"Tumbes\",\"NAMEASCII\":\"Tumbes\",\"POP_MAX\":109223,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-69.183333,-12.6000203],\"properties\":{\"NAME\":\"Puerto Maldonado\",\"NAMEASCII\":\"Puerto Maldonado\",\"POP_MAX\":67155,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-71.340023,-17.6400228],\"properties\":{\"NAME\":\"Ilo\",\"NAMEASCII\":\"Ilo\",\"POP_MAX\":53476,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.9399958,-17.1899727],\"properties\":{\"NAME\":\"Moquegua\",\"NAMEASCII\":\"Moquegua\",\"POP_MAX\":54517,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-77.530007,-9.5300268],\"properties\":{\"NAME\":\"Huaraz\",\"NAMEASCII\":\"Huaraz\",\"POP_MAX\":86934,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.5300234,-7.1500171],\"properties\":{\"NAME\":\"Cajamarca\",\"NAMEASCII\":\"Cajamarca\",\"POP_MAX\":142665,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.2400082,-9.9200289],\"properties\":{\"NAME\":\"Huánuco\",\"NAMEASCII\":\"Huanuco\",\"POP_MAX\":158145,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-79.5706059,-7.4006478],\"properties\":{\"NAME\":\"Pacasmayo\",\"NAMEASCII\":\"Pacasmayo\",\"POP_MAX\":39282,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.9899954,-8.2200293],\"properties\":{\"NAME\":\"Salaverry\",\"NAMEASCII\":\"Salaverry\",\"POP_MAX\":10066,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.2299665,-0.1165963],\"properties\":{\"NAME\":\"Gueppi\",\"NAMEASCII\":\"Gueppi\",\"POP_MAX\":10,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.0199793,-7.3400313],\"properties\":{\"NAME\":\"Contamana\",\"NAMEASCII\":\"Contamana\",\"POP_MAX\":18921,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.990007,-12.7900346],\"properties\":{\"NAME\":\"Huancavelica\",\"NAMEASCII\":\"Huancavelica\",\"POP_MAX\":44388,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-76.2199836,-13.7100301],\"properties\":{\"NAME\":\"Pisco\",\"NAMEASCII\":\"Pisco\",\"POP_MAX\":81207,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.94001,-14.8300134],\"properties\":{\"NAME\":\"Nasca\",\"NAMEASCII\":\"Nasca\",\"POP_MAX\":23556,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-60.0299899,-22.3399943],\"properties\":{\"NAME\":\"Filadelfia\",\"NAMEASCII\":\"Filadelfia\",\"POP_MAX\":10470,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-83.7649494,11.9999768],\"properties\":{\"NAME\":\"Bluefields\",\"NAMEASCII\":\"Bluefields\",\"POP_MAX\":44373,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-2.9500114,35.3000016],\"properties\":{\"NAME\":\"Melilla\",\"NAMEASCII\":\"Melilla\",\"POP_MAX\":141308,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-16.8800397,32.6499825],\"properties\":{\"NAME\":\"Funchal\",\"NAMEASCII\":\"Funchal\",\"POP_MAX\":204767,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-11.7400175,7.9700161],\"properties\":{\"NAME\":\"Bo\",\"NAMEASCII\":\"Bo\",\"POP_MAX\":174354,\"ISO_A2\":\"SL\",\"SOV_A3\":\"SLE\"}},{\"type\":\"Point\",\"coordinates\":[-16.2899982,12.5899925],\"properties\":{\"NAME\":\"Ziguinchor\",\"NAMEASCII\":\"Ziguinchor\",\"POP_MAX\":191716,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[7.389004881037264,18.73633857499418],\"properties\":{\"NAME\":\"Arlit\",\"NAMEASCII\":\"Arlit\",\"POP_MAX\":100000,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[12.3075069,21.0149821],\"properties\":{\"NAME\":\"Djado\",\"NAMEASCII\":\"Djado\",\"POP_MAX\":10,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[2.654246,39.5742627],\"properties\":{\"NAME\":\"Palma\",\"NAMEASCII\":\"Palma\",\"POP_MAX\":375773,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[36.4635518,26.2324156],\"properties\":{\"NAME\":\"Al Wajh\",\"NAMEASCII\":\"Al Wajh\",\"POP_MAX\":43237,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[29.6832938,6.80001],\"properties\":{\"NAME\":\"Rumbek\",\"NAMEASCII\":\"Rumbek\",\"POP_MAX\":32083,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[28.4163427,4.5705337],\"properties\":{\"NAME\":\"Yambio\",\"NAMEASCII\":\"Yambio\",\"POP_MAX\":40382,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[31.5591483,6.2072038],\"properties\":{\"NAME\":\"Bor\",\"NAMEASCII\":\"Bor\",\"POP_MAX\":26782,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[33.5200105,14.3999595],\"properties\":{\"NAME\":\"Medani\",\"NAMEASCII\":\"Medani\",\"POP_MAX\":332714,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[35.3800004,14.0399815],\"properties\":{\"NAME\":\"Gedaref\",\"NAMEASCII\":\"Gedaref\",\"POP_MAX\":201282,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.9599837,17.5899715],\"properties\":{\"NAME\":\"Ad-Damir\",\"NAMEASCII\":\"EdDamer\",\"POP_MAX\":103941,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.9799825,17.7099901],\"properties\":{\"NAME\":\"Atbarah\",\"NAMEASCII\":\"Atbara\",\"POP_MAX\":168612,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[31.3499621,21.8000246],\"properties\":{\"NAME\":\"Wadi Halfa\",\"NAMEASCII\":\"Wadi Halfa\",\"POP_MAX\":17121,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[31.816652,18.483302],\"properties\":{\"NAME\":\"Merowe\",\"NAMEASCII\":\"Merowe\",\"POP_MAX\":10234,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[32.6600114,13.1699829],\"properties\":{\"NAME\":\"Kosti\",\"NAMEASCII\":\"Kosti\",\"POP_MAX\":345068,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[33.6000057,13.5499597],\"properties\":{\"NAME\":\"Sennar\",\"NAMEASCII\":\"Sennar\",\"POP_MAX\":130122,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[25.3500183,13.6299807],\"properties\":{\"NAME\":\"El Fasher\",\"NAMEASCII\":\"El Fasher\",\"POP_MAX\":252609,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[29.700037,11.0099597],\"properties\":{\"NAME\":\"Kadugli\",\"NAMEASCII\":\"Kadugli\",\"POP_MAX\":176931,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[42.5001342,18.2300875],\"properties\":{\"NAME\":\"Abha\",\"NAMEASCII\":\"Abha\",\"POP_MAX\":210886,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[42.5565649,16.9065507],\"properties\":{\"NAME\":\"Jizan\",\"NAMEASCII\":\"Jizan\",\"POP_MAX\":105198,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[32.0500227,3.5999986],\"properties\":{\"NAME\":\"Nimule\",\"NAMEASCII\":\"Nimule\",\"POP_MAX\":242,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[7.1833235,62.7483004],\"properties\":{\"NAME\":\"Molde\",\"NAMEASCII\":\"Molde\",\"POP_MAX\":18594,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[10.5000203,61.1332827],\"properties\":{\"NAME\":\"Lillehammer\",\"NAMEASCII\":\"Lillehammer\",\"POP_MAX\":19542,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[30.0516434,69.7250063],\"properties\":{\"NAME\":\"Kirkenes\",\"NAMEASCII\":\"Kirkenes\",\"POP_MAX\":3282,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[45.5722465,20.462251],\"properties\":{\"NAME\":\"As Sulayyil\",\"NAMEASCII\":\"As Sulayyil\",\"POP_MAX\":24097,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[24.0000232,-30.649978],\"properties\":{\"NAME\":\"De Aar\",\"NAMEASCII\":\"De Aar\",\"POP_MAX\":32318,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[16.5033231,-28.6083455],\"properties\":{\"NAME\":\"Alexander Bay\",\"NAMEASCII\":\"Alexander Bay\",\"POP_MAX\":1500,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[24.770002,-28.7468384],\"properties\":{\"NAME\":\"Kimberley\",\"NAMEASCII\":\"Kimberley\",\"POP_MAX\":165264,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.1900044,-33.5800317],\"properties\":{\"NAME\":\"Oudtshoorn\",\"NAMEASCII\":\"Oudtshoorn\",\"POP_MAX\":76708,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[18.7333162,-31.6166374],\"properties\":{\"NAME\":\"Vanhynsdorp\",\"NAMEASCII\":\"Vanhynsdorp\",\"POP_MAX\":3331,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[17.9300061,-33.0100407],\"properties\":{\"NAME\":\"Saldanha\",\"NAMEASCII\":\"Saldanha\",\"POP_MAX\":68284,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.1300081,-34.1700215],\"properties\":{\"NAME\":\"Mossel Bay\",\"NAMEASCII\":\"Mossel Bay\",\"POP_MAX\":16743,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[33.4700394,-19.1200358],\"properties\":{\"NAME\":\"Chimoio\",\"NAMEASCII\":\"Chimoio\",\"POP_MAX\":256936,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[35.2400089,-13.3000293],\"properties\":{\"NAME\":\"Lichinga\",\"NAMEASCII\":\"Lichinga\",\"POP_MAX\":109839,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[39.9100081,-16.2300313],\"properties\":{\"NAME\":\"Angoche\",\"NAMEASCII\":\"Angoche\",\"POP_MAX\":57835,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[40.6821837,-15.0398989],\"properties\":{\"NAME\":\"Mocambique\",\"NAMEASCII\":\"Mocambique\",\"POP_MAX\":54315,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[24.7300044,-26.9600224],\"properties\":{\"NAME\":\"Vryburg\",\"NAMEASCII\":\"Vryburg\",\"POP_MAX\":49588,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[27.2400321,-25.6500248],\"properties\":{\"NAME\":\"Rustenburg\",\"NAMEASCII\":\"Rustenburg\",\"POP_MAX\":165976,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[25.6100024,-25.8300138],\"properties\":{\"NAME\":\"Mmabatho\",\"NAMEASCII\":\"Mmabatho\",\"POP_MAX\":104428,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[26.6200183,-26.8800272],\"properties\":{\"NAME\":\"Klerksdorp\",\"NAMEASCII\":\"Klerksdorp\",\"POP_MAX\":178921,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[27.2100081,-27.6600313],\"properties\":{\"NAME\":\"Kroonstad\",\"NAMEASCII\":\"Kroonstad\",\"POP_MAX\":103992,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[29.4500264,-23.8900289],\"properties\":{\"NAME\":\"Polokwane\",\"NAMEASCII\":\"Polokwane\",\"POP_MAX\":220045,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.4800411,-22.9500346],\"properties\":{\"NAME\":\"Thohoyandou\",\"NAMEASCII\":\"Thohoyandou\",\"POP_MAX\":269707,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.029991,-22.3399943],\"properties\":{\"NAME\":\"Musina\",\"NAMEASCII\":\"Musina\",\"POP_MAX\":20191,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.7899963,-27.7600252],\"properties\":{\"NAME\":\"Vryheid\",\"NAMEASCII\":\"Vryheid\",\"POP_MAX\":150012,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.3900207,-29.6100415],\"properties\":{\"NAME\":\"Pietermaritzburg\",\"NAMEASCII\":\"Pietermaritzburg\",\"POP_MAX\":750845,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[143.6367,-3.5534924],\"properties\":{\"NAME\":\"Wewak\",\"NAMEASCII\":\"Wewak\",\"POP_MAX\":25143,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[145.785251,-5.2248116],\"properties\":{\"NAME\":\"Madang\",\"NAMEASCII\":\"Madang\",\"POP_MAX\":62023,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[150.8129765,-2.5812843],\"properties\":{\"NAME\":\"Kavieng\",\"NAMEASCII\":\"Kavieng\",\"POP_MAX\":19728,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[-82.8700169,8.280023],\"properties\":{\"NAME\":\"Puerto Armuelles\",\"NAMEASCII\":\"Puerto Armuelles\",\"POP_MAX\":27147,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-5.806197897901798,35.77592490288572],\"properties\":{\"NAME\":\"Tangier\",\"NAMEASCII\":\"Tangier\",\"POP_MAX\":750060,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-9.6200436,30.4399882],\"properties\":{\"NAME\":\"Agadir\",\"NAMEASCII\":\"Agadir\",\"POP_MAX\":825467,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[35.3398175,-23.8580397],\"properties\":{\"NAME\":\"Inhambane\",\"NAMEASCII\":\"Inhambane\",\"POP_MAX\":115776,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[28.790015,-31.5799988],\"properties\":{\"NAME\":\"Umtata\",\"NAMEASCII\":\"Umtata\",\"POP_MAX\":137772,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[24.5400419,-32.3000065],\"properties\":{\"NAME\":\"Graaff Reinet\",\"NAMEASCII\":\"Graaff Reinet\",\"POP_MAX\":62896,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[27.3899971,-32.8699975],\"properties\":{\"NAME\":\"Bhisho\",\"NAMEASCII\":\"Bhisho\",\"POP_MAX\":160997,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[43.6499865,3.1199762],\"properties\":{\"NAME\":\"Baydhabo\",\"NAMEASCII\":\"Baydhabo\",\"POP_MAX\":129839,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[44.76889616536284,1.719949281900825],\"properties\":{\"NAME\":\"Marka\",\"NAMEASCII\":\"Marka\",\"POP_MAX\":1958,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[-173.2257937,64.4234953],\"properties\":{\"NAME\":\"Provideniya\",\"NAMEASCII\":\"Provideniya\",\"POP_MAX\":2536,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-169.8105835,66.1541393],\"properties\":{\"NAME\":\"Uelen\",\"NAMEASCII\":\"Uelen\",\"POP_MAX\":776,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.4143933,67.1643358],\"properties\":{\"NAME\":\"Kandalaksha\",\"NAMEASCII\":\"Kandalaksha\",\"POP_MAX\":38126,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[28.7549267,60.7038774],\"properties\":{\"NAME\":\"Vyborg\",\"NAMEASCII\":\"Vyborg\",\"POP_MAX\":117201,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.2886975,62.2087209],\"properties\":{\"NAME\":\"Kondopoga\",\"NAMEASCII\":\"Kondopoga\",\"POP_MAX\":34360,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[56.372291,70.5980736],\"properties\":{\"NAME\":\"Rusanovo\",\"NAMEASCII\":\"Rusanovo\",\"POP_MAX\":10,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.240028,65.8522195],\"properties\":{\"NAME\":\"Mezen\",\"NAMEASCII\":\"Mezen\",\"POP_MAX\":3672,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.0974198,61.0673952],\"properties\":{\"NAME\":\"Velsk\",\"NAMEASCII\":\"Velsk\",\"POP_MAX\":26300,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.6630843,61.2630681],\"properties\":{\"NAME\":\"Kotlas\",\"NAMEASCII\":\"Kotlas\",\"POP_MAX\":59879,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[38.0771484,63.9271432],\"properties\":{\"NAME\":\"Onega\",\"NAMEASCII\":\"Onega\",\"POP_MAX\":22693,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.0099926,57.0100202],\"properties\":{\"NAME\":\"Ivanovo\",\"NAMEASCII\":\"Ivanovo\",\"POP_MAX\":420839,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.9400227,57.7700255],\"properties\":{\"NAME\":\"Kostroma\",\"NAMEASCII\":\"Kostroma\",\"POP_MAX\":277656,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.2986621,60.7687055],\"properties\":{\"NAME\":\"Velikiy Ustyug\",\"NAMEASCII\":\"Velikiy Ustyug\",\"POP_MAX\":33237,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.6399987,52.6200039],\"properties\":{\"NAME\":\"Lipetsk\",\"NAMEASCII\":\"Lipetsk\",\"POP_MAX\":515655,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.0699841,52.9699567],\"properties\":{\"NAME\":\"Orel\",\"NAMEASCII\":\"Orel\",\"POP_MAX\":334552,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[42.1599483,47.5099799],\"properties\":{\"NAME\":\"Volgodonsk\",\"NAMEASCII\":\"Volgodonsk\",\"POP_MAX\":167731,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[36.5999259,50.6299962],\"properties\":{\"NAME\":\"Belgorod\",\"NAMEASCII\":\"Belgorod\",\"POP_MAX\":345289,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[37.769932,44.7299687],\"properties\":{\"NAME\":\"Novorossiysk\",\"NAMEASCII\":\"Novorossiysk\",\"POP_MAX\":241856,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.4099259,56.1299705],\"properties\":{\"NAME\":\"Vladimir\",\"NAMEASCII\":\"Vladimir\",\"POP_MAX\":318648,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.544351,55.4243805],\"properties\":{\"NAME\":\"Birsk\",\"NAMEASCII\":\"Birsk\",\"POP_MAX\":41014,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.6499918,55.1749901],\"properties\":{\"NAME\":\"Zlatoust\",\"NAMEASCII\":\"Zlatoust\",\"POP_MAX\":191366,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.6676981,69.7630143],\"properties\":{\"NAME\":\"Amderma\",\"NAMEASCII\":\"Amderma\",\"POP_MAX\":282,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.0574226,67.647407],\"properties\":{\"NAME\":\"Naryan Mar\",\"NAMEASCII\":\"Naryan Mar\",\"POP_MAX\":21658,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.1674279,66.0374278],\"properties\":{\"NAME\":\"Inta\",\"NAMEASCII\":\"Inta\",\"POP_MAX\":22921,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.4029972,65.923042],\"properties\":{\"NAME\":\"Usinsk\",\"NAMEASCII\":\"Usinsk\",\"POP_MAX\":45000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.2087455,65.1587476],\"properties\":{\"NAME\":\"Pechora\",\"NAMEASCII\":\"Pechora\",\"POP_MAX\":46113,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.9550378,56.9100263],\"properties\":{\"NAME\":\"Pervouralsk\",\"NAMEASCII\":\"Pervouralsk\",\"POP_MAX\":133600,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[53.2300219,56.8500299],\"properties\":{\"NAME\":\"Izhevsk\",\"NAMEASCII\":\"Izhevsk\",\"POP_MAX\":631038,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.1686958,48.2787185],\"properties\":{\"NAME\":\"Akhtubinsk\",\"NAMEASCII\":\"Akhtubinsk\",\"POP_MAX\":44551,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.2087121,46.3286566],\"properties\":{\"NAME\":\"Elista\",\"NAMEASCII\":\"Elista\",\"POP_MAX\":106971,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.6974068,51.0173885],\"properties\":{\"NAME\":\"Krasnoarmeysk\",\"NAMEASCII\":\"Krasnoarmeysk\",\"POP_MAX\":25841,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[57.5314131,22.92639],\"properties\":{\"NAME\":\"Nizwa\",\"NAMEASCII\":\"Nizwa\",\"POP_MAX\":72076,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[59.5348051,22.5758171],\"properties\":{\"NAME\":\"Sur\",\"NAMEASCII\":\"Sur\",\"POP_MAX\":71152,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[47.2999963,3.7665776],\"properties\":{\"NAME\":\"Mereeg\",\"NAMEASCII\":\"Mereeg\",\"POP_MAX\":548,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[45.2000211,4.7399807],\"properties\":{\"NAME\":\"Beledweyne\",\"NAMEASCII\":\"Beledweyne\",\"POP_MAX\":62945,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[49.1799849,11.2800208],\"properties\":{\"NAME\":\"Boosaaso\",\"NAMEASCII\":\"Boosaaso\",\"POP_MAX\":46969,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[50.8166809,9.4833087],\"properties\":{\"NAME\":\"Bandarbeyla\",\"NAMEASCII\":\"Bandarbeyla\",\"POP_MAX\":13753,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[47.4300142,6.7699601],\"properties\":{\"NAME\":\"Gaalkacyo\",\"NAMEASCII\":\"Gaalkacyo\",\"POP_MAX\":61200,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[49.8332784,7.9833486],\"properties\":{\"NAME\":\"Eyl\",\"NAMEASCII\":\"Eyl\",\"POP_MAX\":18904,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[48.5000264,8.3999898],\"properties\":{\"NAME\":\"Garoowe\",\"NAMEASCII\":\"Garoowe\",\"POP_MAX\":2568,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[80.3832999,8.3499929],\"properties\":{\"NAME\":\"Anuradhapura\",\"NAMEASCII\":\"Anuradhapura\",\"POP_MAX\":118302,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[80.0050284,9.6750025],\"properties\":{\"NAME\":\"Jaffna\",\"NAMEASCII\":\"Jaffna\",\"POP_MAX\":250000,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[122.9816817,10.6316883],\"properties\":{\"NAME\":\"Bacolod\",\"NAMEASCII\":\"Bacolod\",\"POP_MAX\":949354,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[122.7511014,11.5852735],\"properties\":{\"NAME\":\"Roxas\",\"NAMEASCII\":\"Roxas\",\"POP_MAX\":102688,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[118.744384,9.7542678],\"properties\":{\"NAME\":\"Puerto Princesa\",\"NAMEASCII\":\"Puerto Princesa\",\"POP_MAX\":157144,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[123.1813594,13.6191545],\"properties\":{\"NAME\":\"Naga\",\"NAMEASCII\":\"Naga\",\"POP_MAX\":741635,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.5450862,15.1450562],\"properties\":{\"NAME\":\"Angeles\",\"NAMEASCII\":\"Angeles\",\"POP_MAX\":314493,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[121.021698,13.7816769],\"properties\":{\"NAME\":\"Batangas\",\"NAMEASCII\":\"Batangas\",\"POP_MAX\":424508,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[124.2484261,7.2169096],\"properties\":{\"NAME\":\"Cotabato\",\"NAMEASCII\":\"Cotabato\",\"POP_MAX\":279519,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[124.6041666,12.067182],\"properties\":{\"NAME\":\"Calbayog\",\"NAMEASCII\":\"Calbayog\",\"POP_MAX\":67921,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[124.6852986,8.4508395],\"properties\":{\"NAME\":\"Cagayan de Oro\",\"NAMEASCII\":\"Cagayan de Oro\",\"POP_MAX\":1121561,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[42.7505582,0.0721778],\"properties\":{\"NAME\":\"Jamaame\",\"NAMEASCII\":\"Jamaame\",\"POP_MAX\":185270,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[42.5183243,-0.3566333],\"properties\":{\"NAME\":\"Kismaayo\",\"NAMEASCII\":\"Kismaayo\",\"POP_MAX\":234852,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[-109.9045164,22.8927562],\"properties\":{\"NAME\":\"Cabo San Lucas\",\"NAMEASCII\":\"Cabo San Lucas\",\"POP_MAX\":42601,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.4199958,26.8999976],\"properties\":{\"NAME\":\"Monclova\",\"NAMEASCII\":\"Monclova\",\"POP_MAX\":236244,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.4200238,16.6800529],\"properties\":{\"NAME\":\"Ometepec\",\"NAMEASCII\":\"Ometepec\",\"POP_MAX\":30271,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-86.9500004,20.51],\"properties\":{\"NAME\":\"Cozumel\",\"NAMEASCII\":\"Cozumel\",\"POP_MAX\":73934,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-16.5100106,16.0199898],\"properties\":{\"NAME\":\"Saint-Louis\",\"NAMEASCII\":\"Saint-Louis\",\"POP_MAX\":220792,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-11.4166006,18.5500163],\"properties\":{\"NAME\":\"Tidjikdja\",\"NAMEASCII\":\"Tidjikdja\",\"POP_MAX\":19981,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[4.54805,8.4919561],\"properties\":{\"NAME\":\"Ilorin\",\"NAMEASCII\":\"Ilorin\",\"POP_MAX\":771000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[6.5500288,9.6199929],\"properties\":{\"NAME\":\"Minna\",\"NAMEASCII\":\"Minna\",\"POP_MAX\":291905,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.7080639,11.0819272],\"properties\":{\"NAME\":\"Zaria\",\"NAMEASCII\":\"Zaria\",\"POP_MAX\":889000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[8.8900411,9.929974],\"properties\":{\"NAME\":\"Jos\",\"NAMEASCII\":\"Jos\",\"POP_MAX\":816824,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[12.4800028,9.2099921],\"properties\":{\"NAME\":\"Yola\",\"NAMEASCII\":\"Yola\",\"POP_MAX\":96006,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[19.458228648552854,51.76779686697564],\"properties\":{\"NAME\":\"Łódź\",\"NAMEASCII\":\"Lodz\",\"POP_MAX\":758000,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[56.7599873,59.4200023],\"properties\":{\"NAME\":\"Berezniki\",\"NAMEASCII\":\"Berezniki\",\"POP_MAX\":167748,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[18.1299939,-26.5738961],\"properties\":{\"NAME\":\"Keetmanshoop\",\"NAMEASCII\":\"Keetmanshoop\",\"POP_MAX\":18039,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[16.939989,-24.8399967],\"properties\":{\"NAME\":\"Maltahöhe\",\"NAMEASCII\":\"Maltahohe\",\"POP_MAX\":2329,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[14.5350195,-22.6688631],\"properties\":{\"NAME\":\"Swakopmund\",\"NAMEASCII\":\"Swakopmund\",\"POP_MAX\":29491,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[15.7700345,-17.7800142],\"properties\":{\"NAME\":\"Ongwediva\",\"NAMEASCII\":\"Ongwediva\",\"POP_MAX\":25032,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[19.7499467,-17.9200057],\"properties\":{\"NAME\":\"Rundu\",\"NAMEASCII\":\"Rundu\",\"POP_MAX\":58172,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[17.7100195,-19.2400285],\"properties\":{\"NAME\":\"Tsumeb\",\"NAMEASCII\":\"Tsumeb\",\"POP_MAX\":14959,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[32.8000028,-5.0200179],\"properties\":{\"NAME\":\"Tabora\",\"NAMEASCII\":\"Tabora\",\"POP_MAX\":146495,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[39.6999951,-10.000024],\"properties\":{\"NAME\":\"Lindi\",\"NAMEASCII\":\"Lindi\",\"POP_MAX\":41912,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.6500097,-10.6800342],\"properties\":{\"NAME\":\"Songea\",\"NAMEASCII\":\"Songea\",\"POP_MAX\":126449,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[39.0900065,-5.0700407],\"properties\":{\"NAME\":\"Tanga\",\"NAMEASCII\":\"Tanga\",\"POP_MAX\":224876,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[-0.8899821,41.6500016],\"properties\":{\"NAME\":\"Zaragoza\",\"NAMEASCII\":\"Zaragoza\",\"POP_MAX\":649404,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[11.978630208072927,57.709146768849784],\"properties\":{\"NAME\":\"Göteborg\",\"NAMEASCII\":\"Goteborg\",\"POP_MAX\":537797,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[-10.0700161,28.979974],\"properties\":{\"NAME\":\"Goulimine\",\"NAMEASCII\":\"Goulimine\",\"POP_MAX\":115267,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-11.6833285,26.7332894],\"properties\":{\"NAME\":\"Smara\",\"NAMEASCII\":\"Smara\",\"POP_MAX\":48149,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-15.9368109,23.7140559],\"properties\":{\"NAME\":\"Ad Dakhla\",\"NAMEASCII\":\"Ad Dakhla\",\"POP_MAX\":89292,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[27.7999979,11.3333508],\"properties\":{\"NAME\":\"Babanusa\",\"NAMEASCII\":\"Babanusa\",\"POP_MAX\":19700,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[98.8000052,1.7499823],\"properties\":{\"NAME\":\"Sibolga\",\"NAMEASCII\":\"Sibolga\",\"POP_MAX\":217312,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[99.061488,2.9614329],\"properties\":{\"NAME\":\"Pematangsiantar\",\"NAMEASCII\":\"Pematangsiantar\",\"POP_MAX\":341200,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[101.4230671,0.5669101],\"properties\":{\"NAME\":\"Pekanbaru\",\"NAMEASCII\":\"Pekanbaru\",\"POP_MAX\":799000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[124.8499914,1.4800246],\"properties\":{\"NAME\":\"Manado\",\"NAMEASCII\":\"Manado\",\"POP_MAX\":451893,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[110.3750093,-7.7799528],\"properties\":{\"NAME\":\"Yogyakarta\",\"NAMEASCII\":\"Yogyakarta\",\"POP_MAX\":636660,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[122.5973124,-3.9553283],\"properties\":{\"NAME\":\"Kendari\",\"NAMEASCII\":\"Kendari\",\"POP_MAX\":165377,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[119.8330367,-0.907039],\"properties\":{\"NAME\":\"Palu\",\"NAMEASCII\":\"Palu\",\"POP_MAX\":612445,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[135.5134232,-3.3515409],\"properties\":{\"NAME\":\"Nabire\",\"NAMEASCII\":\"Nabire\",\"POP_MAX\":43898,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[140.401807,-8.4931909],\"properties\":{\"NAME\":\"Merauke\",\"NAMEASCII\":\"Merauke\",\"POP_MAX\":34412,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-8.6230502,52.664704],\"properties\":{\"NAME\":\"Limerick\",\"NAMEASCII\":\"Limerick\",\"POP_MAX\":90054,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-9.0388129,5.0111269],\"properties\":{\"NAME\":\"Greenville\",\"NAMEASCII\":\"Greenville\",\"POP_MAX\":10374,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-10.052472,5.9160846],\"properties\":{\"NAME\":\"Buchanan\",\"NAMEASCII\":\"Buchanan\",\"POP_MAX\":48315,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[-11.3685932,6.7533203],\"properties\":{\"NAME\":\"Robertsport\",\"NAMEASCII\":\"Robertsport\",\"POP_MAX\":11969,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[15.7800081,4.2499589],\"properties\":{\"NAME\":\"Berbérati\",\"NAMEASCII\":\"Berberati\",\"POP_MAX\":61815,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[8.9300386,44.4099882],\"properties\":{\"NAME\":\"Genoa\",\"NAMEASCII\":\"Genoa\",\"POP_MAX\":647497,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[21.9832987,6.5333079],\"properties\":{\"NAME\":\"Bria\",\"NAMEASCII\":\"Bria\",\"POP_MAX\":29027,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[37.9799967,2.3299986],\"properties\":{\"NAME\":\"Marsabit\",\"NAMEASCII\":\"Marsabit\",\"POP_MAX\":16460,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[39.0500089,3.5199776],\"properties\":{\"NAME\":\"Moyale\",\"NAMEASCII\":\"Moyale\",\"POP_MAX\":24837,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[36.0699841,-0.2799971],\"properties\":{\"NAME\":\"Nakuru\",\"NAMEASCII\":\"Nakuru\",\"POP_MAX\":364727,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[26.5099991,55.8799599],\"properties\":{\"NAME\":\"Daugavpils\",\"NAMEASCII\":\"Daugavpils\",\"POP_MAX\":111564,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[97.1414502,5.1914002],\"properties\":{\"NAME\":\"Lhokseumawe\",\"NAMEASCII\":\"Lhokseumawe\",\"POP_MAX\":140322,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[100.7199914,4.8649601],\"properties\":{\"NAME\":\"Taiping\",\"NAMEASCII\":\"Taiping\",\"POP_MAX\":237095,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[101.0649833,4.5999892],\"properties\":{\"NAME\":\"Ipoh\",\"NAMEASCII\":\"Ipoh\",\"POP_MAX\":673318,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[102.2299768,6.119974],\"properties\":{\"NAME\":\"Kota Baharu\",\"NAMEASCII\":\"Kota Baharu\",\"POP_MAX\":505583,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[102.2464615,2.2064144],\"properties\":{\"NAME\":\"Malacca\",\"NAMEASCII\":\"Malacca\",\"POP_MAX\":788706,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[103.3200394,3.8299587],\"properties\":{\"NAME\":\"Kuantan\",\"NAMEASCII\":\"Kuantan\",\"POP_MAX\":366229,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[118.7533319,30.9544459],\"properties\":{\"NAME\":\"Xuanzhou\",\"NAMEASCII\":\"Xuanzhou\",\"POP_MAX\":866000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.5658319,22.2788903],\"properties\":{\"NAME\":\"Zhuhai\",\"NAMEASCII\":\"Zhuhai\",\"POP_MAX\":1023000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.1499963,-0.5000354],\"properties\":{\"NAME\":\"Samarinda\",\"NAMEASCII\":\"Samarinda\",\"POP_MAX\":592228,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[117.8959973,4.2709654],\"properties\":{\"NAME\":\"Tawau\",\"NAMEASCII\":\"Tawau\",\"POP_MAX\":306462,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[118.107974,5.8429625],\"properties\":{\"NAME\":\"Sandakan\",\"NAMEASCII\":\"Sandakan\",\"POP_MAX\":392288,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[116.1100081,5.9799825],\"properties\":{\"NAME\":\"Kota Kinabalu\",\"NAMEASCII\":\"Kota Kinabalu\",\"POP_MAX\":527671,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[111.8430334,2.3029718],\"properties\":{\"NAME\":\"Sibu\",\"NAMEASCII\":\"Sibu\",\"POP_MAX\":203832,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[40.9196664,-2.2620436],\"properties\":{\"NAME\":\"Lamu\",\"NAMEASCII\":\"Lamu\",\"POP_MAX\":24525,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[40.1000223,-3.2099992],\"properties\":{\"NAME\":\"Malindi\",\"NAMEASCII\":\"Malindi\",\"POP_MAX\":94016,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[34.750013,-0.0900346],\"properties\":{\"NAME\":\"Kisumu\",\"NAMEASCII\":\"Kisumu\",\"POP_MAX\":395615,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[47.0332942,-19.8500171],\"properties\":{\"NAME\":\"Antsirabe\",\"NAMEASCII\":\"Antsirabe\",\"POP_MAX\":307921,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[50.2833284,-14.8833435],\"properties\":{\"NAME\":\"Antalaha\",\"NAMEASCII\":\"Antalaha\",\"POP_MAX\":47224,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[48.266604,-13.4000232],\"properties\":{\"NAME\":\"Andoany\",\"NAMEASCII\":\"Andoany\",\"POP_MAX\":22680,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[47.8332454,-22.816606],\"properties\":{\"NAME\":\"Farafangana\",\"NAMEASCII\":\"Farafangana\",\"POP_MAX\":24764,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[48.3333182,-21.216652],\"properties\":{\"NAME\":\"Mananjary\",\"NAMEASCII\":\"Mananjary\",\"POP_MAX\":27686,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[44.0166825,-18.0666117],\"properties\":{\"NAME\":\"Maintirano\",\"NAMEASCII\":\"Maintirano\",\"POP_MAX\":5925,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[49.4049841,-18.1817985],\"properties\":{\"NAME\":\"Toamasina\",\"NAMEASCII\":\"Toamasina\",\"POP_MAX\":210226,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[49.7333361,-15.4333358],\"properties\":{\"NAME\":\"Maroantsetra\",\"NAMEASCII\":\"Maroantsetra\",\"POP_MAX\":38046,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[46.9900411,-25.026807],\"properties\":{\"NAME\":\"Tôlanaro\",\"NAMEASCII\":\"Tolanaro\",\"POP_MAX\":16818,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[43.3656776,-21.7391385],\"properties\":{\"NAME\":\"Morombe\",\"NAMEASCII\":\"Morombe\",\"POP_MAX\":16727,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[44.0749469,-25.0219462],\"properties\":{\"NAME\":\"Androka\",\"NAMEASCII\":\"Androka\",\"POP_MAX\":174,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[44.2833329,-20.2832723],\"properties\":{\"NAME\":\"Morondava\",\"NAMEASCII\":\"Morondava\",\"POP_MAX\":36803,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[108.5666442,-6.7332983],\"properties\":{\"NAME\":\"Cirebon\",\"NAMEASCII\":\"Cirebon\",\"POP_MAX\":254298,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[108.2146761,-7.3254069],\"properties\":{\"NAME\":\"Tasikmalaya\",\"NAMEASCII\":\"Tasikmalaya\",\"POP_MAX\":271143,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[106.7480651,-6.5680549],\"properties\":{\"NAME\":\"Bogor\",\"NAMEASCII\":\"Bogor\",\"POP_MAX\":918000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[102.2699743,-3.8000407],\"properties\":{\"NAME\":\"Bengkulu\",\"NAMEASCII\":\"Bengkulu\",\"POP_MAX\":426673,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[109.3199833,-0.0299866],\"properties\":{\"NAME\":\"Pontianak\",\"NAMEASCII\":\"Pontianak\",\"POP_MAX\":607311,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[104.8999947,-4.8333109],\"properties\":{\"NAME\":\"Kotabumi\",\"NAMEASCII\":\"Kotabumi\",\"POP_MAX\":42366,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[103.5333081,-3.8000407],\"properties\":{\"NAME\":\"Lahat\",\"NAMEASCII\":\"Lahat\",\"POP_MAX\":65906,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[106.1500476,-2.0800423],\"properties\":{\"NAME\":\"Pangkalpinang\",\"NAMEASCII\":\"Pangkalpinang\",\"POP_MAX\":125933,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[113.6873136,-8.1726937],\"properties\":{\"NAME\":\"Jember\",\"NAMEASCII\":\"Jember\",\"POP_MAX\":298585,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[114.8364941,-3.413501],\"properties\":{\"NAME\":\"Martapura\",\"NAMEASCII\":\"Martapura\",\"POP_MAX\":198239,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[120.4698453,-8.61184],\"properties\":{\"NAME\":\"Ruteng\",\"NAMEASCII\":\"Ruteng\",\"POP_MAX\":53976,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-79.9599878,-3.260022],\"properties\":{\"NAME\":\"Machala\",\"NAMEASCII\":\"Machala\",\"POP_MAX\":213034,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-79.2100078,-3.9900032],\"properties\":{\"NAME\":\"Loja\",\"NAMEASCII\":\"Loja\",\"POP_MAX\":126368,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-80.7299667,-0.9800061],\"properties\":{\"NAME\":\"Manta\",\"NAMEASCII\":\"Manta\",\"POP_MAX\":183166,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-78.650042,-1.6700415],\"properties\":{\"NAME\":\"Riobamba\",\"NAMEASCII\":\"Riobamba\",\"POP_MAX\":172464,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-71.2309424,18.8089489],\"properties\":{\"NAME\":\"San Juan\",\"NAMEASCII\":\"San Juan\",\"POP_MAX\":72950,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-78.8099805,1.8099787],\"properties\":{\"NAME\":\"Tumaco\",\"NAMEASCII\":\"Tumaco\",\"POP_MAX\":86713,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[21.5099943,2.1400102],\"properties\":{\"NAME\":\"Lisala\",\"NAMEASCII\":\"Lisala\",\"POP_MAX\":70087,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[19.7699971,3.2600193],\"properties\":{\"NAME\":\"Gemena\",\"NAMEASCII\":\"Gemena\",\"POP_MAX\":198056,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[21.5902478,17.184725],\"properties\":{\"NAME\":\"Fada\",\"NAMEASCII\":\"Fada\",\"POP_MAX\":448,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[19.1167037,17.9166699],\"properties\":{\"NAME\":\"Faya Largeau\",\"NAMEASCII\":\"Faya Largeau\",\"POP_MAX\":13400,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[15.3133182,14.119434],\"properties\":{\"NAME\":\"Mao\",\"NAMEASCII\":\"Mao\",\"POP_MAX\":18031,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[9.7699873,1.8700008],\"properties\":{\"NAME\":\"Bata\",\"NAMEASCII\":\"Bata\",\"POP_MAX\":173046,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[20.9166971,14.5332589],\"properties\":{\"NAME\":\"Biltine\",\"NAMEASCII\":\"Biltine\",\"POP_MAX\":11000,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[18.3900297,9.1499699],\"properties\":{\"NAME\":\"Sarh\",\"NAMEASCII\":\"Sarh\",\"POP_MAX\":169196,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[20.2832991,11.0332916],\"properties\":{\"NAME\":\"Am Timan\",\"NAMEASCII\":\"Am Timan\",\"POP_MAX\":30443,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[25.5166748,29.2000122],\"properties\":{\"NAME\":\"Siwa\",\"NAMEASCII\":\"Siwa\",\"POP_MAX\":23080,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.7499987,28.0900025],\"properties\":{\"NAME\":\"El Minya\",\"NAMEASCII\":\"El Minya\",\"POP_MAX\":500000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.9500195,24.4699909],\"properties\":{\"NAME\":\"Kom Ombo\",\"NAMEASCII\":\"Kom Ombo\",\"POP_MAX\":303962,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.5500109,25.4400092],\"properties\":{\"NAME\":\"El Kharga\",\"NAMEASCII\":\"El Kharga\",\"POP_MAX\":49991,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[33.8300175,27.2300033],\"properties\":{\"NAME\":\"Hurghada\",\"NAMEASCII\":\"Hurghada\",\"POP_MAX\":157204,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[24.7400297,2.8199945],\"properties\":{\"NAME\":\"Buta\",\"NAMEASCII\":\"Buta\",\"POP_MAX\":45677,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.5299698,3.0400069],\"properties\":{\"NAME\":\"Watsa\",\"NAMEASCII\":\"Watsa\",\"POP_MAX\":24516,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.6200089,2.7599723],\"properties\":{\"NAME\":\"Isiro\",\"NAMEASCII\":\"Isiro\",\"POP_MAX\":157196,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.6700175,3.8099599],\"properties\":{\"NAME\":\"Bondo\",\"NAMEASCII\":\"Bondo\",\"POP_MAX\":23517,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[6.9480586,50.9319495],\"properties\":{\"NAME\":\"Cologne\",\"NAMEASCII\":\"Cologne\",\"POP_MAX\":1004000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[26.7098836,58.3839415],\"properties\":{\"NAME\":\"Tartu\",\"NAMEASCII\":\"Tartu\",\"POP_MAX\":101092,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[108.7127763,34.3475015],\"properties\":{\"NAME\":\"Xianyang\",\"NAMEASCII\":\"Xianyang\",\"POP_MAX\":1126000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.1280985,32.021941],\"properties\":{\"NAME\":\"Xiangyang\",\"NAMEASCII\":\"Xiangyang\",\"POP_MAX\":1069000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.5313874,30.5352792],\"properties\":{\"NAME\":\"Suining\",\"NAMEASCII\":\"Suining\",\"POP_MAX\":1425000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.3991652,41.2419459],\"properties\":{\"NAME\":\"Lingyuan\",\"NAMEASCII\":\"Lingyuan\",\"POP_MAX\":806000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.0999784,37.4999707],\"properties\":{\"NAME\":\"Weihai\",\"NAMEASCII\":\"Weihai\",\"POP_MAX\":560255,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.3980541,27.8352792],\"properties\":{\"NAME\":\"Yichun\",\"NAMEASCII\":\"Yichun\",\"POP_MAX\":982000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.16752009132611,33.337876796411734],\"properties\":{\"NAME\":\"Yancheng\",\"NAMEASCII\":\"Yancheng\",\"POP_MAX\":839000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.9499985,30.0552792],\"properties\":{\"NAME\":\"Fuyang\",\"NAMEASCII\":\"Fuyang\",\"POP_MAX\":771000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[18.2800105,-1.9399992],\"properties\":{\"NAME\":\"Inongo\",\"NAMEASCII\":\"Inongo\",\"POP_MAX\":40113,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[20.7700394,-6.4099589],\"properties\":{\"NAME\":\"Tshikapa\",\"NAMEASCII\":\"Tshikapa\",\"POP_MAX\":267462,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[13.0499939,-5.8299943],\"properties\":{\"NAME\":\"Boma\",\"NAMEASCII\":\"Boma\",\"POP_MAX\":178638,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[28.8400378,-2.5099902],\"properties\":{\"NAME\":\"Bukavu\",\"NAMEASCII\":\"Bukavu\",\"POP_MAX\":436779,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.1400195,-3.3699894],\"properties\":{\"NAME\":\"Uvira\",\"NAMEASCII\":\"Uvira\",\"POP_MAX\":170391,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[25.9099841,-2.963916],\"properties\":{\"NAME\":\"Kindu\",\"NAMEASCII\":\"Kindu\",\"POP_MAX\":262914,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.4400057,-7.0000004],\"properties\":{\"NAME\":\"Mwene-Ditu\",\"NAMEASCII\":\"Mwene-Ditu\",\"POP_MAX\":189177,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.7800085,-10.9700423],\"properties\":{\"NAME\":\"Likasi\",\"NAMEASCII\":\"Likasi\",\"POP_MAX\":434408,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.4499934,-7.3000338],\"properties\":{\"NAME\":\"Manono\",\"NAMEASCII\":\"Manono\",\"POP_MAX\":46111,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[25.0099873,-8.730024],\"properties\":{\"NAME\":\"Kamina\",\"NAMEASCII\":\"Kamina\",\"POP_MAX\":128803,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[35.1332454,-16.5500118],\"properties\":{\"NAME\":\"Chiromo\",\"NAMEASCII\":\"Chiromo\",\"POP_MAX\":25235,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[35.3100305,-15.3900309],\"properties\":{\"NAME\":\"Zomba\",\"NAMEASCII\":\"Zomba\",\"POP_MAX\":80932,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[103.6100476,-1.5899947],\"properties\":{\"NAME\":\"Jambi\",\"NAMEASCII\":\"Jambi\",\"POP_MAX\":457090,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[134.0692736,-0.8711238],\"properties\":{\"NAME\":\"Manokwari\",\"NAMEASCII\":\"Manokwari\",\"POP_MAX\":74504,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-52.6499494,5.1599809],\"properties\":{\"NAME\":\"Kourou\",\"NAMEASCII\":\"Kourou\",\"POP_MAX\":24029,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-1.6319603,6.6919367],\"properties\":{\"NAME\":\"Kumasi\",\"NAMEASCII\":\"Kumasi\",\"POP_MAX\":1646000,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[-1.7040151,4.9432758],\"properties\":{\"NAME\":\"Sekondi\",\"NAMEASCII\":\"Sekondi\",\"POP_MAX\":286248,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[11.5833134,1.6166313],\"properties\":{\"NAME\":\"Oyem\",\"NAMEASCII\":\"Oyem\",\"POP_MAX\":43423,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[24.5135835,58.3747431],\"properties\":{\"NAME\":\"Pärnu\",\"NAMEASCII\":\"Parnu\",\"POP_MAX\":44192,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[79.9899389,14.4399829],\"properties\":{\"NAME\":\"Nellore\",\"NAMEASCII\":\"Nellore\",\"POP_MAX\":678004,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.0300069,15.8300014],\"properties\":{\"NAME\":\"Kurnool\",\"NAMEASCII\":\"Kurnool\",\"POP_MAX\":424920,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.4500142,16.3299968],\"properties\":{\"NAME\":\"Guntur\",\"NAMEASCII\":\"Guntur\",\"POP_MAX\":530577,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.1000378,13.3299732],\"properties\":{\"NAME\":\"Tumakuru\",\"NAMEASCII\":\"Tumakuru\",\"POP_MAX\":399606,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.9200065,14.4700069],\"properties\":{\"NAME\":\"Davangere\",\"NAMEASCII\":\"Davangere\",\"POP_MAX\":503564,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9150362,15.1500429],\"properties\":{\"NAME\":\"Ballari\",\"NAMEASCII\":\"Ballari\",\"POP_MAX\":445388,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.5050024,15.8650122],\"properties\":{\"NAME\":\"Belagavi\",\"NAMEASCII\":\"Belagavi\",\"POP_MAX\":608756,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[10.650037,-3.4166015],\"properties\":{\"NAME\":\"Mayumba\",\"NAMEASCII\":\"Mayumba\",\"POP_MAX\":3996,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[9.9999991,-2.6500333],\"properties\":{\"NAME\":\"Gamba\",\"NAMEASCII\":\"Gamba\",\"POP_MAX\":9928,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[-1.1499921,46.166651],\"properties\":{\"NAME\":\"La Rochelle\",\"NAMEASCII\":\"La Rochelle\",\"POP_MAX\":76997,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-3.9833592,22.6665867],\"properties\":{\"NAME\":\"Taoudenni\",\"NAMEASCII\":\"Taoudenni\",\"POP_MAX\":3019,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-3.5299502,18.9000208],\"properties\":{\"NAME\":\"Araouane\",\"NAMEASCII\":\"Araouane\",\"POP_MAX\":4026,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[1.0888118,20.2013884],\"properties\":{\"NAME\":\"Tessalit\",\"NAMEASCII\":\"Tessalit\",\"POP_MAX\":6000,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[2.3999979,15.9166628],\"properties\":{\"NAME\":\"Ménaka\",\"NAMEASCII\":\"Menaka\",\"POP_MAX\":9110,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-70.1899899,-22.0900354],\"properties\":{\"NAME\":\"Tocopilla\",\"NAMEASCII\":\"Tocopilla\",\"POP_MAX\":24460,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-68.9199899,-22.4500134],\"properties\":{\"NAME\":\"Calama\",\"NAMEASCII\":\"Calama\",\"POP_MAX\":143084,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.4499998,-23.0999996],\"properties\":{\"NAME\":\"Mejillones\",\"NAMEASCII\":\"Mejillones\",\"POP_MAX\":2041,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.4700245,-25.4000142],\"properties\":{\"NAME\":\"Taltal\",\"NAMEASCII\":\"Taltal\",\"POP_MAX\":10018,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.7600068,-28.5700016],\"properties\":{\"NAME\":\"Vallenar\",\"NAMEASCII\":\"Vallenar\",\"POP_MAX\":44895,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.62147,-26.3481],\"properties\":{\"NAME\":\"Chañaral\",\"NAMEASCII\":\"Chanaral\",\"POP_MAX\":13543,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.19949283690885,-30.609446535085038],\"properties\":{\"NAME\":\"Ovalle\",\"NAMEASCII\":\"Ovalle\",\"POP_MAX\":77138,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.11129119828513,-36.606832344547854],\"properties\":{\"NAME\":\"Chillán\",\"NAMEASCII\":\"Chillan\",\"POP_MAX\":150396,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.7399821,-34.1700215],\"properties\":{\"NAME\":\"Rancagua\",\"NAMEASCII\":\"Rancagua\",\"POP_MAX\":233268,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.13066127645298,-40.578707255179616],\"properties\":{\"NAME\":\"Osorno\",\"NAMEASCII\":\"Osorno\",\"POP_MAX\":154131,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.8299744,-41.869965],\"properties\":{\"NAME\":\"Ancud\",\"NAMEASCII\":\"Ancud\",\"POP_MAX\":28020,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.6656369430057,-35.43021009325654],\"properties\":{\"NAME\":\"Talca\",\"NAMEASCII\":\"Talca\",\"POP_MAX\":197479,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2400291,-34.9799979],\"properties\":{\"NAME\":\"Curicó\",\"NAMEASCII\":\"Curico\",\"POP_MAX\":113711,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-11.5833088,25.2333034],\"properties\":{\"NAME\":\"Bir Mogrein\",\"NAMEASCII\":\"Bir Mogrein\",\"POP_MAX\":10,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-15.812663,16.5240159],\"properties\":{\"NAME\":\"Rosso\",\"NAMEASCII\":\"Rosso\",\"POP_MAX\":47203,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-11.3999866,16.6199791],\"properties\":{\"NAME\":\"Kiffa\",\"NAMEASCII\":\"Kiffa\",\"POP_MAX\":73930,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-7.2799797,15.1800153],\"properties\":{\"NAME\":\"Nara\",\"NAMEASCII\":\"Nara\",\"POP_MAX\":18459,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-7.5499891,12.8833079],\"properties\":{\"NAME\":\"Koulikoro\",\"NAMEASCII\":\"Koulikoro\",\"POP_MAX\":23919,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-4.1800397,14.4899799],\"properties\":{\"NAME\":\"Mopti\",\"NAMEASCII\":\"Mopti\",\"POP_MAX\":108456,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[16.0500175,1.6099909],\"properties\":{\"NAME\":\"Ouésso\",\"NAMEASCII\":\"Ouesso\",\"POP_MAX\":28320,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[9.5000297,30.1332886],\"properties\":{\"NAME\":\"Ghadamis\",\"NAMEASCII\":\"Ghadamis\",\"POP_MAX\":6623,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[22.1141951,37.0389136],\"properties\":{\"NAME\":\"Kalamata\",\"NAMEASCII\":\"Kalamata\",\"POP_MAX\":71823,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[15.9333321,29.1166581],\"properties\":{\"NAME\":\"Hun\",\"NAMEASCII\":\"Hun\",\"POP_MAX\":18878,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[14.2833553,27.5333181],\"properties\":{\"NAME\":\"Birak\",\"NAMEASCII\":\"Birak\",\"POP_MAX\":45421,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[10.1727535,24.964741],\"properties\":{\"NAME\":\"Ghat\",\"NAMEASCII\":\"Ghat\",\"POP_MAX\":24347,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[13.897229,25.9043994],\"properties\":{\"NAME\":\"Marzuq\",\"NAMEASCII\":\"Marzuq\",\"POP_MAX\":55071,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[20.2199955,30.7699939],\"properties\":{\"NAME\":\"Ajdabiya\",\"NAMEASCII\":\"Ajdabiya\",\"POP_MAX\":143833,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[21.2869071,29.1080282],\"properties\":{\"NAME\":\"Awjilah\",\"NAMEASCII\":\"Awjilah\",\"POP_MAX\":6610,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[16.5900362,31.2099929],\"properties\":{\"NAME\":\"Surt\",\"NAMEASCII\":\"Surt\",\"POP_MAX\":128123,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[22.6391393,32.7648111],\"properties\":{\"NAME\":\"Darnah\",\"NAMEASCII\":\"Darnah\",\"POP_MAX\":127974,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[23.9600256,32.0799915],\"properties\":{\"NAME\":\"Tubruq\",\"NAMEASCII\":\"Tubruq\",\"POP_MAX\":263527,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[25.1304968,35.325013],\"properties\":{\"NAME\":\"Iraklio\",\"NAMEASCII\":\"Iraklio\",\"POP_MAX\":137154,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[41.0200179,43.0200214],\"properties\":{\"NAME\":\"Sukhumi\",\"NAMEASCII\":\"Sukhumi\",\"POP_MAX\":81546,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[35.83166068140427,34.438267091668244],\"properties\":{\"NAME\":\"Ṭarābulus\",\"NAMEASCII\":\"Tarabulus\",\"POP_MAX\":530000,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[37.7200126,10.3399748],\"properties\":{\"NAME\":\"Debre Markos\",\"NAMEASCII\":\"Debre Markos\",\"POP_MAX\":70758,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.6300252,11.1299783],\"properties\":{\"NAME\":\"Dese\",\"NAMEASCII\":\"Dese\",\"POP_MAX\":183802,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[37.7499849,6.9000039],\"properties\":{\"NAME\":\"Sodo\",\"NAMEASCII\":\"Sodo\",\"POP_MAX\":65737,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[37.5499971,6.0400047],\"properties\":{\"NAME\":\"Arba Minch\",\"NAMEASCII\":\"Arba Minch\",\"POP_MAX\":69622,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[42.1500264,9.3199595],\"properties\":{\"NAME\":\"Harar\",\"NAMEASCII\":\"Harar\",\"POP_MAX\":174994,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.9700044,7.010023],\"properties\":{\"NAME\":\"Goba\",\"NAMEASCII\":\"Goba\",\"POP_MAX\":34369,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[36.8300411,7.6799821],\"properties\":{\"NAME\":\"Jima\",\"NAMEASCII\":\"Jima\",\"POP_MAX\":128306,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.2699955,8.5499807],\"properties\":{\"NAME\":\"Nazret\",\"NAMEASCII\":\"Nazret\",\"POP_MAX\":476892,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.5833097,5.3166122],\"properties\":{\"NAME\":\"Negele Boran\",\"NAMEASCII\":\"Nagele\",\"POP_MAX\":11772,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[43.4499987,5.9500102],\"properties\":{\"NAME\":\"Gode\",\"NAMEASCII\":\"Gode\",\"POP_MAX\":75000,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[42.0833121,4.183348],\"properties\":{\"NAME\":\"Dolo Bay\",\"NAMEASCII\":\"Dolo Bay\",\"POP_MAX\":11810,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[24.5816931,65.733312],\"properties\":{\"NAME\":\"Kemi\",\"NAMEASCII\":\"Kemi\",\"POP_MAX\":22641,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[25.4700109,64.9999976],\"properties\":{\"NAME\":\"Oulu\",\"NAMEASCII\":\"Oulu\",\"POP_MAX\":136752,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[59.6140767,47.8362907],\"properties\":{\"NAME\":\"Shalqar\",\"NAMEASCII\":\"Shalqar\",\"POP_MAX\":27256,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[62.1075162,45.7627997],\"properties\":{\"NAME\":\"Qazaly\",\"NAMEASCII\":\"Qazaly\",\"POP_MAX\":6582,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[61.6666129,46.7999715],\"properties\":{\"NAME\":\"Aral\",\"NAMEASCII\":\"Aral\",\"POP_MAX\":33017,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[54.0165372,46.9832678],\"properties\":{\"NAME\":\"Qulsary\",\"NAMEASCII\":\"Qulsary\",\"POP_MAX\":37103,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.3349955,51.2711198],\"properties\":{\"NAME\":\"Oral\",\"NAMEASCII\":\"Oral\",\"POP_MAX\":209788,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[50.8300134,28.9199776],\"properties\":{\"NAME\":\"Bandar-e Bushehr\",\"NAMEASCII\":\"Bandar-e Bushehr\",\"POP_MAX\":169060,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.2796781,30.3307442],\"properties\":{\"NAME\":\"Abadan\",\"NAMEASCII\":\"Abadan\",\"POP_MAX\":370180,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.3000386,38.2500025],\"properties\":{\"NAME\":\"Ardabil\",\"NAMEASCII\":\"Ardabil\",\"POP_MAX\":414603,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[50.9480602,34.6519613],\"properties\":{\"NAME\":\"Qom\",\"NAMEASCII\":\"Qom\",\"POP_MAX\":973000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[49.9999865,36.27002],\"properties\":{\"NAME\":\"Qazvin\",\"NAMEASCII\":\"Qazvin\",\"POP_MAX\":464551,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[55.100037,45.1833519],\"properties\":{\"NAME\":\"Beyneu\",\"NAMEASCII\":\"Beyneu\",\"POP_MAX\":32452,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.2365002,43.6231887],\"properties\":{\"NAME\":\"Aqtau\",\"NAMEASCII\":\"Aqtau\",\"POP_MAX\":4479,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[47.0580651,34.381952],\"properties\":{\"NAME\":\"Kermanshah\",\"NAMEASCII\":\"Kermanshah\",\"POP_MAX\":828313,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[49.6299833,37.2999829],\"properties\":{\"NAME\":\"Rasht\",\"NAMEASCII\":\"Rasht\",\"POP_MAX\":594590,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[59.2199406,32.8800202],\"properties\":{\"NAME\":\"Birjand\",\"NAMEASCII\":\"Birjand\",\"POP_MAX\":324703,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[57.6300118,36.220023],\"properties\":{\"NAME\":\"Sabzewar\",\"NAMEASCII\":\"Sabzewar\",\"POP_MAX\":226183,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[61.4814563,31.0214514],\"properties\":{\"NAME\":\"Zabol\",\"NAMEASCII\":\"Zabol\",\"POP_MAX\":233968,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[60.8300232,29.4999939],\"properties\":{\"NAME\":\"Zahedan\",\"NAMEASCII\":\"Zahedan\",\"POP_MAX\":598887,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[78.13179722903476,8.79780035089249],\"properties\":{\"NAME\":\"Tuticorin\",\"NAMEASCII\":\"Tuticorin\",\"POP_MAX\":436094,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.97828494841018,10.359907617238134],\"properties\":{\"NAME\":\"Dindigul\",\"NAMEASCII\":\"Dindigul\",\"POP_MAX\":200797,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[10.210684,56.157204],\"properties\":{\"NAME\":\"Århus\",\"NAMEASCII\":\"Aarhus\",\"POP_MAX\":237551,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-5.6399506,9.4599768],\"properties\":{\"NAME\":\"Korhogo\",\"NAMEASCII\":\"Korhogo\",\"POP_MAX\":177711,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-12.3000092,11.3199925],\"properties\":{\"NAME\":\"Labé\",\"NAMEASCII\":\"Labe\",\"POP_MAX\":140575,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-14.2999905,10.9399898],\"properties\":{\"NAME\":\"Boké\",\"NAMEASCII\":\"Boke\",\"POP_MAX\":116270,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-12.8699744,10.0600177],\"properties\":{\"NAME\":\"Kindia\",\"NAMEASCII\":\"Kindia\",\"POP_MAX\":117062,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-6.4500045,6.8899787],\"properties\":{\"NAME\":\"Daloa\",\"NAMEASCII\":\"Daloa\",\"POP_MAX\":255168,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[27.2500057,-29.8166439],\"properties\":{\"NAME\":\"Mafetang\",\"NAMEASCII\":\"Mafetang\",\"POP_MAX\":57059,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[-68.7688265,-11.0205201],\"properties\":{\"NAME\":\"Cobija\",\"NAMEASCII\":\"Cobija\",\"POP_MAX\":44437,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-68.6699793,-9.0700032],\"properties\":{\"NAME\":\"Sena Madureira\",\"NAMEASCII\":\"Sena Madureira\",\"POP_MAX\":26192,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-66.0916095,-2.5138143],\"properties\":{\"NAME\":\"Fonte Boa\",\"NAMEASCII\":\"Fonte Boa\",\"POP_MAX\":16060,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-69.8738076,-6.6600211],\"properties\":{\"NAME\":\"Eirunepé\",\"NAMEASCII\":\"Eirunepe\",\"POP_MAX\":21750,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-61.2974836,-5.8121659],\"properties\":{\"NAME\":\"Manicoré\",\"NAMEASCII\":\"Manicore\",\"POP_MAX\":21549,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-62.9238959,-0.9749935],\"properties\":{\"NAME\":\"Barcelos\",\"NAMEASCII\":\"Barcelos\",\"POP_MAX\":12584,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-67.8018927,-2.8727071],\"properties\":{\"NAME\":\"Tonantins\",\"NAMEASCII\":\"Tonantins\",\"POP_MAX\":4561,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-64.6999891,-3.3600158],\"properties\":{\"NAME\":\"Tefé\",\"NAMEASCII\":\"Tefe\",\"POP_MAX\":51437,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-63.1299815,-4.0799719],\"properties\":{\"NAME\":\"Coari\",\"NAMEASCII\":\"Coari\",\"POP_MAX\":53305,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-67.0833061,-0.1332361],\"properties\":{\"NAME\":\"São Gabriel da Cachoeira\",\"NAMEASCII\":\"Sao Cabriel da Cachoeira\",\"POP_MAX\":15231,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-60.9437842,-2.6207845],\"properties\":{\"NAME\":\"Novo Airão\",\"NAMEASCII\":\"Novo Airao\",\"POP_MAX\":9049,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-58.4399836,-3.1400293],\"properties\":{\"NAME\":\"Itacoatiara\",\"NAMEASCII\":\"Itacoatiara\",\"POP_MAX\":51509,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.7400098,-2.6100358],\"properties\":{\"NAME\":\"Parintins\",\"NAMEASCII\":\"Parintins\",\"POP_MAX\":64428,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-60.2699494,-6.9838257],\"properties\":{\"NAME\":\"Natal\",\"NAMEASCII\":\"Natal\",\"POP_MAX\":980588,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-63.0399612,-7.4638997],\"properties\":{\"NAME\":\"Crato\",\"NAMEASCII\":\"Crato\",\"POP_MAX\":273883,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.4900059,-5.520039],\"properties\":{\"NAME\":\"Imperatriz\",\"NAMEASCII\":\"Imperatriz\",\"POP_MAX\":218106,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.0499905,-7.5200203],\"properties\":{\"NAME\":\"Balsas\",\"NAMEASCII\":\"Balsas\",\"POP_MAX\":68056,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.4900037,-1.680015],\"properties\":{\"NAME\":\"Breves\",\"NAMEASCII\":\"Breves\",\"POP_MAX\":47164,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.76013062032457,-6.228018096599473],\"properties\":{\"NAME\":\"Jacareacanga\",\"NAMEASCII\":\"Jacareacanga\",\"POP_MAX\":31661,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.67365154576268,-3.76735666319244],\"properties\":{\"NAME\":\"Tucuruí\",\"NAMEASCII\":\"Tucurui\",\"POP_MAX\":76337,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.9250208,-4.2586173],\"properties\":{\"NAME\":\"Itaituba\",\"NAMEASCII\":\"Itaituba\",\"POP_MAX\":92308,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.2900253,-8.2500016],\"properties\":{\"NAME\":\"Conceição do Araguaia\",\"NAMEASCII\":\"Conceicao do Araguaia\",\"POP_MAX\":27115,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.8848801,-1.7245307],\"properties\":{\"NAME\":\"Abaetetuba\",\"NAMEASCII\":\"Abaetetuba\",\"POP_MAX\":79420,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-64.4166472,-12.4166723],\"properties\":{\"NAME\":\"Principe da Beira\",\"NAMEASCII\":\"Principe da Beira\",\"POP_MAX\":956,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.2100137,-7.1900146],\"properties\":{\"NAME\":\"Araguaína\",\"NAMEASCII\":\"Araguaina\",\"POP_MAX\":50444,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.2877867,-10.2377356],\"properties\":{\"NAME\":\"Palmas\",\"NAMEASCII\":\"Palmas\",\"POP_MAX\":235315,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.5000098,-17.8700346],\"properties\":{\"NAME\":\"Teófilo Otoni\",\"NAMEASCII\":\"Teofilo Otoni\",\"POP_MAX\":101170,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.9500037,-19.7799955],\"properties\":{\"NAME\":\"Uberaba\",\"NAMEASCII\":\"Uberaba\",\"POP_MAX\":260843,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.3699897,-15.4799996],\"properties\":{\"NAME\":\"Januária\",\"NAMEASCII\":\"Januaria\",\"POP_MAX\":34811,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-59.9500206,-15.0000289],\"properties\":{\"NAME\":\"Santissima Trindade\",\"NAMEASCII\":\"Santissima Trindade\",\"POP_MAX\":16271,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-59.44387,-10.17666],\"properties\":{\"NAME\":\"Aripuanã\",\"NAMEASCII\":\"Aripuana\",\"POP_MAX\":26983,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.4599846,-11.8499886],\"properties\":{\"NAME\":\"Sinop\",\"NAMEASCII\":\"Sinop\",\"POP_MAX\":8961,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-53.369983,-32.5600423],\"properties\":{\"NAME\":\"Jaguarão\",\"NAMEASCII\":\"Jaguarao\",\"POP_MAX\":29613,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.1000159,-31.3200146],\"properties\":{\"NAME\":\"Bagé\",\"NAMEASCII\":\"Bage\",\"POP_MAX\":106098,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1799874,-23.300039],\"properties\":{\"NAME\":\"Londrina\",\"NAMEASCII\":\"Londrina\",\"POP_MAX\":520238,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.3899675,-28.6800207],\"properties\":{\"NAME\":\"Criciúma\",\"NAMEASCII\":\"Criciuma\",\"POP_MAX\":204217,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.7700308,-4.5599943],\"properties\":{\"NAME\":\"Aracati\",\"NAMEASCII\":\"Aracati\",\"POP_MAX\":44293,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.8499907,-6.400037],\"properties\":{\"NAME\":\"Icó\",\"NAMEASCII\":\"Ico\",\"POP_MAX\":28323,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.7699675,-2.9100175],\"properties\":{\"NAME\":\"Parnaíba\",\"NAMEASCII\":\"Parnaiba\",\"POP_MAX\":138008,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.4399876,-7.0799955],\"properties\":{\"NAME\":\"Picos\",\"NAMEASCII\":\"Picos\",\"POP_MAX\":57495,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.6699945,-9.7500134],\"properties\":{\"NAME\":\"Arapiraca\",\"NAMEASCII\":\"Arapiraca\",\"POP_MAX\":187668,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.0799931,-13.8500215],\"properties\":{\"NAME\":\"Jequié\",\"NAMEASCII\":\"Jequie\",\"POP_MAX\":135574,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-39.0500043,-14.7800423],\"properties\":{\"NAME\":\"Ilhéus\",\"NAMEASCII\":\"Ilheus\",\"POP_MAX\":230622,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.9600098,-15.6400415],\"properties\":{\"NAME\":\"Canavieiras\",\"NAMEASCII\":\"Canavieiras\",\"POP_MAX\":26375,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.2100253,-13.3899979],\"properties\":{\"NAME\":\"Santa Maria da Vitória\",\"NAMEASCII\":\"Santa Maria da Vitoria\",\"POP_MAX\":23488,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.8700131,-11.2999963],\"properties\":{\"NAME\":\"Irecê\",\"NAMEASCII\":\"Irece\",\"POP_MAX\":63626,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.7300122,-10.8200256],\"properties\":{\"NAME\":\"Xique-Xique\",\"NAMEASCII\":\"Xique-Xique\",\"POP_MAX\":35433,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.0500208,-19.3899935],\"properties\":{\"NAME\":\"Linhares\",\"NAMEASCII\":\"Linhares\",\"POP_MAX\":105075,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-41.3200208,-21.7499528],\"properties\":{\"NAME\":\"Campos\",\"NAMEASCII\":\"Campos\",\"POP_MAX\":387417,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.3400053,-5.1900333],\"properties\":{\"NAME\":\"Mossoró\",\"NAMEASCII\":\"Mossoro\",\"POP_MAX\":202583,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-37.1199671,-10.9000207],\"properties\":{\"NAME\":\"Aracaju\",\"NAMEASCII\":\"Aracaju\",\"POP_MAX\":685356,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-97.8332896,53.9665884],\"properties\":{\"NAME\":\"Norway House\",\"NAMEASCII\":\"Norway House\",\"POP_MAX\":6000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-101.8833008,54.7665912],\"properties\":{\"NAME\":\"Flin Flon\",\"NAMEASCII\":\"Flin Flon\",\"POP_MAX\":6393,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-100.0499502,51.1500161],\"properties\":{\"NAME\":\"Dauphin\",\"NAMEASCII\":\"Dauphin\",\"POP_MAX\":9077,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-101.2333147,53.8166234],\"properties\":{\"NAME\":\"The Pas\",\"NAMEASCII\":\"The Pas\",\"POP_MAX\":6055,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-108.6165849,59.5665566],\"properties\":{\"NAME\":\"Uranium City\",\"NAMEASCII\":\"Uranium City\",\"POP_MAX\":89,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-105.5500021,50.3999844],\"properties\":{\"NAME\":\"Moose Jaw\",\"NAMEASCII\":\"Moose Jaw\",\"POP_MAX\":32166,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-118.0833714,52.8833211],\"properties\":{\"NAME\":\"Jasper\",\"NAMEASCII\":\"Jasper\",\"POP_MAX\":3907,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-110.6833322,50.0333142],\"properties\":{\"NAME\":\"Medicine Hat\",\"NAMEASCII\":\"Medicine Hat\",\"POP_MAX\":63138,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-113.8000411,52.2666404],\"properties\":{\"NAME\":\"Red Deer\",\"NAMEASCII\":\"Red Deer\",\"POP_MAX\":74857,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-115.5719226,51.1779989],\"properties\":{\"NAME\":\"Banff\",\"NAMEASCII\":\"Banff\",\"POP_MAX\":7502,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-118.7999943,55.1666443],\"properties\":{\"NAME\":\"Grand Prairie\",\"NAMEASCII\":\"Grand Prairie\",\"POP_MAX\":41462,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-127.1665896,54.7665912],\"properties\":{\"NAME\":\"Smithers\",\"NAMEASCII\":\"Smithers\",\"POP_MAX\":6245,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-120.3332858,50.6666606],\"properties\":{\"NAME\":\"Kamloops\",\"NAMEASCII\":\"Kamloops\",\"POP_MAX\":68714,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-122.1499966,52.1166496],\"properties\":{\"NAME\":\"Williams Lake\",\"NAMEASCII\":\"Williams Lake\",\"POP_MAX\":14168,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-122.7666515,53.9166689],\"properties\":{\"NAME\":\"Prince George\",\"NAMEASCII\":\"Prince George\",\"POP_MAX\":65558,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-122.68654311100921,58.80387810156615],\"properties\":{\"NAME\":\"Fort Nelson\",\"NAMEASCII\":\"Fort Nelson\",\"POP_MAX\":6315,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.0000558,72.6849807],\"properties\":{\"NAME\":\"Pond Inlet\",\"NAMEASCII\":\"Pond Inlet\",\"POP_MAX\":1549,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-76.5385786,64.3125197],\"properties\":{\"NAME\":\"Cape Dorset\",\"NAMEASCII\":\"Cape Dorset\",\"POP_MAX\":1326,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-69.8833161,62.8500255],\"properties\":{\"NAME\":\"Kimmirut\",\"NAMEASCII\":\"Kimmirut\",\"POP_MAX\":385,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-95.9166624,68.63329],\"properties\":{\"NAME\":\"Gjoa Haven\",\"NAMEASCII\":\"Gjoa Haven\",\"POP_MAX\":1109,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-82.9499862,76.4416506],\"properties\":{\"NAME\":\"Grise Fiord\",\"NAMEASCII\":\"Grise Fiord\",\"POP_MAX\":23,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-62.2499836,82.4833232],\"properties\":{\"NAME\":\"Alert\",\"NAMEASCII\":\"Alert\",\"POP_MAX\":125,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-100.883336,61.1332827],\"properties\":{\"NAME\":\"Ennadai\",\"NAMEASCII\":\"Ennadai\",\"POP_MAX\":0,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-92.0953195,62.8166683],\"properties\":{\"NAME\":\"Rankin Inlet\",\"NAMEASCII\":\"Rankin Inlet\",\"POP_MAX\":2472,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-113.682994,61.1665882],\"properties\":{\"NAME\":\"Fort Resolution\",\"NAMEASCII\":\"Fort Resolution\",\"POP_MAX\":448,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-121.3332764,61.8499831],\"properties\":{\"NAME\":\"Fort Simpson\",\"NAMEASCII\":\"Fort Simpson\",\"POP_MAX\":283,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-133.6999893,68.349974],\"properties\":{\"NAME\":\"Inuvik\",\"NAMEASCII\":\"Inuvik\",\"POP_MAX\":3022,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-133.0492013,69.4547746],\"properties\":{\"NAME\":\"Tuktoyaktuk\",\"NAMEASCII\":\"Tuktoyaktuk\",\"POP_MAX\":929,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-128.71169244448785,60.06230563087336],\"properties\":{\"NAME\":\"Watson Lake\",\"NAMEASCII\":\"Watson Lake\",\"POP_MAX\":802,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-52.4800114,-0.8500399],\"properties\":{\"NAME\":\"Laranjal do Jari\",\"NAMEASCII\":\"Laranjal do Jari\",\"POP_MAX\":45000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.8000106,2.0499898],\"properties\":{\"NAME\":\"Amapá\",\"NAMEASCII\":\"Amapa\",\"POP_MAX\":1947,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.2166519,3.2166628],\"properties\":{\"NAME\":\"Vila Velha\",\"NAMEASCII\":\"Vila Velha\",\"POP_MAX\":1209091,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-87.8833285,52.2166435],\"properties\":{\"NAME\":\"Lansdowne House\",\"NAMEASCII\":\"Lansdowne House\",\"POP_MAX\":120,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.6579814,51.2806024],\"properties\":{\"NAME\":\"Moosonee\",\"NAMEASCII\":\"Moosonee\",\"POP_MAX\":1725,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-80.9666447,46.4999898],\"properties\":{\"NAME\":\"Sudbury\",\"NAMEASCII\":\"Sudbury\",\"POP_MAX\":157857,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.4666476,49.7666897],\"properties\":{\"NAME\":\"Kenora\",\"NAMEASCII\":\"Kenora\",\"POP_MAX\":10852,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.4933608,48.8373149],\"properties\":{\"NAME\":\"Gaspé\",\"NAMEASCII\":\"Gaspe\",\"POP_MAX\":3677,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.0172653,50.3017589],\"properties\":{\"NAME\":\"Mingan\",\"NAMEASCII\":\"Mingan\",\"POP_MAX\":588,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-72.2333277,48.8665896],\"properties\":{\"NAME\":\"Dolbeau\",\"NAMEASCII\":\"Dolbeau\",\"POP_MAX\":13337,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.7666333,48.1166354],\"properties\":{\"NAME\":\"Val d'Or\",\"NAMEASCII\":\"Val d'Or\",\"POP_MAX\":20625,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.8999844,62.4166411],\"properties\":{\"NAME\":\"Ivugivik\",\"NAMEASCII\":\"Ivugivik\",\"POP_MAX\":156,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-78.1359906,58.4700086],\"properties\":{\"NAME\":\"Inukjuak\",\"NAMEASCII\":\"Inukjuak\",\"POP_MAX\":1597,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-71.0667064,48.4333085],\"properties\":{\"NAME\":\"Chicoutimi\",\"NAMEASCII\":\"Chicoutimi\",\"POP_MAX\":53940,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.7666775,46.0833486],\"properties\":{\"NAME\":\"Moncton\",\"NAMEASCII\":\"Moncton\",\"POP_MAX\":90635,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.6333077,45.9499976],\"properties\":{\"NAME\":\"Fredericton\",\"NAMEASCII\":\"Fredericton\",\"POP_MAX\":52337,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-65.6499827,47.5999744],\"properties\":{\"NAME\":\"Bathurst\",\"NAMEASCII\":\"Bathurst\",\"POP_MAX\":6111,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.1125812,43.8307945],\"properties\":{\"NAME\":\"Yarmouth\",\"NAMEASCII\":\"Yarmouth\",\"POP_MAX\":7500,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-54.5499884,48.9499953],\"properties\":{\"NAME\":\"Gander\",\"NAMEASCII\":\"Gander\",\"POP_MAX\":3345,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-57.0121411,53.7014066],\"properties\":{\"NAME\":\"Cartwright\",\"NAMEASCII\":\"Cartwright\",\"POP_MAX\":505,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-58.4473216,54.1766014],\"properties\":{\"NAME\":\"Rigolet\",\"NAMEASCII\":\"Rigolet\",\"POP_MAX\":124,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-64.7410977,60.2664622],\"properties\":{\"NAME\":\"Port Burwell\",\"NAMEASCII\":\"Port Burwell\",\"POP_MAX\":2762,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[15.5999674,5.9500102],\"properties\":{\"NAME\":\"Bouar\",\"NAMEASCII\":\"Bouar\",\"POP_MAX\":34372,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[-67.7166525,-49.3000024],\"properties\":{\"NAME\":\"Puerto San Julián\",\"NAMEASCII\":\"Puerto San Julian\",\"POP_MAX\":2347,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-70.9333553,-46.6000122],\"properties\":{\"NAME\":\"Perito Moreno\",\"NAMEASCII\":\"Perito Moreno\",\"POP_MAX\":3766,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.6989952,-53.7914455],\"properties\":{\"NAME\":\"Rio Grande\",\"NAMEASCII\":\"Rio Grande\",\"POP_MAX\":31095,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.3100013,-54.7900032],\"properties\":{\"NAME\":\"Ushuaia\",\"NAMEASCII\":\"Ushuaia\",\"POP_MAX\":58028,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.0833132,-45.6000215],\"properties\":{\"NAME\":\"Sarmiento\",\"NAMEASCII\":\"Sarmiento\",\"POP_MAX\":5185,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.3333332,-34.6000211],\"properties\":{\"NAME\":\"San Rafael\",\"NAMEASCII\":\"San Rafael\",\"POP_MAX\":109163,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.7499905,-38.5599861],\"properties\":{\"NAME\":\"Necochea\",\"NAMEASCII\":\"Necochea\",\"POP_MAX\":80478,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.0832825,-38.9665763],\"properties\":{\"NAME\":\"Río Colorado\",\"NAMEASCII\":\"Rio Colorado\",\"POP_MAX\":11499,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.7800007,-28.4700077],\"properties\":{\"NAME\":\"Catamarca\",\"NAMEASCII\":\"Catamarca\",\"POP_MAX\":188812,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-66.8499612,-29.4099503],\"properties\":{\"NAME\":\"La Rioja\",\"NAMEASCII\":\"La Rioja\",\"POP_MAX\":162620,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.2666563,-27.7833313],\"properties\":{\"NAME\":\"Santiago del Estero\",\"NAMEASCII\":\"Santiago del Estero\",\"POP_MAX\":354692,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.9900275,-27.4599918],\"properties\":{\"NAME\":\"Resistencia\",\"NAMEASCII\":\"Resistencia\",\"POP_MAX\":387158,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.5200045,-33.0200142],\"properties\":{\"NAME\":\"Gualeguaychú\",\"NAMEASCII\":\"Gualeguaychu\",\"POP_MAX\":78676,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-46.32849571460007,-23.961835598193826],\"properties\":{\"NAME\":\"Santos\",\"NAMEASCII\":\"Santos\",\"POP_MAX\":1709000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0800122,-22.3300207],\"properties\":{\"NAME\":\"Bauru\",\"NAMEASCII\":\"Bauru\",\"POP_MAX\":335024,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.5699494,-24.720004],\"properties\":{\"NAME\":\"Iguape\",\"NAMEASCII\":\"Iguape\",\"POP_MAX\":23784,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.390012,-20.5300272],\"properties\":{\"NAME\":\"Franca\",\"NAMEASCII\":\"Franca\",\"POP_MAX\":305041,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-36.5000308,-8.8900142],\"properties\":{\"NAME\":\"Garanhuns\",\"NAMEASCII\":\"Garanhuns\",\"POP_MAX\":110085,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.9800108,-8.2800256],\"properties\":{\"NAME\":\"Caruaru\",\"NAMEASCII\":\"Caruaru\",\"POP_MAX\":242094,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[62.0968192,32.3917296],\"properties\":{\"NAME\":\"Farah\",\"NAMEASCII\":\"Farah\",\"POP_MAX\":73647,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[20.8299841,-7.3800289],\"properties\":{\"NAME\":\"Dundo\",\"NAMEASCII\":\"Dundo\",\"POP_MAX\":11985,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.125028,-7.854987],\"properties\":{\"NAME\":\"Ambriz\",\"NAMEASCII\":\"Ambriz\",\"POP_MAX\":17000,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.430013,-9.6900171],\"properties\":{\"NAME\":\"Dondo\",\"NAMEASCII\":\"Dondo\",\"POP_MAX\":2353,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.8499967,-11.2100277],\"properties\":{\"NAME\":\"Sumbe\",\"NAMEASCII\":\"Sumbe\",\"POP_MAX\":33277,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[15.0499751,-7.6200142],\"properties\":{\"NAME\":\"Uíge\",\"NAMEASCII\":\"Uige\",\"POP_MAX\":60008,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[16.939989,-12.3800338],\"properties\":{\"NAME\":\"Kuito\",\"NAMEASCII\":\"Kuito\",\"POP_MAX\":114286,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.54123,-12.3700085],\"properties\":{\"NAME\":\"Lobito\",\"NAMEASCII\":\"Lobito\",\"POP_MAX\":207932,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[14.96998,-16.740026],\"properties\":{\"NAME\":\"Xangongo\",\"NAMEASCII\":\"Xangongo\",\"POP_MAX\":447,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[19.900015,-11.7900439],\"properties\":{\"NAME\":\"Luena\",\"NAMEASCII\":\"Luena\",\"POP_MAX\":21115,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[11.859989,-15.8000317],\"properties\":{\"NAME\":\"Tômbua\",\"NAMEASCII\":\"Tombua\",\"POP_MAX\":40000,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[-58.4200106,-16.3599975],\"properties\":{\"NAME\":\"San Matias\",\"NAMEASCII\":\"San Matias\",\"POP_MAX\":6352,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-60.7799958,-17.8500358],\"properties\":{\"NAME\":\"San Jose\",\"NAMEASCII\":\"San Jose\",\"POP_MAX\":9211,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-0.2899671,27.8699901],\"properties\":{\"NAME\":\"Adrar\",\"NAMEASCII\":\"Adrar\",\"POP_MAX\":56910,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[0.1666459,26.6999839],\"properties\":{\"NAME\":\"Reggane\",\"NAMEASCII\":\"Reggane\",\"POP_MAX\":32974,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-2.2300037,31.6111054],\"properties\":{\"NAME\":\"Béchar\",\"NAMEASCII\":\"Bechar\",\"POP_MAX\":143382,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[-8.147782,27.674188],\"properties\":{\"NAME\":\"Tindouf\",\"NAMEASCII\":\"Tindouf\",\"POP_MAX\":18270,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[8.4666044,26.4833563],\"properties\":{\"NAME\":\"Illizi\",\"NAMEASCII\":\"Illizi\",\"POP_MAX\":7957,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[3.749993,25.2799931],\"properties\":{\"NAME\":\"Arak\",\"NAMEASCII\":\"Arak\",\"POP_MAX\":423251,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.4666088,27.2166449],\"properties\":{\"NAME\":\"I-n-Salah\",\"NAMEASCII\":\"I-n-Salah\",\"POP_MAX\":49223,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.8833276,30.5666213],\"properties\":{\"NAME\":\"El Goléa\",\"NAMEASCII\":\"El Golea\",\"POP_MAX\":32049,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.8800203,33.8099892],\"properties\":{\"NAME\":\"Laghouat\",\"NAMEASCII\":\"Laghouat\",\"POP_MAX\":113872,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[6.0599812,33.0999809],\"properties\":{\"NAME\":\"Touggourt\",\"NAMEASCII\":\"Touggourt\",\"POP_MAX\":133954,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[5.3400252,31.9699724],\"properties\":{\"NAME\":\"Ouargla\",\"NAMEASCII\":\"Ouargla\",\"POP_MAX\":176271,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[5.7300272,34.8599768],\"properties\":{\"NAME\":\"Biskra\",\"NAMEASCII\":\"Biskra\",\"POP_MAX\":202103,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[3.2500236,34.6799878],\"properties\":{\"NAME\":\"Djelfa\",\"NAMEASCII\":\"Djelfa\",\"POP_MAX\":170901,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[5.3999698,36.1800255],\"properties\":{\"NAME\":\"Sétif\",\"NAMEASCII\":\"Setif\",\"POP_MAX\":274744,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[6.1700004,35.5699593],\"properties\":{\"NAME\":\"Batna\",\"NAMEASCII\":\"Batna\",\"POP_MAX\":280798,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[27.4746431,42.5146],\"properties\":{\"NAME\":\"Burgas\",\"NAMEASCII\":\"Burgas\",\"POP_MAX\":195966,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[30.1853304,55.1887101],\"properties\":{\"NAME\":\"Vitsyebsk\",\"NAMEASCII\":\"Vitsyebsk\",\"POP_MAX\":342700,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[25.5100085,-24.3999719],\"properties\":{\"NAME\":\"Molepolole\",\"NAMEASCII\":\"Molepolole\",\"POP_MAX\":63248,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[98.6114896,12.4540835],\"properties\":{\"NAME\":\"Myeik\",\"NAMEASCII\":\"Myeik\",\"POP_MAX\":266720,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[158.1499743,6.9166437],\"properties\":{\"NAME\":\"Palikir\",\"NAMEASCII\":\"Palikir\",\"POP_MAX\":4645,\"ISO_A2\":\"FM\",\"SOV_A3\":\"FSM\"}},{\"type\":\"Point\",\"coordinates\":[171.3800002,7.1030043],\"properties\":{\"NAME\":\"Majuro\",\"NAMEASCII\":\"Majuro\",\"POP_MAX\":25400,\"ISO_A2\":\"MH\",\"SOV_A3\":\"MHL\"}},{\"type\":\"Point\",\"coordinates\":[144.750017,13.4700163],\"properties\":{\"NAME\":\"Agana\",\"NAMEASCII\":\"Agana\",\"POP_MAX\":122411,\"ISO_A2\":\"GU\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-66.7299943,18.440023],\"properties\":{\"NAME\":\"Arecibo\",\"NAMEASCII\":\"Arecibo\",\"POP_MAX\":69307,\"ISO_A2\":\"PR\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[179.2166471,-8.516652],\"properties\":{\"NAME\":\"Funafuti\",\"NAMEASCII\":\"Funafuti\",\"POP_MAX\":4749,\"ISO_A2\":\"TV\",\"SOV_A3\":\"TUV\"}},{\"type\":\"Point\",\"coordinates\":[134.6265485,7.4873962],\"properties\":{\"NAME\":\"Melekeok\",\"NAMEASCII\":\"Melekeok\",\"POP_MAX\":7026,\"ISO_A2\":\"PW\",\"SOV_A3\":\"PLW\"}},{\"type\":\"Point\",\"coordinates\":[-9.6525222,26.1191667],\"properties\":{\"NAME\":\"Bir Lehlou\",\"NAMEASCII\":\"Bir Lehlou\",\"POP_MAX\":500,\"ISO_A2\":\"EH\",\"SOV_A3\":\"SAH\"}},{\"type\":\"Point\",\"coordinates\":[7.4069132,43.7396457],\"properties\":{\"NAME\":\"Monaco\",\"NAMEASCII\":\"Monaco\",\"POP_MAX\":36371,\"ISO_A2\":\"MC\",\"SOV_A3\":\"MCO\"}},{\"type\":\"Point\",\"coordinates\":[173.0175708,1.3381875],\"properties\":{\"NAME\":\"Tarawa\",\"NAMEASCII\":\"Tarawa\",\"POP_MAX\":28802,\"ISO_A2\":\"KI\",\"SOV_A3\":\"KIR\"}},{\"type\":\"Point\",\"coordinates\":[-37.6337371,65.6018693],\"properties\":{\"NAME\":\"Tasiilaq\",\"NAMEASCII\":\"Tasiilaq\",\"POP_MAX\":1829,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[43.2402441,-11.7041577],\"properties\":{\"NAME\":\"Moroni\",\"NAMEASCII\":\"Moroni\",\"POP_MAX\":128698,\"ISO_A2\":\"KM\",\"SOV_A3\":\"COM\"}},{\"type\":\"Point\",\"coordinates\":[113.54437522184952,22.18913523490745],\"properties\":{\"NAME\":\"Macau\",\"NAMEASCII\":\"Macau\",\"POP_MAX\":568700,\"ISO_A2\":\"MO\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[1.526594255165481,42.5107534941671],\"properties\":{\"NAME\":\"Andorra\",\"NAMEASCII\":\"Andorra\",\"POP_MAX\":53998,\"ISO_A2\":\"AD\",\"SOV_A3\":\"AND\"}},{\"type\":\"Point\",\"coordinates\":[-65.1124806,76.0194762],\"properties\":{\"NAME\":\"Savissivik\",\"NAMEASCII\":\"Savissivik\",\"POP_MAX\":66,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-55.5491189,72.3796396],\"properties\":{\"NAME\":\"Kangersuatsiaq\",\"NAMEASCII\":\"Kangersuatsiaq\",\"POP_MAX\":200,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-52.1229344,70.6750234],\"properties\":{\"NAME\":\"Uummannaq\",\"NAMEASCII\":\"Uummannaq\",\"POP_MAX\":1299,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-16.2500007,28.4699793],\"properties\":{\"NAME\":\"Santa Cruz de Tenerife\",\"NAMEASCII\":\"Santa Cruz de Tenerife\",\"POP_MAX\":336061,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-159.7854367,-21.1962256],\"properties\":{\"NAME\":\"Avarua\",\"NAMEASCII\":\"Avarua\",\"POP_MAX\":5445,\"ISO_A2\":\"CK\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[-122.0263904,36.9719463],\"properties\":{\"NAME\":\"Santa Cruz\",\"NAMEASCII\":\"Santa Cruz\",\"POP_MAX\":148444,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[121.6000089,23.9837415],\"properties\":{\"NAME\":\"Hualien\",\"NAMEASCII\":\"Hualien\",\"POP_MAX\":350468,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.465,25.0127778],\"properties\":{\"NAME\":\"New Taipei\",\"NAMEASCII\":\"New Taipei\",\"POP_MAX\":3893740,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.2000427,23.0000031],\"properties\":{\"NAME\":\"Tainan\",\"NAMEASCII\":\"Tainan\",\"POP_MAX\":1876312,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[121.140037,22.7553927],\"properties\":{\"NAME\":\"Taitung\",\"NAMEASCII\":\"Taitung\",\"POP_MAX\":175000,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[-117.3019801,34.1223296],\"properties\":{\"NAME\":\"San Bernardino\",\"NAMEASCII\":\"San Bernardino\",\"POP_MAX\":1745000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.201907,41.1819245],\"properties\":{\"NAME\":\"Bridgeport\",\"NAMEASCII\":\"Bridgeport\",\"POP_MAX\":1018000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.6218956,43.1723715],\"properties\":{\"NAME\":\"Rochester\",\"NAMEASCII\":\"Rochester\",\"POP_MAX\":755000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-2.248684667159885,53.47531992472453],\"properties\":{\"NAME\":\"Manchester\",\"NAMEASCII\":\"Manchester\",\"POP_MAX\":2230000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[74.1830761,32.1623717],\"properties\":{\"NAME\":\"Gujranwala\",\"NAMEASCII\":\"Gujranwala\",\"POP_MAX\":1513000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[126.6402876,37.4780937],\"properties\":{\"NAME\":\"Incheon\",\"NAMEASCII\":\"Incheon\",\"POP_MAX\":2550000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[5.6180622,6.3424232],\"properties\":{\"NAME\":\"Benin City\",\"NAMEASCII\":\"Benin City\",\"POP_MAX\":1190000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[118.0780712,24.4519379],\"properties\":{\"NAME\":\"Xiamen\",\"NAMEASCII\":\"Xiamen\",\"POP_MAX\":2519000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.1280513,30.7823784],\"properties\":{\"NAME\":\"Nanchong\",\"NAMEASCII\":\"Nanchong\",\"POP_MAX\":2174000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.0480655,29.5823225],\"properties\":{\"NAME\":\"Neijiang\",\"NAMEASCII\":\"Neijiang\",\"POP_MAX\":1466000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.528074,33.0023463],\"properties\":{\"NAME\":\"Nanyang\",\"NAMEASCII\":\"Nanyang\",\"POP_MAX\":1944000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.8280325,40.7522867],\"properties\":{\"NAME\":\"Jinxi\",\"NAMEASCII\":\"Jinxi\",\"POP_MAX\":2426000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.3980753,37.532354],\"properties\":{\"NAME\":\"Yantai\",\"NAMEASCII\":\"Yantai\",\"POP_MAX\":2116000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.5680765,34.8819473],\"properties\":{\"NAME\":\"Zaozhuang\",\"NAMEASCII\":\"Zaozhuang\",\"POP_MAX\":2145000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.6180712,31.3024242],\"properties\":{\"NAME\":\"Suzhou\",\"NAMEASCII\":\"Suzhou\",\"POP_MAX\":1650000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.1780744,34.2819581],\"properties\":{\"NAME\":\"Xuzhou\",\"NAMEASCII\":\"Xuzhou\",\"POP_MAX\":2091000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.298039,31.581942],\"properties\":{\"NAME\":\"Wuxi\",\"NAMEASCII\":\"Wuxi\",\"POP_MAX\":1749000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.5480968,43.8519166],\"properties\":{\"NAME\":\"Jilin\",\"NAMEASCII\":\"Jilin\",\"POP_MAX\":2396000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[76.7780598,30.7219428],\"properties\":{\"NAME\":\"Chandigarh\",\"NAMEASCII\":\"Chandigarh\",\"POP_MAX\":979000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.8447928,32.7137334],\"properties\":{\"NAME\":\"Jammu\",\"NAMEASCII\":\"Jammu\",\"POP_MAX\":791000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.8980618,17.6723518],\"properties\":{\"NAME\":\"Sholapur\",\"NAMEASCII\":\"Sholapur\",\"POP_MAX\":1057000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.32894831924871,19.861686210186296],\"properties\":{\"NAME\":\"Aurangabad\",\"NAMEASCII\":\"Aurangabad\",\"POP_MAX\":1113000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.7780362,20.0023646],\"properties\":{\"NAME\":\"Nasik\",\"NAMEASCII\":\"Nasik\",\"POP_MAX\":1473000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[91.7666361,26.144023],\"properties\":{\"NAME\":\"Dispur\",\"NAMEASCII\":\"Dispur\",\"POP_MAX\":16140,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.5670743,31.3368665],\"properties\":{\"NAME\":\"Jullundur\",\"NAMEASCII\":\"Jullundur\",\"POP_MAX\":855000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.838061,25.4569412],\"properties\":{\"NAME\":\"Allahabad\",\"NAMEASCII\":\"Allahabad\",\"POP_MAX\":1201000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.7548384,28.8437371],\"properties\":{\"NAME\":\"Moradabad\",\"NAMEASCII\":\"Moradabad\",\"POP_MAX\":787000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.4064452,28.6623269],\"properties\":{\"NAME\":\"Ghaziabad\",\"NAMEASCII\":\"Ghaziabad\",\"POP_MAX\":1341000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.0130749,27.1723662],\"properties\":{\"NAME\":\"Agra\",\"NAMEASCII\":\"Agra\",\"POP_MAX\":1592000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.059842,27.8941568],\"properties\":{\"NAME\":\"Aligarh\",\"NAMEASCII\":\"Aligarh\",\"POP_MAX\":805000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.6980553,29.0023579],\"properties\":{\"NAME\":\"Meerut\",\"NAMEASCII\":\"Meerut\",\"POP_MAX\":1398000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[86.4180399,23.8023394],\"properties\":{\"NAME\":\"Dhanbad\",\"NAMEASCII\":\"Dhanbad\",\"POP_MAX\":1246000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.16919652961643,26.20003488730391],\"properties\":{\"NAME\":\"Gwalior\",\"NAMEASCII\":\"Gwalior\",\"POP_MAX\":978000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.1780728,22.3119652],\"properties\":{\"NAME\":\"Vadodara\",\"NAMEASCII\":\"Vadodara\",\"POP_MAX\":1756000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[70.7980631,22.3119652],\"properties\":{\"NAME\":\"Rajkot\",\"NAMEASCII\":\"Rajkot\",\"POP_MAX\":1260000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[-56.5100497,-33.4100163],\"properties\":{\"NAME\":\"Durazno\",\"NAMEASCII\":\"Durazno\",\"POP_MAX\":34037,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-93.4108464,48.6011277],\"properties\":{\"NAME\":\"International Falls\",\"NAMEASCII\":\"International Falls\",\"POP_MAX\":15240,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.0849748,44.9439866],\"properties\":{\"NAME\":\"St.  Paul\",\"NAMEASCII\":\"St. Paul\",\"POP_MAX\":734854,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-108.5400004,45.788302],\"properties\":{\"NAME\":\"Billings\",\"NAMEASCII\":\"Billings\",\"POP_MAX\":104552,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.299987,47.5002905],\"properties\":{\"NAME\":\"Great Falls\",\"NAMEASCII\":\"Great Falls\",\"POP_MAX\":66558,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-113.9930526,46.872241],\"properties\":{\"NAME\":\"Missoula\",\"NAMEASCII\":\"Missoula\",\"POP_MAX\":72856,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.2958173,48.2324939],\"properties\":{\"NAME\":\"Minot\",\"NAMEASCII\":\"Minot\",\"POP_MAX\":39439,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.7894257,46.8772278],\"properties\":{\"NAME\":\"Fargo\",\"NAMEASCII\":\"Fargo\",\"POP_MAX\":162842,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-155.08153952277408,19.705642844165897],\"properties\":{\"NAME\":\"Hilo\",\"NAMEASCII\":\"Hilo\",\"POP_MAX\":52391,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.899434,47.0380449],\"properties\":{\"NAME\":\"Olympia\",\"NAMEASCII\":\"Olympia\",\"POP_MAX\":156984,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.4199494,47.669996],\"properties\":{\"NAME\":\"Spokane\",\"NAMEASCII\":\"Spokane\",\"POP_MAX\":347705,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.6399925,45.6303013],\"properties\":{\"NAME\":\"Vancouver\",\"NAMEASCII\":\"Vancouver\",\"POP_MAX\":525802,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.6505083,35.1980957],\"properties\":{\"NAME\":\"Flagstaff\",\"NAMEASCII\":\"Flagstaff\",\"POP_MAX\":63993,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-110.8919321,32.2069426],\"properties\":{\"NAME\":\"Tucson\",\"NAMEASCII\":\"Tucson\",\"POP_MAX\":823000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.7166177148008,34.41079912844683],\"properties\":{\"NAME\":\"Santa Barbara\",\"NAMEASCII\":\"Santa Barbara\",\"POP_MAX\":181632,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.7729841,36.7477169],\"properties\":{\"NAME\":\"Fresno\",\"NAMEASCII\":\"Fresno\",\"POP_MAX\":616353,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-124.15037109618974,40.793038839681444],\"properties\":{\"NAME\":\"Eureka\",\"NAMEASCII\":\"Eureka\",\"POP_MAX\":42398,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.7919863,38.8629625],\"properties\":{\"NAME\":\"Colorado Springs\",\"NAMEASCII\":\"Colorado Springs\",\"POP_MAX\":493654,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-119.8200096,39.529976],\"properties\":{\"NAME\":\"Reno\",\"NAMEASCII\":\"Reno\",\"POP_MAX\":328585,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-115.7619886,40.8325063],\"properties\":{\"NAME\":\"Elko\",\"NAMEASCII\":\"Elko\",\"POP_MAX\":19252,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.6413308,35.1049748],\"properties\":{\"NAME\":\"Albuquerque\",\"NAMEASCII\":\"Albuquerque\",\"POP_MAX\":898642,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-123.0238967,44.9280703],\"properties\":{\"NAME\":\"Salem\",\"NAMEASCII\":\"Salem\",\"POP_MAX\":229010,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.32324265972944,42.84687217376596],\"properties\":{\"NAME\":\"Casper\",\"NAMEASCII\":\"Casper\",\"POP_MAX\":60791,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.669985,39.0500053],\"properties\":{\"NAME\":\"Topeka\",\"NAMEASCII\":\"Topeka\",\"POP_MAX\":132091,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-94.6060401,39.1090344],\"properties\":{\"NAME\":\"Kansas City\",\"NAMEASCII\":\"Kansas City\",\"POP_MAX\":1469000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.9300208,36.1200033],\"properties\":{\"NAME\":\"Tulsa\",\"NAMEASCII\":\"Tulsa\",\"POP_MAX\":946962,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.7299978,43.549989],\"properties\":{\"NAME\":\"Sioux Falls\",\"NAMEASCII\":\"Sioux Falls\",\"POP_MAX\":155724,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.7700234,32.5000175],\"properties\":{\"NAME\":\"Shreveport\",\"NAMEASCII\":\"Shreveport\",\"POP_MAX\":248053,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-91.1401581,30.4579458],\"properties\":{\"NAME\":\"Baton Rouge\",\"NAMEASCII\":\"Baton Rouge\",\"POP_MAX\":422072,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.3400381,32.739977],\"properties\":{\"NAME\":\"Ft.  Worth\",\"NAMEASCII\":\"Ft. Worth\",\"POP_MAX\":1440454,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.4018948,27.7428144],\"properties\":{\"NAME\":\"Corpus Christi\",\"NAMEASCII\":\"Corpus Christi\",\"POP_MAX\":277454,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.7447242,30.2688955],\"properties\":{\"NAME\":\"Austin\",\"NAMEASCII\":\"Austin\",\"POP_MAX\":1161000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-101.8299966,35.2299801],\"properties\":{\"NAME\":\"Amarillo\",\"NAMEASCII\":\"Amarillo\",\"POP_MAX\":181766,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-106.511941,31.7819298],\"properties\":{\"NAME\":\"El Paso\",\"NAMEASCII\":\"El Paso\",\"POP_MAX\":753000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-99.5072185,27.5061363],\"properties\":{\"NAME\":\"Laredo\",\"NAMEASCII\":\"Laredo\",\"POP_MAX\":434768,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.18252189086121,8.569520453572299],\"properties\":{\"NAME\":\"Mérida\",\"NAMEASCII\":\"Merida\",\"POP_MAX\":345489,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-73.2124669,44.4757982],\"properties\":{\"NAME\":\"Burlington\",\"NAMEASCII\":\"Burlington\",\"POP_MAX\":93807,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.2791887,32.3616022],\"properties\":{\"NAME\":\"Montgomery\",\"NAMEASCII\":\"Montgomery\",\"POP_MAX\":198325,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.2800342,30.4499876],\"properties\":{\"NAME\":\"Tallahassee\",\"NAMEASCII\":\"Tallahassee\",\"POP_MAX\":221222,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.3819762,28.5119227],\"properties\":{\"NAME\":\"Orlando\",\"NAMEASCII\":\"Orlando\",\"POP_MAX\":1350000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.6719327,30.3319666],\"properties\":{\"NAME\":\"Jacksonville\",\"NAMEASCII\":\"Jacksonville\",\"POP_MAX\":988000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.1099952,32.0211062],\"properties\":{\"NAME\":\"Savannah\",\"NAMEASCII\":\"Savannah\",\"POP_MAX\":180187,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.03126182715303,33.996860925141384],\"properties\":{\"NAME\":\"Columbia\",\"NAMEASCII\":\"Columbia\",\"POP_MAX\":398093,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.1719939,39.7519343],\"properties\":{\"NAME\":\"Indianapolis\",\"NAMEASCII\":\"Indianapolis\",\"POP_MAX\":1436000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.9450204,34.2255194],\"properties\":{\"NAME\":\"Wilmington\",\"NAMEASCII\":\"Wilmington\",\"POP_MAX\":161560,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.9200304,35.9700124],\"properties\":{\"NAME\":\"Knoxville\",\"NAMEASCII\":\"Knoxville\",\"POP_MAX\":655400,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.4519319,37.5519652],\"properties\":{\"NAME\":\"Richmond\",\"NAMEASCII\":\"Richmond\",\"POP_MAX\":912000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.6327281,38.349738],\"properties\":{\"NAME\":\"Charleston\",\"NAMEASCII\":\"Charleston\",\"POP_MAX\":123799,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.6145820807727,39.28151578641361],\"properties\":{\"NAME\":\"Baltimore\",\"NAMEASCII\":\"Baltimore\",\"POP_MAX\":2255000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.1500137,43.0499937],\"properties\":{\"NAME\":\"Syracuse\",\"NAMEASCII\":\"Syracuse\",\"POP_MAX\":662577,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-67.6236091,5.6639036],\"properties\":{\"NAME\":\"Puerto Ayacucho\",\"NAMEASCII\":\"Puerto Ayacucho\",\"POP_MAX\":52526,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-61.5170309,10.6519971],\"properties\":{\"NAME\":\"Port-of-Spain\",\"NAMEASCII\":\"Port-of-Spain\",\"POP_MAX\":294934,\"ISO_A2\":\"TT\",\"SOV_A3\":\"TTO\"}},{\"type\":\"Point\",\"coordinates\":[-69.7799891,44.3105628],\"properties\":{\"NAME\":\"Augusta\",\"NAMEASCII\":\"Augusta\",\"POP_MAX\":24042,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.3452757,46.4952615],\"properties\":{\"NAME\":\"Sault Ste. Marie\",\"NAMEASCII\":\"Sault Ste. Marie\",\"POP_MAX\":83805,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[1.1200244,7.5300429],\"properties\":{\"NAME\":\"Atakpamé\",\"NAMEASCII\":\"Atakpame\",\"POP_MAX\":80683,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[10.6250256,35.8299951],\"properties\":{\"NAME\":\"Sousse\",\"NAMEASCII\":\"Sousse\",\"POP_MAX\":327004,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[44.0374743,13.6063984],\"properties\":{\"NAME\":\"Taizz\",\"NAMEASCII\":\"Taizz\",\"POP_MAX\":751000,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[-135.3275494,57.0603977],\"properties\":{\"NAME\":\"Sitka\",\"NAMEASCII\":\"Sitka\",\"POP_MAX\":8931,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[24.0299955,49.8349801],\"properties\":{\"NAME\":\"Lviv\",\"NAMEASCII\":\"Lvov\",\"POP_MAX\":803880,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[30.7080553,46.4919622],\"properties\":{\"NAME\":\"Odessa\",\"NAMEASCII\":\"Odessa\",\"POP_MAX\":991000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[28.6621675,50.2455752],\"properties\":{\"NAME\":\"Zhytomyr\",\"NAMEASCII\":\"Zhytomyr\",\"POP_MAX\":282192,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[34.9980777,48.4819182],\"properties\":{\"NAME\":\"Dnipro\",\"NAMEASCII\":\"Dnipro\",\"POP_MAX\":1050000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[37.8280342,48.0019475],\"properties\":{\"NAME\":\"Donetsk\",\"NAMEASCII\":\"Donetsk\",\"POP_MAX\":988000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[36.2480789,50.0019288],\"properties\":{\"NAME\":\"Kharkiv\",\"NAMEASCII\":\"Kharkiv\",\"POP_MAX\":1461000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[52.9696761,40.0230467],\"properties\":{\"NAME\":\"Türkmenbaşy\",\"NAMEASCII\":\"Turkmenbasy\",\"POP_MAX\":68292,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[64.4300101,39.7800124],\"properties\":{\"NAME\":\"Bukhara\",\"NAMEASCII\":\"Bukhara\",\"POP_MAX\":319476,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[59.6150069,42.4700033],\"properties\":{\"NAME\":\"Nukus\",\"NAMEASCII\":\"Nukus\",\"POP_MAX\":230006,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[63.5800362,39.1100016],\"properties\":{\"NAME\":\"Türkmenabat\",\"NAMEASCII\":\"Turkmenabat\",\"POP_MAX\":234817,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[61.8333211,37.6000163],\"properties\":{\"NAME\":\"Mary\",\"NAMEASCII\":\"Mary\",\"POP_MAX\":178708,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[72.3399666,40.7900025],\"properties\":{\"NAME\":\"Andijan\",\"NAMEASCII\":\"Andijon\",\"POP_MAX\":650000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[106.6781469,20.8319522],\"properties\":{\"NAME\":\"Haiphong\",\"NAMEASCII\":\"Haiphong\",\"POP_MAX\":1969000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[108.2499711,16.0600391],\"properties\":{\"NAME\":\"Da Nang\",\"NAMEASCII\":\"Da Nang\",\"POP_MAX\":1000000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[28.4499841,-14.4400114],\"properties\":{\"NAME\":\"Kabwe\",\"NAMEASCII\":\"Kabwe\",\"POP_MAX\":188979,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.2599698,-12.5499975],\"properties\":{\"NAME\":\"Mufulira\",\"NAMEASCII\":\"Mufulira\",\"POP_MAX\":153624,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[28.220024,-12.8100333],\"properties\":{\"NAME\":\"Kitwe\",\"NAMEASCII\":\"Kitwe\",\"POP_MAX\":404901,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[25.860013,-17.8600093],\"properties\":{\"NAME\":\"Livingstone\",\"NAMEASCII\":\"Livingstone\",\"POP_MAX\":165480,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[31.1000032,-18.0000008],\"properties\":{\"NAME\":\"Chitungwiza\",\"NAMEASCII\":\"Chitungwiza\",\"POP_MAX\":340360,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[9.7080451,4.0623556],\"properties\":{\"NAME\":\"Douala\",\"NAMEASCII\":\"Douala\",\"POP_MAX\":1906000,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[-1.9219426,52.4769198],\"properties\":{\"NAME\":\"Birmingham\",\"NAMEASCII\":\"Birmingham\",\"POP_MAX\":2285000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-5.928177644913072,54.594245156841886],\"properties\":{\"NAME\":\"Belfast\",\"NAMEASCII\":\"Belfast\",\"POP_MAX\":450406,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[27.1498482,38.4380955],\"properties\":{\"NAME\":\"İzmir\",\"NAMEASCII\":\"Izmir\",\"POP_MAX\":2587000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[29.0680521,40.2019327],\"properties\":{\"NAME\":\"Bursa\",\"NAMEASCII\":\"Bursa\",\"POP_MAX\":1492000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[36.3436625,41.2799984],\"properties\":{\"NAME\":\"Samsun\",\"NAMEASCII\":\"Samsun\",\"POP_MAX\":609339,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[32.4730639,37.8769583],\"properties\":{\"NAME\":\"Konya\",\"NAMEASCII\":\"Konya\",\"POP_MAX\":919000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[35.3180582,36.9969345],\"properties\":{\"NAME\":\"Adana\",\"NAMEASCII\":\"Adana\",\"POP_MAX\":1293000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[32.2800345,2.779997],\"properties\":{\"NAME\":\"Gulu\",\"NAMEASCII\":\"Gulu\",\"POP_MAX\":146858,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[30.0585859,-1.9516442],\"properties\":{\"NAME\":\"Kigali\",\"NAMEASCII\":\"Kigali\",\"POP_MAX\":860000,\"ISO_A2\":\"RW\",\"SOV_A3\":\"RWA\"}},{\"type\":\"Point\",\"coordinates\":[-54.2332894,3.8500092],\"properties\":{\"NAME\":\"Cottica\",\"NAMEASCII\":\"Cottica\",\"POP_MAX\":29210,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-4.7700037,37.8799992],\"properties\":{\"NAME\":\"Córdoba\",\"NAMEASCII\":\"Cordoba\",\"POP_MAX\":321376,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[7.0964038,13.4916429],\"properties\":{\"NAME\":\"Niamey\",\"NAMEASCII\":\"Maradi\",\"POP_MAX\":232555,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[5.2599267,14.8999807],\"properties\":{\"NAME\":\"Tahoua\",\"NAMEASCII\":\"Tahoua\",\"POP_MAX\":115956,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[28.6099743,44.2026624],\"properties\":{\"NAME\":\"Constanța\",\"NAMEASCII\":\"Constanta\",\"POP_MAX\":303399,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[22.1583783,65.5966348],\"properties\":{\"NAME\":\"Luleå\",\"NAMEASCII\":\"Lulea\",\"POP_MAX\":48638,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[17.3166585,62.4000529],\"properties\":{\"NAME\":\"Sundsvall\",\"NAMEASCII\":\"Sundsvall\",\"POP_MAX\":73389,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[27.5749471,47.168347],\"properties\":{\"NAME\":\"Iași\",\"NAMEASCII\":\"Iasi\",\"POP_MAX\":325914,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[99.3401273,9.1500991],\"properties\":{\"NAME\":\"Surat Thani\",\"NAMEASCII\":\"Surat Thani\",\"POP_MAX\":157627,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[98.9800459,18.7999752],\"properties\":{\"NAME\":\"Chiang Mai\",\"NAMEASCII\":\"Chiang Mai\",\"POP_MAX\":397211,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[102.1000105,15.0000263],\"properties\":{\"NAME\":\"Nakhon Ratchasima\",\"NAMEASCII\":\"Nakhon Ratchasima\",\"POP_MAX\":334984,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[31.1333345,-26.3166508],\"properties\":{\"NAME\":\"Mbabane\",\"NAMEASCII\":\"Mbabane\",\"POP_MAX\":90138,\"ISO_A2\":\"SZ\",\"SOV_A3\":\"SWZ\"}},{\"type\":\"Point\",\"coordinates\":[-80.6299728,-5.2100321],\"properties\":{\"NAME\":\"Piura\",\"NAMEASCII\":\"Piura\",\"POP_MAX\":396932,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-71.5319573,-16.418048],\"properties\":{\"NAME\":\"Arequipa\",\"NAMEASCII\":\"Arequipa\",\"POP_MAX\":815000,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-78.5699952,-9.0700032],\"properties\":{\"NAME\":\"Chimbote\",\"NAMEASCII\":\"Chimbote\",\"POP_MAX\":349846,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-74.534996,-8.3689091],\"properties\":{\"NAME\":\"Pucallpa\",\"NAMEASCII\":\"Pucallpa\",\"POP_MAX\":310750,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-73.2500098,-3.7500179],\"properties\":{\"NAME\":\"Iquitos\",\"NAMEASCII\":\"Iquitos\",\"POP_MAX\":458729,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.20002,-12.0800004],\"properties\":{\"NAME\":\"Huancayo\",\"NAMEASCII\":\"Huancayo\",\"POP_MAX\":412733,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-54.6160568,-25.5166996],\"properties\":{\"NAME\":\"Ciudad del Este\",\"NAMEASCII\":\"Ciudad del Este\",\"POP_MAX\":320872,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-25.6665835,37.7483018],\"properties\":{\"NAME\":\"Ponta Delgada\",\"NAMEASCII\":\"Ponta Delgada\",\"POP_MAX\":61526,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.7299945,42.2200185],\"properties\":{\"NAME\":\"Vigo\",\"NAMEASCII\":\"Vigo\",\"POP_MAX\":378952,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-2.9299868,43.2499815],\"properties\":{\"NAME\":\"Bilbao\",\"NAMEASCII\":\"Bilbao\",\"POP_MAX\":875552,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[-16.1000098,14.1499748],\"properties\":{\"NAME\":\"Kaolack\",\"NAMEASCII\":\"Kaolack\",\"POP_MAX\":277812,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[-13.4999876,16.1500078],\"properties\":{\"NAME\":\"Kaédi\",\"NAMEASCII\":\"Kaedi\",\"POP_MAX\":21656,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[22.440015,13.4500175],\"properties\":{\"NAME\":\"Geneina\",\"NAMEASCII\":\"Geneina\",\"POP_MAX\":162981,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[39.5780565,24.5019349],\"properties\":{\"NAME\":\"Medina\",\"NAMEASCII\":\"Medina\",\"POP_MAX\":1010000,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[36.5549674,28.3838347],\"properties\":{\"NAME\":\"Tabuk\",\"NAMEASCII\":\"Tabuk\",\"POP_MAX\":547957,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[31.5800256,4.8299752],\"properties\":{\"NAME\":\"Juba\",\"NAMEASCII\":\"Juba\",\"POP_MAX\":111975,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[31.6559899,9.5368972],\"properties\":{\"NAME\":\"Malakal\",\"NAMEASCII\":\"Malakal\",\"POP_MAX\":160765,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[32.4800223,15.6166811],\"properties\":{\"NAME\":\"Omdurman\",\"NAMEASCII\":\"Omdurman\",\"POP_MAX\":2395159,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[30.216698,13.1832896],\"properties\":{\"NAME\":\"Al-Ubayyid\",\"NAMEASCII\":\"El Obeid\",\"POP_MAX\":393311,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[4.2699613,52.0800368],\"properties\":{\"NAME\":\"The Hague\",\"NAMEASCII\":\"The Hague\",\"POP_MAX\":1406000,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[7.97498387982654,58.14561960901902],\"properties\":{\"NAME\":\"Kristiansand\",\"NAMEASCII\":\"Kristiansand\",\"POP_MAX\":63814,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[14.514969,46.0552883],\"properties\":{\"NAME\":\"Ljubljana\",\"NAMEASCII\":\"Ljubljana\",\"POP_MAX\":314807,\"ISO_A2\":\"SI\",\"SOV_A3\":\"SVN\"}},{\"type\":\"Point\",\"coordinates\":[17.1169808,48.1500183],\"properties\":{\"NAME\":\"Bratislava\",\"NAMEASCII\":\"Bratislava\",\"POP_MAX\":423737,\"ISO_A2\":\"SK\",\"SOV_A3\":\"SVK\"}},{\"type\":\"Point\",\"coordinates\":[23.6880009,70.6612799],\"properties\":{\"NAME\":\"Hammerfest\",\"NAMEASCII\":\"Hammerfest\",\"POP_MAX\":10000,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[51.5329679,25.286556],\"properties\":{\"NAME\":\"Doha\",\"NAMEASCII\":\"Doha\",\"POP_MAX\":1450000,\"ISO_A2\":\"QA\",\"SOV_A3\":\"QAT\"}},{\"type\":\"Point\",\"coordinates\":[67.023048,30.2219475],\"properties\":{\"NAME\":\"Quetta\",\"NAMEASCII\":\"Quetta\",\"POP_MAX\":768000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[68.2067822,27.561766],\"properties\":{\"NAME\":\"Larkana\",\"NAMEASCII\":\"Larkana\",\"POP_MAX\":364033,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[17.8832906,-29.6667305],\"properties\":{\"NAME\":\"Springbok\",\"NAMEASCII\":\"Springbok\",\"POP_MAX\":10438,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[21.2300114,-28.4600342],\"properties\":{\"NAME\":\"Upington\",\"NAMEASCII\":\"Upington\",\"POP_MAX\":71373,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[19.4399397,-33.6400281],\"properties\":{\"NAME\":\"Worcester\",\"NAMEASCII\":\"Worcester\",\"POP_MAX\":127597,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[22.4500402,-33.950035],\"properties\":{\"NAME\":\"George\",\"NAMEASCII\":\"George\",\"POP_MAX\":174582,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[33.5800069,-16.170035],\"properties\":{\"NAME\":\"Tete\",\"NAMEASCII\":\"Tete\",\"POP_MAX\":129316,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[40.5323474,-12.983046],\"properties\":{\"NAME\":\"Pemba\",\"NAMEASCII\":\"Pemba\",\"POP_MAX\":110643,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[39.2930432,-15.1360412],\"properties\":{\"NAME\":\"Nampula\",\"NAMEASCII\":\"Nampula\",\"POP_MAX\":388526,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[26.7299857,-27.9699866],\"properties\":{\"NAME\":\"Welkom\",\"NAMEASCII\":\"Welkom\",\"POP_MAX\":431944,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[33.6400032,-25.0399845],\"properties\":{\"NAME\":\"Xai-Xai\",\"NAMEASCII\":\"Xai-Xai\",\"POP_MAX\":128805,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[145.3854821,-6.0833122],\"properties\":{\"NAME\":\"Goroka\",\"NAMEASCII\":\"Goroka\",\"POP_MAX\":39699,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[144.2168196,-5.8632222],\"properties\":{\"NAME\":\"Mt.  Hagen\",\"NAMEASCII\":\"Mt. Hagen\",\"POP_MAX\":59064,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[152.1434307,-4.2054904],\"properties\":{\"NAME\":\"Rabaul\",\"NAMEASCII\":\"Rabaul\",\"POP_MAX\":8074,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[146.9900354,-6.7329883],\"properties\":{\"NAME\":\"Lae\",\"NAMEASCII\":\"Lae\",\"POP_MAX\":131052,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[-82.4333252,8.4333211],\"properties\":{\"NAME\":\"David\",\"NAMEASCII\":\"David\",\"POP_MAX\":110037,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-1.9099716,34.690013],\"properties\":{\"NAME\":\"Oujda\",\"NAMEASCII\":\"Oujda\",\"POP_MAX\":409391,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-9.2399893,32.3199768],\"properties\":{\"NAME\":\"Safi\",\"NAMEASCII\":\"Safi\",\"POP_MAX\":353476,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[19.2663069,42.4659725],\"properties\":{\"NAME\":\"Podgorica\",\"NAMEASCII\":\"Podgorica\",\"POP_MAX\":145850,\"ISO_A2\":\"ME\",\"SOV_A3\":\"MNE\"}},{\"type\":\"Point\",\"coordinates\":[36.8899857,-17.8800081],\"properties\":{\"NAME\":\"Quelimane\",\"NAMEASCII\":\"Quelimane\",\"POP_MAX\":188964,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[27.8700195,-32.9700431],\"properties\":{\"NAME\":\"East London\",\"NAMEASCII\":\"East London\",\"POP_MAX\":338627,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[25.0099873,-31.5000036],\"properties\":{\"NAME\":\"Middelburg\",\"NAMEASCII\":\"Middelburg\",\"POP_MAX\":18164,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[43.6179471,43.4981059],\"properties\":{\"NAME\":\"Nalchik\",\"NAMEASCII\":\"Naltchik\",\"POP_MAX\":307866,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[41.9800109,45.0500008],\"properties\":{\"NAME\":\"Stavropol\",\"NAMEASCII\":\"Stavropol\",\"POP_MAX\":363064,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[177.6999955,64.7332955],\"properties\":{\"NAME\":\"Ugolnye Kopi\",\"NAMEASCII\":\"Ugolnye Kopi\",\"POP_MAX\":3367,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[20.4973429,54.7000061],\"properties\":{\"NAME\":\"Kaliningrad\",\"NAMEASCII\":\"Kaliningrad\",\"POP_MAX\":434954,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[28.3299397,57.829996],\"properties\":{\"NAME\":\"Pskov\",\"NAMEASCII\":\"Pskov\",\"POP_MAX\":201990,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.4299808,53.2599907],\"properties\":{\"NAME\":\"Bryansk\",\"NAMEASCII\":\"Bryansk\",\"POP_MAX\":427236,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[32.0473356,54.7826884],\"properties\":{\"NAME\":\"Smolensk\",\"NAMEASCII\":\"Smolensk\",\"POP_MAX\":320991,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[34.36122287793718,61.781318478265966],\"properties\":{\"NAME\":\"Petrozavodsk\",\"NAMEASCII\":\"Petrozavodsk\",\"POP_MAX\":265025,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[35.8899951,56.8599776],\"properties\":{\"NAME\":\"Tver\",\"NAMEASCII\":\"Tver\",\"POP_MAX\":400212,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.9199816,59.2099892],\"properties\":{\"NAME\":\"Vologda\",\"NAMEASCII\":\"Vologda\",\"POP_MAX\":294889,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.8700105,57.6199829],\"properties\":{\"NAME\":\"Yaroslavl\",\"NAMEASCII\":\"Yaroslavl\",\"POP_MAX\":606730,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.7107099,47.2365937],\"properties\":{\"NAME\":\"Rostov\",\"NAMEASCII\":\"Rostov\",\"POP_MAX\":1052000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.7299674,43.5900124],\"properties\":{\"NAME\":\"Sochi\",\"NAMEASCII\":\"Sochi\",\"POP_MAX\":327608,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.0000378,45.0199768],\"properties\":{\"NAME\":\"Krasnodar\",\"NAMEASCII\":\"Krasnodar\",\"POP_MAX\":649851,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.9999816,53.1800214],\"properties\":{\"NAME\":\"Penza\",\"NAMEASCII\":\"Penza\",\"POP_MAX\":512602,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.7199939,54.6199593],\"properties\":{\"NAME\":\"Ryazan\",\"NAMEASCII\":\"Ryazan\",\"POP_MAX\":520173,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[39.18684252206281,51.66539025109858],\"properties\":{\"NAME\":\"Voronezh\",\"NAMEASCII\":\"Voronezh\",\"POP_MAX\":844000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[58.9800069,53.4226939],\"properties\":{\"NAME\":\"Magnitogorsk\",\"NAMEASCII\":\"Magnitogorsk\",\"POP_MAX\":413351,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[61.4367223,55.1569371],\"properties\":{\"NAME\":\"Chelyabinsk\",\"NAMEASCII\":\"Chelyabinsk\",\"POP_MAX\":1091000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[64.0099841,67.5],\"properties\":{\"NAME\":\"Vorkuta\",\"NAMEASCII\":\"Vorkuta\",\"POP_MAX\":80039,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.6699808,58.5900529],\"properties\":{\"NAME\":\"Kirov\",\"NAMEASCII\":\"Kirov\",\"POP_MAX\":457437,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[59.9749849,57.9200163],\"properties\":{\"NAME\":\"Nizhny Tagil\",\"NAMEASCII\":\"Nizhny Tagil\",\"POP_MAX\":381116,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.054989,46.3486554],\"properties\":{\"NAME\":\"Astrakhan\",\"NAMEASCII\":\"Astrakhan\",\"POP_MAX\":502533,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[55.1100105,51.7799776],\"properties\":{\"NAME\":\"Orenburg\",\"NAMEASCII\":\"Orenburg\",\"POP_MAX\":550204,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[46.0280504,51.5819357],\"properties\":{\"NAME\":\"Saratov\",\"NAMEASCII\":\"Saratov\",\"POP_MAX\":843000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[48.4100061,54.329977],\"properties\":{\"NAME\":\"Ulyanovsk\",\"NAMEASCII\":\"Ulyanovsk\",\"POP_MAX\":640680,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[73.3980077,54.9919343],\"properties\":{\"NAME\":\"Omsk\",\"NAMEASCII\":\"Omsk\",\"POP_MAX\":1135000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[65.5299947,57.1400122],\"properties\":{\"NAME\":\"Tyumen\",\"NAMEASCII\":\"Tyumen\",\"POP_MAX\":519119,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[87.1149821,53.7500124],\"properties\":{\"NAME\":\"Novokuznetsk\",\"NAMEASCII\":\"Novokuznetsk\",\"POP_MAX\":539616,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[86.08998,55.3399671],\"properties\":{\"NAME\":\"Kemerovo\",\"NAMEASCII\":\"Kemerovo\",\"POP_MAX\":477090,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.6986987,43.3186853],\"properties\":{\"NAME\":\"Grozny\",\"NAMEASCII\":\"Groznyy\",\"POP_MAX\":226100,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[80.6700008,7.2799807],\"properties\":{\"NAME\":\"Kandy\",\"NAMEASCII\":\"Kandy\",\"POP_MAX\":111701,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[79.949993,6.9000039],\"properties\":{\"NAME\":\"Sri Jayawardenepura Kotte\",\"NAMEASCII\":\"Sri Jawewardenepura Kotte\",\"POP_MAX\":115826,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[127.4230822,36.3374915],\"properties\":{\"NAME\":\"Daejeon\",\"NAMEASCII\":\"Daejeon\",\"POP_MAX\":1468000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[126.9084883,35.1729115],\"properties\":{\"NAME\":\"Gwangju\",\"NAMEASCII\":\"Gwangju\",\"POP_MAX\":1440000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[129.0081017,35.0969988],\"properties\":{\"NAME\":\"Busan\",\"NAMEASCII\":\"Busan\",\"POP_MAX\":3480000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[122.0780854,6.9219227],\"properties\":{\"NAME\":\"Zamboanga\",\"NAMEASCII\":\"Zamboanga\",\"POP_MAX\":773000,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.5936104,18.1988491],\"properties\":{\"NAME\":\"Laoag\",\"NAMEASCII\":\"Laoag\",\"POP_MAX\":207048,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[120.5699426,16.4299907],\"properties\":{\"NAME\":\"Baguio\",\"NAMEASCII\":\"Baguio City\",\"POP_MAX\":447824,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.1747261,6.1108272],\"properties\":{\"NAME\":\"General Santos\",\"NAMEASCII\":\"General Santos\",\"POP_MAX\":950530,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[102.6333113,57.9899603],\"properties\":{\"NAME\":\"Ust-Ilimsk\",\"NAMEASCII\":\"Ust-Ulimsk\",\"POP_MAX\":100271,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[103.9200028,52.5600075],\"properties\":{\"NAME\":\"Angarsk\",\"NAMEASCII\":\"Angarsk\",\"POP_MAX\":243158,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[91.445002,53.7036845],\"properties\":{\"NAME\":\"Abakan\",\"NAMEASCII\":\"Abakan\",\"POP_MAX\":167289,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[88.2249918,69.3400169],\"properties\":{\"NAME\":\"Norilsk\",\"NAMEASCII\":\"Norilsk\",\"POP_MAX\":165873,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[102.4650012,72.041144],\"properties\":{\"NAME\":\"Khatanga\",\"NAMEASCII\":\"Khatanga\",\"POP_MAX\":3205,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[94.3830656,51.7067005],\"properties\":{\"NAME\":\"Kyzyl\",\"NAMEASCII\":\"Kyzyl\",\"POP_MAX\":108240,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[107.6249963,51.8249878],\"properties\":{\"NAME\":\"Ulan-Ude\",\"NAMEASCII\":\"Ulan Ude\",\"POP_MAX\":360278,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[127.5333418,50.2666075],\"properties\":{\"NAME\":\"Blagoveshchensk\",\"NAMEASCII\":\"Blagoveshchensk\",\"POP_MAX\":221296,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[116.9166255,52.9833409],\"properties\":{\"NAME\":\"Bukachacha\",\"NAMEASCII\":\"Bukachacha\",\"POP_MAX\":3372,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.5172473,44.5372156],\"properties\":{\"NAME\":\"Dalnegorsk\",\"NAMEASCII\":\"Dalnegorsk\",\"POP_MAX\":8123,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[162.3335949,69.6510057],\"properties\":{\"NAME\":\"Ambarchik\",\"NAMEASCII\":\"Ambarchik\",\"POP_MAX\":0,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[134.6350272,67.6559853],\"properties\":{\"NAME\":\"Batagay\",\"NAMEASCII\":\"Batagay\",\"POP_MAX\":4266,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[147.8945796,70.618311],\"properties\":{\"NAME\":\"Chokurdakh\",\"NAMEASCII\":\"Chokurdakh\",\"POP_MAX\":2506,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[143.1999825,64.5665873],\"properties\":{\"NAME\":\"Ust-Nera\",\"NAMEASCII\":\"Ust Nera\",\"POP_MAX\":9148,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[114.94703,60.7252714],\"properties\":{\"NAME\":\"Lensk\",\"NAMEASCII\":\"Lensk\",\"POP_MAX\":25589,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[125.38939,58.6029979],\"properties\":{\"NAME\":\"Aldan\",\"NAMEASCII\":\"Aldan\",\"POP_MAX\":24426,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[113.9613537,62.5400185],\"properties\":{\"NAME\":\"Mirny\",\"NAMEASCII\":\"Mirnyy\",\"POP_MAX\":40308,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[123.3711153,66.7697087],\"properties\":{\"NAME\":\"Zhigansk\",\"NAMEASCII\":\"Zhigansk\",\"POP_MAX\":3237,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[143.2170357,59.3830019],\"properties\":{\"NAME\":\"Okhotsk\",\"NAMEASCII\":\"Okhotsk\",\"POP_MAX\":5570,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[135.1200105,48.4549868],\"properties\":{\"NAME\":\"Khabarovsk\",\"NAMEASCII\":\"Khabarovsk\",\"POP_MAX\":579000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.9478531,53.5738991],\"properties\":{\"NAME\":\"Okha\",\"NAMEASCII\":\"Okha\",\"POP_MAX\":26560,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[142.7400105,46.9649744],\"properties\":{\"NAME\":\"Yuzhno Sakhalinsk\",\"NAMEASCII\":\"Yuzhno Sakhalinsk\",\"POP_MAX\":176484,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-115.481962,32.6519284],\"properties\":{\"NAME\":\"Mexicali\",\"NAMEASCII\":\"Mexicali\",\"POP_MAX\":885000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.3199952,24.1399593],\"properties\":{\"NAME\":\"La Paz\",\"NAMEASCII\":\"La Paz\",\"POP_MAX\":189767,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.4219487,25.5719988],\"properties\":{\"NAME\":\"Torreón\",\"NAMEASCII\":\"Torreon\",\"POP_MAX\":1144000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-107.3819138,24.8319406],\"properties\":{\"NAME\":\"Culiacán\",\"NAMEASCII\":\"Culiacan\",\"POP_MAX\":809000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.9449958,31.305],\"properties\":{\"NAME\":\"Nogales\",\"NAMEASCII\":\"Nogales\",\"POP_MAX\":178097,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.954065,29.0988814],\"properties\":{\"NAME\":\"Hermosillo\",\"NAMEASCII\":\"Hermosillo\",\"POP_MAX\":595811,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-110.8899862,27.9300122],\"properties\":{\"NAME\":\"Guaymas\",\"NAMEASCII\":\"Guaymas\",\"POP_MAX\":103449,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.0019414,22.1719221],\"properties\":{\"NAME\":\"San Luis Potosí\",\"NAMEASCII\":\"San Luis Potosi\",\"POP_MAX\":992000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.5000025,25.8799823],\"properties\":{\"NAME\":\"Matamoros\",\"NAMEASCII\":\"Matamoros\",\"POP_MAX\":538785,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.5500066,27.4999868],\"properties\":{\"NAME\":\"Nuevo Laredo\",\"NAMEASCII\":\"Nuevo Laredo\",\"POP_MAX\":349550,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-103.7200104,19.2299748],\"properties\":{\"NAME\":\"Colima\",\"NAMEASCII\":\"Colima\",\"POP_MAX\":223287,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-90.4999905,19.8299898],\"properties\":{\"NAME\":\"Campeche\",\"NAMEASCII\":\"Campeche\",\"POP_MAX\":205212,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.6699498,17.0826898],\"properties\":{\"NAME\":\"Oaxaca\",\"NAMEASCII\":\"Oaxaca\",\"POP_MAX\":530728,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-101.7019762,21.1519327],\"properties\":{\"NAME\":\"León\",\"NAMEASCII\":\"Leon\",\"POP_MAX\":1488000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[13.1580671,11.851906],\"properties\":{\"NAME\":\"Maiduguri\",\"NAMEASCII\":\"Maiduguri\",\"POP_MAX\":896000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.0080549,4.8119481],\"properties\":{\"NAME\":\"Port Harcourt\",\"NAMEASCII\":\"Port Harcourt\",\"POP_MAX\":1020000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[8.5300114,7.7299791],\"properties\":{\"NAME\":\"Makurdi\",\"NAMEASCII\":\"Makurdi\",\"POP_MAX\":292645,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[3.9280362,7.3819721],\"properties\":{\"NAME\":\"Ibadan\",\"NAMEASCII\":\"Ibadan\",\"POP_MAX\":2628000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[4.2380431,8.1319522],\"properties\":{\"NAME\":\"Ogbomosho\",\"NAMEASCII\":\"Ogbomosho\",\"POP_MAX\":951000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.7599996,5.5199589],\"properties\":{\"NAME\":\"Warri\",\"NAMEASCII\":\"Warri\",\"POP_MAX\":830106,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[7.4380545,10.5219613],\"properties\":{\"NAME\":\"Kaduna\",\"NAMEASCII\":\"Kaduna\",\"POP_MAX\":1442000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[18.6400402,54.3599752],\"properties\":{\"NAME\":\"Gdańsk\",\"NAMEASCII\":\"Gdansk\",\"POP_MAX\":740000,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[19.9580655,50.0619251],\"properties\":{\"NAME\":\"Kraków\",\"NAMEASCII\":\"Krakow\",\"POP_MAX\":756000,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[104.4402811,43.5835529],\"properties\":{\"NAME\":\"Dalandzadgad\",\"NAMEASCII\":\"Dalandzadgad\",\"POP_MAX\":15093,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[127.4308158,39.1604895],\"properties\":{\"NAME\":\"Wonsan\",\"NAMEASCII\":\"Wonsan\",\"POP_MAX\":329207,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[124.4212837,40.0858594],\"properties\":{\"NAME\":\"Sinuiju\",\"NAMEASCII\":\"Sinuiju\",\"POP_MAX\":288112,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[91.6332592,48.0166415],\"properties\":{\"NAME\":\"Dund-Us\",\"NAMEASCII\":\"Dund-Us\",\"POP_MAX\":30500,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[114.5060233,48.0665867],\"properties\":{\"NAME\":\"Choibalsan\",\"NAMEASCII\":\"Choybalsan\",\"POP_MAX\":33376,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[15.1594258,-26.6480001],\"properties\":{\"NAME\":\"Lüderitz\",\"NAMEASCII\":\"Luderitz\",\"POP_MAX\":15137,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[14.5053055,-22.9575277],\"properties\":{\"NAME\":\"Walvis Bay\",\"NAMEASCII\":\"Walvis Bay\",\"POP_MAX\":52058,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[32.9300207,-2.5200154],\"properties\":{\"NAME\":\"Mwanza\",\"NAMEASCII\":\"Mwanza\",\"POP_MAX\":493944,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[37.6600162,-6.8200114],\"properties\":{\"NAME\":\"Morogoro\",\"NAMEASCII\":\"Morogoro\",\"POP_MAX\":250902,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[35.7500036,-6.1833061],\"properties\":{\"NAME\":\"Dodoma\",\"NAMEASCII\":\"Dodoma\",\"POP_MAX\":218269,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[36.6699991,-3.3600158],\"properties\":{\"NAME\":\"Arusha\",\"NAMEASCII\":\"Arusha\",\"POP_MAX\":341136,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[7.4669755,46.9166828],\"properties\":{\"NAME\":\"Bern\",\"NAMEASCII\":\"Bern\",\"POP_MAX\":275329,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[13.023059685006762,55.59942395416559],\"properties\":{\"NAME\":\"Malmö\",\"NAMEASCII\":\"Malmo\",\"POP_MAX\":269349,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[-13.2000059,27.1499823],\"properties\":{\"NAME\":\"Laayoune\",\"NAMEASCII\":\"Laayoune\",\"POP_MAX\":188084,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[127.3630163,0.7929606],\"properties\":{\"NAME\":\"Ternate\",\"NAMEASCII\":\"Ternate\",\"POP_MAX\":187521,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[128.2000195,-3.7166866],\"properties\":{\"NAME\":\"Ambon\",\"NAMEASCII\":\"Ambon\",\"POP_MAX\":355596,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[118.7666418,-8.4499894],\"properties\":{\"NAME\":\"Raba\",\"NAMEASCII\":\"Raba\",\"POP_MAX\":106101,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[140.69998,-2.5329862],\"properties\":{\"NAME\":\"Jayapura\",\"NAMEASCII\":\"Jayapura\",\"POP_MAX\":169341,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[11.2500004,43.7800008],\"properties\":{\"NAME\":\"Florence\",\"NAMEASCII\":\"Florence\",\"POP_MAX\":1500000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[15.0799991,37.4999707],\"properties\":{\"NAME\":\"Catania\",\"NAMEASCII\":\"Catania\",\"POP_MAX\":674542,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[21.1659843,42.6667096],\"properties\":{\"NAME\":\"Pristina\",\"NAMEASCII\":\"Pristina\",\"POP_MAX\":465186,\"ISO_A2\":\"-99\",\"SOV_A3\":\"KOS\"}},{\"type\":\"Point\",\"coordinates\":[37.6400175,0.0599821],\"properties\":{\"NAME\":\"Meru\",\"NAMEASCII\":\"Meru\",\"POP_MAX\":47226,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[35.2699812,0.5200057],\"properties\":{\"NAME\":\"Eldoret\",\"NAMEASCII\":\"Eldoret\",\"POP_MAX\":353381,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[95.3200109,5.5499829],\"properties\":{\"NAME\":\"Banda Aceh\",\"NAMEASCII\":\"Banda Aceh\",\"POP_MAX\":513698,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[100.3293679,5.4136132],\"properties\":{\"NAME\":\"George Town\",\"NAMEASCII\":\"George Town\",\"POP_MAX\":2500000,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[100.4500337,38.9299868],\"properties\":{\"NAME\":\"Zhangye\",\"NAMEASCII\":\"Zhangye\",\"POP_MAX\":230728,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.6410111,37.9280066],\"properties\":{\"NAME\":\"Wuwei\",\"NAMEASCII\":\"Wuwei\",\"POP_MAX\":493092,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[94.6620149,40.1426776],\"properties\":{\"NAME\":\"Dunhuang\",\"NAMEASCII\":\"Dunhuang\",\"POP_MAX\":140094,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[105.9180382,34.6019644],\"properties\":{\"NAME\":\"Tianshui\",\"NAMEASCII\":\"Tianshui\",\"POP_MAX\":1225000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[98.2666011,36.1665896],\"properties\":{\"NAME\":\"Dulan\",\"NAMEASCII\":\"Dulan\",\"POP_MAX\":100,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[94.8833451,36.416626],\"properties\":{\"NAME\":\"Golmud\",\"NAMEASCII\":\"Golmud\",\"POP_MAX\":107092,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.1480643,22.6319198],\"properties\":{\"NAME\":\"Yulin\",\"NAMEASCII\":\"Yulin\",\"POP_MAX\":1127000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.6133268,23.8997156],\"properties\":{\"NAME\":\"Bose\",\"NAMEASCII\":\"Bose\",\"POP_MAX\":175282,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.3200162,23.4800255],\"properties\":{\"NAME\":\"Wuzhou\",\"NAMEASCII\":\"Wuzhou\",\"POP_MAX\":442315,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.8313862,26.5963807],\"properties\":{\"NAME\":\"Liupanshui\",\"NAMEASCII\":\"Liupanshui\",\"POP_MAX\":1221000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.5780407,24.9019622],\"properties\":{\"NAME\":\"Quanzhou\",\"NAMEASCII\":\"Quanzhou\",\"POP_MAX\":1463000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.2780683,31.8519772],\"properties\":{\"NAME\":\"Hefei\",\"NAMEASCII\":\"Hefei\",\"POP_MAX\":2035000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.976943,33.638057],\"properties\":{\"NAME\":\"Suzhou\",\"NAMEASCII\":\"Suzhou\",\"POP_MAX\":1964000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.3780761,21.2019296],\"properties\":{\"NAME\":\"Zhanjiang\",\"NAMEASCII\":\"Zhanjiang\",\"POP_MAX\":1590000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.5799816,24.7999707],\"properties\":{\"NAME\":\"Shaoguan\",\"NAMEASCII\":\"Shaoguan\",\"POP_MAX\":720266,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.8300158,-1.2500154],\"properties\":{\"NAME\":\"Balikpapan\",\"NAMEASCII\":\"Balikpapan\",\"POP_MAX\":445905,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[110.3299991,1.5299699],\"properties\":{\"NAME\":\"Kuching\",\"NAMEASCII\":\"Kuching\",\"POP_MAX\":570407,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[49.3115261,-12.2765015],\"properties\":{\"NAME\":\"Antsiranana\",\"NAMEASCII\":\"Antsiranana\",\"POP_MAX\":82937,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[47.0832653,-21.4333313],\"properties\":{\"NAME\":\"Fianarantsoa\",\"NAMEASCII\":\"Fianarantsoa\",\"POP_MAX\":184184,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[46.3450158,-15.6700138],\"properties\":{\"NAME\":\"Mahajanga\",\"NAMEASCII\":\"Mahajanga\",\"POP_MAX\":154657,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[43.6899841,-23.3568314],\"properties\":{\"NAME\":\"Toliara\",\"NAMEASCII\":\"Toliara\",\"POP_MAX\":115319,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[110.8250077,-7.5649788],\"properties\":{\"NAME\":\"Surakarta\",\"NAMEASCII\":\"Surakarta\",\"POP_MAX\":555308,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[105.2680521,-5.4280728],\"properties\":{\"NAME\":\"Bandar Lampung\",\"NAMEASCII\":\"Bandar Lampung\",\"POP_MAX\":865000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[107.6500077,-2.7500272],\"properties\":{\"NAME\":\"Tanjung Pandan\",\"NAMEASCII\":\"Tanjungpandan\",\"POP_MAX\":62374,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.6080692,-7.9780464],\"properties\":{\"NAME\":\"Malang\",\"NAMEASCII\":\"Malang\",\"POP_MAX\":805000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[123.5829886,-10.1786694],\"properties\":{\"NAME\":\"Kupang\",\"NAMEASCII\":\"Kupang\",\"POP_MAX\":282396,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[119.6333073,-4.0166683],\"properties\":{\"NAME\":\"Parepare\",\"NAMEASCII\":\"Parepare\",\"POP_MAX\":87776,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-78.9999948,-2.8999922],\"properties\":{\"NAME\":\"Cuenca\",\"NAMEASCII\":\"Cuenca\",\"POP_MAX\":286878,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-90.3499996,-0.533315],\"properties\":{\"NAME\":\"Santa Cruz\",\"NAMEASCII\":\"Santa Cruz\",\"POP_MAX\":11262,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-83.0333403,10.0000214],\"properties\":{\"NAME\":\"Limón\",\"NAMEASCII\":\"Puerto Limon\",\"POP_MAX\":85001,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-75.8213257,20.0250167],\"properties\":{\"NAME\":\"Santiago de Cuba\",\"NAMEASCII\":\"Santiago de Cuba\",\"POP_MAX\":555865,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[-70.6700122,19.50001],\"properties\":{\"NAME\":\"Santiago\",\"NAMEASCII\":\"Santiago\",\"POP_MAX\":1550753,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-75.5200004,5.059987],\"properties\":{\"NAME\":\"Manizales\",\"NAMEASCII\":\"Manizales\",\"POP_MAX\":375848,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-77.2811074,1.2136068],\"properties\":{\"NAME\":\"Pasto\",\"NAMEASCII\":\"Pasto\",\"POP_MAX\":382236,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-74.8019127,10.9619345],\"properties\":{\"NAME\":\"Barranquilla\",\"NAMEASCII\":\"Barranquilla\",\"POP_MAX\":1798000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-61.387013,15.3010156],\"properties\":{\"NAME\":\"Roseau\",\"NAMEASCII\":\"Roseau\",\"POP_MAX\":23336,\"ISO_A2\":\"DM\",\"SOV_A3\":\"DMA\"}},{\"type\":\"Point\",\"coordinates\":[18.2600118,0.040035],\"properties\":{\"NAME\":\"Mbandaka\",\"NAMEASCII\":\"Mbandaka\",\"POP_MAX\":274996,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[16.090015,8.5499807],\"properties\":{\"NAME\":\"Moundou\",\"NAMEASCII\":\"Moundou\",\"POP_MAX\":156705,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[32.5499406,30.004976],\"properties\":{\"NAME\":\"Suez\",\"NAMEASCII\":\"Suez\",\"POP_MAX\":508335,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.2900081,31.2599898],\"properties\":{\"NAME\":\"Bur Said\",\"NAMEASCII\":\"Bur Said\",\"POP_MAX\":623864,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[30.8399674,29.3100314],\"properties\":{\"NAME\":\"El Faiyum\",\"NAMEASCII\":\"El Faiyum\",\"POP_MAX\":316772,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[32.8989115,24.0875078],\"properties\":{\"NAME\":\"Aswan\",\"NAMEASCII\":\"Aswan\",\"POP_MAX\":313442,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[31.1799467,27.1899799],\"properties\":{\"NAME\":\"Asyut\",\"NAMEASCII\":\"Asyut\",\"POP_MAX\":420585,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[25.2200004,0.5200057],\"properties\":{\"NAME\":\"Kisangani\",\"NAMEASCII\":\"Kisangani\",\"POP_MAX\":578470,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[42.729991,13.0100185],\"properties\":{\"NAME\":\"Assab\",\"NAMEASCII\":\"Assab\",\"POP_MAX\":105496,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[43.1480017,11.5950145],\"properties\":{\"NAME\":\"Djibouti\",\"NAMEASCII\":\"Djibouti\",\"POP_MAX\":923000,\"ISO_A2\":\"DJ\",\"SOV_A3\":\"DJI\"}},{\"type\":\"Point\",\"coordinates\":[13.7500028,51.0499705],\"properties\":{\"NAME\":\"Dresden\",\"NAMEASCII\":\"Dresden\",\"POP_MAX\":617515,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[88.8833496,29.2500092],\"properties\":{\"NAME\":\"Xigaze\",\"NAMEASCII\":\"Xigaze\",\"POP_MAX\":80000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[77.2500028,38.4261416],\"properties\":{\"NAME\":\"Shache\",\"NAMEASCII\":\"Shache\",\"POP_MAX\":851374,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[81.3500109,43.9000193],\"properties\":{\"NAME\":\"Yining\",\"NAMEASCII\":\"Yining\",\"POP_MAX\":542507,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[88.1166263,47.8665989],\"properties\":{\"NAME\":\"Altay\",\"NAMEASCII\":\"Altay\",\"POP_MAX\":142000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.6950374044619,2.932515212266741],\"properties\":{\"NAME\":\"Putrajaya\",\"NAMEASCII\":\"Putrajaya\",\"POP_MAX\":67964,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[106.7690279,39.2332758],\"properties\":{\"NAME\":\"Shizuishan\",\"NAMEASCII\":\"Shizuishan\",\"POP_MAX\":136570,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.7332914,38.2833079],\"properties\":{\"NAME\":\"Yulin\",\"NAMEASCII\":\"Yulin\",\"POP_MAX\":155960,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.0200016,32.6799807],\"properties\":{\"NAME\":\"Ankang\",\"NAMEASCII\":\"Ankang\",\"POP_MAX\":1100000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.2099971,35.6199821],\"properties\":{\"NAME\":\"Houma\",\"NAMEASCII\":\"Houma\",\"POP_MAX\":102400,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.0980651,29.3819988],\"properties\":{\"NAME\":\"Yueyang\",\"NAMEASCII\":\"Yueyang\",\"POP_MAX\":826000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.5880704,26.8819705],\"properties\":{\"NAME\":\"Hengyang\",\"NAMEASCII\":\"Hengyang\",\"POP_MAX\":1016000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.68999287876282,31.46482758129281],\"properties\":{\"NAME\":\"Mianyang\",\"NAMEASCII\":\"Mianyang\",\"POP_MAX\":1396000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.2999983,27.8800153],\"properties\":{\"NAME\":\"Xichang\",\"NAMEASCII\":\"Xichang\",\"POP_MAX\":379993,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[99.1500097,25.119977],\"properties\":{\"NAME\":\"Baoshan\",\"NAMEASCII\":\"Baoshan\",\"POP_MAX\":1000000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[103.1500756,23.3799799],\"properties\":{\"NAME\":\"Gejiu\",\"NAMEASCII\":\"Gejiu\",\"POP_MAX\":149105,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.4780325,38.0519605],\"properties\":{\"NAME\":\"Shijiazhuang\",\"NAMEASCII\":\"Shijiazhuang\",\"POP_MAX\":2417000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.4780325,36.5819211],\"properties\":{\"NAME\":\"Handan\",\"NAMEASCII\":\"Handan\",\"POP_MAX\":1631000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.9380846,41.1169672],\"properties\":{\"NAME\":\"Anshan\",\"NAMEASCII\":\"Anshan\",\"POP_MAX\":1639000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.627885,38.9247843],\"properties\":{\"NAME\":\"Dalian\",\"NAMEASCII\":\"Dalian\",\"POP_MAX\":3167000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.3280631,36.0919251],\"properties\":{\"NAME\":\"Qingdao\",\"NAMEASCII\":\"Qingdao\",\"POP_MAX\":2866000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.3280301,35.0819351],\"properties\":{\"NAME\":\"Linyi\",\"NAMEASCII\":\"Linyi\",\"POP_MAX\":2082000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.06596724668917,33.58516490333014],\"properties\":{\"NAME\":\"Huaiyin\",\"NAMEASCII\":\"Huaiyin\",\"POP_MAX\":1264000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.6481469,28.0219268],\"properties\":{\"NAME\":\"Wenzhou\",\"NAMEASCII\":\"Wenzhou\",\"POP_MAX\":2350000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[121.5480919,29.8819166],\"properties\":{\"NAME\":\"Ningbo\",\"NAMEASCII\":\"Ningbo\",\"POP_MAX\":1923000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.4080679,33.5969611],\"properties\":{\"NAME\":\"Fukuoka\",\"NAMEASCII\":\"Fukuoka\",\"POP_MAX\":2792000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[131.418376,31.9182442],\"properties\":{\"NAME\":\"Miyazaki\",\"NAMEASCII\":\"Miyazaki\",\"POP_MAX\":324384,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[127.6729716,26.2071717],\"properties\":{\"NAME\":\"Naha\",\"NAMEASCII\":\"Naha\",\"POP_MAX\":905238,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[133.5375232,33.5624333],\"properties\":{\"NAME\":\"Kōchi\",\"NAMEASCII\":\"Kochi\",\"POP_MAX\":335570,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[123.0700484,0.549978],\"properties\":{\"NAME\":\"Gorontalo\",\"NAMEASCII\":\"Gorontalo\",\"POP_MAX\":365497,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[122.268048,43.6219048],\"properties\":{\"NAME\":\"Tongliao\",\"NAMEASCII\":\"Tongliao\",\"POP_MAX\":884000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[111.6580496,40.8219207],\"properties\":{\"NAME\":\"Hohhot\",\"NAMEASCII\":\"Hohhot\",\"POP_MAX\":1726000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.9480439,42.2719613],\"properties\":{\"NAME\":\"Chifeng\",\"NAMEASCII\":\"Chifeng\",\"POP_MAX\":1277000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[122.0800313,46.0800155],\"properties\":{\"NAME\":\"Ulan Hot\",\"NAMEASCII\":\"Ulanhot\",\"POP_MAX\":241894,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.7000215,49.1999801],\"properties\":{\"NAME\":\"Hailar\",\"NAMEASCII\":\"Hailar\",\"POP_MAX\":231171,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.3480716,46.8319672],\"properties\":{\"NAME\":\"Jiamusi\",\"NAMEASCII\":\"Jiamusi\",\"POP_MAX\":1020000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.52860364849957,48.246263385961704],\"properties\":{\"NAME\":\"Bei'an\",\"NAMEASCII\":\"Beian\",\"POP_MAX\":154936,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[124.9980622,46.581905],\"properties\":{\"NAME\":\"Daqing\",\"NAMEASCII\":\"Daqing\",\"POP_MAX\":1693000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[130.9680854,45.3019056],\"properties\":{\"NAME\":\"Jixi\",\"NAMEASCII\":\"Jixi\",\"POP_MAX\":965000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[136.9130456,35.1569434],\"properties\":{\"NAME\":\"Nagoya\",\"NAMEASCII\":\"Nagoya\",\"POP_MAX\":3230000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[138.1700052,36.6499968],\"properties\":{\"NAME\":\"Nagano\",\"NAMEASCII\":\"Nagano\",\"POP_MAX\":594311,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[144.3746911,42.9749595],\"properties\":{\"NAME\":\"Kushiro\",\"NAMEASCII\":\"Kushiro\",\"POP_MAX\":198566,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.7399776,41.7949799],\"properties\":{\"NAME\":\"Hakodate\",\"NAMEASCII\":\"Hakodate\",\"POP_MAX\":302984,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[135.7480521,35.0319381],\"properties\":{\"NAME\":\"Kyoto\",\"NAMEASCII\":\"Kyoto\",\"POP_MAX\":1805000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[140.86966685536837,38.2684409197744],\"properties\":{\"NAME\":\"Sendai\",\"NAMEASCII\":\"Sendai\",\"POP_MAX\":2250000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[139.8500577,38.9200391],\"properties\":{\"NAME\":\"Sakata\",\"NAMEASCII\":\"Sakata\",\"POP_MAX\":100446,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[17.3799621,-3.3099931],\"properties\":{\"NAME\":\"Bandundu\",\"NAMEASCII\":\"Bandundu\",\"POP_MAX\":118211,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[22.3980716,-5.8880964],\"properties\":{\"NAME\":\"Kananga\",\"NAMEASCII\":\"Kananga\",\"POP_MAX\":765000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[26.6600158,-4.4500268],\"properties\":{\"NAME\":\"Kasongo\",\"NAMEASCII\":\"Kasongo\",\"POP_MAX\":63000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[23.59805,-6.1480806],\"properties\":{\"NAME\":\"Mbuji-Mayi\",\"NAMEASCII\":\"Mbuji-Mayi\",\"POP_MAX\":1295000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.2000158,-5.9332955],\"properties\":{\"NAME\":\"Kalemie\",\"NAMEASCII\":\"Kalemie\",\"POP_MAX\":206257,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.2800109,0.1300037],\"properties\":{\"NAME\":\"Butembo\",\"NAMEASCII\":\"Butembo\",\"POP_MAX\":286403,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[29.2217868,-1.6787991],\"properties\":{\"NAME\":\"Goma\",\"NAMEASCII\":\"Goma\",\"POP_MAX\":144124,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[34.01998,-11.4599866],\"properties\":{\"NAME\":\"Mzuzu\",\"NAMEASCII\":\"Mzuzu\",\"POP_MAX\":110201,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[34.9899467,-15.7900065],\"properties\":{\"NAME\":\"Blantyre\",\"NAMEASCII\":\"Blantyre\",\"POP_MAX\":584877,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[-91.5200057,14.8299591],\"properties\":{\"NAME\":\"Quetzaltenango\",\"NAMEASCII\":\"Quetzaltenango\",\"POP_MAX\":575263,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-16.5917015,13.4538765],\"properties\":{\"NAME\":\"Banjul\",\"NAMEASCII\":\"Banjul\",\"POP_MAX\":43094,\"ISO_A2\":\"GM\",\"SOV_A3\":\"GMB\"}},{\"type\":\"Point\",\"coordinates\":[77.3147208,28.4352792],\"properties\":{\"NAME\":\"Faridabad\",\"NAMEASCII\":\"Faridabad\",\"POP_MAX\":1394000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.82830910981222,34.069473874645354],\"properties\":{\"NAME\":\"Srinagar\",\"NAMEASCII\":\"Srinagar\",\"POP_MAX\":1140000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.6280574,16.5219052],\"properties\":{\"NAME\":\"Vijayawada\",\"NAMEASCII\":\"Vijayawada\",\"POP_MAX\":1137000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.92519070332577,8.515520591980557],\"properties\":{\"NAME\":\"Thiruvananthapuram\",\"NAMEASCII\":\"Thiruvananthapuram\",\"POP_MAX\":954000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.2219697,10.0169534],\"properties\":{\"NAME\":\"Kochi\",\"NAMEASCII\":\"Kochi\",\"POP_MAX\":1519000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.8899406,20.4700025],\"properties\":{\"NAME\":\"Cuttack\",\"NAMEASCII\":\"Cuttack\",\"POP_MAX\":580000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.1230704,15.3619243],\"properties\":{\"NAME\":\"Hubballi\",\"NAMEASCII\":\"Hubballi\",\"POP_MAX\":890000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.8499943,12.9000252],\"properties\":{\"NAME\":\"Mangaluru\",\"NAMEASCII\":\"Mangaluru\",\"POP_MAX\":776632,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.6580671,12.3119296],\"properties\":{\"NAME\":\"Mysuru\",\"NAMEASCII\":\"Mysuru\",\"POP_MAX\":887000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.8200032,17.3499603],\"properties\":{\"NAME\":\"Kalaburagi\",\"NAMEASCII\":\"Kalaburagi\",\"POP_MAX\":483615,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[74.2200069,16.7],\"properties\":{\"NAME\":\"Kolhapur\",\"NAMEASCII\":\"Kolhapur\",\"POP_MAX\":750000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.30833720799332,19.19725927369086],\"properties\":{\"NAME\":\"Nanded\",\"NAMEASCII\":\"Nanded\",\"POP_MAX\":623708,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.0100175,20.7099878],\"properties\":{\"NAME\":\"Akola\",\"NAMEASCII\":\"Akola\",\"POP_MAX\":503502,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[91.7680492,26.1619628],\"properties\":{\"NAME\":\"Guwahati\",\"NAMEASCII\":\"Guwahati\",\"POP_MAX\":983000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[13.2800057,-4.1800175],\"properties\":{\"NAME\":\"Kayes\",\"NAMEASCII\":\"Kayes\",\"POP_MAX\":62521,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[13.5832946,-1.6332995],\"properties\":{\"NAME\":\"Franceville\",\"NAMEASCII\":\"Franceville\",\"POP_MAX\":42967,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[-0.5969589,44.8519589],\"properties\":{\"NAME\":\"Bordeaux\",\"NAMEASCII\":\"Bordeaux\",\"POP_MAX\":803000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[5.3730643,43.2919249],\"properties\":{\"NAME\":\"Marseille\",\"NAMEASCII\":\"Marseille\",\"POP_MAX\":1400000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[0.1049701,49.5049744],\"properties\":{\"NAME\":\"Le Havre\",\"NAMEASCII\":\"Le Havre\",\"POP_MAX\":242124,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-0.0500076,16.2665898],\"properties\":{\"NAME\":\"Gao\",\"NAMEASCII\":\"Gao\",\"POP_MAX\":116967,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-72.0700043,-45.5699975],\"properties\":{\"NAME\":\"Coihaique\",\"NAMEASCII\":\"Coihaique\",\"POP_MAX\":45787,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.2899838,-18.500022],\"properties\":{\"NAME\":\"Arica\",\"NAMEASCII\":\"Arica\",\"POP_MAX\":185999,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.32995479284354,-27.371778559189842],\"properties\":{\"NAME\":\"Copiapó\",\"NAMEASCII\":\"Copiapo\",\"POP_MAX\":129280,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.2499768,-29.8999979],\"properties\":{\"NAME\":\"La Serena\",\"NAMEASCII\":\"La Serena\",\"POP_MAX\":154521,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.34692448268574,-37.47974114915774],\"properties\":{\"NAME\":\"Los Angeles\",\"NAMEASCII\":\"Los Angeles\",\"POP_MAX\":145239,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-45.4166183,61.1665882],\"properties\":{\"NAME\":\"Narsarsuaq\",\"NAMEASCII\":\"Narsarsuaq\",\"POP_MAX\":145,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-53.6666057,66.9500078],\"properties\":{\"NAME\":\"Sisimiut\",\"NAMEASCII\":\"Sisimiut\",\"POP_MAX\":5227,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-56.1416753,72.7093667],\"properties\":{\"NAME\":\"Upernavik\",\"NAMEASCII\":\"Upernavik\",\"POP_MAX\":1129,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-69.2296403893379,77.4665495567926],\"properties\":{\"NAME\":\"Qaanaaq\",\"NAMEASCII\":\"Qaanaaq\",\"POP_MAX\":616,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-17.0560238,20.9000021],\"properties\":{\"NAME\":\"Nouadhibou\",\"NAMEASCII\":\"Nouadhibou\",\"POP_MAX\":86738,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-11.44001,14.4499823],\"properties\":{\"NAME\":\"Kayes\",\"NAMEASCII\":\"Kayes\",\"POP_MAX\":77207,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-9.6166588,16.6665912],\"properties\":{\"NAME\":\"Ayoun el Atrous\",\"NAMEASCII\":\"Ayoun el Atrous\",\"POP_MAX\":1423,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-6.2600161,13.4399923],\"properties\":{\"NAME\":\"Ségou\",\"NAMEASCII\":\"Segou\",\"POP_MAX\":122952,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[21.4334615,42.0000061],\"properties\":{\"NAME\":\"Skopje\",\"NAMEASCII\":\"Skopje\",\"POP_MAX\":494087,\"ISO_A2\":\"MK\",\"SOV_A3\":\"MKD\"}},{\"type\":\"Point\",\"coordinates\":[23.289989,24.1999815],\"properties\":{\"NAME\":\"Al Jawf\",\"NAMEASCII\":\"Al Jawf\",\"POP_MAX\":24132,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[15.8000069,26.3666451],\"properties\":{\"NAME\":\"Tmassa\",\"NAMEASCII\":\"Tmassah\",\"POP_MAX\":500,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[15.0999979,32.3799732],\"properties\":{\"NAME\":\"Misrata\",\"NAMEASCII\":\"Misratah\",\"POP_MAX\":386120,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[12.0791487,32.9344096],\"properties\":{\"NAME\":\"Zuwara\",\"NAMEASCII\":\"Zuwarah\",\"POP_MAX\":180310,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[44.3922668,35.4722392],\"properties\":{\"NAME\":\"Kirkuk\",\"NAMEASCII\":\"Kirkuk\",\"POP_MAX\":601433,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[43.1430586,36.3469483],\"properties\":{\"NAME\":\"Mosul\",\"NAMEASCII\":\"Mosul\",\"POP_MAX\":1316000,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[44.3353711,32.0003323],\"properties\":{\"NAME\":\"Najaf\",\"NAMEASCII\":\"An Najaf\",\"POP_MAX\":665552,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[37.3832889,11.6000529],\"properties\":{\"NAME\":\"Bahir Dar\",\"NAMEASCII\":\"Bahir Dar\",\"POP_MAX\":206748,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[39.4699833,13.4999886],\"properties\":{\"NAME\":\"Mekele\",\"NAMEASCII\":\"Mekele\",\"POP_MAX\":95856,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[41.8600183,9.5899947],\"properties\":{\"NAME\":\"Dire Dawa\",\"NAMEASCII\":\"Dire Dawa\",\"POP_MAX\":252279,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[25.7159391,66.5000352],\"properties\":{\"NAME\":\"Rovaniemi\",\"NAMEASCII\":\"Rovaniemi\",\"POP_MAX\":34781,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[21.6000146,63.0999844],\"properties\":{\"NAME\":\"Vaasa\",\"NAMEASCII\":\"Vaasa\",\"POP_MAX\":57014,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[23.7500126,61.5000045],\"properties\":{\"NAME\":\"Tampere\",\"NAMEASCII\":\"Tampere\",\"POP_MAX\":259279,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[57.1699882,50.2800175],\"properties\":{\"NAME\":\"Aqtobe\",\"NAMEASCII\":\"Aqtobe\",\"POP_MAX\":262457,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[63.1300378,52.9526968],\"properties\":{\"NAME\":\"Rudniy\",\"NAMEASCII\":\"Rudny\",\"POP_MAX\":124000,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[65.4649857,44.8000161],\"properties\":{\"NAME\":\"Qyzylorda\",\"NAMEASCII\":\"Qyzylorda\",\"POP_MAX\":300000,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.9200244,47.1126915],\"properties\":{\"NAME\":\"Atyrau\",\"NAMEASCII\":\"Atyrau\",\"POP_MAX\":182753,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[75.3199397,51.7299807],\"properties\":{\"NAME\":\"Ekibastuz\",\"NAMEASCII\":\"Ekibastuz\",\"POP_MAX\":127868,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[76.9500211,52.2999976],\"properties\":{\"NAME\":\"Pavlodar\",\"NAMEASCII\":\"Pavlodar\",\"POP_MAX\":329002,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[80.2750378,50.4349951],\"properties\":{\"NAME\":\"Semey\",\"NAMEASCII\":\"Semey\",\"POP_MAX\":311353,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[82.6149467,49.9900352],\"properties\":{\"NAME\":\"Oskemen\",\"NAMEASCII\":\"Oskemen\",\"POP_MAX\":319067,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[54.370004,31.9200529],\"properties\":{\"NAME\":\"Yazd\",\"NAMEASCII\":\"Yazd\",\"POP_MAX\":477905,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.7180671,31.2819345],\"properties\":{\"NAME\":\"Ahvaz\",\"NAMEASCII\":\"Ahvaz\",\"POP_MAX\":996000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[47.8116108,30.5154696],\"properties\":{\"NAME\":\"Basra\",\"NAMEASCII\":\"Basra\",\"POP_MAX\":870000,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[56.2721355,27.2040598],\"properties\":{\"NAME\":\"Bandar-e-Abbas\",\"NAMEASCII\":\"Bandar-e-Abbas\",\"POP_MAX\":461499,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[48.5150126,34.7960272],\"properties\":{\"NAME\":\"Hamadan\",\"NAMEASCII\":\"Hamadan\",\"POP_MAX\":528256,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[46.2993,38.0882374],\"properties\":{\"NAME\":\"Tabriz\",\"NAMEASCII\":\"Tabriz\",\"POP_MAX\":1413000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[75.8703116,30.9297079],\"properties\":{\"NAME\":\"Ludhiana\",\"NAMEASCII\":\"Ludhiana\",\"POP_MAX\":1649000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.8330529,25.1819451],\"properties\":{\"NAME\":\"Kota\",\"NAMEASCII\":\"Kota\",\"POP_MAX\":827000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.014827,26.2937118],\"properties\":{\"NAME\":\"Jodhpur\",\"NAMEASCII\":\"Jodhpur\",\"POP_MAX\":995000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[69.5950179,42.3200124],\"properties\":{\"NAME\":\"Shymkent\",\"NAMEASCII\":\"Shymkent\",\"POP_MAX\":465392,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[71.3649873,42.899977],\"properties\":{\"NAME\":\"Taraz\",\"NAMEASCII\":\"Taraz\",\"POP_MAX\":358153,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[80.9130529,26.8569849],\"properties\":{\"NAME\":\"Lucknow\",\"NAMEASCII\":\"Lucknow\",\"POP_MAX\":2695000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.5500362,29.9700169],\"properties\":{\"NAME\":\"Saharanpur\",\"NAMEASCII\":\"Saharanpur\",\"POP_MAX\":484873,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.3280805,23.3719522],\"properties\":{\"NAME\":\"Ranchi\",\"NAMEASCII\":\"Ranchi\",\"POP_MAX\":1044000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[86.9800032,25.2299962],\"properties\":{\"NAME\":\"Bhagalpur\",\"NAMEASCII\":\"Bhagalpur\",\"POP_MAX\":361548,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.6330606,21.2369404],\"properties\":{\"NAME\":\"Raipur\",\"NAMEASCII\":\"Raipur\",\"POP_MAX\":875000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.9531115,23.1770028],\"properties\":{\"NAME\":\"Jabalpur\",\"NAMEASCII\":\"Jabalpur\",\"POP_MAX\":1285000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[75.8630769,22.7170051],\"properties\":{\"NAME\":\"Indore\",\"NAMEASCII\":\"Indore\",\"POP_MAX\":2026000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.8300004,11.9349937],\"properties\":{\"NAME\":\"Puducherry\",\"NAMEASCII\":\"Puducherry\",\"POP_MAX\":227411,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.1781294,11.6719428],\"properties\":{\"NAME\":\"Salem\",\"NAMEASCII\":\"Salem\",\"POP_MAX\":873000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.68751168489561,10.80054141894286],\"properties\":{\"NAME\":\"Tiruchirappalli\",\"NAMEASCII\":\"Tiruchirappalli\",\"POP_MAX\":951000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[11.8800394,-4.7700073],\"properties\":{\"NAME\":\"Pointe-Noire\",\"NAMEASCII\":\"Pointe-Noire\",\"POP_MAX\":659084,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[-9.3100108,10.3899976],\"properties\":{\"NAME\":\"Kankan\",\"NAMEASCII\":\"Kankan\",\"POP_MAX\":114009,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-8.8299884,7.7600031],\"properties\":{\"NAME\":\"Nzérékoré\",\"NAMEASCII\":\"Nzerekore\",\"POP_MAX\":168121,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-5.0300137,7.6899815],\"properties\":{\"NAME\":\"Bouaké\",\"NAMEASCII\":\"Bouake\",\"POP_MAX\":567481,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[55.4480778,-20.8788948],\"properties\":{\"NAME\":\"St.-Denis\",\"NAMEASCII\":\"St.-Denis\",\"POP_MAX\":190047,\"ISO_A2\":\"RE\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-67.8000066,-9.9665893],\"properties\":{\"NAME\":\"Rio Branco\",\"NAMEASCII\":\"Rio Branco\",\"POP_MAX\":257642,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-44.2679367,-2.5140388],\"properties\":{\"NAME\":\"São Luís\",\"NAMEASCII\":\"Sao Luis\",\"POP_MAX\":1038000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-63.900012,-8.7500228],\"properties\":{\"NAME\":\"Porto Velho\",\"NAMEASCII\":\"Porto Velho\",\"POP_MAX\":306180,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.0820018,-12.4700024],\"properties\":{\"NAME\":\"Alvorada\",\"NAMEASCII\":\"Alvorada\",\"POP_MAX\":10232,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-57.6500059,-19.0160111],\"properties\":{\"NAME\":\"Corumbá\",\"NAMEASCII\":\"Corumba\",\"POP_MAX\":96520,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.9169504,-19.9130802],\"properties\":{\"NAME\":\"Belo Horizonte\",\"NAMEASCII\":\"Belo Horizonte\",\"POP_MAX\":5575000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.8600208,-16.7200272],\"properties\":{\"NAME\":\"Montes Claros\",\"NAMEASCII\":\"Montes Claros\",\"POP_MAX\":332379,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.2799836,-18.8999975],\"properties\":{\"NAME\":\"Uberlândia\",\"NAMEASCII\":\"Uberlandia\",\"POP_MAX\":563536,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.4505795,-10.8172868],\"properties\":{\"NAME\":\"Colíder\",\"NAMEASCII\":\"Colider\",\"POP_MAX\":27139,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-55.909983,-9.9000301],\"properties\":{\"NAME\":\"Alta Floresta\",\"NAMEASCII\":\"Alta Floresta\",\"POP_MAX\":40466,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-56.086931,-15.5676606],\"properties\":{\"NAME\":\"Cuiabá\",\"NAMEASCII\":\"Cuiaba\",\"POP_MAX\":806000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-52.3300206,-31.7500142],\"properties\":{\"NAME\":\"Pelotas\",\"NAMEASCII\":\"Pelotas\",\"POP_MAX\":320674,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.1700397,-29.1799902],\"properties\":{\"NAME\":\"Caxias do Sul\",\"NAMEASCII\":\"Caxias do Sul\",\"POP_MAX\":381270,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-50.1600497,-25.0900073],\"properties\":{\"NAME\":\"Ponta Grossa\",\"NAMEASCII\":\"Ponta Grossa\",\"POP_MAX\":292177,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-42.7819551,-5.0930545],\"properties\":{\"NAME\":\"Teresina\",\"NAMEASCII\":\"Teresina\",\"POP_MAX\":907000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.7319203,-9.6180496],\"properties\":{\"NAME\":\"Maceió\",\"NAMEASCII\":\"Maceio\",\"POP_MAX\":1186000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.8399984,-14.8500122],\"properties\":{\"NAME\":\"Vitória da Conquista\",\"NAMEASCII\":\"Vitoria da Conquista\",\"POP_MAX\":308204,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-45.0000029,-12.1399967],\"properties\":{\"NAME\":\"Barreiras\",\"NAMEASCII\":\"Barreiras\",\"POP_MAX\":158292,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.290232724874905,-20.338046307430577],\"properties\":{\"NAME\":\"Vila Velha\",\"NAMEASCII\":\"Vila Velha\",\"POP_MAX\":1209091,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-35.2419502,-5.7780773],\"properties\":{\"NAME\":\"Natal\",\"NAMEASCII\":\"Natal\",\"POP_MAX\":1088000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-97.8666209,55.749942],\"properties\":{\"NAME\":\"Thompson\",\"NAMEASCII\":\"Thompson\",\"POP_MAX\":13727,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-99.9499821,49.8332748],\"properties\":{\"NAME\":\"Brandon\",\"NAMEASCII\":\"Brandon\",\"POP_MAX\":28418,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-111.8833364,60.0000185],\"properties\":{\"NAME\":\"Fort Smith\",\"NAMEASCII\":\"Fort Smith\",\"POP_MAX\":518,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-111.3833153,56.7333187],\"properties\":{\"NAME\":\"Fort McMurray\",\"NAMEASCII\":\"Fort McMurray\",\"POP_MAX\":21863,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-117.2832911,56.2333234],\"properties\":{\"NAME\":\"Peace River\",\"NAMEASCII\":\"Peace River\",\"POP_MAX\":5340,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-120.8332811,56.249989],\"properties\":{\"NAME\":\"Fort St. John\",\"NAMEASCII\":\"Fort St. John\",\"POP_MAX\":18776,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-68.5001917,63.7504594],\"properties\":{\"NAME\":\"Iqaluit\",\"NAMEASCII\":\"Iqaluit\",\"POP_MAX\":6124,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-105.0333153,69.1169556],\"properties\":{\"NAME\":\"Cambridge Bay\",\"NAMEASCII\":\"Cambridge Bay\",\"POP_MAX\":1477,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-115.1253504,67.7986628],\"properties\":{\"NAME\":\"Kugluktuk\",\"NAMEASCII\":\"Kugluktuk\",\"POP_MAX\":1302,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-90.7000816,63.3382902],\"properties\":{\"NAME\":\"Chesterfield Inlet\",\"NAMEASCII\":\"Chesterfield Inlet\",\"POP_MAX\":374,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.0586067,61.1085921],\"properties\":{\"NAME\":\"Arviat\",\"NAMEASCII\":\"Arviat\",\"POP_MAX\":1868,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-93.5333195,69.5333126],\"properties\":{\"NAME\":\"Taloyoak\",\"NAMEASCII\":\"Taloyoak\",\"POP_MAX\":774,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.7935921,69.2565351],\"properties\":{\"NAME\":\"Igloolik\",\"NAMEASCII\":\"Igloolik\",\"POP_MAX\":1612,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-139.4166687,64.0666437],\"properties\":{\"NAME\":\"Dawson City\",\"NAMEASCII\":\"Dawson City\",\"POP_MAX\":1319,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-81.3333149,48.4665882],\"properties\":{\"NAME\":\"Timmins\",\"NAMEASCII\":\"Timmins\",\"POP_MAX\":34974,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.4499931,46.3000021],\"properties\":{\"NAME\":\"North Bay\",\"NAMEASCII\":\"North Bay\",\"POP_MAX\":50170,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-77.7658324,55.2814952],\"properties\":{\"NAME\":\"Kuujjuarapik\",\"NAMEASCII\":\"Kuujjuarapik\",\"POP_MAX\":1243,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-68.3999958,58.1000053],\"properties\":{\"NAME\":\"Kuujjuaq\",\"NAMEASCII\":\"Kuujjuaq\",\"POP_MAX\":1273,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-60.1799807,46.0661145],\"properties\":{\"NAME\":\"Sydney\",\"NAMEASCII\":\"Sydney\",\"POP_MAX\":37538,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-66.9158745,52.9414313],\"properties\":{\"NAME\":\"Labrador City\",\"NAMEASCII\":\"Labrador City\",\"POP_MAX\":10313,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[11.1500065,2.9000155],\"properties\":{\"NAME\":\"Ebolowa\",\"NAMEASCII\":\"Ebolowa\",\"POP_MAX\":87875,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[20.6672033,5.7619597],\"properties\":{\"NAME\":\"Bambari\",\"NAMEASCII\":\"Bambari\",\"POP_MAX\":62098,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[12.3349987,45.4386593],\"properties\":{\"NAME\":\"Venice\",\"NAMEASCII\":\"Venice\",\"POP_MAX\":270816,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[-72.3000161,-50.3333244],\"properties\":{\"NAME\":\"El Calafate\",\"NAMEASCII\":\"El Calafate\",\"POP_MAX\":8000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.5199884,-31.5500264],\"properties\":{\"NAME\":\"San Juan\",\"NAMEASCII\":\"San Juan\",\"POP_MAX\":447048,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.0999905,-43.3000069],\"properties\":{\"NAME\":\"Rawson\",\"NAMEASCII\":\"Rawson\",\"POP_MAX\":26335,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.0599907,-38.9500399],\"properties\":{\"NAME\":\"Neuquén\",\"NAMEASCII\":\"Neuquen\",\"POP_MAX\":242092,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.8999768,-14.8333724],\"properties\":{\"NAME\":\"Trinidad\",\"NAMEASCII\":\"Trinidad\",\"POP_MAX\":84259,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-64.2999876,-36.6200012],\"properties\":{\"NAME\":\"Santa Rosa\",\"NAMEASCII\":\"Santa Rosa\",\"POP_MAX\":111424,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-71.2999996,-41.1499573],\"properties\":{\"NAME\":\"Bariloche\",\"NAMEASCII\":\"San Carlos de Bariloche\",\"POP_MAX\":95394,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.4166378,-24.7833594],\"properties\":{\"NAME\":\"Salta\",\"NAMEASCII\":\"Salta\",\"POP_MAX\":512686,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.21857,-26.8140543],\"properties\":{\"NAME\":\"Tucumán\",\"NAMEASCII\":\"Tucuman\",\"POP_MAX\":830000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-58.1828158,-26.1728353],\"properties\":{\"NAME\":\"Formosa\",\"NAMEASCII\":\"Formosa\",\"POP_MAX\":221383,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.6900013,-31.6238721],\"properties\":{\"NAME\":\"Santa Fe\",\"NAMEASCII\":\"Santa Fe\",\"POP_MAX\":489505,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-60.6682535,-32.9491837],\"properties\":{\"NAME\":\"Rosario\",\"NAMEASCII\":\"Rosario\",\"POP_MAX\":1203000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-47.05588541861934,-22.90789786605005],\"properties\":{\"NAME\":\"Campinas\",\"NAMEASCII\":\"Campinas\",\"POP_MAX\":2791000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.4699813,-23.4900016],\"properties\":{\"NAME\":\"Sorocaba\",\"NAMEASCII\":\"Sorocaba\",\"POP_MAX\":563281,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.8299852,-21.1700399],\"properties\":{\"NAME\":\"Ribeirão Preto\",\"NAMEASCII\":\"Ribeirao Preto\",\"POP_MAX\":551267,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-40.5099669,-9.3800102],\"properties\":{\"NAME\":\"Petrolina\",\"NAMEASCII\":\"Petrolina\",\"POP_MAX\":260985,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[10.1500158,5.9599837],\"properties\":{\"NAME\":\"Bamenda\",\"NAMEASCII\":\"Bamenda\",\"POP_MAX\":445299,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[13.3900248,9.3000124],\"properties\":{\"NAME\":\"Garoua\",\"NAMEASCII\":\"Garoua\",\"POP_MAX\":436899,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[62.169993,34.3300092],\"properties\":{\"NAME\":\"Herat\",\"NAMEASCII\":\"Herat\",\"POP_MAX\":481009,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[67.100028,36.6999937],\"properties\":{\"NAME\":\"Mazar-i-Sharif\",\"NAMEASCII\":\"Mazar-e Sharif\",\"POP_MAX\":458151,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[103.2000468,13.100013],\"properties\":{\"NAME\":\"Battambang\",\"NAMEASCII\":\"Battambang\",\"POP_MAX\":154773,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[103.8500329,13.3666376],\"properties\":{\"NAME\":\"Siem Reap\",\"NAMEASCII\":\"Siem Reap\",\"POP_MAX\":109398,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[16.3400256,-9.5400004],\"properties\":{\"NAME\":\"Malanje\",\"NAMEASCII\":\"Malanje\",\"POP_MAX\":125856,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.407233,-12.5782645],\"properties\":{\"NAME\":\"Benguela\",\"NAMEASCII\":\"Benguela\",\"POP_MAX\":151226,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[13.4900187,-14.9100085],\"properties\":{\"NAME\":\"Lubango\",\"NAMEASCII\":\"Lubango\",\"POP_MAX\":125632,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[12.1600223,-15.1900431],\"properties\":{\"NAME\":\"Moçâmedes\",\"NAMEASCII\":\"Namibe\",\"POP_MAX\":132900,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[-64.749986,-21.5166854],\"properties\":{\"NAME\":\"Tarija\",\"NAMEASCII\":\"Tarija\",\"POP_MAX\":159269,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-59.6165267,13.1020026],\"properties\":{\"NAME\":\"Bridgetown\",\"NAMEASCII\":\"Bridgetown\",\"POP_MAX\":191152,\"ISO_A2\":\"BB\",\"SOV_A3\":\"BRB\"}},{\"type\":\"Point\",\"coordinates\":[7.7599808,36.9200061],\"properties\":{\"NAME\":\"Annaba\",\"NAMEASCII\":\"Annaba\",\"POP_MAX\":503524,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.6200362,9.34001],\"properties\":{\"NAME\":\"Parakou\",\"NAMEASCII\":\"Parakou\",\"POP_MAX\":188853,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[2.6166255,6.483311],\"properties\":{\"NAME\":\"Porto-Novo\",\"NAMEASCII\":\"Porto-Novo\",\"POP_MAX\":300000,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[6.5999483,36.3599886],\"properties\":{\"NAME\":\"Constantine\",\"NAMEASCII\":\"Constantine\",\"POP_MAX\":605179,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[23.6999898,52.0999839],\"properties\":{\"NAME\":\"Brest\",\"NAMEASCII\":\"Brest\",\"POP_MAX\":300715,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[89.5580549,22.8419329],\"properties\":{\"NAME\":\"Khulna\",\"NAMEASCII\":\"Khulna\",\"POP_MAX\":1553000,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[27.5000162,-21.1700399],\"properties\":{\"NAME\":\"Francistown\",\"NAMEASCII\":\"Francistown\",\"POP_MAX\":89979,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[26.8200061,-23.0999996],\"properties\":{\"NAME\":\"Mahalapye\",\"NAMEASCII\":\"Mahalapye\",\"POP_MAX\":50744,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[26.7100386,-22.3900171],\"properties\":{\"NAME\":\"Serowe\",\"NAMEASCII\":\"Serowe\",\"POP_MAX\":48573,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[132.266593,-14.4666247],\"properties\":{\"NAME\":\"Katherine\",\"NAMEASCII\":\"Katherine\",\"POP_MAX\":10141,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.3486592,-33.6564095],\"properties\":{\"NAME\":\"Busselton\",\"NAMEASCII\":\"Busselton\",\"POP_MAX\":10214,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[115.7470567,-32.5234826],\"properties\":{\"NAME\":\"Mandurah\",\"NAMEASCII\":\"Mandurah\",\"POP_MAX\":73356,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[122.2307681,-17.9617707],\"properties\":{\"NAME\":\"Broome\",\"NAMEASCII\":\"Broome\",\"POP_MAX\":13218,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[121.4600175,-30.7353992],\"properties\":{\"NAME\":\"Kalgoorlie\",\"NAMEASCII\":\"Kalgoorlie\",\"POP_MAX\":36852,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[117.8916048,-35.0169466],\"properties\":{\"NAME\":\"Albany\",\"NAMEASCII\":\"Albany\",\"POP_MAX\":26445,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[118.6060315,-20.3104024],\"properties\":{\"NAME\":\"Port Hedland\",\"NAMEASCII\":\"Port Hedland\",\"POP_MAX\":14288,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[116.8700134,-20.7303768],\"properties\":{\"NAME\":\"Karratha\",\"NAMEASCII\":\"Karratha\",\"POP_MAX\":16796,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[114.5999711,-28.7666304],\"properties\":{\"NAME\":\"Geraldton\",\"NAMEASCII\":\"Geraldton\",\"POP_MAX\":27258,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.0400158,-34.2900142],\"properties\":{\"NAME\":\"Griffith\",\"NAMEASCII\":\"Griffith\",\"POP_MAX\":15455,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.0999841,-33.2799984],\"properties\":{\"NAME\":\"Orange\",\"NAMEASCII\":\"Orange\",\"POP_MAX\":39329,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[148.5973274,-32.2599573],\"properties\":{\"NAME\":\"Dubbo\",\"NAMEASCII\":\"Dubbo\",\"POP_MAX\":31574,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.667476,-30.512312],\"properties\":{\"NAME\":\"Armidale\",\"NAMEASCII\":\"Armidale\",\"POP_MAX\":22673,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[141.4331136,-31.9499503],\"properties\":{\"NAME\":\"Broken Hill\",\"NAMEASCII\":\"Broken Hill\",\"POP_MAX\":17395,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[135.86658,-34.733243],\"properties\":{\"NAME\":\"Port Lincoln\",\"NAMEASCII\":\"Port Lincoln\",\"POP_MAX\":13630,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[137.5614119,-33.0250268],\"properties\":{\"NAME\":\"Whyalla\",\"NAMEASCII\":\"Whyalla\",\"POP_MAX\":22559,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[141.5900032,-38.3399996],\"properties\":{\"NAME\":\"Portland\",\"NAMEASCII\":\"Portland\",\"POP_MAX\":11808,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[144.2800199,-36.7599927],\"properties\":{\"NAME\":\"Bendigo\",\"NAMEASCII\":\"Bendigo\",\"POP_MAX\":81657,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.3,-36.3600171],\"properties\":{\"NAME\":\"Wangaratta\",\"NAMEASCII\":\"Wangaratta\",\"POP_MAX\":14022,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[142.6501969,-25.4332422],\"properties\":{\"NAME\":\"Windorah\",\"NAMEASCII\":\"Windorah\",\"POP_MAX\":158,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[139.490028,-20.7238655],\"properties\":{\"NAME\":\"Mount Isa\",\"NAMEASCII\":\"Mount Isa\",\"POP_MAX\":33200,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[150.5200008,-23.3639111],\"properties\":{\"NAME\":\"Rockhampton\",\"NAMEASCII\":\"Rockhampton\",\"POP_MAX\":65850,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[145.7633309,-16.8878399],\"properties\":{\"NAME\":\"Cairns\",\"NAMEASCII\":\"Cairns\",\"POP_MAX\":154225,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.4482458,-28.0815043],\"properties\":{\"NAME\":\"Gold Coast\",\"NAMEASCII\":\"Gold Coast\",\"POP_MAX\":527660,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.3311017,-41.1926676],\"properties\":{\"NAME\":\"Devonport\",\"NAMEASCII\":\"Devonport\",\"POP_MAX\":19317,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[-4.2899813,11.1799752],\"properties\":{\"NAME\":\"Bobo Dioulasso\",\"NAMEASCII\":\"Bobo Dioulasso\",\"POP_MAX\":360106,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[88.6030744,24.3769296],\"properties\":{\"NAME\":\"Rajshahi\",\"NAMEASCII\":\"Rajshahi\",\"POP_MAX\":810000,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[96.083083,21.9719343],\"properties\":{\"NAME\":\"Mandalay\",\"NAMEASCII\":\"Mandalay\",\"POP_MAX\":1300000,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[92.8800048,20.1399968],\"properties\":{\"NAME\":\"Sittwe\",\"NAMEASCII\":\"Sittwe\",\"POP_MAX\":179032,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[29.3600061,-3.3760872],\"properties\":{\"NAME\":\"Bujumbura\",\"NAMEASCII\":\"Bujumbura\",\"POP_MAX\":331700,\"ISO_A2\":\"BI\",\"SOV_A3\":\"BDI\"}},{\"type\":\"Point\",\"coordinates\":[-170.7066451,-14.2766105],\"properties\":{\"NAME\":\"Pago Pago\",\"NAMEASCII\":\"Pago Pago\",\"POP_MAX\":12576,\"ISO_A2\":\"AS\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-61.220236420747256,13.155756013621149],\"properties\":{\"NAME\":\"Kingstown\",\"NAMEASCII\":\"Kingstown\",\"POP_MAX\":49485,\"ISO_A2\":\"VC\",\"SOV_A3\":\"VCT\"}},{\"type\":\"Point\",\"coordinates\":[-60.99287543435381,14.007874585883364],\"properties\":{\"NAME\":\"Castries\",\"NAMEASCII\":\"Castries\",\"POP_MAX\":37963,\"ISO_A2\":\"LC\",\"SOV_A3\":\"LCA\"}},{\"type\":\"Point\",\"coordinates\":[-62.7170093,17.3020305],\"properties\":{\"NAME\":\"Basseterre\",\"NAMEASCII\":\"Basseterre\",\"POP_MAX\":21887,\"ISO_A2\":\"KN\",\"SOV_A3\":\"KNA\"}},{\"type\":\"Point\",\"coordinates\":[-15.429999,28.099976],\"properties\":{\"NAME\":\"Las Palmas\",\"NAMEASCII\":\"Las Palmas\",\"POP_MAX\":378495,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[45.0164148,10.4355504],\"properties\":{\"NAME\":\"Berbera\",\"NAMEASCII\":\"Berbera\",\"POP_MAX\":242344,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[57.4999939,-20.1666386],\"properties\":{\"NAME\":\"Port Louis\",\"NAMEASCII\":\"Port Louis\",\"POP_MAX\":595491,\"ISO_A2\":\"MU\",\"SOV_A3\":\"MUS\"}},{\"type\":\"Point\",\"coordinates\":[34.4450187,31.5299992],\"properties\":{\"NAME\":\"Gaza City\",\"NAMEASCII\":\"Gaza\",\"POP_MAX\":505700,\"ISO_A2\":\"PS\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[-61.7416432,12.0526334],\"properties\":{\"NAME\":\"Saint George's\",\"NAMEASCII\":\"Saint George's\",\"POP_MAX\":33734,\"ISO_A2\":\"GD\",\"SOV_A3\":\"GRD\"}},{\"type\":\"Point\",\"coordinates\":[-149.5666694,-17.5333626],\"properties\":{\"NAME\":\"Papeete\",\"NAMEASCII\":\"Papeete\",\"POP_MAX\":131695,\"ISO_A2\":\"PF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[50.5830517,26.2361363],\"properties\":{\"NAME\":\"Manama\",\"NAMEASCII\":\"Manama\",\"POP_MAX\":563920,\"ISO_A2\":\"BH\",\"SOV_A3\":\"BHR\"}},{\"type\":\"Point\",\"coordinates\":[-78.7000131,26.5332758],\"properties\":{\"NAME\":\"Freeport\",\"NAMEASCII\":\"Freeport\",\"POP_MAX\":25383,\"ISO_A2\":\"BS\",\"SOV_A3\":\"BHS\"}},{\"type\":\"Point\",\"coordinates\":[-61.8500338,17.1180365],\"properties\":{\"NAME\":\"Saint John's\",\"NAMEASCII\":\"Saint John's\",\"POP_MAX\":35499,\"ISO_A2\":\"AG\",\"SOV_A3\":\"ATG\"}},{\"type\":\"Point\",\"coordinates\":[119.5833333,23.5666667],\"properties\":{\"NAME\":\"Magong\",\"NAMEASCII\":\"Magong\",\"POP_MAX\":56435,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[120.681667,24.1520775],\"properties\":{\"NAME\":\"Taichung\",\"NAMEASCII\":\"Taichung\",\"POP_MAX\":2629323,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[75.7680439,11.2523819],\"properties\":{\"NAME\":\"Kozhikode\",\"NAMEASCII\":\"Kozhikode\",\"POP_MAX\":953000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.8254145,20.2723739],\"properties\":{\"NAME\":\"Bhubaneswar\",\"NAMEASCII\":\"Bhubaneshwar\",\"POP_MAX\":844000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[86.1955728,22.7894813],\"properties\":{\"NAME\":\"Jamshedpur\",\"NAMEASCII\":\"Jamshedpur\",\"POP_MAX\":1300000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[-56.18682337831074,-34.90537638970807],\"properties\":{\"NAME\":\"Montevideo\",\"NAMEASCII\":\"Montevideo\",\"POP_MAX\":1513000,\"ISO_A2\":\"UY\",\"SOV_A3\":\"URY\"}},{\"type\":\"Point\",\"coordinates\":[-112.035291,46.592749],\"properties\":{\"NAME\":\"Helena\",\"NAMEASCII\":\"Helena\",\"POP_MAX\":38725,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.7833163,46.8083173],\"properties\":{\"NAME\":\"Bismarck\",\"NAMEASCII\":\"Bismarck\",\"POP_MAX\":63871,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-116.2274899,43.6085901],\"properties\":{\"NAME\":\"Boise\",\"NAMEASCII\":\"Boise\",\"POP_MAX\":338071,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.88817862628899,37.33094269973713],\"properties\":{\"NAME\":\"San Jose\",\"NAMEASCII\":\"San Jose\",\"POP_MAX\":1668000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-121.4719839,38.5769672],\"properties\":{\"NAME\":\"Sacramento\",\"NAMEASCII\":\"Sacramento\",\"POP_MAX\":1604000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-115.15136155601854,36.16476322583196],\"properties\":{\"NAME\":\"Las Vegas\",\"NAMEASCII\":\"Las Vegas\",\"POP_MAX\":1823000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-105.9372394,35.6869289],\"properties\":{\"NAME\":\"Santa Fe\",\"NAMEASCII\":\"Santa Fe\",\"POP_MAX\":92681,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.6819359,45.5219697],\"properties\":{\"NAME\":\"Portland\",\"NAMEASCII\":\"Portland\",\"POP_MAX\":1875000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-111.9319978,40.7769622],\"properties\":{\"NAME\":\"Salt Lake City\",\"NAMEASCII\":\"Salt Lake City\",\"POP_MAX\":966000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.8197107,41.1400069],\"properties\":{\"NAME\":\"Cheyenne\",\"NAMEASCII\":\"Cheyenne\",\"POP_MAX\":72927,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-93.6199809,41.5799801],\"properties\":{\"NAME\":\"Des Moines\",\"NAMEASCII\":\"Des Moines\",\"POP_MAX\":380655,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.0099901,41.2400008],\"properties\":{\"NAME\":\"Omaha\",\"NAMEASCII\":\"Omaha\",\"POP_MAX\":877110,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-97.5206294,35.4719888],\"properties\":{\"NAME\":\"Oklahoma City\",\"NAMEASCII\":\"Oklahoma City\",\"POP_MAX\":788000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-100.350552,44.368337],\"properties\":{\"NAME\":\"Pierre\",\"NAMEASCII\":\"Pierre\",\"POP_MAX\":13879,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-98.4926929920987,29.419848478603353],\"properties\":{\"NAME\":\"San Antonio\",\"NAMEASCII\":\"San Antonio\",\"POP_MAX\":1473000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-72.2499675,7.7700025],\"properties\":{\"NAME\":\"San Cristóbal\",\"NAMEASCII\":\"San Cristobal\",\"POP_MAX\":438798,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-67.9819673,10.2319274],\"properties\":{\"NAME\":\"Valencia\",\"NAMEASCII\":\"Valencia\",\"POP_MAX\":1770000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-90.1849968,32.2988153],\"properties\":{\"NAME\":\"Jackson\",\"NAMEASCII\":\"Jackson\",\"POP_MAX\":250902,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.64703463664539,35.77269601271186],\"properties\":{\"NAME\":\"Raleigh\",\"NAMEASCII\":\"Raleigh\",\"POP_MAX\":1163515,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-81.6969441,41.4719327],\"properties\":{\"NAME\":\"Cleveland\",\"NAMEASCII\":\"Cleveland\",\"POP_MAX\":1890000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.4588685,39.1638306],\"properties\":{\"NAME\":\"Cincinnati\",\"NAMEASCII\":\"Cincinnati\",\"POP_MAX\":1636000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-86.7819308,36.1719202],\"properties\":{\"NAME\":\"Nashville\",\"NAMEASCII\":\"Nashville\",\"POP_MAX\":877000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.02877702278532,35.14470115515157],\"properties\":{\"NAME\":\"Memphis\",\"NAMEASCII\":\"Memphis\",\"POP_MAX\":1081000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-76.2800057,36.8499587],\"properties\":{\"NAME\":\"Norfolk\",\"NAMEASCII\":\"Norfolk\",\"POP_MAX\":1047869,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.91667321462553,43.029608354300805],\"properties\":{\"NAME\":\"Milwaukee\",\"NAMEASCII\":\"Milwaukee\",\"POP_MAX\":1388000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-78.8819479,42.8819241],\"properties\":{\"NAME\":\"Buffalo\",\"NAMEASCII\":\"Buffalo\",\"POP_MAX\":1016000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.0019313,40.4319445],\"properties\":{\"NAME\":\"Pittsburgh\",\"NAMEASCII\":\"Pittsburgh\",\"POP_MAX\":1838000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-62.6199868,8.3700175],\"properties\":{\"NAME\":\"Ciudad Guayana\",\"NAMEASCII\":\"Ciudad Guayana\",\"POP_MAX\":746535,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[1.2208113,6.1338829],\"properties\":{\"NAME\":\"Lomé\",\"NAMEASCII\":\"Lome\",\"POP_MAX\":1452000,\"ISO_A2\":\"TG\",\"SOV_A3\":\"TGO\"}},{\"type\":\"Point\",\"coordinates\":[10.1796781,36.8027781],\"properties\":{\"NAME\":\"Tunis\",\"NAMEASCII\":\"Tunis\",\"POP_MAX\":2412500,\"ISO_A2\":\"TN\",\"SOV_A3\":\"TUN\"}},{\"type\":\"Point\",\"coordinates\":[-152.4069869,57.7899984],\"properties\":{\"NAME\":\"Kodiak\",\"NAMEASCII\":\"Kodiak\",\"POP_MAX\":9461,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-162.7150916,55.2000014],\"properties\":{\"NAME\":\"Cold Bay\",\"NAMEASCII\":\"Cold Bay\",\"POP_MAX\":200,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-161.7557961,60.7933034],\"properties\":{\"NAME\":\"Bethel\",\"NAMEASCII\":\"Bethel\",\"POP_MAX\":6228,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-166.8080201,68.3477261],\"properties\":{\"NAME\":\"Point Hope\",\"NAMEASCII\":\"Point Hope\",\"POP_MAX\":461,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-156.78858,71.2905697],\"properties\":{\"NAME\":\"Utqiaġvik\",\"NAMEASCII\":\"Utqiaġvik\",\"POP_MAX\":4336,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-165.4063744,64.5061001],\"properties\":{\"NAME\":\"Nome\",\"NAMEASCII\":\"Nome\",\"POP_MAX\":3485,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-146.348287,61.1359957],\"properties\":{\"NAME\":\"Valdez\",\"NAMEASCII\":\"Valdez\",\"POP_MAX\":4036,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-134.40071204654924,58.303386246371936],\"properties\":{\"NAME\":\"Juneau\",\"NAMEASCII\":\"Juneau\",\"POP_MAX\":30711,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-147.7106586,64.8369843],\"properties\":{\"NAME\":\"Fairbanks\",\"NAMEASCII\":\"Fairbanks\",\"POP_MAX\":56993,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-148.6693598,70.292181],\"properties\":{\"NAME\":\"Prudhoe Bay\",\"NAMEASCII\":\"Prudhoe Bay\",\"POP_MAX\":2500,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[33.52439491312476,44.60392525649835],\"properties\":{\"NAME\":\"Sevastopol\",\"NAMEASCII\":\"Sevastapol\",\"POP_MAX\":379200,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[54.3665934,24.4666836],\"properties\":{\"NAME\":\"Abu Dhabi\",\"NAMEASCII\":\"Abu Dhabi\",\"POP_MAX\":603492,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[58.3832991,37.9499949],\"properties\":{\"NAME\":\"Ashgabat\",\"NAMEASCII\":\"Ashgabat\",\"POP_MAX\":727700,\"ISO_A2\":\"TM\",\"SOV_A3\":\"TKM\"}},{\"type\":\"Point\",\"coordinates\":[66.9449987,39.6700191],\"properties\":{\"NAME\":\"Samarkand\",\"NAMEASCII\":\"Samarqand\",\"POP_MAX\":708000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[28.2813817,-15.4146984],\"properties\":{\"NAME\":\"Lusaka\",\"NAMEASCII\":\"Lusaka\",\"POP_MAX\":1328000,\"ISO_A2\":\"ZM\",\"SOV_A3\":\"ZMB\"}},{\"type\":\"Point\",\"coordinates\":[31.0427636,-17.8158438],\"properties\":{\"NAME\":\"Harare\",\"NAMEASCII\":\"Harare\",\"POP_MAX\":1572000,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[28.580002,-20.1699975],\"properties\":{\"NAME\":\"Bulawayo\",\"NAMEASCII\":\"Bulawayo\",\"POP_MAX\":699385,\"ISO_A2\":\"ZW\",\"SOV_A3\":\"ZWE\"}},{\"type\":\"Point\",\"coordinates\":[125.5794559,-8.5593884],\"properties\":{\"NAME\":\"Dili\",\"NAMEASCII\":\"Dili\",\"POP_MAX\":234331,\"ISO_A2\":\"TL\",\"SOV_A3\":\"TLS\"}},{\"type\":\"Point\",\"coordinates\":[168.3166406,-17.7333504],\"properties\":{\"NAME\":\"Port Vila\",\"NAMEASCII\":\"Port Vila\",\"POP_MAX\":44040,\"ISO_A2\":\"VU\",\"SOV_A3\":\"VUT\"}},{\"type\":\"Point\",\"coordinates\":[-87.2194752,14.1039908],\"properties\":{\"NAME\":\"Tegucigalpa\",\"NAMEASCII\":\"Tegucigalpa\",\"POP_MAX\":946000,\"ISO_A2\":\"HN\",\"SOV_A3\":\"HND\"}},{\"type\":\"Point\",\"coordinates\":[-58.1670286,6.8019737],\"properties\":{\"NAME\":\"Georgetown\",\"NAMEASCII\":\"Georgetown\",\"POP_MAX\":264350,\"ISO_A2\":\"GY\",\"SOV_A3\":\"GUY\"}},{\"type\":\"Point\",\"coordinates\":[-21.936546009025054,64.14345946317033],\"properties\":{\"NAME\":\"Reykjavík\",\"NAMEASCII\":\"Reykjavik\",\"POP_MAX\":166212,\"ISO_A2\":\"IS\",\"SOV_A3\":\"ISL\"}},{\"type\":\"Point\",\"coordinates\":[-72.3379804,18.5429705],\"properties\":{\"NAME\":\"Port-au-Prince\",\"NAMEASCII\":\"Port-au-Prince\",\"POP_MAX\":1998000,\"ISO_A2\":\"HT\",\"SOV_A3\":\"HTI\"}},{\"type\":\"Point\",\"coordinates\":[-4.239100528802634,55.86226975799262],\"properties\":{\"NAME\":\"Glasgow\",\"NAMEASCII\":\"Glasgow\",\"POP_MAX\":1160000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[32.5813777,0.3186048],\"properties\":{\"NAME\":\"Kampala\",\"NAMEASCII\":\"Kampala\",\"POP_MAX\":1420000,\"ISO_A2\":\"UG\",\"SOV_A3\":\"UGA\"}},{\"type\":\"Point\",\"coordinates\":[45.0094901,12.7797225],\"properties\":{\"NAME\":\"Aden\",\"NAMEASCII\":\"Aden\",\"POP_MAX\":1000000,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[-55.1670309,5.8350301],\"properties\":{\"NAME\":\"Paramaribo\",\"NAMEASCII\":\"Paramaribo\",\"POP_MAX\":254169,\"ISO_A2\":\"SR\",\"SOV_A3\":\"SUR\"}},{\"type\":\"Point\",\"coordinates\":[-5.9800074,37.4050153],\"properties\":{\"NAME\":\"Seville\",\"NAMEASCII\":\"Seville\",\"POP_MAX\":1212045,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[8.983317,13.7999962],\"properties\":{\"NAME\":\"Zinder\",\"NAMEASCII\":\"Zinder\",\"POP_MAX\":230358,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[2.1147102,13.5186518],\"properties\":{\"NAME\":\"Niamey\",\"NAMEASCII\":\"Niamey\",\"POP_MAX\":915000,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[37.2164257,19.615791],\"properties\":{\"NAME\":\"Port Sudan\",\"NAMEASCII\":\"Port Sudan\",\"POP_MAX\":489725,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[68.7738794,38.5600352],\"properties\":{\"NAME\":\"Dushanbe\",\"NAMEASCII\":\"Dushanbe\",\"POP_MAX\":1086244,\"ISO_A2\":\"TJ\",\"SOV_A3\":\"TJK\"}},{\"type\":\"Point\",\"coordinates\":[-71.972155,-13.5250285],\"properties\":{\"NAME\":\"Cusco\",\"NAMEASCII\":\"Cusco\",\"POP_MAX\":361182,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-70.250012,-18.0000008],\"properties\":{\"NAME\":\"Tacna\",\"NAMEASCII\":\"Tacna\",\"POP_MAX\":280098,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-79.0199677,-8.1200354],\"properties\":{\"NAME\":\"Trujillo\",\"NAMEASCII\":\"Trujillo\",\"POP_MAX\":765171,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-75.7254918,-14.0679927],\"properties\":{\"NAME\":\"Ica\",\"NAMEASCII\":\"Ica\",\"POP_MAX\":279420,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-57.62583375528301,-25.29067083610963],\"properties\":{\"NAME\":\"Asunción\",\"NAMEASCII\":\"Asuncion\",\"POP_MAX\":1870000,\"ISO_A2\":\"PY\",\"SOV_A3\":\"PRY\"}},{\"type\":\"Point\",\"coordinates\":[-86.2704375,12.1549624],\"properties\":{\"NAME\":\"Managua\",\"NAMEASCII\":\"Managua\",\"POP_MAX\":920000,\"ISO_A2\":\"NI\",\"SOV_A3\":\"NIC\"}},{\"type\":\"Point\",\"coordinates\":[-13.2361616,8.4719573],\"properties\":{\"NAME\":\"Freetown\",\"NAMEASCII\":\"Freetown\",\"POP_MAX\":827000,\"ISO_A2\":\"SL\",\"SOV_A3\":\"SLE\"}},{\"type\":\"Point\",\"coordinates\":[7.9828096,16.9958734],\"properties\":{\"NAME\":\"Agadez\",\"NAMEASCII\":\"Agadez\",\"POP_MAX\":117770,\"ISO_A2\":\"NE\",\"SOV_A3\":\"NER\"}},{\"type\":\"Point\",\"coordinates\":[24.8899947,12.0599732],\"properties\":{\"NAME\":\"Nyala\",\"NAMEASCII\":\"Niyala\",\"POP_MAX\":392373,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[27.9899605,7.6999809],\"properties\":{\"NAME\":\"Wau\",\"NAMEASCII\":\"Wau\",\"POP_MAX\":127384,\"ISO_A2\":\"SS\",\"SOV_A3\":\"SSD\"}},{\"type\":\"Point\",\"coordinates\":[30.4832967,19.1665936],\"properties\":{\"NAME\":\"Dongola\",\"NAMEASCII\":\"Dongola\",\"POP_MAX\":26404,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[36.3900162,15.4599724],\"properties\":{\"NAME\":\"Kassala\",\"NAMEASCII\":\"Kassala\",\"POP_MAX\":401477,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[18.9920252,69.6350762],\"properties\":{\"NAME\":\"Tromsø\",\"NAMEASCII\":\"Tromso\",\"POP_MAX\":52436,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[10.4166662,63.4166575],\"properties\":{\"NAME\":\"Trondheim\",\"NAMEASCII\":\"Trondheim\",\"POP_MAX\":147139,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[5.3245223,60.3910024],\"properties\":{\"NAME\":\"Bergen\",\"NAMEASCII\":\"Bergen\",\"POP_MAX\":213585,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[73.08063017764825,33.689368483707085],\"properties\":{\"NAME\":\"Islamabad\",\"NAMEASCII\":\"Islamabad\",\"POP_MAX\":780000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[71.4530618,30.2019229],\"properties\":{\"NAME\":\"Multan\",\"NAMEASCII\":\"Multan\",\"POP_MAX\":1522000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[68.3730431,25.3819329],\"properties\":{\"NAME\":\"Hyderabad\",\"NAMEASCII\":\"Hyderabad\",\"POP_MAX\":1459000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[71.5330569,34.006962],\"properties\":{\"NAME\":\"Peshawar\",\"NAMEASCII\":\"Peshawar\",\"POP_MAX\":1303000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[85.3146964,27.7186378],\"properties\":{\"NAME\":\"Kathmandu\",\"NAMEASCII\":\"Kathmandu\",\"POP_MAX\":895000,\"ISO_A2\":\"NP\",\"SOV_A3\":\"NPL\"}},{\"type\":\"Point\",\"coordinates\":[40.7150236,-14.5186112],\"properties\":{\"NAME\":\"Nacala\",\"NAMEASCII\":\"Nacala\",\"POP_MAX\":224795,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[26.2299129,-29.1199939],\"properties\":{\"NAME\":\"Bloemfontein\",\"NAMEASCII\":\"Bloemfontein\",\"POP_MAX\":463064,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[28.2274832,-25.7049747],\"properties\":{\"NAME\":\"Pretoria\",\"NAMEASCII\":\"Pretoria\",\"POP_MAX\":1338000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[147.1925036,-9.4647078],\"properties\":{\"NAME\":\"Port Moresby\",\"NAMEASCII\":\"Port Moresby\",\"POP_MAX\":283733,\"ISO_A2\":\"PG\",\"SOV_A3\":\"PNG\"}},{\"type\":\"Point\",\"coordinates\":[159.9497657,-9.4379943],\"properties\":{\"NAME\":\"Honiara\",\"NAMEASCII\":\"Honiara\",\"POP_MAX\":76328,\"ISO_A2\":\"SB\",\"SOV_A3\":\"SLB\"}},{\"type\":\"Point\",\"coordinates\":[-79.534983,8.969963],\"properties\":{\"NAME\":\"Panama City\",\"NAMEASCII\":\"Panama City\",\"POP_MAX\":1281000,\"ISO_A2\":\"PA\",\"SOV_A3\":\"PAN\"}},{\"type\":\"Point\",\"coordinates\":[-5.0023231,34.0565455],\"properties\":{\"NAME\":\"Fez\",\"NAMEASCII\":\"Fez\",\"POP_MAX\":1002000,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-6.8364082,34.0253073],\"properties\":{\"NAME\":\"Rabat\",\"NAMEASCII\":\"Rabat\",\"POP_MAX\":1705000,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[-8.0019333,31.631939],\"properties\":{\"NAME\":\"Marrakesh\",\"NAMEASCII\":\"Marrakesh\",\"POP_MAX\":872000,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[28.8577111,47.0050236],\"properties\":{\"NAME\":\"Chișinău\",\"NAMEASCII\":\"Chisinau\",\"POP_MAX\":688134,\"ISO_A2\":\"MD\",\"SOV_A3\":\"MDA\"}},{\"type\":\"Point\",\"coordinates\":[34.8700057,-19.8200447],\"properties\":{\"NAME\":\"Beira\",\"NAMEASCII\":\"Beira\",\"POP_MAX\":530604,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[25.598083,-33.9680879],\"properties\":{\"NAME\":\"Port Elizabeth\",\"NAMEASCII\":\"Port Elizabeth\",\"POP_MAX\":1021000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[32.5872171,-25.9533316],\"properties\":{\"NAME\":\"Maputo\",\"NAMEASCII\":\"Maputo\",\"POP_MAX\":1446000,\"ISO_A2\":\"MZ\",\"SOV_A3\":\"MOZ\"}},{\"type\":\"Point\",\"coordinates\":[84.9750093,56.494987],\"properties\":{\"NAME\":\"Tomsk\",\"NAMEASCII\":\"Tomsk\",\"POP_MAX\":535479,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[177.4749963,64.7369904],\"properties\":{\"NAME\":\"Anadyr\",\"NAMEASCII\":\"Anadyr\",\"POP_MAX\":10332,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[33.1000362,68.9699878],\"properties\":{\"NAME\":\"Murmansk\",\"NAMEASCII\":\"Murmansk\",\"POP_MAX\":319263,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[40.5450081,64.5749589],\"properties\":{\"NAME\":\"Archangel\",\"NAMEASCII\":\"Archangel\",\"POP_MAX\":356051,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[43.9981485,56.3349531],\"properties\":{\"NAME\":\"Nizhny Novgorod\",\"NAMEASCII\":\"Nizhny Novgorod\",\"POP_MAX\":1278000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[44.4980146,48.7119558],\"properties\":{\"NAME\":\"Volgograd\",\"NAMEASCII\":\"Volgograd\",\"POP_MAX\":984000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[56.0380854,54.7919207],\"properties\":{\"NAME\":\"Ufa\",\"NAMEASCII\":\"Ufa\",\"POP_MAX\":1018000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[60.5980138,56.8519758],\"properties\":{\"NAME\":\"Yekaterinburg\",\"NAMEASCII\":\"Yekaterinburg\",\"POP_MAX\":1313000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[50.1493493,53.1969534],\"properties\":{\"NAME\":\"Samara\",\"NAMEASCII\":\"Samara\",\"POP_MAX\":1137000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[49.1243989,55.7518879],\"properties\":{\"NAME\":\"Kazan\",\"NAMEASCII\":\"Kazan\",\"POP_MAX\":1115000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[73.4250166,61.2599416],\"properties\":{\"NAME\":\"Surgut\",\"NAMEASCII\":\"Surgut\",\"POP_MAX\":400000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[83.7450069,53.3549978],\"properties\":{\"NAME\":\"Barnaul\",\"NAMEASCII\":\"Barnaul\",\"POP_MAX\":599579,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[82.958096,55.031906],\"properties\":{\"NAME\":\"Novosibirsk\",\"NAMEASCII\":\"Novosibirsk\",\"POP_MAX\":1389000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[45.3647318,2.0686272],\"properties\":{\"NAME\":\"Mogadishu\",\"NAMEASCII\":\"Mogadishu\",\"POP_MAX\":1100000,\"ISO_A2\":\"SO\",\"SOV_A3\":\"SOM\"}},{\"type\":\"Point\",\"coordinates\":[58.37831058458708,23.58517901476684],\"properties\":{\"NAME\":\"Muscat\",\"NAMEASCII\":\"Muscat\",\"POP_MAX\":734697,\"ISO_A2\":\"OM\",\"SOV_A3\":\"OMN\"}},{\"type\":\"Point\",\"coordinates\":[79.8577506,6.9319658],\"properties\":{\"NAME\":\"Colombo\",\"NAMEASCII\":\"Colombo\",\"POP_MAX\":217000,\"ISO_A2\":\"LK\",\"SOV_A3\":\"LKA\"}},{\"type\":\"Point\",\"coordinates\":[123.8981294,10.3219219],\"properties\":{\"NAME\":\"Cebu\",\"NAMEASCII\":\"Cebu\",\"POP_MAX\":815000,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[122.5450158,10.7050429],\"properties\":{\"NAME\":\"Iloilo\",\"NAMEASCII\":\"Iloilo\",\"POP_MAX\":387681,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[125.6280496,7.1119628],\"properties\":{\"NAME\":\"Davao\",\"NAMEASCII\":\"Davao\",\"POP_MAX\":1402000,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[101.6150272,56.1569973],\"properties\":{\"NAME\":\"Bratsk\",\"NAMEASCII\":\"Bratsk\",\"POP_MAX\":246348,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.28386854457487,52.28460448891496],\"properties\":{\"NAME\":\"Irkutsk\",\"NAMEASCII\":\"Irkutsk\",\"POP_MAX\":586695,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[92.8640547,56.0159286],\"properties\":{\"NAME\":\"Krasnoyarsk\",\"NAMEASCII\":\"Krasnoyarsk\",\"POP_MAX\":925000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[80.5450988,73.5069719],\"properties\":{\"NAME\":\"Dikson\",\"NAMEASCII\":\"Dikson\",\"POP_MAX\":1113,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[113.4650016,52.0550255],\"properties\":{\"NAME\":\"Chita\",\"NAMEASCII\":\"Chita\",\"POP_MAX\":308500,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[131.9100256,43.1300147],\"properties\":{\"NAME\":\"Vladivostok\",\"NAMEASCII\":\"Vladivostok\",\"POP_MAX\":587022,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[136.0666194,71.4333258],\"properties\":{\"NAME\":\"Nizhneyansk\",\"NAMEASCII\":\"Nizhneyansk\",\"POP_MAX\":400,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[129.7350162,62.0349589],\"properties\":{\"NAME\":\"Yakutsk\",\"NAMEASCII\":\"Yakutsk\",\"POP_MAX\":235600,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[128.8349668,71.6268855],\"properties\":{\"NAME\":\"Tiksi\",\"NAMEASCII\":\"Tiksi\",\"POP_MAX\":5700,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[150.8100089,59.5749799],\"properties\":{\"NAME\":\"Magadan\",\"NAMEASCII\":\"Magadan\",\"POP_MAX\":95282,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-117.0819418,32.5019634],\"properties\":{\"NAME\":\"Tijuana\",\"NAMEASCII\":\"Tijuana\",\"POP_MAX\":1553000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.0869282,28.6469274],\"properties\":{\"NAME\":\"Chihuahua\",\"NAMEASCII\":\"Chihuahua\",\"POP_MAX\":793000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-106.4200007,23.2211007],\"properties\":{\"NAME\":\"Mazatlán\",\"NAMEASCII\":\"Mazatlan\",\"POP_MAX\":368204,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-97.8700057,22.30002],\"properties\":{\"NAME\":\"Tampico\",\"NAMEASCII\":\"Tampico\",\"POP_MAX\":859419,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-99.915979,16.8499909],\"properties\":{\"NAME\":\"Acapulco\",\"NAMEASCII\":\"Acapulco\",\"POP_MAX\":715584,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-96.1599809,19.1773423],\"properties\":{\"NAME\":\"Veracruz\",\"NAMEASCII\":\"Veracruz\",\"POP_MAX\":578963,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-93.1500096,16.749997],\"properties\":{\"NAME\":\"Tuxtla Gutiérrez\",\"NAMEASCII\":\"Tuxtla Gutierrez\",\"POP_MAX\":481128,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-86.8300078,21.1699597],\"properties\":{\"NAME\":\"Cancún\",\"NAMEASCII\":\"Cancun\",\"POP_MAX\":542043,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-89.6185794,20.9685847],\"properties\":{\"NAME\":\"Mérida\",\"NAMEASCII\":\"Merida\",\"POP_MAX\":965000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[7.4999967,6.4500314],\"properties\":{\"NAME\":\"Enugu\",\"NAMEASCII\":\"Enugu\",\"POP_MAX\":688862,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[5.2400313,13.0600155],\"properties\":{\"NAME\":\"Sokoto\",\"NAMEASCII\":\"Sokoto\",\"POP_MAX\":732178,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[56.2480468,58.0019056],\"properties\":{\"NAME\":\"Perm\",\"NAMEASCII\":\"Perm\",\"POP_MAX\":997000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[104.118337,49.0532965],\"properties\":{\"NAME\":\"Erdenet\",\"NAMEASCII\":\"Erdenet\",\"POP_MAX\":79647,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[106.9146699,47.9186193],\"properties\":{\"NAME\":\"Ulaanbaatar\",\"NAMEASCII\":\"Ulaanbaatar\",\"POP_MAX\":885000,\"ISO_A2\":\"MN\",\"SOV_A3\":\"MNG\"}},{\"type\":\"Point\",\"coordinates\":[33.4300419,-8.8900142],\"properties\":{\"NAME\":\"Mbeya\",\"NAMEASCII\":\"Mbeya\",\"POP_MAX\":291649,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[17.0835461,-22.5700061],\"properties\":{\"NAME\":\"Windhoek\",\"NAMEASCII\":\"Windhoek\",\"POP_MAX\":268132,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[18.116558,-19.5666235],\"properties\":{\"NAME\":\"Grootfontein\",\"NAMEASCII\":\"Grootfontein\",\"POP_MAX\":24099,\"ISO_A2\":\"NA\",\"SOV_A3\":\"NAM\"}},{\"type\":\"Point\",\"coordinates\":[39.2000256,-6.16],\"properties\":{\"NAME\":\"Zanzibar\",\"NAMEASCII\":\"Zanzibar\",\"POP_MAX\":403658,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[-0.4019579,39.4869634],\"properties\":{\"NAME\":\"Valencia\",\"NAMEASCII\":\"Valencia\",\"POP_MAX\":808000,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[159.9500195,59.0840021],\"properties\":{\"NAME\":\"Palana\",\"NAMEASCII\":\"Palana\",\"POP_MAX\":3671,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[158.6230204,53.0619924],\"properties\":{\"NAME\":\"Petropavlovsk-Kamchatsky\",\"NAMEASCII\":\"Petropavlovsk Kamchatskiy\",\"POP_MAX\":187282,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[7.489505042885861,9.054620406360845],\"properties\":{\"NAME\":\"Abuja\",\"NAMEASCII\":\"Abuja\",\"POP_MAX\":1576000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[100.3580675,-0.9580614],\"properties\":{\"NAME\":\"Padang\",\"NAMEASCII\":\"Padang\",\"POP_MAX\":855000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-15.5983608,11.8650238],\"properties\":{\"NAME\":\"Bissau\",\"NAMEASCII\":\"Bissau\",\"POP_MAX\":403339,\"ISO_A2\":\"GW\",\"SOV_A3\":\"GNB\"}},{\"type\":\"Point\",\"coordinates\":[13.3480814,38.1269689],\"properties\":{\"NAME\":\"Palermo\",\"NAMEASCII\":\"Palermo\",\"POP_MAX\":863000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[35.9313541,31.9519711],\"properties\":{\"NAME\":\"Amman\",\"NAMEASCII\":\"Amman\",\"POP_MAX\":1060000,\"ISO_A2\":\"JO\",\"SOV_A3\":\"JOR\"}},{\"type\":\"Point\",\"coordinates\":[25.3166353,54.6833663],\"properties\":{\"NAME\":\"Vilnius\",\"NAMEASCII\":\"Vilnius\",\"POP_MAX\":542366,\"ISO_A2\":\"LT\",\"SOV_A3\":\"LTU\"}},{\"type\":\"Point\",\"coordinates\":[24.0999654,56.9500238],\"properties\":{\"NAME\":\"Riga\",\"NAMEASCII\":\"Riga\",\"POP_MAX\":742572,\"ISO_A2\":\"LV\",\"SOV_A3\":\"LVA\"}},{\"type\":\"Point\",\"coordinates\":[74.5832584,42.8750253],\"properties\":{\"NAME\":\"Bishkek\",\"NAMEASCII\":\"Bishkek\",\"POP_MAX\":837000,\"ISO_A2\":\"KG\",\"SOV_A3\":\"KGZ\"}},{\"type\":\"Point\",\"coordinates\":[98.2999841,39.82001],\"properties\":{\"NAME\":\"Jiayuguan\",\"NAMEASCII\":\"Jiayuguan\",\"POP_MAX\":148279,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[101.768059,36.6219445],\"properties\":{\"NAME\":\"Xining\",\"NAMEASCII\":\"Xining\",\"POP_MAX\":1048000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[110.2780822,25.281939],\"properties\":{\"NAME\":\"Guilin\",\"NAMEASCII\":\"Guilin\",\"POP_MAX\":987000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.978035,32.6319296],\"properties\":{\"NAME\":\"Huainan\",\"NAMEASCII\":\"Huainan\",\"POP_MAX\":1451000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.6680797,23.3719522],\"properties\":{\"NAME\":\"Shantou\",\"NAMEASCII\":\"Shantou\",\"POP_MAX\":1601000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.6330159,3.3000169],\"properties\":{\"NAME\":\"Tarakan\",\"NAMEASCII\":\"Tarakan\",\"POP_MAX\":193069,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[39.6879723,-4.0380802],\"properties\":{\"NAME\":\"Mombasa\",\"NAMEASCII\":\"Mombasa\",\"POP_MAX\":882000,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[27.4832731,-29.3166744],\"properties\":{\"NAME\":\"Maseru\",\"NAMEASCII\":\"Maseru\",\"POP_MAX\":361324,\"ISO_A2\":\"LS\",\"SOV_A3\":\"LSO\"}},{\"type\":\"Point\",\"coordinates\":[47.514678,-18.9146915],\"properties\":{\"NAME\":\"Antananarivo\",\"NAMEASCII\":\"Antananarivo\",\"POP_MAX\":1697000,\"ISO_A2\":\"MG\",\"SOV_A3\":\"MDG\"}},{\"type\":\"Point\",\"coordinates\":[110.4180736,-6.9646716],\"properties\":{\"NAME\":\"Semarang\",\"NAMEASCII\":\"Semarang\",\"POP_MAX\":1396000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[104.7480838,-2.9780932],\"properties\":{\"NAME\":\"Palembang\",\"NAMEASCII\":\"Palembang\",\"POP_MAX\":1749000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[114.5800756,-3.3299918],\"properties\":{\"NAME\":\"Bandjarmasin\",\"NAMEASCII\":\"Bandjarmasin\",\"POP_MAX\":603576,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[119.4300817,-5.138013],\"properties\":{\"NAME\":\"Makassar\",\"NAMEASCII\":\"Makassar\",\"POP_MAX\":1262000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[4.8280846,45.7719544],\"properties\":{\"NAME\":\"Lyon\",\"NAMEASCII\":\"Lyon\",\"POP_MAX\":1423000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-78.501997,-0.2130423],\"properties\":{\"NAME\":\"Quito\",\"NAMEASCII\":\"Quito\",\"POP_MAX\":1701000,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-84.07881396964633,9.930370727948475],\"properties\":{\"NAME\":\"San José\",\"NAMEASCII\":\"San Jose\",\"POP_MAX\":1284000,\"ISO_A2\":\"CR\",\"SOV_A3\":\"CRI\"}},{\"type\":\"Point\",\"coordinates\":[-89.2155758045276,13.703280259193864],\"properties\":{\"NAME\":\"San Salvador\",\"NAMEASCII\":\"San Salvador\",\"POP_MAX\":1433000,\"ISO_A2\":\"SV\",\"SOV_A3\":\"SLV\"}},{\"type\":\"Point\",\"coordinates\":[-76.7674337,17.9770766],\"properties\":{\"NAME\":\"Kingston\",\"NAMEASCII\":\"Kingston\",\"POP_MAX\":937700,\"ISO_A2\":\"JM\",\"SOV_A3\":\"JAM\"}},{\"type\":\"Point\",\"coordinates\":[-75.5163394,10.4016844],\"properties\":{\"NAME\":\"Cartagena\",\"NAMEASCII\":\"Cartagena\",\"POP_MAX\":887000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-70.1736084,1.1983106],\"properties\":{\"NAME\":\"Mitú\",\"NAMEASCII\":\"Mitu\",\"POP_MAX\":5917,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[22.4599621,2.1899813],\"properties\":{\"NAME\":\"Bumba\",\"NAMEASCII\":\"Bumba\",\"POP_MAX\":160539,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[15.0472025,12.1150424],\"properties\":{\"NAME\":\"N'Djamena\",\"NAMEASCII\":\"Ndjamena\",\"POP_MAX\":989000,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[20.8299841,13.8399937],\"properties\":{\"NAME\":\"Abéché\",\"NAMEASCII\":\"Abeche\",\"POP_MAX\":158317,\"ISO_A2\":\"TD\",\"SOV_A3\":\"TCD\"}},{\"type\":\"Point\",\"coordinates\":[8.7832775,3.7500153],\"properties\":{\"NAME\":\"Malabo\",\"NAMEASCII\":\"Malabo\",\"POP_MAX\":155963,\"ISO_A2\":\"GQ\",\"SOV_A3\":\"GNQ\"}},{\"type\":\"Point\",\"coordinates\":[32.6500378,25.7000191],\"properties\":{\"NAME\":\"Luxor\",\"NAMEASCII\":\"Luxor\",\"POP_MAX\":609248,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[38.9333235,15.3333393],\"properties\":{\"NAME\":\"Asmara\",\"NAMEASCII\":\"Asmara\",\"POP_MAX\":620802,\"ISO_A2\":\"ER\",\"SOV_A3\":\"ERI\"}},{\"type\":\"Point\",\"coordinates\":[15.9999947,45.8000067],\"properties\":{\"NAME\":\"Zagreb\",\"NAMEASCII\":\"Zagreb\",\"POP_MAX\":722526,\"ISO_A2\":\"HR\",\"SOV_A3\":\"HRV\"}},{\"type\":\"Point\",\"coordinates\":[24.7280407,59.4338774],\"properties\":{\"NAME\":\"Tallinn\",\"NAMEASCII\":\"Tallinn\",\"POP_MAX\":394024,\"ISO_A2\":\"EE\",\"SOV_A3\":\"EST\"}},{\"type\":\"Point\",\"coordinates\":[91.1000101,29.6450238],\"properties\":{\"NAME\":\"Lhasa\",\"NAMEASCII\":\"Lhasa\",\"POP_MAX\":219599,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[93.5150048,42.8269841],\"properties\":{\"NAME\":\"Hami\",\"NAMEASCII\":\"Hami\",\"POP_MAX\":580000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[79.9269454,37.0997109],\"properties\":{\"NAME\":\"Hotan\",\"NAMEASCII\":\"Hotan\",\"POP_MAX\":408894,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[75.9699259,39.4763359],\"properties\":{\"NAME\":\"Kashgar\",\"NAMEASCII\":\"Kashgar\",\"POP_MAX\":506640,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.2710916,38.4699195],\"properties\":{\"NAME\":\"Yinchuan\",\"NAMEASCII\":\"Yinchuan\",\"POP_MAX\":991000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.8480968,27.6219512],\"properties\":{\"NAME\":\"Pingxiang\",\"NAMEASCII\":\"Pingxiang\",\"POP_MAX\":961000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[129.8850329,32.7649884],\"properties\":{\"NAME\":\"Nagasaki\",\"NAMEASCII\":\"Nagasaki\",\"POP_MAX\":435455,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[123.9880464,47.3469229],\"properties\":{\"NAME\":\"Qiqihar\",\"NAMEASCII\":\"Qiqihar\",\"POP_MAX\":1641000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[18.8500016,-5.0300431],\"properties\":{\"NAME\":\"Kikwit\",\"NAMEASCII\":\"Kikwit\",\"POP_MAX\":637736,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[13.4500211,-5.8166101],\"properties\":{\"NAME\":\"Matadi\",\"NAMEASCII\":\"Matadi\",\"POP_MAX\":245862,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[25.4724397,-10.7167244],\"properties\":{\"NAME\":\"Kolwezi\",\"NAMEASCII\":\"Kolwezi\",\"POP_MAX\":418000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[27.4780716,-11.6780789],\"properties\":{\"NAME\":\"Lubumbashi\",\"NAMEASCII\":\"Lubumbashi\",\"POP_MAX\":1352000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[33.783302,-13.9832951],\"properties\":{\"NAME\":\"Lilongwe\",\"NAMEASCII\":\"Lilongwe\",\"POP_MAX\":646750,\"ISO_A2\":\"MW\",\"SOV_A3\":\"MWI\"}},{\"type\":\"Point\",\"coordinates\":[-90.5289114,14.6230805],\"properties\":{\"NAME\":\"Guatemala City\",\"NAMEASCII\":\"Guatemala\",\"POP_MAX\":1024000,\"ISO_A2\":\"GT\",\"SOV_A3\":\"GTM\"}},{\"type\":\"Point\",\"coordinates\":[-52.3300206,4.9329922],\"properties\":{\"NAME\":\"Cayenne\",\"NAMEASCII\":\"Cayenne\",\"POP_MAX\":61550,\"ISO_A2\":\"GF\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[9.457965,0.3853886],\"properties\":{\"NAME\":\"Libreville\",\"NAMEASCII\":\"Libreville\",\"POP_MAX\":578156,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[83.21984846162533,17.68290316150216],\"properties\":{\"NAME\":\"Vishakhapatnam\",\"NAMEASCII\":\"Vishakhapatnam\",\"POP_MAX\":1529000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[178.4417073,-18.1330159],\"properties\":{\"NAME\":\"Suva\",\"NAMEASCII\":\"Suva\",\"POP_MAX\":175399,\"ISO_A2\":\"FJ\",\"SOV_A3\":\"FJI\"}},{\"type\":\"Point\",\"coordinates\":[8.7800219,-0.720022],\"properties\":{\"NAME\":\"Port-Gentil\",\"NAMEASCII\":\"Port-Gentil\",\"POP_MAX\":116836,\"ISO_A2\":\"GA\",\"SOV_A3\":\"GAB\"}},{\"type\":\"Point\",\"coordinates\":[-3.0165965,16.7665851],\"properties\":{\"NAME\":\"Timbuktu\",\"NAMEASCII\":\"Timbuktu\",\"POP_MAX\":68872,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-70.9399958,-53.1649861],\"properties\":{\"NAME\":\"Punta Arenas\",\"NAMEASCII\":\"Punta Arenas\",\"POP_MAX\":117430,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.1299677,-20.2499927],\"properties\":{\"NAME\":\"Iquique\",\"NAMEASCII\":\"Iquique\",\"POP_MAX\":227499,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-70.4000029,-23.6499918],\"properties\":{\"NAME\":\"Antofagasta\",\"NAMEASCII\":\"Antofagasta\",\"POP_MAX\":309832,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-71.61702619154609,-33.04773936269631],\"properties\":{\"NAME\":\"Valparaíso\",\"NAMEASCII\":\"Valparaiso\",\"POP_MAX\":854000,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.23311053054022,-39.82165065113458],\"properties\":{\"NAME\":\"Valdivia\",\"NAMEASCII\":\"Valdivia\",\"POP_MAX\":159599,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-73.050022,-36.8300142],\"properties\":{\"NAME\":\"Concepción\",\"NAMEASCII\":\"Concepcion\",\"POP_MAX\":889725,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-72.9299777,-41.4699894],\"properties\":{\"NAME\":\"Puerto Montt\",\"NAMEASCII\":\"Puerto Montt\",\"POP_MAX\":174629,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[-51.7326588,64.1982815],\"properties\":{\"NAME\":\"Nuuk\",\"NAMEASCII\":\"Nuuk\",\"POP_MAX\":14798,\"ISO_A2\":\"GL\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-15.9753404,18.086427],\"properties\":{\"NAME\":\"Nouakchott\",\"NAMEASCII\":\"Nouakchott\",\"POP_MAX\":742144,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-8.001985,12.6519605],\"properties\":{\"NAME\":\"Bamako\",\"NAMEASCII\":\"Bamako\",\"POP_MAX\":1494000,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[-13.0499893,20.5166404],\"properties\":{\"NAME\":\"Atar\",\"NAMEASCII\":\"Atar\",\"POP_MAX\":44265,\"ISO_A2\":\"MR\",\"SOV_A3\":\"MRT\"}},{\"type\":\"Point\",\"coordinates\":[-4.5499913,13.8999901],\"properties\":{\"NAME\":\"Djenné\",\"NAMEASCII\":\"Djenne\",\"POP_MAX\":32944,\"ISO_A2\":\"ML\",\"SOV_A3\":\"MLI\"}},{\"type\":\"Point\",\"coordinates\":[14.4333203,27.0332711],\"properties\":{\"NAME\":\"Sabha\",\"NAMEASCII\":\"Sabha\",\"POP_MAX\":100249,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[20.0647773,32.1186793],\"properties\":{\"NAME\":\"Banghazi\",\"NAMEASCII\":\"Banghazi\",\"POP_MAX\":1180000,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[22.8830549,40.6980522],\"properties\":{\"NAME\":\"Thessaloniki\",\"NAMEASCII\":\"Thessaloniki\",\"POP_MAX\":828000,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[35.5077624,33.873921],\"properties\":{\"NAME\":\"Beirut\",\"NAMEASCII\":\"Beirut\",\"POP_MAX\":1846000,\"ISO_A2\":\"LB\",\"SOV_A3\":\"LBN\"}},{\"type\":\"Point\",\"coordinates\":[44.7888496,41.7269558],\"properties\":{\"NAME\":\"Tbilisi\",\"NAMEASCII\":\"Tbilisi\",\"POP_MAX\":1100000,\"ISO_A2\":\"GE\",\"SOV_A3\":\"GEO\"}},{\"type\":\"Point\",\"coordinates\":[37.4600284,12.6100429],\"properties\":{\"NAME\":\"Gondar\",\"NAMEASCII\":\"Gonder\",\"POP_MAX\":156230,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[71.4277742,51.1811253],\"properties\":{\"NAME\":\"Nur-Sultan\",\"NAMEASCII\":\"Astana\",\"POP_MAX\":345604,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[73.1150097,49.884977],\"properties\":{\"NAME\":\"Qaraghandy\",\"NAMEASCII\":\"Qaraghandy\",\"POP_MAX\":451800,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[76.9130903,43.3269357],\"properties\":{\"NAME\":\"Almaty\",\"NAMEASCII\":\"Almaty\",\"POP_MAX\":1209000,\"ISO_A2\":\"KZ\",\"SOV_A3\":\"KAZ\"}},{\"type\":\"Point\",\"coordinates\":[51.6980919,32.7019512],\"properties\":{\"NAME\":\"Isfahan\",\"NAMEASCII\":\"Isfahan\",\"POP_MAX\":1628000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[52.5680647,29.631906],\"properties\":{\"NAME\":\"Shiraz\",\"NAMEASCII\":\"Shiraz\",\"POP_MAX\":1240000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[74.8680472,31.6419384],\"properties\":{\"NAME\":\"Amritsar\",\"NAMEASCII\":\"Amritsar\",\"POP_MAX\":1212000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[82.9980936,25.3319359],\"properties\":{\"NAME\":\"Varanasi\",\"NAMEASCII\":\"Varanasi\",\"POP_MAX\":1352000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[86.9813874,23.6852792],\"properties\":{\"NAME\":\"Asansol\",\"NAMEASCII\":\"Asansol\",\"POP_MAX\":1328000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[81.3722129528492,21.21126196187745],\"properties\":{\"NAME\":\"Bhilai\",\"NAMEASCII\":\"Bhilai\",\"POP_MAX\":1097000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.4080472,23.2519337],\"properties\":{\"NAME\":\"Bhopal\",\"NAMEASCII\":\"Bhopal\",\"POP_MAX\":1727000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.1180814,9.9219721],\"properties\":{\"NAME\":\"Madurai\",\"NAMEASCII\":\"Madurai\",\"POP_MAX\":1294000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[76.9480753,11.0019062],\"properties\":{\"NAME\":\"Coimbatore\",\"NAMEASCII\":\"Coimbatore\",\"POP_MAX\":1696000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[102.59998,17.9666927],\"properties\":{\"NAME\":\"Vientiane\",\"NAMEASCII\":\"Vientiane\",\"POP_MAX\":754000,\"ISO_A2\":\"LA\",\"SOV_A3\":\"LAO\"}},{\"type\":\"Point\",\"coordinates\":[15.2827436,-4.2572399],\"properties\":{\"NAME\":\"Brazzaville\",\"NAMEASCII\":\"Brazzaville\",\"POP_MAX\":1355000,\"ISO_A2\":\"CG\",\"SOV_A3\":\"COG\"}},{\"type\":\"Point\",\"coordinates\":[-13.6821809,9.5334687],\"properties\":{\"NAME\":\"Conakry\",\"NAMEASCII\":\"Conakry\",\"POP_MAX\":1494000,\"ISO_A2\":\"GN\",\"SOV_A3\":\"GIN\"}},{\"type\":\"Point\",\"coordinates\":[-5.2755026,6.818381],\"properties\":{\"NAME\":\"Yamoussoukro\",\"NAMEASCII\":\"Yamoussoukro\",\"POP_MAX\":206499,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-72.6699677,-7.6299878],\"properties\":{\"NAME\":\"Cruzeiro do Sul\",\"NAMEASCII\":\"Cruzeiro do Sul\",\"POP_MAX\":56862,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-69.955261,-4.2012067],\"properties\":{\"NAME\":\"Leticia\",\"NAMEASCII\":\"Leticia\",\"POP_MAX\":59575,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-60.0019634,-3.0980859],\"properties\":{\"NAME\":\"Manaus\",\"NAMEASCII\":\"Manaus\",\"POP_MAX\":1753000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-43.3500261,-4.8330009],\"properties\":{\"NAME\":\"Caxias\",\"NAMEASCII\":\"Caxias\",\"POP_MAX\":134640,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.6999793,-2.4332507],\"properties\":{\"NAME\":\"Santarém\",\"NAMEASCII\":\"Santarem\",\"POP_MAX\":230428,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.115979,-5.3499719],\"properties\":{\"NAME\":\"Marabá\",\"NAMEASCII\":\"Maraba\",\"POP_MAX\":166182,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-60.1165996,-12.7166024],\"properties\":{\"NAME\":\"Vilhena\",\"NAMEASCII\":\"Vilhena\",\"POP_MAX\":63231,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-61.9670034,-10.8333065],\"properties\":{\"NAME\":\"Ji-Paraná\",\"NAMEASCII\":\"Ji-Parana\",\"POP_MAX\":65016,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-54.6185711,-20.4480863],\"properties\":{\"NAME\":\"Campo Grande\",\"NAMEASCII\":\"Campo Grande\",\"POP_MAX\":778000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-48.5219664,-27.5780387],\"properties\":{\"NAME\":\"Florianópolis\",\"NAMEASCII\":\"Florianopolis\",\"POP_MAX\":1023000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.9700092,-12.2500158],\"properties\":{\"NAME\":\"Feira de Santana\",\"NAMEASCII\":\"Feira de Santana\",\"POP_MAX\":481911,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-97.1659919,49.8829875],\"properties\":{\"NAME\":\"Winnipeg\",\"NAMEASCII\":\"Winnipeg\",\"POP_MAX\":632063,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.1659941,58.7659853],\"properties\":{\"NAME\":\"Churchill\",\"NAMEASCII\":\"Churchill\",\"POP_MAX\":1000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-104.6170099,50.450033],\"properties\":{\"NAME\":\"Regina\",\"NAMEASCII\":\"Regina\",\"POP_MAX\":176183,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-106.6699854,52.1700314],\"properties\":{\"NAME\":\"Saskatoon\",\"NAMEASCII\":\"Saskatoon\",\"POP_MAX\":198958,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-114.0819441,51.0849376],\"properties\":{\"NAME\":\"Calgary\",\"NAMEASCII\":\"Calgary\",\"POP_MAX\":1110000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-130.3299882,54.3166703],\"properties\":{\"NAME\":\"Prince Rupert\",\"NAMEASCII\":\"Prince Rupert\",\"POP_MAX\":14708,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-123.3500009,48.4332827],\"properties\":{\"NAME\":\"Victoria\",\"NAMEASCII\":\"Victoria\",\"POP_MAX\":289625,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-85.1666209,73.0333057],\"properties\":{\"NAME\":\"Arctic Bay\",\"NAMEASCII\":\"Arctic Bay\",\"POP_MAX\":604,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-94.9000061,74.6833342],\"properties\":{\"NAME\":\"Resolute\",\"NAMEASCII\":\"Resolute\",\"POP_MAX\":250,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-86.282935,66.5294669],\"properties\":{\"NAME\":\"Naujaat\",\"NAMEASCII\":\"Repulse Bay\",\"POP_MAX\":1000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-114.3969814,62.4420142],\"properties\":{\"NAME\":\"Yellowknife\",\"NAMEASCII\":\"Yellowknife\",\"POP_MAX\":19234,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-128.6333218,66.2666128],\"properties\":{\"NAME\":\"Fort Good Hope\",\"NAMEASCII\":\"Fort Good Hope\",\"POP_MAX\":597,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-135.0499844,60.716719],\"properties\":{\"NAME\":\"Whitehorse\",\"NAMEASCII\":\"Whitehorse\",\"POP_MAX\":23276,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-60.6659976,2.816093],\"properties\":{\"NAME\":\"Boa Vista\",\"NAMEASCII\":\"Boa Vista\",\"POP_MAX\":235150,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.0500212,0.033007],\"properties\":{\"NAME\":\"Macapá\",\"NAMEASCII\":\"Macapa\",\"POP_MAX\":499166,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-75.7019612,45.4186427],\"properties\":{\"NAME\":\"Ottawa\",\"NAMEASCII\":\"Ottawa\",\"POP_MAX\":1145000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-87.6499836,55.9833386],\"properties\":{\"NAME\":\"Fort Severn\",\"NAMEASCII\":\"Fort Severn\",\"POP_MAX\":125,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-89.2749748,48.4461501],\"properties\":{\"NAME\":\"Thunder Bay\",\"NAMEASCII\":\"Thunder Bay\",\"POP_MAX\":99334,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-71.2456102,46.8399691],\"properties\":{\"NAME\":\"Québec\",\"NAMEASCII\":\"Quebec\",\"POP_MAX\":624177,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-63.6000045,44.6500252],\"properties\":{\"NAME\":\"Halifax\",\"NAMEASCII\":\"Halifax\",\"POP_MAX\":359111,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-52.6810069,47.5849882],\"properties\":{\"NAME\":\"St. John's\",\"NAMEASCII\":\"St. John's\",\"POP_MAX\":131469,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-61.6860454,56.5473515],\"properties\":{\"NAME\":\"Nain\",\"NAMEASCII\":\"Nain\",\"POP_MAX\":1151,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-63.1313251,46.2492816],\"properties\":{\"NAME\":\"Charlottetown\",\"NAMEASCII\":\"Charlottetown\",\"POP_MAX\":42402,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[20.653044,8.4091366],\"properties\":{\"NAME\":\"N'Délé\",\"NAMEASCII\":\"Ndele\",\"POP_MAX\":11764,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[20.4660448,44.8205913],\"properties\":{\"NAME\":\"Belgrade\",\"NAMEASCII\":\"Belgrade\",\"POP_MAX\":1099000,\"ISO_A2\":\"RS\",\"SOV_A3\":\"SRB\"}},{\"type\":\"Point\",\"coordinates\":[26.5000256,5.3999921],\"properties\":{\"NAME\":\"Obo\",\"NAMEASCII\":\"Obo\",\"POP_MAX\":12887,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[114.9332841,4.8833311],\"properties\":{\"NAME\":\"Bandar Seri Begawan\",\"NAMEASCII\":\"Bandar Seri Begawan\",\"POP_MAX\":296500,\"ISO_A2\":\"BN\",\"SOV_A3\":\"BRN\"}},{\"type\":\"Point\",\"coordinates\":[-65.8999675,-47.7500195],\"properties\":{\"NAME\":\"Puerto Deseado\",\"NAMEASCII\":\"Puerto Deseado\",\"POP_MAX\":3305,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-69.2165868,-51.6332967],\"properties\":{\"NAME\":\"Río Gallegos\",\"NAMEASCII\":\"Rio Gallegos\",\"POP_MAX\":85700,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-67.499999,-45.8700309],\"properties\":{\"NAME\":\"Comodoro Rivadavia\",\"NAMEASCII\":\"Comodoro Rivadavia\",\"POP_MAX\":140850,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-68.818557,-32.8813842],\"properties\":{\"NAME\":\"Mendoza\",\"NAMEASCII\":\"Mendoza\",\"POP_MAX\":893000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-65.2595156,-19.0409708],\"properties\":{\"NAME\":\"Sucre\",\"NAMEASCII\":\"Sucre\",\"POP_MAX\":224838,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-66.100007,-10.9830131],\"properties\":{\"NAME\":\"Riberalta\",\"NAMEASCII\":\"Riberalta\",\"POP_MAX\":74014,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-62.2650214,-38.7400268],\"properties\":{\"NAME\":\"Bahía Blanca\",\"NAMEASCII\":\"Bahia Blanca\",\"POP_MAX\":281536,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-57.5799844,-38.0000203],\"properties\":{\"NAME\":\"Mar del Plata\",\"NAMEASCII\":\"Mar del Plata\",\"POP_MAX\":555897,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-64.1842404,-31.3980122],\"properties\":{\"NAME\":\"Córdoba\",\"NAMEASCII\":\"Cordoba\",\"POP_MAX\":1452000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-55.8851073,-27.3578321],\"properties\":{\"NAME\":\"Posadas\",\"NAMEASCII\":\"Posadas\",\"POP_MAX\":357119,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[-88.767073,17.2520335],\"properties\":{\"NAME\":\"Belmopan\",\"NAMEASCII\":\"Belmopan\",\"POP_MAX\":15220,\"ISO_A2\":\"BZ\",\"SOV_A3\":\"BLZ\"}},{\"type\":\"Point\",\"coordinates\":[18.5582881,4.3666443],\"properties\":{\"NAME\":\"Bangui\",\"NAMEASCII\":\"Bangui\",\"POP_MAX\":831925,\"ISO_A2\":\"CF\",\"SOV_A3\":\"CAF\"}},{\"type\":\"Point\",\"coordinates\":[14.3246964,10.5955664],\"properties\":{\"NAME\":\"Maroua\",\"NAMEASCII\":\"Maroua\",\"POP_MAX\":319941,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[11.5147049,3.8686465],\"properties\":{\"NAME\":\"Yaoundé\",\"NAMEASCII\":\"Yaounde\",\"POP_MAX\":1611000,\"ISO_A2\":\"CM\",\"SOV_A3\":\"CMR\"}},{\"type\":\"Point\",\"coordinates\":[19.818883,41.3275407],\"properties\":{\"NAME\":\"Tirana\",\"NAMEASCII\":\"Tirana\",\"POP_MAX\":895350,\"ISO_A2\":\"AL\",\"SOV_A3\":\"ALB\"}},{\"type\":\"Point\",\"coordinates\":[44.5116055,40.1830966],\"properties\":{\"NAME\":\"Yerevan\",\"NAMEASCII\":\"Yerevan\",\"POP_MAX\":1102000,\"ISO_A2\":\"AM\",\"SOV_A3\":\"ARM\"}},{\"type\":\"Point\",\"coordinates\":[49.8602713,40.3972179],\"properties\":{\"NAME\":\"Baku\",\"NAMEASCII\":\"Baku\",\"POP_MAX\":2122300,\"ISO_A2\":\"AZ\",\"SOV_A3\":\"AZE\"}},{\"type\":\"Point\",\"coordinates\":[65.6949458,31.6100202],\"properties\":{\"NAME\":\"Kandahar\",\"NAMEASCII\":\"Kandahar\",\"POP_MAX\":715542,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[104.9146886,11.551976],\"properties\":{\"NAME\":\"Phnom Penh\",\"NAMEASCII\":\"Phnom Penh\",\"POP_MAX\":1466000,\"ISO_A2\":\"KH\",\"SOV_A3\":\"KHM\"}},{\"type\":\"Point\",\"coordinates\":[17.6999943,-14.6666125],\"properties\":{\"NAME\":\"Menongue\",\"NAMEASCII\":\"Menongue\",\"POP_MAX\":13030,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[15.7580635,-12.7480395],\"properties\":{\"NAME\":\"Huambo\",\"NAMEASCII\":\"Huambo\",\"POP_MAX\":1100000,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[-68.151931,-16.4960278],\"properties\":{\"NAME\":\"La Paz\",\"NAMEASCII\":\"La Paz\",\"POP_MAX\":1590000,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-63.2279422,-17.7519718],\"properties\":{\"NAME\":\"Santa Cruz\",\"NAMEASCII\":\"Santa Cruz\",\"POP_MAX\":2102998,\"ISO_A2\":\"BO\",\"SOV_A3\":\"BOL\"}},{\"type\":\"Point\",\"coordinates\":[-0.6219186,35.7119483],\"properties\":{\"NAME\":\"Oran\",\"NAMEASCII\":\"Oran\",\"POP_MAX\":798000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[2.404354790887952,6.362980392242672],\"properties\":{\"NAME\":\"Cotonou\",\"NAMEASCII\":\"Cotonou\",\"POP_MAX\":762000,\"ISO_A2\":\"BJ\",\"SOV_A3\":\"BEN\"}},{\"type\":\"Point\",\"coordinates\":[5.5228047,22.7850033],\"properties\":{\"NAME\":\"Tamanrasset\",\"NAMEASCII\":\"Tamanrasset\",\"POP_MAX\":76000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[3.6699979,32.4899923],\"properties\":{\"NAME\":\"Ghardaia\",\"NAMEASCII\":\"Ghardaia\",\"POP_MAX\":125480,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[23.3147082,42.6852953],\"properties\":{\"NAME\":\"Sofia\",\"NAMEASCII\":\"Sofia\",\"POP_MAX\":1185000,\"ISO_A2\":\"BG\",\"SOV_A3\":\"BGR\"}},{\"type\":\"Point\",\"coordinates\":[27.5646813,53.9019233],\"properties\":{\"NAME\":\"Minsk\",\"NAMEASCII\":\"Minsk\",\"POP_MAX\":1805000,\"ISO_A2\":\"BY\",\"SOV_A3\":\"BLR\"}},{\"type\":\"Point\",\"coordinates\":[89.639014,27.4729859],\"properties\":{\"NAME\":\"Thimphu\",\"NAMEASCII\":\"Thimphu\",\"POP_MAX\":98676,\"ISO_A2\":\"BT\",\"SOV_A3\":\"BTN\"}},{\"type\":\"Point\",\"coordinates\":[25.9119478,-24.6463135],\"properties\":{\"NAME\":\"Gaborone\",\"NAMEASCII\":\"Gaborone\",\"POP_MAX\":208411,\"ISO_A2\":\"BW\",\"SOV_A3\":\"BWA\"}},{\"type\":\"Point\",\"coordinates\":[130.8500386,-12.425354],\"properties\":{\"NAME\":\"Darwin\",\"NAMEASCII\":\"Darwin\",\"POP_MAX\":93080,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[133.8800345,-23.7009965],\"properties\":{\"NAME\":\"Alice Springs\",\"NAMEASCII\":\"Alice Springs\",\"POP_MAX\":27710,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[149.1290262,-35.2830285],\"properties\":{\"NAME\":\"Canberra\",\"NAMEASCII\":\"Canberra\",\"POP_MAX\":327700,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[151.77024927411264,-32.929507722655686],\"properties\":{\"NAME\":\"Newcastle\",\"NAMEASCII\":\"Newcastle\",\"POP_MAX\":540796,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[138.598059,-34.9330419],\"properties\":{\"NAME\":\"Adelaide\",\"NAMEASCII\":\"Adelaide\",\"POP_MAX\":1145000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[146.7699971,-19.2499503],\"properties\":{\"NAME\":\"Townsville\",\"NAMEASCII\":\"Townsville\",\"POP_MAX\":138954,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[153.0331469,-27.453085],\"properties\":{\"NAME\":\"Brisbane\",\"NAMEASCII\":\"Brisbane\",\"POP_MAX\":1860000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[147.2950297,-42.8500085],\"properties\":{\"NAME\":\"Hobart\",\"NAMEASCII\":\"Hobart\",\"POP_MAX\":80870,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[-1.5266696,12.3722618],\"properties\":{\"NAME\":\"Ouagadougou\",\"NAMEASCII\":\"Ouagadougou\",\"POP_MAX\":1149000,\"ISO_A2\":\"BF\",\"SOV_A3\":\"BFA\"}},{\"type\":\"Point\",\"coordinates\":[18.3830017,43.8500224],\"properties\":{\"NAME\":\"Sarajevo\",\"NAMEASCII\":\"Sarajevo\",\"POP_MAX\":696731,\"ISO_A2\":\"BA\",\"SOV_A3\":\"BIH\"}},{\"type\":\"Point\",\"coordinates\":[96.1166727,19.7685029],\"properties\":{\"NAME\":\"Naypyidaw\",\"NAMEASCII\":\"Naypyidaw\",\"POP_MAX\":930000,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[-66.1299793,18.440023],\"properties\":{\"NAME\":\"San Juan\",\"NAMEASCII\":\"San Juan\",\"POP_MAX\":2478905,\"ISO_A2\":\"PR\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-57.8499679,-51.700011],\"properties\":{\"NAME\":\"Stanley\",\"NAMEASCII\":\"Stanley\",\"POP_MAX\":2213,\"ISO_A2\":\"FK\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-64.7839374,32.2941903],\"properties\":{\"NAME\":\"Hamilton\",\"NAMEASCII\":\"Hamilton\",\"POP_MAX\":52320,\"ISO_A2\":\"BM\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[-175.2205645,-21.1385124],\"properties\":{\"NAME\":\"Nuku'alofa\",\"NAMEASCII\":\"Nukualofa\",\"POP_MAX\":42620,\"ISO_A2\":\"TO\",\"SOV_A3\":\"TON\"}},{\"type\":\"Point\",\"coordinates\":[44.06531,9.5600224],\"properties\":{\"NAME\":\"Hargeisa\",\"NAMEASCII\":\"Hargeysa\",\"POP_MAX\":477876,\"ISO_A2\":\"-99\",\"SOV_A3\":\"SOL\"}},{\"type\":\"Point\",\"coordinates\":[55.4499898,-4.6166317],\"properties\":{\"NAME\":\"Victoria\",\"NAMEASCII\":\"Victoria\",\"POP_MAX\":33576,\"ISO_A2\":\"SC\",\"SOV_A3\":\"SYC\"}},{\"type\":\"Point\",\"coordinates\":[6.729649806269851,0.337466406982624],\"properties\":{\"NAME\":\"São Tomé\",\"NAMEASCII\":\"Sao Tome\",\"POP_MAX\":88219,\"ISO_A2\":\"ST\",\"SOV_A3\":\"STP\"}},{\"type\":\"Point\",\"coordinates\":[-171.76859897688345,-13.835714958212938],\"properties\":{\"NAME\":\"Apia\",\"NAMEASCII\":\"Apia\",\"POP_MAX\":61916,\"ISO_A2\":\"WS\",\"SOV_A3\":\"WSM\"}},{\"type\":\"Point\",\"coordinates\":[14.5147107,35.8997325],\"properties\":{\"NAME\":\"Valletta\",\"NAMEASCII\":\"Valletta\",\"POP_MAX\":368250,\"ISO_A2\":\"MT\",\"SOV_A3\":\"MLT\"}},{\"type\":\"Point\",\"coordinates\":[73.5089005260037,4.17203699470936],\"properties\":{\"NAME\":\"Malé\",\"NAMEASCII\":\"Male\",\"POP_MAX\":112927,\"ISO_A2\":\"MV\",\"SOV_A3\":\"MDV\"}},{\"type\":\"Point\",\"coordinates\":[35.2066259,31.7784078],\"properties\":{\"NAME\":\"Jerusalem\",\"NAMEASCII\":\"Jerusalem\",\"POP_MAX\":1029300,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[-23.5166889,14.916698],\"properties\":{\"NAME\":\"Praia\",\"NAMEASCII\":\"Praia\",\"POP_MAX\":113364,\"ISO_A2\":\"CV\",\"SOV_A3\":\"CPV\"}},{\"type\":\"Point\",\"coordinates\":[-77.3500438,25.0833901],\"properties\":{\"NAME\":\"Nassau\",\"NAMEASCII\":\"Nassau\",\"POP_MAX\":227940,\"ISO_A2\":\"BS\",\"SOV_A3\":\"BHS\"}},{\"type\":\"Point\",\"coordinates\":[33.3666349,35.1666765],\"properties\":{\"NAME\":\"Nicosia\",\"NAMEASCII\":\"Nicosia\",\"POP_MAX\":224300,\"ISO_A2\":\"CY\",\"SOV_A3\":\"CYP\"}},{\"type\":\"Point\",\"coordinates\":[120.2666019,22.6333071],\"properties\":{\"NAME\":\"Kaohsiung\",\"NAMEASCII\":\"Kaohsiung\",\"POP_MAX\":2769072,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[114.06115351896277,22.54809707412332],\"properties\":{\"NAME\":\"Shenzhen\",\"NAMEASCII\":\"Shenzhen\",\"POP_MAX\":7581000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.9964595757144,36.82136457648037],\"properties\":{\"NAME\":\"Zibo\",\"NAMEASCII\":\"Zibo\",\"POP_MAX\":3061000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[-93.2537322,44.9819251],\"properties\":{\"NAME\":\"Minneapolis\",\"NAMEASCII\":\"Minneapolis\",\"POP_MAX\":2616000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-157.85830077406945,21.30342908415294],\"properties\":{\"NAME\":\"Honolulu\",\"NAMEASCII\":\"Honolulu\",\"POP_MAX\":786000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-122.31532231603904,47.600423319460475],\"properties\":{\"NAME\":\"Seattle\",\"NAMEASCII\":\"Seattle\",\"POP_MAX\":3074000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-112.06736527766587,33.44832240381263],\"properties\":{\"NAME\":\"Phoenix\",\"NAMEASCII\":\"Phoenix\",\"POP_MAX\":3551000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-117.15088145402623,32.71891385421138],\"properties\":{\"NAME\":\"San Diego\",\"NAMEASCII\":\"San Diego\",\"POP_MAX\":2916000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.2419264,38.6369636],\"properties\":{\"NAME\":\"St. Louis\",\"NAMEASCII\":\"St. Louis\",\"POP_MAX\":2199000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-90.08836791917577,29.968907521885654],\"properties\":{\"NAME\":\"New Orleans\",\"NAMEASCII\":\"New Orleans\",\"POP_MAX\":785000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-96.79468722529398,32.771958135439206],\"properties\":{\"NAME\":\"Dallas\",\"NAMEASCII\":\"Dallas\",\"POP_MAX\":4798000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-71.6619235,10.7319227],\"properties\":{\"NAME\":\"Maracaibo\",\"NAMEASCII\":\"Maracaibo\",\"POP_MAX\":2072000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[-71.0719595,42.331906],\"properties\":{\"NAME\":\"Boston\",\"NAMEASCII\":\"Boston\",\"POP_MAX\":4467000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-82.4605667,27.9489338],\"properties\":{\"NAME\":\"Tampa\",\"NAMEASCII\":\"Tampa\",\"POP_MAX\":2314000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-75.1798412402816,39.94594243742075],\"properties\":{\"NAME\":\"Philadelphia\",\"NAMEASCII\":\"Philadelphia\",\"POP_MAX\":5492000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-83.05133408216001,42.33355800559568],\"properties\":{\"NAME\":\"Detroit\",\"NAMEASCII\":\"Detroit\",\"POP_MAX\":4101000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-149.8874464089115,61.21400426552339],\"properties\":{\"NAME\":\"Anchorage\",\"NAMEASCII\":\"Anchorage\",\"POP_MAX\":260283,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[105.8480683,21.0352731],\"properties\":{\"NAME\":\"Hanoi\",\"NAMEASCII\":\"Hanoi\",\"POP_MAX\":4378000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[106.70298470218748,10.762124565177512],\"properties\":{\"NAME\":\"Ho Chi Minh City\",\"NAMEASCII\":\"Ho Chi Minh City\",\"POP_MAX\":5314000,\"ISO_A2\":\"VN\",\"SOV_A3\":\"VNM\"}},{\"type\":\"Point\",\"coordinates\":[32.8624458,39.9291844],\"properties\":{\"NAME\":\"Ankara\",\"NAMEASCII\":\"Ankara\",\"POP_MAX\":3716000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[19.0813748,47.5019522],\"properties\":{\"NAME\":\"Budapest\",\"NAMEASCII\":\"Budapest\",\"POP_MAX\":1679000,\"ISO_A2\":\"HU\",\"SOV_A3\":\"HUN\"}},{\"type\":\"Point\",\"coordinates\":[44.2046475,15.3566792],\"properties\":{\"NAME\":\"Sanaa\",\"NAMEASCII\":\"Sanaa\",\"POP_MAX\":2008000,\"ISO_A2\":\"YE\",\"SOV_A3\":\"YEM\"}},{\"type\":\"Point\",\"coordinates\":[2.1814245,41.3852454],\"properties\":{\"NAME\":\"Barcelona\",\"NAMEASCII\":\"Barcelona\",\"POP_MAX\":4920000,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[26.0980008,44.4353177],\"properties\":{\"NAME\":\"Bucharest\",\"NAMEASCII\":\"Bucharest\",\"POP_MAX\":1942000,\"ISO_A2\":\"RO\",\"SOV_A3\":\"ROU\"}},{\"type\":\"Point\",\"coordinates\":[37.1680744,36.2319166],\"properties\":{\"NAME\":\"Aleppo\",\"NAMEASCII\":\"Aleppo\",\"POP_MAX\":2738000,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[36.29805,33.5019799],\"properties\":{\"NAME\":\"Damascus\",\"NAMEASCII\":\"Damascus\",\"POP_MAX\":2466000,\"ISO_A2\":\"SY\",\"SOV_A3\":\"SYR\"}},{\"type\":\"Point\",\"coordinates\":[8.5480643,47.3819337],\"properties\":{\"NAME\":\"Zürich\",\"NAMEASCII\":\"Zurich\",\"POP_MAX\":1108000,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[-9.1468122,38.7246687],\"properties\":{\"NAME\":\"Lisbon\",\"NAMEASCII\":\"Lisbon\",\"POP_MAX\":2812000,\"ISO_A2\":\"PT\",\"SOV_A3\":\"PRT\"}},{\"type\":\"Point\",\"coordinates\":[32.5322334,15.5900241],\"properties\":{\"NAME\":\"Khartoum\",\"NAMEASCII\":\"Khartoum\",\"POP_MAX\":4754000,\"ISO_A2\":\"SD\",\"SOV_A3\":\"SDN\"}},{\"type\":\"Point\",\"coordinates\":[39.2172517,21.5188353],\"properties\":{\"NAME\":\"Jeddah\",\"NAMEASCII\":\"Jeddah\",\"POP_MAX\":3012000,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[39.8180936,21.4319672],\"properties\":{\"NAME\":\"Makkah\",\"NAMEASCII\":\"Makkah\",\"POP_MAX\":1385000,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[10.7480333,59.9186361],\"properties\":{\"NAME\":\"Oslo\",\"NAMEASCII\":\"Oslo\",\"POP_MAX\":835000,\"ISO_A2\":\"NO\",\"SOV_A3\":\"NOR\"}},{\"type\":\"Point\",\"coordinates\":[74.3480789,31.5619174],\"properties\":{\"NAME\":\"Lahore\",\"NAMEASCII\":\"Lahore\",\"POP_MAX\":6577000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[66.9880631,24.8719381],\"properties\":{\"NAME\":\"Karachi\",\"NAMEASCII\":\"Karachi\",\"POP_MAX\":12130000,\"ISO_A2\":\"PK\",\"SOV_A3\":\"PAK\"}},{\"type\":\"Point\",\"coordinates\":[31.01094366326237,-29.86066234118211],\"properties\":{\"NAME\":\"Durban\",\"NAMEASCII\":\"Durban\",\"POP_MAX\":2729000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[30.3140742,59.9409604],\"properties\":{\"NAME\":\"St.  Petersburg\",\"NAMEASCII\":\"St. Petersburg\",\"POP_MAX\":4553000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-103.3319801,20.671962],\"properties\":{\"NAME\":\"Guadalajara\",\"NAMEASCII\":\"Guadalajara\",\"POP_MAX\":4198000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[-98.20373725542488,19.032593839016364],\"properties\":{\"NAME\":\"Puebla\",\"NAMEASCII\":\"Puebla\",\"POP_MAX\":2195000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[8.5180919,12.0019227],\"properties\":{\"NAME\":\"Kano\",\"NAMEASCII\":\"Kano\",\"POP_MAX\":3140000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[21.005346737742283,52.23087197353951],\"properties\":{\"NAME\":\"Warsaw\",\"NAMEASCII\":\"Warsaw\",\"POP_MAX\":1707000,\"ISO_A2\":\"PL\",\"SOV_A3\":\"POL\"}},{\"type\":\"Point\",\"coordinates\":[125.7527449,39.0213846],\"properties\":{\"NAME\":\"Pyongyang\",\"NAMEASCII\":\"Pyongyang\",\"POP_MAX\":3300000,\"ISO_A2\":\"KP\",\"SOV_A3\":\"PRK\"}},{\"type\":\"Point\",\"coordinates\":[39.266396,-6.7980667],\"properties\":{\"NAME\":\"Dar es Salaam\",\"NAMEASCII\":\"Dar es Salaam\",\"POP_MAX\":2930000,\"ISO_A2\":\"TZ\",\"SOV_A3\":\"TZA\"}},{\"type\":\"Point\",\"coordinates\":[98.6480944,3.5819198],\"properties\":{\"NAME\":\"Medan\",\"NAMEASCII\":\"Medan\",\"POP_MAX\":2115000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-6.256979517281132,53.34673124898314],\"properties\":{\"NAME\":\"Dublin\",\"NAMEASCII\":\"Dublin\",\"POP_MAX\":1059000,\"ISO_A2\":\"IE\",\"SOV_A3\":\"IRL\"}},{\"type\":\"Point\",\"coordinates\":[-10.7996604,6.3145816],\"properties\":{\"NAME\":\"Monrovia\",\"NAMEASCII\":\"Monrovia\",\"POP_MAX\":1041000,\"ISO_A2\":\"LR\",\"SOV_A3\":\"LBR\"}},{\"type\":\"Point\",\"coordinates\":[14.2430655,40.8419711],\"properties\":{\"NAME\":\"Naples\",\"NAMEASCII\":\"Naples\",\"POP_MAX\":2250000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[9.2030631,45.4719211],\"properties\":{\"NAME\":\"Milan\",\"NAMEASCII\":\"Milan\",\"POP_MAX\":2945000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[101.68869929106194,3.13979694393525],\"properties\":{\"NAME\":\"Kuala Lumpur\",\"NAMEASCII\":\"Kuala Lumpur\",\"POP_MAX\":1448000,\"ISO_A2\":\"MY\",\"SOV_A3\":\"MYS\"}},{\"type\":\"Point\",\"coordinates\":[103.7900544,36.0579737],\"properties\":{\"NAME\":\"Lanzhou\",\"NAMEASCII\":\"Lanzhou\",\"POP_MAX\":2561000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[108.3180985,22.8219341],\"properties\":{\"NAME\":\"Nanning\",\"NAMEASCII\":\"Nanning\",\"POP_MAX\":2167000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.7180928,26.5819888],\"properties\":{\"NAME\":\"Guiyang\",\"NAMEASCII\":\"Guiyang\",\"POP_MAX\":3662000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[106.5930358,29.5669229],\"properties\":{\"NAME\":\"Chongqing\",\"NAMEASCII\":\"Chongqing\",\"POP_MAX\":6461000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[119.2981001,26.0819418],\"properties\":{\"NAME\":\"Fuzhou\",\"NAMEASCII\":\"Fuzhou\",\"POP_MAX\":2606000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.26178516712943,23.12472343296695],\"properties\":{\"NAME\":\"Guangzhou\",\"NAMEASCII\":\"Guangzhou\",\"POP_MAX\":8829000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.75047406547746,23.02153738850798],\"properties\":{\"NAME\":\"Dongguan\",\"NAMEASCII\":\"Dongguan\",\"POP_MAX\":4528000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[107.5680667,-6.9480834],\"properties\":{\"NAME\":\"Bandung\",\"NAMEASCII\":\"Bandung\",\"POP_MAX\":2394000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[112.7488874,-7.24729],\"properties\":{\"NAME\":\"Surabaya\",\"NAMEASCII\":\"Surabaya\",\"POP_MAX\":2845000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-79.9219878,-2.2180879],\"properties\":{\"NAME\":\"Guayaquil\",\"NAMEASCII\":\"Guayaquil\",\"POP_MAX\":2514000,\"ISO_A2\":\"EC\",\"SOV_A3\":\"ECU\"}},{\"type\":\"Point\",\"coordinates\":[-75.5769559,6.2769491],\"properties\":{\"NAME\":\"Medellín\",\"NAMEASCII\":\"Medellin\",\"POP_MAX\":3297000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-76.5019123,3.401905],\"properties\":{\"NAME\":\"Cali\",\"NAMEASCII\":\"Cali\",\"POP_MAX\":2254000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[-82.366128,23.1339047],\"properties\":{\"NAME\":\"Havana\",\"NAMEASCII\":\"Havana\",\"POP_MAX\":2174000,\"ISO_A2\":\"CU\",\"SOV_A3\":\"CUB\"}},{\"type\":\"Point\",\"coordinates\":[29.94805,31.2019652],\"properties\":{\"NAME\":\"Alexandria\",\"NAMEASCII\":\"Alexandria\",\"POP_MAX\":4165000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[8.6750154,50.0999768],\"properties\":{\"NAME\":\"Frankfurt\",\"NAMEASCII\":\"Frankfurt\",\"POP_MAX\":2895000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[9.9980533,53.5519705],\"properties\":{\"NAME\":\"Hamburg\",\"NAMEASCII\":\"Hamburg\",\"POP_MAX\":1757000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[11.5730476,48.1318879],\"properties\":{\"NAME\":\"Munich\",\"NAMEASCII\":\"Munich\",\"POP_MAX\":1275000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[14.422939486203868,50.0869665373215],\"properties\":{\"NAME\":\"Prague\",\"NAMEASCII\":\"Prague\",\"POP_MAX\":1162000,\"ISO_A2\":\"CZ\",\"SOV_A3\":\"CZE\"}},{\"type\":\"Point\",\"coordinates\":[47.9763553,29.3716635],\"properties\":{\"NAME\":\"Kuwait City\",\"NAMEASCII\":\"Kuwait City\",\"POP_MAX\":2063000,\"ISO_A2\":\"KW\",\"SOV_A3\":\"KWT\"}},{\"type\":\"Point\",\"coordinates\":[108.8930504,34.2769713],\"properties\":{\"NAME\":\"Xian\",\"NAMEASCII\":\"Xian\",\"POP_MAX\":4009000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.5431119,37.8769583],\"properties\":{\"NAME\":\"Taiyuan\",\"NAMEASCII\":\"Taiyuan\",\"POP_MAX\":2913000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[114.2680712,30.5819772],\"properties\":{\"NAME\":\"Wuhan\",\"NAMEASCII\":\"Wuhan\",\"POP_MAX\":7243000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[112.9680472,28.2019158],\"properties\":{\"NAME\":\"Changsha\",\"NAMEASCII\":\"Changsha\",\"POP_MAX\":2604000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[102.69743977228744,25.042859073104868],\"properties\":{\"NAME\":\"Kunming\",\"NAMEASCII\":\"Kunming\",\"POP_MAX\":2931000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[113.6631469,34.756942],\"properties\":{\"NAME\":\"Zhengzhou\",\"NAMEASCII\":\"Zhengzhou\",\"POP_MAX\":2636000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[123.4480277,41.8069251],\"properties\":{\"NAME\":\"Shenyeng\",\"NAMEASCII\":\"Shenyeng\",\"POP_MAX\":4787000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[116.9930728,36.6769282],\"properties\":{\"NAME\":\"Jinan\",\"NAMEASCII\":\"Jinan\",\"POP_MAX\":2798000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[117.19660728208831,39.08277176197969],\"properties\":{\"NAME\":\"Tianjin\",\"NAMEASCII\":\"Tianjin\",\"POP_MAX\":7180000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[115.8780504,28.6819381],\"properties\":{\"NAME\":\"Nanchang\",\"NAMEASCII\":\"Nanchang\",\"POP_MAX\":2350000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[118.7780285,32.051965],\"properties\":{\"NAME\":\"Nanjing\",\"NAMEASCII\":\"Nanjing\",\"POP_MAX\":3679000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[120.1680728,30.2519198],\"properties\":{\"NAME\":\"Hangzhou\",\"NAMEASCII\":\"Hangzhou\",\"POP_MAX\":3007000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[132.4409671,34.389781],\"properties\":{\"NAME\":\"Hiroshima\",\"NAMEASCII\":\"Hiroshima\",\"POP_MAX\":2045000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[125.3380415,43.8669544],\"properties\":{\"NAME\":\"Changchun\",\"NAMEASCII\":\"Changchun\",\"POP_MAX\":3183000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[109.820074,40.6541531],\"properties\":{\"NAME\":\"Baotou\",\"NAMEASCII\":\"Baotou\",\"POP_MAX\":2036000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[126.648039,45.7519298],\"properties\":{\"NAME\":\"Harbin\",\"NAMEASCII\":\"Harbin\",\"POP_MAX\":3621000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[141.3380985,43.0769251],\"properties\":{\"NAME\":\"Sapporo\",\"NAMEASCII\":\"Sapporo\",\"POP_MAX\":2544000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[-69.92974231579055,18.470745058048376],\"properties\":{\"NAME\":\"Santo Domingo\",\"NAMEASCII\":\"Santo Domingo\",\"POP_MAX\":2154000,\"ISO_A2\":\"DO\",\"SOV_A3\":\"DOM\"}},{\"type\":\"Point\",\"coordinates\":[-0.2186616,5.5519805],\"properties\":{\"NAME\":\"Accra\",\"NAMEASCII\":\"Accra\",\"POP_MAX\":2121000,\"ISO_A2\":\"GH\",\"SOV_A3\":\"GHA\"}},{\"type\":\"Point\",\"coordinates\":[77.2280582,28.6719388],\"properties\":{\"NAME\":\"Delhi\",\"NAMEASCII\":\"Delhi\",\"POP_MAX\":15926000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[78.4780077,17.401929],\"properties\":{\"NAME\":\"Hyderabad\",\"NAMEASCII\":\"Hyderabad\",\"POP_MAX\":6376000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[73.85189174674915,18.516394229926586],\"properties\":{\"NAME\":\"Pune\",\"NAMEASCII\":\"Pune\",\"POP_MAX\":4672000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[79.088048,21.1719056],\"properties\":{\"NAME\":\"Nagpur\",\"NAMEASCII\":\"Nagpur\",\"POP_MAX\":2454000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[13.1800118,32.8925],\"properties\":{\"NAME\":\"Tripoli\",\"NAMEASCII\":\"Tripoli\",\"POP_MAX\":2189000,\"ISO_A2\":\"LY\",\"SOV_A3\":\"LBY\"}},{\"type\":\"Point\",\"coordinates\":[34.7680659,32.0819373],\"properties\":{\"NAME\":\"Tel Aviv\",\"NAMEASCII\":\"Tel Aviv-Yafo\",\"POP_MAX\":3112000,\"ISO_A2\":\"IL\",\"SOV_A3\":\"IS1\"}},{\"type\":\"Point\",\"coordinates\":[24.932456915043964,60.16380384948568],\"properties\":{\"NAME\":\"Helsinki\",\"NAMEASCII\":\"Helsinki\",\"POP_MAX\":1115000,\"ISO_A2\":\"FI\",\"SOV_A3\":\"FIN\"}},{\"type\":\"Point\",\"coordinates\":[59.5680508,36.2719658],\"properties\":{\"NAME\":\"Mashhad\",\"NAMEASCII\":\"Mashhad\",\"POP_MAX\":2469000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[75.8080415,26.9230791],\"properties\":{\"NAME\":\"Jaipur\",\"NAMEASCII\":\"Jaipur\",\"POP_MAX\":2917000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.3180504,26.4619445],\"properties\":{\"NAME\":\"Kanpur\",\"NAMEASCII\":\"Kanpur\",\"POP_MAX\":3162000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[85.1280928,25.626905],\"properties\":{\"NAME\":\"Patna\",\"NAMEASCII\":\"Patna\",\"POP_MAX\":2158000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.2780529,13.0919337],\"properties\":{\"NAME\":\"Chennai\",\"NAMEASCII\":\"Chennai\",\"POP_MAX\":7163000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.5780578,23.0319988],\"properties\":{\"NAME\":\"Ahmedabad\",\"NAMEASCII\":\"Ahmedabad\",\"POP_MAX\":5375000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[72.8380936,21.2019296],\"properties\":{\"NAME\":\"Surat\",\"NAMEASCII\":\"Surat\",\"POP_MAX\":3842000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[12.5615399,55.68051],\"properties\":{\"NAME\":\"København\",\"NAMEASCII\":\"Kobenhavn\",\"POP_MAX\":1085000,\"ISO_A2\":\"DK\",\"SOV_A3\":\"DNK\"}},{\"type\":\"Point\",\"coordinates\":[-4.020206835187587,5.323126072244571],\"properties\":{\"NAME\":\"Abidjan\",\"NAMEASCII\":\"Abidjan\",\"POP_MAX\":3802000,\"ISO_A2\":\"CI\",\"SOV_A3\":\"CIV\"}},{\"type\":\"Point\",\"coordinates\":[-48.4819689,-1.4480574],\"properties\":{\"NAME\":\"Belém\",\"NAMEASCII\":\"Belem\",\"POP_MAX\":2167000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-47.9179981,-15.7813944],\"properties\":{\"NAME\":\"Brasília\",\"NAMEASCII\":\"Brasilia\",\"POP_MAX\":3716996,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-51.2019579,-30.0480688],\"properties\":{\"NAME\":\"Porto Alegre\",\"NAMEASCII\":\"Porto Alegre\",\"POP_MAX\":3917000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-49.3219435,-25.4180671],\"properties\":{\"NAME\":\"Curitiba\",\"NAMEASCII\":\"Curitiba\",\"POP_MAX\":3084000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.5819272,-3.748072],\"properties\":{\"NAME\":\"Fortaleza\",\"NAMEASCII\":\"Fortaleza\",\"POP_MAX\":3602319,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-38.4819333,-12.968026],\"properties\":{\"NAME\":\"Salvador\",\"NAMEASCII\":\"Salvador\",\"POP_MAX\":3484000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-113.5019278,53.5519705],\"properties\":{\"NAME\":\"Edmonton\",\"NAMEASCII\":\"Edmonton\",\"POP_MAX\":1058000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-73.5852428,45.5019451],\"properties\":{\"NAME\":\"Montréal\",\"NAMEASCII\":\"Montreal\",\"POP_MAX\":3678000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-49.3019705,-16.7180814],\"properties\":{\"NAME\":\"Goiânia\",\"NAMEASCII\":\"Goiania\",\"POP_MAX\":2022000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-34.908765500024515,-8.06053182704913],\"properties\":{\"NAME\":\"Recife\",\"NAMEASCII\":\"Recife\",\"POP_MAX\":3651000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[4.3313707,50.8352629],\"properties\":{\"NAME\":\"Brussels\",\"NAMEASCII\":\"Brussels\",\"POP_MAX\":1743000,\"ISO_A2\":\"BE\",\"SOV_A3\":\"BEL\"}},{\"type\":\"Point\",\"coordinates\":[90.4066336,23.7250056],\"properties\":{\"NAME\":\"Dhaka\",\"NAMEASCII\":\"Dhaka\",\"POP_MAX\":12797394,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[13.2324812,-8.8363403],\"properties\":{\"NAME\":\"Luanda\",\"NAMEASCII\":\"Luanda\",\"POP_MAX\":5172900,\"ISO_A2\":\"AO\",\"SOV_A3\":\"AGO\"}},{\"type\":\"Point\",\"coordinates\":[3.0486067,36.7650107],\"properties\":{\"NAME\":\"Algiers\",\"NAMEASCII\":\"Algiers\",\"POP_MAX\":3354000,\"ISO_A2\":\"DZ\",\"SOV_A3\":\"DZA\"}},{\"type\":\"Point\",\"coordinates\":[91.7980215,22.3319381],\"properties\":{\"NAME\":\"Chattogram\",\"NAMEASCII\":\"Chattogram\",\"POP_MAX\":4529000,\"ISO_A2\":\"BD\",\"SOV_A3\":\"BGD\"}},{\"type\":\"Point\",\"coordinates\":[115.8380529,-31.9530688],\"properties\":{\"NAME\":\"Perth\",\"NAMEASCII\":\"Perth\",\"POP_MAX\":1532000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[96.1647318,16.7853],\"properties\":{\"NAME\":\"Yangon\",\"NAMEASCII\":\"Rangoon\",\"POP_MAX\":4088000,\"ISO_A2\":\"MM\",\"SOV_A3\":\"MMR\"}},{\"type\":\"Point\",\"coordinates\":[-122.39959956304557,37.784262651527904],\"properties\":{\"NAME\":\"San Francisco\",\"NAMEASCII\":\"San Francisco\",\"POP_MAX\":3450000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-104.9859618,39.7411339],\"properties\":{\"NAME\":\"Denver\",\"NAMEASCII\":\"Denver\",\"POP_MAX\":2313000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-95.34843625672217,29.741272831862542],\"properties\":{\"NAME\":\"Houston\",\"NAMEASCII\":\"Houston\",\"POP_MAX\":4459000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-80.2260519,25.7895566],\"properties\":{\"NAME\":\"Miami\",\"NAMEASCII\":\"Miami\",\"POP_MAX\":5585000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-84.36764186571386,33.73945728378348],\"properties\":{\"NAME\":\"Atlanta\",\"NAMEASCII\":\"Atlanta\",\"POP_MAX\":4506000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-87.63523655322338,41.847961283364114],\"properties\":{\"NAME\":\"Chicago\",\"NAMEASCII\":\"Chicago\",\"POP_MAX\":8990000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-66.9189831,10.5029444],\"properties\":{\"NAME\":\"Caracas\",\"NAMEASCII\":\"Caracas\",\"POP_MAX\":2985000,\"ISO_A2\":\"VE\",\"SOV_A3\":\"VEN\"}},{\"type\":\"Point\",\"coordinates\":[30.5146821,50.4353132],\"properties\":{\"NAME\":\"Kyiv\",\"NAMEASCII\":\"Kiev\",\"POP_MAX\":2709000,\"ISO_A2\":\"UA\",\"SOV_A3\":\"UKR\"}},{\"type\":\"Point\",\"coordinates\":[55.28694561354246,25.21491189371225],\"properties\":{\"NAME\":\"Dubai\",\"NAMEASCII\":\"Dubai\",\"POP_MAX\":1379000,\"ISO_A2\":\"AE\",\"SOV_A3\":\"ARE\"}},{\"type\":\"Point\",\"coordinates\":[69.26882294266261,41.30382822156198],\"properties\":{\"NAME\":\"Tashkent\",\"NAMEASCII\":\"Tashkent\",\"POP_MAX\":2184000,\"ISO_A2\":\"UZ\",\"SOV_A3\":\"UZB\"}},{\"type\":\"Point\",\"coordinates\":[-3.6852975,40.4019721],\"properties\":{\"NAME\":\"Madrid\",\"NAMEASCII\":\"Madrid\",\"POP_MAX\":5567000,\"ISO_A2\":\"ES\",\"SOV_A3\":\"ESP\"}},{\"type\":\"Point\",\"coordinates\":[6.140028,46.2100075],\"properties\":{\"NAME\":\"Geneva\",\"NAMEASCII\":\"Geneva\",\"POP_MAX\":1240000,\"ISO_A2\":\"CH\",\"SOV_A3\":\"CHE\"}},{\"type\":\"Point\",\"coordinates\":[18.066300168534497,59.324127204007475],\"properties\":{\"NAME\":\"Stockholm\",\"NAMEASCII\":\"Stockholm\",\"POP_MAX\":1264000,\"ISO_A2\":\"SE\",\"SOV_A3\":\"SWE\"}},{\"type\":\"Point\",\"coordinates\":[100.5146988,13.7519451],\"properties\":{\"NAME\":\"Bangkok\",\"NAMEASCII\":\"Bangkok\",\"POP_MAX\":6704000,\"ISO_A2\":\"TH\",\"SOV_A3\":\"THA\"}},{\"type\":\"Point\",\"coordinates\":[-77.052008,-12.0460668],\"properties\":{\"NAME\":\"Lima\",\"NAMEASCII\":\"Lima\",\"POP_MAX\":8012000,\"ISO_A2\":\"PE\",\"SOV_A3\":\"PER\"}},{\"type\":\"Point\",\"coordinates\":[-17.475076,14.7177776],\"properties\":{\"NAME\":\"Dakar\",\"NAMEASCII\":\"Dakar\",\"POP_MAX\":2604000,\"ISO_A2\":\"SN\",\"SOV_A3\":\"SEN\"}},{\"type\":\"Point\",\"coordinates\":[28.0280639,-26.1680989],\"properties\":{\"NAME\":\"Johannesburg\",\"NAMEASCII\":\"Johannesburg\",\"POP_MAX\":3435000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[4.9146943,52.3519145],\"properties\":{\"NAME\":\"Amsterdam\",\"NAMEASCII\":\"Amsterdam\",\"POP_MAX\":1031000,\"ISO_A2\":\"NL\",\"SOV_A3\":\"NLD\"}},{\"type\":\"Point\",\"coordinates\":[-7.6183133,33.6019221],\"properties\":{\"NAME\":\"Casablanca\",\"NAMEASCII\":\"Casablanca\",\"POP_MAX\":3181000,\"ISO_A2\":\"MA\",\"SOV_A3\":\"MAR\"}},{\"type\":\"Point\",\"coordinates\":[126.9977851,37.568295],\"properties\":{\"NAME\":\"Seoul\",\"NAMEASCII\":\"Seoul\",\"POP_MAX\":9796000,\"ISO_A2\":\"KR\",\"SOV_A3\":\"KOR\"}},{\"type\":\"Point\",\"coordinates\":[120.9802713,14.6061048],\"properties\":{\"NAME\":\"Manila\",\"NAMEASCII\":\"Manila\",\"POP_MAX\":11100000,\"ISO_A2\":\"PH\",\"SOV_A3\":\"PHL\"}},{\"type\":\"Point\",\"coordinates\":[-100.3319306,25.671941],\"properties\":{\"NAME\":\"Monterrey\",\"NAMEASCII\":\"Monterrey\",\"POP_MAX\":3712000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[13.3996028,52.5237645],\"properties\":{\"NAME\":\"Berlin\",\"NAMEASCII\":\"Berlin\",\"POP_MAX\":3406000,\"ISO_A2\":\"DE\",\"SOV_A3\":\"DEU\"}},{\"type\":\"Point\",\"coordinates\":[87.5730598,43.8069581],\"properties\":{\"NAME\":\"Ürümqi\",\"NAMEASCII\":\"Urumqi\",\"POP_MAX\":3575000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[104.0680736,30.6719459],\"properties\":{\"NAME\":\"Chengdu\",\"NAMEASCII\":\"Chengdu\",\"POP_MAX\":4123000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[135.50375419006232,34.691095244477914],\"properties\":{\"NAME\":\"Ōsaka\",\"NAMEASCII\":\"Osaka\",\"POP_MAX\":11294000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[15.313026,-4.3277782],\"properties\":{\"NAME\":\"Kinshasa\",\"NAMEASCII\":\"Kinshasa\",\"POP_MAX\":7843000,\"ISO_A2\":\"CD\",\"SOV_A3\":\"COD\"}},{\"type\":\"Point\",\"coordinates\":[77.19998,28.600023],\"properties\":{\"NAME\":\"New Delhi\",\"NAMEASCII\":\"New Delhi\",\"POP_MAX\":317797,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[77.5580639,12.971941],\"properties\":{\"NAME\":\"Bengaluru\",\"NAMEASCII\":\"Bengaluru\",\"POP_MAX\":6787000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[23.7313752,37.9852721],\"properties\":{\"NAME\":\"Athens\",\"NAMEASCII\":\"Athens\",\"POP_MAX\":3242000,\"ISO_A2\":\"GR\",\"SOV_A3\":\"GRC\"}},{\"type\":\"Point\",\"coordinates\":[44.3919229,33.3405944],\"properties\":{\"NAME\":\"Baghdad\",\"NAMEASCII\":\"Baghdad\",\"POP_MAX\":5054000,\"ISO_A2\":\"IQ\",\"SOV_A3\":\"IRQ\"}},{\"type\":\"Point\",\"coordinates\":[38.6980586,9.0352562],\"properties\":{\"NAME\":\"Addis Ababa\",\"NAMEASCII\":\"Addis Ababa\",\"POP_MAX\":3100000,\"ISO_A2\":\"ET\",\"SOV_A3\":\"ETH\"}},{\"type\":\"Point\",\"coordinates\":[51.4223982,35.6738886],\"properties\":{\"NAME\":\"Tehran\",\"NAMEASCII\":\"Tehran\",\"POP_MAX\":7873000,\"ISO_A2\":\"IR\",\"SOV_A3\":\"IRN\"}},{\"type\":\"Point\",\"coordinates\":[-123.1235901,49.2753624],\"properties\":{\"NAME\":\"Vancouver\",\"NAMEASCII\":\"Vancouver\",\"POP_MAX\":2313328,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-79.38945855491194,43.66464454743429],\"properties\":{\"NAME\":\"Toronto\",\"NAMEASCII\":\"Toronto\",\"POP_MAX\":5213000,\"ISO_A2\":\"CA\",\"SOV_A3\":\"CAN\"}},{\"type\":\"Point\",\"coordinates\":[-58.43251268766426,-34.61071459139255],\"properties\":{\"NAME\":\"Buenos Aires\",\"NAMEASCII\":\"Buenos Aires\",\"POP_MAX\":12795000,\"ISO_A2\":\"AR\",\"SOV_A3\":\"ARG\"}},{\"type\":\"Point\",\"coordinates\":[69.1813142,34.5186361],\"properties\":{\"NAME\":\"Kabul\",\"NAMEASCII\":\"Kabul\",\"POP_MAX\":3277000,\"ISO_A2\":\"AF\",\"SOV_A3\":\"AFG\"}},{\"type\":\"Point\",\"coordinates\":[16.3646931,48.2019611],\"properties\":{\"NAME\":\"Vienna\",\"NAMEASCII\":\"Vienna\",\"POP_MAX\":2400000,\"ISO_A2\":\"AT\",\"SOV_A3\":\"AUT\"}},{\"type\":\"Point\",\"coordinates\":[144.9730704,-37.8180855],\"properties\":{\"NAME\":\"Melbourne\",\"NAMEASCII\":\"Melbourne\",\"POP_MAX\":4170000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[121.5683333,25.0358333],\"properties\":{\"NAME\":\"Taipei\",\"NAMEASCII\":\"Taipei\",\"POP_MAX\":6900273,\"ISO_A2\":\"TW\",\"SOV_A3\":\"TWN\"}},{\"type\":\"Point\",\"coordinates\":[-118.23198647223317,34.049219260337075],\"properties\":{\"NAME\":\"Los Angeles\",\"NAMEASCII\":\"Los Angeles\",\"POP_MAX\":12500000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-77.0113644,38.9014952],\"properties\":{\"NAME\":\"Washington,  D.C.\",\"NAMEASCII\":\"Washington, D.C.\",\"POP_MAX\":4338000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-73.99571754361698,40.72156174972766],\"properties\":{\"NAME\":\"New York\",\"NAMEASCII\":\"New York\",\"POP_MAX\":19040000,\"ISO_A2\":\"US\",\"SOV_A3\":\"USA\"}},{\"type\":\"Point\",\"coordinates\":[-0.1186677,51.5019406],\"properties\":{\"NAME\":\"London\",\"NAMEASCII\":\"London\",\"POP_MAX\":8567000,\"ISO_A2\":\"GB\",\"SOV_A3\":\"GBR\"}},{\"type\":\"Point\",\"coordinates\":[28.97427681675554,41.01760173507249],\"properties\":{\"NAME\":\"Istanbul\",\"NAMEASCII\":\"Istanbul\",\"POP_MAX\":10061000,\"ISO_A2\":\"TR\",\"SOV_A3\":\"TUR\"}},{\"type\":\"Point\",\"coordinates\":[46.720487024887696,24.634497474837755],\"properties\":{\"NAME\":\"Riyadh\",\"NAMEASCII\":\"Riyadh\",\"POP_MAX\":4465000,\"ISO_A2\":\"SA\",\"SOV_A3\":\"SAU\"}},{\"type\":\"Point\",\"coordinates\":[18.4330423,-33.9180651],\"properties\":{\"NAME\":\"Cape Town\",\"NAMEASCII\":\"Cape Town\",\"POP_MAX\":3215000,\"ISO_A2\":\"ZA\",\"SOV_A3\":\"ZAF\"}},{\"type\":\"Point\",\"coordinates\":[37.613577,55.75411],\"properties\":{\"NAME\":\"Moscow\",\"NAMEASCII\":\"Moscow\",\"POP_MAX\":10452000,\"ISO_A2\":\"RU\",\"SOV_A3\":\"RUS\"}},{\"type\":\"Point\",\"coordinates\":[-99.1329341,19.4443883],\"properties\":{\"NAME\":\"Mexico City\",\"NAMEASCII\":\"Mexico City\",\"POP_MAX\":19028000,\"ISO_A2\":\"MX\",\"SOV_A3\":\"MEX\"}},{\"type\":\"Point\",\"coordinates\":[3.3895852,6.4452075],\"properties\":{\"NAME\":\"Lagos\",\"NAMEASCII\":\"Lagos\",\"POP_MAX\":9466000,\"ISO_A2\":\"NG\",\"SOV_A3\":\"NGA\"}},{\"type\":\"Point\",\"coordinates\":[12.4813126,41.8979015],\"properties\":{\"NAME\":\"Rome\",\"NAMEASCII\":\"Rome\",\"POP_MAX\":3339000,\"ISO_A2\":\"IT\",\"SOV_A3\":\"ITA\"}},{\"type\":\"Point\",\"coordinates\":[116.39420089260611,39.901720309862675],\"properties\":{\"NAME\":\"Beijing\",\"NAMEASCII\":\"Beijing\",\"POP_MAX\":11106000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[36.814711,-1.2814009],\"properties\":{\"NAME\":\"Nairobi\",\"NAMEASCII\":\"Nairobi\",\"POP_MAX\":3010000,\"ISO_A2\":\"KE\",\"SOV_A3\":\"KEN\"}},{\"type\":\"Point\",\"coordinates\":[106.8274918,-6.1724718],\"properties\":{\"NAME\":\"Jakarta\",\"NAMEASCII\":\"Jakarta\",\"POP_MAX\":9125000,\"ISO_A2\":\"ID\",\"SOV_A3\":\"IDN\"}},{\"type\":\"Point\",\"coordinates\":[-74.0852898,4.5983694],\"properties\":{\"NAME\":\"Bogota\",\"NAMEASCII\":\"Bogota\",\"POP_MAX\":7772000,\"ISO_A2\":\"CO\",\"SOV_A3\":\"COL\"}},{\"type\":\"Point\",\"coordinates\":[31.2480224,30.0519062],\"properties\":{\"NAME\":\"Cairo\",\"NAMEASCII\":\"Cairo\",\"POP_MAX\":11893000,\"ISO_A2\":\"EG\",\"SOV_A3\":\"EGY\"}},{\"type\":\"Point\",\"coordinates\":[121.4345588,31.2183983],\"properties\":{\"NAME\":\"Shanghai\",\"NAMEASCII\":\"Shanghai\",\"POP_MAX\":14987000,\"ISO_A2\":\"CN\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[139.7494616,35.6869628],\"properties\":{\"NAME\":\"Tokyo\",\"NAMEASCII\":\"Tokyo\",\"POP_MAX\":35676000,\"ISO_A2\":\"JP\",\"SOV_A3\":\"JPN\"}},{\"type\":\"Point\",\"coordinates\":[72.8758393972653,19.06840847529168],\"properties\":{\"NAME\":\"Mumbai\",\"NAMEASCII\":\"Mumbai\",\"POP_MAX\":18978000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[2.352992461539213,48.85809231626911],\"properties\":{\"NAME\":\"Paris\",\"NAMEASCII\":\"Paris\",\"POP_MAX\":9904000,\"ISO_A2\":\"FR\",\"SOV_A3\":\"FRA\"}},{\"type\":\"Point\",\"coordinates\":[-70.65050407285783,-33.44020506918074],\"properties\":{\"NAME\":\"Santiago\",\"NAMEASCII\":\"Santiago\",\"POP_MAX\":5720000,\"ISO_A2\":\"CL\",\"SOV_A3\":\"CHL\"}},{\"type\":\"Point\",\"coordinates\":[88.36912550443886,22.569578883795778],\"properties\":{\"NAME\":\"Kolkata\",\"NAMEASCII\":\"Kolkata\",\"POP_MAX\":14787000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[-43.212117466834385,-22.907308056882364],\"properties\":{\"NAME\":\"Rio de Janeiro\",\"NAMEASCII\":\"Rio de Janeiro\",\"POP_MAX\":11748000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[-46.6269658,-23.5567337],\"properties\":{\"NAME\":\"São Paulo\",\"NAMEASCII\":\"Sao Paulo\",\"POP_MAX\":18845000,\"ISO_A2\":\"BR\",\"SOV_A3\":\"BRA\"}},{\"type\":\"Point\",\"coordinates\":[151.2125477744749,-33.87137339218338],\"properties\":{\"NAME\":\"Sydney\",\"NAMEASCII\":\"Sydney\",\"POP_MAX\":4630000,\"ISO_A2\":\"AU\",\"SOV_A3\":\"AUS\"}},{\"type\":\"Point\",\"coordinates\":[103.8538748,1.2949793],\"properties\":{\"NAME\":\"Singapore\",\"NAMEASCII\":\"Singapore\",\"POP_MAX\":5183700,\"ISO_A2\":\"SG\",\"SOV_A3\":\"SGP\"}},{\"type\":\"Point\",\"coordinates\":[114.1830635,22.3069268],\"properties\":{\"NAME\":\"Hong Kong\",\"NAMEASCII\":\"Hong Kong\",\"POP_MAX\":7206000,\"ISO_A2\":\"HK\",\"SOV_A3\":\"CHN\"}},{\"type\":\"Point\",\"coordinates\":[171.223143,-42.4716453],\"properties\":{\"NAME\":\"Greymouth\",\"NAMEASCII\":\"Greymouth\",\"POP_MAX\":10100,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.0290413,-41.1354774],\"properties\":{\"NAME\":\"Upper Hutt\",\"NAMEASCII\":\"Upper Hutt\",\"POP_MAX\":39200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.6456461,-40.9439199],\"properties\":{\"NAME\":\"Masterton\",\"NAMEASCII\":\"Masterton\",\"POP_MAX\":20200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.277246,-40.6123613],\"properties\":{\"NAME\":\"Levin\",\"NAMEASCII\":\"Levin\",\"POP_MAX\":19550,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.5542788,-36.8524493],\"properties\":{\"NAME\":\"Waitakere\",\"NAMEASCII\":\"Waitakere\",\"POP_MAX\":208100,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.7758388,-36.7912685],\"properties\":{\"NAME\":\"North Shore\",\"NAMEASCII\":\"North Shore\",\"POP_MAX\":205605,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.9827578,-37.9573865],\"properties\":{\"NAME\":\"Whakatane\",\"NAMEASCII\":\"Whakatane\",\"POP_MAX\":18700,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[171.7486419,-43.8982691],\"properties\":{\"NAME\":\"Ashburton\",\"NAMEASCII\":\"Ashburton\",\"POP_MAX\":17700,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[172.6510357,-43.3813114],\"properties\":{\"NAME\":\"Kaiapoi\",\"NAMEASCII\":\"Kaiapoi\",\"POP_MAX\":10200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.0748125,-39.0556393],\"properties\":{\"NAME\":\"New Plymouth\",\"NAMEASCII\":\"New Plymouth\",\"POP_MAX\":52500,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[171.6027921,-41.7638418],\"properties\":{\"NAME\":\"Westport\",\"NAMEASCII\":\"Westport\",\"POP_MAX\":3900,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[171.009954,-42.7072393],\"properties\":{\"NAME\":\"Hokitika\",\"NAMEASCII\":\"Hokitika\",\"POP_MAX\":3078,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[170.9947904,-45.1091974],\"properties\":{\"NAME\":\"Oamaru\",\"NAMEASCII\":\"Oamaru\",\"POP_MAX\":13000,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.6072108,-40.352691],\"properties\":{\"NAME\":\"Palmerston North\",\"NAMEASCII\":\"Palmerston North\",\"POP_MAX\":82400,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.0393,-39.9326261],\"properties\":{\"NAME\":\"Whanganui\",\"NAMEASCII\":\"Whanganui\",\"POP_MAX\":43200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.8367996,-39.6382031],\"properties\":{\"NAME\":\"Hastings\",\"NAMEASCII\":\"Hastings\",\"POP_MAX\":66100,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[178.0180813,-38.6633332],\"properties\":{\"NAME\":\"Gisborne\",\"NAMEASCII\":\"Gisborne\",\"POP_MAX\":34300,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.2482631,-38.1317379],\"properties\":{\"NAME\":\"Rotorua\",\"NAMEASCII\":\"Rotorua\",\"POP_MAX\":56200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.0770528,-38.6930107],\"properties\":{\"NAME\":\"Taupo\",\"NAMEASCII\":\"Taupo\",\"POP_MAX\":22600,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.1536294,-37.6964164],\"properties\":{\"NAME\":\"Tauranga\",\"NAMEASCII\":\"Tauranga\",\"POP_MAX\":121500,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[171.242469,-44.3971542],\"properties\":{\"NAME\":\"Timaru\",\"NAMEASCII\":\"Timaru\",\"POP_MAX\":27200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[173.247448,-41.2925917],\"properties\":{\"NAME\":\"Nelson\",\"NAMEASCII\":\"Nelson\",\"POP_MAX\":60800,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.3229708,-35.7255711],\"properties\":{\"NAME\":\"Whangarei\",\"NAMEASCII\":\"Whangarei\",\"POP_MAX\":52200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[168.7250813,-45.0226715],\"properties\":{\"NAME\":\"Queenstown\",\"NAMEASCII\":\"Queenstown\",\"POP_MAX\":16600,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[168.3650058,-46.4094366],\"properties\":{\"NAME\":\"Invercargill\",\"NAMEASCII\":\"Invercargill\",\"POP_MAX\":49200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[176.926451,-39.4900014],\"properties\":{\"NAME\":\"Napier\",\"NAMEASCII\":\"Napier\",\"POP_MAX\":57800,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.8849708,-36.9999702],\"properties\":{\"NAME\":\"Manukau\",\"NAMEASCII\":\"Manukau\",\"POP_MAX\":375600,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.2895781,-37.7782694],\"properties\":{\"NAME\":\"Hamilton\",\"NAMEASCII\":\"Hamilton\",\"POP_MAX\":148200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[173.9549575,-41.5135172],\"properties\":{\"NAME\":\"Blenheim\",\"NAMEASCII\":\"Blenheim\",\"POP_MAX\":30300,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[170.4910157,-45.8854231],\"properties\":{\"NAME\":\"Dunedin\",\"NAMEASCII\":\"Dunedin\",\"POP_MAX\":117700,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.77720094690068,-41.2920679923151],\"properties\":{\"NAME\":\"Wellington\",\"NAMEASCII\":\"Wellington\",\"POP_MAX\":393400,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[172.6300232,-43.5350216],\"properties\":{\"NAME\":\"Christchurch\",\"NAMEASCII\":\"Christchurch\",\"POP_MAX\":363200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.763027,-36.8480549],\"properties\":{\"NAME\":\"Auckland\",\"NAMEASCII\":\"Auckland\",\"POP_MAX\":1377200,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.9123119,-41.2037449],\"properties\":{\"NAME\":\"Lower Hutt\",\"NAMEASCII\":\"Lower Hutt\",\"POP_MAX\":102400,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.9989305,-40.9034421],\"properties\":{\"NAME\":\"Paraparaumu\",\"NAMEASCII\":\"Paraparaumu\",\"POP_MAX\":25263,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.8523534,-41.121892],\"properties\":{\"NAME\":\"Porirua\",\"NAMEASCII\":\"Porirua\",\"POP_MAX\":52500,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.5853163,-37.1384239],\"properties\":{\"NAME\":\"Thames\",\"NAMEASCII\":\"Thames\",\"POP_MAX\":6756,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.9033065,-37.2014924],\"properties\":{\"NAME\":\"Pukekohe\",\"NAMEASCII\":\"Pukekohe\",\"POP_MAX\":26300,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.2779749,-39.5794671],\"properties\":{\"NAME\":\"Hawera\",\"NAMEASCII\":\"Hawera\",\"POP_MAX\":11100,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[173.2726847,-35.1099257],\"properties\":{\"NAME\":\"Kaitaia\",\"NAMEASCII\":\"Kaitaia\",\"POP_MAX\":5202,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[173.6896859,-42.4011806],\"properties\":{\"NAME\":\"Kaikoura\",\"NAMEASCII\":\"Kaikoura\",\"POP_MAX\":2172,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[168.9603814,-46.0946819],\"properties\":{\"NAME\":\"Gore\",\"NAMEASCII\":\"Gore\",\"POP_MAX\":9750,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[167.7584585,-45.4073648],\"properties\":{\"NAME\":\"Te Anau\",\"NAMEASCII\":\"Te Anau\",\"POP_MAX\":1857,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[168.1665937,-46.8876496],\"properties\":{\"NAME\":\"Oban\",\"NAMEASCII\":\"Oban\",\"POP_MAX\":310,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.8704708,-38.2245148],\"properties\":{\"NAME\":\"Tokoroa\",\"NAMEASCII\":\"Tokoroa\",\"POP_MAX\":13350,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[169.1448522,-44.698014],\"properties\":{\"NAME\":\"Wanaka\",\"NAMEASCII\":\"Wanaka\",\"POP_MAX\":5037,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[174.0165561,-41.2805226],\"properties\":{\"NAME\":\"Picton\",\"NAMEASCII\":\"Picton\",\"POP_MAX\":2928,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[-176.35075368252146,-44.03266464895095],\"properties\":{\"NAME\":\"Waitangi\",\"NAMEASCII\":\"Waitangi\",\"POP_MAX\":300,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[-172.4976654,-8.5486182],\"properties\":{\"NAME\":\"Atafu\",\"NAMEASCII\":\"Atafu\",\"POP_MAX\":524,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[-169.9136254,-19.0659877],\"properties\":{\"NAME\":\"Alofi\",\"NAMEASCII\":\"Alofi\",\"POP_MAX\":581,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[-177.9264115,-29.2465136],\"properties\":{\"NAME\":\"Raoul Island Station\",\"NAMEASCII\":\"Raoul Island Station\",\"POP_MAX\":0,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.4702734,-37.8894284],\"properties\":{\"NAME\":\"Cambridge\",\"NAMEASCII\":\"Cambridge\",\"POP_MAX\":15192,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[173.9506715,-35.2284809],\"properties\":{\"NAME\":\"Kerikeri\",\"NAMEASCII\":\"Kerikeri\",\"POP_MAX\":5856,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[175.8142414,-38.9888881],\"properties\":{\"NAME\":\"Turangi\",\"NAMEASCII\":\"Turangi\",\"POP_MAX\":3240,\"ISO_A2\":\"NZ\",\"SOV_A3\":\"NZL\"}},{\"type\":\"Point\",\"coordinates\":[77.57229066274353,34.16155933706067],\"properties\":{\"NAME\":\"Leh\",\"NAMEASCII\":\"Leh\",\"POP_MAX\":30870,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}},{\"type\":\"Point\",\"coordinates\":[80.52432001010749,16.533657954485985],\"properties\":{\"NAME\":\"Amaravati\",\"NAMEASCII\":\"Amaravati\",\"POP_MAX\":5800000,\"ISO_A2\":\"IN\",\"SOV_A3\":\"IND\"}}]}},\"arcs\":[],\"bbox\":[-179.5899789,-89.9999998,179.3833036,82.4833232]}\n"
  },
  {
    "path": "resources/countries-110m.json",
    "content": "{\"type\":\"Topology\",\"objects\":{\"countries\":{\"type\":\"GeometryCollection\",\"geometries\":[{\"type\":\"MultiPolygon\",\"arcs\":[[[0]],[[1]]],\"id\":\"FJ\",\"properties\":{\"name\":\"Fiji\"}},{\"type\":\"Polygon\",\"arcs\":[[2,3,4,5,6,7,8,9,10]],\"id\":\"TZ\",\"properties\":{\"name\":\"Tanzania\"}},{\"type\":\"Polygon\",\"arcs\":[[11,12,13,14]],\"id\":\"EH\",\"properties\":{\"name\":\"W. Sahara\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[15,16,17,18]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]]],\"id\":\"CA\",\"properties\":{\"name\":\"Canada\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-19,48,49,50]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[-17,58]],[[59]]],\"id\":\"US\",\"properties\":{\"name\":\"United States of America\"}},{\"type\":\"Polygon\",\"arcs\":[[60,61,62,63,64,65]],\"id\":\"KZ\",\"properties\":{\"name\":\"Kazakhstan\"}},{\"type\":\"Polygon\",\"arcs\":[[-63,66,67,68,69]],\"id\":\"UZ\",\"properties\":{\"name\":\"Uzbekistan\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[70,71]],[[72]],[[73]],[[74]]],\"id\":\"PG\",\"properties\":{\"name\":\"Papua New Guinea\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-72,75]],[[76,77]],[[78]],[[79,80]],[[81]],[[82]],[[83]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]]],\"id\":\"ID\",\"properties\":{\"name\":\"Indonesia\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[90,91]],[[92,93,94,95,96,97]]],\"id\":\"AR\",\"properties\":{\"name\":\"Argentina\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-92,98]],[[99,-95,100,101]]],\"id\":\"CL\",\"properties\":{\"name\":\"Chile\"}},{\"type\":\"Polygon\",\"arcs\":[[-8,102,103,104,105,106,107,108,109,110,111]],\"id\":\"CD\",\"properties\":{\"name\":\"Dem. Rep. Congo\"}},{\"type\":\"Polygon\",\"arcs\":[[112,113,114,115]],\"id\":\"SO\",\"properties\":{\"name\":\"Somalia\"}},{\"type\":\"Polygon\",\"arcs\":[[-3,116,117,118,-113,119]],\"id\":\"KE\",\"properties\":{\"name\":\"Kenya\"}},{\"type\":\"Polygon\",\"arcs\":[[120,121,122,123,124,125,126,127]],\"id\":\"SD\",\"properties\":{\"name\":\"Sudan\"}},{\"type\":\"Polygon\",\"arcs\":[[-122,128,129,130,131]],\"id\":\"TD\",\"properties\":{\"name\":\"Chad\"}},{\"type\":\"Polygon\",\"arcs\":[[132,133]],\"id\":\"HT\",\"properties\":{\"name\":\"Haiti\"}},{\"type\":\"Polygon\",\"arcs\":[[-133,134]],\"id\":\"DO\",\"properties\":{\"name\":\"Dominican Rep.\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[135]],[[136]],[[137]],[[138]],[[139]],[[140]],[[141,142,143]],[[144]],[[145]],[[146,147,148,149,-66,150,151,152,153,154,155,156,157,158,159,160,161]],[[162]],[[163,164]]],\"id\":\"RU\",\"properties\":{\"name\":\"Russia\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[165]],[[166]],[[167]]],\"id\":\"BS\",\"properties\":{\"name\":\"Bahamas\"}},{\"type\":\"Polygon\",\"arcs\":[[168]],\"id\":\"FK\",\"properties\":{\"name\":\"Falkland Is.\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[169]],[[-161,170,171,172]],[[173]],[[174]]],\"id\":\"NO\",\"properties\":{\"name\":\"Norway\"}},{\"type\":\"Polygon\",\"arcs\":[[175]],\"id\":\"GL\",\"properties\":{\"name\":\"Greenland\"}},{\"type\":\"Polygon\",\"arcs\":[[176]],\"id\":\"TF\",\"properties\":{\"name\":\"Fr. S. Antarctic Lands\"}},{\"type\":\"Polygon\",\"arcs\":[[177,-77]],\"id\":\"TL\",\"properties\":{\"name\":\"Timor-Leste\"}},{\"type\":\"Polygon\",\"arcs\":[[178,179,180,181,182,183,184],[185]],\"id\":\"ZA\",\"properties\":{\"name\":\"South Africa\"}},{\"type\":\"Polygon\",\"arcs\":[[-186]],\"id\":\"LS\",\"properties\":{\"name\":\"Lesotho\"}},{\"type\":\"Polygon\",\"arcs\":[[-50,186,187,188,189]],\"id\":\"MX\",\"properties\":{\"name\":\"Mexico\"}},{\"type\":\"Polygon\",\"arcs\":[[190,191,-93]],\"id\":\"UY\",\"properties\":{\"name\":\"Uruguay\"}},{\"type\":\"Polygon\",\"arcs\":[[-191,-98,192,193,194,195,196,197,198,199,200]],\"id\":\"BR\",\"properties\":{\"name\":\"Brazil\"}},{\"type\":\"Polygon\",\"arcs\":[[-194,201,-96,-100,202]],\"id\":\"BO\",\"properties\":{\"name\":\"Bolivia\"}},{\"type\":\"Polygon\",\"arcs\":[[-195,-203,-102,203,204,205]],\"id\":\"PE\",\"properties\":{\"name\":\"Peru\"}},{\"type\":\"Polygon\",\"arcs\":[[-196,-206,206,207,208,209,210]],\"id\":\"CO\",\"properties\":{\"name\":\"Colombia\"}},{\"type\":\"Polygon\",\"arcs\":[[-209,211,212,213]],\"id\":\"PA\",\"properties\":{\"name\":\"Panama\"}},{\"type\":\"Polygon\",\"arcs\":[[-213,214,215,216]],\"id\":\"CR\",\"properties\":{\"name\":\"Costa Rica\"}},{\"type\":\"Polygon\",\"arcs\":[[-216,217,218,219]],\"id\":\"NI\",\"properties\":{\"name\":\"Nicaragua\"}},{\"type\":\"Polygon\",\"arcs\":[[-219,220,221,222,223]],\"id\":\"HN\",\"properties\":{\"name\":\"Honduras\"}},{\"type\":\"Polygon\",\"arcs\":[[-222,224,225]],\"id\":\"SV\",\"properties\":{\"name\":\"El Salvador\"}},{\"type\":\"Polygon\",\"arcs\":[[-189,226,227,-223,-226,228]],\"id\":\"GT\",\"properties\":{\"name\":\"Guatemala\"}},{\"type\":\"Polygon\",\"arcs\":[[-188,229,-227]],\"id\":\"BZ\",\"properties\":{\"name\":\"Belize\"}},{\"type\":\"Polygon\",\"arcs\":[[-197,-211,230,231]],\"id\":\"VE\",\"properties\":{\"name\":\"Venezuela\"}},{\"type\":\"Polygon\",\"arcs\":[[-198,-232,232,233]],\"id\":\"GY\",\"properties\":{\"name\":\"Guyana\"}},{\"type\":\"Polygon\",\"arcs\":[[-199,-234,234,235]],\"id\":\"SR\",\"properties\":{\"name\":\"Suriname\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-200,-236,236]],[[237,238,239,240,241,242,243,244]],[[245]]],\"id\":\"FR\",\"properties\":{\"name\":\"France\"}},{\"type\":\"Polygon\",\"arcs\":[[-205,246,-207]],\"id\":\"EC\",\"properties\":{\"name\":\"Ecuador\"}},{\"type\":\"Polygon\",\"arcs\":[[247]],\"id\":\"PR\",\"properties\":{\"name\":\"Puerto Rico\"}},{\"type\":\"Polygon\",\"arcs\":[[248]],\"id\":\"JM\",\"properties\":{\"name\":\"Jamaica\"}},{\"type\":\"Polygon\",\"arcs\":[[249]],\"id\":\"CU\",\"properties\":{\"name\":\"Cuba\"}},{\"type\":\"Polygon\",\"arcs\":[[-181,250,251,252]],\"id\":\"ZW\",\"properties\":{\"name\":\"Zimbabwe\"}},{\"type\":\"Polygon\",\"arcs\":[[-180,253,254,-251]],\"id\":\"BW\",\"properties\":{\"name\":\"Botswana\"}},{\"type\":\"Polygon\",\"arcs\":[[-179,255,256,257,-254]],\"id\":\"NA\",\"properties\":{\"name\":\"Namibia\"}},{\"type\":\"Polygon\",\"arcs\":[[258,259,260,261,262,263,264]],\"id\":\"SN\",\"properties\":{\"name\":\"Senegal\"}},{\"type\":\"Polygon\",\"arcs\":[[-261,265,266,267,268,269,270]],\"id\":\"ML\",\"properties\":{\"name\":\"Mali\"}},{\"type\":\"Polygon\",\"arcs\":[[-13,271,-266,-260,272]],\"id\":\"MR\",\"properties\":{\"name\":\"Mauritania\"}},{\"type\":\"Polygon\",\"arcs\":[[273,274,275,276,277]],\"id\":\"BJ\",\"properties\":{\"name\":\"Benin\"}},{\"type\":\"Polygon\",\"arcs\":[[-131,278,279,-277,280,-268,281,282]],\"id\":\"NE\",\"properties\":{\"name\":\"Niger\"}},{\"type\":\"Polygon\",\"arcs\":[[-278,-280,283,284]],\"id\":\"NG\",\"properties\":{\"name\":\"Nigeria\"}},{\"type\":\"Polygon\",\"arcs\":[[-130,285,286,287,288,289,-284,-279]],\"id\":\"CM\",\"properties\":{\"name\":\"Cameroon\"}},{\"type\":\"Polygon\",\"arcs\":[[-275,290,291,292]],\"id\":\"TG\",\"properties\":{\"name\":\"Togo\"}},{\"type\":\"Polygon\",\"arcs\":[[-292,293,294,295]],\"id\":\"GH\",\"properties\":{\"name\":\"Ghana\"}},{\"type\":\"Polygon\",\"arcs\":[[-270,296,-295,297,298,299]],\"id\":\"CI\",\"properties\":{\"name\":\"Côte d'Ivoire\"}},{\"type\":\"Polygon\",\"arcs\":[[-262,-271,-300,300,301,302,303]],\"id\":\"GN\",\"properties\":{\"name\":\"Guinea\"}},{\"type\":\"Polygon\",\"arcs\":[[-263,-304,304]],\"id\":\"GW\",\"properties\":{\"name\":\"Guinea-Bissau\"}},{\"type\":\"Polygon\",\"arcs\":[[-299,305,306,-301]],\"id\":\"LR\",\"properties\":{\"name\":\"Liberia\"}},{\"type\":\"Polygon\",\"arcs\":[[-302,-307,307]],\"id\":\"SL\",\"properties\":{\"name\":\"Sierra Leone\"}},{\"type\":\"Polygon\",\"arcs\":[[-269,-281,-276,-293,-296,-297]],\"id\":\"BF\",\"properties\":{\"name\":\"Burkina Faso\"}},{\"type\":\"Polygon\",\"arcs\":[[-108,308,-286,-129,-121,309]],\"id\":\"CF\",\"properties\":{\"name\":\"Central African Rep.\"}},{\"type\":\"Polygon\",\"arcs\":[[-107,310,311,312,-287,-309]],\"id\":\"CG\",\"properties\":{\"name\":\"Congo\"}},{\"type\":\"Polygon\",\"arcs\":[[-288,-313,313,314]],\"id\":\"GA\",\"properties\":{\"name\":\"Gabon\"}},{\"type\":\"Polygon\",\"arcs\":[[-289,-315,315]],\"id\":\"GQ\",\"properties\":{\"name\":\"Eq. Guinea\"}},{\"type\":\"Polygon\",\"arcs\":[[-7,316,317,-252,-255,-258,318,-103]],\"id\":\"ZM\",\"properties\":{\"name\":\"Zambia\"}},{\"type\":\"Polygon\",\"arcs\":[[-6,319,-317]],\"id\":\"MW\",\"properties\":{\"name\":\"Malawi\"}},{\"type\":\"Polygon\",\"arcs\":[[-5,320,-184,321,-182,-253,-318,-320]],\"id\":\"MZ\",\"properties\":{\"name\":\"Mozambique\"}},{\"type\":\"Polygon\",\"arcs\":[[-183,-322]],\"id\":\"SZ\",\"properties\":{\"name\":\"eSwatini\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-106,322,-311]],[[-104,-319,-257,323]]],\"id\":\"AO\",\"properties\":{\"name\":\"Angola\"}},{\"type\":\"Polygon\",\"arcs\":[[-9,-112,324]],\"id\":\"BI\",\"properties\":{\"name\":\"Burundi\"}},{\"type\":\"Polygon\",\"arcs\":[[325,326,327,328,329,330,331]],\"id\":\"IL\",\"properties\":{\"name\":\"Israel\"}},{\"type\":\"Polygon\",\"arcs\":[[-331,332,333]],\"id\":\"LB\",\"properties\":{\"name\":\"Lebanon\"}},{\"type\":\"Polygon\",\"arcs\":[[334]],\"id\":\"MG\",\"properties\":{\"name\":\"Madagascar\"}},{\"type\":\"Polygon\",\"arcs\":[[-327,335]],\"id\":\"PS\",\"properties\":{\"name\":\"Palestine\"}},{\"type\":\"Polygon\",\"arcs\":[[-265,336]],\"id\":\"GM\",\"properties\":{\"name\":\"Gambia\"}},{\"type\":\"Polygon\",\"arcs\":[[337,338,339]],\"id\":\"TN\",\"properties\":{\"name\":\"Tunisia\"}},{\"type\":\"Polygon\",\"arcs\":[[-12,340,341,-338,342,-282,-267,-272]],\"id\":\"DZ\",\"properties\":{\"name\":\"Algeria\"}},{\"type\":\"Polygon\",\"arcs\":[[-326,343,344,345,346,-328,-336]],\"id\":\"400\",\"properties\":{\"name\":\"Jordan\"}},{\"type\":\"Polygon\",\"arcs\":[[347,348,349,350,351]],\"id\":\"AE\",\"properties\":{\"name\":\"United Arab Emirates\"}},{\"type\":\"Polygon\",\"arcs\":[[352,353]],\"id\":\"QA\",\"properties\":{\"name\":\"Qatar\"}},{\"type\":\"Polygon\",\"arcs\":[[354,355,356]],\"id\":\"KW\",\"properties\":{\"name\":\"Kuwait\"}},{\"type\":\"Polygon\",\"arcs\":[[-345,357,358,359,360,-357,361]],\"id\":\"IQ\",\"properties\":{\"name\":\"Iraq\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-351,362,363,364]],[[-349,365]]],\"id\":\"OM\",\"properties\":{\"name\":\"Oman\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[366]],[[367]]],\"id\":\"VU\",\"properties\":{\"name\":\"Vanuatu\"}},{\"type\":\"Polygon\",\"arcs\":[[368,369,370,371]],\"id\":\"KH\",\"properties\":{\"name\":\"Cambodia\"}},{\"type\":\"Polygon\",\"arcs\":[[-369,372,373,374,375,376]],\"id\":\"TH\",\"properties\":{\"name\":\"Thailand\"}},{\"type\":\"Polygon\",\"arcs\":[[-370,-377,377,378,379]],\"id\":\"LA\",\"properties\":{\"name\":\"Laos\"}},{\"type\":\"Polygon\",\"arcs\":[[-376,380,381,382,383,-378]],\"id\":\"MM\",\"properties\":{\"name\":\"Myanmar\"}},{\"type\":\"Polygon\",\"arcs\":[[-371,-380,384,385]],\"id\":\"VN\",\"properties\":{\"name\":\"Vietnam\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[386,386,386]],[[-147,387,388,389,390]]],\"id\":\"KP\",\"properties\":{\"name\":\"North Korea\"}},{\"type\":\"Polygon\",\"arcs\":[[-389,391]],\"id\":\"KR\",\"properties\":{\"name\":\"South Korea\"}},{\"type\":\"Polygon\",\"arcs\":[[-149,392]],\"id\":\"MN\",\"properties\":{\"name\":\"Mongolia\"}},{\"type\":\"Polygon\",\"arcs\":[[-383,393,394,395,396,397,398,399,400]],\"id\":\"IN\",\"properties\":{\"name\":\"India\"}},{\"type\":\"Polygon\",\"arcs\":[[-382,401,-394]],\"id\":\"BD\",\"properties\":{\"name\":\"Bangladesh\"}},{\"type\":\"Polygon\",\"arcs\":[[-400,402]],\"id\":\"BT\",\"properties\":{\"name\":\"Bhutan\"}},{\"type\":\"Polygon\",\"arcs\":[[-398,403]],\"id\":\"NP\",\"properties\":{\"name\":\"Nepal\"}},{\"type\":\"Polygon\",\"arcs\":[[-396,404,405,406,407]],\"id\":\"PK\",\"properties\":{\"name\":\"Pakistan\"}},{\"type\":\"Polygon\",\"arcs\":[[-69,408,409,-407,410,411]],\"id\":\"AF\",\"properties\":{\"name\":\"Afghanistan\"}},{\"type\":\"Polygon\",\"arcs\":[[-68,412,413,-409]],\"id\":\"TJ\",\"properties\":{\"name\":\"Tajikistan\"}},{\"type\":\"Polygon\",\"arcs\":[[-62,414,-413,-67]],\"id\":\"KG\",\"properties\":{\"name\":\"Kyrgyzstan\"}},{\"type\":\"Polygon\",\"arcs\":[[-64,-70,-412,415,416]],\"id\":\"TM\",\"properties\":{\"name\":\"Turkmenistan\"}},{\"type\":\"Polygon\",\"arcs\":[[-360,417,418,419,420,421,-416,-411,-406,422]],\"id\":\"IR\",\"properties\":{\"name\":\"Iran\"}},{\"type\":\"Polygon\",\"arcs\":[[-332,-334,423,424,-358,-344]],\"id\":\"SY\",\"properties\":{\"name\":\"Syria\"}},{\"type\":\"Polygon\",\"arcs\":[[-420,425,426,427,428]],\"id\":\"AM\",\"properties\":{\"name\":\"Armenia\"}},{\"type\":\"Polygon\",\"arcs\":[[-172,429,430]],\"id\":\"SE\",\"properties\":{\"name\":\"Sweden\"}},{\"type\":\"Polygon\",\"arcs\":[[-156,431,432,433,434]],\"id\":\"BY\",\"properties\":{\"name\":\"Belarus\"}},{\"type\":\"Polygon\",\"arcs\":[[-155,435,-164,436,437,438,439,440,441,442,-432]],\"id\":\"UA\",\"properties\":{\"name\":\"Ukraine\"}},{\"type\":\"Polygon\",\"arcs\":[[-433,-443,443,444,445,446,-142,447]],\"id\":\"PL\",\"properties\":{\"name\":\"Poland\"}},{\"type\":\"Polygon\",\"arcs\":[[448,449,450,451,452,453,454]],\"id\":\"AT\",\"properties\":{\"name\":\"Austria\"}},{\"type\":\"Polygon\",\"arcs\":[[-441,455,456,457,458,-449,459]],\"id\":\"HU\",\"properties\":{\"name\":\"Hungary\"}},{\"type\":\"Polygon\",\"arcs\":[[-439,460]],\"id\":\"MD\",\"properties\":{\"name\":\"Moldova\"}},{\"type\":\"Polygon\",\"arcs\":[[-438,461,462,463,-456,-440,-461]],\"id\":\"RO\",\"properties\":{\"name\":\"Romania\"}},{\"type\":\"Polygon\",\"arcs\":[[-434,-448,-144,464,465]],\"id\":\"LT\",\"properties\":{\"name\":\"Lithuania\"}},{\"type\":\"Polygon\",\"arcs\":[[-157,-435,-466,466,467]],\"id\":\"LV\",\"properties\":{\"name\":\"Latvia\"}},{\"type\":\"Polygon\",\"arcs\":[[-158,-468,468]],\"id\":\"EE\",\"properties\":{\"name\":\"Estonia\"}},{\"type\":\"Polygon\",\"arcs\":[[-446,469,-453,470,-238,471,472,473,474,475,476]],\"id\":\"DE\",\"properties\":{\"name\":\"Germany\"}},{\"type\":\"Polygon\",\"arcs\":[[-463,477,478,479,480,481]],\"id\":\"BG\",\"properties\":{\"name\":\"Bulgaria\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[482]],[[-480,483,484,485,486]]],\"id\":\"GR\",\"properties\":{\"name\":\"Greece\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-359,-425,487,488,-427,-418]],[[-479,489,-484]]],\"id\":\"TR\",\"properties\":{\"name\":\"Turkey\"}},{\"type\":\"Polygon\",\"arcs\":[[-486,490,491,492,493]],\"id\":\"AL\",\"properties\":{\"name\":\"Albania\"}},{\"type\":\"Polygon\",\"arcs\":[[-458,494,495,496,497,498]],\"id\":\"HR\",\"properties\":{\"name\":\"Croatia\"}},{\"type\":\"Polygon\",\"arcs\":[[-452,499,-239,-471]],\"id\":\"CH\",\"properties\":{\"name\":\"Switzerland\"}},{\"type\":\"Polygon\",\"arcs\":[[-472,-245,500]],\"id\":\"LU\",\"properties\":{\"name\":\"Luxembourg\"}},{\"type\":\"Polygon\",\"arcs\":[[-473,-501,-244,501,502]],\"id\":\"BE\",\"properties\":{\"name\":\"Belgium\"}},{\"type\":\"Polygon\",\"arcs\":[[-474,-503,503]],\"id\":\"NL\",\"properties\":{\"name\":\"Netherlands\"}},{\"type\":\"Polygon\",\"arcs\":[[504,505]],\"id\":\"PT\",\"properties\":{\"name\":\"Portugal\"}},{\"type\":\"Polygon\",\"arcs\":[[-505,506,-242,507]],\"id\":\"ES\",\"properties\":{\"name\":\"Spain\"}},{\"type\":\"Polygon\",\"arcs\":[[508,509]],\"id\":\"IE\",\"properties\":{\"name\":\"Ireland\"}},{\"type\":\"Polygon\",\"arcs\":[[510]],\"id\":\"NC\",\"properties\":{\"name\":\"New Caledonia\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[511]],[[512]],[[513]],[[514]],[[515]]],\"id\":\"SB\",\"properties\":{\"name\":\"Solomon Is.\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[516]],[[517]]],\"id\":\"NZ\",\"properties\":{\"name\":\"New Zealand\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[518]],[[519]]],\"id\":\"AU\",\"properties\":{\"name\":\"Australia\"}},{\"type\":\"Polygon\",\"arcs\":[[520]],\"id\":\"LK\",\"properties\":{\"name\":\"Sri Lanka\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[521]],[[-61,-150,-393,-148,-391,522,-385,-379,-384,-401,-403,-399,-404,-397,-408,-410,-414,-415]]],\"id\":\"CN\",\"properties\":{\"name\":\"China\"}},{\"type\":\"Polygon\",\"arcs\":[[523]],\"id\":\"TW\",\"properties\":{\"name\":\"Taiwan\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-451,524,525,-240,-500]],[[526]],[[527]]],\"id\":\"IT\",\"properties\":{\"name\":\"Italy\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-476,528]],[[529]]],\"id\":\"DK\",\"properties\":{\"name\":\"Denmark\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-510,530]],[[531]]],\"id\":\"GB\",\"properties\":{\"name\":\"United Kingdom\"}},{\"type\":\"Polygon\",\"arcs\":[[532]],\"id\":\"IS\",\"properties\":{\"name\":\"Iceland\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-152,533,-421,-429,534]],[[-419,-426]]],\"id\":\"AZ\",\"properties\":{\"name\":\"Azerbaijan\"}},{\"type\":\"Polygon\",\"arcs\":[[-153,-535,-428,-489,535]],\"id\":\"GE\",\"properties\":{\"name\":\"Georgia\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[536]],[[537]],[[538]],[[539]],[[540]],[[541]],[[542]]],\"id\":\"PH\",\"properties\":{\"name\":\"Philippines\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[-374,543]],[[-81,544,545,546]]],\"id\":\"MY\",\"properties\":{\"name\":\"Malaysia\"}},{\"type\":\"Polygon\",\"arcs\":[[-546,547]],\"id\":\"BN\",\"properties\":{\"name\":\"Brunei\"}},{\"type\":\"Polygon\",\"arcs\":[[-450,-459,-499,548,-525]],\"id\":\"SI\",\"properties\":{\"name\":\"Slovenia\"}},{\"type\":\"Polygon\",\"arcs\":[[-160,549,-430,-171]],\"id\":\"FI\",\"properties\":{\"name\":\"Finland\"}},{\"type\":\"Polygon\",\"arcs\":[[-442,-460,-455,550,-444]],\"id\":\"SK\",\"properties\":{\"name\":\"Slovakia\"}},{\"type\":\"Polygon\",\"arcs\":[[-445,-551,-454,-470]],\"id\":\"CZ\",\"properties\":{\"name\":\"Czechia\"}},{\"type\":\"Polygon\",\"arcs\":[[-126,551,552,553]],\"id\":\"ER\",\"properties\":{\"name\":\"Eritrea\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[554]],[[555]],[[556]]],\"id\":\"JP\",\"properties\":{\"name\":\"Japan\"}},{\"type\":\"Polygon\",\"arcs\":[[-193,-97,-202]],\"id\":\"PY\",\"properties\":{\"name\":\"Paraguay\"}},{\"type\":\"Polygon\",\"arcs\":[[-364,557,558]],\"id\":\"YE\",\"properties\":{\"name\":\"Yemen\"}},{\"type\":\"Polygon\",\"arcs\":[[-346,-362,-356,559,-354,560,-352,-365,-559,561]],\"id\":\"SA\",\"properties\":{\"name\":\"Saudi Arabia\"}},{\"type\":\"MultiPolygon\",\"arcs\":[[[562]],[[563]],[[564]],[[565]],[[566]],[[567]],[[568]],[[569]]],\"id\":\"AQ\",\"properties\":{\"name\":\"Antarctica\"}},{\"type\":\"Polygon\",\"arcs\":[[570,571]],\"properties\":{\"name\":\"N. Cyprus\"}},{\"type\":\"Polygon\",\"arcs\":[[-572,572]],\"id\":\"CY\",\"properties\":{\"name\":\"Cyprus\"}},{\"type\":\"Polygon\",\"arcs\":[[-341,-15,573]],\"id\":\"MA\",\"properties\":{\"name\":\"Morocco\"}},{\"type\":\"Polygon\",\"arcs\":[[-124,574,575,-329,576]],\"id\":\"EG\",\"properties\":{\"name\":\"Egypt\"}},{\"type\":\"Polygon\",\"arcs\":[[-123,-132,-283,-343,-340,577,-575]],\"id\":\"LY\",\"properties\":{\"name\":\"Libya\"}},{\"type\":\"Polygon\",\"arcs\":[[-114,-119,578,-127,-554,579,580]],\"id\":\"ET\",\"properties\":{\"name\":\"Ethiopia\"}},{\"type\":\"Polygon\",\"arcs\":[[-553,581,582,-580]],\"id\":\"DJ\",\"properties\":{\"name\":\"Djibouti\"}},{\"type\":\"Polygon\",\"arcs\":[[-115,-581,-583,583]],\"properties\":{\"name\":\"Somaliland\"}},{\"type\":\"Polygon\",\"arcs\":[[-11,584,-110,585,-117]],\"id\":\"UG\",\"properties\":{\"name\":\"Uganda\"}},{\"type\":\"Polygon\",\"arcs\":[[-10,-325,-111,-585]],\"id\":\"RW\",\"properties\":{\"name\":\"Rwanda\"}},{\"type\":\"Polygon\",\"arcs\":[[-496,586,587]],\"id\":\"BA\",\"properties\":{\"name\":\"Bosnia and Herz.\"}},{\"type\":\"Polygon\",\"arcs\":[[-481,-487,-494,588,589]],\"id\":\"MK\",\"properties\":{\"name\":\"Macedonia\"}},{\"type\":\"Polygon\",\"arcs\":[[-457,-464,-482,-590,590,591,-587,-495]],\"id\":\"RS\",\"properties\":{\"name\":\"Serbia\"}},{\"type\":\"Polygon\",\"arcs\":[[-492,592,-497,-588,-592,593]],\"id\":\"ME\",\"properties\":{\"name\":\"Montenegro\"}},{\"type\":\"Polygon\",\"arcs\":[[-493,-594,-591,-589]],\"properties\":{\"name\":\"Kosovo\"}},{\"type\":\"Polygon\",\"arcs\":[[594]],\"id\":\"TT\",\"properties\":{\"name\":\"Trinidad and Tobago\"}},{\"type\":\"Polygon\",\"arcs\":[[-109,-310,-128,-579,-118,-586]],\"id\":\"SS\",\"properties\":{\"name\":\"S. Sudan\"}}]},\"land\":{\"type\":\"GeometryCollection\",\"geometries\":[{\"type\":\"MultiPolygon\",\"arcs\":[[[0]],[[1]],[[3,320,184,255,323,104,322,311,313,315,289,284,273,290,293,297,305,307,302,304,263,336,258,272,13,573,341,338,577,575,329,332,423,487,535,153,435,164,436,461,477,489,484,490,592,497,548,525,240,507,505,506,242,501,503,474,528,476,446,142,464,466,468,158,549,430,172,161,387,391,389,522,385,371,372,543,374,380,401,394,404,422,360,354,559,352,560,347,365,349,362,557,561,346,576,124,551,581,583,115,119],[421,416,64,150,533]],[[17,48,186,229,227,223,219,216,213,209,230,232,234,236,200,191,93,100,203,246,207,211,214,217,220,224,228,189,50,15,58]],[[19]],[[20]],[[21]],[[22]],[[23]],[[24]],[[25]],[[26]],[[27]],[[28]],[[29]],[[30]],[[31]],[[32]],[[33]],[[34]],[[35]],[[36]],[[37]],[[38]],[[39]],[[40]],[[41]],[[42]],[[43]],[[44]],[[45]],[[46]],[[47]],[[51]],[[52]],[[53]],[[54]],[[55]],[[56]],[[57]],[[59]],[[70,75]],[[72]],[[73]],[[74]],[[77,177]],[[78]],[[546,79,544,547]],[[81]],[[82]],[[83]],[[84]],[[85]],[[86]],[[87]],[[88]],[[89]],[[90,98]],[[133,134]],[[135]],[[136]],[[137]],[[138]],[[139]],[[140]],[[144]],[[145]],[[162]],[[165]],[[166]],[[167]],[[168]],[[169]],[[173]],[[174]],[[175]],[[176]],[[245]],[[247]],[[248]],[[249]],[[334]],[[366]],[[367]],[[482]],[[508,530]],[[510]],[[511]],[[512]],[[513]],[[514]],[[515]],[[516]],[[517]],[[518]],[[519]],[[520]],[[521]],[[523]],[[526]],[[527]],[[529]],[[531]],[[532]],[[536]],[[537]],[[538]],[[539]],[[540]],[[541]],[[542]],[[554]],[[555]],[[556]],[[562]],[[563]],[[564]],[[565]],[[566]],[[567]],[[568]],[[569]],[[570,572]],[[594]]]}]}},\"arcs\":[[[99478,40237],[69,98],[96,-171],[-46,-308],[-172,-81],[-153,73],[-27,260],[107,203],[126,-74]],[[0,41087],[57,27],[-34,-284],[-23,-32],[99822,-145],[-177,-124],[-36,220],[139,121],[88,33],[163,184],[-99999,0]],[[59417,50018],[47,-65],[1007,-1203],[19,-343],[399,-590]],[[60889,47817],[-128,-728],[16,-335],[178,-216],[8,-153],[-76,-357],[16,-180],[-18,-282],[97,-370],[115,-583],[101,-129]],[[61198,44484],[-221,-342],[-303,-230],[-167,10],[-99,-177],[-193,-16],[-73,-74],[-334,166],[-209,-48]],[[59599,43773],[-77,804],[-95,275],[-55,164],[-273,110]],[[59099,45126],[-157,177],[-177,100],[-111,99],[-116,150]],[[58538,45652],[-150,745],[-161,330],[-55,343],[27,307],[-50,544]],[[58149,47921],[115,28],[101,214],[108,308],[69,124],[-3,192],[-60,134],[-16,233]],[[58463,49154],[80,74],[16,348],[-110,333]],[[58449,49909],[98,71],[304,-7],[566,45]],[[47592,66920],[1,-40],[-6,-114]],[[47587,66766],[-1,-895],[-911,31],[9,-1512],[-261,-53],[-68,-304],[53,-853],[-1088,4],[-60,-197]],[[45260,62987],[12,249]],[[45272,63236],[5,-1],[625,48],[33,213],[114,265],[92,816],[386,637],[131,745],[86,44],[91,460],[234,63],[100,-76],[126,0],[90,134],[172,19],[-7,317],[42,0]],[[15878,79530],[-38,1],[-537,581],[-199,255],[-503,244],[-155,523],[40,363],[-356,252],[-48,476],[-336,429],[-6,304]],[[13740,82958],[154,285],[-7,373],[-473,376],[-284,674],[-173,424],[-255,266],[-187,242],[-147,306],[-279,-192],[-270,-330],[-247,388],[-194,259],[-271,164],[-273,17],[1,3364],[2,2193]],[[10837,91767],[518,-142],[438,-285],[289,-54],[244,247],[336,184],[413,-72],[416,259],[455,148],[191,-245],[207,138],[62,278],[192,-63],[470,-530],[369,401],[38,-449],[341,97],[105,173],[337,-34],[424,-248],[650,-217],[383,-100],[272,38],[374,-300],[-390,-293],[502,-127],[750,70],[236,103],[296,-354],[302,299],[-283,251],[179,202],[338,27],[223,59],[224,-141],[279,-321],[310,47],[491,-266],[431,94],[405,-14],[-32,367],[247,103],[431,-200],[-2,-559],[177,471],[223,-16],[126,594],[-298,364],[-324,239],[22,653],[329,429],[366,-95],[281,-261],[378,-666],[-247,-290],[517,-120],[-1,-604],[371,463],[332,-380],[-83,-438],[269,-399],[290,427],[202,510],[16,649],[394,-46],[411,-87],[373,-293],[17,-293],[-207,-315],[196,-316],[-36,-288],[-544,-413],[-386,-91],[-287,178],[-83,-297],[-268,-498],[-81,-259],[-322,-399],[-397,-39],[-220,-250],[-18,-384],[-323,-74],[-340,-479],[-301,-665],[-108,-466],[-16,-686],[409,-99],[125,-553],[130,-448],[388,117],[517,-256],[277,-225],[199,-279],[348,-163],[294,-248],[459,-34],[302,-58],[-45,-511],[86,-594],[201,-661],[414,-561],[214,192],[150,607],[-145,934],[-196,311],[445,276],[314,415],[154,411],[-23,395],[-188,502],[-338,445],[328,619],[-121,535],[-93,922],[194,137],[476,-161],[286,-57],[230,155],[258,-200],[342,-343],[85,-229],[495,-45],[-8,-496],[92,-747],[254,-92],[201,-348],[402,328],[266,652],[184,274],[216,-527],[362,-754],[307,-709],[-112,-371],[370,-333],[250,-338],[442,-152],[179,-189],[110,-500],[216,-78],[112,-223],[20,-664],[-202,-222],[-199,-207],[-458,-210],[-349,-486],[-470,-96],[-594,125],[-417,4],[-287,-41],[-233,-424],[-354,-262],[-401,-782],[-320,-545],[236,97],[446,776],[583,493],[415,58],[246,-289],[-262,-397],[88,-637],[91,-446],[361,-295],[459,86],[278,664],[19,-429],[180,-214],[-344,-387],[-615,-351],[-276,-239],[-310,-426],[-211,44],[-11,500],[483,488],[-445,-19],[-309,-72]],[[31350,77248],[-181,334],[0,805],[-123,171],[-187,-100],[-92,155],[-212,-446],[-84,-460],[-99,-269],[-118,-91],[-89,-30],[-28,-146],[-512,0],[-422,-4],[-125,-109],[-294,-425],[-34,-46],[-89,-231],[-255,1],[-273,-3],[-125,-93],[44,-116],[25,-181],[-5,-60],[-363,-293],[-286,-93],[-323,-316],[-70,0],[-94,93],[-31,85],[6,61],[61,207],[131,325],[81,349],[-56,514],[-59,536],[-290,277],[35,105],[-41,73],[-76,0],[-56,93],[-14,140],[-54,-61],[-75,18],[17,59],[-65,58],[-27,155],[-216,189],[-224,197],[-272,229],[-261,214],[-248,-167],[-91,-6],[-342,154],[-225,-77],[-269,183],[-284,94],[-194,36],[-86,100],[-49,325],[-94,-3],[-1,-227],[-575,0],[-951,0],[-944,0],[-833,0],[-834,0],[-819,0],[-847,0],[-273,0],[-824,0],[-789,0]],[[26668,87478],[207,273],[381,-6],[-6,-114],[-325,-326],[-196,13],[-61,160]],[[27840,93593],[-306,313],[12,213],[133,39],[636,-63],[479,-325],[25,-163],[-296,17],[-299,13],[-304,-80],[-80,36]],[[27690,87261],[107,177],[114,-13],[70,-121],[-108,-310],[-123,50],[-73,176],[13,41]],[[23996,94879],[-151,-229],[-403,44],[-337,155],[148,266],[399,159],[243,-208],[101,-187]],[[23933,96380],[-126,-17],[-521,38],[-74,165],[559,-9],[195,-109],[-33,-68]],[[23124,97116],[332,-205],[-76,-214],[-411,-122],[-226,138],[-119,221],[-22,245],[360,-24],[162,-39]],[[25514,94532],[-449,73],[-738,190],[-96,325],[-34,293],[-279,258],[-574,72],[-322,183],[104,242],[573,-37],[308,-190],[547,1],[240,-194],[-64,-222],[319,-134],[177,-140],[374,-26],[406,-50],[441,128],[566,51],[451,-42],[298,-223],[62,-244],[-174,-157],[-414,-127],[-355,72],[-797,-91],[-570,-11]],[[19093,96754],[392,-92],[-93,-177],[-518,-170],[-411,191],[224,188],[406,60]],[[19177,97139],[361,-120],[-339,-115],[-461,1],[5,84],[285,177],[149,-27]],[[34555,80899],[-148,-372],[-184,-517],[181,199],[187,-126],[-98,-206],[247,-162],[128,144],[277,-182],[-86,-433],[194,101],[36,-313],[86,-367],[-117,-520],[-125,-22],[-183,111],[60,484],[-77,75],[-322,-513],[-166,21],[196,277],[-267,144],[-298,-35],[-539,18],[-43,175],[173,208],[-121,160],[234,356],[287,941],[172,336],[241,204],[129,-26],[-54,-160]],[[26699,89048],[304,-203],[318,-184],[25,-281],[204,46],[199,-196],[-247,-186],[-432,142],[-156,266],[-275,-314],[-396,-306],[-95,346],[-377,-57],[242,292],[35,465],[95,542],[201,-49],[51,-259],[143,91],[161,-155]],[[28119,93327],[263,235],[616,-299],[383,-282],[36,-258],[515,134],[290,-376],[670,-234],[242,-238],[263,-553],[-510,-275],[654,-386],[441,-130],[400,-543],[437,-39],[-87,-414],[-487,-687],[-342,253],[-437,568],[-359,-74],[-35,-338],[292,-344],[377,-272],[114,-157],[181,-584],[-96,-425],[-350,160],[-697,473],[393,-509],[289,-357],[45,-206],[-753,236],[-596,343],[-337,287],[97,167],[-414,304],[-405,286],[5,-171],[-803,-94],[-235,203],[183,435],[522,10],[571,76],[-92,211],[96,294],[360,576],[-77,261],[-107,203],[-425,286],[-563,201],[178,150],[-294,367],[-245,34],[-219,201],[-149,-175],[-503,-76],[-1011,132],[-588,174],[-450,89],[-231,207],[290,270],[-394,2],[-88,599],[213,528],[286,241],[717,158],[-204,-382],[219,-369],[256,477],[704,242],[477,-611],[-42,-387],[550,172]],[[23749,94380],[579,-20],[530,-144],[-415,-526],[-331,-115],[-298,-442],[-317,22],[-173,519],[4,294],[145,251],[276,161]],[[15873,95551],[472,442],[570,383],[426,-9],[381,87],[-38,-454],[-214,-205],[-259,-29],[-517,-252],[-444,-91],[-377,128]],[[13136,82508],[267,47],[-84,-671],[242,-475],[-111,1],[-167,270],[-103,272],[-140,184],[-51,260],[16,188],[131,-76]],[[20696,97433],[546,-81],[751,-215],[212,-281],[108,-247],[-453,66],[-457,192],[-619,21],[268,176],[-335,142],[-21,227]],[[15692,79240],[-140,-82],[-456,269],[-84,209],[-248,207],[-50,168],[-286,107],[-107,321],[24,137],[291,-129],[171,-89],[261,-63],[94,-204],[138,-280],[277,-244],[115,-327]],[[16239,94566],[397,-123],[709,-33],[270,-171],[298,-249],[-349,-149],[-681,-415],[-344,-414],[0,-257],[-731,-285],[-147,259],[-641,312],[119,250],[192,432],[241,388],[-272,362],[939,93]],[[20050,95391],[247,99],[291,-26],[49,-289],[-169,-281],[-940,-91],[-701,-256],[-423,-14],[-35,193],[577,261],[-1255,-70],[-389,106],[379,577],[262,165],[782,-199],[493,-350],[485,-45],[-397,565],[255,215],[286,-68],[94,-282],[109,-210]],[[20410,93755],[311,-239],[175,-575],[86,-417],[466,-293],[502,-279],[-31,-260],[-456,-48],[178,-227],[-94,-217],[-503,93],[-478,160],[-322,-36],[-522,-201],[-704,-88],[-494,-56],[-151,279],[-379,161],[-246,-66],[-343,468],[185,62],[429,101],[392,-26],[362,103],[-537,138],[-594,-47],[-394,12],[-146,217],[644,237],[-428,-9],[-485,156],[233,443],[193,235],[744,359],[284,-114],[-139,-277],[618,179],[386,-298],[314,302],[254,-194],[227,-580],[140,244],[-197,606],[244,86],[276,-94]],[[22100,93536],[-306,386],[329,286],[331,-124],[496,75],[72,-172],[-259,-283],[420,-254],[-50,-532],[-455,-229],[-268,50],[-192,225],[-690,456],[5,189],[567,-73]],[[20389,94064],[372,24],[211,-130],[-244,-390],[-434,413],[95,83]],[[22639,95907],[212,-273],[9,-303],[-127,-440],[-458,-60],[-298,94],[5,345],[-455,-46],[-18,457],[299,-18],[419,201],[390,-34],[22,77]],[[23329,98201],[192,180],[285,42],[-122,135],[646,30],[355,-315],[468,-127],[455,-112],[220,-390],[334,-190],[-381,-176],[-513,-445],[-492,-42],[-575,76],[-299,240],[4,215],[220,157],[-508,-4],[-306,196],[-176,268],[193,262]],[[24559,98965],[413,112],[324,19],[545,96],[409,220],[344,-30],[300,-166],[211,319],[367,95],[498,65],[849,24],[148,-63],[802,100],[601,-38],[602,-37],[742,-47],[597,-75],[508,-161],[-12,-157],[-678,-257],[-672,-119],[-251,-133],[605,3],[-656,-358],[-452,-167],[-476,-483],[-573,-98],[-177,-120],[-841,-64],[383,-74],[-192,-105],[230,-292],[-264,-202],[-429,-167],[-132,-232],[-388,-176],[39,-134],[475,23],[6,-144],[-742,-355],[-726,163],[-816,-91],[-414,71],[-525,31],[-35,284],[514,133],[-137,427],[170,41],[742,-255],[-379,379],[-450,113],[225,229],[492,141],[79,206],[-392,231],[-118,304],[759,-26],[220,-64],[433,216],[-625,68],[-972,-38],[-491,201],[-232,239],[-324,173],[-61,202]],[[29106,90427],[-180,-174],[-312,-30],[-69,289],[118,331],[255,82],[217,-163],[3,-253],[-32,-82]],[[23262,91636],[169,-226],[-173,-207],[-374,179],[-226,-65],[-380,266],[245,183],[194,256],[295,-168],[166,-106],[84,-112]],[[32078,80046],[96,49],[365,-148],[284,-247],[8,-108],[-135,-11],[-360,186],[-258,279]],[[32218,78370],[97,-288],[202,-79],[257,16],[-137,-242],[-102,-38],[-353,250],[-69,198],[105,183]],[[31350,77248],[48,-194],[-296,-286],[-286,-204],[-293,-175],[-147,-351],[-47,-133],[-3,-313],[92,-313],[115,-15],[-29,216],[83,-131],[-22,-169],[-188,-96],[-133,11],[-205,-103],[-121,-29],[-162,-29],[-231,-171],[408,111],[82,-112],[-389,-177],[-177,-1],[8,72],[-84,-164],[82,-27],[-60,-424],[-203,-455],[-20,152],[-61,30],[-91,148],[57,-318],[69,-105],[5,-223],[-89,-230],[-157,-472],[-25,24],[86,402],[-142,225],[-33,491],[-53,-255],[59,-375],[-183,93],[191,-191],[12,-562],[79,-41],[29,-204],[39,-591],[-176,-439],[-288,-175],[-182,-346],[-139,-38],[-141,-217],[-39,-199],[-305,-383],[-157,-281],[-131,-351],[-43,-419],[50,-411],[92,-505],[124,-418],[1,-256],[132,-685],[-9,-398],[-12,-230],[-69,-361],[-83,-75],[-137,72],[-44,259],[-105,136],[-148,508],[-129,452],[-42,231],[57,393],[-77,325],[-217,494],[-108,90],[-281,-268],[-49,30],[-135,275],[-174,147],[-314,-75],[-247,66],[-212,-41],[-114,-92],[50,-157],[-5,-240],[59,-117],[-53,-77],[-103,87],[-104,-112],[-202,18],[-207,312],[-242,-73],[-202,137],[-173,-42],[-234,-138],[-253,-438],[-276,-255],[-152,-282],[-63,-266],[-3,-407],[14,-284],[52,-201]],[[23016,65864],[-108,-18],[-197,130],[-217,184],[-78,277],[-61,414],[-164,337],[-96,346],[-139,404],[-196,236],[-227,-11],[-175,-467],[-230,177],[-144,178],[-69,325],[-92,309],[-165,260],[-142,186],[-102,210],[-481,0],[0,-244],[-221,0],[-552,-4],[-634,416],[-419,287],[26,116],[-353,-64],[-316,-46]],[[17464,69802],[-46,302],[-180,340],[-130,71],[-30,169],[-156,30],[-100,159],[-258,59],[-71,95],[-33,324],[-270,594],[-231,821],[10,137],[-123,195],[-215,495],[-38,482],[-148,323],[61,489],[-10,507],[-89,453],[109,557],[34,536],[33,536],[-50,792],[-88,506],[-80,274],[33,115],[402,-200],[148,-558],[69,156],[-45,484],[-94,485]],[[6833,62443],[49,-51],[45,-79],[71,-207],[-7,-33],[-108,-126],[-89,-92],[-41,-99],[-69,84],[8,165],[-46,216],[14,65],[48,97],[-19,116],[16,55],[21,-11],[107,-100]],[[6668,62848],[-23,-71],[-94,-43],[-47,125],[-32,48],[-3,37],[27,50],[99,-56],[73,-90]],[[6456,63091],[-9,-63],[-149,17],[21,72],[137,-26]],[[6104,63411],[23,-38],[80,-196],[-15,-34],[-19,8],[-97,21],[-35,133],[-11,24],[74,82]],[[5732,63705],[5,-138],[-33,-58],[-93,107],[14,43],[43,58],[64,-12]],[[3759,86256],[220,-54],[27,-226],[-171,-92],[-182,110],[-168,161],[274,101]],[[7436,84829],[185,-40],[117,-183],[-240,-281],[-277,-225],[-142,152],[-43,277],[252,210],[148,90]],[[13740,82958],[-153,223],[-245,188],[-78,515],[-358,478],[-150,558],[-267,38],[-441,15],[-326,170],[-574,613],[-266,112],[-486,211],[-385,-51],[-546,272],[-330,252],[-309,-125],[58,-411],[-154,-38],[-321,-123],[-245,-199],[-308,-126],[-39,348],[125,580],[295,182],[-76,148],[-354,-329],[-190,-394],[-400,-420],[203,-287],[-262,-424],[-299,-248],[-278,-180],[-69,-261],[-434,-305],[-87,-278],[-325,-252],[-191,45],[-259,-165],[-282,-201],[-231,-197],[-477,-169],[-43,99],[304,276],[271,182],[296,324],[345,66],[137,243],[385,353],[62,119],[205,208],[48,448],[141,349],[-320,-179],[-90,102],[-150,-215],[-181,300],[-75,-212],[-104,294],[-278,-236],[-170,0],[-24,352],[50,216],[-179,211],[-361,-113],[-235,277],[-190,142],[-1,334],[-214,252],[108,340],[226,330],[99,303],[225,43],[191,-94],[224,285],[201,-51],[212,183],[-52,270],[-155,106],[205,228],[-170,-7],[-295,-128],[-85,-131],[-219,131],[-392,-67],[-407,142],[-117,238],[-351,343],[390,247],[620,289],[228,0],[-38,-296],[586,23],[-225,366],[-342,225],[-197,296],[-267,252],[-381,187],[155,309],[493,19],[350,270],[66,287],[284,281],[271,68],[526,262],[256,-40],[427,315],[421,-124],[201,-266],[123,114],[469,-35],[-16,-136],[425,-101],[283,59],[585,-186],[534,-56],[214,-77],[370,96],[421,-177],[302,-83]],[[2297,88264],[171,-113],[173,61],[225,-156],[276,-79],[-23,-64],[-211,-125],[-211,128],[-106,107],[-245,-34],[-66,52],[17,223]],[[74266,79657],[-212,-393],[-230,-56],[-13,-592],[-155,-267],[-551,194],[-200,-1058],[-143,-131],[-550,-236],[250,-1026],[-190,-154],[22,-337]],[[72294,75601],[-171,87],[-140,212],[-412,62],[-461,16],[-100,-65],[-396,248],[-158,-122],[-43,-349],[-457,204],[-183,-84],[-62,-259]],[[69711,75551],[-159,-109],[-367,-412],[-121,-422],[-104,-4],[-76,280],[-353,19],[-57,484],[-135,4],[21,593],[-333,431],[-476,-46],[-326,-86],[-265,533],[-227,223],[-431,423],[-52,51],[-715,-349],[11,-2178]],[[65546,74986],[-142,-29],[-195,463],[-188,166],[-315,-123],[-123,-197]],[[64583,75266],[-15,144],[68,246],[-53,206],[-322,202],[-125,530],[-154,150],[-9,192],[270,-56],[11,432],[236,96],[243,-88],[50,576],[-50,365],[-278,-28],[-236,144],[-321,-260],[-259,-124]],[[63639,77993],[-142,96],[29,304],[-177,395],[-207,-17],[-235,401],[160,448],[-81,120],[222,649],[285,-342],[35,431],[573,643],[434,15],[612,-409],[329,-239],[295,249],[440,12],[356,-306],[80,175],[391,-25],[69,280],[-450,406],[267,288],[-52,161],[266,153],[-200,405],[127,202],[1039,205],[136,146],[695,218],[250,245],[499,-127],[88,-612],[290,144],[356,-202],[-23,-322],[267,33],[696,558],[-102,-185],[355,-457],[620,-1500],[148,309],[383,-340],[399,151],[154,-106],[133,-341],[194,-115],[119,-251],[358,79],[147,-361]],[[69711,75551],[83,-58],[-234,-382],[205,-223],[198,147],[329,-311],[-355,-425],[-212,58]],[[69725,74357],[-114,-15],[-40,164],[58,274],[-371,-137],[-89,-380],[-132,-326],[-232,28],[-72,-261],[204,-140],[60,-440],[-156,-598]],[[68841,72526],[-210,124],[-154,4]],[[68477,72654],[7,362],[-369,253],[-291,289],[-181,278],[-317,408],[-137,609],[-93,108],[-301,-27],[-106,121],[-30,471],[-374,312],[-234,-343],[-237,-204],[45,-297],[-313,-8]],[[89166,49043],[482,-407],[513,-338],[192,-302],[154,-297],[43,-349],[462,-365],[68,-313],[-256,-64],[62,-393],[248,-388],[180,-627],[159,20],[-11,-262],[215,-100],[-84,-111],[295,-249],[-30,-171],[-184,-41],[-69,153],[-238,66],[-281,89],[-216,377],[-158,325],[-144,517],[-362,259],[-235,-169],[-170,-195],[35,-436],[-218,-203],[-155,99],[-288,25]],[[89175,45193],[-4,1925],[-5,1925]],[[92399,48417],[106,-189],[33,-307],[-87,-157],[-52,348],[-65,229],[-126,193],[-158,252],[-200,174],[77,143],[150,-166],[94,-130],[117,-142],[111,-248]],[[92027,47129],[-152,-144],[-142,-138],[-148,1],[-228,171],[-158,165],[23,183],[249,-86],[152,46],[42,283],[40,15],[27,-314],[158,45],[78,202],[155,211],[-30,348],[166,11],[56,-97],[-5,-327],[-93,-361],[-146,-48],[-44,-166]],[[92988,47425],[84,-134],[135,-375],[131,-200],[-39,-166],[-78,-59],[-120,227],[-122,375],[-59,450],[38,57],[30,-175]],[[89175,45193],[-247,485],[-282,118],[-69,-168],[-352,-18],[118,481],[175,164],[-72,642],[-134,496],[-538,500],[-229,50],[-417,546],[-82,-287],[-107,-52],[-63,216],[-1,257],[-212,290],[299,213],[198,-11],[-23,156],[-407,1],[-110,352],[-248,109],[-117,293],[374,143],[142,192],[446,-242],[44,-220],[78,-955],[287,-354],[232,627],[319,356],[247,1],[238,-206],[206,-212],[298,-113]],[[84713,45326],[28,-117],[5,-179]],[[84746,45030],[-181,-441],[-238,-130],[-33,71],[25,201],[119,360],[275,235]],[[87280,46506],[-27,445],[49,212],[58,200],[63,-173],[0,-282],[-143,-402]],[[82744,53024],[-158,-533],[204,-560],[-48,-272],[312,-546],[-329,-70],[-93,-403],[12,-535],[-267,-404],[-7,-589],[-107,-903],[-41,210],[-316,-266],[-110,361],[-198,34],[-139,189],[-330,-212],[-101,285],[-182,-32],[-229,68],[-43,793],[-138,164],[-134,505],[-38,517],[32,548],[165,392]],[[80461,51765],[47,-395],[190,-334],[179,121],[177,-43],[162,299],[133,52],[263,-166],[226,126],[143,822],[107,205],[96,672],[319,0],[241,-100]],[[85936,48924],[305,-172],[101,-452],[-234,244],[-232,49],[-157,-39],[-192,21],[65,325],[344,24]],[[85242,48340],[-192,108],[-54,254],[281,29],[69,-195],[-104,-196]],[[85536,51864],[20,-322],[164,-52],[26,-241],[-15,-517],[-143,58],[-42,-359],[114,-312],[-78,-71],[-112,374],[-82,755],[56,472],[92,215]],[[84146,51097],[319,25],[275,429],[48,-132],[-223,-587],[-209,-113],[-267,115],[-463,-29],[-243,-85],[-39,-447],[248,-526],[150,268],[518,201],[-22,-272],[-121,86],[-121,-347],[-245,-229],[263,-757],[-50,-203],[249,-682],[-2,-388],[-148,-173],[-109,207],[134,484],[-273,-229],[-69,164],[36,228],[-200,346],[21,576],[-186,-179],[24,-689],[11,-846],[-176,-85],[-119,173],[79,544],[-43,570],[-117,4],[-86,405],[115,387],[40,469],[139,891],[58,243],[237,439],[217,-174],[350,-82]],[[83414,44519],[-368,414],[259,116],[146,-180],[97,-180],[-17,-159],[-117,-11]],[[83705,45536],[185,45],[249,216],[-41,-328],[-417,-168],[-370,73],[0,216],[220,123],[174,-177]],[[82849,45639],[172,48],[69,-251],[-321,-119],[-193,-79],[-149,5],[95,340],[153,5],[74,209],[100,-158]],[[80134,46785],[38,-210],[533,-59],[61,244],[515,-284],[101,-383],[417,-108],[341,-351],[-317,-225],[-306,238],[-251,-16],[-288,44],[-260,106],[-322,225],[-204,59],[-116,-74],[-506,243],[-48,254],[-255,44],[191,564],[337,-35],[224,-231],[115,-45]],[[78991,49939],[47,-412],[97,-330],[204,-52],[135,-374],[-70,-735],[-11,-914],[-308,-12],[-234,494],[-356,482],[-119,358],[-210,481],[-138,443],[-212,827],[-244,493],[-81,508],[-103,461],[-250,372],[-145,506],[-209,330],[-290,652],[-24,300],[178,-24],[430,-114],[246,-577],[215,-401],[153,-246],[263,-635],[283,-9],[233,-405],[161,-495],[211,-270],[-111,-482],[159,-205],[100,-15]],[[30935,19481],[106,-274],[139,-443],[361,-355],[389,-147],[-125,-296],[-264,-29],[-141,208]],[[31400,18145],[-168,16],[-297,1],[0,1319]],[[33993,32727],[-70,-473],[-74,-607],[3,-588],[-61,-132],[-21,-382]],[[33770,30545],[-19,-308],[353,-506],[-38,-408],[173,-257],[-14,-289],[-267,-757],[-412,-317],[-557,-123],[-305,59],[59,-352],[-57,-442],[51,-298],[-167,-208],[-284,-82],[-267,216],[-108,-155],[39,-587],[188,-178],[152,186],[82,-307],[-255,-183],[-223,-367],[-41,-595],[-66,-316],[-262,-2],[-218,-302],[-80,-443],[273,-433],[266,-119],[-96,-531],[-328,-333],[-180,-692],[-254,-234],[-113,-276],[89,-614],[185,-342],[-117,30]],[[30952,19680],[-257,93],[-672,79],[-115,344],[6,443],[-185,-38],[-98,214],[-24,626],[213,260],[88,375],[-33,299],[148,504],[101,782],[-30,347],[122,112],[-30,223],[-129,118],[92,248],[-126,224],[-65,682],[112,120],[-47,720],[65,605],[75,527],[166,215],[-84,576],[-1,543],[210,386],[-7,494],[159,576],[1,544],[-72,108],[-128,1020],[171,607],[-27,572],[100,537],[182,555],[196,367],[-83,232],[58,190],[-9,985],[302,291],[96,614],[-34,148]],[[31359,37147],[231,534],[364,-144],[163,-427],[109,475],[316,-24],[45,-127]],[[32587,37434],[511,-964],[227,-89],[339,-437],[286,-231],[40,-261],[-273,-898],[280,-160],[312,-91],[220,95],[252,453],[45,521]],[[34826,35372],[138,114],[139,-341],[-6,-472],[-234,-326],[-186,-241],[-314,-573],[-370,-806]],[[31400,18145],[-92,-239],[-238,-183],[-137,19],[-164,48],[-202,177],[-291,86],[-350,330],[-283,317],[-383,662],[229,-124],[390,-395],[369,-212],[143,271],[90,405],[256,244],[198,-70]],[[30669,40193],[136,-402],[37,-426],[146,-250],[-88,-572],[150,-663],[109,-814],[200,81]],[[30952,19680],[-247,4],[-134,-145],[-250,-213],[-45,-552],[-118,-14],[-313,192],[-318,412],[-346,338],[-87,374],[79,346],[-140,393],[-36,1007],[119,568],[293,457],[-422,172],[265,522],[94,982],[309,-208],[145,1224],[-186,157],[-87,-738],[-175,83],[87,845],[95,1095],[127,404],[-80,576],[-22,666],[117,19],[170,954],[192,945],[118,881],[-64,885],[83,487],[-34,730],[163,721],[50,1143],[89,1227],[87,1321],[-20,967],[-58,832]],[[30452,39739],[143,151],[74,303]],[[58538,45652],[-109,60],[-373,-99],[-75,-71],[-79,-377],[62,-261],[-49,-699],[-34,-593],[75,-105],[194,-230],[76,107],[23,-637],[-212,5],[-114,325],[-103,252],[-213,82],[-62,310],[-170,-187],[-222,83],[-93,268],[-176,55],[-131,-15],[-15,184],[-96,15]],[[56642,44124],[-127,35],[-172,-89],[-121,15],[-68,-54],[15,703],[-93,219],[-21,363],[41,356],[-56,228],[-5,372],[-337,-5],[24,213],[-142,-2],[-15,-103],[-172,-23],[-69,-344],[-42,-148],[-154,83],[-91,-83],[-184,-47],[-106,309],[-64,191],[-80,354],[-68,440],[-820,8],[-98,-71],[-80,11],[-115,-79]],[[53422,46976],[-39,183]],[[53383,47159],[71,62],[9,258],[45,152],[101,124]],[[53609,47755],[73,-60],[95,226],[152,-6],[17,-167],[104,-105],[164,370],[161,289],[71,189],[-10,486],[121,574],[127,304],[183,285],[32,189],[7,216],[45,205],[-14,335],[34,524],[55,368],[83,316],[16,357]],[[55125,52650],[25,412],[108,300],[149,190],[229,-200],[177,-218],[203,-59],[207,-115],[83,357],[38,46],[127,-60],[309,295],[110,-125],[90,18],[41,143],[104,51],[209,-62],[178,-14],[91,63]],[[57603,53672],[169,-488],[124,-71],[75,99],[128,-39],[155,125],[66,-252],[244,-393]],[[58564,52653],[-16,-691],[111,-80],[-89,-210],[-107,-157],[-106,-308],[-59,-274],[-15,-475],[-65,-225],[-2,-446]],[[58216,49787],[-80,-165],[-10,-351],[-38,-46],[-26,-323]],[[58062,48902],[70,-268],[17,-713]],[[61551,49585],[-165,488],[-3,2152],[243,670]],[[61626,52895],[76,186],[178,11],[247,417],[362,26],[785,1773]],[[63274,55308],[194,493],[125,363],[0,308],[0,596],[1,244],[2,9]],[[63596,57321],[89,12],[128,88],[147,59],[132,202],[105,2],[6,-163],[-25,-344],[1,-310],[-59,-214],[-78,-639],[-134,-659],[-172,-755],[-238,-866],[-237,-661],[-327,-806],[-278,-479],[-415,-586],[-259,-450],[-304,-715],[-64,-312],[-63,-140]],[[59417,50018],[-3,627],[80,239],[137,391],[101,431],[-123,678],[-32,296],[-132,411]],[[59445,53091],[171,352],[188,390]],[[59804,53833],[145,-99],[0,-332],[95,-194],[193,0],[352,-502],[87,-6],[65,16],[62,-68],[185,-47],[82,247],[254,247],[112,-200],[190,0]],[[61551,49585],[-195,-236],[-68,-246],[-104,-44],[-40,-416],[-89,-238],[-54,-393],[-112,-195]],[[56824,55442],[-212,258],[-96,170],[-18,184],[45,246],[-1,241],[-160,369],[-31,253]],[[56351,57163],[3,143],[-102,174],[-3,343],[-58,228],[-98,-34],[28,217],[72,246],[-32,245],[92,181],[-58,138],[73,365],[127,435],[240,-41],[-14,2345]],[[56621,62148],[3,248],[320,2],[0,1180]],[[56944,63578],[1117,0],[1077,0],[1102,0]],[[60240,63578],[90,-580],[-61,-107],[40,-608],[102,-706],[106,-145],[152,-219]],[[60669,61213],[-141,-337],[-204,-97],[-88,-181],[-27,-393],[-120,-868],[30,-236]],[[60119,59101],[-45,-508],[-112,-582],[-168,-293],[-119,-451],[-28,-241],[-132,-166],[-82,-618],[4,-531]],[[59437,55711],[-3,460],[-39,12],[5,294],[-33,203],[-143,233],[-34,426],[34,436],[-129,41],[-19,-132],[-167,-30],[67,-173],[23,-355],[-152,-324],[-138,-426],[-144,-61],[-233,345],[-105,-122],[-29,-172],[-143,-112],[-9,-122],[-277,0],[-38,122],[-200,20],[-100,-101],[-77,51],[-143,344],[-48,163],[-200,-81],[-76,-274],[-72,-528],[-95,-111],[-85,-65],[189,-230]],[[56351,57163],[-176,-101],[-141,-239],[-201,-645],[-261,-273],[-269,36],[-78,-54],[28,-208],[-145,-207],[-118,-230],[-350,-226],[-69,134],[-46,11],[-52,-152],[-229,-44]],[[54244,54965],[43,160],[-87,407],[-39,245],[-121,100],[-164,345],[60,279],[127,-60],[78,42],[155,-6],[-151,537],[10,393],[-18,392],[-111,378]],[[54026,58177],[28,279],[-178,13],[0,380],[-115,219],[120,778],[354,557],[15,769],[107,1199],[60,254],[-116,203],[-4,188],[-104,153],[-68,919]],[[54125,64088],[280,323],[1108,-1132],[1108,-1131]],[[30080,62227],[24,-321],[-21,-228],[-68,-99],[71,-177],[-5,-161]],[[30081,61241],[-185,100],[-131,-41],[-169,43],[-130,-110],[-149,184],[24,190],[256,-82],[210,-47],[100,131],[-127,256],[2,226],[-175,92],[62,163],[170,-26],[241,-93]],[[30080,62227],[34,101],[217,-3],[165,-152],[73,15],[50,-209],[152,11],[-9,-176],[124,-21],[136,-217],[-103,-240],[-132,128],[-127,-25],[-92,28],[-50,-107],[-106,-37],[-43,144],[-92,-85],[-111,-405],[-71,94],[-14,170]],[[76049,98451],[600,133],[540,-297],[640,-572],[-69,-531],[-606,-73],[-773,170],[-462,226],[-213,423],[-379,117],[722,404]],[[78565,97421],[704,-336],[-82,-240],[-1566,-228],[507,776],[229,66],[208,-38]],[[88563,95563],[734,-26],[1004,-313],[-219,-439],[-1023,16],[-461,-139],[-550,384],[149,406],[366,111]],[[91172,95096],[697,-155],[-321,-234],[-444,53],[-516,233],[66,192],[518,-89]],[[88850,93928],[263,234],[348,54],[394,-226],[34,-155],[-421,-4],[-569,66],[-49,31]],[[62457,98194],[542,107],[422,8],[57,-160],[159,142],[262,97],[412,-129],[-107,-90],[-373,-78],[-250,-45],[-39,-97],[-324,-98],[-301,140],[158,185],[-618,18]],[[56314,82678],[-511,-9],[-342,67]],[[55461,82736],[63,260],[383,191]],[[55907,83187],[291,-103],[123,-94],[-30,-162],[23,-150]],[[64863,94153],[665,518],[-75,268],[621,312],[917,380],[925,110],[475,220],[541,76],[193,-233],[-187,-184],[-984,-293],[-848,-282],[-863,-562],[-414,-577],[-435,-568],[56,-491],[531,-484],[-164,-52],[-907,77],[-74,262],[-503,158],[-40,320],[284,126],[-10,323],[551,503],[-255,73]],[[89698,82309],[96,-569],[-7,-581],[114,-597],[280,-1046],[-411,195],[-171,-854],[271,-605],[-8,-413],[-211,356],[-182,-457],[-51,496],[31,575],[-32,638],[64,446],[13,790],[-163,581],[24,808],[257,271],[-110,274],[123,83],[73,-391]],[[86327,75524],[-39,104]],[[86288,75628],[-2,300],[142,16],[40,698],[-73,506],[238,208],[338,-104],[186,575],[96,647],[107,216],[146,532],[-459,-175],[-240,-233],[-423,1],[-112,555],[-329,420],[-483,189],[-103,579],[-97,363],[-104,254],[-172,596],[-244,217],[-415,176],[-369,-16],[-345,-106],[-229,-294],[152,-141],[4,-326],[-155,-189],[-251,-627],[3,-260],[-392,-373],[-333,223]],[[82410,80055],[-331,-49],[-146,198],[-166,63],[-407,-416],[-366,-98],[-255,-146],[-350,96],[-258,-6],[-168,302],[-272,284],[-279,78],[-351,-78],[-263,-109],[-394,248],[-53,443],[-327,152],[-252,69],[-311,244],[-288,-612],[113,-348],[-270,-411],[-402,148],[-277,22],[-186,276],[-289,8],[-242,182],[-423,-278],[-530,-509],[-292,-102]],[[74375,79706],[-109,-49]],[[63639,77993],[-127,-350],[-269,-97],[-276,-610],[252,-561],[-27,-398],[303,-696]],[[63495,75281],[-166,-238],[-48,-150],[-122,40],[-191,359],[-78,20]],[[62890,75312],[-175,137],[-85,242],[-259,124],[-169,-93],[-48,110],[-378,283],[-409,96],[-235,101],[-34,-70]],[[61098,76242],[-354,499],[-317,223],[-240,347],[202,95],[231,494],[-156,234],[410,241],[-8,129],[-249,-95]],[[60617,78409],[9,262],[143,165],[269,43],[44,197],[-62,326],[113,310],[-3,173],[-410,192],[-162,-6],[-172,277],[-213,-94],[-352,208],[6,116],[-99,256],[-222,29],[-23,183],[70,120],[-178,334],[-288,-57],[-84,30],[-70,-134],[-104,23]],[[58829,81362],[-68,379],[-66,196],[54,55],[224,-20],[108,129],[-80,157],[-187,104],[16,107],[-113,108],[-174,387],[60,159],[-27,277],[-272,141],[-146,-70],[-39,146],[-293,149]],[[57826,83766],[-89,348],[-24,287],[-134,136]],[[57579,84537],[120,187],[-83,551],[198,341],[-42,103]],[[57772,85719],[316,327],[-291,280]],[[57797,86326],[594,755],[258,341],[105,301],[-411,405],[113,385],[-250,440],[187,506],[-323,673],[256,445],[-425,394],[41,414]],[[57942,91385],[224,54],[473,237]],[[58639,91676],[286,206],[456,-358],[761,-140],[1050,-668],[213,-281],[18,-393],[-308,-311],[-454,-157],[-1240,449],[-204,-75],[453,-433],[18,-274],[18,-604],[358,-180],[217,-153],[36,286],[-168,254],[177,224],[672,-368],[233,144],[-186,433],[647,578],[256,-34],[260,-206],[161,406],[-231,352],[136,353],[-204,367],[777,-190],[158,-331],[-351,-73],[1,-328],[219,-203],[429,128],[68,377],[580,282],[970,507],[209,-29],[-273,-359],[344,-61],[199,202],[521,16],[412,245],[317,-356],[315,391],[-291,343],[145,195],[820,-179],[385,-185],[1006,-675],[186,309],[-282,313],[-8,125],[-335,58],[92,280],[-149,461],[-8,189],[512,535],[183,537],[206,116],[736,-156],[57,-328],[-263,-479],[173,-189],[89,-413],[-63,-809],[307,-362],[-120,-395],[-544,-839],[318,-87],[110,213],[306,151],[74,293],[240,281],[-162,336],[130,390],[-304,49],[-67,328],[222,593],[-361,482],[497,398],[-64,421],[139,13],[145,-328],[-109,-570],[297,-108],[-127,426],[465,233],[577,31],[513,-337],[-247,492],[-28,630],[483,119],[669,-26],[602,77],[-226,309],[321,388],[319,16],[540,293],[734,79],[93,162],[729,55],[227,-133],[624,314],[510,-10],[77,255],[265,252],[656,242],[476,-191],[-378,-146],[629,-90],[75,-292],[254,143],[812,-7],[626,-289],[223,-221],[-69,-307],[-307,-175],[-730,-328],[-209,-175],[345,-83],[410,-149],[251,112],[141,-379],[122,153],[444,93],[892,-97],[67,-276],[1162,-88],[15,451],[590,-104],[443,4],[449,-312],[128,-378],[-165,-247],[349,-465],[437,-240],[268,620],[446,-266],[473,159],[538,-182],[204,166],[455,-83],[-201,549],[367,256],[2509,-384],[236,-351],[727,-451],[1122,112],[553,-98],[231,-244],[-33,-432],[342,-168],[372,121],[492,15],[525,-116],[526,66],[484,-526],[344,189],[-224,378],[123,262],[886,-165],[578,36],[799,-282],[-99610,-258],[681,-451],[728,-588],[-24,-367],[187,-147],[-64,429],[754,-88],[544,-553],[-276,-257],[-455,-61],[-7,-578],[-111,-122],[-260,17],[-212,206],[-369,172],[-62,257],[-283,96],[-315,-76],[-151,207],[60,219],[-333,-140],[126,-278],[-158,-251],[99997,-3],[-357,-260],[-360,44],[250,-315],[166,-487],[128,-159],[32,-244],[-71,-157],[-518,129],[-777,-445],[-247,-69],[-425,-415],[-403,-362],[-102,-269],[-397,409],[-724,-464],[-126,219],[-268,-253],[-371,81],[-90,-388],[-333,-572],[10,-239],[316,-132],[-37,-860],[-258,-22],[-119,-494],[116,-255],[-486,-302],[-96,-674],[-415,-144],[-83,-600],[-400,-551],[-103,407],[-119,862],[-155,1313],[134,819],[234,353],[14,276],[432,132],[496,744],[479,608],[499,471],[223,833],[-337,-50],[-167,-487],[-705,-649],[-227,727],[-717,-201],[-696,-990],[230,-362],[-620,-154],[-430,-61],[20,427],[-431,90],[-344,-291],[-850,102],[-914,-175],[-899,-1153],[-1065,-1394],[438,-74],[136,-370],[270,-132],[178,295],[305,-38],[401,-650],[9,-503],[-217,-590],[-23,-705],[-126,-945],[-418,-855],[-94,-409],[-377,-688],[-374,-682],[-179,-349],[-370,-346],[-175,-8],[-175,287],[-373,-432],[-43,-197]],[[0,92833],[36,24],[235,-1],[402,-169],[-24,-81],[-286,-141],[-363,-36],[99694,-30],[-49,187],[-99645,247]],[[59287,77741],[73,146],[198,-127],[89,-23],[36,-117],[42,-18]],[[59725,77602],[2,-51],[136,-142],[284,35],[-55,-210],[-304,-103],[-377,-342],[-154,121],[61,277],[-304,173],[50,113],[265,197],[-42,71]],[[28061,66408],[130,47],[184,-18],[8,-153],[-303,-95],[-19,219]],[[28391,66555],[220,-265],[-48,-420],[-51,75],[4,309],[-124,234],[-1,67]],[[28280,65474],[84,-23],[97,-491],[1,-343],[-68,-29],[-70,340],[-104,171],[60,375]],[[33000,19946],[333,354],[236,-148],[167,237],[222,-266],[-83,-207],[-375,-177],[-125,207],[-236,-266],[-139,266]],[[54206,97653],[105,202],[408,20],[350,-206],[915,-440],[-699,-233],[-155,-435],[-243,-111],[-132,-490],[-335,-23],[-598,361],[252,210],[-416,170],[-541,499],[-216,463],[757,212],[152,-207],[396,8]],[[57942,91385],[117,414],[-356,235],[-431,-200],[-137,-433],[-265,-262],[-298,143],[-362,-29],[-309,312],[-167,-156]],[[55734,91409],[-172,-24],[-41,-389],[-523,95],[-74,-329],[-267,2],[-183,-421],[-278,-655],[-431,-831],[101,-202],[-97,-234],[-275,10],[-180,-554],[17,-784],[177,-300],[-92,-694],[-231,-405],[-122,-341]],[[53063,85353],[-187,363],[-548,-684],[-371,-138],[-384,301],[-99,635],[-88,1363],[256,381],[733,496],[549,609],[508,824],[668,1141],[465,444],[763,741],[610,259],[457,-31],[423,489],[506,-26],[499,118],[869,-433],[-358,-158],[305,-371]],[[57613,97879],[-412,-318],[-806,-70],[-819,98],[-50,163],[-398,11],[-304,271],[858,165],[403,-142],[281,177],[702,-148],[545,-207]],[[56867,96577],[-620,-241],[-490,137],[191,152],[-167,189],[575,119],[110,-222],[401,-134]],[[37010,99398],[932,353],[975,-27],[354,218],[982,57],[2219,-74],[1737,-469],[-513,-227],[-1062,-26],[-1496,-58],[140,-105],[984,65],[836,-204],[540,181],[231,-212],[-305,-344],[707,220],[1348,229],[833,-114],[156,-253],[-1132,-420],[-157,-136],[-888,-102],[643,-28],[-324,-431],[-224,-383],[9,-658],[333,-386],[-434,-24],[-457,-187],[513,-313],[65,-502],[-297,-55],[360,-508],[-617,-42],[322,-241],[-91,-208],[-391,-91],[-388,-2],[348,-400],[4,-263],[-549,244],[-143,-158],[375,-148],[364,-361],[105,-476],[-495,-114],[-214,228],[-344,340],[95,-401],[-322,-311],[732,-25],[383,-32],[-745,-515],[-755,-466],[-813,-204],[-306,-2],[-288,-228],[-386,-624],[-597,-414],[-192,-24],[-370,-145],[-399,-138],[-238,-365],[-4,-415],[-141,-388],[-453,-472],[112,-462],[-125,-488],[-142,-577],[-391,-36],[-410,482],[-556,3],[-269,324],[-186,577],[-481,735],[-141,385],[-38,530],[-384,546],[100,435],[-186,208],[275,691],[418,220],[110,247],[58,461],[-318,-209],[-151,-88],[-249,-84],[-341,193],[-19,401],[109,314],[258,9],[567,-157],[-478,375],[-249,202],[-276,-83],[-232,147],[310,550],[-169,220],[-220,409],[-335,626],[-353,230],[3,247],[-745,346],[-590,43],[-743,-24],[-677,-44],[-323,188],[-482,372],[729,186],[559,31],[-1188,154],[-627,241],[39,229],[1051,285],[1018,284],[107,214],[-750,213],[243,235],[961,413],[404,63],[-115,265],[658,156],[854,93],[853,5],[303,-184],[737,325],[663,-221],[390,-46],[577,-192],[-660,318],[38,253]],[[69148,21851],[179,-186],[263,-74],[9,-112],[-77,-269],[-427,-38],[-7,314],[41,244],[19,121]],[[84713,45326],[32,139],[239,133],[194,20],[87,74],[105,-74],[-102,-160],[-289,-258],[-233,-170]],[[54540,33696],[133,292],[109,-162],[47,-252],[125,-43],[175,-112],[149,43],[248,302],[0,2182]],[[55526,35946],[75,-88],[165,-562],[-26,-360],[62,-207],[199,60],[139,264],[132,177],[68,283],[135,137],[117,-71],[133,-166],[226,-29],[178,138],[28,184],[48,283],[152,47],[83,222],[93,393],[249,442],[393,435]],[[58175,37528],[113,-7],[134,-100],[94,71],[148,-59]],[[58664,37433],[133,-832],[72,-419],[-49,-659],[23,-212]],[[58843,35311],[-140,108],[-80,-42],[-26,-172],[-76,-222],[2,-204],[166,-320],[163,63],[56,263]],[[58908,34785],[211,-5]],[[59119,34780],[-70,-430],[-32,-491],[-72,-267],[-190,-298],[-54,-86],[-118,-300],[-77,-303],[-158,-424],[-314,-609],[-196,-355],[-210,-269],[-290,-229],[-141,-31],[-36,-164],[-169,88],[-138,-113],[-301,114],[-168,-72],[-115,31],[-286,-233],[-238,-94],[-171,-223],[-127,-14],[-117,210],[-94,11],[-120,264],[-13,-82],[-37,159],[2,346],[-90,396],[89,108],[-7,453],[-182,553],[-139,501],[-1,1],[-199,768]],[[58049,33472],[-121,182],[-130,-120],[-151,-232],[-148,-374],[209,-454],[99,59],[51,188],[155,93],[47,192],[85,288],[-96,178]],[[23016,65864],[-107,-518],[-49,-426],[-20,-791],[-27,-289],[48,-322],[86,-288],[56,-458],[184,-440],[65,-337],[109,-291],[295,-157],[114,-247],[244,165],[212,60],[208,106],[175,101],[176,241],[67,345],[22,496],[48,173],[188,155],[294,137],[246,-21],[169,50],[66,-125],[-9,-285],[-149,-351],[-66,-360],[51,-103],[-42,-255],[-69,-461],[-71,152],[-58,-10]],[[25472,61510],[-53,-8],[-99,-357],[-51,70],[-33,-27],[2,-87]],[[25238,61101],[-257,7],[-259,-1],[-1,-333],[-125,-1],[103,-198],[103,-136],[31,-128],[45,-36],[-7,-201],[-357,-2],[-133,-481],[39,-111],[-32,-138],[-7,-172]],[[24381,59170],[-314,636],[-144,191],[-226,155],[-156,-43],[-223,-223],[-140,-58],[-196,156],[-208,112],[-260,271],[-208,83],[-314,275],[-233,282],[-70,158],[-155,35],[-284,187],[-116,270],[-299,335],[-139,373],[-66,288],[93,57],[-29,169],[64,153],[1,204],[-93,266],[-25,235],[-94,298],[-244,587],[-280,462],[-135,368],[-238,241],[-51,145],[42,365],[-142,138],[-164,287],[-69,412],[-149,48],[-162,311],[-130,288],[-12,184],[-149,446],[-99,452],[5,227],[-201,234],[-93,-25],[-159,163],[-44,-240],[46,-284],[27,-444],[95,-243],[206,-407],[46,-139],[42,-42],[37,-203],[49,8],[56,-381],[85,-150],[59,-210],[174,-300],[92,-550],[83,-259],[77,-277],[15,-311],[134,-20],[112,-268],[100,-264],[-6,-106],[-117,-217],[-49,3],[-74,359],[-181,337],[-201,286],[-142,150],[9,432],[-42,320],[-132,183],[-191,264],[-37,-76],[-70,154],[-171,143],[-164,343],[20,44],[115,-33],[103,221],[10,266],[-214,422],[-163,163],[-102,369],[-103,388],[-129,472],[-113,531]],[[33993,32727],[180,63],[279,-457],[103,18],[286,-379],[218,-327],[160,-402],[-122,-280],[77,-334]],[[35174,30629],[-121,-372],[-313,-328],[-205,118],[-151,-63],[-256,253],[-189,-19],[-169,327]],[[34826,35372],[54,341],[38,350],[0,325],[-100,107],[-104,-96],[-103,26],[-33,228],[-26,541],[-52,177],[-187,160],[-114,-116],[-293,113],[18,802],[-82,329]],[[33842,38659],[87,122],[-27,337],[77,259],[49,465],[-66,367],[-151,166],[-30,233],[41,342],[-533,24],[-107,688],[81,10],[-3,255],[-55,172],[-12,342],[-161,175],[-175,-6],[-115,172],[-188,117],[-109,220],[-311,98],[-302,529],[23,396],[-34,227],[29,443],[-363,-100],[-147,-222],[-243,-239],[-62,-179],[-143,-13],[-206,50]],[[30686,44109],[-157,-102],[-126,68],[18,898],[-228,-348],[-245,15],[-105,315],[-184,34],[59,254],[-155,359],[-115,532],[73,108],[0,250],[168,171],[-28,319],[71,206],[20,275],[318,402],[227,114],[37,89],[251,-28]],[[30585,48040],[125,1620],[6,256],[-43,339],[-123,215],[1,430],[156,97],[56,-61],[9,226],[-162,61],[-4,370],[541,-13],[92,203],[77,-187],[55,-349],[52,73]],[[31423,51320],[153,-312],[216,38],[54,181],[206,138],[115,97],[32,250],[198,168],[-15,124],[-235,51],[-39,372],[12,396],[-125,153],[52,55],[206,-76],[221,-148],[80,140],[200,92],[310,221],[102,225],[-37,167]],[[33129,53652],[145,26],[64,-136],[-36,-259],[96,-90],[63,-274],[-77,-209],[-44,-502],[71,-299],[20,-274],[171,-277],[137,-29],[30,116],[88,25],[126,104],[90,157],[154,-50],[67,21]],[[34294,51702],[151,-48],[25,120],[-46,118],[28,171],[112,-53],[131,61],[159,-125]],[[34854,51946],[121,-122],[86,160],[62,-25],[38,-166],[133,42],[107,224],[85,436],[164,540]],[[35650,53035],[95,28],[69,-327],[155,-1033],[149,-97],[7,-408],[-208,-487],[86,-178],[491,-92],[10,-593],[211,388],[349,-212],[462,-361],[135,-346],[-45,-327],[323,182],[540,-313],[415,23],[411,-489],[355,-662],[214,-170],[237,-24],[101,-186],[94,-752],[46,-358],[-110,-977],[-142,-385],[-391,-822],[-177,-668],[-206,-513],[-69,-11],[-78,-435],[20,-1107],[-77,-910],[-30,-390],[-88,-233],[-49,-790],[-282,-771],[-47,-610],[-225,-256],[-65,-355],[-302,2],[-437,-227],[-195,-263],[-311,-173],[-327,-470],[-235,-586],[-41,-441],[46,-326],[-51,-597],[-63,-289],[-195,-325],[-308,-1040],[-244,-468],[-189,-277],[-127,-562],[-183,-337]],[[33842,38659],[-4,182],[-259,302],[-258,9],[-484,-172],[-133,-520],[-7,-318],[-110,-708]],[[30669,40193],[175,638],[-119,496],[63,199],[-49,219],[108,295],[6,503],[13,415],[60,200],[-240,951]],[[30452,39739],[-279,340],[-24,242],[-551,593],[-498,646],[-214,365],[-115,488],[46,170],[-236,775],[-274,1090],[-262,1177],[-114,269],[-87,435],[-216,386],[-198,239],[90,264],[-134,563],[86,414],[221,373]],[[27693,48568],[33,-246],[-79,-141],[8,-216],[114,47],[113,-64],[116,-298],[157,243],[53,398],[170,514],[334,233],[303,619],[86,384],[-38,449]],[[29063,50490],[74,56],[184,-280],[89,-279],[129,-152],[163,-620],[207,-74],[153,157],[101,-103],[166,51],[213,-276],[-179,-602],[83,-14],[139,-314]],[[29063,50490],[-119,140],[-137,195],[-79,-94],[-235,82],[-68,255],[-52,-10],[-278,338]],[[28095,51396],[-37,183],[103,44],[-12,296],[65,214],[138,40],[117,371],[106,310],[-102,141],[52,343],[-62,540],[59,155],[-44,500],[-112,315]],[[28366,54848],[36,287],[89,-43],[52,176],[-64,348],[34,86]],[[28513,55702],[143,-18],[209,412],[114,63],[3,195],[51,500],[159,274],[175,11],[22,123],[218,-49],[218,298],[109,132],[134,285],[98,-36],[73,-156],[-54,-199]],[[30185,57537],[-178,-99],[-71,-295],[-107,-169],[-81,-220],[-34,-422],[-77,-345],[144,-40],[35,-271],[62,-130],[21,-238],[-33,-219],[10,-123],[69,-49],[66,-207],[357,57],[161,-75],[196,-508],[112,63],[200,-32],[158,68],[99,-102],[-50,-318],[-62,-199],[-22,-423],[56,-393],[79,-175],[9,-133],[-140,-294],[100,-130],[74,-207],[85,-589]],[[28366,54848],[-93,170],[-59,319],[68,158],[-70,40],[-52,196],[-138,164],[-122,-38],[-56,-205],[-112,-149],[-61,-20],[-27,-123],[132,-321],[-75,-76],[-40,-87],[-130,-30],[-48,353],[-36,-101],[-92,35],[-56,238],[-114,39],[-72,69],[-119,-1],[-8,-128],[-32,89]],[[26954,55439],[14,117],[23,120],[-10,107],[41,70],[-58,88],[-1,238],[107,53]],[[27070,56232],[100,-212],[-6,-126],[111,-26],[26,48],[77,-145],[136,42],[119,150],[168,119],[95,176],[153,-34],[-10,-58],[155,-21],[124,-102],[90,-177],[105,-164]],[[26954,55439],[-151,131],[-56,124],[32,103],[-11,130],[-77,142],[-109,116],[-95,76],[-19,173],[-73,105],[18,-172],[-55,-141],[-64,164],[-89,58],[-38,120],[2,179],[36,187],[-78,83],[64,114]],[[26191,57131],[42,76],[183,-156],[63,77],[89,-50],[46,-121],[82,-40],[66,126]],[[26762,57043],[70,-321],[108,-238],[130,-252]],[[26191,57131],[-96,186],[-130,238],[-61,200],[-117,185],[-140,267],[31,91],[46,-88],[21,41]],[[25745,58251],[86,25],[35,135],[41,5],[-6,290],[65,14],[58,-4],[60,158],[82,-120],[29,74],[51,70],[97,163],[4,121],[27,-5],[36,141],[29,17],[47,-90],[56,-27],[61,76],[70,0],[97,77],[38,81],[95,-12]],[[26903,59440],[-24,-57],[-14,-132],[29,-216],[-64,-202],[-30,-237],[-9,-261],[15,-152],[7,-266],[-43,-58],[-26,-253],[19,-156],[-56,-151],[12,-159],[43,-97]],[[25745,58251],[-48,185],[-84,51]],[[25613,58487],[19,237],[-38,64],[-57,42],[-122,-70],[-10,79],[-84,95],[-60,118],[-82,50]],[[25179,59102],[58,150],[-22,116],[20,113],[131,166],[127,225]],[[25493,59872],[29,-23],[61,104],[79,8],[26,-48],[43,29],[129,-53],[128,15],[90,66],[32,66],[89,-31],[66,-40],[73,14],[55,51],[127,-82],[44,-13],[85,-110],[80,-132],[101,-91],[73,-162]],[[25613,58487],[-31,-139],[-161,9],[-100,57],[-115,117],[-154,37],[-79,127]],[[24973,58695],[9,86],[95,149],[52,66],[-15,69],[65,37]],[[25238,61101],[-2,-468],[-22,-667],[83,0]],[[25297,59966],[90,-107],[24,88],[82,-75]],[[24973,58695],[-142,103],[-174,11],[-127,117],[-149,244]],[[25472,61510],[1,-87],[53,-3],[-5,-160],[-45,-256],[24,-91],[-29,-212],[18,-56],[-32,-299],[-55,-156],[-50,-19],[-55,-205]],[[30185,57537],[-8,-139],[-163,-69],[91,-268],[-3,-309],[-123,-344],[105,-468],[120,38],[62,427],[-86,208],[-14,447],[346,241],[-38,278],[97,186],[100,-415],[195,-9],[180,-330],[11,-195],[249,-6],[297,61],[159,-264],[213,-74],[155,185],[4,149],[344,35],[333,9],[-236,-175],[95,-279],[222,-44],[210,-291],[45,-473],[144,13],[109,-139]],[[33400,55523],[-220,-347],[-24,-215],[95,-220],[-69,-110],[-171,-95],[5,-273],[-75,-163],[188,-448]],[[33400,55523],[183,-217],[171,-385],[8,-304],[105,-14],[149,-289],[109,-205]],[[34125,54109],[-44,-532],[-169,-154],[15,-139],[-51,-305],[123,-429],[89,-1],[37,-333],[169,-514]],[[34125,54109],[333,-119],[30,107],[225,43],[298,-159]],[[35011,53981],[-144,-508],[22,-404],[109,-351],[-49,-254],[-24,-270],[-71,-248]],[[35011,53981],[95,-65],[204,-140],[294,-499],[46,-242]],[[51718,79804],[131,-155],[400,-109],[-140,-404],[-35,-421]],[[52074,78715],[-77,-101],[-126,54],[9,-150],[-203,-332],[-5,-267],[133,92],[95,-259]],[[51900,77752],[-11,-167],[82,-222],[-97,-180],[72,-457],[151,-75],[-32,-256]],[[52065,76395],[-252,-334],[-548,160],[-404,-192],[-32,-355]],[[50829,75674],[-322,-77],[-313,267],[-101,-127],[-511,268],[-111,230]],[[49471,76235],[144,354],[53,1177],[-287,620],[-205,299],[-424,227],[-28,431],[360,129],[466,-152],[-88,669],[263,-254],[646,461],[84,484],[243,119]],[[50698,80799],[40,-207],[129,-10],[129,-237],[194,-279],[143,46],[243,-269]],[[51576,79843],[62,-52],[80,13]],[[52429,75765],[179,226],[47,-507],[-92,-456],[-126,120],[-64,398],[56,219]],[[27693,48568],[148,442],[-60,258],[-106,-275],[-166,259],[56,167],[-47,536],[97,89],[52,368],[105,381],[-20,241],[153,126],[190,236]],[[31588,61519],[142,-52],[50,-118],[-71,-149],[-209,4],[-163,-21],[-16,253],[40,86],[227,-3]],[[28453,61504],[187,-53],[147,-142],[46,-161],[-195,-11],[-84,-99],[-156,95],[-159,215],[34,135],[116,41],[64,-20]],[[27147,64280],[240,-42],[219,-7],[261,-201],[110,-216],[260,66],[98,-138],[235,-366],[173,-267],[92,8],[165,-120],[-20,-167],[205,-24],[210,-242],[-33,-138],[-185,-75],[-187,-29],[-191,46],[-398,-57],[186,329],[-113,154],[-179,39],[-96,171],[-66,336],[-157,-23],[-259,159],[-83,124],[-362,91],[-97,115],[104,148],[-273,30],[-199,-307],[-115,-8],[-40,-144],[-138,-65],[-118,56],[146,183],[60,213],[126,131],[142,116],[210,56],[67,65]],[[58175,37528],[-177,267],[-215,90],[-82,375],[0,208],[-119,64],[-315,649],[-87,342],[-56,105],[-107,473]],[[57017,40101],[311,-65],[90,-68],[94,13],[154,383],[241,486],[100,46],[33,205],[159,235],[210,81]],[[58409,41417],[18,-220],[232,12],[128,-125],[60,-146],[132,-43],[145,-190],[0,-748],[-54,-409],[-12,-442],[45,-175],[-31,-348],[-42,-53],[-74,-426],[-292,-671]],[[55526,35946],[0,1725],[274,20],[8,2105],[207,19],[428,207],[106,-243],[177,231],[85,2],[156,133]],[[56967,40145],[50,-44]],[[54540,33696],[-207,446],[-108,432],[-62,575],[-68,428],[-93,910],[-7,707],[-35,322],[-108,243],[-144,489],[-146,708],[-60,371],[-226,577],[-17,453]],[[53259,40357],[134,113],[166,100],[180,-17],[166,-267],[42,41],[1126,26],[192,-284],[673,-83],[510,241]],[[56448,40227],[228,134],[180,-34],[109,-133],[2,-49]],[[45357,58612],[-115,460],[-138,210],[122,112],[134,415],[66,304]],[[45426,60113],[96,189],[138,-51],[135,129],[155,6],[133,-173],[184,-157],[168,-435],[184,-405]],[[46619,59216],[13,-368],[54,-338],[104,-166],[24,-229],[-13,-184]],[[46801,57931],[-40,-33],[-151,47],[-21,-66],[-61,-13],[-200,144],[-134,6]],[[46194,58016],[-513,25],[-75,-67],[-92,19],[-147,-96]],[[45367,57897],[-46,453]],[[45321,58350],[253,-13],[67,83],[50,5],[103,136],[119,-124],[121,-11],[120,133],[-56,170],[-92,-99],[-86,3],[-110,145],[-88,-9],[-63,-140],[-302,-17]],[[46619,59216],[93,107],[47,348],[88,14],[194,-165],[157,117],[107,-39],[42,131],[1114,9],[62,414],[-48,73],[-134,2550],[-134,2550],[425,10]],[[48632,65335],[937,-1289],[937,-1289],[66,-277],[173,-169],[129,-96],[3,-376],[308,58]],[[51185,61897],[1,-1361],[-152,-394],[-24,-364],[-247,-94],[-379,-51],[-102,-210],[-178,-23]],[[50104,59400],[-178,-3],[-70,114],[-153,-84],[-259,-246],[-53,-184],[-216,-265],[-38,-152],[-116,-120],[-134,79],[-76,-144],[-41,-405],[-221,-490],[7,-200],[-76,-250],[18,-343]],[[48498,56707],[-114,-88],[-65,-74],[-43,253],[-80,-67],[-48,11],[-51,-172],[-215,5],[-77,89],[-36,-54]],[[47769,56610],[-85,170],[15,176],[-35,69],[-59,-58],[11,192],[57,152],[-114,248],[-33,163],[-62,130],[-55,15],[-67,-83],[-90,-79],[-76,-128],[-119,48],[-77,150],[-46,19],[-73,-78],[-44,-1],[-16,216]],[[47587,66766],[1045,-1431]],[[45426,60113],[-24,318],[78,291],[34,557],[-30,583],[-34,294],[28,295],[-72,281],[-146,255]],[[50747,54278],[-229,-69]],[[50518,54209],[-69,407],[13,1357],[-56,122],[-11,290],[-96,207],[-85,174],[35,311]],[[50249,57077],[96,67],[56,258],[136,56],[61,176]],[[50598,57634],[93,173],[100,2],[212,-340]],[[51003,57469],[-11,-197],[62,-350],[-54,-238],[29,-159],[-135,-366],[-86,-181],[-52,-372],[7,-376],[-16,-952]],[[54026,58177],[-78,-34],[-9,-188]],[[53939,57955],[-52,-13],[-188,647],[-65,24],[-217,-331],[-215,173],[-150,34],[-80,-83],[-163,18],[-164,-252],[-141,-14],[-337,305],[-131,-145],[-142,10],[-104,223],[-279,221],[-298,-70],[-72,-128],[-39,-340],[-80,-238],[-19,-527]],[[50598,57634],[6,405],[-320,134],[-9,286],[-156,386],[-37,269],[22,286]],[[51185,61897],[392,263],[804,1161],[952,1126]],[[53333,64447],[439,-255],[156,-324],[197,220]],[[53939,57955],[110,-235],[-31,-107],[-14,-196],[-234,-457],[-74,-377],[-39,-307],[-59,-132],[-56,-414],[-148,-243],[-43,-299],[-63,-238],[-26,-246],[-191,-199],[-156,243],[-105,-10],[-165,-345],[-81,-6],[-132,-570],[-71,-418]],[[52361,53399],[-289,-213],[-105,31],[-107,-132],[-222,13],[-149,370],[-91,427],[-197,389],[-209,-7],[-245,1]],[[54244,54965],[-140,-599],[-67,-107],[-21,-458],[28,-249],[-23,-176],[132,-309],[23,-212],[103,-305],[127,-190],[12,-269],[29,-172]],[[54447,51919],[-20,-319],[-220,140],[-225,156],[-350,23]],[[53632,51919],[-35,32],[-164,-76],[-169,79],[-132,-38]],[[53132,51916],[-452,13]],[[52680,51929],[40,466],[-108,391],[-127,100],[-56,265],[-72,85],[4,163]],[[50518,54209],[-224,-126]],[[50294,54083],[-62,207],[-74,375],[-22,294],[61,532],[-69,215],[-27,466],[1,429],[-116,305],[20,184]],[[50006,57090],[243,-13]],[[50294,54083],[-436,-346],[-154,-203],[-250,-171],[-248,168]],[[49206,53531],[13,233],[-121,509],[73,667],[117,496],[-74,841]],[[49214,56277],[-38,444],[7,336],[482,27],[123,-43],[90,96],[128,-47]],[[48498,56707],[125,-129],[49,-195],[125,-125],[97,149],[130,22],[190,-152]],[[49206,53531],[-126,-7],[-194,116],[-178,-7],[-329,-103],[-193,-170],[-275,-217],[-54,15]],[[47857,53158],[22,487],[26,74],[-8,233],[-118,247],[-88,40],[-81,162],[60,262],[-28,286],[13,172]],[[47655,55121],[44,0],[17,258],[-22,114],[27,82],[103,71],[-69,473],[-64,245],[23,200],[55,46]],[[47655,55121],[-78,15],[-57,-238],[-78,3],[-55,126],[19,237],[-116,362],[-73,-67],[-59,-13]],[[47158,55546],[-77,-34],[3,217],[-44,155],[9,171],[-60,249],[-78,211],[-222,1],[-65,-112],[-76,-13],[-48,-128],[-32,-163],[-148,-260]],[[46320,55840],[-122,349],[-108,232],[-71,76],[-69,118],[-32,261],[-41,130],[-80,97]],[[45797,57103],[123,288],[84,-11],[73,99],[61,1],[44,78],[-24,196],[31,62],[5,200]],[[45797,57103],[-149,247],[-117,39],[-63,166],[1,90],[-84,125],[-18,127]],[[47857,53158],[-73,-5],[-286,282],[-252,449],[-237,324],[-187,381]],[[46822,54589],[66,189],[15,172],[126,320],[129,276]],[[46822,54589],[-75,44],[-200,238],[-144,316],[-49,216],[-34,437]],[[55125,52650],[-178,33],[-188,99],[-166,-313],[-146,-550]],[[56824,55442],[152,-239],[2,-192],[187,-308],[116,-255],[70,-355],[208,-234],[44,-187]],[[53609,47755],[-104,203],[-84,-100],[-112,-255]],[[53309,47603],[-228,626]],[[53081,48229],[212,326],[-105,391],[95,148],[187,73],[23,261],[148,-283],[245,-25],[85,279],[36,393],[-31,461],[-131,350],[120,684],[-69,117],[-207,-48],[-78,305],[21,258]],[[53081,48229],[-285,596],[-184,488],[-169,610],[9,196],[61,189],[67,430],[56,438]],[[52636,51176],[94,35],[404,-6],[-2,711]],[[52636,51176],[-52,90],[96,663]],[[59099,45126],[131,-264],[71,-501],[-47,-160],[-56,-479],[53,-490],[-87,-205],[-85,-549],[147,-153]],[[59226,42325],[-843,-487],[26,-421]],[[56448,40227],[-181,369],[-188,483],[13,1880],[579,-7],[-24,203],[41,222],[-49,277],[32,286],[-29,184]],[[59599,43773],[-77,-449],[77,-768],[97,9],[100,-191],[116,-427],[24,-760],[-120,-124],[-85,-410],[-181,365],[-21,417],[59,274],[-16,237],[-110,149],[-77,-54],[-159,284]],[[61198,44484],[45,-265],[-11,-588],[34,-519],[11,-923],[49,-290],[-83,-422],[-108,-410],[-177,-366],[-254,-225],[-313,-287],[-313,-634],[-107,-108],[-194,-420],[-115,-136],[-23,-421],[132,-448],[54,-346],[4,-177],[49,29],[-8,-579],[-45,-275],[65,-101],[-41,-245],[-116,-211],[-229,-199],[-334,-320],[-122,-219],[24,-248],[71,-40],[-24,-311]],[[58908,34785],[-24,261],[-41,265]],[[53383,47159],[-74,444]],[[53259,40357],[-26,372],[38,519],[96,541],[15,254],[90,532],[66,243],[159,386],[90,263],[29,438],[-15,335],[-83,211],[-74,358],[-68,355],[15,122],[85,235],[-84,570],[-57,396],[-139,374],[26,115]],[[58062,48902],[169,-46],[85,336],[147,-38]],[[59922,69905],[-49,-186]],[[59873,69719],[-100,82],[-58,-394],[69,-66],[-71,-81],[-12,-156],[131,80]],[[59832,69184],[7,-230],[-139,-944]],[[59700,68010],[-27,153],[-155,862]],[[59518,69025],[80,194],[-19,34],[74,276],[56,446],[40,149],[8,6]],[[59757,70130],[93,-1],[25,104],[75,8]],[[59950,70241],[4,-242],[-38,-90],[6,-4]],[[59757,70130],[99,482],[138,416],[5,21]],[[59999,71049],[125,-31],[45,-231],[-151,-223],[-68,-323]],[[63761,43212],[74,-251],[69,-390],[45,-711],[72,-276],[-28,-284],[-49,-174],[-94,347],[-53,-175],[53,-438],[-24,-250],[-77,-137],[-18,-500],[-109,-689],[-137,-814],[-172,-1120],[-106,-821],[-125,-685],[-226,-140],[-243,-250],[-160,151],[-220,211],[-77,312],[-18,524],[-98,471],[-26,425],[50,426],[128,102],[1,197],[133,447],[25,377],[-65,280],[-52,372],[-23,544],[97,331],[38,375],[138,22],[155,121],[103,107],[122,7],[158,337],[229,364],[83,297],[-38,253],[118,-71],[153,410],[6,356],[92,264],[96,-254]],[[59873,69719],[0,-362],[-41,-173]],[[45321,58350],[36,262]],[[52633,68486],[-118,1061],[-171,238],[-3,143],[-227,352],[-24,445],[171,330],[65,487],[-44,563],[57,303]],[[52339,72408],[302,239],[195,-71],[-9,-299],[236,217],[20,-113],[-139,-290],[-2,-273],[96,-147],[-36,-511],[-183,-297],[53,-322],[143,-10],[70,-281],[106,-92]],[[53191,70158],[-16,-454],[-135,-170],[-86,-189],[-191,-228],[30,-244],[-24,-250],[-136,-137]],[[47592,66920],[-2,700],[449,436],[277,90],[227,159],[107,295],[324,234],[12,438],[161,51],[126,219],[363,99],[51,230],[-73,125],[-96,624],[-17,359],[-104,379]],[[49397,71358],[267,323],[300,102],[175,244],[268,180],[471,105],[459,48],[140,-87],[262,232],[297,5],[113,-137],[190,35]],[[52633,68486],[90,-522],[15,-274],[-49,-482],[21,-270],[-36,-323],[24,-371],[-110,-247],[164,-431],[11,-253],[99,-330],[130,109],[219,-275],[122,-370]],[[59922,69905],[309,-234],[544,630]],[[60775,70301],[112,-720]],[[60887,69581],[-53,-89],[-556,-296],[277,-591],[-92,-101],[-46,-197],[-212,-82],[-66,-213],[-120,-182],[-310,94]],[[59709,67924],[-9,86]],[[64327,64904],[49,29],[11,-162],[217,93],[230,-15],[168,-18],[190,400],[207,379],[176,364]],[[65575,65974],[52,-202]],[[65627,65772],[38,-466]],[[65665,65306],[-142,-3],[-23,-384],[50,-82],[-126,-117],[-1,-241],[-81,-245],[-7,-238]],[[65335,63996],[-56,-125],[-835,298],[-106,599],[-11,136]],[[64113,65205],[-18,430],[75,310],[76,64],[84,-185],[5,-346],[-61,-348]],[[64274,65130],[-77,-42],[-84,117]],[[63326,68290],[58,-261],[-25,-135],[89,-445]],[[63448,67449],[-196,-16],[-69,282],[-248,57]],[[62935,67772],[204,567],[187,-49]],[[60775,70301],[615,614],[105,715],[-26,431],[152,146],[142,369]],[[61763,72576],[119,92],[324,-77],[97,-150],[133,100]],[[62436,72541],[180,-705],[182,-177],[21,-345],[-139,-204],[-65,-461],[193,-562],[340,-324],[143,-449],[-46,-428],[89,0],[3,-314],[153,-311]],[[63490,68261],[-164,29]],[[62935,67772],[-516,47],[-784,1188],[-413,414],[-335,160]],[[65665,65306],[125,-404],[155,-214],[203,-78],[165,-107],[125,-339],[75,-196],[100,-75],[-1,-132],[-101,-352],[-44,-166],[-117,-189],[-104,-404],[-126,31],[-58,-141],[-44,-300],[34,-395],[-26,-72],[-128,2],[-174,-221],[-27,-288],[-63,-125],[-173,5],[-109,-149],[1,-238],[-134,-165],[-153,56],[-186,-199],[-128,-34]],[[64752,60417],[-91,413],[-217,975]],[[64444,61805],[833,591],[185,1182],[-127,418]],[[65575,65974],[80,201],[35,-51],[-26,-244],[-37,-108]],[[96448,41190],[175,-339],[-92,-78],[-93,259],[10,158]],[[96330,41322],[-39,163],[-6,453],[133,-182],[45,-476],[-75,74],[-58,-32]],[[78495,57780],[-66,713],[178,492],[359,112],[261,-84]],[[79227,59013],[229,-232],[126,407],[246,-217]],[[79828,58971],[64,-394],[-34,-708],[-467,-455],[122,-358],[-292,-43],[-240,-238]],[[78981,56775],[-233,87],[-112,307],[-141,611]],[[78495,57780],[-249,271],[-238,-11],[41,464],[-245,-3],[-22,-650],[-150,-863],[-90,-522],[19,-428],[181,-18],[113,-539],[50,-512],[155,-338],[168,-69],[144,-306]],[[78372,54256],[-91,-243],[-183,-71],[-22,304],[-227,258],[-48,-105]],[[77801,54399],[-110,227],[-47,292],[-148,334],[-135,280],[-45,-347],[-53,328],[30,369],[82,566]],[[77375,56448],[135,607],[152,551],[-108,539],[4,274],[-32,330],[-185,470],[-66,296],[96,109],[101,514],[-113,390],[-177,431],[-134,519],[117,107],[127,639],[196,26],[162,256],[159,137]],[[77809,62643],[120,-182],[16,-355],[188,-27],[-68,-623],[6,-530],[293,353],[83,-104],[163,17],[56,205],[210,-40],[211,-480],[18,-583],[224,-515],[-12,-500],[-90,-266]],[[77809,62643],[59,218],[237,384]],[[78105,63245],[25,-139],[148,-16],[-42,676],[144,86]],[[78380,63852],[162,-466],[125,-537],[342,-5],[108,-515],[-178,-155],[-80,-212],[333,-353],[231,-699],[175,-520],[210,-411],[70,-418],[-50,-590]],[[77375,56448],[-27,439],[86,452],[-94,350],[23,644],[-113,306],[-90,707],[-50,746],[-121,490],[-183,-297],[-315,-421],[-156,53],[-172,138],[96,732],[-58,554],[-218,681],[34,213],[-163,76],[-197,481]],[[75657,62792],[-18,476],[97,-90],[6,424]],[[75742,63602],[137,140],[-30,251],[63,201],[11,612],[217,-135],[124,487],[14,288],[153,496],[-8,338],[359,408],[199,-107],[-23,364],[97,108],[-20,224]],[[77035,67277],[162,44],[93,-348],[121,-141],[8,-452],[-11,-487],[-263,-493],[-33,-701],[293,98],[66,-544],[176,-115],[-81,-490],[206,-222],[121,-109],[203,172],[9,-244]],[[78380,63852],[149,145],[221,-3],[271,68],[236,315],[134,-222],[254,-108],[-44,-340],[132,-240],[280,-154]],[[80013,63313],[-371,-505],[-231,-558],[-61,-410],[212,-623],[260,-772],[252,-365],[169,-475],[127,-1093],[-37,-1039],[-232,-389],[-318,-381],[-227,-492],[-346,-550],[-101,378],[78,401],[-206,335]],[[86327,75524],[0,0]],[[86327,75524],[-106,36],[-120,-200],[-83,-202],[10,-424],[-143,-130],[-50,-105],[-104,-174],[-185,-97],[-121,-159],[-9,-256],[-32,-65],[111,-96],[157,-259]],[[85652,73393],[-40,-143],[-118,-39],[-197,-29],[-108,-266],[-124,21],[-17,-54]],[[85048,72883],[-135,112],[-34,-111],[-81,-49],[-10,112],[-72,54],[-75,94],[76,260],[66,69],[-25,108],[71,319],[-18,96],[-163,65],[-131,158]],[[84517,74170],[227,379],[306,318],[191,419],[131,-185],[241,-22],[-44,312],[429,254],[111,331],[179,-348]],[[85652,73393],[240,-697],[68,-383],[3,-681],[-105,-325],[-252,-113],[-222,-245],[-250,-51],[-31,322],[51,443],[-122,615],[206,99],[-190,506]],[[82410,80055],[-135,-446],[-197,-590],[72,-241],[157,74],[274,-92],[214,219],[223,-189],[251,-413],[-30,-210],[-219,66],[-404,-78],[-195,-168],[-204,-391],[-423,-229],[-277,-313],[-286,120],[-156,53],[-146,-381],[89,-227],[45,-195],[-194,-199],[-200,-316],[-324,-208],[-417,-22],[-448,-205],[-324,-318],[-123,184],[-336,-1],[-411,359],[-274,88],[-369,-82],[-574,133],[-306,-14],[-163,351],[-127,544],[-171,66],[-336,368],[-374,83],[-330,101],[-100,256],[107,690],[-192,476],[-396,222],[-233,313],[-73,413]],[[75742,63602],[-147,937],[-76,-2],[-46,-377],[-152,306],[86,336],[124,34],[128,500],[-160,101],[-257,-8],[-265,81],[-24,410],[-133,30],[-220,255],[-98,-401],[200,-313],[-173,-220],[-62,-215],[171,-159],[-47,-356],[96,-444],[43,-486]],[[74730,63611],[-39,-216],[-189,7],[-343,-122],[16,-445],[-148,-349],[-400,-398],[-311,-695],[-209,-373],[-276,-387],[-1,-271],[-138,-146],[-251,-212],[-129,-31],[-84,-450],[58,-769],[15,-490],[-118,-561],[-1,-1004],[-144,-29],[-126,-450],[84,-195],[-253,-168],[-93,-401],[-112,-170],[-263,552],[-128,827],[-107,596],[-97,279],[-148,568],[-69,739],[-48,369],[-253,811],[-115,1145],[-83,756],[1,716],[-54,553],[-404,-353],[-196,70],[-362,716],[133,214],[-82,232],[-326,501]],[[68937,64577],[185,395],[612,-2],[-56,507],[-156,300],[-31,455],[-182,265],[306,619],[323,-45],[290,620],[174,599],[270,593],[-4,421],[236,342],[-224,292],[-96,400],[-99,517],[137,255],[421,-144],[310,88],[268,496]],[[71621,71550],[298,-692],[-28,-482],[111,-303],[-9,-301],[-200,79],[78,-651],[273,-374],[386,-413]],[[72530,68413],[-176,-268],[-108,-553],[269,-224],[262,-289],[362,-332],[381,-76],[160,-301],[215,-56],[334,-138],[231,10],[32,234],[-36,375],[21,255]],[[74477,67050],[170,124],[23,-465]],[[74670,66709],[6,-119],[252,-224],[175,92],[234,-39],[227,17],[20,363],[-113,189]],[[75471,66988],[224,74],[252,439],[321,376],[233,-145],[198,249],[130,-367],[-94,-248],[300,-89]],[[75657,62792],[-79,308],[-16,301],[-53,285],[-116,344],[-256,23],[25,-243],[-87,-329],[-118,120],[-41,-108],[-78,65],[-108,53]],[[74670,66709],[184,439],[150,150],[198,-137],[147,-14],[122,-159]],[[72530,68413],[115,141],[223,-182],[280,-385],[157,-84],[93,-284],[216,-117],[225,-259],[314,-136],[324,-57]],[[68937,64577],[-203,150],[-83,424],[-215,450],[-512,-111],[-451,-11],[-391,-83]],[[67082,65396],[105,687],[400,305],[-23,272],[-133,96],[-7,520],[-266,260],[-112,357],[-137,310]],[[66909,68203],[465,-301],[278,88],[166,-75],[56,129],[194,-52],[361,246],[10,503],[154,334],[207,-1],[31,166],[212,77],[103,-55],[108,166],[-15,355],[118,356],[177,150],[-110,390],[265,-18],[76,213],[-12,227],[139,248],[-32,294],[-66,250],[163,258],[298,124],[319,68],[141,109],[162,67]],[[70877,72519],[205,-276],[82,-454],[457,-239]],[[68841,72526],[85,-72],[201,189],[93,-114],[90,271],[166,-12],[43,86],[29,239],[120,205],[150,-134],[-30,-181],[84,-28],[-26,-496],[110,-194],[97,125],[123,58],[173,265],[192,-44],[286,-1]],[[70827,72688],[50,-169]],[[66909,68203],[252,536],[-23,380],[-210,100],[-22,375],[-91,472],[119,323],[-121,87],[76,430],[113,736]],[[67002,71642],[284,-224],[209,79],[58,268],[219,89],[157,180],[55,472],[234,114],[44,211],[131,-158],[84,-19]],[[69725,74357],[-101,-182],[-303,98],[-26,-340],[301,46],[343,-192],[526,89]],[[70465,73876],[70,-546],[91,59],[169,-134],[-10,-230],[42,-337]],[[72294,75601],[-39,-134],[-438,-320],[-99,-234],[-356,-70],[-105,-378],[-294,80],[-192,-116],[-266,-279],[39,-138],[-79,-136]],[[67002,71642],[-24,498],[-207,21],[-318,523],[-221,65],[-308,299],[-197,55],[-122,-110],[-186,17],[-197,-338],[-244,-114]],[[64978,72558],[-52,417],[40,618],[-216,200],[71,405],[-184,34],[61,498],[262,-145],[244,189],[-202,355],[-80,338],[-224,-151],[-28,-433],[-87,383]],[[62436,72541],[-152,473],[55,183],[-87,678],[190,168]],[[62442,74043],[44,-223],[141,-273],[190,-78]],[[62817,73469],[101,17]],[[62918,73486],[327,436],[104,44],[82,-174],[-95,-292],[173,-309],[69,29]],[[63578,73220],[88,-436],[263,-123],[193,-296],[395,-102],[434,156],[27,139]],[[67082,65396],[-523,179],[-303,136],[-313,76],[-118,725],[-133,105],[-214,-106],[-280,-286],[-339,196],[-281,454],[-267,168],[-186,561],[-205,788],[-149,-96],[-177,196],[-104,-231]],[[59999,71049],[-26,452],[68,243]],[[60041,71744],[74,129],[75,130],[15,329],[91,-115],[306,165],[147,-112],[229,2],[320,222],[149,-10],[316,92]],[[62817,73469],[-113,342],[1,91],[-123,-2],[-82,159],[-58,-16]],[[62442,74043],[-109,172],[-207,147],[27,288],[-47,208]],[[62106,74858],[386,92]],[[62492,74950],[57,-155],[106,-103],[-56,-148],[148,-202],[-78,-189],[118,-160],[124,-97],[7,-410]],[[55734,91409],[371,-289],[433,-402],[8,-910],[93,-230]],[[56639,89578],[-478,-167],[-269,-413],[43,-361],[-441,-475],[-537,-509],[-202,-832],[198,-416],[265,-328],[-255,-666],[-289,-138],[-106,-992],[-157,-554],[-337,57],[-158,-468],[-321,-27],[-89,558],[-232,671],[-211,835]],[[58829,81362],[-239,-35],[-85,-129],[-18,-298],[-111,57],[-250,-28],[-73,138],[-104,-103],[-105,86],[-218,12],[-310,141],[-281,47],[-215,-14],[-152,-160],[-133,-23]],[[56535,81053],[-6,263],[-85,274],[166,121],[2,235],[-77,225],[-12,261]],[[56523,82432],[268,-4],[302,223],[64,333],[228,190],[-26,264]],[[57359,83438],[169,100],[298,228]],[[60617,78409],[-222,-48],[-185,-191],[-260,-31],[-239,-220],[14,-317]],[[59287,77741],[-38,64],[-432,149],[-19,221],[-257,-73],[-103,-325],[-215,-437]],[[58223,77340],[-126,101],[-131,-95],[-124,109]],[[57842,77455],[70,64],[49,203],[76,188],[-20,106],[58,47],[27,-81],[164,-18],[74,44],[-52,60],[19,88],[-97,150],[-40,247],[-101,97],[20,200],[-125,159],[-115,22],[-204,184],[-185,-58],[-66,-87]],[[57394,79070],[-118,0],[-69,-139],[-205,-56],[-95,-91],[-129,144],[-178,3],[-172,65],[-120,-127]],[[56308,78869],[-19,159],[-155,161]],[[56134,79189],[55,238],[77,154]],[[56266,79581],[60,-35],[-71,266],[252,491],[138,69],[29,166],[-139,515]],[[56266,79581],[-264,227],[-200,-84],[-131,61],[-165,-127],[-140,210],[-114,-81],[-16,36]],[[55236,79823],[-127,291],[-207,36],[-26,185],[-191,66],[-41,-153],[-151,122],[17,163],[-207,51],[-132,191]],[[54171,80775],[-114,377],[22,204],[-69,316],[-101,210],[77,158],[-64,300]],[[53922,82340],[189,174],[434,273],[350,200],[277,-100],[21,-144],[268,-7]],[[56314,82678],[142,-64],[67,-182]],[[54716,79012],[-21,-241],[-156,-2],[53,-128],[-92,-380]],[[54500,78261],[-53,-100],[-243,-14],[-140,-134],[-229,45]],[[53835,78058],[-398,153],[-62,205],[-274,-102],[-32,-113],[-169,84]],[[52900,78285],[-142,16],[-125,108],[42,145],[-10,104]],[[52665,78658],[83,33],[141,-164],[39,156],[245,-25],[199,106],[133,-18],[87,-121],[26,100],[-40,385],[100,75],[98,272]],[[53776,79457],[206,-190],[157,242],[98,44],[215,-180],[131,30],[128,-111]],[[54711,79292],[-23,-75],[28,-205]],[[56308,78869],[-170,-123],[-131,-401],[-168,-401],[-223,-111]],[[55616,77833],[-173,26],[-213,-155]],[[55230,77704],[-104,-89],[-229,114],[-208,253],[-88,73]],[[54601,78055],[-54,200],[-47,6]],[[54716,79012],[141,-151],[103,-65],[233,73],[22,118],[111,18],[135,92],[30,-38],[130,74],[66,139],[91,36],[297,-180],[59,61]],[[57842,77455],[-50,270],[30,252],[-9,259],[-160,352],[-89,249],[-86,175],[-84,58]],[[58223,77340],[6,-152],[-135,-128],[-84,56],[-78,-713]],[[57932,76403],[-163,62],[-202,215],[-327,-138],[-138,-150],[-408,31],[-213,92],[-108,-43],[-80,243]],[[56293,76715],[-51,103],[65,99],[-69,74],[-87,-133],[-162,172],[-22,244],[-169,139],[-31,188],[-151,232]],[[55907,83187],[-59,497]],[[55848,83684],[318,181],[466,-38],[273,59],[39,-123],[148,-38],[267,-287]],[[55848,83684],[10,445],[136,371],[262,202],[221,-442],[223,12],[53,453]],[[56753,84725],[237,105],[121,-73],[239,-219],[229,-1]],[[56753,84725],[32,349],[-102,-75],[-176,210],[-24,340],[351,164],[350,86],[301,-97],[287,17]],[[54171,80775],[-124,-62],[-73,68],[-70,-113],[-200,-114],[-103,-147],[-202,-129],[49,-176],[30,-249],[141,-142],[157,-254]],[[52665,78658],[-298,181],[-57,-128],[-236,4]],[[51718,79804],[16,259],[-56,133]],[[51678,80196],[32,400]],[[51710,80596],[-47,619],[167,0],[70,222],[69,541],[-51,200]],[[51918,82178],[54,125],[232,32],[52,-130],[188,291],[-63,222],[-13,335]],[[52368,83053],[210,-78],[178,90]],[[52756,83065],[4,-228],[281,-138],[-3,-210],[283,111],[156,162],[313,-233],[132,-189]],[[57932,76403],[-144,-245],[-101,-422],[89,-337]],[[57776,75399],[-239,79],[-283,-186]],[[57254,75292],[-3,-294],[-252,-56],[-196,206],[-222,-162],[-206,17]],[[56375,75003],[-20,391],[-139,189]],[[56216,75583],[46,84],[-30,70],[47,188],[105,185],[-135,255],[-24,216],[68,134]],[[57302,71436],[-35,-175],[-400,-50],[3,98],[-339,115],[52,251],[152,-199],[216,34],[207,-42],[-7,-103],[151,71]],[[57254,75292],[135,-157],[-86,-369],[-66,-67]],[[57237,74699],[-169,17],[-145,56],[-336,-154],[192,-332],[-141,-96],[-154,-1],[-147,305],[-52,-130],[62,-353],[139,-277],[-105,-129],[155,-273],[137,-171],[4,-334],[-257,157],[82,-302],[-176,-62],[105,-521],[-184,-8],[-228,257],[-104,473],[-49,393],[-108,272],[-143,337],[-18,168]],[[55597,73991],[129,287],[16,192],[91,85],[5,155]],[[55838,74710],[182,53],[106,129],[150,-12],[46,103],[53,20]],[[60041,71744],[-102,268],[105,222],[-169,-51],[-233,136],[-191,-340],[-421,-66],[-225,317],[-300,20],[-64,-245],[-192,-70],[-268,314],[-303,-11],[-165,588],[-203,328],[135,459],[-176,283],[308,565],[428,23],[117,449],[529,-78],[334,383],[324,167],[459,13],[485,-417],[399,-228],[323,91],[239,-53],[328,309]],[[61542,75120],[296,28],[268,-290]],[[57776,75399],[33,-228],[243,-190],[-51,-145],[-330,-33],[-118,-182],[-232,-319],[-87,276],[3,121]],[[55597,73991],[-48,41],[-5,130],[-154,199],[-24,281],[23,403],[38,184],[-47,93]],[[55380,75322],[-18,188],[120,291],[18,-111],[75,52]],[[55575,75742],[59,-159],[66,-60],[19,-214]],[[55719,75309],[-35,-201],[39,-254],[115,-144]],[[55230,77704],[67,-229],[89,-169],[-107,-222]],[[55279,77084],[-126,131],[-192,-8],[-239,98],[-130,-13],[-60,-123],[-99,136],[-59,-245],[136,-277],[61,-183],[127,-221],[106,-130],[105,-247],[246,-224]],[[55155,75778],[-31,-100]],[[55124,75678],[-261,218],[-161,213],[-254,176],[-233,434],[56,45],[-127,248],[-5,200],[-179,93],[-85,-255],[-82,198],[6,205],[10,9]],[[53809,77462],[194,-20],[51,100],[94,-97],[109,-11],[-1,165],[97,60],[27,239],[221,157]],[[52900,78285],[-22,-242],[-122,-100],[-206,75],[-60,-239],[-132,-19],[-48,94],[-156,-200],[-134,-28],[-120,126]],[[51576,79843],[30,331],[72,22]],[[50698,80799],[222,117]],[[50920,80916],[204,-47],[257,123],[176,-258],[153,-138]],[[50920,80916],[143,162],[244,869],[380,248],[231,-17]],[[47490,75324],[101,150],[113,86],[70,-289],[164,0],[47,75],[162,-21],[78,-296],[-129,-160],[-3,-461],[-45,-86],[-11,-280],[-120,-48],[111,-355],[-77,-388],[96,-175],[-38,-161],[-103,-222],[23,-195]],[[47929,72498],[-112,-153],[-146,83],[-143,-65],[42,462],[-26,363],[-124,55],[-67,224],[22,386],[111,215],[20,239],[58,355],[-6,250],[-56,212],[-12,200]],[[47490,75324],[14,420],[-114,257],[393,426],[340,-106],[373,3],[296,-101],[230,31],[449,-19]],[[50829,75674],[15,-344],[-263,-393],[-356,-125],[-25,-199],[-171,-327],[-107,-481],[108,-338],[-160,-263],[-60,-384],[-210,-118],[-197,-454],[-352,-9],[-265,11],[-174,-209],[-106,-223],[-136,49],[-103,199],[-79,340],[-259,92]],[[48278,82406],[46,-422],[-210,-528],[-493,-349],[-393,89],[225,617],[-145,601],[378,463],[210,276]],[[47896,83153],[57,-317],[-57,-317],[172,9],[210,-122]],[[96049,38125],[228,-366],[144,-272],[-105,-142],[-153,160],[-199,266],[-179,313],[-184,416],[-38,201],[119,-9],[156,-201],[122,-200],[89,-166]],[[95032,44386],[78,-203],[-194,4],[-106,363],[166,-142],[56,-22]],[[94910,44908],[-42,-109],[-206,512],[-57,353],[94,0],[100,-473],[111,-283]],[[94680,44747],[-108,-14],[-170,60],[-58,91],[17,235],[183,-93],[91,-124],[45,-155]],[[94344,45841],[65,-187],[12,-119],[-218,251],[-152,212],[-104,197],[41,60],[128,-142],[228,-272]],[[93649,46431],[111,-193],[-56,-33],[-121,134],[-114,243],[14,99],[166,-250]],[[99134,26908],[-105,-319],[-138,-404],[-214,-236],[-48,155],[-116,85],[160,486],[-91,326],[-299,236],[8,214],[201,206],[47,455],[-13,382],[-113,396],[8,104],[-133,244],[-218,523],[-117,418],[104,46],[151,-328],[216,-153],[78,-526],[202,-622],[5,403],[126,-161],[41,-447],[224,-192],[188,-48],[158,226],[141,-69],[-67,-524],[-85,-345],[-212,12],[-74,-179],[26,-254],[-41,-110]],[[97129,24846],[238,310],[167,306],[123,441],[106,149],[41,330],[195,273],[61,-251],[63,-244],[198,239],[80,-249],[0,-249],[-103,-274],[-182,-435],[-142,-238],[103,-284],[-214,-7],[-238,-223],[-75,-387],[-157,-597],[-219,-264],[-138,-169],[-256,13],[-180,194],[-302,42],[-46,217],[149,438],[349,583],[179,111],[200,225]],[[91024,26469],[166,-39],[20,-702],[-95,-203],[-29,-476],[-97,162],[-193,-412],[-57,32],[-171,19],[-171,505],[-38,390],[-160,515],[7,271],[181,-52],[269,-204],[151,81],[217,113]],[[85040,31546],[-294,-303],[-241,-137],[-53,-309],[-103,-240],[-236,-15],[-174,-52],[-246,107],[-199,-64],[-191,-27],[-165,-315],[-81,26],[-140,-167],[-133,-187],[-203,23],[-186,0],[-295,377],[-149,113],[6,338],[138,81],[47,134],[-10,212],[34,411],[-31,350],[-147,598],[-45,337],[12,336],[-111,385],[-7,174],[-123,235],[-35,463],[-158,467],[-39,252],[122,-255],[-93,548],[137,-171],[83,-229],[-5,303],[-138,465],[-26,186],[-65,177],[31,341],[56,146],[38,295],[-29,346],[114,425],[21,-450],[118,406],[225,198],[136,252],[212,217],[126,46],[77,-73],[219,220],[168,66],[42,129],[74,54],[153,-14],[292,173],[151,262],[71,316],[163,300],[13,236],[7,321],[194,502],[117,-510],[119,118],[-99,279],[87,287],[122,-128],[34,449],[152,291],[67,233],[140,101],[4,165],[122,-69],[5,148],[122,85],[134,80],[205,-271],[155,-350],[173,-4],[177,-56],[-59,325],[133,473],[126,155],[-44,147],[121,338],[168,208],[142,-70],[234,111],[-5,302],[-204,195],[148,86],[184,-147],[148,-242],[234,-151],[79,60],[172,-182],[162,169],[105,-51],[65,113],[127,-292],[-74,-316],[-105,-239],[-96,-20],[32,-236],[-81,-295],[-99,-291],[20,-166],[221,-327],[214,-189],[143,-204],[201,-350],[78,1],[145,-151],[43,-183],[265,-200],[183,202],[55,317],[56,262],[34,324],[85,470],[-39,286],[20,171],[-32,339],[37,445],[53,120],[-43,197],[67,313],[52,325],[7,168],[104,222],[78,-289],[19,-371],[70,-71],[11,-249],[101,-300],[21,-335],[-10,-214],[100,-464],[179,223],[92,-250],[133,-231],[-29,-262],[60,-506],[42,-295],[70,-72],[75,-505],[-27,-307],[90,-400],[301,-309],[197,-281],[186,-257],[-37,-143],[159,-371],[108,-639],[111,130],[113,-256],[68,91],[48,-626],[197,-363],[129,-226],[217,-478],[78,-475],[7,-337],[-19,-365],[132,-502],[-16,-523],[-48,-274],[-75,-527],[6,-339],[-55,-423],[-123,-538],[-205,-290],[-102,-458],[-93,-292],[-82,-510],[-107,-294],[-70,-442],[-36,-407],[14,-187],[-159,-205],[-311,-22],[-257,-242],[-127,-229],[-168,-254],[-230,262],[-170,104],[43,308],[-152,-112],[-243,-428],[-240,160],[-158,94],[-159,42],[-269,171],[-179,364],[-52,449],[-64,298],[-137,240],[-267,71],[91,287],[-67,438],[-136,-408],[-247,-109],[146,327],[42,341],[107,289],[-22,438],[-226,-504],[-174,-202],[-106,-470],[-217,243],[9,313],[-174,429],[-147,221],[52,137],[-356,358],[-195,17],[-267,287],[-498,-56],[-359,-211],[-317,-197],[-265,39]],[[72718,55024],[-42,-615],[-116,-168],[-242,-135],[-132,470],[-49,849],[126,959],[192,-328],[129,-416],[134,-616]],[[80409,61331],[-228,183],[-8,509],[137,267],[304,166],[159,-14],[62,-226],[-122,-260],[-64,-341],[-240,-284]],[[84517,74170],[-388,-171],[-204,-277],[-300,-161],[148,274],[-58,230],[220,397],[-147,310],[-242,-209],[-314,-411],[-171,-381],[-272,-29],[-142,-275],[147,-400],[227,-97],[9,-265],[220,-173],[311,422],[247,-230],[179,-15],[45,-310],[-393,-165],[-130,-319],[-270,-296],[-142,-414],[299,-325],[109,-581],[169,-541],[189,-454],[-5,-439],[-174,-161],[66,-315],[164,-184],[-43,-481],[-71,-468],[-155,-53],[-203,-640],[-225,-775],[-258,-705],[-382,-545],[-386,-498],[-313,-68],[-170,-262],[-96,192],[-157,-294],[-388,-296],[-294,-90],[-95,-624],[-154,-35],[-73,429],[66,228],[-373,189],[-131,-96]],[[83826,64992],[-167,-947],[-119,-485],[-146,499],[-32,438],[163,581],[223,447],[127,-176],[-49,-357]],[[53835,78058],[-31,-291],[67,-251]],[[53871,77516],[-221,86],[-226,-210],[15,-293],[-34,-168],[91,-301],[261,-298],[140,-488],[309,-476],[217,3],[68,-130],[-78,-118],[249,-214],[204,-178],[238,-308],[29,-111],[-52,-211],[-154,276],[-242,97],[-116,-382],[200,-219],[-33,-309],[-116,-35],[-148,-506],[-116,-46],[1,181],[57,317],[60,126],[-108,342],[-85,298],[-115,74],[-82,255],[-179,107],[-120,238],[-206,38],[-217,267],[-254,384],[-189,340],[-86,585],[-138,68],[-226,195],[-128,-80],[-161,-274],[-115,-43]],[[54100,73116],[211,51],[-100,-465],[41,-183],[-58,-303],[-213,222],[-141,64],[-387,300],[38,304],[325,-54],[284,64]],[[52419,74744],[139,183],[166,-419],[-39,-782],[-126,38],[-113,-197],[-105,156],[-11,713],[-64,338],[153,-30]],[[52368,83053],[-113,328],[-8,604],[46,159],[80,177],[244,37],[98,163],[223,167],[-9,-304],[-82,-192],[33,-166],[151,-89],[-68,-223],[-83,64],[-200,-425],[76,-288]],[[53436,83731],[88,-296],[-166,-478],[-291,333],[-39,246],[408,195]],[[47896,83153],[233,24],[298,-365],[-149,-406]],[[49140,82132],[1,0],[40,343],[-186,364],[-4,8],[-337,104],[-66,160],[101,264],[-92,163],[-149,-279],[-17,569],[-140,301],[101,611],[216,480],[222,-47],[335,49],[-297,-639],[283,81],[304,-3],[-72,-481],[-250,-530],[287,-38],[22,-62],[248,-697],[190,-95],[171,-673],[79,-233],[337,-113],[-34,-378],[-142,-173],[111,-305],[-250,-310],[-371,6],[-473,-163],[-130,116],[-183,-276],[-257,67],[-195,-226],[-148,118],[407,621],[249,127],[-2,1],[-434,98],[-79,235],[291,183],[-152,319],[52,387],[413,-54]],[[45969,89843],[-64,-382],[314,-403],[-361,-451],[-801,-405],[-240,-107],[-365,87],[-775,187],[273,261],[-605,289],[492,114],[-12,174],[-583,137],[188,385],[421,87],[433,-400],[422,321],[349,-167],[453,315],[461,-42]],[[63495,75281],[146,-311],[141,-419],[130,-28],[85,-159],[-228,-47],[-49,-459],[-48,-207],[-101,-138],[7,-293]],[[62492,74950],[68,96],[207,-169],[149,-36],[38,70],[-136,319],[72,82]],[[61542,75120],[42,252],[-70,403],[-160,218],[-154,68],[-102,181]],[[83564,58086],[-142,450],[238,-22],[97,-213],[-74,-510],[-119,295]],[[84051,56477],[70,165],[30,367],[153,35],[-44,-398],[205,570],[-26,-563],[-100,-195],[-87,-373],[-87,-175],[-171,409],[57,158]],[[85104,55551],[28,-392],[16,-332],[-94,-540],[-102,602],[-130,-300],[89,-435],[-79,-277],[-327,343],[-78,428],[84,280],[-176,280],[-87,-245],[-131,23],[-205,-330],[-46,173],[109,498],[175,166],[151,223],[98,-268],[212,162],[45,264],[196,15],[-16,457],[225,-280],[23,-297],[20,-218]],[[82917,56084],[-369,-561],[136,414],[200,364],[167,409],[146,587],[49,-482],[-183,-325],[-146,-406]],[[83982,61347],[-46,-245],[95,-423],[-73,-491],[-164,-196],[-43,-476],[62,-471],[147,-65],[123,70],[347,-328],[-27,-321],[91,-142],[-29,-272],[-216,290],[-103,310],[-71,-217],[-177,354],[-253,-87],[-138,130],[14,244],[87,151],[-83,136],[-36,-213],[-137,340],[-41,257],[-11,566],[112,-195],[29,925],[90,535],[169,-1],[171,-168],[85,153],[26,-150]],[[83899,57324],[-43,282],[166,-183],[177,1],[-5,-247],[-129,-251],[-176,-178],[-10,275],[20,301]],[[84861,57766],[78,-660],[-214,157],[5,-199],[68,-364],[-132,-133],[-11,416],[-84,31],[-43,357],[163,-47],[-4,224],[-169,451],[266,-13],[77,-220]],[[78372,54256],[64,-56],[164,-356],[116,-396],[16,-398],[-29,-269],[27,-203],[20,-349],[98,-163],[109,-523],[-5,-199],[-197,-40],[-263,438],[-329,469],[-32,301],[-161,395],[-38,489],[-100,322],[30,431],[-61,250]],[[80461,51765],[204,-202],[214,110],[56,500],[119,112],[333,128],[199,467],[137,374]],[[81723,53254],[126,-307],[58,202],[133,-19],[16,377],[13,291]],[[82069,53798],[214,411],[140,462],[112,2],[143,-299],[13,-257],[183,-165],[231,-177],[-20,-232],[-186,-29],[50,-289],[-205,-201]],[[81723,53254],[110,221],[236,323]],[[53809,77462],[62,54]],[[57797,86326],[-504,-47],[-489,-216],[-452,-125],[-161,323],[-269,193],[62,582],[-135,533],[133,345],[252,371],[635,640],[185,124],[-28,250],[-387,279]],[[54711,79292],[39,130],[123,-10],[95,61],[7,55],[54,28],[18,134],[64,26],[43,106],[82,1]],[[60669,61213],[161,-684],[77,-542],[152,-288],[379,-558],[154,-336],[151,-341],[87,-203],[136,-178]],[[61966,58083],[-83,-144],[-119,51]],[[61764,57990],[-95,191],[-114,346],[-124,190],[-71,204],[-242,237],[-191,7],[-67,124],[-163,-139],[-168,268],[-87,-441],[-323,124]],[[89411,73729],[-256,-595],[4,-610],[-104,-472],[48,-296],[-145,-416],[-355,-278],[-488,-36],[-396,-675],[-186,227],[-12,442],[-483,-130],[-329,-279],[-325,-11],[282,-435],[-186,-1004],[-179,-248],[-135,229],[69,533],[-176,172],[-113,405],[263,182],[145,371],[280,306],[203,403],[553,177],[297,-121],[291,1050],[185,-282],[408,591],[158,229],[174,723],[-47,664],[117,374],[295,108],[152,-819],[-9,-479]],[[90169,76553],[197,250],[62,-663],[-412,-162],[-244,-587],[-436,404],[-152,-646],[-308,-9],[-39,587],[138,455],[296,33],[81,817],[83,460],[326,-615],[213,-198],[195,-126]],[[86769,70351],[154,352],[158,-68],[114,248],[204,-127],[35,-203],[-156,-357],[-114,189],[-143,-137],[-73,-346],[-181,168],[2,281]],[[64752,60417],[-201,-158],[-54,-263],[-6,-201],[-277,-249],[-444,-276],[-249,-417],[-122,-33],[-83,35],[-163,-245],[-177,-114],[-233,-30],[-70,-34],[-61,-156],[-73,-43],[-43,-150],[-137,13],[-89,-80],[-192,30],[-72,345],[8,323],[-46,174],[-54,437],[-80,243],[56,29],[-29,270],[34,114],[-12,257]],[[61883,60238],[121,189],[-28,249],[74,290],[114,-153],[75,53],[321,14],[50,-59],[269,-60],[106,30],[70,-197],[130,99],[199,620],[259,266],[801,226]],[[63448,67449],[109,-510],[137,-135],[47,-207],[190,-249],[16,-243],[-27,-197],[35,-199],[80,-165],[37,-194],[41,-145]],[[64274,65130],[53,-226]],[[61883,60238],[-37,252],[-83,178],[-22,236],[-143,212],[-148,495],[-79,482],[-192,406],[-124,97],[-184,563],[-32,411],[12,350],[-159,655],[-130,231],[-150,122],[-92,339],[15,133],[-77,306],[-81,132],[-108,440],[-170,476],[-141,406],[-139,-3],[44,325],[12,206],[34,236]],[[36483,4468],[141,0],[414,127],[419,-127],[342,-255],[120,-359],[33,-254],[11,-301],[-430,-186],[-452,-150],[-522,-139],[-582,-116],[-658,35],[-365,197],[49,243],[593,162],[239,197],[174,254],[126,220],[168,209],[180,243]],[[31586,3163],[625,-23],[599,-58],[207,243],[147,208],[288,-243],[-82,-301],[-81,-266],[-582,81],[-621,-35],[-348,197],[0,23],[-152,174]],[[29468,8472],[190,70],[321,-23],[82,301],[16,219],[-6,475],[158,278],[256,93],[147,-220],[65,-220],[120,-267],[92,-254],[76,-267],[33,-266],[-49,-231],[-76,-220],[-326,-81],[-311,-116],[-364,11],[136,232],[-327,-81],[-310,-81],[-212,174],[-16,243],[305,231]],[[21575,8103],[174,104],[353,-81],[403,-46],[305,-81],[304,69],[163,-335],[-217,46],[-337,-23],[-343,23],[-376,-35],[-283,116],[-146,243]],[[15938,7061],[60,197],[332,-104],[359,-93],[332,104],[-158,-208],[-261,-151],[-386,47],[-278,208]],[[14643,7177],[202,127],[277,-139],[425,-231],[-164,23],[-359,58],[-381,162]],[[4524,4144],[169,220],[517,-93],[277,-185],[212,-209],[76,-266],[-533,-81],[-364,208],[-163,209],[-11,35],[-180,162]],[[0,529],[16,-5],[245,344],[501,-185],[32,21],[294,188],[38,-7],[32,-4],[402,-246],[352,246],[63,34],[816,104],[265,-138],[130,-71],[419,-196],[789,-151],[625,-185],[1072,-139],[800,162],[1181,-116],[669,-185],[734,174],[773,162],[60,278],[-1094,23],[-898,139],[-234,231],[-745,128],[49,266],[103,243],[104,220],[-55,243],[-462,162],[-212,209],[-430,185],[675,-35],[642,93],[402,-197],[495,173],[457,220],[223,197],[-98,243],[-359,162],[-408,174],[-571,35],[-500,81],[-539,58],[-180,220],[-359,185],[-217,208],[-87,672],[136,-58],[250,-185],[457,58],[441,81],[228,-255],[441,58],[370,127],[348,162],[315,197],[419,58],[-11,220],[-97,220],[81,208],[359,104],[163,-196],[425,115],[321,151],[397,12],[375,57],[376,139],[299,128],[337,127],[218,-35],[190,-46],[414,81],[370,-104],[381,11],[364,81],[375,-57],[414,-58],[386,23],[403,-12],[413,-11],[381,23],[283,174],[337,92],[349,-127],[331,104],[300,208],[179,-185],[98,-208],[180,-197],[288,174],[332,-220],[375,-70],[321,-162],[392,35],[354,104],[418,-23],[376,-81],[381,-104],[147,254],[-180,197],[-136,209],[-359,46],[-158,220],[-60,220],[-98,440],[213,-81],[364,-35],[359,35],[327,-93],[283,-174],[119,-208],[376,-35],[359,81],[381,116],[342,70],[283,-139],[370,46],[239,451],[224,-266],[321,-104],[348,58],[228,-232],[365,-23],[337,-69],[332,-128],[218,220],[108,209],[278,-232],[381,58],[283,-127],[190,-197],[370,58],[288,127],[283,151],[337,81],[392,69],[354,81],[272,127],[163,186],[65,254],[-32,244],[-87,231],[-98,232],[-87,231],[-71,209],[-16,231],[27,232],[130,220],[109,243],[44,231],[-55,255],[-32,232],[136,266],[152,173],[180,220],[190,186],[223,173],[109,255],[152,162],[174,151],[267,34],[174,186],[196,115],[228,70],[202,150],[157,186],[218,69],[163,-151],[-103,-196],[-283,-174],[-120,-127],[-206,92],[-229,-58],[-190,-139],[-202,-150],[-136,-174],[-38,-231],[17,-220],[130,-197],[-190,-139],[-261,-46],[-153,-197],[-163,-185],[-174,-255],[-44,-220],[98,-243],[147,-185],[229,-139],[212,-185],[114,-232],[60,-220],[82,-232],[130,-196],[82,-220],[38,-544],[81,-220],[22,-232],[87,-231],[-38,-313],[-152,-243],[-163,-197],[-370,-81],[-125,-208],[-169,-197],[-419,-220],[-370,-93],[-348,-127],[-376,-128],[-223,-243],[-446,-23],[-489,23],[-441,-46],[-468,0],[87,-232],[424,-104],[311,-162],[174,-208],[-310,-185],[-479,58],[-397,-151],[-17,-243],[-11,-232],[327,-196],[60,-220],[353,-220],[588,-93],[500,-162],[398,-185],[506,-186],[690,-92],[681,-162],[473,-174],[517,-197],[272,-278],[136,-220],[337,209],[457,173],[484,186],[577,150],[495,162],[691,12],[680,-81],[560,-139],[180,255],[386,173],[702,12],[550,127],[522,128],[577,81],[614,104],[430,150],[-196,209],[-119,208],[0,220],[-539,-23],[-571,-93],[-544,0],[-77,220],[39,440],[125,128],[397,138],[468,139],[337,174],[337,174],[251,231],[380,104],[376,81],[190,47],[430,23],[408,81],[343,116],[337,139],[305,139],[386,185],[245,197],[261,173],[82,232],[-294,139],[98,243],[185,185],[288,116],[305,139],[283,185],[217,232],[136,277],[202,163],[331,-35],[136,-197],[332,-23],[11,220],[142,231],[299,-58],[71,-220],[331,-34],[360,104],[348,69],[315,-34],[120,-243],[305,196],[283,105],[315,81],[310,81],[283,139],[310,92],[240,128],[168,208],[207,-151],[288,81],[202,-277],[157,-209],[316,116],[125,232],[283,162],[365,-35],[108,-220],[229,220],[299,69],[326,23],[294,-11],[310,-70],[300,-34],[130,-197],[180,-174],[304,104],[327,24],[315,0],[310,11],[278,81],[294,70],[245,162],[261,104],[283,58],[212,162],[152,324],[158,197],[288,-93],[109,-208],[239,-139],[289,46],[196,-208],[206,-151],[283,139],[98,255],[250,104],[289,197],[272,81],[326,116],[218,127],[228,139],[218,127],[261,-69],[250,208],[180,162],[261,-11],[229,139],[54,208],[234,162],[228,116],[278,93],[256,46],[244,-35],[262,-58],[223,-162],[27,-254],[245,-197],[168,-162],[332,-70],[185,-162],[229,-162],[266,-35],[223,116],[240,243],[261,-127],[272,-70],[261,-69],[272,-46],[277,0],[229,-614],[-11,-150],[-33,-267],[-266,-150],[-218,-220],[38,-232],[310,12],[-38,-232],[-141,-220],[-131,-243],[212,-185],[321,-58],[321,104],[153,232],[92,220],[153,185],[174,174],[70,208],[147,289],[174,58],[316,24],[277,69],[283,93],[136,231],[82,220],[190,220],[272,151],[234,115],[153,197],[157,104],[202,93],[277,-58],[250,58],[272,69],[305,-34],[201,162],[142,393],[103,-162],[131,-278],[234,-115],[266,-47],[267,70],[283,-46],[261,-12],[174,58],[234,-35],[212,-127],[250,81],[300,0],[255,81],[289,-81],[185,197],[141,196],[191,163],[348,439],[179,-81],[212,-162],[185,-208],[354,-359],[272,-12],[256,0],[299,70],[299,81],[229,162],[190,174],[310,23],[207,127],[218,-116],[141,-185],[196,-185],[305,23],[190,-150],[332,-151],[348,-58],[288,47],[218,185],[185,185],[250,46],[251,-81],[288,-58],[261,93],[250,0],[245,-58],[256,-58],[250,104],[299,93],[283,23],[316,0],[255,58],[251,46],[76,290],[11,243],[174,-162],[49,-266],[92,-244],[115,-196],[234,-105],[315,35],[365,12],[250,35],[364,0],[262,11],[364,-23],[310,-46],[196,-186],[-54,-220],[179,-173],[299,-139],[310,-151],[360,-104],[375,-92],[283,-93],[315,-12],[180,197],[245,-162],[212,-185],[245,-139],[337,-58],[321,-69],[136,-232],[316,-139],[212,-208],[310,-93],[321,12],[299,-35],[332,12],[332,-47],[310,-81],[288,-139],[289,-116],[195,-173],[-32,-232],[-147,-208],[-125,-266],[-98,-209],[-131,-243],[-364,-93],[-163,-208],[-360,-127],[-125,-232],[-190,-220],[-201,-185],[-115,-243],[-70,-220],[-28,-266],[6,-220],[158,-232],[60,-220],[130,-208],[517,-81],[109,-255],[-501,-93],[-424,-127],[-528,-23],[-234,-336],[-49,-278],[-119,-220],[-147,-220],[370,-196],[141,-244],[239,-219],[338,-197],[386,-186],[419,-185],[636,-185],[142,-289],[800,-128],[53,-45],[208,-175],[767,151],[636,-186],[479,-142],[-99999,0]],[[59092,71341],[19,3],[40,143],[200,-8],[253,176],[-188,-251],[21,-111]],[[59437,71293],[-30,21],[-53,-45],[-42,12],[-14,-22],[-5,59],[-20,37],[-54,6],[-75,-51],[-52,31]],[[59437,71293],[8,-48],[-285,-240],[-136,77],[-64,237],[132,22]],[[45272,63236],[13,274],[106,161],[91,308],[-18,200],[96,417],[155,376],[93,95],[74,344],[6,315],[100,365],[185,216],[177,603],[5,8],[139,227],[259,65],[218,404],[140,158],[232,493],[-70,735],[106,508],[37,312],[179,399],[278,270],[206,244],[186,612],[87,362],[205,-2],[167,-251],[264,41],[288,-131],[121,-6]],[[56944,63578],[0,2175],[0,2101],[-83,476],[71,365],[-43,253],[101,283]],[[56990,69231],[369,10],[268,-156],[275,-175],[129,-92],[214,188],[114,169],[245,49],[198,-75],[75,-293],[65,193],[222,-140],[217,-33],[137,149]],[[59700,68010],[-78,-238],[-60,-446],[-75,-308],[-65,-103],[-93,191],[-125,263],[-198,847],[-29,-53],[115,-624],[171,-594],[210,-920],[102,-321],[90,-334],[249,-654],[-55,-103],[9,-384],[323,-530],[49,-121]],[[53191,70158],[326,-204],[117,51],[232,-98],[368,-264],[130,-526],[250,-114],[391,-248],[296,-293],[136,153],[133,272],[-65,452],[87,288],[200,277],[192,80],[375,-121],[95,-264],[104,-2],[88,-101],[276,-70],[68,-195]],[[59804,53833],[-164,643],[-127,137],[-48,236],[-141,288],[-171,42],[95,337],[147,14],[42,181]],[[61764,57990],[-98,-261],[-94,-277],[22,-163],[4,-180],[155,-10],[67,42],[62,-106]],[[61882,57035],[-61,-209],[103,-325],[102,-285],[106,-210],[909,-702],[233,4]],[[61966,58083],[66,-183],[-9,-245],[-158,-142],[119,-161]],[[61984,57352],[-102,-317]],[[61984,57352],[91,-109],[54,-245],[125,-247],[138,-2],[262,151],[302,70],[245,184],[138,39],[99,108],[158,20]],[[58449,49909],[-166,-182],[-67,60]],[[58564,52653],[115,161],[176,-132],[224,138],[195,-1],[171,272]],[[55279,77084],[100,2],[-69,-260],[134,-227],[-41,-278],[-65,-27]],[[55338,76294],[-52,-53],[-90,-138],[-41,-325]],[[55719,75309],[35,-5],[13,121],[164,91],[62,23]],[[55993,75539],[95,35],[128,9]],[[55993,75539],[-9,44],[33,71],[31,144],[-39,-4],[-54,110],[-46,28],[-36,94],[-52,36],[-40,84],[-50,-33],[-38,-196],[-66,-43]],[[55627,75874],[22,51],[-106,123],[-91,63],[-40,82],[-74,101]],[[55380,75322],[-58,46],[-78,192],[-120,118]],[[55627,75874],[-52,-132]],[[32866,56937],[160,77],[58,-21],[-11,-440],[-232,-65],[-50,53],[81,163],[-6,233]]],\"bbox\":[-180,-85.60903777459771,180,83.64513000000001],\"transform\":{\"scale\":[0.0036000360003600037,0.0016925586033320105],\"translate\":[-180,-85.60903777459771]}}\n"
  },
  {
    "path": "resources/css/app.css",
    "content": "/* GLOBAL */\nhtml,\nbody {\n\tbackground: linear-gradient(to bottom, #fdfdfd 0%, #e3e3e3 50%, #e9e9e9 100%);\n\tbackground-attachment: fixed;\n\tcolor: #1e293b;\n\toverflow-x: hidden;\n}\n\nh1 {\n\tfont-weight: bold;\n\tletter-spacing: -3px;\n\tmargin: 0;\n\ttext-transform: lowercase;\n}\n\nh3 {\n\tfont-size: 21px;\n\tletter-spacing: -1px;\n}\n\n.page-header {\n\tborder-bottom: 1px solid #e2e8f0;\n\tmargin: 2.5rem 0 2rem;\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tflex-wrap: wrap;\n\tgap: 0.5rem;\n}\n\n.pagination {\n\tmargin: 5px 0;\n}\n\n.clickable,\n.expandable>td {\n\tcursor: pointer;\n}\n\n.loading-container {\n\tposition: fixed;\n\ttop: 0;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n\talign-items: center;\n}\n\n.spinner {\n\tcolor: #999;\n\tmargin-bottom: 10px;\n}\n\n.app-loading-status {\n\tcolor: #999;\n\ttext-align: center;\n\ttext-shadow: 1px 1px 0 #FFF;\n\ttext-transform: uppercase;\n}\n\n.powered {\n\tbottom: 190px;\n\tcolor: #9E9E9E;\n\tfont-size: smaller;\n\tposition: absolute;\n\tright: 20px;\n\ttransform-origin: 100% 0;\n\ttransform: rotate(-90deg);\n}\n\n.powered a {\n\tcolor: #636363;\n}\n\n.powered span {\n\tcolor: #007bc3;\n}\n\n.dropdown-header {\n\tcolor: #007bc3;\n\tpadding: 3px 25px;\n\ttext-transform: uppercase;\n}\n\nhgroup h2,\nhgroup small {\n\ttext-transform: uppercase;\n}\n\nhgroup h2 {\n\tletter-spacing: -1px;\n}\n\n/* NAVIGATION - dark base with subtle gradient */\nnav {\n\tbackground: linear-gradient(to bottom,\n\t\t\t#1c1c1c 0%,\n\t\t\t#171717 50%,\n\t\t\t#121212 100%);\n\tborder-color: transparent;\n\theight: 100%;\n\tleft: -236px;\n\toverflow: hidden;\n\tposition: fixed;\n\ttop: 0;\n\twidth: 300px;\n\tz-index: 2;\n\ttransition: left .2s;\n}\n\n/* Only apply shadow in light/default mode */\nhtml:not(.dark) nav {\n\tbox-shadow: 2px 0 12px rgba(0, 0, 0, 0.4);\n}\n\n/* Navigation List */\nnav .nav-list {\n\tvisibility: hidden;\n\tdisplay: none;\n\tposition: absolute;\n\tbottom: 0;\n\tleft: 0;\n\tright: -17px;\n\ttop: 0;\n\toverflow-y: scroll;\n}\n\n/* Show Navigation List on Active */\nnav.active .nav-list {\n\tvisibility: visible;\n\tdisplay: block;\n}\n\n/* Media Query for Large Screens */\n@media only screen and (min-width: 993px) {\n\n\tnav .nav-bars,\n\tnav .nav-gears,\n\tnav .nav-ws-status {\n\t\tleft: 0;\n\t\tposition: fixed;\n\t\ttop: 1.5rem;\n\t\ttransition: opacity .2s;\n\t}\n\n\tnav .nav-gears {\n\t\ttop: 7.9rem;\n\t}\n\n\tnav .nav-ws-status {\n\t\tleft: 38px;\n\t\ttop: 12.3rem;\n\t}\n\n\tnav.active .nav-list {\n\t\tmargin-block-start: 0;\n\t}\n}\n\n/* Navigation Header */\nnav header {\n\tmargin: 40px 20px 30px;\n}\n\nnav header a {\n\tcolor: rgba(240, 240, 240, 0.9);\n\tfont-size: 2.7em;\n\tfont-weight: 300;\n\ttext-transform: uppercase;\n}\n\nnav header a:hover {\n\tcolor: #ffffff;\n}\n\n/* Active Navigation */\nnav.active {\n\tdisplay: block !important;\n\tleft: 0;\n\topacity: .98;\n}\n\nnav.active .nav-bars,\nnav.active .nav-gears,\nnav.active .nav-ws-status {\n\topacity: 0;\n\tvisibility: hidden;\n}\n\n/* Navigation Icons */\nnav .nav-bars,\nnav .nav-gears,\nnav .nav-ws-status {\n\tbackground: none;\n\tborder: none;\n\tcolor: #bbbbbb;\n\tfont-size: 36px;\n\theight: 60px;\n\twidth: 60px;\n\ttransition: opacity .2s;\n}\n\nnav .nav-bars:hover,\nnav .nav-gears:hover {\n\tcolor: #ffffff;\n}\n\n/* WebSocket Status */\nnav .nav-ws-status,\n.nav-ws-status.mini {\n\tcolor: crimson;\n\tcursor: help;\n\tdisplay: none;\n\tfont-size: 12px;\n\theight: 12px;\n\twidth: 12px;\n}\n\n.nav-ws-status.mini {\n\ttop: 14px;\n\tleft: 40px;\n\tposition: absolute;\n}\n\n.nav-ws-status.fa-circle {\n\tcolor: #5DB56A;\n}\n\n/* Navigation List Items */\nnav li {\n\tposition: relative;\n}\n\nnav li .toggle-panel {\n\tcursor: pointer;\n\topacity: 0;\n\tpadding: 9px 20px;\n\tposition: absolute;\n\tright: 0;\n\ttop: 0;\n\ttransition: all .2s;\n\tvisibility: hidden;\n}\n\nnav li .toggle-panel i {\n\tcolor: rgba(220, 220, 220, 0.6);\n\topacity: 0;\n}\n\nnav li .toggle-panel.active i {\n\tcolor: #ffffff;\n\topacity: 1;\n}\n\n/* Show Toggle Panel in Active Navigation */\nnav.active li .toggle-panel {\n\tvisibility: visible;\n\topacity: 1;\n}\n\nnav.active li:hover .toggle-panel i {\n\topacity: 1;\n}\n\n/* Navigation Links - fixed colors for dark background */\nnav li a {\n\tborder-left: 3px solid transparent;\n\tcolor: #bbbbbb;\n\tdisplay: block;\n\tfont-size: smaller;\n\tmax-width: 235px;\n\topacity: 0;\n\toverflow: hidden;\n\tpadding: 9px 20px;\n\ttext-overflow: ellipsis;\n\ttext-transform: uppercase;\n\ttransition: all .2s;\n\twhite-space: nowrap;\n}\n\nnav.active li a {\n\tmax-width: 90%;\n\topacity: 1;\n}\n\nnav li:hover a,\nnav li.active a {\n\t/* subtle blue tint on dark */\n\tborder-color: #60a5fa;\n\tcolor: #e0f0ff;\n\t/* bright readable blue-white */\n}\n\n/* Unordered List */\nnav ul {\n\tpadding-left: 0;\n\tlist-style: none;\n}\n\n/* Navigation Links */\nnav a,\nnav a:hover {\n\ttext-decoration: none;\n}\n\n/* Navigation Section Titles */\nnav h3 {\n\tcolor: #e0e0e0 !important;\n\tfont-size: medium;\n\tfont-weight: bold;\n\tmargin: 20px 25px 10px;\n\ttext-transform: uppercase;\n}\n\n/* CONTAINER */\n@media (min-width: 768px) {\n\t.container {\n\t\twidth: 750px;\n\t}\n}\n\n.container-fluid {\n\tmargin-left: 75px;\n}\n\n@media (min-width: 1120px) {\n\t.container {\n\t\twidth: 970px;\n\t}\n}\n\n@media (min-width: 1320px) {\n\t.container {\n\t\twidth: 1170px;\n\t}\n}\n\n@media (max-width: 992px) {\n\t.container-fluid {\n\t\tmargin-left: auto;\n\t}\n}\n\n@media (max-width: 768px) {\n\t.container-fluid {\n\t\tpadding-left: 5px;\n\t\tpadding-right: 5px;\n\t}\n}\n\n/* PANEL STYLES */\n#panels {\n\tmargin-block-end: 10px;\n}\n\narticle header {\n\tmargin-block-end: 15px;\n\tposition: relative;\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tgap: 0.5em;\n}\n\narticle h2 {\n\tfont-size: 1.8rem;\n\tmargin: 0;\n}\n\narticle>div {\n\tbackground: linear-gradient(to bottom, #ffffff, #f8fafc);\n\tborder: none;\n\tborder-radius: 12px;\n\tmargin-top: 16px;\n\tpadding: 24px 16px 16px;\n\tbox-shadow: 0 4px 10px rgb(0 0 0 / 0%), 0 2px 4px rgba(0, 0, 0, 0.06);\n}\n\nhgroup small {\n\tfont-size: smaller;\n}\n\n/* PANEL TABLES */\narticle table.table-borderless tbody tr td,\narticle table.table-borderless tbody tr th,\narticle table.table-borderless thead tr th {\n\tborder: none;\n}\n\narticle thead th {\n\ttext-align: right;\n\tborder-bottom-width: 1px;\n}\n\narticle table .string,\narticle table .date {\n\ttext-align: left;\n}\n\narticle table .percent {\n\tcolor: #898989;\n}\n\narticle table td,\narticle table th {\n\twhite-space: nowrap;\n\toverflow: hidden;\n}\n\narticle table th.sortable {\n\tcursor: pointer;\n}\n\narticle table.table-borderless thead>tr.thead-cols th {\n\tfont-size: 78%;\n\ttext-transform: uppercase;\n}\n\narticle table .cell-hl {\n\tpadding: 2px 3px;\n\tcolor: #FFF;\n\tborder-radius: 5px;\n\tdisplay: block;\n\ttext-align: center;\n}\n\narticle table .span-hl {\n\tpadding: 2px 3px;\n\tborder-radius: 3px;\n\tcolor: #000;\n}\n\narticle table .span-hl.g5 {\n\tbackground: #e9ecef;\n}\n\narticle table .cell-hl.b1 {\n\tbackground: #7F669D;\n}\n\narticle table .cell-hl.b2 {\n\tbackground: #BA94D1;\n}\n\narticle table .cell-hl.b3 {\n\tbackground: #DEBACE;\n}\n\narticle table .cell-hl.d1 {\n\tbackground: #9d9d9d38;\n}\n\narticle table .cell-hl.d2 {\n\tbackground: #9d9d9d61;\n}\n\narticle table .cell-hl.d3 {\n\tbackground: #9d9d9d9c;\n}\n\narticle table .cell-hl.d4 {\n\tbackground: #9d9d9d;\n}\n\narticle table .span-hl.lgrn {\n\tbackground: #e6f4ea;\n\tcolor: #137333;\n}\n\narticle table .span-hl.lyel {\n\tbackground: #fff3cd;\n\tcolor: #d38a10;\n}\n\narticle table .span-hl.lred {\n\tbackground: #fce8e6;\n\tcolor: #c5221f;\n}\n\narticle table .span-hl.lgry {\n\tbackground: #898989;\n\tcolor: #ffffff;\n}\n\narticle table .span-hl.lblu {\n\tbackground: #cfe2ff;\n\tcolor: #052c65;\n}\n\narticle table .span-hl.lprp {\n\tbackground: #cdc7ff;\n\tcolor: #343150;\n}\n\n/* thead meta */\narticle table thead>tr.thead-min th.meta-label,\narticle table thead>tr.thead-avg th.meta-label,\narticle table tfoot>tr.tfoot-totals th.meta-label,\narticle table thead>tr.thead-max th.meta-label {\n\tfont-weight: bold;\n\ttext-transform: uppercase;\n}\n\narticle table .thead-min,\narticle table .thead-avg,\narticle table .thead-max {\n\tbackground: #f8fafc;\n}\n\narticle table .thead-avg {\n\tborder-bottom: 2px solid #94a3b8;\n}\n\narticle table thead>tr.thead-min th,\narticle table thead>tr.thead-avg th,\narticle table thead>tr.thead-max th {\n\tfont-size: smaller;\n\tfont-weight: normal;\n\tpadding: 3px 8px 3px 8px;\n\ttext-transform: inherit;\n}\n\narticle table .thead-min th,\narticle table .thead-avg th,\narticle table .thead-max th {\n\tpadding: 3px;\n}\n\narticle table tfoot>tr>th {\n\tborder-top: 1px dotted #cbd5e1;\n\tpadding: 8px;\n}\n\n/* thead data */\narticle table tbody.tbody-data tr td {\n\tborder-right: 1px solid #f1f5f9;\n\tfont-size: smaller;\n}\n\narticle table tbody.tbody-data td:last-child {\n\tborder-right: none;\n}\n\narticle table tbody.tbody-data td.row-idx {\n\tfont-weight: 700;\n}\n\narticle table>thead>tr.thead-cols {\n\tborder-bottom: 2px solid #cbd5e1;\n}\n\narticle table tbody.tbody-data tr.shaded {\n\tbackground-color: #f8fafc;\n}\n\narticle table tbody.tbody-data tr.child td:nth-child(1),\narticle table tbody.tbody-data tr.child td:nth-child(2) {\n\tborder-right: none;\n}\n\narticle table.table-hover>tbody>tr:hover {\n\tbackground-color: rgba(59, 130, 246, 0.05);\n}\n\narticle .row:nth-child(2):not(.table-wrapper)>.col-md-12 {\n\tpadding: 0;\n}\n\n/* GENERAL */\n.report-title {\n\tmargin: 0;\n\tbackground: #ffffff;\n\tcolor: #475569;\n\tborder-radius: 6px;\n\tbox-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);\n\tbottom: -10px;\n\tfont-size: small;\n\tpadding: 0 10px;\n\tposition: absolute;\n\tright: 0;\n\tz-index: 1;\n}\n\nul[role=\"list\"],\nol[role=\"list\"] {\n\tpadding: 0;\n\tlist-style: none;\n}\n\n#overall h2,\n#overall p {\n\tmargin: 0;\n}\n\n#overall hgroup {\n\tdisplay: flex;\n\tjustify-content: space-between;\n\tflex-wrap: wrap;\n\tgap: 0.75em;\n\tmargin-block-end: 4px;\n}\n\n#overall hgroup p {\n\tfont-weight: 400;\n\ttext-transform: uppercase;\n\tfont-size: 18px;\n}\n\n#overall ul {\n\tmargin-block-end: 0;\n\tpadding: 0;\n}\n\n#overall li span {\n\tdisplay: block;\n}\n\n#overall li span:first-of-type {\n\tfont-size: 85%;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n\twidth: 100%;\n}\n\n#overall li span:last-of-type {\n\tfont-size: 2.5rem;\n\tfont-weight: 500;\n\tline-height: 1.1;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n#overall li div {\n\tbackground: #ffffff;\n\tcolor: rgb(36, 36, 36);\n\tmargin-top: 0.5rem;\n\tpadding: 0.9rem;\n\tborder-radius: 10px;\n\tposition: relative;\n\toverflow: hidden;\n\tbox-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);\n}\n\n#overall li div::before {\n\tcontent: \"\";\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\theight: 4px;\n}\n\n/* Color variants */\n#overall li.black div::before {\n\tbackground: #0F1214;\n}\n\n#overall li.gray div::before {\n\tbackground: #cbd5e1;\n}\n\n#overall li.red div::before {\n\tbackground: #FF303E;\n}\n\n#overall li.blue div::before {\n\tbackground: #3b82f6;\n}\n\n#overall li.green div::before {\n\tbackground: #229f75;\n}\n\n@media (max-width: 767px) {\n\t.powered {\n\t\tbottom: 10px;\n\t\tleft: 25px;\n\t\ttransform: initial;\n\t}\n\n\theader hgroup {\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\twidth: 70%\n\t}\n}\n\n/* CHARTS */\n.chart-wrap {\n\tmargin-bottom: 15px;\n\tposition: relative;\n}\n\nsvg {\n\tbackground-color: transparent;\n\tdisplay: block;\n}\n\n.axis path {\n\tfill: transparent;\n\tstroke: black;\n\tshape-rendering: crispEdges;\n\tstroke-width: 1;\n}\n\n.grid.y .tick line,\n.grid.x .tick line {\n\tshape-rendering: crispEdges;\n\tstroke: #999;\n\tstroke-dasharray: 3 3;\n\tstroke-width: 1;\n}\n\n.axis.x .tick line,\n.axis.y0 .tick line,\n.axis.y1 .tick line,\n.grid.y .tick:first-child line {\n\tstroke: black;\n\tstroke-width: 1;\n\tshape-rendering: crispEdges;\n}\n\n.bars rect.bar {\n\tshape-rendering: crispEdges;\n}\n\n.rects rect {\n\tfill: transparent;\n}\n\n.area {\n\topacity: 0.2;\n}\n\n.points {\n\tstroke: transparent;\n}\n\nline.indicator {\n\tfill: transparent;\n\tpointer-events: none;\n\tshape-rendering: crispEdges;\n\tstroke: #999;\n\tstroke-width: 1;\n\tdisplay: none;\n}\n\n.area0,\n.bars.y0 .bar,\n.points.y0,\nrect.legend.y0 {\n\tfill: #447FB3;\n}\n\n.area1,\n.bars.y1 .bar,\n.points.y1,\nrect.legend.y1 {\n\tfill: #FF6854;\n}\n\n.line0,\n.line1 {\n\tfill: transparent;\n\tstroke-width: 1;\n}\n\n.line0 {\n\tstroke: #007BC3;\n}\n\n.line1 {\n\tstroke: #FF303E;\n}\n\n.axis text,\n.axis-label,\ntext.legend {\n\tfont: 10px sans-serif;\n}\n\n.axis-label.y0,\n.axis-label.y1 {\n\ttext-anchor: end;\n}\n\nrect.legend {\n\theight: 10px;\n\twidth: 10px;\n}\n\n.legend {\n\tcursor: pointer;\n}\n\n.wrap-text text {\n\ttext-anchor: start !important;\n}\n\n/* CHART TOOLTIP */\n.chart-tooltip-wrap {\n\tleft: 0;\n\tpointer-events: none;\n\tposition: absolute;\n\ttop: 10px;\n\tz-index: 10;\n}\n\n.chart-tooltip {\n\tbackground-color: #ffffff;\n\tborder: 1px solid #e2e8f0;\n\tcolor: #1e293b;\n\tborder-radius: 8px;\n\tbox-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);\n}\n\n.chart-tooltip tr {\n\tborder: 1px solid #e2e8f0;\n}\n\n.chart-tooltip th {\n\tbackground-color: #f1f5f9;\n\tcolor: #1e293b;\n\tfont-size: 14px;\n\tmax-width: 380px;\n\toverflow: hidden;\n\tpadding: 2px 5px;\n\ttext-align: left;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n}\n\n.chart-tooltip td {\n\tborder-left: 1px dotted #cbd5e1;\n\tfont-size: 13px;\n\tpadding: 3px 6px;\n}\n\n.chart-tooltip td>span {\n\tdisplay: inline-block;\n\theight: 10px;\n\tmargin-right: 6px;\n\twidth: 10px;\n}\n\n.chart-tooltip td.value {\n\ttext-align: right;\n}\n\n.chart-tooltip .blue {\n\tbackground-color: #3b82f6;\n}\n\n.chart-tooltip .red {\n\tbackground-color: #FF303E;\n}\n\n/* SCROLLBARS */\n::-webkit-scrollbar-track,\n.table-responsive::-webkit-scrollbar-track {\n\tbackground-color: #f1f5f9;\n}\n\n::-webkit-scrollbar,\n.table-responsive::-webkit-scrollbar {\n\twidth: 10px;\n\theight: 10px;\n\tbackground-color: #f1f5f9;\n}\n\n::-webkit-scrollbar-thumb,\n.table-responsive::-webkit-scrollbar-thumb {\n\tbackground-color: #cbd5e1;\n\tborder-radius: 8px;\n}\n\n::-webkit-scrollbar-thumb:hover,\n.table-responsive::-webkit-scrollbar-thumb:hover {\n\tbackground-color: #94a3b8;\n}\n\na,\n.nav li a:hover,\n.nav li.active a,\n.nav li:hover a {\n\tcolor: #3b82f6;\n}\n\n.btn-default {\n\tcolor: #475569;\n\tbackground-color: #f1f5f9;\n\tborder-color: #cbd5e1;\n\tborder-radius: 8px;\n\ttransition: all 0.2s ease;\n}\n\n.btn-default:hover,\n.btn-default:active,\n.btn-default.active,\n.open>.dropdown-toggle.btn-default {\n\tcolor: #1e293b;\n\tbackground-color: #e2e8f0;\n\tborder-color: #94a3b8;\n\ttransform: translateY(-1px);\n}\n\n.pagination>.disabled>a,\n.pagination>.disabled>a:hover,\n.pagination>.disabled>a:focus {\n\tcolor: #94a3b8;\n}\n\n.pagination>li>a {\n\tbackground-color: #ffffff;\n\tborder: 1px solid #cbd5e1;\n\tcolor: #475569;\n\tborder-radius: 6px;\n}\n\n.pagination>li>a:hover,\n.pagination>li>a:active,\n.pagination>li>a:focus {\n\tcolor: #3b82f6;\n\tbackground-color: #f8fafc;\n\tborder-color: #94a3b8;\n}\n\n.dropdown-menu {\n\tbackground-color: #ffffff;\n\tborder: 1px solid #e2e8f0;\n\tborder-radius: 10px;\n\tbox-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);\n}\n\n.dropdown-menu>li>a:hover,\n.dropdown-menu>li>a:focus {\n\tcolor: #1e293b;\n\tbackground-color: #f1f5f9;\n}\n\n.cell-hl.b1,\n.progress-bar,\n.cell-hl.b2 {\n\tbackground: linear-gradient(90deg, #3b82f6, #60a5fa);\n\tcolor: white;\n}\n\n.clickable:hover,\n.expandable>td:hover,\nnav li:hover {\n\tbackground: rgba(59, 130, 246, 0.06);\n}\n\n/* DARK THEME */\n.dark h1 {\n\tcolor: rgba(255, 255, 255, 0.6);\n}\n\n.dark hgroup,\n.dark h2,\n.dark h3,\n.dark h4,\n.dark h5 {\n\tcolor: rgba(255, 255, 255, 0.4);\n}\n\n.dark .table-responsive {\n\tborder: none;\n}\n\n.dark article>div>table {\n\tcolor: #D2D2D2;\n}\n\n.dark article table tbody.tbody-data tr td {\n\tborder-right: none;\n}\n\n.dark article table.table-hover>tbody.tbody-data>tr:hover {\n\tbackground-color: rgba(255, 255, 255, 0.08) !important;\n}\n\n.dark #overall li span:first-of-type {\n\tcolor: #9e9e9e;\n}\n\n.dark #overall li span:last-of-type {\n\tcolor: #FFF;\n}\n\n.dark .dropdown-menu>li>a {\n\tcolor: #FFF;\n}\n\n.dark article>div {\n\tcolor: #EEE;\n\tborder-top: 1px solid rgba(255, 255, 255, 0.15);\n}\n\n.dark article table .cell-hl.d1 {\n\tbackground: #161616;\n}\n\n.dark article table .cell-hl.d2 {\n\tbackground: #3c3c3c;\n}\n\n.dark article table .cell-hl.d3 {\n\tbackground: #5a5a5a;\n}\n\n.dark article table .cell-hl.d4 {\n\tbackground: #7e7e7e;\n}\n\n.dark.graticule {\n\tstroke: #DDD;\n}\n\n/* DARK CHARTS */\n.dark .area {\n\topacity: 0.1;\n}\n\n.dark .line0,\n.dark .line1 {\n\tstroke-width: 2;\n}\n\n.dark .area0,\n.dark .bars.y0 .bar,\n.dark rect.legend.y0 {\n\tfill: #007BC3;\n}\n\n.dark .area1,\n.dark .bars.y1 .bar,\n.dark .points.y1,\n.dark rect.legend.y1 {\n\tfill: #FF303E;\n}\n\n.dark .points.y0 {\n\tfill: #00D4E1;\n}\n\n.dark .line0 {\n\tstroke: #007BC3;\n}\n\n.dark .line1 {\n\tstroke: #FF303E;\n}\n\n.dark .grid.y .tick line,\n.dark .grid.x .tick line {\n\tstroke: #44474B;\n\tstroke-dasharray: 1 1;\n}\n\n.dark .axis text,\n.dark .axis-label,\n.dark text.legend {\n\tfill: #9E9E9E;\n}\n\n.dark .axis path {\n\tstroke: #999999;\n}\n\n.dark .axis.x .tick line,\n.dark .axis.y0 .tick line,\n.dark .axis.y1 .tick line,\n.dark .grid.y .tick:first-child line {\n\tstroke: #3B444C;\n}\n\n.dark .chart-tooltip th {\n\tbackground-color: #1c1c1c;\n\tcolor: #fff;\n}\n\n.dark .chart-tooltip tr {\n\tborder: 1px solid #363737;\n}\n\n.dark .sphere {\n\tfill: #0076d433;\n}\n\n.dark.gray .sphere {\n\tfill: #52646733;\n}\n\n.graticule {\n\tstroke: #8f8f8f;\n}\n\n/* DARK BLUE THEME */\nhtml.dark.blue,\n.dark.blue body {\n\tbackground: linear-gradient(to bottom, #1e2b43 0%, #172033 50%, #0f172a 100%);\n\tbackground-attachment: fixed;\n\t/* Keeps gradient stable on scroll */\n\tcolor: #e2e8f0;\n}\n\n.dark.blue .container {\n\tbackground: transparent;\n}\n\n.dark.blue .page-header {\n\tborder-bottom: 1px solid #1e293b;\n\tbackground: transparent;\n}\n\n.dark.blue #last-updated {\n\tbackground-color: transparent;\n}\n\n.dark.blue nav {\n\t/* Match the main background gradient for cohesion */\n\tbackground: linear-gradient(to bottom,\n\t\t\t#1e2b43 0%,\n\t\t\t#172033 50%,\n\t\t\t#0f172a 100%);\n\tborder-color: transparent;\n\t/* Remove side border for cleaner look */\n\tbox-shadow: none;\n\t/* Rely on gradient for depth */\n}\n\n.dark.blue article>div {\n\tbackground: linear-gradient(to bottom, #1e2b43, #172033);\n\t/* Your preferred card gradient */\n\tborder: none;\n\t/* Border removed as requested */\n\tborder-radius: 12px;\n\tmargin-top: 16px;\n\tpadding: 24px 16px 16px;\n}\n\n.dark.blue article table tfoot>tr>th {\n\tborder-top: 1px dotted #475569;\n}\n\n.dark.blue article table .thead-min,\n.dark.blue article table .thead-avg,\n.dark.blue article table .thead-max {\n\tbackground: #1e2b43;\n}\n\n.dark.blue article table .thead-avg {\n\tborder-bottom: 2px solid #64748b;\n}\n\n.dark.blue article table>thead>tr.thead-cols {\n\tborder-bottom: 2px solid #475569;\n}\n\n.dark.blue article table tbody.tbody-data tr.shaded {\n\tbackground-color: #172033;\n}\n\n.dark.blue #overall li.gray div {\n\tborder-top: 4px solid #334155;\n}\n\n.dark.blue #overall li div {\n\tbackground: #1e2b43;\n\tborder-radius: 10px;\n}\n\n.dark.blue .btn-default {\n\tcolor: #cbd5e1;\n\tbackground-color: #1e2b43;\n\tborder-color: #334155;\n\tborder-radius: 8px;\n\ttransition: all 0.2s ease;\n}\n\n.dark.blue .btn-default:hover,\n.dark.blue .btn-default:active,\n.dark.blue .btn-default.active,\n.dark.blue .open>.dropdown-toggle.btn-default {\n\tcolor: #e2e8f0;\n\tbackground-color: #334155;\n\tborder-color: #475569;\n\ttransform: translateY(-1px);\n}\n\n.dark.blue .pagination>.disabled>a,\n.dark.blue .pagination>.disabled>a:hover,\n.dark.blue .pagination>.disabled>a:focus {\n\tcolor: #64748b;\n}\n\n.dark.blue .pagination>li>a {\n\tbackground-color: #1e2b43;\n\tborder: 1px solid #334155;\n\tcolor: #cbd5e1;\n\tborder-radius: 6px;\n}\n\n.dark.blue .pagination>li>a:hover,\n.dark.blue .pagination>li>a:active,\n.dark.blue .pagination>li>a:focus {\n\tcolor: #60a5fa;\n\tbackground-color: #1e2b43;\n\tborder-color: #475569;\n}\n\n.dark.blue .dropdown-menu>li>a:hover,\n.dark.blue .dropdown-menu>li>a:focus {\n\tcolor: #e2e8f0;\n\tbackground-color: #334155;\n}\n\n.dark.blue .dropdown-menu {\n\tbackground-color: #1e2b43;\n\tborder: 1px solid #334155;\n\tborder-radius: 10px;\n\tbox-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);\n}\n\n.dark.blue .chart-tooltip {\n\tbackground-color: #1e2b43;\n\tborder: 1px solid #334155;\n\tcolor: #e2e8f0;\n\tborder-radius: 8px;\n\tbox-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);\n}\n\n.dark.blue .chart-tooltip th {\n\tbackground-color: #334155;\n\tcolor: #fff;\n}\n\n.dark.blue .report-title {\n\tbackground: #1e2b43;\n\tcolor: #cbd5e1;\n\tborder-radius: 6px;\n}\n\n.dark.blue .cell-hl.b1,\n.dark.blue .progress-bar,\n.dark.blue .cell-hl.b2 {\n\tbackground: linear-gradient(90deg, #3b82f6, #60a5fa);\n}\n\n/* Subtle interactive hover */\n.dark.blue .clickable:hover,\n.dark.blue .expandable>td:hover,\n.dark.blue nav li:hover {\n\tbackground: rgba(96, 165, 250, 0.09);\n}\n\n/* SCROLLBARS - Dark Blue Theme */\nhtml.dark.blue::-webkit-scrollbar-track,\n.dark.blue body::-webkit-scrollbar-track,\n.dark.blue .table-responsive::-webkit-scrollbar-track {\n\tbackground-color: #0f172a;\n}\n\nhtml.dark.blue::-webkit-scrollbar,\n.dark.blue body::-webkit-scrollbar,\n.dark.blue .table-responsive::-webkit-scrollbar {\n\twidth: 10px;\n\theight: 10px;\n\tbackground-color: #0f172a;\n}\n\nhtml.dark.blue::-webkit-scrollbar-thumb,\n.dark.blue body::-webkit-scrollbar-thumb,\n.dark.blue .table-responsive::-webkit-scrollbar-thumb {\n\tbackground-color: #334155;\n\tborder-radius: 8px;\n}\n\nhtml.dark.blue::-webkit-scrollbar-thumb:hover,\n.dark.blue body::-webkit-scrollbar-thumb:hover,\n.dark.blue .table-responsive::-webkit-scrollbar-thumb:hover {\n\tbackground-color: #475569;\n}\n\n/* DARK GREY THEME  */\nhtml.dark.gray,\n.dark.gray body {\n\tbackground: linear-gradient(to bottom,\n\t\t\t#2a2a2a 0%,\n\t\t\t#1f1f1f 50%,\n\t\t\t#141414 100%);\n\tbackground-attachment: fixed;\n\tcolor: #e5e5e5;\n}\n\n.dark.gray .container {\n\tbackground: transparent;\n}\n\n.dark.gray .page-header {\n\tborder-bottom: 1px solid #2f2f2f;\n\tbackground: transparent;\n}\n\n.dark.gray #last-updated {\n\tbackground-color: transparent;\n}\n\n.dark.gray nav {\n\tbackground: linear-gradient(to bottom,\n\t\t\t#2a2a2a 0%,\n\t\t\t#1f1f1f 50%,\n\t\t\t#141414 100%);\n\tborder-color: transparent;\n}\n\n.dark.gray article>div {\n\tbackground: linear-gradient(to bottom, #2a2a2a, #1f1f1f);\n\tborder: none;\n\tborder-radius: 12px;\n\tmargin-top: 16px;\n\tpadding: 24px 16px 16px;\n}\n\n.dark.gray article table .thead-min,\n.dark.gray article table .thead-avg,\n.dark.gray article table .thead-max {\n\tbackground: #2a2a2a;\n}\n\n.dark.gray article table .thead-avg {\n\tborder-bottom: 2px solid #555;\n}\n\n.dark.gray article table>thead>tr.thead-cols {\n\tborder-bottom: 2px solid #444;\n}\n\n.dark.gray article table tbody.tbody-data tr.shaded {\n\tbackground-color: #1a1a1a;\n}\n\n.dark.gray #overall li.gray div {\n\tborder-top: 4px solid #444;\n}\n\n.dark.gray #overall li div {\n\tbackground: #2a2a2a;\n\tborder-radius: 10px;\n}\n\n.dark.gray .btn-default {\n\tcolor: #d1d5db;\n\tbackground-color: #2a2a2a;\n\tborder-color: #444;\n\tborder-radius: 8px;\n\ttransition: all 0.2s ease;\n}\n\n.dark.gray .btn-default:hover,\n.dark.gray .btn-default:active,\n.dark.gray .btn-default.active,\n.dark.gray .open>.dropdown-toggle.btn-default {\n\tcolor: #f1f5f9;\n\tbackground-color: #3a3a3a;\n\tborder-color: #555;\n\ttransform: translateY(-1px);\n}\n\n.dark.gray .pagination>li>a {\n\tbackground-color: #2a2a2a;\n\tborder: 1px solid #444;\n\tcolor: #d1d5db;\n\tborder-radius: 6px;\n}\n\n.dark.gray .pagination>li>a:hover,\n.dark.gray .pagination>li>a:focus {\n\tcolor: #9ca3af;\n\tbackground-color: #2a2a2a;\n\tborder-color: #555;\n}\n\n.dark.gray .dropdown-menu {\n\tbackground-color: #2a2a2a;\n\tborder: 1px solid #444;\n\tborder-radius: 10px;\n\tbox-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);\n}\n\n.dark.gray .dropdown-menu>li>a:hover,\n.dark.gray .dropdown-menu>li>a:focus {\n\tcolor: #fff;\n\tbackground-color: #3a3a3a;\n}\n\n.dark.gray .chart-tooltip {\n\tbackground-color: #2a2a2a;\n\tborder: 1px solid #444;\n\tcolor: #e5e5e5;\n\tborder-radius: 8px;\n\tbox-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);\n}\n\n.dark.gray .chart-tooltip th {\n\tbackground-color: #3a3a3a;\n\tcolor: #fff;\n}\n\n.dark.gray .report-title {\n\tbackground: #2a2a2a;\n\tcolor: #d1d5db;\n\tborder-radius: 6px;\n}\n\n/* SCROLLBARS - Dark Gray Theme */\nhtml.dark.gray::-webkit-scrollbar-track,\n.dark.gray body::-webkit-scrollbar-track,\n.dark.gray .table-responsive::-webkit-scrollbar-track {\n\tbackground-color: #141414;\n}\n\nhtml.dark.gray::-webkit-scrollbar,\n.dark.gray body::-webkit-scrollbar,\n.dark.gray .table-responsive::-webkit-scrollbar {\n\twidth: 10px;\n\theight: 10px;\n\tbackground-color: #141414;\n}\n\nhtml.dark.gray::-webkit-scrollbar-thumb,\n.dark.gray body::-webkit-scrollbar-thumb,\n.dark.gray .table-responsive::-webkit-scrollbar-thumb {\n\tbackground-color: #444444;\n\tborder-radius: 8px;\n}\n\nhtml.dark.gray::-webkit-scrollbar-thumb:hover,\n.dark.gray body::-webkit-scrollbar-thumb:hover,\n.dark.gray .table-responsive::-webkit-scrollbar-thumb:hover {\n\tbackground-color: #5a5a5a;\n}\n\n/* subtle hover */\n.dark.gray .clickable:hover,\n.dark.gray .expandable>td:hover,\n.dark.gray nav li:hover {\n\tbackground: rgba(255, 255, 255, 0.05);\n}\n\n/* DARK PURPLE THEME */\nhtml.dark.purple,\n.dark.purple body {\n\tbackground: linear-gradient(to bottom,\n\t\t\t#2a2240 0%,\n\t\t\t#1e1e2f 50%,\n\t\t\t#151523 100%);\n\tbackground-attachment: fixed;\n\tcolor: #e6e1ff;\n}\n\n.dark.purple .container {\n\tbackground: transparent;\n}\n\n.dark.purple .page-header {\n\tborder-bottom: 1px solid #2f2a4a;\n\tbackground: transparent;\n}\n\n.dark.purple #last-updated {\n\tbackground-color: transparent;\n}\n\n.dark.purple nav {\n\tbackground: linear-gradient(to bottom,\n\t\t\t#2a2240 0%,\n\t\t\t#1e1e2f 50%,\n\t\t\t#151523 100%);\n\tborder-color: transparent;\n}\n\n.dark.purple article>div {\n\tbackground: linear-gradient(to bottom, #2a2240, #1e1e2f);\n\tborder: none;\n\tborder-radius: 12px;\n\tmargin-top: 16px;\n\tpadding: 24px 16px 16px;\n}\n\n.dark.purple article table .thead-min,\n.dark.purple article table .thead-avg,\n.dark.purple article table .thead-max {\n\tbackground: #2a2240;\n}\n\n.dark.purple article table .thead-avg {\n\tborder-bottom: 2px solid #5b4f85;\n}\n\n.dark.purple article table>thead>tr.thead-cols {\n\tborder-bottom: 2px solid #4b3f72;\n}\n\n.dark.purple article table tbody.tbody-data tr.shaded {\n\tbackground-color: #181824;\n}\n\n.dark.purple #overall li div {\n\tbackground: #2a2240;\n\tborder-radius: 10px;\n}\n\n.dark.purple .btn-default {\n\tcolor: #d6ccff;\n\tbackground-color: #2a2240;\n\tborder-color: #4b3f72;\n\tborder-radius: 8px;\n\ttransition: all 0.2s ease;\n}\n\n.dark.purple .btn-default:hover,\n.dark.purple .btn-default:active,\n.dark.purple .btn-default.active,\n.dark.purple .open>.dropdown-toggle.btn-default {\n\tcolor: #f1edff;\n\tbackground-color: #3a2f66;\n\tborder-color: #5b4f85;\n\ttransform: translateY(-1px);\n}\n\n.dark.purple .pagination>li>a {\n\tbackground-color: #2a2240;\n\tborder: 1px solid #4b3f72;\n\tcolor: #d6ccff;\n\tborder-radius: 6px;\n}\n\n.dark.purple .pagination>li>a:hover,\n.dark.purple .pagination>li>a:focus {\n\tcolor: #c4b5fd;\n\tbackground-color: #2a2240;\n\tborder-color: #5b4f85;\n}\n\n.dark.purple .dropdown-menu {\n\tbackground-color: #2a2240;\n\tborder: 1px solid #4b3f72;\n\tborder-radius: 10px;\n\tbox-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);\n}\n\n.dark.purple .dropdown-menu>li>a:hover,\n.dark.purple .dropdown-menu>li>a:focus {\n\tcolor: #fff;\n\tbackground-color: #3a2f66;\n}\n\n.dark.purple .chart-tooltip {\n\tbackground-color: #2a2240;\n\tborder: 1px solid #4b3f72;\n\tcolor: #e6e1ff;\n\tborder-radius: 8px;\n\tbox-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);\n}\n\n.dark.purple .chart-tooltip th {\n\tbackground-color: #3a2f66;\n\tcolor: #fff;\n}\n\n.dark.purple .report-title {\n\tbackground: #2a2240;\n\tcolor: #d6ccff;\n\tborder-radius: 6px;\n}\n\n/* subtle hover */\n.dark.purple .clickable:hover,\n.dark.purple .expandable>td:hover,\n.dark.purple nav li:hover {\n\tbackground: rgba(208, 72, 182, 0.08);\n}\n\n/* SCROLLBARS - Dark Purple Theme */\nhtml.dark.purple::-webkit-scrollbar-track,\n.dark.purple body::-webkit-scrollbar-track,\n.dark.purple .table-responsive::-webkit-scrollbar-track {\n\tbackground-color: #151523;\n}\n\nhtml.dark.purple::-webkit-scrollbar,\n.dark.purple body::-webkit-scrollbar,\n.dark.purple .table-responsive::-webkit-scrollbar {\n\twidth: 10px;\n\theight: 10px;\n\tbackground-color: #151523;\n}\n\nhtml.dark.purple::-webkit-scrollbar-thumb,\n.dark.purple body::-webkit-scrollbar-thumb,\n.dark.purple .table-responsive::-webkit-scrollbar-thumb {\n\tbackground-color: #4b3f72;\n\tborder-radius: 8px;\n}\n\nhtml.dark.purple::-webkit-scrollbar-thumb:hover,\n.dark.purple body::-webkit-scrollbar-thumb:hover,\n.dark.purple .table-responsive::-webkit-scrollbar-thumb:hover {\n\tbackground-color: #5b4f85;\n}\n\n/* DARK PURPLE CHART COLORS */\n.dark.purple .area0,\n.dark.purple .bars.y0 .bar,\n.dark.purple rect.legend.y0 {\n\tfill: #007BC3;\n}\n\n.dark.purple .area1,\n.dark.purple .bars.y1 .bar,\n.dark.purple .points.y1,\n.dark.purple rect.legend.y1 {\n\tfill: #d048b6;\n}\n\n.dark.purple .points.y0 {\n\tfill: #00D4E1;\n}\n\n.dark.purple .line0 {\n\tstroke: #007BC3;\n}\n\n.dark.purple .line1 {\n\tstroke: #d048b6;\n}\n\n/* Grid and axes */\n.dark.purple .grid.y .tick line,\n.dark.purple .grid.x .tick line {\n\tstroke: #44474B;\n\tstroke-dasharray: 1 1;\n}\n\n.dark.purple .axis text,\n.dark.purple .axis-label,\n.dark.purple text.legend {\n\tfill: #9E9E9E;\n}\n\n.dark.purple .axis path {\n\tstroke: #999999;\n}\n\n.dark.purple .axis.x .tick line,\n.dark.purple .axis.y0 .tick line,\n.dark.purple .axis.y1 .tick line,\n.dark.purple .grid.y .tick:first-child line {\n\tstroke: #44474B;\n}\n\n/* Tooltip header */\n.dark.purple .chart-tooltip th {\n\tbackground-color: #1e1e2f;\n}\n\n\n.country {\n\tfill: #ccc;\n\tstroke: #fff;\n\tstroke-width: 0.5px;\n}\n\n.country:hover {\n\tfill: #b3b3b3;\n}\n\n.dark .country {\n\tfill: #ccc;\n\tstroke: #222;\n\tstroke-width: 0.5px;\n}\n\n.dark .legend-svg text {\n\tfill: #FFF;\n}\n\n/* DRAG AND DROP STYLES */\n/* Make the drag handle visible and interactive */\n.nav-list li .drag-handle {\n\tdisplay: inline-block;\n\tpadding: 8px 10px;\n\tmargin-right: 5px;\n\tcursor: grab;\n\tcolor: #999;\n\ttransition: color 0.2s;\n}\n\n.nav-list li .drag-handle:hover {\n\tcolor: #333;\n}\n\n/* Dark theme adjustments */\n.dark .nav-list li .drag-handle:hover {\n\tcolor: #fff;\n}\n\n/* Hide drag handle on overall stats (first item) */\n.nav-list li:first-child .drag-handle {\n\tdisplay: none;\n}\n\n.nav-list li:first-child {\n\tcursor: default;\n}\n\n/* Visual feedback during drag */\n.nav-list li.dragging {\n\topacity: 0.5;\n\tcursor: grabbing;\n}\n\n.nav-list li.drag-over {\n\tborder-top: 2px solid #4CAF50;\n\tbackground-color: rgba(76, 175, 80, 0.1);\n}\n\n.dark .nav-list li.drag-over {\n\tbackground-color: rgba(76, 175, 80, 0.2);\n}\n\n/* Ensure draggable items have proper spacing */\n.nav-list li[draggable=\"true\"] {\n\tposition: relative;\n\ttransition: background-color 0.2s, border 0.2s;\n}\n\n/* Layout adjustments for drag handle */\n.nav-list li {\n\tdisplay: flex;\n\talign-items: center;\n\tposition: relative;\n}\n\n.nav-list li a {\n\tflex: 1;\n}\n\n.nav-list li .toggle-panel {\n\tmargin-left: auto;\n}\n"
  },
  {
    "path": "resources/js/app.js",
    "content": "/*jshint sub:true*/\n(function () {\n'use strict';\n\n// Syntactic sugar\nfunction $(selector) {\n\treturn document.querySelector(selector);\n}\n\n// Syntactic sugar & execute callback\nfunction $$(selector, callback) {\n\tvar elems = document.querySelectorAll(selector);\n\tfor (var i = 0; i < elems.length; ++i) {\n\t\tif (callback && typeof callback == 'function')\n\t\t\tcallback.call(this, elems[i]);\n\t}\n}\n\nvar debounce = function (func, wait, now) {\n\tvar timeout;\n\treturn function debounced () {\n\t\tvar that = this, args = arguments;\n\t\tfunction delayed() {\n\t\t\tif (!now)\n\t\t\t\tfunc.apply(that, args);\n\t\t\ttimeout = null;\n\t\t}\n\t\tif (timeout) {\n\t\t\tclearTimeout(timeout);\n\t\t} else if (now) {\n\t\t\tfunc.apply(obj, args);\n\t\t}\n\t\ttimeout = setTimeout(delayed, wait || 250);\n\t};\n};\n\n// global namespace\nwindow.GoAccess = window.GoAccess || {\n\tinitialize: function (options) {\n\t\tthis.opts = options;\n\t\tvar cw = Math.max(document.documentElement.clientWidth || 0, window.innerWidth || 0);\n\n\t\tthis.AppState = {};\n\t\tthis.AppTpls = {};\n\t\tthis.AppCharts = {};\n\t\tthis.AppUIData = (this.opts || {}).uiData || {};\n\t\tthis.AppData = (this.opts || {}).panelData || {};\n\t\tthis.AppWSConn = (this.opts || {}).wsConnection || {};\n\t\tthis.i18n = (this.opts || {}).i18n || {};\n\t\tthis.AppPrefs = {\n\t\t\t'autoHideTables': true,\n\t\t\t'layout': cw > 2560 ? 'wide' : 'horizontal',\n\t\t\t'panelOrder': [],\n\t\t\t'perPage': 7,\n\t\t\t'theme': (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) ? 'darkPurple' : 'bright',\n\t\t\t'hiddenPanels': [],\n\t\t};\n\t\tthis.AppPrefs = GoAccess.Util.merge(this.AppPrefs, this.opts.prefs);\n\t\tthis.currentJWT = null;\n\t\tthis.csrfToken = null;\n\n\t\t// WebSocket reconnection settings\n\t\tthis.wsDelay = this.currDelay = 1E3;\n\t\tthis.maxDelay = 20E3;\n\t\tthis.retries = 0;\n\t\tthis.maxRetries = 20;\n\t\tthis.tokenRefreshLeadTime = 60;\n\n\t\tthis.handleLocalStorage();\n\t\tthis.isAppInitialized = false;\n\n\t\t// Initialize message rotation\n\t\tthis.startMessageRotation();\n\n\t\t// Handle WebSocket setup\n\t\tthis.handleWebSocketSetup();\n\t},\n\n\thandleLocalStorage: function () {\n\t\t// Check if the browser supports localStorage\n\t\tif (GoAccess.Util.hasLocalStorage()) {\n\t\t\t// Retrieve the AppPrefs object stored in localStorage\n\t\t\tconst ls = JSON.parse(localStorage.getItem('AppPrefs'));\n\t\t\t// Merge stored preferences into the current application preferences\n\t\t\tthis.AppPrefs = GoAccess.Util.merge(this.AppPrefs, ls);\n\t\t}\n\t},\n\n\tstartMessageRotation: function () {\n\t\t// Define the messages that will be displayed during the loading process\n\t\tconst messages = [\n\t\t\t'Fetching authentication token... Please wait.',\n\t\t\t'Validating WebSocket tokens... Please wait.',\n\t\t\t'Authenticating WebSocket connection... Please wait.',\n\t\t\t'Verifying WebSocket credentials... Please wait.',\n\t\t\t'Authorizing WebSocket session... Please wait.'\n\t\t];\n\t\tlet currentMessageIndex = 0; // Tracks the index of the currently displayed message\n\t\t// Set up an interval to rotate through the messages every 100ms\n\t\tthis.messageInterval = setInterval(() => {\n\t\t\tif (currentMessageIndex < messages.length) {\n\t\t\t\t// Update the loading status element with the current message\n\t\t\t\t$('.app-loading-status > small').innerHTML = messages[currentMessageIndex];\n\t\t\t\tcurrentMessageIndex++; // Move to the next message\n\t\t\t}\n\t\t}, 500);\n\t},\n\n\thandleWebSocketSetup: function () {\n\t\t// Fetch and authenticate the JWT using the provided WebSocket auth URL (external JWT)\n\t\tif (this.AppWSConn.ws_auth_url) {\n\t\t\tthis.fetchAndAuthenticateJWT();\n\t\t}\n\t\t// If a JWT exists or WebSocket configuration is provided\n\t\telse if (window.goaccessJWT || Object.keys(this.AppWSConn).length) {\n\t\t\t// Set up the WebSocket connection using the existing JWT\n\t\t\tthis.setWebSocket(this.AppWSConn, window.goaccessJWT, this.messageInterval);\n\t\t}  else {\n\t\t\t// Initialize the application without WebSocket authentication\n\t\t\tthis.initializeWithoutWebSocket();\n\t\t}\n\t},\n\n\tfetchAndAuthenticateJWT: function () {\n\t\t// Attempt to fetch a JWT from the WebSocket authentication URL\n\t\tthis.fetchJWT(this.AppWSConn.ws_auth_url)\n\t\t\t.then(data => {\n\t\t\t\tif (data.status === \"success\") {\n\t\t\t\t\t// Extract the JWT, refresh token, and expiration time from the response\n\t\t\t\t\tconst jwt = data.access_token;\n\t\t\t\t\tconst refreshToken = data.refresh_token;\n\t\t\t\t\tconst expiresIn = data.expires_in;\n\t\t\t\t\t// Set up the WebSocket connection using the fetched JWT\n\t\t\t\t\tthis.setWebSocket(this.AppWSConn, jwt, this.messageInterval);\n\t\t\t\t\t// Schedule automatic token refresh before it expires\n\t\t\t\t\tthis.scheduleTokenRefresh(expiresIn, refreshToken);\n\t\t\t\t} else {\n\t\t\t\t\t// Handle failure response from the authentication server\n\t\t\t\t\tthis.handleAuthenticationFailure(data.message);\n\t\t\t\t}\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\t// Handle errors during the JWT fetch process\n\t\t\t\tthis.handleAuthenticationError(error);\n\t\t\t});\n\t},\n\n\tinitializeWithoutWebSocket: function () {\n\t\t// Stop the message rotation interval\n\t\tclearInterval(this.messageInterval);\n\t\t// Update the UI to indicate that no authentication is provided\n\t\t$('.app-loading-status > small').innerHTML = 'No authentication provided.';\n\t\t// Proceed to initialize the app without WebSocket support\n\t\tGoAccess.App.initialize();\n\t\tthis.isAppInitialized = true;\n\t},\n\n\thandleAuthenticationFailure: function (message) {\n\t\t// Stop the message rotation interval\n\t\tclearInterval(this.messageInterval);\n\t\t// Update the UI to display the failure message\n\t\t$('.app-loading-status > small').innerHTML = `Authentication failed: ${message}`;\n\t\t// Hide the loading spinner\n\t\t$('.loading-container > .spinner').style.display = 'none';\n\t},\n\n\thandleAuthenticationError: function (error) {\n\t\t// Stop the message rotation interval\n\t\tclearInterval(this.messageInterval);\n\t\t// Update the UI to indicate an error occurred during the JWT fetch process\n\t\t$('.app-loading-status > small').innerHTML = 'Error fetching authentication token.';\n\t},\n\n\tgetPanelUI: function (panel) {\n\t\treturn panel ? this.AppUIData[panel] : this.AppUIData;\n\t},\n\n\tgetPrefs: function (panel) {\n\t\treturn panel ? this.AppPrefs[panel] : this.AppPrefs;\n\t},\n\n\tsetPrefs: function () {\n\t\tif (GoAccess.Util.hasLocalStorage()) {\n\t\t\tlocalStorage.setItem('AppPrefs', JSON.stringify(GoAccess.getPrefs()));\n\t\t}\n\t},\n\n\tgetPanelData: function (panel) {\n\t\treturn panel ? this.AppData[panel] : this.AppData;\n\t},\n\n\t// Include cookies for session validation\n\tfetchJWT: function (url) {\n\t\treturn fetch(url, {\n\t\t\tmethod: 'GET',\n\t\t\tcredentials: 'include',\n\t\t\theaders: { 'Accept': 'application/json' },\n\t\t\treferrerPolicy: 'no-referrer-when-downgrade'\n\t\t})\n\t\t.then(response => response.json())\n\t\t.then(data => {\n\t\t\tif (data.status === 'success' && data.csrf_token) {\n\t\t\t\tthis.csrfToken = data.csrf_token;\n\t\t\t}\n\t\t\treturn data;\n\t\t});\n\t},\n\n\trefreshJWT: function (url, refreshToken) {\n\t\tconst headers = {\n\t\t\t'Accept': 'application/json',\n\t\t\t'Content-Type': 'application/json'\n\t\t};\n\t\tif (this.csrfToken) {\n\t\t\theaders['X-CSRF-TOKEN'] = this.csrfToken;\n\t\t}\n\t\treturn fetch(url, {\n\t\t\tmethod: 'POST',\n\t\t\tcredentials: 'include',\n\t\t\theaders: headers,\n\t\t\treferrerPolicy: 'no-referrer-when-downgrade',\n\t\t\tbody: JSON.stringify({ refresh_token: refreshToken })\n\t\t}).then(response => response.json());\n\t},\n\n\t// Schedule the next token refresh, triggering a refresh shortly before the token expires\n\tscheduleTokenRefresh: function (expiresIn, refreshToken) {\n\t\t// Refresh 1 minute before expiration\n\t\tconst refreshUrl = this.AppWSConn.ws_auth_refresh_url || this.AppWSConn.ws_auth_url;\n\t\t// Set the timer to trigger one minute before the token expires\n\t\tsetTimeout(() => {\n\t\t\tthis.refreshJWT(refreshUrl, refreshToken)\n\t\t\t\t.then(data => {\n\t\t\t\t\tif (data.status === \"success\") {\n\t\t\t\t\t\tconst newJwt = data.access_token;\n\t\t\t\t\t\tconst newRefreshToken = data.refresh_token;\n\t\t\t\t\t\tconst newExpiresIn = data.expires_in;\n\t\t\t\t\t\t// Update token without reconnecting\n\t\t\t\t\t\tthis.sendNewJWT(newJwt);\n\t\t\t\t\t\t// Schedule the next refresh using the new expiration time\n\t\t\t\t\t\tthis.scheduleTokenRefresh(newExpiresIn, newRefreshToken);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Update token without reconnecting\n\t\t\t\t\t\tthis.sendNewJWT(null);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tconsole.error(\"Error refreshing JWT:\", error);\n\t\t\t\t});\n\t\t}, (expiresIn - this.tokenRefreshLeadTime) * 1000);\n\t},\n\n\t// Sends the new JWT to the server over the already-open WebSocket connection\n\tsendNewJWT: function (newJwt) {\n\t\tif (this.socket && this.socket.readyState === WebSocket.OPEN) {\n\t\t\t// Notify the server to update the JWT used for authentication\n\t\t\tthis.socket.send(JSON.stringify({ action: \"validate_token\", token: newJwt }));\n\t\t}\n\t\t// Also update the locally stored token\n\t\tthis.currentJWT = newJwt;\n\t},\n\n\treconnect: function (wsConn) {\n\t\tif (this.retries >= this.maxRetries)\n\t\t\treturn window.clearTimeout(this.wsTimer);\n\n\t\tthis.retries++;\n\t\t// Exponential backoff\n\t\tif (this.currDelay < this.maxDelay)\n\t\t\tthis.currDelay *= 2;\n\t\tthis.setWebSocket(wsConn, this.currentJWT, null);\n\t},\n\n\tbuildWSURI: function (wsConn) {\n\t\tvar url = null;\n\t\tif (!wsConn.url || !wsConn.port)\n\t\t\treturn null;\n\t\turl = /^wss?:\\/\\//i.test(wsConn.url) ? wsConn.url : window.location.protocol === \"https:\" ? 'wss://' + wsConn.url : 'ws://' + wsConn.url;\n\t\treturn new URL(url).protocol + '//' + new URL(url).hostname + ':' + wsConn.port + new URL(url).pathname;\n\t},\n\n\tsetWebSocket: function (wsConn, jwt, messageInterval) {\n\t\tvar host = null, pingId = null, uri = null, defURI = null, str = null;\n\t\t// Store the JWT used for this connection\n\t\tthis.currentJWT = jwt;\n\n\t\t// If no external messageInterval is provided, set up local message rotation\n\t\tif (jwt && !messageInterval) {\n\t\t\tconst messages = [\n\t\t\t\t'Validating WebSocket tokens... Please wait.',\n\t\t\t\t'Authenticating WebSocket connection... Please wait.',\n\t\t\t\t'Verifying WebSocket credentials... Please wait.',\n\t\t\t\t'Authorizing WebSocket session... Please wait.'\n\t\t\t];\n\t\t\tlet currentMessageIndex = 0;\n\t\t\tmessageInterval = setInterval(() => {\n\t\t\t\tif (currentMessageIndex < messages.length) {\n\t\t\t\t\t$('.app-loading-status > small').innerHTML = messages[currentMessageIndex];\n\t\t\t\t\tcurrentMessageIndex++;\n\t\t\t\t}\n\t\t\t}, 100);\n\t\t}\n\n\t\tdefURI = window.location.hostname ? window.location.hostname + ':' + wsConn.port : \"localhost\" + ':' + wsConn.port;\n\t\turi = wsConn.url && /^(wss?:\\/\\/)?[^\\/]+:[0-9]{1,5}/.test(wsConn.url) ? wsConn.url : this.buildWSURI(wsConn);\n\n\t\tstr = uri || defURI;\n\t\tstr = !/^wss?:\\/\\//i.test(str) ? (window.location.protocol === \"https:\" ? 'wss://' : 'ws://') + str : str;\n\n\t\tif (jwt) {\n\t\t\tconst separator = str.includes('?') ? '&' : '?';\n\t\t\tstr = str + separator + 'token=' + encodeURIComponent(jwt);\n\t\t}\n\t\t// Store socket for token refresh\n\t\tvar socket = new WebSocket(str);\n\t\tthis.socket = socket;\n\n\t\tsocket.onopen = function (event) {\n\t\t\tclearInterval(messageInterval);\n\t\t\tif (this.currentJWT)\n\t\t\t\t$('.app-loading-status > small').innerHTML = 'Authentication successful.';\n\n\t\t\tthis.currDelay = this.wsDelay;\n\t\t\tthis.retries = 0;\n\n\t\t\tif (wsConn.ping_interval) {\n\t\t\t\tpingId = setInterval(() => { socket.send('ping'); }, wsConn.ping_interval * 1E3);\n\t\t\t}\n\t\t\tGoAccess.Nav.WSOpen(str);\n\n\t\t}.bind(this);\n\n\t\tsocket.onmessage = function (event) {\n\t\t\tthis.AppState['updated'] = true;\n\t\t\tthis.AppData = JSON.parse(event.data);\n\t\t\tif (!this.isAppInitialized) {\n\t\t\t\tGoAccess.App.initialize();\n\t\t\t\tGoAccess.Nav.WSOpen(str);\n\t\t\t\tthis.isAppInitialized = true;\n\t\t\t}\n\t\t\tthis.App.renderData();\n\t\t}.bind(this);\n\n\t\tsocket.onclose = function (event) {\n\t\t\tclearInterval(messageInterval);\n\t\t\t$('.app-loading-status > small').innerHTML = 'Unable to authenticate WebSocket.';\n\t\t\t$('.loading-container > .spinner').style.display = 'none';\n\n\t\t\tGoAccess.Nav.WSClose();\n\t\t\twindow.clearInterval(pingId);\n\t\t\tthis.socket = null;\n\t\t\tthis.wsTimer = setTimeout(() => { this.reconnect(wsConn); }, this.currDelay);\n\t\t}.bind(this);\n\t},\n};\n\n// HELPERS\nGoAccess.Util = {\n\tmonths: [\"Jan\", \"Feb\", \"Mar\", \"Apr\", \"May\", \"Jun\", \"Jul\",\"Aug\", \"Sep\", \"Oct\", \"Nov\", \"Dec\"],\n\n\t// Add all attributes of n to o\n\tmerge: function (o, n) {\n\t\tvar obj = {}, i = 0, il = arguments.length, key;\n\t\tfor (; i < il; i++) {\n\t\t\tfor (key in arguments[i]) {\n\t\t\t\tif (arguments[i].hasOwnProperty(key)) {\n\t\t\t\t\tobj[key] = arguments[i][key];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn obj;\n\t},\n\n\t// hash a string\n\thashCode: function (s) {\n\t\treturn (s.split('').reduce(function (a, b) {\n\t\t\ta = ((a << 5) - a) + b.charCodeAt(0);\n\t\t\treturn a&a;\n\t\t}, 0) >>> 0).toString(16);\n\t},\n\n\t// Format bytes to human-readable\n\tformatBytes: function (bytes, decimals, numOnly) {\n\t\tif (bytes == 0)\n\t\t\treturn numOnly ? 0 : '0 Byte';\n\t\tvar k = 1024;\n\t\tvar dm = decimals + 1 || 2;\n\t\tvar sizes = ['B', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB'];\n\t\tvar i = Math.floor(Math.log(bytes) / Math.log(k));\n\t\treturn parseFloat((bytes / Math.pow(k, i)).toFixed(dm)) + (numOnly ? '' : (' ' + sizes[i]));\n\t},\n\n\t// Validate number\n\tisNumeric: function (n) {\n\t\treturn !isNaN(parseFloat(n)) && isFinite(n);\n\t},\n\n\t// Format microseconds to human-readable\n\tutime2str: function (usec) {\n\t\tif (usec >= 864E8)\n\t\t\treturn ((usec) / 864E8).toFixed(2) + ' d';\n\t\telse if (usec >= 36E8)\n\t\t\treturn ((usec) / 36E8).toFixed(2) + ' h';\n\t\telse if (usec >= 6E7)\n\t\t\treturn ((usec) / 6E7).toFixed(2) + ' m';\n\t\telse if (usec >= 1E6)\n\t\t\treturn ((usec) / 1E6).toFixed(2) + ' s';\n\t\telse if (usec >= 1E3)\n\t\t\treturn ((usec) / 1E3).toFixed(2) + ' ms';\n\t\treturn (usec).toFixed(2) + ' us';\n\t},\n\n\t// Format date from 20120124 to 24/Jan/2012\n\tformatDate: function (str) {\n\t\tvar y = str.substr(0,4), m = str.substr(4,2) - 1, d = str.substr(6,2),\n\t\t\th = str.substr(8,2) || 0, i = str.substr(10, 2)  || 0, s = str.substr(12, 2) || 0;\n\t\tvar date = new Date(y,m,d,h,i,s);\n\n\t\tvar out = ('0' + date.getDate()).slice(-2) + '/' + this.months[date.getMonth()] + '/' + date.getFullYear();\n\t\t10 <= str.length && (out += \":\" + h);\n\t\t12 <= str.length && (out += \":\" + i);\n\t\t14 <= str.length && (out += \":\" + s);\n\t\treturn out;\n\t},\n\n\tshortNum:  function (n) {\n\t\tif (n < 1e3) return n;\n\t\tif (n >= 1e3 && n < 1e6) return +(n / 1e3).toFixed(1) + \"K\";\n\t\tif (n >= 1e6 && n < 1e9) return +(n / 1e6).toFixed(1) + \"M\";\n\t\tif (n >= 1e9 && n < 1e12) return +(n / 1e9).toFixed(1) + \"B\";\n\t\tif (n >= 1e12) return +(n / 1e12).toFixed(1) + \"T\";\n\t},\n\n\t// Format field value to human-readable\n\tfmtValue: function (value, dataType, decimals, shorten, hlregex, hlvalue) {\n\t\tvar val = 0;\n\t\tif (!dataType)\n\t\t\tval = value;\n\n\t\tswitch (dataType) {\n\t\tcase 'utime':\n\t\t\tval = this.utime2str(+value);\n\t\t\tbreak;\n\t\tcase 'date':\n\t\t\tval = this.formatDate(value);\n\t\t\tbreak;\n\t\tcase 'numeric':\n\t\t\tif (this.isNumeric(value))\n\t\t\t\tval = shorten ? this.shortNum(value) : (+value).toLocaleString();\n\t\t\tbreak;\n\t\tcase 'bytes':\n\t\t\tval = this.formatBytes(value, decimals);\n\t\t\tbreak;\n\t\tcase 'percent':\n\t\t\tval = value.replace(',', '.') + '%';\n\t\t\tbreak;\n\t\tcase 'time':\n\t\t\tif (this.isNumeric(value))\n\t\t\t\tval = value.toLocaleString();\n\t\t\tbreak;\n\t\tcase 'secs':\n\t\t\tvar t = new Date(null);\n\t\t\tt.setSeconds(value);\n\t\t\tval = t.toISOString().substr(11, 8);\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tval = value;\n\t\t}\n\n\t\tif (hlregex) {\n\t\t\tlet o = JSON.parse(hlregex), tmp = '';\n\t\t\tfor (var x in o) {\n\t\t\t\tif (!val) continue;\n\t\t\t\ttmp = val.replace(new RegExp(x, 'gi'), o[x]);\n\t\t\t\tif (tmp != val) {\n\t\t\t\t\tval = tmp;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tval = tmp;\n\t\t\t}\n\t\t}\n\n\t\treturn value == 0 ? String(val) : (val === undefined ? '-' : val);\n\t},\n\n\tisPanelHidden: function (panel) {\n\t\treturn GoAccess.AppPrefs.hiddenPanels.includes(panel);\n\t},\n\n\tisPanelValid: function (panel) {\n\t\tvar data = GoAccess.getPanelData(), ui = GoAccess.getPanelUI();\n\t\treturn (!ui.hasOwnProperty(panel) || !data.hasOwnProperty(panel) || !ui[panel].id);\n\t},\n\n\t// Attempts to extract the count from either an object or a scalar.\n\t// e.g., item = Object {count: 14351, percent: 5.79} OR item = 4824825140\n\tgetCount: function (item) {\n\t\tif (this.isObject(item) && 'count' in item)\n\t\t\treturn item.count;\n\t\treturn item;\n\t},\n\n\tgetPercent: function (item) {\n\t\tif (this.isObject(item) && 'percent' in item)\n\t\t\treturn this.fmtValue(item.percent, 'percent');\n\t\treturn null;\n\t},\n\n\tisObject: function (o) {\n\t\treturn o === Object(o);\n\t},\n\n\tsetProp: function (o, s, v) {\n\t\tvar schema = o;\n\t\tvar a = s.split('.');\n\t\tfor (var i = 0, n = a.length; i < n-1; ++i) {\n\t\t\tvar k = a[i];\n\t\t\tif (!schema[k])\n\t\t\t\tschema[k] = {};\n\t\t\tschema = schema[k];\n\t\t}\n\t\tschema[a[n-1]] = v;\n\t},\n\n\tgetProp: function (o, s) {\n\t\ts = s.replace(/\\[(\\w+)\\]/g, '.$1');\n\t\ts = s.replace(/^\\./, '');\n\t\tvar a = s.split('.');\n\t\tfor (var i = 0, n = a.length; i < n; ++i) {\n\t\t\tvar k = a[i];\n\t\t\tif (this.isObject(o) && k in o) {\n\t\t\t\to = o[k];\n\t\t\t} else {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\treturn o;\n\t},\n\n\thasLocalStorage: function () {\n\t\ttry {\n\t\t\tlocalStorage.setItem('test', 'test');\n\t\t\tlocalStorage.removeItem('test');\n\t\t\treturn true;\n\t\t} catch(e) {\n\t\t\treturn false;\n\t\t}\n\t},\n\n\tisWithinViewPort: function (el) {\n\t\tvar elemTop = el.getBoundingClientRect().top;\n\t\tvar elemBottom = el.getBoundingClientRect().bottom;\n\t\treturn elemTop < window.innerHeight && elemBottom >= 0;\n\t},\n\n\ttogglePanel: function(panel) {\n\t\tvar index = GoAccess.AppPrefs.hiddenPanels.indexOf(panel);\n\t\tif (index == -1) {\n\t\t\tGoAccess.AppPrefs.hiddenPanels.push(panel);\n\t\t} else {\n\t\t\tGoAccess.AppPrefs.hiddenPanels.splice(index, 1);\n\t\t}\n\t\tGoAccess.setPrefs();\n\n\t\tdelete GoAccess.AppCharts[panel];\n\t\tGoAccess.OverallStats.initialize();\n\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.Charts.initialize();\n\t\tGoAccess.Tables.initialize();\n\t},\n\n\treorderPanels: function(fromIndex, toIndex) {\n\t\tvar order = GoAccess.AppPrefs.panelOrder;\n\n\t\t// Ensure we have a valid order array\n\t\tif (!order || order.length === 0) {\n\t\t\tconsole.error('Panel order not initialized');\n\t\t\treturn;\n\t\t}\n\n\t\t// Validate indices\n\t\tif (fromIndex < 0 || fromIndex >= order.length ||\n\t\t\ttoIndex < 0 || toIndex >= order.length) {\n\t\t\tconsole.error('Invalid drag indices', fromIndex, toIndex);\n\t\t\treturn;\n\t\t}\n\n\t\t// Perform the reorder\n\t\tvar item = order.splice(fromIndex, 1)[0];\n\t\torder.splice(toIndex, 0, item);\n\n\t\t// Save preferences\n\t\tGoAccess.setPrefs();\n\n\t\t// Re-render panels in new order\n\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.Charts.initialize();\n\t\tGoAccess.Tables.initialize();\n\t},\n};\n\n// OVERALL STATS\nGoAccess.OverallStats = {\n\ttotal_requests: 0,\n\n\t// Render each overall stats box\n\trenderBox: function (data, ui, row, x, idx) {\n\t\tvar wrap = $('#overall ul');\n\t\tvar box = document.createElement('li');\n\n\t\t// we need to append the element first, otherwise outerHTML won't work\n\t\twrap.appendChild(box);\n\n\t\tbox.outerHTML = GoAccess.AppTpls.General.items.render({\n\t\t\t'id': x,\n\t\t\t'className': ui.items[x].className,\n\t\t\t'label': ui.items[x].label,\n\t\t\t'value': GoAccess.Util.fmtValue(data[x], ui.items[x].dataType),\n\t\t});\n\n\t\treturn wrap;\n\t},\n\n\t// Render overall stats\n\trenderData: function (data, ui) {\n\t\tvar idx = 0, row = null;\n\n\t\t$('.last-updated').innerHTML = data.date_time;\n\t\t$('#overall').innerHTML = '';\n\n\t\tif (GoAccess.Util.isPanelHidden('general'))\n\t\t\treturn false;\n\n\t\t$('#overall').innerHTML = GoAccess.AppTpls.General.wrap.render(GoAccess.Util.merge(ui, {\n\t\t\t'from': data.start_date,\n\t\t\t'to': data.end_date,\n\t\t}));\n\t\t$('#overall').setAttribute('aria-labelledby', 'overall-heading');\n\n\t\t// Iterate over general data object\n\t\tfor (var x in data) {\n\t\t\tif (!data.hasOwnProperty(x) || !ui.items.hasOwnProperty(x))\n\t\t\t\tcontinue;\n\t\t\trow = this.renderBox(data, ui, row, x, idx);\n\t\t\tidx++;\n\t\t}\n\t},\n\n\t// Render general/overall analyzed requests.\n\tinitialize: function () {\n\t\tvar ui = GoAccess.getPanelUI('general');\n\t\tvar data = GoAccess.getPanelData('general');\n\t\tthis.total_requests = data.total_requests;\n\n\t\tthis.renderData(data, ui);\n\t}\n};\n\n// RENDER PANELS\nGoAccess.Nav = {\n\tevents: function () {\n\t\t$('.nav-bars').onclick = function (e) {\n\t\t\te.stopPropagation();\n\t\t\tthis.renderMenu(e);\n\t\t}.bind(this);\n\n\t\t$('.nav-gears').onclick = function (e) {\n\t\t\te.stopPropagation();\n\t\t\tthis.renderOpts(e);\n\t\t}.bind(this);\n\n\t\t$('.nav-minibars').onclick = function (e) {\n\t\t\te.stopPropagation();\n\t\t\tthis.renderOpts(e);\n\t\t}.bind(this);\n\n\t\t$('body').onclick = function (e) {\n\t\t\t$('nav').classList.remove('active');\n\t\t}.bind(this);\n\n\t\t$$('.export-json', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.downloadJSON(e);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.theme-bright', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setTheme('bright');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.theme-dark-blue', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setTheme('darkBlue');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.theme-dark-gray', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setTheme('darkGray');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.theme-dark-purple', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setTheme('darkPurple');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.layout-horizontal', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setLayout('horizontal');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.layout-vertical', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setLayout('vertical');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.layout-wide', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setLayout('wide');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-perpage]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.setPerPage(e);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-show-tables]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.toggleTables();\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-autohide-tables]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.toggleAutoHideTables();\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.toggle-panel', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\te.stopPropagation();\n\t\t\t\tvar panel = e.currentTarget.getAttribute('data-panel');\n\t\t\t\tGoAccess.Util.togglePanel(panel);\n\t\t\t\titem.classList.toggle('active');\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.drag-handle', function (item) {\n\t\t\tvar li = item.closest('li');\n\n\t\t\t// Don't make the overall stats draggable\n\t\t\tvar link = li.querySelector('a');\n\t\t\tif (link && link.getAttribute('href') === '#') {\n\t\t\t\treturn; // Skip overall stats item\n\t\t\t}\n\n\t\t\tli.setAttribute('draggable', 'true');\n\n\t\t\tli.ondragstart = function(e) {\n\t\t\t\te.dataTransfer.effectAllowed = 'move';\n\t\t\t\te.dataTransfer.setData('text/html', this.innerHTML);\n\t\t\t\tthis.classList.add('dragging');\n\n\t\t\t\t// Get the actual panel key from the link\n\t\t\t\tvar panelLink = this.querySelector('a');\n\t\t\t\tvar panelKey = panelLink ? panelLink.getAttribute('href').substring(1) : '';\n\t\t\t\te.dataTransfer.setData('panelKey', panelKey);\n\n\t\t\t\t// Store the index in the ordered list (excluding overall)\n\t\t\t\tvar allItems = Array.from(this.parentNode.children);\n\t\t\t\tvar draggableItems = allItems.filter(function(item) {\n\t\t\t\t\tvar itemLink = item.querySelector('a');\n\t\t\t\t\treturn itemLink && itemLink.getAttribute('href') !== '#';\n\t\t\t\t});\n\t\t\t\tvar fromIndex = draggableItems.indexOf(this);\n\t\t\t\te.dataTransfer.setData('index', fromIndex);\n\t\t\t};\n\n\t\t\tli.ondragend = function(e) {\n\t\t\t\tthis.classList.remove('dragging');\n\t\t\t\t$$('.nav-list li', function(item) {\n\t\t\t\t\titem.classList.remove('drag-over');\n\t\t\t\t});\n\t\t\t};\n\n\t\t\tli.ondragover = function(e) {\n\t\t\t\te.preventDefault();\n\t\t\t\te.dataTransfer.dropEffect = 'move';\n\n\t\t\t\t// Only allow drop on other draggable items\n\t\t\t\tvar link = this.querySelector('a');\n\t\t\t\tif (link && link.getAttribute('href') !== '#') {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t};\n\n\t\t\tli.ondragenter = function(e) {\n\t\t\t\te.preventDefault();\n\t\t\t\t// Only highlight if it's a valid drop target\n\t\t\t\tvar link = this.querySelector('a');\n\t\t\t\tif (link && link.getAttribute('href') !== '#') {\n\t\t\t\t\tthis.classList.add('drag-over');\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tli.ondragleave = function(e) {\n\t\t\t\t// Check if we're actually leaving the element (not just entering a child)\n\t\t\t\tif (e.target === this) {\n\t\t\t\t\tthis.classList.remove('drag-over');\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tli.ondrop = function(e) {\n\t\t\t\te.stopPropagation();\n\t\t\t\te.preventDefault();\n\n\t\t\t\t// Don't allow dropping on overall stats\n\t\t\t\tvar targetLink = this.querySelector('a');\n\t\t\t\tif (targetLink && targetLink.getAttribute('href') === '#') {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tvar fromIndex = parseInt(e.dataTransfer.getData('index'));\n\n\t\t\t\t// Calculate toIndex from draggable items only\n\t\t\t\tvar allItems = Array.from(this.parentNode.children);\n\t\t\t\tvar draggableItems = allItems.filter(function(item) {\n\t\t\t\t\tvar itemLink = item.querySelector('a');\n\t\t\t\t\treturn itemLink && itemLink.getAttribute('href') !== '#';\n\t\t\t\t});\n\t\t\t\tvar toIndex = draggableItems.indexOf(this);\n\n\t\t\t\tif (fromIndex !== toIndex && fromIndex !== -1 && toIndex !== -1) {\n\t\t\t\t\tGoAccess.Util.reorderPanels(fromIndex, toIndex);\n\t\t\t\t\t// Re-render the menu to show new order\n\t\t\t\t\tGoAccess.Nav.renderMenu();\n\t\t\t\t}\n\n\t\t\t\tthis.classList.remove('drag-over');\n\t\t\t\treturn false;\n\t\t\t};\n\t\t}.bind(this));\n\t},\n\n\tdownloadJSON: function (e) {\n\t\tvar targ = e.currentTarget;\n\t\tvar data = \"text/json;charset=utf-8,\" + encodeURIComponent(JSON.stringify(GoAccess.getPanelData()));\n\t\ttarg.href = 'data:' + data;\n\t\ttarg.download = 'goaccess-' + (+new Date()) + '.json';\n\t},\n\n\tsetLayout: function (layout) {\n\t\tif (('horizontal' == layout || 'wide' == layout) && $('.container')) {\n\t\t\t$('.container').classList.add('container-fluid');\n\t\t\t$('.container').classList.remove('container');\n\t\t} else if ('vertical' == layout && $('.container-fluid')) {\n\t\t\t$('.container-fluid').classList.add('container');\n\t\t\t$('.container').classList.remove('container-fluid');\n\t\t}\n\n\t\tGoAccess.AppPrefs['layout'] = layout;\n\t\tGoAccess.setPrefs();\n\n\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.Charts.initialize();\n\t\tGoAccess.Tables.initialize();\n\t},\n\n\ttoggleAutoHideTables: function (e) {\n\t\tvar autoHideTables = GoAccess.Tables.autoHideTables();\n\t\t$$('.table-wrapper', function (item) {\n\t\t\tif (autoHideTables) {\n\t\t\t\titem.classList.remove('hidden-xs');\n\t\t\t} else {\n\t\t\t\titem.classList.add('hidden-xs');\n\t\t\t}\n\t\t}.bind(this));\n\n\t\tGoAccess.AppPrefs['autoHideTables'] = !autoHideTables;\n\t\tGoAccess.setPrefs();\n\t},\n\n\ttoggleTables: function () {\n\t\tvar ui = GoAccess.getPanelUI();\n\t\tvar showTables = GoAccess.Tables.showTables();\n\t\tObject.keys(ui).forEach(function (panel, idx) {\n\t\t\tif (!GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\t\tui[panel]['table'] = !showTables;\n\t\t}.bind(this));\n\n\t\tGoAccess.AppPrefs['showTables'] = !showTables;\n\t\tGoAccess.setPrefs();\n\n\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.Charts.initialize();\n\t\tGoAccess.Tables.initialize();\n\t},\n\n\tsetTheme: function (theme) {\n\t\tif (!theme)\n\t\t\treturn;\n\n\t\t$('html').className = '';\n\t\tswitch(theme) {\n\t\tcase 'darkGray':\n\t\t\tdocument.querySelector('meta[name=\"theme-color\"]')?.setAttribute('content', '#212121');\n\t\t\t$('html').classList.add('dark');\n\t\t\t$('html').classList.add('gray');\n\t\t\tbreak;\n\t\tcase 'darkBlue':\n\t\t\tdocument.querySelector('meta[name=\"theme-color\"]')?.setAttribute('content', '#252B30');\n\t\t\t$('html').classList.add('dark');\n\t\t\t$('html').classList.add('blue');\n\t\t\tbreak;\n\t\tcase 'darkPurple':\n\t\t\tdocument.querySelector('meta[name=\"theme-color\"]')?.setAttribute('content', '#1e1e2f');\n\t\t\t$('html').classList.add('dark');\n\t\t\t$('html').classList.add('purple');\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tdocument.querySelector('meta[name=\"theme-color\"]')?.setAttribute('content', '#f0f0f0');\n\t\t}\n\t\tGoAccess.AppPrefs['theme'] = theme;\n\t\tGoAccess.setPrefs();\n\t},\n\n\tgetIcon: function (key) {\n\t\tswitch(key) {\n\t\tcase 'visitors'        : return 'users';\n\t\tcase 'requests'        : return 'file';\n\t\tcase 'static_requests' : return 'file-text';\n\t\tcase 'not_found'       : return 'file-o';\n\t\tcase 'hosts'           : return 'user';\n\t\tcase 'os'              : return 'desktop';\n\t\tcase 'browsers'        : return 'chrome';\n\t\tcase 'visit_time'      : return 'clock-o';\n\t\tcase 'vhosts'          : return 'th-list';\n\t\tcase 'referrers'       : return 'external-link';\n\t\tcase 'referring_sites' : return 'external-link';\n\t\tcase 'keyphrases'      : return 'google';\n\t\tcase 'status_codes'    : return 'warning';\n\t\tcase 'remote_user'     : return 'users';\n\t\tcase 'geolocation'     : return 'map-marker';\n\t\tcase 'asn'             : return 'map-marker';\n\t\tcase 'mime_type'       : return 'file-o';\n\t\tcase 'tls_type'        : return 'warning';\n\t\tdefault                : return 'pie-chart';\n\t\t}\n\t},\n\n\tgetItems: function () {\n\t\tvar ui = GoAccess.getPanelUI(), menu = [], panels = [];\n\n\t\t// Collect all valid panels\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel))\n\t\t\t\tcontinue;\n\t\t\tpanels.push({\n\t\t\t\t'current': window.location.hash.substr(1) == panel,\n\t\t\t\t'head': ui[panel].head,\n\t\t\t\t'key': panel,\n\t\t\t\t'icon': this.getIcon(panel),\n\t\t\t\t'hidden': GoAccess.Util.isPanelHidden(panel)\n\t\t\t});\n\t\t}\n\n\t\t// Initialize panel order if empty\n\t\tif (!GoAccess.AppPrefs.panelOrder || GoAccess.AppPrefs.panelOrder.length === 0) {\n\t\t\tGoAccess.AppPrefs.panelOrder = panels.map(function(p) { return p.key; });\n\t\t\tGoAccess.setPrefs();\n\t\t}\n\n\t\t// Sort panels according to saved order\n\t\tvar orderedPanels = [];\n\t\tvar order = GoAccess.AppPrefs.panelOrder;\n\n\t\t// First add panels in the saved order\n\t\tfor (var i = 0; i < order.length; i++) {\n\t\t\tvar panel = panels.find(function(p) { return p.key === order[i]; });\n\t\t\tif (panel) orderedPanels.push(panel);\n\t\t}\n\n\t\t// Then add any new panels that aren't in the saved order\n\t\tfor (var j = 0; j < panels.length; j++) {\n\t\t\tif (!order.includes(panels[j].key)) {\n\t\t\t\torderedPanels.push(panels[j]);\n\t\t\t\tGoAccess.AppPrefs.panelOrder.push(panels[j].key);\n\t\t\t}\n\t\t}\n\n\t\treturn orderedPanels;\n\t},\n\n\tsetPerPage: function (e) {\n\t\tGoAccess.AppPrefs['perPage'] = +e.currentTarget.getAttribute('data-perpage');\n\t\tGoAccess.App.renderData();\n\t\tGoAccess.setPrefs();\n\n\t\tGoAccess.Tables.initialize();\n\t},\n\n\tgetTheme: function () {\n\t\treturn GoAccess.AppPrefs.theme || 'darkGray';\n\t},\n\n\tgetLayout: function () {\n\t\treturn GoAccess.AppPrefs.layout || 'horizontal';\n\t},\n\n\tgetPerPage: function () {\n\t\treturn GoAccess.AppPrefs.perPage || 7;\n\t},\n\n\t// Render left-hand side navigation options.\n\trenderOpts: function () {\n\t\tvar o = {};\n\t\to[this.getLayout()] = true;\n\t\to[this.getTheme()] = true;\n\t\to['perPage' + this.getPerPage()] = true;\n\t\to['autoHideTables'] = GoAccess.Tables.autoHideTables();\n\t\to['showTables'] = GoAccess.Tables.showTables();\n\t\to['labels'] = GoAccess.i18n;\n\n\t\t$('.nav-list').innerHTML = GoAccess.AppTpls.Nav.opts.render(o);\n\t\trequestAnimationFrame(function () {\n\t\t\t$('nav').classList.toggle('active');\n\t\t});\n\t\tthis.events();\n\t},\n\n\t// Render left-hand side navigation given the available panels.\n\trenderMenu: function (e) {\n\t\t$('.nav-list').innerHTML = GoAccess.AppTpls.Nav.menu.render({\n\t\t\t'nav': this.getItems(),\n\t\t\t'overall_current': window.location.hash.substr(1) == '',\n\t\t\t'overall_hidden': GoAccess.Util.isPanelHidden('general'),\n\t\t\t'labels': GoAccess.i18n,\n\t\t});\n\t\trequestAnimationFrame(function () {\n\t\t\t$('nav').classList.toggle('active');\n\t\t});\n\t\tthis.events();\n\t},\n\n\tWSStatus: function () {\n\t\tif (Object.keys(GoAccess.AppWSConn).length)\n\t\t\t$$('.nav-ws-status', function (item) { item.style.display = 'block'; });\n\t},\n\n\tWSClose: function () {\n\t\t$$('.nav-ws-status', function (item) {\n\t\t\titem.classList.remove('fa-circle');\n\t\t\titem.classList.add('fa-stop');\n\t\t\titem.setAttribute('aria-label', GoAccess.i18n.websocket_disconnected);\n\t\t\titem.setAttribute('title', GoAccess.i18n.websocket_disconnected);\n\t\t});\n\t},\n\n\tWSOpen: function (str) {\n\t\tconst baseUrl = str.split('?')[0].split('#')[0];\n\t\t$$('.nav-ws-status', function (item) {\n\t\t\titem.classList.remove('fa-stop');\n\t\t\titem.classList.add('fa-circle');\n\t\t\titem.setAttribute('aria-label', `${GoAccess.i18n.websocket_connected} (${baseUrl})`);\n\t\t\titem.setAttribute('title', `${GoAccess.i18n.websocket_connected} (${baseUrl})`);\n\t\t});\n\t},\n\n\t// Render left-hand side navigation given the available panels.\n\trenderWrap: function (nav) {\n\t\t$('nav').innerHTML = GoAccess.AppTpls.Nav.wrap.render(GoAccess.i18n);\n\t},\n\n\t// Iterate over all available panels and render each.\n\tinitialize: function () {\n\t\tthis.setTheme(GoAccess.AppPrefs.theme);\n\t\tthis.renderWrap();\n\t\tthis.WSStatus();\n\t\tthis.events();\n\t}\n};\n\n// RENDER PANELS\nGoAccess.Panels = {\n\tevents: function () {\n\t\t$$('[data-toggle=dropdown]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.openOpts(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t\titem.onblur = function (e) {\n\t\t\t\tthis.closeOpts(e);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-plot]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tGoAccess.Charts.redrawChart(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-chart]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tGoAccess.Charts.toggleChart(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-chart-type]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tGoAccess.Charts.setChartType(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('[data-metric]', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tGoAccess.Tables.toggleColumn(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\t},\n\n\topenOpts: function (targ) {\n\t\tvar panel = targ.getAttribute('data-panel');\n    targ.setAttribute('aria-expanded', 'true');\n\t\ttarg.parentElement.classList.toggle('open');\n\t\tthis.renderOpts(panel);\n\t},\n\n\tcloseOpts: function (e) {\n\t\te.currentTarget.parentElement.classList.remove('open');\n    e.currentTarget.parentElement.querySelector('[aria-expanded]').setAttribute('aria-expanded', 'false');\n\t\t// Trigger the click event on the target if not opening another menu\n\t\tif (e.relatedTarget && e.relatedTarget.getAttribute('data-toggle') !== 'dropdown')\n\t\t\te.relatedTarget.click();\n\t},\n\n\tsetPlotSelection: function (ui, prefs) {\n\t\tvar chartType = ((prefs || {}).plot || {}).chartType || ui.plot[0].chartType;\n\t\tvar metric = ((prefs || {}).plot || {}).metric || ui.plot[0].className;\n\n\t\tui[chartType] = true;\n\t\tfor (var i = 0, len = ui.plot.length; i < len; ++i)\n\t\t\tif (ui.plot[i].className == metric)\n\t\t\t\tui.plot[i]['selected'] = true;\n\t},\n\n\tsetColSelection: function (items, prefs) {\n\t\tvar columns = (prefs || {}).columns || {};\n\t\tfor (var i = 0, len = items.length; i < len; ++i)\n\t\t\tif ((items[i].key in columns) && columns[items[i].key]['hide'])\n\t\t\t\titems[i]['hide'] = true;\n\t},\n\n\tsetChartSelection: function (ui, prefs) {\n\t\tui['showChart'] = prefs && ('chart' in prefs) ? prefs.chart : true;\n\t},\n\n\tsetOpts: function (panel) {\n\t\tvar ui = JSON.parse(JSON.stringify(GoAccess.getPanelUI(panel))), prefs = GoAccess.getPrefs(panel);\n\t\t// set preferences selection upon opening panel options\n\t\tthis.setChartSelection(ui, prefs);\n\t\tthis.setPlotSelection(ui, prefs);\n\t\tthis.setColSelection(ui.items, prefs);\n\t\treturn GoAccess.Util.merge(ui, {'labels': GoAccess.i18n});\n\t},\n\n\trenderOpts: function (panel) {\n\t\t$('.panel-opts-' + panel).innerHTML = GoAccess.AppTpls.Panels.opts.render(this.setOpts(panel));\n\t\tthis.events();\n\t},\n\n\tenablePrev: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-prev');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.remove('disabled');\n\t},\n\n\tdisablePrev: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-prev');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.add('disabled');\n\t},\n\n\tenableNext: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-next');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.remove('disabled');\n\t},\n\n\tdisableNext: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-next');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.add('disabled');\n\t},\n\n\tenableFirst: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-first');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.remove('disabled');\n\t},\n\n\tdisableFirst: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-first');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.add('disabled');\n\t},\n\n\tenableLast: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-last');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.remove('disabled');\n\t},\n\n\tdisableLast: function (panel) {\n\t\tvar $pagination = $('#panel-' + panel + ' .pagination a.panel-last');\n\t\tif ($pagination)\n\t\t\t$pagination.parentNode.classList.add('disabled');\n\t},\n\n\tenablePagination: function (panel) {\n\t\tthis.enablePrev(panel);\n\t\tthis.enableNext(panel);\n\t\tthis.enableFirst(panel);\n\t\tthis.enableLast(panel);\n\t},\n\n\tdisablePagination: function (panel) {\n\t\tthis.disablePrev(panel);\n\t\tthis.disableNext(panel);\n\t\tthis.disableFirst(panel);\n\t\tthis.disableLast(panel);\n\t},\n\n\thasSubItems: function (ui, data) {\n\t\tfor (var i = 0, len = data.length; i < len; ++i) {\n\t\t\tif (!data[i].items)\n\t\t\t\treturn (ui['hasSubItems'] = false);\n\t\t\tif (data[i].items.length) {\n\t\t\t\treturn (ui['hasSubItems'] = true);\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t},\n\n\tsetComputedData: function (panel, ui, data) {\n\t\tthis.hasSubItems(ui, data.data);\n\t\tGoAccess.Charts.hasChart(panel, ui);\n\t\tGoAccess.Tables.hasTable(ui);\n\t},\n\n\t// Render the given panel given a user interface definition.\n\trenderPanel: function (panel, ui, col) {\n\t\t// set some computed values before rendering panel structure\n\t\tvar data = GoAccess.getPanelData(panel);\n\t\tthis.setComputedData(panel, ui, data);\n\n\t\t// per panel wrapper\n\t\tvar box = document.createElement('div');\n\t\tbox.id = 'panel-' + panel;\n\t\tbox.innerHTML = GoAccess.AppTpls.Panels.wrap.render(GoAccess.Util.merge(ui, {\n\t\t\t'labels': GoAccess.i18n\n\t\t}));\n\n\t\t// add accessible label to parent article\n\t\tcol.setAttribute('aria-labelledby', panel);\n\n\t\tcol.appendChild(box);\n\n\t\t// Remove pagination if not enough data for the given panel\n\t\tif (data.data.length <= GoAccess.getPrefs().perPage)\n\t\t\tthis.disablePagination(panel);\n\t\tGoAccess.Tables.renderThead(panel, ui);\n\n\t\treturn col;\n\t},\n\n\tcreateCol: function (row) {\n\t\tvar layout = GoAccess.AppPrefs['layout'];\n\t\tvar perRow = 'horizontal' == layout ? 6 : 'wide' == layout ? 3 : 12;\n\n\t\t// set the number of columns based on current layout\n\t\tvar col = document.createElement('article');\n\t\tcol.setAttribute('class', 'col-md-' + perRow);\n\t\trow.appendChild(col);\n\n\t\treturn col;\n\t},\n\n\tcreateRow: function (row, idx) {\n\t\tvar wrap = $('#panels');\n\t\tvar layout = GoAccess.AppPrefs['layout'];\n\t\tvar every = 'horizontal' == layout ? 2 : 'wide' == layout ? 4 : 1;\n\n\t\t// create a new bootstrap row every one or two elements depending on\n\t\t// the layout\n\t\tif (idx % every == 0) {\n\t\t\trow = document.createElement('div');\n\t\t\trow.setAttribute('class', 'row' + (every == 2 || every == 4 ? ' equal' : ''));\n\t\t\twrap.appendChild(row);\n\t\t}\n\n\t\treturn row;\n\t},\n\n\tresetPanel: function (panel) {\n\t\tvar ui = GoAccess.getPanelUI();\n\t\tvar ele = $('#panel-' + panel);\n\n\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\treturn false;\n\n\t\tvar col = ele.parentNode;\n\t\tcol.removeChild(ele);\n\t\t// Render panel given a user interface definition\n\t\tthis.renderPanel(panel, ui[panel], col);\n\t\tthis.events();\n\t},\n\n\t// Iterate over all available panels and render each panel\n\t// structure.\n\trenderPanels: function () {\n\t\tvar ui = GoAccess.getPanelUI(), idx = 0, row = null, col = null;\n\t\tvar order = GoAccess.AppPrefs.panelOrder || [];\n\n\t\t$('#panels').innerHTML = '';\n\n\t\t// If no order is set, create default order\n\t\tif (order.length === 0) {\n\t\t\tfor (var panel in ui) {\n\t\t\t\tif (!GoAccess.Util.isPanelValid(panel) && !GoAccess.Util.isPanelHidden(panel)) {\n\t\t\t\t\torder.push(panel);\n\t\t\t\t}\n\t\t\t}\n\t\t\tGoAccess.AppPrefs.panelOrder = order;\n\t\t\tGoAccess.setPrefs();\n\t\t}\n\n\t\t// Render panels in the specified order\n\t\tfor (var i = 0; i < order.length; i++) {\n\t\t\tvar panel = order[i];\n\t\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\t\tcontinue;\n\n\t\t\trow = this.createRow(row, idx++);\n\t\t\tcol = this.createCol(row);\n\t\t\tthis.renderPanel(panel, ui[panel], col);\n\t\t}\n\n\t\t// Render any new panels not in the order array\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\t\tcontinue;\n\t\t\tif (!order.includes(panel)) {\n\t\t\t\trow = this.createRow(row, idx++);\n\t\t\t\tcol = this.createCol(row);\n\t\t\t\tthis.renderPanel(panel, ui[panel], col);\n\t\t\t\torder.push(panel);\n\t\t\t}\n\t\t}\n\n\t\tGoAccess.AppPrefs.panelOrder = order;\n\t\tGoAccess.setPrefs();\n\t},\n\n\tinitialize: function () {\n\t\tthis.renderPanels();\n\t\tthis.events();\n\t}\n};\n\n// RENDER CHARTS\nGoAccess.Charts = {\n\titer: function (callback) {\n\t\tObject.keys(GoAccess.AppCharts).forEach(function (panel) {\n\t\t\t// redraw chart only if it's within the viewport\n\t\t\tif (!GoAccess.Util.isWithinViewPort($('#panel-' + panel)))\n\t\t\t\treturn;\n\t\t\tif (callback && typeof callback === 'function')\n\t\t\t\tcallback.call(this, GoAccess.AppCharts[panel], panel);\n\t\t});\n\t},\n\n\tgetMetricKeys: function (panel, key) {\n\t\treturn GoAccess.getPanelUI(panel)['items'].map(function (a) { return a[key]; });\n\t},\n\n\tgetPanelData: function (panel, data) {\n\t\t// Grab ui plot data for the selected panel\n\t\tvar plot = GoAccess.Util.getProp(GoAccess.AppState, panel + '.plot');\n\n\t\t// Grab the data for the selected panel, respecting expanded state\n\t\tif (!data) {\n\t\t\tvar subItems = GoAccess.Tables.getSubItemsData(panel);\n\t\t\tdata = this.processChartData(subItems.length ? subItems : GoAccess.getPanelData(panel).data);\n\t\t}\n\t\treturn plot.chartReverse ? data.reverse() : data;\n\t},\n\n\tdrawPlot: function (panel, plotUI, data) {\n\t\tvar chart = this.getChart(panel, plotUI, data);\n\t\tif (!chart)\n\t\t\treturn;\n\n\t\tthis.renderChart(panel, chart, data);\n\t\tGoAccess.AppCharts[panel] = null;\n\t\tGoAccess.AppCharts[panel] = chart;\n\t},\n\n\tsetChartType: function (targ) {\n\t\tvar panel = targ.getAttribute('data-panel');\n\t\tvar type = targ.getAttribute('data-chart-type');\n\n\t\tGoAccess.Util.setProp(GoAccess.AppPrefs, panel + '.plot.chartType', type);\n\t\tGoAccess.setPrefs();\n\n\t\tvar plotUI = GoAccess.Util.getProp(GoAccess.AppState, panel + '.plot');\n\t\t// Extract data for the selected panel and process it\n\t\tthis.drawPlot(panel, plotUI, this.getPanelData(panel));\n\t},\n\n\ttoggleChart: function (targ) {\n\t\tvar panel = targ.getAttribute('data-panel');\n\t\tvar prefs = GoAccess.getPrefs(panel),\n\t\t\tchart = prefs && ('chart' in prefs) ? prefs.chart : true;\n\n\t\tGoAccess.Util.setProp(GoAccess.AppPrefs, panel + '.chart', !chart);\n\t\tGoAccess.setPrefs();\n\n\t\tGoAccess.Panels.resetPanel(panel);\n\t\tGoAccess.Charts.resetChart(panel);\n\t\tGoAccess.Tables.renderFullTable(panel);\n\t},\n\n\thasChart: function (panel, ui) {\n\t\tvar prefs = GoAccess.getPrefs(panel),\n\t\t\tchart = prefs && ('chart' in prefs) ? prefs.chart : true;\n\t\tui['chart'] = ui.plot.length && chart && chart;\n\t},\n\n\t// Redraw a chart upon selecting a metric.\n\tredrawChart: function (targ) {\n\t\tvar plot = targ.getAttribute('data-plot');\n\t\tvar panel = targ.getAttribute('data-panel');\n\t\tvar ui = GoAccess.getPanelUI(panel);\n\t\tvar plotUI = ui.plot;\n\n\t\tGoAccess.Util.setProp(GoAccess.AppPrefs, panel + '.plot.metric', plot);\n\t\tGoAccess.setPrefs();\n\n\t\t// Iterate over plot user interface definition\n\t\tfor (var x in plotUI) {\n\t\t\tif (!plotUI.hasOwnProperty(x) || plotUI[x].className != plot)\n\t\t\t\tcontinue;\n\n\t\t\tGoAccess.Util.setProp(GoAccess.AppState, panel + '.plot', plotUI[x]);\n\t\t\t// Extract data for the selected panel and process it\n\t\t\tthis.drawPlot(panel, plotUI[x], this.getPanelData(panel));\n\t\t\tbreak;\n\t\t}\n\t},\n\n\t// Iterate over the item properties and extract the count value.\n\textractCount: function (item) {\n\t\tvar o = {};\n\t\tfor (var prop in item)\n\t\t\to[prop] = GoAccess.Util.getCount(item[prop]);\n\t\treturn o;\n\t},\n\n\t// Extract an array of objects that D3 can consume to process the chart.\n\t// e.g., o = Object {hits: 37402, visitors: 6949, bytes:\n\t// 505881789, avgts: 118609, cumts: 4436224010...}\n\tprocessChartData: function (data) {\n\t\tvar out = [];\n\t\tfor (var i = 0; i < data.length; ++i)\n\t\t\tout.push(this.extractCount(data[i]));\n\t\treturn out;\n\t},\n\n\tfindUIItem: function (panel, key) {\n\t\tvar items = GoAccess.getPanelUI(panel).items;\n\t\tfor (var i = 0; i < items.length; ++i) {\n\t\t\tif (items[i].key == key)\n\t\t\t\treturn items[i];\n\t\t}\n\t\treturn null;\n\t},\n\n\tgetXKey: function (datum, key) {\n\t\tvar arr = [];\n\t\tif (typeof key === 'string')\n\t\t\treturn datum[key];\n\t\tfor (var prop in key)\n\t\t\tarr.push(datum[key[prop]]);\n\t\treturn arr.join(' ');\n\t},\n\n\tgetWMap: function (panel, plotUI, data, projectionType) {\n\t\tvar chart = WorldMap(d3.select(\"#chart-\" + panel));\n\t\tchart.width($(\"#chart-\" + panel).getBoundingClientRect().width);\n\t\tchart.height(400);\n\t\tchart.metric(plotUI['d3']['y0']['key']);\n\t\tchart.opts(plotUI);\n\t\tchart.projectionType(projectionType == 'wmap' ? 'mercator' : 'orthographic');\n\t\tchart.panel(panel);\n\n\t\treturn chart;\n\t},\n\n\tgetAreaSpline: function (panel, plotUI, data) {\n\t\tvar dualYaxis = plotUI['d3']['y1'];\n\n\t\tvar chart = AreaChart(dualYaxis)\n\t\t.labels({\n\t\t\ty0: plotUI['d3']['y0'].label,\n\t\t\ty1: dualYaxis ? plotUI['d3']['y1'].label : ''\n\t\t})\n\t\t.x(function (d) {\n\t\t\tif ((((plotUI || {}).d3 || {}).x || {}).key)\n\t\t\t\treturn this.getXKey(d, plotUI['d3']['x']['key']);\n\t\t\treturn d.data;\n\t\t}.bind(this))\n\t\t.y0(function (d) {\n\t\t\treturn +d[plotUI['d3']['y0']['key']];\n\t\t})\n\t\t.width($(\"#chart-\" + panel).getBoundingClientRect().width)\n\t\t.height(175)\n\t\t.format({\n\t\t\tx: (this.findUIItem(panel, 'data') || {}).dataType || null,\n\t\t\ty0: ((plotUI.d3 || {}).y0 || {}).format,\n\t\t\ty1: ((plotUI.d3 || {}).y1 || {}).format,\n\t\t})\n\t\t.opts(plotUI);\n\n\t\tdualYaxis && chart.y1(function (d) {\n\t\t\treturn +d[plotUI['d3']['y1']['key']];\n\t\t});\n\n\t\treturn chart;\n\t},\n\n\tgetVBar: function (panel, plotUI, data) {\n\t\tvar dualYaxis = plotUI['d3']['y1'];\n\n\t\tvar chart = BarChart(dualYaxis)\n\t\t.labels({\n\t\t\ty0: plotUI['d3']['y0'].label,\n\t\t\ty1: dualYaxis ? plotUI['d3']['y1'].label : ''\n\t\t})\n\t\t.x(function (d) {\n\t\t\tif ((((plotUI || {}).d3 || {}).x || {}).key)\n\t\t\t\treturn this.getXKey(d, plotUI['d3']['x']['key']);\n\t\t\treturn d.data;\n\t\t}.bind(this))\n\t\t.y0(function (d) {\n\t\t\treturn +d[plotUI['d3']['y0']['key']];\n\t\t})\n\t\t.width($(\"#chart-\" + panel).getBoundingClientRect().width)\n\t\t.height(175)\n\t\t.format({\n\t\t\tx: (this.findUIItem(panel, 'data') || {}).dataType || null,\n\t\t\ty0: ((plotUI.d3 || {}).y0 || {}).format,\n\t\t\ty1: ((plotUI.d3 || {}).y1 || {}).format,\n\t\t})\n\t\t.opts(plotUI);\n\n\t\tdualYaxis && chart.y1(function (d) {\n\t\t\treturn +d[plotUI['d3']['y1']['key']];\n\t\t});\n\n\t\treturn chart;\n\t},\n\n\tgetChartType: function (panel) {\n\t\tvar ui = GoAccess.getPanelUI(panel);\n\t\tif (!ui.chart)\n\t\t\treturn '';\n\n\t\treturn GoAccess.Util.getProp(GoAccess.getPrefs(), panel + '.plot.chartType') || ui.plot[0].chartType;\n\t},\n\n\tgetPlotUI: function (panel, ui) {\n\t\tvar metric = GoAccess.Util.getProp(GoAccess.getPrefs(), panel + '.plot.metric');\n\t\tif (!metric)\n\t\t\treturn ui.plot[0];\n\t\treturn ui.plot.filter(function (v) {\n\t\t\treturn v.className == metric;\n\t\t})[0];\n\t},\n\n\tgetChart: function (panel, plotUI, data) {\n\t\tvar chart = null;\n\n\t\t// Render given its type\n\t\tswitch (this.getChartType(panel)) {\n\t\tcase 'area-spline':\n\t\t\tchart = this.getAreaSpline(panel, plotUI, data);\n\t\t\tbreak;\n\t\tcase 'bar':\n\t\t\tchart = this.getVBar(panel, plotUI, data);\n\t\t\tbreak;\n\t\tcase 'wmap':\n\t\tcase 'gmap':\n\t\t\tchart = this.getWMap(panel, plotUI, data, this.getChartType(panel));\n\t\t\tbreak;\n\t\t}\n\n\t\treturn chart;\n\t},\n\n\trenderChart: function (panel, chart, data) {\n\t\t// remove popup\n\t\td3.select('#chart-' + panel + '>.chart-tooltip-wrap')\n\t\t\t.remove();\n\t\t// remove svg\n\t\td3.select('#chart-' + panel).selectAll('svg')\n\t\t\t.remove();\n\t\t// add chart to the document\n\t\td3.select(\"#chart-\" + panel)\n\t\t\t.datum(data)\n\t\t\t.call(chart)\n\t\t\t.append(\"div\").attr(\"class\", \"chart-tooltip-wrap\");\n\t},\n\n\taddChart: function (panel, ui) {\n\t\tvar plotUI = null, chart = null;\n\n\t\t// Ensure it has a plot definition\n\t\tif (!ui.plot || !ui.plot.length)\n\t\t\treturn;\n\n\t\tplotUI = this.getPlotUI(panel, ui);\n\t\t// set ui plot data\n\t\tGoAccess.Util.setProp(GoAccess.AppState, panel + '.plot', plotUI);\n\n\t\t// Grab the data for the selected panel\n\t\tvar data = this.getPanelData(panel);\n\t\tif (!(chart = this.getChart(panel, plotUI, data)))\n\t\t\treturn;\n\n\t\tthis.renderChart(panel, chart, data);\n\t\tGoAccess.AppCharts[panel] = chart;\n\t},\n\n\t// Render all charts for the applicable panels.\n\trenderCharts: function (ui) {\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\t\tcontinue;\n\t\t\tthis.addChart(panel, ui[panel]);\n\t\t}\n\t},\n\n\tresetChart: function (panel) {\n\t\tvar ui = {};\n\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\treturn false;\n\n\t\tui = GoAccess.getPanelUI(panel);\n\t\tthis.addChart(panel, ui);\n\t},\n\n\t// Reload (doesn't redraw) the given chart's data\n\treloadChart: function (chart, panel) {\n\t\td3.select(\"#chart-\" + panel)\n\t\t\t.datum(this.getPanelData(panel))\n\t\t\t.call(chart.width($(\"#chart-\" + panel).offsetWidth))\n\t\t\t.append(\"div\").attr(\"class\", \"chart-tooltip-wrap\");\n\t},\n\n\t// Reload (doesn't redraw) all chart's data\n\treloadCharts: function () {\n\t\tthis.iter(function (chart, panel) {\n\t\t\tthis.reloadChart(chart, panel);\n\t\t}.bind(this));\n\t\tGoAccess.AppState.updated = false;\n\t},\n\n\t// Only redraw charts with current data\n\tredrawCharts: function () {\n\t\tthis.iter(function (chart, panel) {\n\t\t\td3.select(\"#chart-\" + panel).call(chart.width($(\"#chart-\" + panel).offsetWidth));\n\t\t});\n\t},\n\n\tinitialize: function () {\n\t\tthis.renderCharts(GoAccess.getPanelUI());\n\n\t\t// reload on scroll & redraw on resize\n\t\td3.select(window).on('scroll.charts', debounce(function () {\n\t\t\tthis.reloadCharts();\n\t\t}, 250, false).bind(this)).on('resize.charts', function () {\n\t\t\tthis.redrawCharts();\n\t\t}.bind(this));\n\t}\n};\n\n// RENDER TABLES\nGoAccess.Tables = {\n\tchartData: {}, // holds all panel sub items data that feeds the chart\n\n\tevents: function () {\n\t\t$$('.panel-next', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tvar panel = e.currentTarget.getAttribute('data-panel');\n\t\t\t\tthis.renderTable(panel, this.nextPage(panel));\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.panel-prev', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tvar panel = e.currentTarget.getAttribute('data-panel');\n\t\t\t\tthis.renderTable(panel, this.prevPage(panel));\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.panel-first', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tvar panel = e.currentTarget.getAttribute('data-panel');\n\t\t\t\tthis.renderTable(panel, \"FIRST_PAGE\");\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.panel-last', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tvar panel = e.currentTarget.getAttribute('data-panel');\n\t\t\t\tthis.renderTable(panel, \"LAST_PAGE\");\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.expandable>td', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tif (!window.getSelection().toString())\n\t\t\t\t\tthis.toggleRow(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.row-expandable.clickable', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.toggleRow(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\n\t\t$$('.sortable', function (item) {\n\t\t\titem.onclick = function (e) {\n\t\t\t\tthis.sortColumn(e.currentTarget);\n\t\t\t}.bind(this);\n\t\t}.bind(this));\n\t},\n\n\ttoggleColumn: function (targ) {\n\t\tvar panel = targ.getAttribute('data-panel');\n\t\tvar metric = targ.getAttribute('data-metric');\n\n\t\tvar columns = (GoAccess.getPrefs(panel) || {}).columns || {};\n\t\tif (metric in columns) {\n\t\t\tdelete columns[metric];\n\t\t} else {\n\t\t\tGoAccess.Util.setProp(columns, metric + '.hide', true);\n\t\t}\n\n\t\tGoAccess.Util.setProp(GoAccess.AppPrefs, panel + '.columns', columns);\n\t\tGoAccess.setPrefs();\n\n\t\tGoAccess.Tables.renderThead(panel, GoAccess.getPanelUI(panel));\n\t\tGoAccess.Tables.renderFullTable(panel);\n\t},\n\n\tsortColumn: function (ele) {\n\t\tvar field = ele.getAttribute('data-key');\n\t\tvar order = ele.getAttribute('data-order');\n\t\tvar panel = ele.parentElement.parentElement.parentElement.getAttribute('data-panel');\n\n\t\torder = order ? 'asc' == order ? 'desc' : 'asc' : 'asc';\n\t\tGoAccess.App.sortData(panel, field, order);\n\t\tGoAccess.Util.setProp(GoAccess.AppState, panel + '.sort', {\n\t\t\t'field': field,\n\t\t\t'order': order,\n\t\t});\n\t\tthis.renderThead(panel, GoAccess.getPanelUI(panel));\n\t\tthis.renderTable(panel, this.getCurPage(panel));\n\n\t\tGoAccess.Charts.reloadChart(GoAccess.AppCharts[panel], panel);\n\t},\n\n\tgetDataByKey: function (panel, key) {\n\t\tvar data = GoAccess.getPanelData(panel).data;\n\t\tfor (var i = 0, n = data.length; i < n; ++i) {\n\t\t\tif (GoAccess.Util.hashCode(data[i].data) == key)\n\t\t\t\treturn data[i];\n\t\t}\n\t\treturn null;\n\t},\n\n\tgetSubItemsData: function (panel) {\n\t\tconst expanded = GoAccess.Util.getProp(GoAccess.AppState, panel + '.expanded') || {};\n\t\tconst fullData = (GoAccess.getPanelData(panel) || {}).data || [];\n\n\t\tlet results = [];\n\n\t\tfullData.forEach(function (continent) {\n\t\t\tconst continentKey = GoAccess.Util.hashCode(continent.data);\n\t\t\tif (!expanded[continentKey]) return;\n\t\t\tif (!continent.items) return;\n\n\t\t\tcontinent.items.forEach(function (country) {\n\t\t\t\tconst countryKey = GoAccess.Util.hashCode(country.data);\n\n\t\t\t\tif (expanded[countryKey] && country.items) {\n\t\t\t\t\t// expanded country -> show e.g., its cities\n\t\t\t\t\tresults = results.concat(country.items);\n\t\t\t\t} else {\n\t\t\t\t\t// not expanded -> show e.g., country\n\t\t\t\t\tresults.push(country);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\treturn results;\n\t},\n\n\taddChartData: function (panel, keyPath) {\n\t\tif (!keyPath) return GoAccess.getPanelData(panel).data;\n\n\t\tconst parts = keyPath.split('|');\n\t\tlet current = GoAccess.getPanelData(panel).data;\n\n\t\t// Traverse the tree to the target node\n\t\tfor (const part of parts) {\n\t\t\tconst found = current.find(item => GoAccess.Util.hashCode(item.data) === part);\n\t\t\tif (!found || !found.items) return [];\n\t\t\tcurrent = found.items;\n\t\t}\n\n\t\t// Store the current level's items under this exact path\n\t\tGoAccess.Util.setProp(this.chartData, panel + '.' + keyPath, current);\n\n\t\t// For the chart: we return **only the items at the current drill level**\n\t\t// (not all sub-items flattened - that was the old behavior)\n\t\treturn current;\n\t},\n\n\tremoveChartData: function (panel, keyPath) {\n\t\t// Remove this specific path\n\t\tconst path = panel + '.' + keyPath;\n\t\tif (GoAccess.Util.getProp(this.chartData, path)) {\n\t\t\t// We don't have deleteProp -> set to null / empty\n\t\t\tGoAccess.Util.setProp(this.chartData, path, null);\n\t\t}\n\n\t\t// Find the deepest remaining expanded path (or fall back to top-level)\n\t\tconst expanded = GoAccess.Util.getProp(GoAccess.AppState, panel + '.expanded') || {};\n\t\tlet deepestPath = '';\n\t\tlet maxDepth = -1;\n\n\t\tfor (const k in expanded) {\n\t\t\tif (expanded[k] !== true) continue;\n\t\t\tconst depth = k.split('|').length;\n\t\t\tif (depth > maxDepth) {\n\t\t\t\tmaxDepth = depth;\n\t\t\t\tdeepestPath = k;\n\t\t\t}\n\t\t}\n\n\t\tif (deepestPath) {\n\t\t\treturn GoAccess.Util.getProp(this.chartData, panel + '.' + deepestPath) || GoAccess.getPanelData(panel).data;\n\t\t}\n\t\treturn GoAccess.getPanelData(panel).data;\n\t},\n\n\tisExpanded: function (panel, key) {\n\t\t// getProp returns undefined if path doesn't exist -> treat as not expanded\n\t\treturn !!GoAccess.Util.getProp(GoAccess.AppState, panel + '.expanded.' + key);\n\t},\n\n\ttoggleExpanded: function (panel, key) {\n\t\tvar path = panel + '.expanded.' + key;\n\t\tvar currentlyExpanded = this.isExpanded(panel, key);\n\n\t\tif (currentlyExpanded) {\n\t\t\t// Instead of delete -> set to false or null\n\t\t\tGoAccess.Util.setProp(GoAccess.AppState, path, false);\n\t\t\t// or: GoAccess.Util.setProp(GoAccess.AppState, path, null);\n\t\t\t// or even remove the property completely if you prefer (see Option 2)\n\t\t} else {\n\t\t\tGoAccess.Util.setProp(GoAccess.AppState, path, true);\n\t\t}\n\n\t\treturn currentlyExpanded; // returns true if it WAS expanded (now collapsed)\n\t},\n\n\t// Toggle children rows\n\ttoggleRow: function (ele) {\n\t\tconst row = ele.closest('tr');\n\t\tif (!row) return;\n\n\t\tconst panel = row.getAttribute('data-panel');\n\t\tlet key = row.getAttribute('data-node-key') || row.getAttribute('data-key');\n\t\tif (!key) return;\n\n\t\t// If this is a nested row, we need to build the full path\n\t\t// For simplicity, we'll assume nodeKey is unique enough for now.\n\t\t// If collisions happen, we can later implement full path building.\n\n\t\tconst wasExpanded = this.toggleExpanded(panel, key);\n\n\t\tthis.renderTable(panel, this.getCurPage(panel));\n\n\t\tconst plotUI = GoAccess.AppCharts[panel]?.opts?.();\n\t\tif (!plotUI || !plotUI.redrawOnExpand) return;\n\n\t\tGoAccess.Charts.reloadChart(GoAccess.AppCharts[panel], panel);\n\t},\n\n\t// Get current panel page\n\tgetCurPage: function (panel) {\n\t\treturn GoAccess.Util.getProp(GoAccess.AppState, panel + '.curPage') || 0;\n\t},\n\n\t// Page offset.\n\t// e.g., Return Value: 11, curPage: 2\n\tpageOffSet: function (panel) {\n\t\treturn ((this.getCurPage(panel) - 1) * GoAccess.getPrefs().perPage);\n\t},\n\n\t// Get total number of pages given the number of items on array\n\tgetTotalPages: function (dataItems) {\n\t\treturn Math.ceil(dataItems.length / GoAccess.getPrefs().perPage);\n\t},\n\n\t// Get a shallow copy of a portion of the given data array and the\n\t// current page.\n\tgetPage: function (panel, dataItems, page) {\n\t\tvar totalPages = this.getTotalPages(dataItems);\n\t\tif (page < 1)\n\t\t\tpage = 1;\n\t\tif (page > totalPages)\n\t\t\tpage = totalPages;\n\n\t\tGoAccess.Util.setProp(GoAccess.AppState, panel + '.curPage', page);\n\t\tvar start = this.pageOffSet(panel);\n\t\tvar end = start + GoAccess.getPrefs().perPage;\n\n\t\treturn dataItems.slice(start, end);\n\t},\n\n\t// Get previous page\n\tprevPage: function (panel) {\n\t\treturn this.getCurPage(panel) - 1;\n\t},\n\n\t// Get next page\n\tnextPage: function (panel) {\n\t\treturn this.getCurPage(panel) + 1;\n\t},\n\n\tgetMetaCell: function (ui, o, key) {\n\t\tvar val =  o && (key in o) && o[key].value ? o[key].value : null;\n\t\tvar perc = o &&  (key in o) && o[key].percent ? o[key].percent : null;\n\n\t\t// use metaType if exist else fallback to dataType\n\t\tvar vtype = ui.metaType || ui.dataType;\n\t\tvar className = ui.className || '';\n\t\tclassName += !['string'].includes(ui.dataType) ? 'text-right' : '';\n\t\treturn {\n\t\t\t'className': className,\n\t\t\t'value'    : val ? GoAccess.Util.fmtValue(val, vtype) : null,\n\t\t\t'percent'  : perc,\n\t\t\t'title'    : ui.meta,\n\t\t\t'label'    : ui.metaLabel || null,\n\t\t};\n\t},\n\n\thideColumn: function (panel, col) {\n\t\tvar columns = (GoAccess.getPrefs(panel) || {}).columns || {};\n\t\treturn ((col in columns) && columns[col]['hide']);\n\t},\n\n\tshowTables: function () {\n\t\treturn ('showTables' in GoAccess.getPrefs()) ? GoAccess.getPrefs().showTables : true;\n\t},\n\n\tautoHideTables: function () {\n\t\treturn ('autoHideTables' in GoAccess.getPrefs()) ? GoAccess.getPrefs().autoHideTables : true;\n\t},\n\n\thasTable: function (ui) {\n\t\tui['table'] = this.showTables();\n\t\tui['autoHideTables'] = this.autoHideTables();\n\t},\n\n\tgetMetaRows: function (panel, ui, key) {\n\t\tvar cells = [], uiItems = ui.items;\n\t\tvar data = GoAccess.getPanelData(panel).metadata;\n\n\t\tfor (var i = 0; i < uiItems.length; ++i) {\n\t\t\tvar item = uiItems[i];\n\t\t\tif (this.hideColumn(panel, item.key))\n\t\t\t\tcontinue;\n\t\t\tcells.push(this.getMetaCell(item, data[item.key], key));\n\t\t}\n\n\t\treturn [{\n\t\t\t'hasSubItems': ui.hasSubItems,\n\t\t\t'cells': cells,\n\t\t\t'key' : key.substring(0, 3),\n\t\t}];\n\t},\n\n\trenderMetaRow: function (panel, metarows, className) {\n\t\t// find the table to set\n\t\tvar table = $('.table-' + panel + ' tr.' + className);\n\t\tif (!table)\n\t\t\treturn;\n\n\t\ttable.innerHTML = GoAccess.AppTpls.Tables.meta.render({\n\t\t\trow: metarows\n\t\t});\n\t},\n\n\t// Iterate over user interface definition properties\n\titerUIItems: function (panel, uiItems, dataItems, callback) {\n\t\tvar out = [];\n\t\tfor (var i = 0; i < uiItems.length; ++i) {\n\t\t\tvar uiItem = uiItems[i];\n\t\t\tif (this.hideColumn(panel, uiItem.key))\n\t\t\t\tcontinue;\n\t\t\t// Data for the current user interface property.\n\t\t\t// e.g., dataItem = Object {count: 13949, percent: 5.63}\n\t\t\tvar dataItem = dataItems[uiItem.key];\n\t\t\t// Apply the callback and push return data to output array\n\t\t\tif (callback && typeof callback == 'function') {\n\t\t\t\tvar ret = callback.call(this, panel, uiItem, dataItem);\n\t\t\t\tif (ret) out.push(ret);\n\t\t\t}\n\t\t}\n\t\treturn out;\n\t},\n\n\t// Return an object that can be consumed by the table template given a user\n\t// interface definition and a cell value object.\n\t// e.g., value = Object {count: 14351, percent: 5.79}\n\tgetObjectCell: function (panel, ui, value) {\n\t\tvar className = ui.className || '';\n\t\tclassName += !['string'].includes(ui.dataType) ? 'text-right' : '';\n\t\treturn {\n\t\t\t'className': className,\n\t\t\t'percent': GoAccess.Util.getPercent(value),\n\t\t\t'value': GoAccess.Util.fmtValue(GoAccess.Util.getCount(value), ui.dataType, null, null, ui.hlregex, ui.hlvalue, ui.hlidx)\n\t\t};\n\t},\n\n\t// Given a data item object, set all the row cells and return a\n\t// table row that the template can consume.\n\trenderRow: function (panel, callback, ui, dataItem, idx, subItem, parentId, expanded, level) {\n\t\tvar shade = ((!subItem && idx % 2 !== 0) ? 'shaded' : '') ||\n\t\t\t\t\t(subItem && (parentId % 2 !== 0) ? 'shaded' : '');\n\n\t\tvar hasChildren = !!(dataItem.items && dataItem.items.length > 0);\n\n\t\treturn {\n\t\t\t'panel'       : panel,\n\t\t\t'idx'         : !subItem ? String((idx + 1) + this.pageOffSet(panel)) : '',\n\t\t\t'key'         : !subItem ? GoAccess.Util.hashCode(dataItem.data) : '',\n\t\t\t'nodeKey'     : GoAccess.Util.hashCode(dataItem.data || dataItem),\n\t\t\t'level'       : level || 0,\n\t\t\t'expanded'    : !!expanded,               // must be boolean\n\t\t\t'parentId'    : subItem ? String(parentId) : '',\n\t\t\t'className'   : (subItem ? 'child' : 'parent') + shade,\n\t\t\t'hasSubItems' : hasChildren,              // true if has children\n\t\t\t'items'       : hasChildren ? dataItem.items.length : 0,\n\t\t\t'cells'       : callback.call(this),\n\t\t};\n\t},\n\n\trenderRows: function(rows, panel, ui, dataItems, subItem, parentId, level = 0) {\n\t\tsubItem = subItem || false;\n\t\tlevel = level || 0; /* no data rows */\n\t\tif (dataItems.length === 0 && ui.items.length) {\n\t\t\trows.push({\n\t\t\t\tcells: [{\n\t\t\t\t\tclassName: 'text-center',\n\t\t\t\t\tcolspan: ui.items.length + 1,\n\t\t\t\t\tvalue: 'No data on this panel.'\n\t\t\t\t}]\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tfor (var i = 0; i < dataItems.length; ++i) {\n\t\t\tvar dataItem = dataItems[i];\n\t\t\tvar data = dataItem.data || dataItem;\n\t\t\tvar isString = typeof dataItem === 'string';\n\t\t\tvar cellcb;\n\t\t\tif (isString) {\n\t\t\t\tcellcb = function() {\n\t\t\t\t\treturn {\n\t\t\t\t\t\t'colspan': ui.items.length,\n\t\t\t\t\t\t'value': data\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tcellcb = this.iterUIItems.bind(this, panel, ui.items, dataItem, this.getObjectCell.bind(this));\n\t\t\t}\n\t\t\t/* Unique key for this node (important for nested expansion state) */\n\t\t\tvar nodeKey = !isString ? GoAccess.Util.hashCode(data) : null;\n\t\t\tvar expanded = nodeKey && this.isExpanded(panel, nodeKey); /* Build row with indentation level */\n\t\t\tvar row = this.renderRow(panel, cellcb, ui, dataItem, i, subItem, parentId, expanded); /* Add level for CSS indentation */\n\t\t\trow.level = level;\n\t\t\trow.nodeKey = nodeKey; /* for future use in events */\n\t\t\trow.isLeaf = !(dataItem.items && dataItem.items.length > 0);\n\t\t\trow.showPlaceholder = ui.hasSubItems && !row.hasSubItems;\n\t\t\trows.push(row); /* Recurse into children if expanded */\n\t\t\tif (!isString && dataItem.items && dataItem.items.length && expanded) {\n\t\t\t\tthis.renderRows(rows, panel, ui, dataItem.items, true, /* is sub-item */ i, /* parent index (or could use nodeKey) */ level + 1);\n\t\t\t}\n\t\t}\n\t},\n\n\t// Entry point to render all data rows into the table\n\trenderDataRows: function (panel, ui, dataItems, page) {\n\t\t// find the table to set\n\t\tvar table = $('.table-' + panel + ' tbody.tbody-data');\n\t\tif (!table)\n\t\t\treturn;\n\n\t\tdataItems = this.getPage(panel, dataItems, page);\n\t\tvar rows = [];\n\t\tthis.renderRows(rows, panel, ui, dataItems);\n\t\tif (rows.length == 0)\n\t\t\treturn;\n\n\t\ttable.innerHTML = GoAccess.AppTpls.Tables.data.render({\n\t\t\trows: rows\n\t\t});\n\t},\n\n\ttogglePagination: function (panel, page, dataItems) {\n\t\tGoAccess.Panels.enablePagination(panel);\n\t\t// Disable pagination next button if last page is reached\n\t\tif (page >= this.getTotalPages(dataItems)) {\n\t\t\tGoAccess.Panels.disableNext(panel);\n\t\t\tGoAccess.Panels.disableLast(panel);\n\t\t}\n\t\tif (page <= 1) {\n\t\t\tGoAccess.Panels.disablePrev(panel);\n\t\t\tGoAccess.Panels.disableFirst(panel);\n\t\t}\n\t},\n\n\trenderTable: function (panel, page) {\n\t\tvar dataItems = GoAccess.getPanelData(panel).data;\n\t\tvar ui = GoAccess.getPanelUI(panel);\n\n\t\tif (page === \"LAST_PAGE\") {\n\t\t\tpage = this.getTotalPages(dataItems);\n\t\t} else if (page === \"FIRST_PAGE\") {\n\t\t\tpage = 1;\n\t\t}\n\n\t\tthis.togglePagination(panel, page, dataItems);\n\t\t// Render data rows\n\t\tthis.renderDataRows(panel, ui, dataItems, page);\n\t\tthis.events();\n\t},\n\n\trenderFullTable: function (panel) {\n\t\tvar ui = GoAccess.getPanelUI(panel), page = 0;\n\t\t// panel's data\n\t\tvar data = GoAccess.getPanelData(panel);\n\n\t\t// render meta data\n\t\tif (data.hasOwnProperty('metadata')) {\n\t\t\tthis.renderMetaRow(panel, this.getMetaRows(panel, ui, 'min'), 'thead-min');\n\t\t\tthis.renderMetaRow(panel, this.getMetaRows(panel, ui, 'max'), 'thead-max');\n\t\t\tthis.renderMetaRow(panel, this.getMetaRows(panel, ui, 'avg'), 'thead-avg');\n\t\t}\n\n\t\t// render actual data\n\t\tif (data.hasOwnProperty('data')) {\n\t\t\tpage = this.getCurPage(panel);\n\t\t\tthis.togglePagination(panel, page, data.data);\n\t\t\tthis.renderDataRows(panel, ui, data.data, page);\n\t\t}\n\n\t\t// render meta data\n\t\tif (data.hasOwnProperty('metadata')) {\n\t\t\tthis.renderMetaRow(panel, this.getMetaRows(panel, ui, 'total'), 'tfoot-totals');\n\t\t}\n\t},\n\n\t// Iterate over all panels and determine which ones should contain\n\t// a data table.\n\trenderTables: function (force) {\n\t\tvar ui = GoAccess.getPanelUI();\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel) || !this.showTables())\n\t\t\t\tcontinue;\n\t\t\tif (force || GoAccess.Util.isWithinViewPort($('#panel-' + panel)))\n\t\t\t\tthis.renderFullTable(panel);\n\t\t}\n\t},\n\n\t// Given a UI panel definition, make a copy of it and assign the sort\n\t// fields to the template object to render\n\tsort2Tpl: function (panel, ui) {\n\t\tvar uiClone = JSON.parse(JSON.stringify(ui)), out = [];\n\t\tvar sort = GoAccess.Util.getProp(GoAccess.AppState, panel + '.sort');\n\n\t\tfor (var i = 0, len = uiClone.items.length; i < len; ++i) {\n\t\t\tvar item = uiClone.items[i];\n\t\t\tif (this.hideColumn(panel, item.key))\n\t\t\t\tcontinue;\n\n\t\t\titem['sort'] = false;\n\t\t\tif (item.key == sort.field && sort.order) {\n\t\t\t\titem['sort'] = true;\n\t\t\t\titem[sort.order.toLowerCase()] = true;\n\t\t\t}\n\t\t\tout.push(item);\n\t\t}\n\t\tuiClone.items = out;\n\n\t\treturn uiClone;\n\t},\n\n\trenderThead: function (panel, ui) {\n\t\tvar $thead = $('.table-' + panel + '>thead>tr.thead-cols'),\n\t\t\t$colgroup = $('.table-' + panel + '>colgroup');\n\n\t\tif ($thead && $colgroup && this.showTables()) {\n\t\t\tui = this.sort2Tpl(panel, ui);\n\n\t\t\t$thead.innerHTML = GoAccess.AppTpls.Tables.head.render(ui);\n\t\t\t$colgroup.innerHTML = GoAccess.AppTpls.Tables.colgroup.render(ui);\n\t\t}\n\t},\n\n\treloadTables: function () {\n\t\tthis.renderTables(false);\n\t\tthis.events();\n\t},\n\n\tinitialize: function () {\n\t\tthis.renderTables(true);\n\t\tthis.events();\n\n\t\t// redraw on scroll\n\t\td3.select(window).on('scroll.tables', debounce(function () {\n\t\t\tthis.reloadTables();\n\t\t}, 250, false).bind(this));\n\t},\n};\n\n// Main App\nGoAccess.App = {\n\thasFocus: true,\n\n\ttpl: function (tpl) {\n\t\treturn Hogan.compile(tpl);\n\t},\n\n\tsetTpls: function () {\n\t\tGoAccess.AppTpls = {\n\t\t\t'Nav': {\n\t\t\t\t'wrap': this.tpl($('#tpl-nav-wrap').innerHTML),\n\t\t\t\t'menu': this.tpl($('#tpl-nav-menu').innerHTML),\n\t\t\t\t'opts': this.tpl($('#tpl-nav-opts').innerHTML),\n\t\t\t},\n\t\t\t'Panels': {\n\t\t\t\t'wrap': this.tpl($('#tpl-panel').innerHTML),\n\t\t\t\t'opts': this.tpl($('#tpl-panel-opts').innerHTML),\n\t\t\t},\n\t\t\t'General': {\n\t\t\t\t'wrap': this.tpl($('#tpl-general').innerHTML),\n\t\t\t\t'items': this.tpl($('#tpl-general-items').innerHTML),\n\t\t\t},\n\t\t\t'Tables': {\n\t\t\t\t'colgroup': this.tpl($('#tpl-table-colgroup').innerHTML),\n\t\t\t\t'head': this.tpl($('#tpl-table-thead').innerHTML),\n\t\t\t\t'meta': this.tpl($('#tpl-table-row-meta').innerHTML),\n\t\t\t\t'totals': this.tpl($('#tpl-table-row-totals').innerHTML),\n\t\t\t\t'data': this.tpl($('#tpl-table-row').innerHTML),\n\t\t\t},\n\t\t};\n\t},\n\n\tsortField: function (o, field) {\n\t   var f = o[field];\n\t   if (GoAccess.Util.isObject(f) && (f !== null))\n\t\t   f = o[field].count;\n\t\treturn f;\n\t},\n\n\tsortData: function (panel, field, order) {\n\t\t// panel's data\n\t\tvar panelData = GoAccess.getPanelData(panel).data;\n\n\t\t// Function to sort an array of objects\n\t\tvar sortArray = function(arr) {\n\t\t\tarr.sort(function (a, b) {\n\t\t\t\ta = this.sortField(a, field);\n\t\t\t\tb = this.sortField(b, field);\n\n\t\t\t\tif (typeof a === 'string' && typeof b === 'string')\n\t\t\t\t\treturn 'asc' == order ? a.localeCompare(b) : b.localeCompare(a);\n\t\t\t\treturn  'asc' == order ? a - b : b - a;\n\t\t\t}.bind(this));\n\t\t}.bind(this);\n\n\t\t// Sort panelData\n\t\tsortArray(panelData);\n\n\t\t// Sort the items sub-array\n\t\tpanelData.forEach(function(item) {\n\t\t\tif (item.items) {\n\t\t\t\tsortArray(item.items);\n\t\t\t}\n\t\t});\n\t},\n\n\tsetInitSort: function () {\n\t\tvar ui = GoAccess.getPanelUI();\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel))\n\t\t\t\tcontinue;\n\t\t\tGoAccess.Util.setProp(GoAccess.AppState, panel + '.sort', ui[panel].sort);\n\t\t}\n\t},\n\n\t// Verify if we need to sort panels upon data re-entry\n\tverifySort: function () {\n\t\tvar ui = GoAccess.getPanelUI();\n\t\tfor (var panel in ui) {\n\t\t\tif (GoAccess.Util.isPanelValid(panel) || GoAccess.Util.isPanelHidden(panel))\n\t\t\t\tcontinue;\n\t\t\tvar sort = GoAccess.Util.getProp(GoAccess.AppState, panel + '.sort');\n\t\t\t// do not sort panels if they still hold the same sort properties\n\t\t\tif (JSON.stringify(sort) === JSON.stringify(ui[panel].sort))\n\t\t\t\tcontinue;\n\t\t\tthis.sortData(panel, sort.field, sort.order);\n\t\t}\n\t},\n\n\tinitDom: function () {\n\t\t$('nav').classList.remove('hide');\n\t\t$('.container').classList.remove('hide');\n\t\t$('.spinner').classList.add('hide');\n\t\t$('.app-loading-status > small').style.display = 'none';\n\n\t\tif (GoAccess.AppPrefs['layout'] == 'horizontal' || GoAccess.AppPrefs['layout'] == 'wide') {\n\t\t\t$('.container').classList.add('container-fluid');\n\t\t\t$('.container-fluid').classList.remove('container');\n\t\t}\n\t},\n\n\trenderData: function () {\n\t\t// update data and charts if tab/document has focus\n\t\tif (!this.hasFocus)\n\t\t\treturn;\n\n\t\t// some panels may not have been properly rendered since no data was\n\t\t// passed when bootstrapping the report, thus we do a one full\n\t\t// re-render of all panels\n\t\tif (GoAccess.OverallStats.total_requests == 0 && GoAccess.OverallStats.total_requests != GoAccess.AppData.general.total_requests)\n\t\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.OverallStats.total_requests = GoAccess.AppData.general.total_requests;\n\n\t\tthis.verifySort();\n\t\tGoAccess.OverallStats.initialize();\n\n\t\t// do not rerender tables/charts if data hasn't changed\n\t\tif (!GoAccess.AppState.updated)\n\t\t\treturn;\n\n\t\tGoAccess.Charts.reloadCharts();\n\t\tGoAccess.Tables.reloadTables();\n\t},\n\n\trenderPanels: function () {\n\t\tGoAccess.Nav.initialize();\n\t\tGoAccess.OverallStats.initialize();\n\t\tGoAccess.Panels.initialize();\n\t\tGoAccess.Charts.initialize();\n\t\tGoAccess.Tables.initialize();\n\t},\n\n\tinitialize: function () {\n\t\tthis.setInitSort();\n\t\tthis.setTpls();\n\t\tthis.initDom();\n\t\tthis.renderPanels();\n\t},\n};\n\n// Adds the visibilitychange EventListener\ndocument.addEventListener('visibilitychange', function () {\n\t// fires when user switches tabs, apps, etc.\n\tif (document.visibilityState === 'hidden')\n\t\tGoAccess.App.hasFocus = false;\n\n\t// fires when app transitions from hidden or user returns to the app/tab.\n\tif (document.visibilityState === 'visible' && GoAccess.isAppInitialized) {\n\t\tvar hasFocus = GoAccess.App.hasFocus;\n\t\tGoAccess.App.hasFocus = true;\n\t\thasFocus || GoAccess.App.renderData();\n\t}\n});\n\n// Init app\nwindow.onload = function () {\n\tGoAccess.initialize({\n\t\t'i18n': window.json_i18n,\n\t\t'uiData': window.user_interface,\n\t\t'panelData': window.json_data,\n\t\t'wsConnection': window.connection || null,\n\t\t'prefs': window.html_prefs || {},\n\t});\n};\n}());\n"
  },
  {
    "path": "resources/js/charts.js",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2018 Gerardo Orellana <hello @ goaccess.io>\n */\n\n'use strict';\n\n// This is faster than calculating the exact length of each label.\n// e.g., getComputedTextLength(), slice()...\nfunction truncate(text, width) {\n\ttext.each(function () {\n\t\tvar parent = this.parentNode, $d3parent = d3.select(parent);\n\t\tvar gw = $d3parent.node().getBBox();\n\t\tvar x = (Math.min(gw.width, width) / 2) * -1;\n\t\t// adjust wrapper <svg> width\n\t\tif ('svg' == parent.nodeName) {\n\t\t\t$d3parent.attr('width', width).attr('x', x);\n\t\t}\n\t\t// wrap <text> within an svg\n\t\telse {\n\t\t\t$d3parent.insert('svg', function () {\n\t\t\t\treturn this;\n\t\t\t}.bind(this))\n\t\t\t.attr('class', 'wrap-text')\n\t\t\t.attr('width', width)\n\t\t\t.attr('x', x)\n\t\t\t.append(function () {\n\t\t\t\treturn this;\n\t\t\t}.bind(this));\n\t\t}\n\t});\n}\n\nfunction WorldMap(selection) {\n\tconst maxLat = 84;\n\tlet path = null;\n\tlet projection = null;\n\tlet tlast = [0, 0];\n\tlet slast = null;\n\tlet opts = {};\n\tlet metric = 'hits';\n\tlet margin = {\n\t\ttop: 20,\n\t\tright: 50,\n\t\tbottom: 40,\n\t\tleft: 50\n\t};\n\tlet width = 760;\n\tlet height = 170;\n\t// default value; will be set externally\n\tlet projectionType = 'mercator';\n\tlet initialScale;\n\tlet panelName = null;\n\tlet cityIndex = null;\n\tlet citySizeScale = null;\n\n\tfunction innerW() {\n\t\treturn width - margin.left - margin.right;\n\t}\n\n\tfunction innerH() {\n\t\treturn height - margin.top - margin.bottom;\n\t}\n\n\tfunction buildCityIndex() {\n\t\tif (cityIndex) return;\n\t\tvar cityData = window.cities10m;\n\t\tif (!cityData) return;\n\t\tcityIndex = {};\n\t\tvar features = topojson.feature(cityData, cityData.objects.cities).features;\n\t\tfeatures.forEach(function(f) {\n\t\t\tvar p = f.properties;\n\t\t\tvar iso = (p.ISO_A2 || '').toUpperCase();\n\t\t\tvar asciiKey = iso + '|' + (p.NAMEASCII || '').toLowerCase().trim();\n\t\t\tcityIndex[asciiKey] = f;\n\t\t\tvar nameKey = iso + '|' + (p.NAME || '').toLowerCase().trim();\n\t\t\tif (nameKey !== asciiKey)\n\t\t\t\tcityIndex[nameKey] = f;\n\t\t});\n\t}\n\n\tfunction collectCities(country, code) {\n\t\tvar out = [];\n\t\tif (!country.items) return out;\n\t\tcountry.items.forEach(function(city) {\n\t\t\tout.push({\n\t\t\t\tdata: city.data,\n\t\t\t\tcountryCode: code,\n\t\t\t\thits: city.hits.count,\n\t\t\t\tvisitors: city.visitors.count,\n\t\t\t\tbytes: city.bytes.count\n\t\t\t});\n\t\t});\n\t\treturn out;\n\t}\n\n\tfunction isCityVisible(coords) {\n\t\tif (projectionType !== 'orthographic') return true;\n\t\tvar rotate = projection.rotate();\n\t\tvar center = [-rotate[0], -rotate[1]];\n\t\treturn d3.geoDistance(coords, center) < Math.PI / 2;\n\t}\n\n\tfunction getMapRenderState() {\n\t\tif (!panelName) return null;\n\n\t\tvar fullData = (GoAccess.getPanelData(panelName) || {}).data || [];\n\t\tvar expanded = GoAccess.Util.getProp(GoAccess.AppState, panelName + '.expanded') || {};\n\n\t\tvar allCountries = [];\n\t\tvar highlightCodes = new Set();\n\t\tvar expandedCountryCodes = new Set();\n\t\tvar cities = [];\n\n\t\tvar expandedContinents = new Set();\n\n\t\t// pass 1: detect expanded continents and collect countries\n\t\tfullData.forEach(function(continent) {\n\t\t\tif (!continent.items) return;\n\n\t\t\tvar continentKey = GoAccess.Util.hashCode(continent.data);\n\t\t\tif (expanded[continentKey]) {\n\t\t\t\texpandedContinents.add(continentKey);\n\t\t\t}\n\n\t\t\tcontinent.items.forEach(function(country) {\n\t\t\t\tvar code = country.data.split(' ')[0];\n\t\t\t\tallCountries.push({\n\t\t\t\t\tdata: country.data,\n\t\t\t\t\thits: country.hits.count,\n\t\t\t\t\tvisitors: country.visitors.count,\n\t\t\t\t\tbytes: country.bytes.count,\n\t\t\t\t\tregion: continent.data\n\t\t\t\t});\n\t\t\t});\n\t\t});\n\n\t\tvar hasExpandedContinent = expandedContinents.size > 0;\n\n\t\t// pass 2: resolve each continent independently\n\t\tfullData.forEach(function(continent) {\n\t\t\tif (!continent.items) return;\n\n\t\t\tvar continentKey = GoAccess.Util.hashCode(continent.data);\n\t\t\tvar isContinentExpanded = expandedContinents.has(continentKey);\n\n\t\t\t// if nothing expanded, treat all continents as expanded\n\t\t\tif (!hasExpandedContinent) {\n\t\t\t\tisContinentExpanded = true;\n\t\t\t}\n\n\t\t\tif (!isContinentExpanded) return;\n\n\t\t\t// detect expanded countries inside this continent\n\t\t\tvar localExpandedCountries = new Set();\n\n\t\t\tcontinent.items.forEach(function(country) {\n\t\t\t\tvar code = country.data.split(' ')[0];\n\t\t\t\tvar countryKey = GoAccess.Util.hashCode(country.data);\n\t\t\t\tif (expanded[countryKey]) {\n\t\t\t\t\tlocalExpandedCountries.add(code);\n\t\t\t\t\texpandedCountryCodes.add(code);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tvar hasLocalExpanded = localExpandedCountries.size > 0;\n\n\t\t\tcontinent.items.forEach(function(country) {\n\t\t\t\tvar code = country.data.split(' ')[0];\n\n\t\t\t\t// highlight logic\n\t\t\t\tif (hasLocalExpanded) {\n\t\t\t\t\tif (localExpandedCountries.has(code)) {\n\t\t\t\t\t\thighlightCodes.add(code);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\thighlightCodes.add(code);\n\t\t\t\t}\n\n\t\t\t\t// city logic\n\t\t\t\tif (hasLocalExpanded) {\n\t\t\t\t\tif (localExpandedCountries.has(code)) {\n\t\t\t\t\t\tcities = cities.concat(collectCities(country, code));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tcities = cities.concat(collectCities(country, code));\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\t// nothing expanded at all -> show everything\n\t\tif (!hasExpandedContinent) {\n\t\t\thighlightCodes = null;\n\t\t\tcities = [];\n\n\t\t\tfullData.forEach(function(continent) {\n\t\t\t\tif (!continent.items) return;\n\t\t\t\tcontinent.items.forEach(function(country) {\n\t\t\t\t\tvar code = country.data.split(' ')[0];\n\t\t\t\t\tcities = cities.concat(collectCities(country, code));\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\n\t\treturn {\n\t\t\tallCountries: allCountries,\n\t\t\thighlightCodes: highlightCodes,\n\t\t\texpandedCountryCodes: expandedCountryCodes.size\n\t\t\t\t? expandedCountryCodes\n\t\t\t\t: null,\n\t\t\tcities: cities\n\t\t};\n\t}\n\n\tfunction formatTooltip(data) {\n\t\tconst d = {\n\t\t\t...data\n\t\t};\n\t\tlet out = {};\n\t\tout[0] = GoAccess.Util.fmtValue(d['data'], 'str');\n\t\tout[1] = metric === 'bytes' ? GoAccess.Util.fmtValue(d['bytes'], 'bytes') : d3.format(',')(d['hits']);\n\t\tif (metric === 'hits') out[2] = d3.format(',')(d['visitors']);\n\t\tconst template = d3.select('#tpl-chart-tooltip')\n\t\t\t.html();\n\t\treturn Hogan.compile(template)\n\t\t\t.render({\n\t\t\t\t'data': out\n\t\t\t});\n\t}\n\n\tfunction mouseover(event, selection, data) {\n\t\tconst tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.html(formatTooltip(data))\n\t\t\t.style('left', `${d3.pointer(event)[0] + 10}px`)\n\t\t\t.style('top', `${d3.pointer(event)[1] + 10}px`)\n\t\t\t.style('display', 'block');\n\t}\n\n\tfunction mouseout(selection) {\n\t\tconst tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.style('display', 'none');\n\t}\n\n\tfunction drawLegend(selection, colorScale) {\n\t\tconst legendHeight = 10;\n\t\tconst legendPadding = 10;\n\t\tlet svg = selection.select('.legend-svg');\n\t\tif (svg.empty()) {\n\t\t\tsvg = selection.append('svg')\n\t\t\t\t.attr('class', 'legend-svg')\n\t\t\t\t.attr('width', width + margin.left + margin.right)\n\t\t\t\t.attr('height', legendHeight + 2 * legendPadding);\n\t\t}\n\t\tlet legend = svg.select('.legend');\n\t\tif (legend.empty()) {\n\t\t\tlegend = svg.append('g')\n\t\t\t\t.attr('class', 'legend')\n\t\t\t\t.attr('transform', `translate(${margin.left}, ${legendPadding})`);\n\t\t}\n\t\tconst legendData = colorScale.quantiles();\n\t\tconst legendRects = legend.selectAll('rect')\n\t\t\t.data(legendData);\n\t\tlegendRects.enter()\n\t\t\t.append('rect')\n\t\t\t.merge(legendRects)\n\t\t\t.attr('x', (d, i) => (i * (innerW())) / legendData.length)\n\t\t\t.attr('y', 0)\n\t\t\t.attr('width', innerW() / legendData.length)\n\t\t\t.attr('height', legendHeight)\n\t\t\t.style('fill', d => colorScale(d));\n\t\tlegendRects.exit()\n\t\t\t.remove();\n\t\tconst legendTexts = legend.selectAll('text')\n\t\t\t.data(legendData);\n\t\tlegendTexts.enter()\n\t\t\t.append('text')\n\t\t\t.merge(legendTexts)\n\t\t\t.attr('x', (d, i) => (i * (innerW())) / legendData.length)\n\t\t\t.attr('y', legendHeight + legendPadding)\n\t\t\t.style('font-size', '10px')\n\t\t\t.attr('text-anchor', 'middle')\n\t\t\t.text(d => metric === 'bytes' ? GoAccess.Util.fmtValue(d, 'bytes') : d3.format(',')(d));\n\t\tlegendTexts.exit()\n\t\t\t.remove();\n\t}\n\n\tfunction updateSphere(svg, g) {\n\t\tif (projectionType === 'orthographic') {\n\t\t\tlet sphere = g.selectAll('.sphere')\n\t\t\t\t.data([{\n\t\t\t\t\ttype: 'Sphere'\n\t\t\t\t}]);\n\t\t\t// Insert as first child to be behind countries\n\t\t\tlet sphereEnter = sphere.enter()\n\t\t\t\t.insert('path', ':first-child')\n\t\t\t\t.attr('class', 'sphere')\n\t\t\t\t.attr('d', path)\n\t\t\t\t.attr('fill', '#DDEEFF') /* Light blue for ocean */\n\t\t\t\t.attr('opacity', 0);\n\t\t\tsphere = sphereEnter.merge(sphere);\n\t\t\tsphere.transition()\n\t\t\t\t.duration(500)\n\t\t\t\t.attr('opacity', 1);\n\t\t} else {\n\t\t\t// Remove sphere when not in orthographic projection\n\t\t\tg.selectAll('.sphere')\n\t\t\t\t.transition()\n\t\t\t\t.duration(500)\n\t\t\t\t.attr('opacity', 0)\n\t\t\t\t.remove();\n\t\t}\n\t}\n\n\tfunction updateMap(selection, svg, data, countries, countryNameToGeoJson) {\n\t\tbuildCityIndex();\n\n\t\tvar state = getMapRenderState();\n\t\tvar activeData;\n\t\tif (state) {\n\t\t\tactiveData = state.allCountries;\n\t\t} else {\n\t\t\t// Fallback: flatten data the old way when panel is not set\n\t\t\tactiveData = data.reduce(function(acc, region) {\n\t\t\t\tif (!region.items) acc.push(region);\n\t\t\t\telse region.items.forEach(function(item) {\n\t\t\t\t\tacc.push({\n\t\t\t\t\t\tdata: item.data,\n\t\t\t\t\t\thits: item.hits.count !== undefined ? item.hits.count : item.hits,\n\t\t\t\t\t\tvisitors: item.visitors.count !== undefined ? item.visitors.count : item.visitors,\n\t\t\t\t\t\tbytes: item.bytes.count !== undefined ? item.bytes.count : item.bytes,\n\t\t\t\t\t\tregion: region.data\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t\treturn acc;\n\t\t\t}, []);\n\t\t\tstate = { allCountries: activeData, highlightCodes: null, expandedCountryCodes: null, cities: [] };\n\t\t}\n\n\t\tpath = d3.geoPath()\n\t\t\t.projection(projection);\n\n\t\tconst colorScale = d3.scaleQuantile()\n\t\t\t.domain(activeData.map(d => d[metric]))\n\t\t\t.range(['#eafff1', '#a7e3d7', '#6cc5c0', '#44a2b1', '#246e96']);\n\n\t\tif (activeData.length)\n\t\t\tdrawLegend(selection, colorScale);\n\n\t\t// Create a mapping from country code to data\n\t\tconst dataByName = {};\n\t\tactiveData.forEach(d => {\n\t\t\tconst k = d.data.split(' ')[0];\n\t\t\tdataByName[k] = d;\n\t\t});\n\n\t\t// Add graticule (grid lines)\n\t\tif (projectionType !== 'mercator') {\n\t\t\tconst graticule = d3.geoGraticule();\n\t\t\tlet grid = svg.select('g')\n\t\t\t\t.selectAll('.graticule')\n\t\t\t\t.data([graticule()]);\n\t\t\tlet gridEnter = grid.enter()\n\t\t\t\t.append('path')\n\t\t\t\t.attr('class', 'graticule')\n\t\t\t\t.attr('d', path)\n\t\t\t\t.attr('fill', 'none')\n\t\t\t\t.attr('stroke', '#ccc')\n\t\t\t\t.attr('stroke-width', 0.5)\n\t\t\t\t.attr('stroke-dasharray', '3,3')\n\t\t\t\t.attr('opacity', 0);\n\t\t\tgrid = gridEnter.merge(grid);\n\t\t\tgrid.transition()\n\t\t\t\t.duration(500)\n\t\t\t\t.attr('opacity', 0.4);\n\t\t}\n\n\t\tlet country = svg.select('g')\n\t\t\t.selectAll('.country')\n\t\t\t.data(countries);\n\t\tlet countryEnter = country.enter()\n\t\t\t.append('path')\n\t\t\t.attr('class', 'country')\n\t\t\t.attr('d', path)\n\t\t\t.attr('opacity', 0);\n\t\tcountry = countryEnter.merge(country)\n\t\t\t.on('mouseover', function(event, d) {\n\t\t\t\tconst countryData = dataByName[d.id];\n\t\t\t\tif (countryData) mouseover(event, selection, countryData);\n\t\t\t})\n\t\t\t.on('mouseout', function() {\n\t\t\t\tmouseout(selection);\n\t\t\t});\n\t\tcountry.transition()\n\t\t\t.duration(500)\n\t\t\t.style('fill', function(d) {\n\t\t\t\tconst countryData = dataByName[d.id];\n\t\t\t\tif (!countryData) return '#cccccc54';\n\t\t\t\tif (state.highlightCodes) {\n\t\t\t\t\treturn state.highlightCodes.has(d.id)\n\t\t\t\t\t\t? colorScale(countryData[metric])\n\t\t\t\t\t\t: '#cccccc30';\n\t\t\t\t}\n\t\t\t\treturn colorScale(countryData[metric]);\n\t\t\t})\n\t\t\t.attr('opacity', 1);\n\t\tcountry.exit()\n\t\t\t.transition()\n\t\t\t.duration(500)\n\t\t\t.attr('opacity', 0)\n\t\t\t.remove();\n\n\t\t// Update city markers\n\t\tupdateCities(selection, svg, state, colorScale);\n\t}\n\n\tfunction updateCities(selection, svg, state, colorScale) {\n\t\tvar g = svg.select('g');\n\t\tvar cityMarkers = [];\n\n\t\tif (state.cities.length && cityIndex) {\n\t\t\tstate.cities.forEach(function(c) {\n\t\t\t\tvar key = c.countryCode.toUpperCase() + '|' + c.data.toLowerCase().trim();\n\t\t\t\tvar feature = cityIndex[key];\n\t\t\t\tif (feature) {\n\t\t\t\t\tcityMarkers.push({\n\t\t\t\t\t\tfeature: feature,\n\t\t\t\t\t\tdata: c.data,\n\t\t\t\t\t\thits: c.hits,\n\t\t\t\t\t\tvisitors: c.visitors,\n\t\t\t\t\t\tbytes: c.bytes\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\n\t\tvar sizeExtent = d3.extent(cityMarkers, function(d) { return d[metric]; });\n\t\tif (!sizeExtent[0] && !sizeExtent[1]) sizeExtent = [0, 1];\n\t\tvar sizeScale = d3.scaleSqrt()\n\t\t\t.domain(sizeExtent)\n\t\t\t.range([3, 10])\n\t\t\t.clamp(true);\n\t\tvar strokeScale = d3.scaleSqrt()\n\t\t\t.domain(sizeExtent)\n\t\t\t.range([1, 2.5])\n\t\t\t.clamp(true);\n\n\t\tcitySizeScale = sizeScale;\n\n\t\tvar circles = g.selectAll('.city-marker')\n\t\t\t.data(cityMarkers, function(d) { return d.data + '|' + d.feature.properties.ISO_A2; });\n\n\t\tcircles.exit()\n\t\t\t.transition().duration(300)\n\t\t\t.attr('r', 0)\n\t\t\t.remove();\n\n\t\tvar circlesEnter = circles.enter()\n\t\t\t.append('circle')\n\t\t\t.attr('class', 'city-marker')\n\t\t\t.attr('r', 0)\n\t\t\t.style('fill', '#ff6b6b')\n\t\t\t.style('stroke', '#fff')\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.on('mouseover', function(event, d) {\n\t\t\t\tmouseover(event, selection, d);\n\t\t\t})\n\t\t\t.on('mouseout', function() {\n\t\t\t\tmouseout(selection);\n\t\t\t});\n\n\t\tcirclesEnter.merge(circles)\n\t\t\t.transition().duration(500)\n\t\t\t.attr('cx', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return -9999;\n\t\t\t\tvar coords = projection(d.feature.geometry.coordinates);\n\t\t\t\treturn coords ? coords[0] : -9999;\n\t\t\t})\n\t\t\t.attr('cy', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return -9999;\n\t\t\t\tvar coords = projection(d.feature.geometry.coordinates);\n\t\t\t\treturn coords ? coords[1] : -9999;\n\t\t\t})\n\t\t\t.attr('r', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return 0;\n\t\t\t\tvar coords = projection(d.feature.geometry.coordinates);\n\t\t\t\treturn coords ? sizeScale(d[metric]) : 0;\n\t\t\t})\n\t\t\t.style('fill', '#ff6b6b')\n\t\t\t.style('stroke', '#fff')\n\t\t\t.style('stroke-width', function(d) {\n\t\t\t\treturn strokeScale(d[metric]) + 'px';\n\t\t\t});\n\t}\n\n\tfunction setBounds(projection, maxLat) {\n\t\t// Top-left corner of the ~viewable~ lat\n\t\tconst [yaw] = projection.rotate();\n\t\tconst xymax = projection([-yaw + 180 - 1e-6, -maxLat]);\n\t\tconst xymin = projection([-yaw - 180 + 1e-6, maxLat]);\n\t\treturn [xymin, xymax];\n\t}\n\n\tfunction clampVertical(projection, maxLat, height) {\n\t\tconst b = setBounds(projection, maxLat);\n\t\t// top-left\n\t\tconst [xMin, yMin] = b[0];\n\t\t// bottom-right\n\t\tconst [xMax, yMax] = b[1];\n\t\tconst t = projection.translate();\n\t\t// If the top (yMin) is now below 0, shift upward.\n\t\tif (yMin > 0)\n\t\t\tt[1] -= yMin;\n\t\t// If the bottom (yMax) is now above the container height, shift downward.\n\t\telse if (yMax < height)\n\t\t\tt[1] += (height - yMax);\n\t\tprojection.translate(t);\n\t}\n\n\tfunction baseScale() {\n\t\t// If the effective width is small, use a fixed mobile scale; otherwise use the computed scale.\n\t\treturn innerW() < 400 ? 150 : innerW() / (2 * Math.PI);\n\t}\n\n\tfunction setProjection(type) {\n\t\tif (type === 'mercator') {\n\t\t\tconst bScale = baseScale();\n\t\t\tprojection = d3.geoMercator()\n\t\t\t\t.center([0, 15])\n\t\t\t\t.scale(bScale)\n\t\t\t\t.translate([innerW() / 2, height / 1.5]);\n\t\t} else if (type === 'orthographic') {\n\t\t\tconst globeScale = Math.min(innerW(), height) / 1.5;\n\t\t\tprojection = d3.geoOrthographic()\n\t\t\t\t.scale(globeScale)\n\t\t\t\t.translate([innerW() / 2, height / 2])\n\t\t\t\t.rotate([0, 0, 0]);\n\t\t}\n\t\tinitialScale = projection.scale();\n\t\tpath = d3.geoPath().projection(projection);\n\t}\n\n\tfunction zoomed(event, projection, path, scaleExtent, g) {\n\t\tconst scale = event.transform.k;\n\t\tif (projectionType === 'mercator') {\n\t\t\tconst containerCenter = [innerW() / 2, height / 2];\n\t\t\tlet anchor = containerCenter;\n\t\t\tif (Math.abs(scale - slast) > 1e-3) {\n\t\t\t\tconst geoCoord = projection.invert(anchor);\n\t\t\t\t// Use baseScale() here instead of innerW()/(2*Math.PI)\n\t\t\t\tprojection.scale(scale * baseScale());\n\t\t\t\tconst newPixel = projection(geoCoord);\n\t\t\t\tconst dxAnchor = anchor[0] - newPixel[0];\n\t\t\t\tconst dyAnchor = anchor[1] - newPixel[1];\n\t\t\t\tconst t = projection.translate();\n\t\t\t\tprojection.translate([t[0] + dxAnchor, t[1] + dyAnchor]);\n\t\t\t\tclampVertical(projection, maxLat, height);\n\t\t\t} else {\n\t\t\t\tconst newX = event.transform.x;\n\t\t\t\tconst newY = event.transform.y;\n\t\t\t\tconst dx = newX - tlast[0];\n\t\t\t\tconst dy = newY - tlast[1];\n\t\t\t\tlet [longitude] = projection.rotate();\n\t\t\t\tlongitude += 360 * (dx / width) * (scaleExtent[0] / scale);\n\t\t\t\tprojection.rotate([longitude, 0, 0]);\n\t\t\t\tconst t = projection.translate();\n\t\t\t\tt[1] += dy;\n\t\t\t\tprojection.translate(t);\n\t\t\t\tclampVertical(projection, maxLat, height);\n\t\t\t}\n\t\t}\n\t\telse if (projectionType === 'orthographic') {\n\t\t\t// Use the zoom transform's k to compute a new scale,\n\t\t\t// clamping to a maximum factor (here, 2x the initialScale).\n\t\t\tlet newScale = scale * initialScale;\n\t\t\tconst maxOrthoScale = initialScale * 2;\n\t\t\tif (newScale > maxOrthoScale) newScale = maxOrthoScale;\n\t\t\tif (newScale < initialScale) newScale = initialScale;\n\t\t\tprojection.scale(newScale);\n\n\t\t\t// Update rotation using the difference between the current and previous transform values.\n\t\t\tconst dx = event.transform.x - tlast[0];\n\t\t\tconst dy = event.transform.y - tlast[1];\n\t\t\tlet [longitude, latitude] = projection.rotate();\n\n\t\t\t// we could reduce sensitivity for smoother rotation\n\t\t\tconst sensitivity = 0.2;\n\t\t\tlongitude += dx * sensitivity;\n\t\t\tlatitude -= dy * sensitivity;\n\t\t\tlatitude = Math.max(-90, Math.min(90, latitude));\n\t\t\tprojection.rotate([longitude, latitude, 0]);\n\t\t}\n\t\tg.selectAll('path')\n\t\t\t.attr('d', path);\n\t\tg.selectAll('.city-marker')\n\t\t\t.attr('cx', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return -9999;\n\t\t\t\tvar coords = projection(d.feature.geometry.coordinates);\n\t\t\t\treturn coords ? coords[0] : -9999;\n\t\t\t})\n\t\t\t.attr('cy', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return -9999;\n\t\t\t\tvar coords = projection(d.feature.geometry.coordinates);\n\t\t\t\treturn coords ? coords[1] : -9999;\n\t\t\t})\n\t\t\t.attr('r', function(d) {\n\t\t\t\tif (!isCityVisible(d.feature.geometry.coordinates)) return 0;\n\t\t\t\treturn citySizeScale ? citySizeScale(d[metric]) : 0;\n\t\t\t});\n\t\ttlast = [event.transform.x, event.transform.y];\n\t\tslast = scale;\n\t}\n\n\tfunction createSVG(selectionElem) {\n\t\tconst svg = d3.select(selectionElem)\n\t\t\t.append('svg')\n\t\t\t.attr('class', 'map')\n\t\t\t.attr('style', 'display:block; margin:auto;')\n\t\t\t.attr('width', innerW())\n\t\t\t.attr('height', height)\n\t\t\t.lower();\n\t\tconst g = svg.append('g')\n\t\t\t.attr('transform', 'translate(0,0)');\n\n\t\t// Use the externally provided projectionType\n\t\tsetProjection(projectionType);\n\t\t// Compute scale extent based on projection type.\n\t\tlet scaleExtent;\n\t\tif (projectionType === 'mercator') {\n\t\t\t// For cellphones (narrow screens), use a fixed scale and limit zoom-out to the initial state.\n\t\t\tif (innerW() < 400) {\n\t\t\t\t// Here 1 means the initial zoom level (no zoom-out), 6 is arbitrary for max zoom in.\n\t\t\t\tscaleExtent = [1, 6];\n\t\t\t} else {\n\t\t\t\t// Otherwise, calculate the base scale from the bounds.\n\t\t\t\tconst bounds = setBounds(projection, maxLat);\n\t\t\t\tconst s = innerW() / (bounds[1][0] - bounds[0][0]);\n\t\t\t\tscaleExtent = [s, 6 * s];\n\t\t\t}\n\t\t} else if (projectionType === 'orthographic') {\n\t\t\t// For orthographic, let d3.zoom use a relative scale factor.\n\t\t\t// The identity transform (k = 1) corresponds to the initialScale,\n\t\t\t// and we allow zooming from 1x to 2x.\n\t\t\tscaleExtent = [1, 2];\n\t\t}\n\t\tconst zoom = d3.zoom()\n\t\t\t.scaleExtent(scaleExtent)\n\t\t\t.on('zoom', event => {\n\t\t\t\tzoomed(event, projection, path, scaleExtent, g);\n\t\t\t});\n\t\tsvg.call(zoom);\n\t\treturn {\n\t\t\tsvg,\n\t\t\tg\n\t\t};\n\t}\n\n\tfunction chart(selectionData) {\n\t\tselectionData.each(function(data) {\n\t\t\tconst worldData = window.countries110m;\n\t\t\tconst countries = topojson.feature(worldData, worldData.objects.countries)\n\t\t\t\t.features; /* Build a mapping from country names to GeoJSON if needed */\n\t\t\tconst countryNameToGeoJson = {};\n\t\t\tcountries.forEach(country => {\n\t\t\t\tcountryNameToGeoJson[country.properties.name] = country;\n\t\t\t});\n\t\t\tlet svgObj = d3.select(this)\n\t\t\t\t.select('svg.map');\n\t\t\tlet g;\n\t\t\tif (svgObj.empty()) {\n\t\t\t\tconst created = createSVG(this);\n\t\t\t\tsvgObj = created.svg;\n\t\t\t\tg = created.g;\n\t\t\t} else {\n\t\t\t\t/* If the SVG already exists, select its group */\n\t\t\t\tg = svgObj.select('g');\n\t\t\t}\n\t\t\tupdateMap(d3.select(this), svgObj, data, countries, countryNameToGeoJson); /* Update sphere in case the projection is orthographic */\n\t\t\tupdateSphere(svgObj, g);\n\t\t});\n\t}\n\t// Getter-setter for metric\n\tchart.metric = function(_) {\n\t\tif (!arguments.length) return metric;\n\t\tmetric = _;\n\t\treturn chart;\n\t};\n\t// Getter-setter for opts\n\tchart.opts = function(_) {\n\t\tif (!arguments.length) return opts;\n\t\topts = _;\n\t\treturn chart;\n\t};\n\t// Getter-setter for width\n\tchart.width = function(_) {\n\t\tif (!arguments.length) return width;\n\t\twidth = _;\n\t\treturn chart;\n\t};\n\t// Getter-setter for height\n\tchart.height = function(_) {\n\t\tif (!arguments.length) return height;\n\t\theight = _;\n\t\treturn chart;\n\t};\n\t// Getter-setter for projectionType\n\tchart.projectionType = function(_) {\n\t\tif (!arguments.length) return projectionType;\n\t\tprojectionType = _;\n\t\treturn chart;\n\t};\n\t// Getter-setter for panel name\n\tchart.panel = function(_) {\n\t\tif (!arguments.length) return panelName;\n\t\tpanelName = _;\n\t\treturn chart;\n\t};\n\n\treturn chart;\n}\n\nfunction AreaChart(dualYaxis) {\n\tvar opts = {};\n\tvar margin = {\n\t\t\ttop    : 20,\n\t\t\tright  : 50,\n\t\t\tbottom : 40,\n\t\t\tleft   : 50,\n\t\t},\n\t\theight = 170,\n\t\tnTicks = 10,\n\t\tpadding = 10,\n\t\twidth = 760;\n\tvar labels = { x: 'Unnamed', y0: 'Unnamed', y1: 'Unnamed' };\n\tvar format = { x: null, y0: null, y1: null};\n\n\tvar xValue = function (d) {\n\t\t\treturn d[0];\n\t\t},\n\t\tyValue0 = function (d) {\n\t\t\treturn d[1];\n\t\t},\n\t\tyValue1 = function (d) {\n\t\t\treturn d[2];\n\t\t};\n\n\tvar xScale = d3.scaleBand();\n\tvar yScale0 = d3.scaleLinear().nice();\n\tvar yScale1 = d3.scaleLinear().nice();\n\n\tvar xAxis = d3.axisBottom(xScale)\n\t\t.tickFormat(function(d) {\n\t\t\tif (format.x)\n\t\t\t\treturn GoAccess.Util.fmtValue(d, format.x);\n\t\t\treturn d;\n\t\t});\n\n\tvar yAxis0 = d3.axisLeft(yScale0)\n\t\t.tickFormat(function(d) {\n\t\t\treturn d3.format('.2s')(d);\n\t\t});\n\n\tvar yAxis1 = d3.axisRight(yScale1)\n\t\t.tickFormat(function(d) {\n\t\t\tif (format.y1)\n\t\t\t\treturn GoAccess.Util.fmtValue(d, format.y1);\n\t\t\treturn d3.format('.2s')(d);\n\t\t});\n\n\tvar xGrid = d3.axisBottom(xScale);\n\tvar yGrid = d3.axisLeft(yScale0);\n\n\tvar area0 = d3.area()\n\t\t.curve(d3.curveMonotoneX)\n\t\t.x(X)\n\t\t.y0(height)\n\t\t.y1(Y0);\n\n\tvar area1 = d3.area()\n\t\t.curve(d3.curveMonotoneX)\n\t\t.x(X)\n\t\t.y0(Y1)\n\t\t.y1(height);\n\n\tvar line0 = d3.line()\n\t\t.curve(d3.curveMonotoneX)\n\t\t.x(X)\n\t\t.y(Y0);\n\n\tvar line1 = d3.line()\n\t\t.curve(d3.curveMonotoneX)\n\t\t.x(X)\n\t\t.y(Y1);\n\n\t// The x-accessor for the path generator; xScale xValue.\n\tfunction X(d) {\n\t\treturn (xScale(d[0]) + xScale.bandwidth() / 2);\n\t}\n\n\t// The x-accessor for the path generator; yScale0 yValue0.\n\tfunction Y0(d) {\n\t\treturn yScale0(d[1]);\n\t}\n\n\t// The x-accessor for the path generator; yScale0 yValue0.\n\tfunction Y1(d) {\n\t\treturn yScale1(d[2]);\n\t}\n\n\tfunction innerW() {\n\t\treturn width - margin.left - margin.right;\n\t}\n\n\tfunction innerH() {\n\t\treturn height - margin.top - margin.bottom;\n\t}\n\n\tfunction getXTicks(data) {\n\t\tconst domain = xScale.domain();\n\t\tif (data.length < nTicks)\n\t\t\treturn domain;\n\n\t\treturn d3.range(0, nTicks).map(function(i) {\n\t\t\tconst index = Math.floor(i * (domain.length - 1) / (nTicks - 1));\n\t\t\tif (index >= 0 && index < domain.length)\n\t\t\t\treturn domain[index];\n\t\t\treturn null;\n\t\t});\n\t}\n\n\tfunction getYTicks(scale) {\n\t\tvar domain = scale.domain();\n\t\treturn d3.range(domain[0], domain[1], Math.ceil(domain[1] / nTicks));\n\t}\n\n\t// Convert data to standard representation greedily;\n\t// this is needed for nondeterministic accessors.\n\tfunction mapData(data) {\n\t\tvar _datum = function (d, i) {\n\t\t\tvar datum = [xValue.call(data, d, i), yValue0.call(data, d, i)];\n\t\t\tdualYaxis && datum.push(yValue1.call(data, d, i));\n\t\t\treturn datum;\n\t\t};\n\t\treturn data.map(function (d, i) {\n\t\t\treturn _datum(d, i);\n\t\t});\n\t}\n\n\tfunction updateScales(data) {\n\t\t// Update the x-scale.\n\t\txScale.domain(data.map(function (d) {\n\t\t\treturn d[0];\n\t\t}))\n\t\t.range([0, innerW()]);\n\n\t\t// Update the y-scale.\n\t\tyScale0.domain([0, d3.max(data, function (d) {\n\t\t\treturn d[1];\n\t\t})])\n\t\t.range([innerH(), 0]);\n\n\t\t// Update the y-scale.\n\t\tdualYaxis && yScale1.domain([0, d3.max(data, function (d) {\n\t\t\treturn d[2];\n\t\t})])\n\t\t.range([innerH(), 0]);\n\t}\n\n\tfunction toggleOpacity(ele, op) {\n\t\td3.select(ele.parentNode).selectAll('.' + (ele.getAttribute('data-yaxis') == 'y0' ? 'y1' : 'y0')).attr('style', op);\n\t}\n\n\tfunction setLegendLabels(svg) {\n\t\t// Legend Color\n\t\tvar rect = svg.selectAll('rect.legend.y0').data([null]);\n\n\t\tvar rectEnter = rect.enter()\n\t\t\t.append('rect')\n\t\t\t.attr('class', 'legend y0')\n\t\t\t.attr('data-yaxis', 'y0')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 15));\n\n\t\trectEnter.merge(rect)\n\t\t\t.attr('x', (width / 2) - 100);\n\n\t\t// Legend Labels\n\t\tvar text = svg.selectAll('text.legend.y0').data([null]);\n\n\t\tvar textEnter = text.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'legend y0')\n\t\t\t.attr('data-yaxis', 'y0')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 6));\n\n\t\ttextEnter.merge(text)\n\t\t\t.attr('x', (width / 2) - 85)\n\t\t\t.text(labels.y0);\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\t// Legend Labels\n\t\trect = svg.selectAll('rect.legend.y1').data([null]);\n\n\t\tvar rectEnter = rect.enter()\n\t\t\t.append('rect')\n\t\t\t.attr('class', 'legend y1')\n\t\t\t.attr('data-yaxis', 'y1')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 15));\n\n\t\trectEnter.merge(rect)\n\t\t\t.attr('x', (width / 2));\n\n\t\t// Legend Labels\n\t\ttext = svg.selectAll('text.legend.y1').data([null]);\n\n\t\tvar textEnter = text.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'legend y1')\n\t\t\t.attr('data-yaxis', 'y1')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 6));\n\n\t\ttextEnter.merge(text)\n\t\t\t.attr('x', (width / 2) + 15)\n\t\t\t.text(labels.y1);\n\t}\n\n\tfunction setAxisLabels(svg) {\n\t\t// Labels\n\t\tsvg.selectAll('text.axis-label.y0')\n\t\t\t.data([null])\n\t\t\t.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'axis-label y0')\n\t\t\t.attr('y', 10)\n\t\t\t.attr('x', 53)\n\t\t\t.text(labels.y0);\n\n\t\tif (!dualYaxis) return;\n\n\t\t// Labels\n\t\tvar tEnter = svg.selectAll('text.axis-label.y1')\n\t\t\t.data([null])\n\t\t\t.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'axis-label y1')\n\t\t\t.attr('y', 10)\n\t\t\t.text(labels.y1);\n\n\t\tdualYaxis && tEnter.attr('x', width - 25);\n\t}\n\n\tfunction createSkeleton(svg) {\n\t\tconst g = svg.append('g');\n\n\t\t// Lines\n\t\tg.append('g')\n\t\t\t.attr('class', 'line line0 y0');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'line line1 y1');\n\n\t\t// Areas\n\t\tg.append('g')\n\t\t\t.attr('class', 'area area0 y0');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'area area1 y1');\n\n\t\t// Points\n\t\tg.append('g')\n\t\t\t.attr('class', 'points y0');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'points y1');\n\n\t\t// Grid\n\t\tg.append('g')\n\t\t\t.attr('class', 'x grid');\n\t\tg.append('g')\n\t\t\t.attr('class', 'y grid');\n\n\t\t// Axis\n\t\tg.append('g')\n\t\t\t.attr('class', 'x axis');\n\t\tg.append('g')\n\t\t\t.attr('class', 'y0 axis');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'y1 axis');\n\n\t\t// Rects\n\t\tg.append('g')\n\t\t\t.attr('class', 'rects');\n\n\t\tsetAxisLabels(svg);\n\t\tsetLegendLabels(svg);\n\n\t\t// Mouseover line\n\t\tg.append('line')\n\t\t\t.attr('y2', innerH())\n\t\t\t.attr('y1', 0)\n\t\t\t.attr('class', 'indicator');\n\t}\n\n\tfunction pathLen(d) {\n\t\treturn d.node().getTotalLength();\n\t}\n\n\tfunction addLine(g, data, line, cName) {\n\t\t// Update the line path.\n\t\tvar path = g.select('g.' + cName).selectAll('path.' + cName).data([data]);\n\n\t\t// enter\n\t\tvar pathEnter = path.enter()\n\t\t\t.append('svg:path')\n\t\t\t.attr('d', line)\n\t\t\t.attr('class', cName)\n\t\t\t.attr('stroke-dasharray', function(d) {\n\t\t\t\tvar pl = pathLen(d3.select(this));\n\t\t\t\treturn pl + ' ' + pl;\n\t\t\t})\n\t\t\t.attr('stroke-dashoffset', function(d) {\n\t\t\t\treturn pathLen(d3.select(this));\n\t\t\t});\n\n\t\t// update\n\t\tpathEnter.merge(path)\n\t\t\t.attr('d', line)\n\t\t\t.transition()\n\t\t\t.attr('stroke-dasharray', function(d) {\n\t\t\tvar pl = pathLen(d3.select(this));\n\t\t\t\treturn pl + ' ' + pl;\n\t\t\t})\n\t\t\t.duration(2000)\n\t\t\t.attr('stroke-dashoffset', 0);\n\n\t\t// remove elements\n\t\tpath.exit().remove();\n\n\t}\n\n\tfunction addArea(g, data, cb, cName) {\n\t\t// Update the area path.\n\t\tvar area = g.select('g.' + cName).selectAll('path.' + cName)\n\t\t\t.data([data]);\n\n\t\tvar areaEnter = area.enter()\n\t\t\t.append('svg:path')\n\t\t\t.attr('class', cName);\n\n\t\tareaEnter.merge(area)\n\t\t\t.attr('d', cb);\n\n\t\t// remove elements\n\t\tarea.exit().remove();\n\t}\n\n\t// Update the area path and lines.\n\tfunction addAreaLines(g, data) {\n\t\t// Update the area path.\n\t\taddArea(g, data, area0.y0(yScale0.range()[0]), 'area0');\n\t\t// Update the line path.\n\t\taddLine(g, data, line0, 'line0');\n\t\t// Update the area path.\n\t\taddArea(g, data, area1.y1(yScale1.range()[0]), 'area1');\n\t\t// Update the line path.\n\t\taddLine(g, data, line1, 'line1');\n\t}\n\n\t// Update chart points\n\tfunction addPoints(g, data) {\n\t\tvar radius = data.length > 100 ? 1 : 2.5;\n\n\t\tvar points = g.select('g.points.y0').selectAll('circle.point').data(data);\n\n\t\tvar pointsEnter = points.enter()\n\t\t\t.append('svg:circle')\n\t\t\t.attr('r', radius)\n\t\t\t.attr('class', 'point');\n\n\t\tpointsEnter.merge(points)\n\t\t\t.attr('cx', function(d) {\n\t\t\t\treturn (xScale(d[0]) + xScale.bandwidth() / 2);\n\t\t\t})\n\t\t\t.attr('cy', function(d) {\n\t\t\t\treturn yScale0(d[1]);\n\t\t\t});\n\n\t\t// remove elements\n\t\tpoints.exit().remove();\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\tpoints = g.select('g.points.y1').selectAll('circle.point').data(data);\n\n\t\tpointsEnter = points.enter()\n\t\t\t.append('svg:circle')\n\t\t\t.attr('r', radius)\n\t\t\t.attr('class', 'point');\n\n\t\tpointsEnter.merge(points)\n\t\t\t.attr('cx', function(d) {\n\t\t\t\treturn (xScale(d[0]) + xScale.bandwidth() / 2);\n\t\t\t})\n\t\t\t.attr('cy', function(d) {\n\t\t\t\treturn yScale1(d[2]);\n\t\t\t});\n\n\t\t// remove elements\n\t\tpoints.exit().remove();\n\t}\n\n\tfunction addAxis(g, data) {\n\t\tvar xTicks = getXTicks(data);\n\t\tvar tickDistance = xTicks.length > 1 ? (xScale(xTicks[1]) - xScale(xTicks[0])) : innerW();\n\t\tvar labelW = tickDistance - padding;\n\n\t\t// Update the x-axis.\n\t\tg.select('.x.axis')\n\t\t\t.attr('transform', 'translate(0,' + yScale0.range()[0] + ')')\n\t\t\t.call(xAxis.tickValues(xTicks))\n\t\t\t.selectAll(\".tick text\")\n\t\t\t.call(truncate, labelW > 0 ? labelW : innerW());\n\n\t\t// Update the y0-axis.\n\t\tg.select('.y0.axis')\n\t\t\t.call(yAxis0.tickValues(getYTicks(yScale0)));\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\t// Update the y1-axis.\n\t\tg.select('.y1.axis')\n\t\t\t.attr('transform', 'translate(' + innerW() + ', 0)')\n\t\t\t.call(yAxis1.tickValues(getYTicks(yScale1)));\n\t}\n\n\t// Update the X-Y grid.\n\tfunction addGrid(g, data) {\n\t\tg.select('.x.grid')\n\t\t\t.attr('transform', 'translate(0,' + yScale0.range()[0] + ')')\n\t\t\t.call(xGrid\n\t\t\t\t.tickValues(getXTicks(data))\n\t\t\t\t.tickSize(-innerH(), 0, 0)\n\t\t\t\t.tickSizeOuter(0)\n\t\t\t\t.tickFormat('')\n\t\t\t);\n\n\t\tg.select('.y.grid')\n\t\t\t.call(yGrid\n\t\t\t\t.tickValues(getYTicks(yScale0))\n\t\t\t\t.tickSize(-innerW(), 0)\n\t\t\t\t.tickSizeOuter(0)\n\t\t\t\t.tickFormat('')\n\t\t\t);\n\t}\n\n\tfunction formatTooltip(data) {\n\t\tvar d = data.slice(0);\n\n\t\td[0] = (format.x) ? GoAccess.Util.fmtValue(d[0], format.x) : d[0];\n\t\td[1] = (format.y0) ? GoAccess.Util.fmtValue(d[1], format.y0) : d3.format(',')(d[1]);\n\t\tdualYaxis && (d[2] = (format.y1) ? GoAccess.Util.fmtValue(d[2], format.y1) : d3.format(',')(d[2]));\n\n\t\tvar template = d3.select('#tpl-chart-tooltip').html();\n\t\treturn Hogan.compile(template).render({\n\t\t\t'data': d\n\t\t});\n\t}\n\n\tfunction mouseover(event, selection, data) {\n\t\tvar tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.html(formatTooltip(data))\n\t\t\t.style('left', X(data) + 'px')\n\t\t\t.style('top',  (d3.pointer(event)[1] + 10) + 'px')\n\t\t\t.style('display', 'block');\n\n\t\tselection.select('line.indicator')\n\t\t\t.style('display', 'block')\n\t\t\t.attr('transform', 'translate(' + X(data) + ',' + 0 + ')');\n\t}\n\n\tfunction mouseout(selection, g) {\n\t\tvar tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.style('display', 'none');\n\n\t\tg.select('line.indicator').style('display', 'none');\n\t}\n\n\tfunction addRects(selection, g, data) {\n\t\tvar w = (innerW() / data.length);\n\n\t\tvar rects = g.select('g.rects').selectAll('rect').data(data);\n\n\t\tvar rectsEnter = rects.enter()\n\t\t\t.append('svg:rect')\n\t\t\t.attr('height', innerH())\n\t\t\t.attr('class', 'point');\n\n\t\trectsEnter.merge(rects)\n\t\t\t.attr('width', w)\n\t\t\t.attr('x', function(d, i) {\n\t\t\t\treturn (w * i);\n\t\t\t})\n\t\t\t.attr('y', 0)\n\t\t\t.on('mousemove', function(event) {\n\t\t\t\tmouseover(event, selection, d3.select(this).datum());\n\t\t\t})\n\t\t\t.on('mouseleave', function(event) {\n\t\t\t\tmouseout(selection, g);\n\t\t\t});\n\n\t\t// remove elements\n\t\trects.exit().remove();\n\t}\n\n\tfunction chart(selection) {\n\t\tselection.each(function (data) {\n\t\t\t// normalize data\n\t\t\tdata = mapData(data);\n\t\t\t// updates X-Y scales\n\t\t\tupdateScales(data);\n\n\t\t\t// select the SVG element, if it exists\n\t\t\tlet svg = d3.select(this).select('svg');\n\n\t\t\t// if the SVG element doesn't exist, create it\n\t\t\tif (svg.empty()) {\n\t\t\t\tsvg = d3.select(this).append('svg').attr('width', width).attr('height', height);\n\t\t\t\tcreateSkeleton(svg);\n\t\t\t}\n\n\t\t\t// Update the inner dimensions.\n\t\t\tvar g = svg.select('g')\n\t\t\t\t.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');\n\n\t\t\t// Add grid\n\t\t\taddGrid(g, data);\n\t\t\t// Add chart lines and areas\n\t\t\taddAreaLines(g, data);\n\t\t\t// Add chart points\n\t\t\taddPoints(g, data);\n\t\t\t// Add axis\n\t\t\taddAxis(g, data);\n\t\t\t// Add rects\n\t\t\taddRects(selection, g, data);\n\t\t});\n\t}\n\n\tchart.opts = function (_) {\n\t\tif (!arguments.length) return opts;\n\t\topts = _;\n\t\treturn chart;\n\t};\n\n\tchart.format = function (_) {\n\t\tif (!arguments.length) return format;\n\t\tformat = _;\n\t\treturn chart;\n\t};\n\n\tchart.labels = function (_) {\n\t\tif (!arguments.length) return labels;\n\t\tlabels = _;\n\t\treturn chart;\n\t};\n\n\tchart.margin = function (_) {\n\t\tif (!arguments.length) return margin;\n\t\tmargin = _;\n\t\treturn chart;\n\t};\n\n\tchart.width = function (_) {\n\t\tif (!arguments.length) return width;\n\t\twidth = _;\n\t\treturn chart;\n\t};\n\n\tchart.height = function (_) {\n\t\tif (!arguments.length) return height;\n\t\theight = _;\n\t\treturn chart;\n\t};\n\n\tchart.x = function (_) {\n\t\tif (!arguments.length) return xValue;\n\t\txValue = _;\n\t\treturn chart;\n\t};\n\n\tchart.y0 = function (_) {\n\t\tif (!arguments.length) return yValue0;\n\t\tyValue0 = _;\n\t\treturn chart;\n\t};\n\n\tchart.y1 = function (_) {\n\t\tif (!arguments.length) return yValue1;\n\t\tyValue1 = _;\n\t\treturn chart;\n\t};\n\n\treturn chart;\n}\n\nfunction BarChart(dualYaxis) {\n\tvar opts = {};\n\tvar margin = {\n\t\t\ttop    : 20,\n\t\t\tright  : 50,\n\t\t\tbottom : 40,\n\t\t\tleft   : 50,\n\t\t},\n\t\theight = 170,\n\t\tnTicks = 10,\n\t\tpadding = 10,\n\t\twidth = 760;\n\tvar labels = { x: 'Unnamed', y0: 'Unnamed', y1: 'Unnamed' };\n\tvar format = { x: null, y0: null, y1: null};\n\n\tvar xValue = function (d) {\n\t\t\treturn d[0];\n\t\t},\n\t\tyValue0 = function (d) {\n\t\t\treturn d[1];\n\t\t},\n\t\tyValue1 = function (d) {\n\t\t\treturn d[2];\n\t\t};\n\n\tvar xScale = d3.scaleBand()\n\t\t.paddingInner(0.1)\n\t\t.paddingOuter(0.1);\n\tvar yScale0 = d3.scaleLinear().nice();\n\tvar yScale1 = d3.scaleLinear().nice();\n\n\tvar xAxis = d3.axisBottom(xScale)\n\t\t.tickFormat(function (d) {\n\t\t\tif (format.x)\n\t\t\t\treturn GoAccess.Util.fmtValue(d, format.x);\n\t\t\treturn d;\n\t\t});\n\n\tvar yAxis0 = d3.axisLeft(yScale0)\n\t\t.tickFormat(function (d) {\n\t\t\treturn d3.format('.2s')(d);\n\t\t});\n\n\tvar yAxis1 = d3.axisRight(yScale1)\n\t\t.tickFormat(function (d) {\n\t\t\tif (format.y1)\n\t\t\t\treturn GoAccess.Util.fmtValue(d, format.y1);\n\t\t\treturn d3.format('.2s')(d);\n\t\t});\n\n\tvar xGrid = d3.axisBottom(xScale);\n\tvar yGrid = d3.axisLeft(yScale0);\n\n\tfunction innerW() {\n\t\treturn width - margin.left - margin.right;\n\t}\n\n\tfunction innerH() {\n\t\treturn height - margin.top - margin.bottom;\n\t}\n\n\tfunction getXTicks(data) {\n\t\tconst domain = xScale.domain();\n\t\tif (data.length < nTicks)\n\t\t\treturn domain;\n\n\t\treturn d3.range(0, nTicks).map(function(i) {\n\t\t\tconst index = Math.floor(i * (domain.length - 1) / (nTicks - 1));\n\t\t\tif (index >= 0 && index < domain.length)\n\t\t\t\treturn domain[index];\n\t\t\treturn null;\n\t\t});\n\t}\n\n\tfunction getYTicks(scale) {\n\t\tvar domain = scale.domain();\n\t\treturn d3.range(domain[0], domain[1], Math.ceil(domain[1] / nTicks));\n\t}\n\n\t// The x-accessor for the path generator; xScale - xValue.\n\tfunction X(d) {\n\t\treturn (xScale(d[0]) + xScale.bandwidth() / 2);\n\t}\n\n\t// Convert data to standard representation greedily;\n\t// this is needed for nondeterministic accessors.\n\tfunction mapData(data) {\n\t\tvar _datum = function (d, i) {\n\t\t\tvar datum = [xValue.call(data, d, i), yValue0.call(data, d, i)];\n\t\t\tdualYaxis && datum.push(yValue1.call(data, d, i));\n\t\t\treturn datum;\n\t\t};\n\t\treturn data.map(function (d, i) {\n\t\t\treturn _datum(d, i);\n\t\t});\n\t}\n\n\tfunction updateScales(data) {\n\t\t// Update the x-scale.\n\t\txScale.domain(data.map(function (d) {\n\t\t\treturn d[0];\n\t\t}))\n\t\t.range([0, innerW()]);\n\n\t\t// Update the y-scale.\n\t\tyScale0.domain([0, d3.max(data, function (d) {\n\t\t\treturn d[1];\n\t\t})])\n\t\t.range([innerH(), 0]);\n\n\t\t// Update the y-scale.\n\t\t// If all values are [0, 0]. This can cause issues when drawing the\n\t\t// chart because all values passed to the scale will be mapped to the\n\t\t// same value in the range, thus + 0.1 e.g., Not Found visitors.\n\t\tdualYaxis && yScale1.domain([0, d3.max(data, function (d) {\n\t\t\treturn d[2];\n\t\t}) + 0.1])\n\t\t.range([innerH(), 0]);\n\t}\n\n\tfunction toggleOpacity(ele, op) {\n\t\td3.select(ele.parentNode).selectAll('.' + (ele.getAttribute('data-yaxis') == 'y0' ? 'y1' : 'y0')).attr('style', op);\n\t}\n\n\tfunction setLegendLabels(svg) {\n\t\t// Legend Color\n\t\tvar rect = svg.selectAll('rect.legend.y0').data([null]);\n\n\t\tvar rectEnter = rect.enter()\n\t\t\t.append('rect')\n\t\t\t.attr('class', 'legend y0')\n\t\t\t.attr('data-yaxis', 'y0')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 15));\n\n\t\trectEnter.merge(rect)\n\t\t\t.attr('x', (width / 2) - 100);\n\n\t\t// Legend Labels\n\t\tvar text = svg.selectAll('text.legend.y0').data([null]);\n\n\t\tvar textEnter = text.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'legend y0')\n\t\t\t.attr('data-yaxis', 'y0')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 6));\n\n\t\ttextEnter.merge(text)\n\t\t\t.attr('x', (width / 2) - 85)\n\t\t\t.text(labels.y0);\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\t// Legend Labels\n\t\trect = svg.selectAll('rect.legend.y1').data([null]);\n\n\t\tvar rectEnter = rect.enter()\n\t\t\t.append('rect')\n\t\t\t.attr('class', 'legend y1')\n\t\t\t.attr('data-yaxis', 'y1')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 15));\n\n\t\trectEnter.merge(rect)\n\t\t\t.attr('x', (width / 2));\n\n\t\t// Legend Labels\n\t\ttext = svg.selectAll('text.legend.y1').data([null]);\n\n\t\tvar textEnter = text.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'legend y1')\n\t\t\t.attr('data-yaxis', 'y1')\n\t\t\t.on('mousemove', function(d, i) {\n\t\t\t\ttoggleOpacity(this, 'opacity:0.1');\n\t\t\t})\n\t\t\t.on('mouseleave', function(d, i) {\n\t\t\t\ttoggleOpacity(this, null);\n\t\t\t})\n\t\t\t.attr('y', (height - 6));\n\n\t\ttextEnter.merge(text)\n\t\t\t.attr('x', (width / 2) + 15)\n\t\t\t.text(labels.y1);\n\t}\n\n\tfunction setAxisLabels(svg) {\n\t\t// Labels\n\t\tsvg.selectAll('text.axis-label.y0')\n\t\t\t.data([null])\n\t\t\t.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'axis-label y0')\n\t\t\t.attr('y', 10)\n\t\t\t.attr('x', 53)\n\t\t\t.text(labels.y0);\n\n\t\tif (!dualYaxis) return;\n\n\t\t// Labels\n\t\tvar tEnter = svg.selectAll('text.axis-label.y1')\n\t\t\t.data([null])\n\t\t\t.enter()\n\t\t\t.append('text')\n\t\t\t.attr('class', 'axis-label y1')\n\t\t\t.attr('y', 10)\n\t\t\t.text(labels.y1);\n\n\t\tdualYaxis && tEnter.attr('x', width - 25);\n\t}\n\n\tfunction createSkeleton(svg) {\n\t\tconst g = svg.append('g');\n\n\t\t// Grid\n\t\tg.append('g')\n\t\t\t.attr('class', 'x grid');\n\t\tg.append('g')\n\t\t\t.attr('class', 'y grid');\n\n\t\t// Axis\n\t\tg.append('g')\n\t\t\t.attr('class', 'x axis');\n\t\tg.append('g')\n\t\t\t.attr('class', 'y0 axis');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'y1 axis');\n\n\t\t// Bars\n\t\tg.append('g')\n\t\t\t.attr('class', 'bars y0');\n\t\tdualYaxis && g.append('g')\n\t\t\t.attr('class', 'bars y1');\n\n\t\t// Rects\n\t\tg.append('g')\n\t\t\t.attr('class', 'rects');\n\n\t\tsetAxisLabels(svg);\n\t\tsetLegendLabels(svg);\n\n\t\t// Mouseover line\n\t\tg.append('line')\n\t\t\t.attr('y2', innerH())\n\t\t\t.attr('y1', 0)\n\t\t\t.attr('class', 'indicator');\n\t}\n\n\t// Update the area path and lines.\n\tfunction addBars(g, data) {\n\t\tvar bars = g.select('g.bars.y0').selectAll('rect.bar').data(data);\n\n\t\t// enter\n\t\tvar enter = bars.enter()\n\t\t\t.append('svg:rect')\n\t\t\t.attr('class', 'bar')\n\t\t\t.attr('height', 0)\n\t\t\t.attr('width', function (d, i) { return xScale.bandwidth() / 2; })\n\t\t\t.attr('x', function (d, i) { return xScale(d[0]); })\n\t\t\t.attr('y', function (d, i) { return innerH(); });\n\n\t\t// update\n\t\tbars.merge(enter)\n\t\t\t.attr('width', xScale.bandwidth() / 2)\n\t\t\t.attr('x', function (d) { return xScale(d[0]); })\n\t\t\t.transition()\n\t\t\t.delay(function (d, i) { return i / data.length * 1000; })\n\t\t\t.duration(500)\n\t\t\t.attr('height', function (d, i) { return innerH() - yScale0(d[1]); })\n\t\t\t.attr('y', function (d, i) { return yScale0(d[1]); });\n\t\t// remove elements\n\t\tbars.exit().remove();\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\tbars = g.select('g.bars.y1').selectAll('rect.bar').data(data);\n\t\t// enter\n\t\tenter = bars.enter()\n\t\t\t.append('svg:rect')\n\t\t\t.attr('class', 'bar')\n\t\t\t.attr('height', 0)\n\t\t\t.attr('width', function (d, i) { return xScale.bandwidth() / 2; })\n\t\t\t.attr('x', function (d) { return (xScale(d[0]) + xScale.bandwidth() / 2); })\n\t\t\t.attr('y', function (d, i) { return innerH(); });\n\t\t// update\n\t\tbars.merge(enter)\n\t\t\t.attr('width', xScale.bandwidth() / 2)\n\t\t\t.attr('x', function (d) { return (xScale(d[0]) + xScale.bandwidth() / 2); })\n\t\t\t.transition()\n\t\t\t.delay(function (d, i) { return i / data.length * 1000; })\n\t\t\t.duration(500)\n\t\t\t.attr('height', function (d, i) { return innerH() - yScale1(d[2]); })\n\t\t\t.attr('y', function (d, i) { return yScale1(d[2]); });\n\t\t// remove elements\n\t\tbars.exit().remove();\n\t}\n\n\tfunction addAxis(g, data) {\n\t\tvar xTicks = getXTicks(data);\n\t\tvar tickDistance = xTicks.length > 1 ? (xScale(xTicks[1]) - xScale(xTicks[0])) : innerW();\n\t\tvar labelW = tickDistance - padding;\n\n\t\t// Update the x-axis.\n\t\tg.select('.x.axis')\n\t\t\t.attr('transform', 'translate(0,' + yScale0.range()[0] + ')')\n\t\t\t.call(xAxis.tickValues(xTicks))\n\t\t\t.selectAll(\".tick text\")\n\t\t\t.call(truncate, labelW > 0 ? labelW : innerW());\n\n\t\t// Update the y0-axis.\n\t\tg.select('.y0.axis')\n\t\t\t.call(yAxis0.tickValues(getYTicks(yScale0)));\n\n\t\tif (!dualYaxis)\n\t\t\treturn;\n\n\t\t// Update the y1-axis.\n\t\tg.select('.y1.axis')\n\t\t\t.attr('transform', 'translate(' + innerW() + ', 0)')\n\t\t\t.call(yAxis1.tickValues(getYTicks(yScale1)));\n\t}\n\n\t// Update the X-Y grid.\n\tfunction addGrid(g, data) {\n\t\tg.select('.x.grid')\n\t\t\t.attr('transform', 'translate(0,' + yScale0.range()[0] + ')')\n\t\t\t.call(xGrid\n\t\t\t\t.tickValues(getXTicks(data))\n\t\t\t\t.tickSize(-innerH(), 0, 0)\n\t\t\t\t.tickSizeOuter(0)\n\t\t\t\t.tickFormat('')\n\t\t\t);\n\n\t\tg.select('.y.grid')\n\t\t\t.call(yGrid\n\t\t\t\t.tickValues(getYTicks(yScale0))\n\t\t\t\t.tickSize(-innerW(), 0)\n\t\t\t\t.tickSizeOuter(0)\n\t\t\t\t.tickFormat('')\n\t\t\t);\n\t}\n\n\tfunction formatTooltip(data) {\n\t\tvar d = data.slice(0);\n\n\t\td[0] = (format.x) ? GoAccess.Util.fmtValue(d[0], format.x) : d[0];\n\t\td[1] = (format.y0) ? GoAccess.Util.fmtValue(d[1], format.y0) : d3.format(',')(d[1]);\n\t\tdualYaxis && (d[2] = (format.y1) ? GoAccess.Util.fmtValue(d[2], format.y1) : d3.format(',')(d[2]));\n\n\t\tvar template = d3.select('#tpl-chart-tooltip').html();\n\t\treturn Hogan.compile(template).render({\n\t\t\t'data': d\n\t\t});\n\t}\n\n\tfunction mouseover(event, selection, data) {\n\t\tvar tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.html(formatTooltip(data))\n\t\t\t.style('left', X(data) + 'px')\n\t\t\t.style('top',  (d3.pointer(event)[1] + 10) + 'px')\n\t\t\t.style('display', 'block');\n\n\t\tselection.select('line.indicator')\n\t\t\t.style('display', 'block')\n\t\t\t.attr('transform', 'translate(' + X(data) + ',' + 0 + ')');\n\t}\n\n\tfunction mouseout(selection, g) {\n\t\tvar tooltip = selection.select('.chart-tooltip-wrap');\n\t\ttooltip.style('display', 'none');\n\n\t\tg.select('line.indicator').style('display', 'none');\n\t}\n\n\tfunction addRects(selection, g, data) {\n\t\tvar w = (innerW() / data.length);\n\n\t\tvar rects = g.select('g.rects').selectAll('rect').data(data);\n\n\t\tvar rectsEnter = rects.enter()\n\t\t\t.append('svg:rect')\n\t\t\t.attr('height', innerH())\n\t\t\t.attr('class', 'point');\n\n\t\trectsEnter.merge(rects)\n\t\t\t.attr('width', w)\n\t\t\t.attr('x', function(d, i) {\n\t\t\t\treturn (w * i);\n\t\t\t})\n\t\t\t.attr('y', 0)\n\t\t\t.on('mousemove', function(event) {\n\t\t\t\tmouseover(event, selection, d3.select(this).datum());\n\t\t\t})\n\t\t\t.on('mouseleave', function(event) {\n\t\t\t\tmouseout(selection, g);\n\t\t\t});\n\n\t\t// remove elements\n\t\trects.exit().remove();\n\t}\n\n\tfunction chart(selection) {\n\t\tselection.each(function (data) {\n\t\t\t// normalize data\n\t\t\tdata = mapData(data);\n\t\t\t// updates X-Y scales\n\t\t\tupdateScales(data);\n\n\t\t\t// select the SVG element, if it exists\n\t\t\tlet svg = d3.select(this).select('svg');\n\n\t\t\t// if the SVG element doesn't exist, create it\n\t\t\tif (svg.empty()) {\n\t\t\t\tsvg = d3.select(this).append('svg').attr('width', width).attr('height', height);\n\t\t\t\tcreateSkeleton(svg);\n\t\t\t}\n\n\t\t\t// Update the inner dimensions.\n\t\t\tvar g = svg.select('g')\n\t\t\t\t.attr('transform', 'translate(' + margin.left + ',' + margin.top + ')');\n\n\t\t\t// Add grid\n\t\t\taddGrid(g, data);\n\t\t\t// Add axis\n\t\t\taddAxis(g, data);\n\t\t\t// Add chart lines and areas\n\t\t\taddBars(g, data);\n\t\t\t// Add rects\n\t\t\taddRects(selection, g, data);\n\t\t});\n\t}\n\n\tchart.opts = function (_) {\n\t\tif (!arguments.length) return opts;\n\t\topts = _;\n\t\treturn chart;\n\t};\n\n\tchart.format = function (_) {\n\t\tif (!arguments.length) return format;\n\t\tformat = _;\n\t\treturn chart;\n\t};\n\n\tchart.labels = function (_) {\n\t\tif (!arguments.length) return labels;\n\t\tlabels = _;\n\t\treturn chart;\n\t};\n\n\tchart.width = function (_) {\n\t\tif (!arguments.length) return width;\n\t\twidth = _;\n\t\treturn chart;\n\t};\n\n\tchart.height = function (_) {\n\t\tif (!arguments.length) return height;\n\t\theight = _;\n\t\treturn chart;\n\t};\n\n\tchart.x = function (_) {\n\t\tif (!arguments.length) return xValue;\n\t\txValue = _;\n\t\treturn chart;\n\t};\n\n\tchart.y0 = function (_) {\n\t\tif (!arguments.length) return yValue0;\n\t\tyValue0 = _;\n\t\treturn chart;\n\t};\n\n\tchart.y1 = function (_) {\n\t\tif (!arguments.length) return yValue1;\n\t\tyValue1 = _;\n\t\treturn chart;\n\t};\n\n\treturn chart;\n}\n"
  },
  {
    "path": "resources/tpls.html",
    "content": "<!-- TPL General  -->\n<script id=\"tpl-general\" type=\"text/template\">\n    <hgroup>\n      <h2 class=\"gheader h4\" id=\"overall-heading\">{{head}}</h2>\n      <p>{{#from}}{{from}}{{/from}}{{#to}} – {{to}}{{/to}}</p>\n    </hgroup>\n\t<ul role=\"list\" class=\"row\"></ul>\n</script>\n\n<!-- TPL General Items -->\n<script id=\"tpl-general-items\" type=\"text/template\">\n  <li class=\"col-sm-6 col-md-2 {{#className}}{{className}}{{/className}}{{^className}}gray{{/className}}\" aria-live=\"polite\" aria-atomic=\"true\">\n    <div>\n      <span><i class=\"fa fa-bar-chart\"></i> {{#label}}{{label}}{{/label}}</span>\n      <span id=\"{{id}}\">{{value}}</span>\n    </div>\n  </li>\n</script>\n\n<!-- TPL Panel Table -->\n<script id=\"tpl-table-row\" type=\"text/template\">\n\t{{#rows}}\n\t\t<tr class=\"{{#className}}{{className}} {{/className}}{{#hasSubItems}}{{#items}}expandable{{/items}}{{/hasSubItems}} level-{{level}}\" data-panel=\"{{panel}}\" {{#key}}data-key=\"{{key}}\" {{/key}} {{#nodeKey}}data-node-key=\"{{nodeKey}}\" {{/nodeKey}} data-level=\"{{level}}\">\n\t\t\t{{#hasSubItems}}\n\t\t\t<td class=\"row-expandable text-center {{#items}}clickable{{/items}}\">\n\t\t\t\t{{#items}}<i class=\"fa {{#expanded}}fa-caret-down{{/expanded}}{{^expanded}}fa fa-caret-right{{/expanded}}\"></i>{{/items}}\n\t\t\t\t{{^items}}<i></i>{{/items}}\n\t\t\t</td>\n\t\t\t{{/hasSubItems}}\n\t\t\t{{^hasSubItems}}\n\t\t\t{{#showPlaceholder}}\n\t\t\t<td class=\"row-expandable text-center\">\n\t\t\t\t<i></i>\n\t\t\t</td>\n\t\t\t{{/showPlaceholder}}\n\t\t\t{{/hasSubItems}}\n\t\t\t<td class=\"row-idx text-right\">\n\t\t\t\t{{#idx}}{{idx}}{{/idx}}\n\t\t\t</td>\n\t\t\t{{#cells}}\n\t\t\t\t<td class=\"{{className}}\" {{#colspan}}colspan=\"{{colspan}}\"{{/colspan}}>\n\t\t\t\t\t<span class=\"value\">{{{value}}}</span>{{#percent}}<span class=\"percent\"> ({{percent}})</span>{{/percent}}\n\t\t\t\t</td>\n\t\t\t{{/cells}}\n\t\t</tr>\n\t{{/rows}}\n</script>\n\n<!-- TPL Panel Table Meta -->\n<script id=\"tpl-table-row-meta\" type=\"text/template\">\n\t{{#row}}\n\t\t{{#hasSubItems}}\n\t\t<th class=\"\"></th>\n\t\t{{/hasSubItems}}\n\t\t<th class=\"meta-label\">{{key}}.</th>\n\t\t{{#cells}}\n\t\t\t<th class=\"{{className}}\" {{#colspan}}colspan=\"{{colspan}}\"{{/colspan}}>\n\t\t\t\t{{#value}}\n\t\t\t\t\t<span>{{value}} {{#percent}}<span class=\"text-muted\">({{percent}}%)</span>{{/percent}}</span>\n\t\t\t\t{{/value}}\n\t\t\t\t{{^value}}\n\t\t\t\t\t<span class=\"text-muted\">&mdash;</span>\n\t\t\t\t{{/value}}\n\t\t\t</th>\n\t\t{{/cells}}\n\t{{/row}}\n</script>\n\n<!-- TPL Panel Table Totals -->\n<script id=\"tpl-table-row-totals\" type=\"text/template\">\n\t{{#row}}\n\t\t{{#hasSubItems}}\n\t\t<td class=\"\"></td>\n\t\t{{/hasSubItems}}\n\t\t<td class=\"meta-label\">Tot.</td>\n\t\t{{#cells}}\n\t\t\t<td class=\"{{className}}\" {{#colspan}}colspan=\"{{colspan}}\"{{/colspan}}>\n\t\t\t\t{{#label}}\n\t\t\t\t\t<span>{{label}}</span>&nbsp;\n\t\t\t\t{{/label}}\n\t\t\t\t<span>{{value}}</span>\n\t\t\t</td>\n\t\t{{/cells}}\n\t{{/row}}\n</script>\n\n<!-- TPL Table thead -->\n<script id=\"tpl-table-thead\" type=\"text/template\">\n\t{{#hasSubItems}}\n\t\t<th></th>\n\t{{/hasSubItems}}\n\t\t<th>#</th>\n\t{{#items}}\n\t\t<th class=\"{{dataType}} {{#key}}sortable{{/key}}\" data-key=\"{{key}}\" {{#sort}}data-order=\"{{#asc}}asc{{/asc}}{{^asc}}desc{{/asc}}\"{{/sort}}>\n\t\t\t{{label}} <i class=\"fa fa-{{^sort}}sort{{/sort}}{{#sort}}{{#asc}}caret-up{{/asc}}{{^asc}}caret-down{{/asc}}{{/sort}}\"></i>\n\t\t</th>\n\t{{/items}}\n</script>\n\n<!-- TPL Panel Options DropDown -->\n<script id=\"tpl-panel-opts\" type=\"text/template\">\n\t<li class=\"dropdown-header\">{{ labels.chart_opts }}</li>\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-chart=\"{{showChart}}\"><i class=\"fa fa-{{#showChart}}check-{{/showChart}}square-o\"></i> {{labels.chart}}</a></li>\n\n\t{{#plot.length}}\n\t<li class=\"dropdown-header\">{{ labels.type }}</li>\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-chart-type=\"area-spline\"><i class=\"fa fa-circle{{^area-spline}}-o{{/area-spline}}\"></i> {{labels.area_spline}}</a></li>\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-chart-type=\"bar\"><i class=\"fa fa-circle{{^bar}}-o{{/bar}}\"></i> {{labels.bar}}</a></li>\n\t{{#hasMap}}\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-chart-type=\"wmap\"><i class=\"fa fa-circle{{^wmap}}-o{{/wmap}}\"></i> {{labels.wmap}}</a></li>\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-chart-type=\"gmap\"><i class=\"fa fa-circle{{^gmap}}-o{{/gmap}}\"></i> {{labels.gmap}}</a></li>\n\t{{/hasMap}}\n\t<li class=\"dropdown-header\">{{labels.plot_metric}}</li>\n\t{{#plot}}\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-plot=\"{{className}}\" class=\"panel-plot-{{className}}\"><i class=\"fa fa-circle{{^selected}}-o{{/selected}}\"></i> {{label}}</a></li>\n\t{{/plot}}\n\t{{/plot.length}}\n\n\t<li class=\"dropdown-header\">{{labels.table_columns}}</li>\n\t{{#items}}\n\t<li><a href=\"javascript:void(0);\" data-panel=\"{{id}}\" data-metric=\"{{key}}\"><i class=\"fa fa-{{^hide}}check-{{/hide}}square-o\"></i> {{label}}</a></li>\n\t{{/items}}\n</script>\n\n<!-- TPL Table colgroup -->\n<script id=\"tpl-table-colgroup\" type=\"text/template\">\n\t{{#hasSubItems}}\n\t<col style=\"width: 2%;\"> <!-- right-caret -->\n\t{{/hasSubItems}}\n\t<col style=\"width: 3%;\"> <!-- row # -->\n\t{{#items}}\n\t\t<col style=\"width:{{colWidth}}\">\n\t{{/items}}\n</script>\n\n<!-- TPL Panel -->\n<script id=\"tpl-panel\" type=\"text/template\">\n\t<div class=\"row\">\n\t\t<div class=\"col-md-12\">\n\t\t\t<header>\n\t\t\t\t<hgroup>\n\t\t\t\t  <h2 id=\"{{id}}\" class=\"gheader\">{{head}}</h2>\n\t\t\t\t  <small class=\"text-muted\">{{desc}}</small>\n\t\t\t\t</hgroup>\n\t\t\t\t<div>\n\t\t\t\t\t<div class=\"dropdown\">\n\t\t\t\t\t\t<button class=\"btn btn-default btn-sm dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\" data-panel=\"{{id}}\" aria-label=\"{{labels.panel_opts}}, {{head}}\">\n\t\t\t\t\t\t\t<i class=\"fa fa-gear\" aria-hidden=\"true\"></i> {{labels.panel_opts}} <span class=\"fa fa-caret-down\" aria-hidden=\"true\"></span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t\t<ul class=\"dropdown-menu dropdown-menu-right panel-opts-{{id}}\">\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</header>\n\t\t</div>\n\t</div>\n\t{{#chart}}\n\t<div class=\"row\">\n\t\t<div class=\"col-md-12\">\n\t\t\t<div id=\"chart-{{id}}\" class=\"chart-wrap\"></div>\n\t\t</div>\n\t</div>\n\t{{/chart}}\n\t{{#table}}\n\t<div class=\"row clearfix table-wrapper {{#autoHideTables}}hidden-xs{{/autoHideTables}}\">\n\t\t<div class=\"col-md-12\">\n\t\t\t<div class=\"table-responsive\">\n\t\t\t\t<table data-panel=\"{{id}}\" class=\"table table-borderless table-hover table-{{id}}\">\n\t\t\t\t\t<colgroup>\n\t\t\t\t\t</colgroup>\n\t\t\t\t\t<thead >\n\t\t\t\t\t\t<tr class=\"thead-cols\"></tr>\n\t\t\t\t\t\t<tr class=\"thead-min\"></tr>\n\t\t\t\t\t\t<tr class=\"thead-max\"></tr>\n\t\t\t\t\t\t<tr class=\"thead-avg\"></tr>\n\t\t\t\t\t</thead>\n\t\t\t\t\t<tbody class=\"tbody-data\">\n\t\t\t\t\t</tbody>\n\t\t\t\t\t<tfoot class=\"tfoot-totals\">\n\t\t\t\t\t\t<tr class=\"tfoot-totals\">\n\t\t\t\t\t\t</tr>\n\t\t\t\t\t</tfoot>\n\t\t\t\t</table>\n\t\t\t</div>\n\n\t\t\t<ul class=\"pagination pagination-sm pull-left\">\n\t\t\t\t<li class=\"disabled\">\n\t\t\t\t\t<a class=\"panel-first\" href=\"javascript:void(0);\" aria-label=\"{{labels.first}}\" data-panel=\"{{id}}\" title=\"{{labels.first}}\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-double-left\"></i>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t\t<li class=\"disabled\">\n\t\t\t\t\t<a class=\"panel-prev\" href=\"javascript:void(0);\" aria-label=\"{{labels.previous}}\" data-panel=\"{{id}}\" title=\"{{labels.previous}}\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-left\"></i>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a class=\"panel-next\" href=\"javascript:void(0);\" aria-label=\"{{labels.next}}\" data-panel=\"{{id}}\" title=\"{{labels.next}}\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-right\"></i>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t\t<li>\n\t\t\t\t\t<a class=\"panel-last\" href=\"javascript:void(0);\" aria-label=\"{{labels.last}}\" data-panel=\"{{id}}\" title=\"{{labels.last}}\">\n\t\t\t\t\t\t<i class=\"fa fa-angle-double-right\"></i>\n\t\t\t\t\t</a>\n\t\t\t\t</li>\n\t\t\t</ul>\n\t\t</div>\n\t</div>\n\t{{/table}}\n</script>\n\n<!-- TPL Nav Bar wrapper -->\n<script id=\"tpl-nav-wrap\" type=\"text/template\">\n\t<button type=\"button\"class=\"nav-bars\" aria-label=\"{{ button_menu }}\"><i class=\"fa fa-bars\" aria-hidden=\"true\"></i></button>\n\t<button type=\"button\"class=\"nav-gears\" aria-label=\"{{ button_settings }}\"><i class=\"fa fa-cog\" aria-hidden=\"true\"></i></button>\n\t<i class=\"nav-ws-status fa fa-stop\" aria-live=\"polite\" aria-label=\"{{ websocket_disconnected }}\" title=\"{{ websocket_disconnected }}\"></i>\n\t<div class=\"nav-list\"></div>\n\t<div class=\"powered hidden-xs hidden-sm\">by <a href=\"https://goaccess.io/\">GoAccess</a> <span>v{{version}}</span> and <a href=\"https://gwsocket.io/\">GWSocket</a></div>\n</script>\n\n<!-- TPL Nav Bar items -->\n<script id=\"tpl-nav-menu\" type=\"text/template\">\n\t<h3>{{labels.panels}}</h3>\n\t<ul>\n\t\t<!-- Overall stats - not draggable -->\n\t\t<li {{#overall_current}}class=\"active\"{{/overall_current}}>\n\t\t\t<span class=\"drag-handle\" style=\"visibility: hidden;\">\n\t\t\t\t<i class=\"fa fa-bars\"></i>\n\t\t\t</span>\n\t\t\t<a href=\"#\"><i class=\"fa fa-bar-chart\"></i> {{labels.thead}}</a>\n\t\t\t<span title=\"{{labels.toggle_panel}}\" class=\"toggle-panel {{#overall_hidden}}active{{/overall_hidden}}\" data-panel=\"general\"><i class=\"fa fa-circle-o\"></i></span>\n\t\t</li>\n\n\t\t<!-- Panel items - draggable -->\n\t\t{{#nav}}\n\t\t<li {{#current}}class=\"active\"{{/current}}>\n\t\t\t<span class=\"drag-handle\" title=\"{{labels.drag_to_reorder}}\">\n\t\t\t\t<i class=\"fa fa-bars\"></i>\n\t\t\t</span>\n\t\t\t<a href=\"#{{key}}\"><i class=\"fa fa-{{icon}}\"></i> {{head}}</a>\n\t\t\t<span title=\"{{labels.toggle_panel}}\" class=\"toggle-panel {{#hidden}}active{{/hidden}}\" data-panel=\"{{key}}\"><i class=\"fa fa-circle-o\"></i></span>\n\t\t</li>\n\t\t{{/nav}}\n\t</ul>\n</script>\n\n<!-- TPL Nav Bar options -->\n<script id=\"tpl-nav-opts\" type=\"text/template\">\n\t<h3><i class=\"fa fa-hashtag\"></i> {{labels.theme}}</h3>\n\t<ul>\n\t\t<li {{#darkGray}}class=\"active\"{{/darkGray}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"theme-dark-gray\"><i class=\"fa fa-circle{{^darkGray}}-o{{/darkGray}}\"></i> {{labels.dark_gray}}</a>\n\t\t</li>\n\t\t<li {{#bright}}class=\"active\"{{/bright}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"theme-bright\"><i class=\"fa fa-circle{{^bright}}-o{{/bright}}\"></i> {{labels.bright}}</a>\n\t\t</li>\n\t\t<li {{#darkBlue}}class=\"active\"{{/darkBlue}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"theme-dark-blue\"><i class=\"fa fa-circle{{^darkBlue}}-o{{/darkBlue}}\"></i> {{labels.dark_blue}}</a>\n\t\t</li>\n\t\t<li {{#darkPurple}}class=\"active\"{{/darkPurple}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"theme-dark-purple\"><i class=\"fa fa-circle{{^darkPurple}}-o{{/darkPurple}}\"></i> {{labels.dark_purple}}</a>\n\t\t</li>\n\t</ul>\n\t<h3><i class=\"fa fa-list-alt\"></i> {{labels.panels}}</h3>\n\t<ul class=\"perpage-wrap\">\n\t\t<li class=\"dropdown-header\"><i class=\"fa fa-list\"></i> {{labels.items_per_page}}</li>\n\t\t<li {{#perPage3}}class=\"active\"{{/perPage3}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"3\"><i class=\"fa fa-circle{{^perPage3}}-o{{/perPage3}}\"></i> 3</a>\n\t\t</li>\n\t\t<li {{#perPage5}}class=\"active\"{{/perPage5}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"5\"><i class=\"fa fa-circle{{^perPage5}}-o{{/perPage5}}\"></i> 5</a>\n\t\t</li>\n\t\t<li {{#perPage7}}class=\"active\"{{/perPage7}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"7\"><i class=\"fa fa-circle{{^perPage7}}-o{{/perPage7}}\"></i> 7</a>\n\t\t</li>\n\t\t<li {{#perPage10}}class=\"active\"{{/perPage10}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"10\"><i class=\"fa fa-circle{{^perPage10}}-o{{/perPage10}}\"></i> 10</a>\n\t\t</li>\n\t\t<li {{#perPage15}}class=\"active\"{{/perPage15}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"15\"><i class=\"fa fa-circle{{^perPage15}}-o{{/perPage15}}\"></i> 15</a>\n\t\t</li>\n\t\t<li {{#perPage20}}class=\"active\"{{/perPage20}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"20\"><i class=\"fa fa-circle{{^perPage20}}-o{{/perPage20}}\"></i> 20</a>\n\t\t</li>\n\t\t<li {{#perPage24}}class=\"active\"{{/perPage24}}>\n\t\t\t<a href=\"javascript:void(0);\" data-perpage=\"24\"><i class=\"fa fa-circle{{^perPage24}}-o{{/perPage24}}\"></i> 24</a>\n\t\t</li>\n\t\t<li class=\"dropdown-header\"><i class=\"fa fa-table\"></i> {{labels.tables}}</li>\n\t\t<li {{#showTables}}class=\"active\"{{/showTables}}>\n\t\t\t<a href=\"javascript:void(0);\" data-show-tables=\"1\"><i class=\"fa fa-{{#showTables}}check-{{/showTables}}square-o\"></i> {{labels.display_tables}}</a>\n\t\t</li>\n\t\t<li {{#autoHideTables}}class=\"active\"{{/autoHideTables}}>\n\t\t\t<a href=\"javascript:void(0);\" data-autohide-tables=\"1\" title=\"{{labels.ah_small_title}}\">\n\t\t\t\t<i class=\"fa fa-{{#autoHideTables}}check-{{/autoHideTables}}square-o\"></i> {{labels.ah_small}}\n\t\t\t</a>\n\t\t</li>\n\t</ul>\n\t<h3><i class=\"fa fa-th-large\"></i> {{labels.layout}}</h3>\n\t<ul>\n\t\t<li {{#horizontal}}class=\"active\"{{/horizontal}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"layout-horizontal\"><i class=\"fa fa-circle{{^horizontal}}-o{{/horizontal}}\"></i> {{labels.horizontal}}</a>\n\t\t</li>\n\t\t<li {{#wide}}class=\"active\"{{/wide}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"layout-wide\"><i class=\"fa fa-circle{{^wide}}-o{{/wide}}\"></i> {{labels.wide}}</a>\n\t\t</li>\n\t\t<li {{#vertical}}class=\"active\"{{/vertical}}>\n\t\t\t<a href=\"javascript:void(0);\" class=\"layout-vertical\"><i class=\"fa fa-circle{{^vertical}}-o{{/vertical}}\"></i> {{labels.vertical}}</a>\n\t\t</li>\n\t</ul>\n\t<h3><i class=\"fa fa-cog\"></i> {{labels.file_opts}}</h3>\n\t<ul>\n\t\t<li><a href=\"javascript:void(0);\" class=\"export-json\"><i class=\"fa fa-code\"></i> {{labels.export_json}}</a></li>\n\t</ul>\n</script>\n\n<!-- TPL Chart tooltip -->\n<script id=\"tpl-chart-tooltip\" type=\"text/template\">\n\t<table class=\"chart-tooltip\">\n\t\t<tbody>\n\t\t\t<tr>\n\t\t\t\t<th colspan=\"2\">{{data.0}}</th>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"name\"><span class=\"blue\"></span>hits</td>\n\t\t\t\t<td class=\"value\">{{data.1}}</td>\n\t\t\t</tr>\n\t\t\t{{#data.2}}\n\t\t\t<tr>\n\t\t\t\t<td class=\"name\"><span class=\"red\"></span>visitors</td>\n\t\t\t\t<td class=\"value\">{{data.2}}</td>\n\t\t\t</tr>\n\t\t\t{{/data.2}}\n\t\t</tbody>\n\t</table>\n</script>\n"
  },
  {
    "path": "snap/snapcraft.yaml",
    "content": "name: goaccess\nversion: git\nsummary: Real-time web log analyzer and interactive viewer\ndescription: |\n  GoAccess is a real-time web log analyzer and interactive viewer that runs\n  in a terminal in *nix systems or through your browser.\nconfinement: classic\ngrade: devel\n\napps:\n  goaccess:\n    command: bin/goaccess\n\nparts:\n  goaccess:\n    plugin: autotools\n    source: .\n    configflags:\n      - --enable-utf8\n      - --enable-geoip=legacy\n    build-packages:\n      - gettext\n      - libncurses-dev\n      - libncursesw5-dev\n      - libgeoip-dev\n    stage-packages:\n      - libgeoip-dev\n\n"
  },
  {
    "path": "src/base64.c",
    "content": "/**\n * base64.c -- A basic base64 encode implementation\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <string.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n#include \"base64.h\"\n#include \"xmalloc.h\"\n\n/* Encodes the given data with base64.\n *\n * On success, the encoded nul-terminated data, as a string is returned. */\nchar *\nbase64_encode (const void *buf, size_t size) {\n  static const char base64[] = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";\n\n  char *str = (char *) xmalloc ((size + 3) * 4 / 3 + 1);\n\n  char *p = str;\n  const unsigned char *q = (const unsigned char *) buf;\n  size_t i = 0;\n\n  while (i < size) {\n    int c = q[i++];\n    c *= 256;\n    if (i < size)\n      c += q[i];\n    i++;\n\n    c *= 256;\n    if (i < size)\n      c += q[i];\n    i++;\n\n    *p++ = base64[(c & 0x00fc0000) >> 18];\n    *p++ = base64[(c & 0x0003f000) >> 12];\n\n    if (i > size + 1)\n      *p++ = '=';\n    else\n      *p++ = base64[(c & 0x00000fc0) >> 6];\n\n    if (i > size)\n      *p++ = '=';\n    else\n      *p++ = base64[c & 0x0000003f];\n  }\n\n  *p = 0;\n\n  return str;\n}\n\n/*\n * base64_decode\n *\n * Given a Base64 encoded string in 'data', this function decodes it into\n * a newly allocated binary buffer. The length of the decoded data is stored\n * in *out_len. The caller is responsible for freeing the returned buffer.\n *\n * Returns NULL on error (for example, if the data's length is not a multiple\n * of 4).\n */\nchar *\nbase64_decode (const char *data, size_t *out_len) {\n  size_t decoded_len = 0, i = 0, j = 0, pad = 0, len = 0;\n  char *out = NULL;\n  uint32_t triple = 0;\n\n  /* Create a lookup table for decoding.\n   * For valid Base64 characters 'A'-'Z', 'a'-'z', '0'-'9', '+', '/',\n   * we place their value; for '=' we simply return 0.\n   * All other characters are marked as 0x80 (an invalid marker).\n   */\n  static const unsigned char dtable[256] = {\n    ['A'] = 0,['B'] = 1,['C'] = 2,['D'] = 3,\n    ['E'] = 4,['F'] = 5,['G'] = 6,['H'] = 7,\n    ['I'] = 8,['J'] = 9,['K'] = 10,['L'] = 11,\n    ['M'] = 12,['N'] = 13,['O'] = 14,['P'] = 15,\n    ['Q'] = 16,['R'] = 17,['S'] = 18,['T'] = 19,\n    ['U'] = 20,['V'] = 21,['W'] = 22,['X'] = 23,\n    ['Y'] = 24,['Z'] = 25,\n    ['a'] = 26,['b'] = 27,['c'] = 28,['d'] = 29,\n    ['e'] = 30,['f'] = 31,['g'] = 32,['h'] = 33,\n    ['i'] = 34,['j'] = 35,['k'] = 36,['l'] = 37,\n    ['m'] = 38,['n'] = 39,['o'] = 40,['p'] = 41,\n    ['q'] = 42,['r'] = 43,['s'] = 44,['t'] = 45,\n    ['u'] = 46,['v'] = 47,['w'] = 48,['x'] = 49,\n    ['y'] = 50,['z'] = 51,\n    ['0'] = 52,['1'] = 53,['2'] = 54,['3'] = 55,\n    ['4'] = 56,['5'] = 57,['6'] = 58,['7'] = 59,\n    ['8'] = 60,['9'] = 61,\n    ['+'] = 62,['/'] = 63,\n    ['='] = 0,\n    /* All other values are implicitly 0 (or you can mark them as invalid\n       by setting them to 0x80 if you prefer stricter checking). */\n  };\n\n  len = strlen (data);\n  /* Validate length: Base64 encoded data must be a multiple of 4 */\n  if (len % 4 != 0)\n    return NULL;\n\n  /* Count padding characters at the end */\n  if (len) {\n    if (data[len - 1] == '=')\n      pad++;\n    if (len > 1 && data[len - 2] == '=')\n      pad++;\n  }\n\n  /* Calculate the length of the decoded data */\n  decoded_len = (len / 4) * 3 - pad;\n  out = (char *) xmalloc (decoded_len + 1); /* +1 for a null terminator if needed */\n\n  for (i = 0, j = 0; i < len;) {\n    unsigned int sextet_a = data[i] == '=' ? 0 : dtable[(unsigned char) data[i]];\n    unsigned int sextet_b = data[i + 1] == '=' ? 0 : dtable[(unsigned char) data[i + 1]];\n    unsigned int sextet_c = data[i + 2] == '=' ? 0 : dtable[(unsigned char) data[i + 2]];\n    unsigned int sextet_d = data[i + 3] == '=' ? 0 : dtable[(unsigned char) data[i + 3]];\n    i += 4;\n\n    triple = (sextet_a << 18) | (sextet_b << 12) | (sextet_c << 6) | sextet_d;\n    if (j < decoded_len)\n      out[j++] = (triple >> 16) & 0xFF;\n    if (j < decoded_len)\n      out[j++] = (triple >> 8) & 0xFF;\n    if (j < decoded_len)\n      out[j++] = triple & 0xFF;\n  }\n\n  out[decoded_len] = '\\0'; /* Null-terminate the output buffer */\n  if (out_len)\n    *out_len = decoded_len;\n  return out;\n}\n\n/*\n * base64UrlEncode - Converts a standard Base64 encoded string\n * into Base64Url format.\n *\n * This replaces '+' with '-', '/' with '_', and removes '=' padding.\n */\nchar *\nbase64UrlEncode (const char *base64) {\n  char *url = NULL;\n  size_t len = 0;\n  if (!base64)\n    return NULL;\n\n  // Duplicate the input string to modify it in-place.\n  url = strdup (base64);\n  if (!url)\n    return NULL;\n\n  // Replace characters: '+' => '-', '/' => '_'\n  for (char *p = url; *p; p++) {\n    if (*p == '+')\n      *p = '-';\n    else if (*p == '/')\n      *p = '_';\n  }\n\n  // Remove trailing '=' characters.\n  len = strlen (url);\n  while (len && url[len - 1] == '=') {\n    url[len - 1] = '\\0';\n    len--;\n  }\n  return url;\n}\n\n/*\n * base64UrlDecode - Converts a Base64Url encoded string into standard Base64 format.\n *\n * This replaces '-' with '+', '_' with '/', and adds the necessary '=' padding.\n * Caller is responsible for freeing the returned string.\n */\nchar *\nbase64UrlDecode (const char *base64Url) {\n  size_t len = 0, padding = 0, i = 0;\n  char *padded = NULL, *base64 = NULL;\n\n  if (!base64Url)\n    return NULL;\n\n  // Duplicate the input so we can modify it.\n  base64 = strdup (base64Url);\n  if (!base64)\n    return NULL;\n\n  // Replace '-' with '+' and '_' with '/'\n  for (char *p = base64; *p; p++) {\n    if (*p == '-')\n      *p = '+';\n    else if (*p == '_')\n      *p = '/';\n  }\n\n  // Calculate the padding required (base64 length must be a multiple of 4)\n  len = strlen (base64);\n  padding = (4 - (len % 4)) % 4;\n  padded = xmalloc (len + padding + 1);\n  if (!padded) {\n    free (base64);\n    return NULL;\n  }\n  strcpy (padded, base64);\n  for (i = 0; i < padding; i++) {\n    padded[len + i] = '=';\n  }\n  padded[len + padding] = '\\0';\n  free (base64);\n  return padded;\n}\n"
  },
  {
    "path": "src/base64.h",
    "content": "/**\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef BASE64_H_INCLUDED\n#define BASE64_H_INCLUDED\n\n#include <stddef.h>\n\nchar *base64_encode (const void *buf, size_t size);\nchar *base64_decode (const char *data, size_t *out_len);\nchar *base64UrlDecode (const char *base64Url);\nchar *base64UrlEncode (const char *base64);\n\n#endif // for #ifndef BASE64_H\n"
  },
  {
    "path": "src/bin2c.c",
    "content": "/*\n * This is bin2c program, which allows you to convert binary file to\n * C language array, for use as embedded resource, for instance you can\n * embed graphics or audio file directly into your program.\n * This is public domain software, use it on your own risk.\n * Contact Serge Fukanchik at fuxx@mail.ru  if you have any questions.\n *\n * Some modifications were made by Gwilym Kuiper (kuiper.gwilym@gmail.com)\n * I have decided not to change the licence.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#ifdef USE_BZ2\n#include <bzlib.h>\n#endif\n\nint\nmain (int argc, char *argv[]) {\n  char *buf;\n  char *ident;\n  int need_comma;\n  long file_size_orig;\n  size_t file_size, i;\n  FILE *f_input, *f_output;\n\n#ifdef USE_BZ2\n  int status;\n  char *bz2_buf;\n  unsigned int uncompressed_size, bz2_size;\n#endif\n\n  if (argc < 4) {\n    fprintf (stderr, \"Usage: %s binary_file output_file array_name\\n\", argv[0]);\n    return -1;\n  }\n\n  f_input = fopen (argv[1], \"rb\");\n  if (f_input == NULL) {\n    fprintf (stderr, \"%s: can't open %s for reading\\n\", argv[0], argv[1]);\n    return -1;\n  }\n  // Get the file length\n  fseek (f_input, 0, SEEK_END);\n  file_size_orig = ftell (f_input);\n  if (file_size_orig < 0) {\n    fprintf (stderr, \"%s: can't get size of file %s\\n\", argv[0], argv[1]);\n    fclose (f_input);\n    return -1;\n  }\n  file_size = (size_t) file_size_orig;\n  fseek (f_input, 0, SEEK_SET);\n\n  if ((buf = malloc (file_size)) == NULL) {\n    fprintf (stderr, \"Unable to malloc bin2c.c buffer\\n\");\n    fclose (f_input);\n    return -1;\n  }\n\n  if (fread (buf, file_size, 1, f_input) != 1) {\n    fprintf (stderr, \"%s: can't read from %s\\n\", argv[0], argv[1]);\n    free (buf);\n    fclose (f_input);\n    return -1;\n  }\n\n  if (fgetc (f_input) != EOF) {\n    fprintf (stderr, \"%s: can't read complete file %s\\n\", argv[0], argv[1]);\n    free (buf);\n    fclose (f_input);\n    return -1;\n  }\n\n  if (ferror (f_input)) {\n    fprintf (stderr, \"%s: error while reading from %s\\n\", argv[0], argv[1]);\n    free (buf);\n    fclose (f_input);\n    return -1;\n  }\n\n  fclose (f_input);\n\n#ifdef USE_BZ2\n  // allocate for bz2.\n  bz2_size = (file_size + file_size / 100 + 1) + 600; // as per the documentation\n\n  if ((bz2_buf = malloc (bz2_size)) == NULL) {\n    fprintf (stderr, \"Unable to malloc bin2c.c buffer\\n\");\n    free (buf);\n    return -1;\n  }\n  // compress the data\n  status = BZ2_bzBuffToBuffCompress (bz2_buf, &bz2_size, buf, file_size, 9, 1, 0);\n  if (status != BZ_OK) {\n    fprintf (stderr, \"Failed to compress data: error %i\\n\", status);\n    free (buf);\n    free (bz2_buf);\n    return -1;\n  }\n  // and be very lazy\n  free (buf);\n  uncompressed_size = file_size;\n  file_size = bz2_size;\n  buf = bz2_buf;\n#endif\n\n  f_output = fopen (argv[2], \"w\");\n  if (f_output == NULL) {\n    fprintf (stderr, \"%s: can't open %s for writing\\n\", argv[0], argv[1]);\n    free (buf);\n    return -1;\n  }\n\n  ident = argv[3];\n  need_comma = 0;\n\n  fprintf (f_output, \"const char %s[%lu] = {\", ident, file_size);\n  for (i = 0; i < file_size; ++i) {\n    if (buf[i] == '\\0') {\n      fprintf (stderr,\n               \"%s: writing a null character terminates the content prematurely\\n\", argv[0]);\n      fclose (f_output);\n      free (buf);\n      return -1;\n    }\n    if (need_comma)\n      fprintf (f_output, \", \");\n    else\n      need_comma = 1;\n    if ((i % 11) == 0)\n      fprintf (f_output, \"\\n\\t\");\n    fprintf (f_output, \"0x%.2x\", buf[i] & 0xff);\n  }\n  fprintf (f_output, \"\\n};\\n\\n\");\n  fprintf (f_output, \"const int %s_length = %lu;\\n\", ident, file_size);\n\n#ifdef USE_BZ2\n  fprintf (f_output, \"const int %s_length_uncompressed = %u;\\n\", ident, uncompressed_size);\n#endif\n\n  if (ferror (f_output)) {\n    fprintf (stderr, \"%s: error while writing to %s\\n\", argv[0], argv[2]);\n    fclose (f_output);\n    free (buf);\n    return -1;\n  }\n\n  fclose (f_output);\n  free (buf);\n\n  return 0;\n}\n"
  },
  {
    "path": "src/bitmap.c",
    "content": "/**\n * bitmap.c -- A quick bitmap implementation\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdlib.h>\n#include <string.h>\n#include <stdint.h>\n\n#include \"error.h\"\n#include \"xmalloc.h\"\n\n#include \"bitmap.h\"\n\n/*\n * Returns the hamming weight (i.e. the number of bits set) in a word.\n * NOTE: This routine borrowed from Linux 2.4.9 <linux/bitops.h>.\n */\nstatic uint32_t\nhweight (uint32_t w) {\n  uint32_t res;\n\n  res = (w & 0x55555555) + ((w >> 1) & 0x55555555);\n  res = (res & 0x33333333) + ((res >> 2) & 0x33333333);\n  res = (res & 0x0F0F0F0F) + ((res >> 4) & 0x0F0F0F0F);\n  res = (res & 0x00FF00FF) + ((res >> 8) & 0x00FF00FF);\n  res = (res & 0x0000FFFF) + ((res >> 16) & 0x0000FFFF);\n\n  return res;\n}\n\n\n/* Returns the number of bytes required for bm->len bits. */\ninline uint32_t\nbitmap_sizeof (uint32_t i) {\n  return bitmap_word (i) * sizeof (word_t);\n}\n\nvoid\nfree_bitmap (bitmap *bm) {\n  free ((uint32_t *) bm->bmp);\n  free (bm);\n}\n\nint\nbitmap_set_bit (word_t *words, uint32_t n) {\n  words[WORD_OFFSET (n)] |= ((word_t) 1 << BIT_OFFSET (n));\n  return 0;\n}\n\nint\nbitmap_get_bit (word_t *words, uint32_t n) {\n  word_t bit = words[WORD_OFFSET (n)] & ((word_t) 1 << BIT_OFFSET (n));\n  return bit != 0;\n}\n\nuint32_t\nbitmap_count_set (const bitmap *bm) {\n  uint32_t i, n = 0, len = 0;\n\n  if (!bm)\n    return 0;\n\n  len = bitmap_word (bm->len);\n  for (i = 0; i < len; ++i)\n    n += hweight (bm->bmp[i]);\n\n  return n;\n}\n\nuint32_t\nbitmap_ffs (bitmap *bm) {\n  uint32_t i, pos = 1, len = 0;\n  uint32_t __bitset;\n\n  if (!bm)\n    return 0;\n\n  len = bitmap_word (bm->len);\n  for (i = 0; i < len; ++i) {\n    __bitset = bm->bmp[i];\n    if ((pos = __builtin_ffs (__bitset)))\n      break;\n  }\n\n  return (BITS_PER_WORD * i) + pos;\n}\n\nbitmap *\nbitmap_create (uint32_t bit) {\n  bitmap *bm = xcalloc (1, sizeof (bitmap));\n  uint32_t bytes = bitmap_sizeof (bit);\n\n  bm->bmp = xmalloc (bytes);\n  memset (bm->bmp, 0, bytes);\n  bm->len = bit;\n\n  return bm;\n}\n\nint\nbitmap_realloc (bitmap *bm, uint32_t bit) {\n  uint32_t *tmp = NULL;\n  uint32_t oldlen = 0, newlen = 0;\n\n  newlen = bitmap_sizeof (bit);\n  oldlen = bitmap_sizeof (bm->len);\n  if (newlen <= oldlen)\n    return 1;\n\n  tmp = realloc (bm->bmp, newlen);\n  if ((tmp == NULL && newlen > 0) || bit < bm->len)\n    FATAL (\"Unable to realloc bitmap hash value %u %u\", newlen, bm->len);\n\n  LOG_DEBUG ((\"bit: %d, bm->len: %d, oldlen: %d, newlen: %d\\n\", bit, bm->len, oldlen, newlen));\n  memset (tmp + bitmap_word (bm->len), 0, (newlen - oldlen));\n  bm->len = bit;\n  bm->bmp = tmp;\n\n  return 0;\n}\n\nbitmap *\nbitmap_copy (const bitmap *bm) {\n  bitmap *ret;\n\n  if (!bm)\n    return NULL;\n  if (!(ret = bitmap_create (bm->len)))\n    return NULL;\n\n  memcpy (ret->bmp, bm->bmp, bitmap_sizeof (bm->len));\n\n  return ret;\n}\n\nint\nbitmap_key_exists (bitmap *bm, uint32_t bit) {\n  if (bm->len < bit)\n    bitmap_realloc (bm, bit);\n\n  /* if bit set, then it's the same visitor */\n  if (bitmap_get_bit (bm->bmp, bit - 1))\n    return 1;\n  bitmap_set_bit (bm->bmp, bit - 1);\n\n  return 0;\n}\n"
  },
  {
    "path": "src/bitmap.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n\n#ifndef BITMAP_H_INCLUDED\n#define BITMAP_H_INCLUDED\n\n#include <limits.h> /* for CHAR_BIT */\n\ntypedef uint32_t word_t;        // I want to change this, from uint32_t to uint64_t\nenum { BITS_PER_WORD = sizeof (word_t) * CHAR_BIT };\n#define WORD_OFFSET(b) ((b) / BITS_PER_WORD)\n#define BIT_OFFSET(b)  ((b) % BITS_PER_WORD)\n\ntypedef struct bitmap_ {\n  uint32_t *bmp;\n  uint32_t len; /** Length of the bitmap, in bits */\n} bitmap;\n\nstatic inline uint32_t\nbitmap_word (uint32_t i) {\n  return (((i) + (BITS_PER_WORD) - 1) / (BITS_PER_WORD));\n}\n\n#define BITMAP_FOREACH(bm, pos, code) { size_t __k; \\\n  int __r; uint32_t __bitset, __t;                  \\\n  uint32_t __len = bitmap_word(bm->len);            \\\n  for (__k = 0; __k < __len; ++__k) {               \\\n    __bitset = bm->bmp[__k];                        \\\n    while (__bitset != 0) {                         \\\n      __t = __bitset & -__bitset;                   \\\n      __r = __builtin_ctzl (__bitset);              \\\n      pos = (__k * 32) + __r + 1;                   \\\n      code;                                         \\\n      __bitset ^= __t;                              \\\n    }                                               \\\n  } }\n\nbitmap *bitmap_copy (const bitmap * bm);\nbitmap *bitmap_create (uint32_t bit);\nint bitmap_get_bit (word_t * words, uint32_t n);\nint bitmap_key_exists (bitmap * bm, uint32_t bit);\nint bitmap_realloc (bitmap * bm, uint32_t bit);\nint bitmap_set_bit (word_t * words, uint32_t n);\nuint32_t bitmap_count_set (const bitmap * bm);\nuint32_t bitmap_ffs (bitmap * bm);\nuint32_t bitmap_sizeof (uint32_t nbits);\nvoid free_bitmap (bitmap * bm);\n\n#endif // for #ifndef BITMAP_H\n"
  },
  {
    "path": "src/browsers.c",
    "content": "/**\n 6 browsers.c -- functions for dealing with browsers\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stddef.h>\n\n#include \"browsers.h\"\n\n#include \"error.h\"\n#include \"settings.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* ###NOTE: The size of the list is proportional to the run time,\n * which makes this pretty slow */\n\nstatic char ***browsers_hash = NULL;\n\nstatic const char *const browsers[][2] = {\n  /* Game Systems: place game console browsers here */\n  {\"Xbox One\", \"Game Systems\"},\n  {\"Xbox\", \"Game Systems\"},\n  {\"PlayStation\", \"Game Systems\"},\n  {\"NintendoBrowser\", \"Game Systems\"},\n  {\"Valve Steam\", \"Game Systems\"},\n  {\"Origin\", \"Game Systems\"},\n  {\"Raptr\", \"Game Systems\"},\n\n  /* Based on Internet Explorer: browsers based on IE engine */\n  {\"Avant Browser\", \"Others\"},\n  {\"IEMobile\", \"MSIE\"},\n  {\"MSIE\", \"MSIE\"},\n  {\"Trident/7.0\", \"MSIE\"},\n  {\"Edg\", \"Edge\"},\n  {\"Edge\", \"Edge\"},\n\n  /* Surf Browser */\n  {\"Surf\", \"Surf\"},\n\n  /* Opera: place all opera-related user agents here */\n  {\"Opera Mini\", \"Opera\"},\n  {\"Opera Mobi\", \"Opera\"},\n  {\"Opera\", \"Opera\"},\n  {\"OPR\", \"Opera\"},\n  {\"OPiOS\", \"Opera\"},\n  {\"Coast\", \"Opera\"},\n\n  {\"FBAV\", \"Facebook App\"},\n  {\"FBSV\", \"Facebook App\"},\n  {\"FBAN\", \"Facebook App\"},\n  {\"FB_IAB\", \"Facebook App\"},\n\n  /* Others: miscellaneous user agents that don't fit other categories */\n  {\"Homebrew\", \"Others\"},\n  {\"APT-\", \"Others\"},\n  {\"Apt-Cacher\", \"Others\"},\n  {\"Aptly\", \"Others\"},\n  {\"Chef Client\", \"Others\"},\n  {\"Huawei\", \"Others\"},\n  {\"HUAWEI\", \"Others\"},\n  {\"BlackBerry\", \"Others\"},\n  {\"BrowserX\", \"Others\"},\n  {\"Dalvik\", \"Others\"},\n  {\"Dillo\", \"Others\"},\n  {\"ELinks\", \"Others\"},\n  {\"Epiphany\", \"Others\"},\n  {\"Firebird\", \"Others\"},\n  {\"Galeon\", \"Others\"},\n  {\"google-cloud-sdk\", \"Others\"},\n  {\"IBrowse\", \"Others\"},\n  {\"K-Meleon\", \"Others\"},\n  {\"Konqueror\", \"Others\"},\n  {\"Links\", \"Others\"},\n  {\"Lynx\", \"Others\"},\n  {\"Midori\", \"Others\"},\n  {\"Minefield\", \"Others\"},\n  {\"Mosaic\", \"Others\"},\n  {\"Netscape\", \"Others\"},\n  {\"SeaMonkey\", \"Others\"},\n  {\"UCBrowser\", \"Others\"},\n  {\"Wget\", \"Others\"},\n  {\"libfetch\", \"Others\"},\n  {\"check_http\", \"Others\"},\n  {\"Go-http-client\", \"Others\"},\n  {\"curl\", \"Others\"},\n  {\"midori\", \"Others\"},\n  {\"w3m\", \"Others\"},\n  {\"MicroMessenger\", \"Others\"},\n  {\"Apache\", \"Others\"},\n  {\"JOSM\", \"Others\"},\n  {\"pacman\", \"Others\"},\n  {\"Pamac\", \"Others\"},\n  {\"libwww-perl\", \"Others\"},\n  {\"python-requests\", \"Others\"},\n  {\"PackageKit\", \"Others\"},\n  {\"F-Droid\", \"Others\"},\n  {\"okhttp\", \"Others\"},\n  {\"node\", \"Others\"},\n  {\"PrivacyBrowser\", \"Others\"},\n  {\"Transmission\", \"Others\"},\n  {\"libmpv\", \"Others\"},\n  {\"aria2\", \"Others\"},\n  {\"Electron\", \"Others\"},\n  {\"Chromium\", \"Chrome\"},\n  {\"QtWebEngine\", \"Others\"},\n  {\"SamsungBrowser\", \"Samsung Internet\"},\n  {\"Silk/\", \"Silk\"},\n  {\"MiuiBrowser\", \"Others\"},\n  {\"HuaweiBrowser\", \"Others\"},\n  {\"HeyTapBrowser\", \"Others\"},\n  {\"VivoBrowser\", \"Others\"},\n  {\"QQBrowser\", \"Others\"},\n  {\"Instagram\", \"Others\"},\n  {\"TikTok\", \"Others\"},\n  {\"Snapchat\", \"Others\"},\n  {\"Pinterest\", \"Others\"},\n  {\"Roku\", \"Others\"},\n  {\"Tizen\", \"Others\"},\n  {\"Web0S\", \"Others\"},\n\n  /* Feed Readers: place all feed reader user agents here */\n  {\"AppleNewsBot\", \"Feeds\"},\n  {\"Bloglines\", \"Feeds\"},\n  {\"Digg Feed Fetcher\", \"Feeds\"},\n  {\"Feedbin\", \"Feeds\"},\n  {\"FeedHQ\", \"Feeds\"},\n  {\"Feedly\", \"Feeds\"},\n  {\"Flipboard\", \"Feeds\"},\n  {\"inoreader.com\", \"Feeds\"},\n  {\"Netvibes\", \"Feeds\"},\n  {\"NewsBlur\", \"Feeds\"},\n  {\"PinRSS\", \"Feeds\"},\n  {\"theoldreader.com\", \"Feeds\"},\n  {\"WordPress.com Reader\", \"Feeds\"},\n  {\"YandexBlogs\", \"Feeds\"},\n  {\"Brainstorm\", \"Feeds\"},\n  {\"Mastodon\", \"Feeds\"},\n  {\"Pleroma\", \"Feeds\"},\n  {\"Akregator\", \"Feeds\"},\n  {\"Apple-PubSub\", \"Feeds\"},\n  {\"BTWebClient\", \"Feeds\"},\n  {\"com apple.Safari.WebFeedParser\", \"Feeds\"},\n  {\"FeedDemon\", \"Feeds\"},\n  {\"Feedy\", \"Feeds\"},\n  {\"Fever\", \"Feeds\"},\n  {\"FreshRSS\", \"Feeds\"},\n  {\"Liferea\", \"Feeds\"},\n  {\"NetNewsWire\", \"Feeds\"},\n  {\"RSSOwl\", \"Feeds\"},\n  {\"Thunderbird\", \"Feeds\"},\n  {\"Tiny Tiny RSS\", \"Feeds\"},\n  {\"Winds\", \"Feeds\"},\n\n  /* Crawlers: all bot and crawler user agents grouped together */\n  {\"AdsBot\", \"Crawlers\"},\n  {\"AdsBot-Google\", \"Crawlers\"},\n  {\"APIs-Google\", \"Crawlers\"},\n  {\"AppEngine-Google\", \"Crawlers\"},\n  {\"Mediapartners-Google\", \"Crawlers\"},\n  {\"Google-InspectionTool\", \"Crawlers\"},\n  {\"Google-Extended\", \"Crawlers\"},\n  {\"GoogleOther\", \"Crawlers\"},\n  {\"Google-Read-Aloud\", \"Crawlers\"},\n  {\"Google\", \"Crawlers\"},\n  {\"WhatsApp\", \"Crawlers\"},\n  {\"AppleBot\", \"Crawlers\"},\n  {\"Applebot-Extended\", \"Crawlers\"},\n  {\"facebookexternalhit\", \"Crawlers\"},\n  {\"Facebot\", \"Crawlers\"},\n  {\"Twitter\", \"Crawlers\"},\n  {\"Twitterbot\", \"Crawlers\"},\n  {\"Slackbot-LinkExpanding\", \"Crawlers\"},\n  {\"Slack-ImgProxy\", \"Crawlers\"},\n  {\"Slack\", \"Crawlers\"},\n  {\"TelegramBot\", \"Crawlers\"},\n  {\"Sogou\", \"Crawlers\"},\n  {\"Java\", \"Crawlers\"},\n  {\"Jakarta Commons-HttpClient\", \"Crawlers\"},\n  {\"netEstate\", \"Crawlers\"},\n  {\"PiplBot\", \"Crawlers\"},\n  {\"Baidu\", \"Crawlers\"},\n  {\"Mastodon\", \"Crawlers\"},\n  {\"IstellaBot\", \"Crawlers\"},\n  {\"heritrix\", \"Crawlers\"},\n  {\"PagesInventory\", \"Crawlers\"},\n  {\"rogerbot\", \"Crawlers\"},\n  {\"fastbot\", \"Crawlers\"},\n  {\"yacybot\", \"Crawlers\"},\n  {\"PycURL\", \"Crawlers\"},\n  {\"PHP\", \"Crawlers\"},\n  {\"ClaudeBot\", \"Crawlers\"},\n  {\"Claude-User\", \"Crawlers\"},\n  {\"AndroidDownloadManager\", \"Crawlers\"},\n  {\"Embedly\", \"Crawlers\"},\n  {\"ruby\", \"Crawlers\"},\n  {\"Ruby\", \"Crawlers\"},\n  {\"python\", \"Crawlers\"},\n  {\"Python\", \"Crawlers\"},\n  {\"LinkedIn\", \"Crawlers\"},\n  {\"LinkedInBot\", \"Crawlers\"},\n  {\"Microsoft-WebDAV\", \"Crawlers\"},\n  {\"DuckDuckBot\", \"Crawlers\"},\n  {\"bingbot\", \"Crawlers\"},\n  {\"PetalBot\", \"Crawlers\"},\n  {\"Discordbot\", \"Crawlers\"},\n  {\"ZoominfoBot\", \"Crawlers\"},\n  {\"Googlebot\", \"Crawlers\"},\n  {\"DotBot\", \"Crawlers\"},\n  {\"AhrefsBot\", \"Crawlers\"},\n  {\"SemrushBot\", \"Crawlers\"},\n  {\"archive.org_bot\", \"Crawlers\"},\n  {\"BLEXBot\", \"Crawlers\"},\n  {\"NetcraftSurveyAgent\", \"Crawlers\"},\n  {\"Netcraft Web Server Survey\", \"Crawlers\"},\n  {\"masscan\", \"Crawlers\"},\n  {\"MJ12bot\", \"Crawlers\"},\n  {\"Pandalytics\", \"Crawlers\"},\n  {\"YandexBot\", \"Crawlers\"},\n  {\"Nimbostratus-Bot\", \"Crawlers\"},\n  {\"HTTP Banner Detection\", \"Crawlers\"},\n  {\"Hakai\", \"Crawlers\"},\n  {\"WinHttp_WINHTTPREQUEST5\", \"Crawlers\"},\n  {\"NetSystemsResearch\", \"Crawlers\"},\n  {\"Nextcloud Server Crawler\", \"Crawlers\"},\n  {\"CFNetwork\", \"Crawlers\"},\n  {\"GoScraper\", \"Crawlers\"},\n  {\"Googlebot-Image\", \"Crawlers\"},\n  {\"ZmEu\", \"Crawlers\"},\n  {\"DowntimeDetector\", \"Crawlers\"},\n  {\"MauiBot\", \"Crawlers\"},\n  {\"stagefright\", \"Crawlers\"},\n  {\"ImagesiftBot\", \"Crawlers\"},\n  {\"Bytespider\", \"Crawlers\"},\n  {\"WordPress/\", \"Crawlers\"},\n  {\"Synapse\", \"Crawlers\"},\n  {\"Yahoo! Slurp\", \"Crawlers\"},\n  {\"GoogleMobile\", \"Crawlers\"},\n  {\"ZoteroTranslationServer\", \"Crawlers\"},\n  {\"OAI-SearchBot\", \"Crawlers\"},\n  {\"GPTBot\", \"Crawlers\"},\n  {\"PerplexityBot\", \"Crawlers\"},\n  {\"Amazonbot\", \"Crawlers\"},\n  {\"SkypeUriPreview\", \"Crawlers\"},\n  {\"OAI-SearchBot\", \"Crawlers\"},\n  {\"OAI-SearchBot\", \"Crawlers\"}, /* duplicate-safe if you dedupe elsewhere */\n\n  /* Based on Firefox: place all Firefox-based browsers here */\n  {\"Camino\", \"Others\"},\n  {\"Iceweasel\", \"Firefox\"},\n  {\"Waterfox\", \"Firefox\"},\n  {\"PaleMoon\", \"Firefox\"},\n  {\"Focus\", \"Firefox\"},\n  {\"Klar\", \"Firefox\"},\n  {\"Firefox\", \"Firefox\"},\n\n  /* Based on Chromium: place all Chromium-based browsers here, including BeakerBrowser under Others for consistency */\n  {\"Brave\", \"Brave\"},\n  {\"Vivaldi\", \"Vivaldi\"},\n  {\"YaBrowser\", \"Yandex\"},\n  {\"DuckDuckGo/\", \"DuckDuckGo Browser\"},\n\n  /* Chrome: place all Chrome-related user agents here */\n  {\"HeadlessChrome\", \"Chrome\"},\n  {\"Chrome\", \"Chrome\"},\n  {\"CriOS\", \"Chrome\"},\n\n  /* Safari: place all Safari-related user agents here */\n  {\"Safari\", \"Safari\"},\n\n  /* HTTP Library or HTTP Server User Agents: place here */\n  {\"axios\", \"HTTP Library\"}, /* NodeJS axios */\n  {\"lua-resty-http\", \"HTTP Library\"}, /* Ngx luarestyhttp module */\n  {\"Apache-HttpClient\", \"HTTP Library\"},\n  {\"GuzzleHttp\", \"HTTP Library\"},\n  {\"RestSharp\", \"HTTP Library\"},\n  {\"http.rb\", \"HTTP Library\"},\n  {\"Java-http-client\", \"HTTP Library\"},\n  {\"node-fetch\", \"HTTP Library\"},\n\n  /* Citation Services: place here */\n  {\"Citoid\", \"Citation\"}, /* MediaWiki Citoid */\n  {\"EasyBib\", \"Citation\"}, /* Easybib */\n\n  /* Podcast Fetchers: place here */\n  {\"Downcast\", \"Podcasts\"},\n  {\"gPodder\", \"Podcasts\"},\n  {\"Instacast\", \"Podcasts\"},\n  {\"iTunes\", \"Podcasts\"},\n  {\"Miro\", \"Podcasts\"},\n  {\"Pocket Casts\", \"Podcasts\"},\n  {\"BashPodder\", \"Podcasts\"},\n\n  /* Uptime and Monitoring Clients: place here */\n  {\"Pingdom.com\", \"Uptime\"},\n  {\"jetmon\", \"Uptime\"},\n  {\"NodeUptime\", \"Uptime\"},\n  {\"NewRelicPinger\", \"Uptime\"},\n  {\"StatusCake\", \"Uptime\"},\n  {\"internetVista\", \"Uptime\"},\n  {\"Server Density Service Monitoring v2\", \"Uptime\"},\n  {\"Better Uptime Bot\", \"Uptime\"},\n  {\"Site24x7\", \"Uptime\"},\n  {\"Uptime-Kuma\", \"Uptime\"},\n  {\"UptimeRobot\", \"Uptime\"},\n  {\"NewRelicSynthetics\", \"Uptime\"},\n  {\"DatadogSynthetics\", \"Uptime\"},\n  {\"ELB-HealthChecker\", \"Uptime\"},\n  {\"GoogleHC\", \"Uptime\"},\n  {\"kube-probe\", \"Uptime\"},\n  {\"Fastly-HealthChecker\", \"Uptime\"},\n  {\"Cloudflare-Healthchecks\", \"Uptime\"},\n  {\"CloudFlare-AlwaysOnline\", \"Uptime\"},\n\n  /* Performance and Caching: place here */\n  {\"ShortPixel\", \"Performance\"}, /* Image Optimization */\n  {\"WP Rocket\", \"Caching\"}, /* Preloading Cache for WordPress Plugin */\n\n  /* Security: place here */\n  {\"Barracuda Sentinel\", \"Security\"}, /* Barricuda spear fishing service */\n  {\"ACI Site Scanner\", \"Security\"}, /* Can't confirm specific vendor */\n\n  /* Mozilla: catch-all for Mozilla-related user agents */\n  {\"mozilla\", \"Others\"}\n};\n\n/* Free all browser entries from our array of key/value pairs. */\nvoid\nfree_browsers_hash (void) {\n  size_t i;\n  int j;\n\n  for (i = 0; i < ARRAY_SIZE (browsers); ++i) {\n    free (browsers_hash[i][0]);\n    free (browsers_hash[i][1]);\n    free (browsers_hash[i]);\n  }\n  free (browsers_hash);\n\n\n  for (j = 0; j < conf.browsers_hash_idx; ++j) {\n    free (conf.user_browsers_hash[j][0]);\n    free (conf.user_browsers_hash[j][1]);\n    free (conf.user_browsers_hash[j]);\n  }\n  if (conf.browsers_file) {\n    free (conf.user_browsers_hash);\n  }\n}\n\nstatic int\nis_dup (char ***list, int len, const char *browser) {\n  int i;\n  /* check for dups */\n  for (i = 0; i < len; ++i) {\n    if (strcmp (browser, list[i][0]) == 0)\n      return 1;\n  }\n  return 0;\n}\n\n/* Set a browser/type pair into our multidimensional array of browsers.\n *\n * On duplicate functions returns void.\n * Otherwise memory is mallo'd for our array entry. */\nstatic void\nset_browser (char ***list, int idx, const char *browser, const char *type) {\n  list[idx] = xcalloc (2, sizeof (char *));\n  list[idx][0] = xstrdup (browser);\n  list[idx][1] = xstrdup (type);\n}\n\n/* Parse the key/value pair from the browser list file. */\nstatic void\nparse_browser_token (char ***list, char *line, int n) {\n  char *val;\n  size_t idx = 0;\n\n  /* key */\n  idx = strcspn (line, \"\\t\");\n  if (strlen (line) == idx)\n    FATAL (\"Malformed browser name at line: %d\", n);\n\n  line[idx] = '\\0';\n\n  /* value */\n  val = line + (idx + 1);\n  idx = strspn (val, \"\\t\");\n  if (strlen (val) == idx)\n    FATAL (\"Malformed browser category at line: %d\", n);\n  val = val + idx;\n  val = trim_str (val);\n\n  if (is_dup (list, conf.browsers_hash_idx, line)) {\n    LOG_INVALID ((\"Duplicate browser entry: %s\", line));\n    return;\n  }\n\n  set_browser (list, conf.browsers_hash_idx, line, val);\n  conf.browsers_hash_idx++;\n}\n\n/* Parse our default array of browsers and put them on our hash including those\n * from the custom parsed browsers file.\n *\n * On error functions returns void.\n * Otherwise browser entries are put into the hash. */\nvoid\nparse_browsers_file (void) {\n  char line[MAX_LINE_BROWSERS + 1];\n  FILE *file;\n  int n = 0;\n  size_t i, len = ARRAY_SIZE (browsers);\n\n  browsers_hash = xmalloc (ARRAY_SIZE (browsers) * sizeof (char **));\n  /* load hash from the browser's array (default)  */\n  for (i = 0; i < len; ++i) {\n    set_browser (browsers_hash, i, browsers[i][0], browsers[i][1]);\n  }\n\n  if (!conf.browsers_file)\n    return;\n\n  /* could not open browsers file */\n  if ((file = fopen (conf.browsers_file, \"r\")) == NULL)\n    FATAL (\"Unable to open browser's file: %s\", strerror (errno));\n\n  conf.user_browsers_hash = xmalloc (MAX_CUSTOM_BROWSERS * sizeof (char **));\n  /* load hash from the user's given browsers file  */\n  while (fgets (line, sizeof line, file) != NULL) {\n    while (line[0] == ' ' || line[0] == '\\t')\n      memmove (line, line + 1, strlen (line));\n    n++;\n\n    if (line[0] == '\\n' || line[0] == '\\r' || line[0] == '#')\n      continue;\n    if (conf.browsers_hash_idx >= MAX_CUSTOM_BROWSERS)\n      FATAL (\"Maximum number of custom browsers has been reached\");\n    parse_browser_token (conf.user_browsers_hash, line, n);\n  }\n  fclose (file);\n}\n\n/* Determine if the user-agent is a crawler.\n *\n * On error or is not a crawler, 0 is returned.\n * If it is a crawler, 1 is returned . */\nint\nis_crawler (const char *agent) {\n  char btype[BROWSER_TYPE_LEN];\n  char *browser, *a;\n\n  if (agent == NULL || *agent == '\\0')\n    return 0;\n\n  if ((a = xstrdup (agent), browser = verify_browser (a, btype)) != NULL)\n    free (browser);\n  free (a);\n\n  return strcmp (btype, \"Crawlers\") == 0 ? 1 : 0;\n}\n\n/* Return the Opera 15 and beyond.\n *\n * On success, the opera string and version is returned. */\nstatic char *\nparse_opera (char *token) {\n  char *val = xmalloc (snprintf (NULL, 0, \"Opera%s\", token) + 1);\n  sprintf (val, \"Opera%s\", token);\n\n  return val;\n}\n\n/* Given the original user agent string, and a partial crawler match, iterate\n * back until the next delimiter is found and return occurrence.\n *\n * On error when attempting to extract crawler, NULL is returned.\n * If a possible crawler string is matched, then possible bot is returned . */\nstatic char *\nparse_crawler (char *str, char *match, char *type) {\n  char *ptr = NULL;\n  int found = 0;\n\n  while (match != str) {\n    match--;\n    if (*match == ' ' || *match == '+' || match == str) {\n      found = 1;\n      break;\n    }\n  }\n\n  /* same addr */\n  if (!found && match == str)\n    return NULL;\n\n  /* account for the previous +|space */\n  if (found && match != str)\n    match++;\n\n  if ((ptr = strpbrk (match, \"; \")))\n    *ptr = '\\0';\n  /* empty string after parsing it */\n  if (*match == '\\0')\n    return NULL;\n\n  xstrncpy (type, \"Crawlers\", BROWSER_TYPE_LEN);\n\n  return xstrdup (match);\n}\n\n/* If the following string matches are found within user agent, then it's\n * highly likely it's a possible crawler.\n * Note that this could certainly return false positives.\n *\n * If no occurrences are found, NULL is returned.\n * If an occurrence is found, a pointer to the match is returned . */\nstatic char *\ncheck_http_crawler (const char *str) {\n  char *match = NULL;\n\n  /* e.g., compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm */\n  if ((match = strstr (str, \"; +http\")))\n    return match;\n  /* compatible; UptimeRobot/2.0; http://www.uptimerobot.com/ */\n  if ((match = strstr (str, \"; http\")))\n    return match;\n  /* Slack-ImgProxy (+https://api.slack.com/robots) */\n  if ((match = strstr (str, \" (+http\")))\n    return match;\n  /*  TurnitinBot/3.0 (http://www.turnitin.com/robot/crawlerinfo.html) */\n  if ((match = strstr (str, \" (http\")))\n    return match;\n  /* w3c e.g., (compatible;+Googlebot/2.1;++http://www.google.com/bot.html) */\n  if ((match = strstr (str, \";++http\")))\n    return match;\n  return NULL;\n}\n\n/* Parse the given user agent match and extract the browser string.\n *\n * If no match, the original match is returned.\n * Otherwise the parsed browser is returned. */\nstatic char *\nparse_browser (char *match, char *type, int i, char ***hash) {\n  char *b = NULL, *ptr = NULL, *slh = NULL;\n  size_t cnt = 0, space = 0;\n\n  match = char_replace (match, '+', '-');\n  /* Check if there are spaces in the token string, that way strpbrk\n   * does not stop at the first space within the token string */\n  if ((cnt = count_matches (hash[i][0], ' ')) && (b = match)) {\n    while (space++ < cnt && (b = strchr (b, ' ')))\n      b++;\n  } else\n    b = match;\n\n  xstrncpy (type, hash[i][1], BROWSER_TYPE_LEN);\n  /* Internet Explorer 11 */\n  if (strstr (match, \"rv:11\") && strstr (match, \"Trident/7.0\")) {\n    return alloc_string (\"MSIE/11.0\");\n  }\n  /* Opera +15 uses OPR/# */\n  if (strstr (match, \"OPR\") != NULL && (slh = strrchr (match, '/'))) {\n    return parse_opera (slh);\n  }\n  /* Opera has the version number at the end */\n  if (strstr (match, \"Opera\") && (slh = strrchr (match, '/')) && match < slh) {\n    memmove (match + 5, slh, strlen (slh) + 1);\n  }\n  /* IE Old */\n  if (strstr (match, \"MSIE\") != NULL) {\n    if ((ptr = strpbrk (match, \";)-\")) != NULL)\n      *ptr = '\\0';\n    match = char_replace (match, ' ', '/');\n  }\n  /* all others */\n  else if ((ptr = strpbrk (b ? b : match, \";) \\\\\")) != NULL) {\n    *ptr = '\\0';\n  }\n\n  return alloc_string (match);\n}\n\n/* Given a user agent, determine the browser used.\n *\n * ###NOTE: The size of the list is proportional to the run time,\n * which makes this pretty slow\n *\n * On error, NULL is returned.\n * On success, a malloc'd  string containing the browser is returned. */\nchar *\nverify_browser (char *str, char *type) {\n  char *match = NULL, *token = NULL;\n  int i = 0;\n  size_t j = 0;\n\n  if (str == NULL || *str == '\\0')\n    return NULL;\n\n  /* check user's list */\n  for (i = 0; i < conf.browsers_hash_idx; ++i) {\n    if ((match = strstr (str, conf.user_browsers_hash[i][0])) == NULL)\n      continue;\n    return parse_browser (match, type, i, conf.user_browsers_hash);\n  }\n\n  /* fallback to default browser list */\n  for (j = 0; j < ARRAY_SIZE (browsers); ++j) {\n    if ((match = strstr (str, browsers_hash[j][0])) == NULL)\n      continue;\n    return parse_browser (match, type, j, browsers_hash);\n  }\n\n  /* try heuristics */\n  if ((match = check_http_crawler (str)) && (token = parse_crawler (str, match, type)))\n    return token;\n\n  if (conf.unknowns_log)\n    LOG_UNKNOWNS ((\"%-7s%s\\n\", \"[BR]\", str));\n\n  if (conf.unknowns_as_crawlers && strcmp (type, \"Crawlers\"))\n    xstrncpy (type, \"Crawlers\", BROWSER_TYPE_LEN);\n  else\n    xstrncpy (type, \"Unknown\", BROWSER_TYPE_LEN);\n\n  return alloc_string (\"Unknown\");\n}\n"
  },
  {
    "path": "src/browsers.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef BROWSERS_H_INCLUDED\n#define BROWSERS_H_INCLUDED\n\n#define BROWSER_TYPE_LEN     24\n#define MAX_LINE_BROWSERS   128\n#define MAX_CUSTOM_BROWSERS 256\n\n/* Each Browser contains the number of hits and the Browser's type */\ntypedef struct GBrowser_ {\n  char browser_type[BROWSER_TYPE_LEN];\n  int hits;\n} GBrowser;\n\nchar *verify_browser (char *str, char *browser_type);\nint is_crawler (const char *agent);\nvoid free_browsers_hash (void);\nvoid parse_browsers_file (void);\n\n#endif\n"
  },
  {
    "path": "src/color.c",
    "content": "/**\n * color.c -- functions related to custom color\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <strings.h>\n\n#include \"color.h\"\n\n#include \"error.h\"\n#include \"gslist.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\nstatic GSLList *color_list = NULL;\nstatic GSLList *pair_list = NULL;\n\n/* *INDENT-OFF* */\nstatic const GEnum CSTM_COLORS[] = {\n  {\"COLOR_MTRC_HITS\"              , COLOR_MTRC_HITS},\n  {\"COLOR_MTRC_VISITORS\"          , COLOR_MTRC_VISITORS},\n  {\"COLOR_MTRC_HITS_PERC\"         , COLOR_MTRC_HITS_PERC},\n  {\"COLOR_MTRC_VISITORS_PERC\"     , COLOR_MTRC_VISITORS_PERC},\n  {\"COLOR_MTRC_BW_PERC\"           , COLOR_MTRC_BW_PERC},\n  {\"COLOR_MTRC_BW\"                , COLOR_MTRC_BW},\n  {\"COLOR_MTRC_AVGTS\"             , COLOR_MTRC_AVGTS},\n  {\"COLOR_MTRC_CUMTS\"             , COLOR_MTRC_CUMTS},\n  {\"COLOR_MTRC_MAXTS\"             , COLOR_MTRC_MAXTS},\n  {\"COLOR_MTRC_PROT\"              , COLOR_MTRC_PROT},\n  {\"COLOR_MTRC_MTHD\"              , COLOR_MTRC_MTHD},\n  {\"COLOR_MTRC_DATA\"              , COLOR_MTRC_DATA},\n  {\"COLOR_MTRC_HITS_PERC_MAX\"     , COLOR_MTRC_HITS_PERC_MAX},\n  {\"COLOR_MTRC_VISITORS_PERC_MAX\" , COLOR_MTRC_VISITORS_PERC_MAX},\n  {\"COLOR_MTRC_BW_PERC_MAX\"       , COLOR_MTRC_BW_PERC_MAX},\n  {\"COLOR_PANEL_COLS\"             , COLOR_PANEL_COLS},\n  {\"COLOR_BARS\"                   , COLOR_BARS},\n  {\"COLOR_SUBBARS\"                , COLOR_SUBBARS},\n  {\"COLOR_CHART_AXIS\"             , COLOR_CHART_AXIS},\n  {\"COLOR_CHART_VALUES\"           , COLOR_CHART_VALUES},\n  {\"COLOR_ERROR\"                  , COLOR_ERROR},\n  {\"COLOR_SELECTED\"               , COLOR_SELECTED},\n  {\"COLOR_PANEL_ACTIVE\"           , COLOR_PANEL_ACTIVE},\n  {\"COLOR_PANEL_HEADER\"           , COLOR_PANEL_HEADER},\n  {\"COLOR_PANEL_DESC\"             , COLOR_PANEL_DESC},\n  {\"COLOR_OVERALL_LBLS\"           , COLOR_OVERALL_LBLS},\n  {\"COLOR_OVERALL_VALS\"           , COLOR_OVERALL_VALS},\n  {\"COLOR_OVERALL_PATH\"           , COLOR_OVERALL_PATH},\n  {\"COLOR_ACTIVE_LABEL\"           , COLOR_ACTIVE_LABEL},\n  {\"COLOR_BG\"                     , COLOR_BG},\n  {\"COLOR_DEFAULT\"                , COLOR_DEFAULT},\n  {\"COLOR_PROGRESS\"               , COLOR_PROGRESS},\n};\n\nstatic const char *const colors256_mono[] = {\n  \"COLOR_MTRC_HITS              color7:color-1\",\n  \"COLOR_MTRC_VISITORS          color8:color-1\",\n  \"COLOR_MTRC_DATA              color7:color-1\",\n  \"COLOR_MTRC_BW                color8:color-1\",\n  \"COLOR_MTRC_AVGTS             color8:color-1\",\n  \"COLOR_MTRC_CUMTS             color8:color-1\",\n  \"COLOR_MTRC_MAXTS             color8:color-1\",\n  \"COLOR_MTRC_PROT              color8:color-1\",\n  \"COLOR_MTRC_MTHD              color7:color-1\",\n  \"COLOR_MTRC_HITS_PERC         color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_VISITORS_PERC     color0:color-1 bold\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC           color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC_MAX       color0:color-1 bold\",\n  \"COLOR_PANEL_COLS             color7:color-1\",\n  \"COLOR_BARS                   color7:color-1\",\n  \"COLOR_SUBBARS                color8:color-1\",\n  \"COLOR_CHART_AXIS             color7:color-1\",\n  \"COLOR_CHART_VALUES           color7:color-1\",\n  \"COLOR_ERROR                  color7:color1\",\n  \"COLOR_SELECTED               color7:color8\",\n  \"COLOR_PANEL_ACTIVE           color0:color3\",\n  \"COLOR_PANEL_HEADER           color0:color7\",\n  \"COLOR_PANEL_DESC             color7:color-1\",\n  \"COLOR_OVERALL_LBLS           color7:color-1 bold\",\n  \"COLOR_OVERALL_VALS           color6:color-1 bold\",\n  \"COLOR_OVERALL_PATH           color3:color-1\",\n  \"COLOR_ACTIVE_LABEL           color4:color7\",\n  \"COLOR_BG                     color7:color-1\",\n  \"COLOR_DEFAULT                color7:color-1\",\n  \"COLOR_PROGRESS               color0:color6\",\n};\n\nstatic const char *const colors256_green[] = {\n  \"COLOR_MTRC_HITS              color7:color-1\",\n  \"COLOR_MTRC_VISITORS          color8:color-1\",\n  \"COLOR_MTRC_DATA              color7:color-1\",\n  \"COLOR_MTRC_BW                color8:color-1\",\n  \"COLOR_MTRC_AVGTS             color8:color-1\",\n  \"COLOR_MTRC_CUMTS             color8:color-1\",\n  \"COLOR_MTRC_MAXTS             color8:color-1\",\n  \"COLOR_MTRC_PROT              color8:color-1\",\n  \"COLOR_MTRC_MTHD              color7:color-1\",\n  \"COLOR_MTRC_HITS_PERC         color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_VISITORS_PERC     color0:color-1 bold\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC           color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC_MAX       color0:color-1 bold\",\n  \"COLOR_PANEL_COLS             color7:color-1\",\n  \"COLOR_BARS                   color7:color-1\",\n  \"COLOR_SUBBARS                color8:color-1\",\n  \"COLOR_CHART_AXIS             color7:color-1\",\n  \"COLOR_CHART_VALUES           color7:color-1\",\n  \"COLOR_ERROR                  color7:color1\",\n  \"COLOR_SELECTED               color7:color8\",\n  \"COLOR_PANEL_ACTIVE           color0:color3\",\n  \"COLOR_PANEL_HEADER           color0:color35\",\n  \"COLOR_PANEL_DESC             color7:color-1\",\n  \"COLOR_OVERALL_LBLS           color7:color-1 bold\",\n  \"COLOR_OVERALL_VALS           color6:color-1 bold\",\n  \"COLOR_OVERALL_PATH           color3:color-1\",\n  \"COLOR_ACTIVE_LABEL           color7:color35\",\n  \"COLOR_BG                     color7:color-1\",\n  \"COLOR_DEFAULT                color7:color-1\",\n  \"COLOR_PROGRESS               color0:color6\",\n};\n\nstatic const char *const colors256_monokai[] = {\n  \"COLOR_MTRC_HITS              color197:color-1\",\n  \"COLOR_MTRC_VISITORS          color148:color-1\",\n  \"COLOR_MTRC_DATA              color7:color-1\",\n  \"COLOR_MTRC_BW                color81:color-1\",\n  \"COLOR_MTRC_AVGTS             color247:color-1\",\n  \"COLOR_MTRC_CUMTS             color95:color-1\",\n  \"COLOR_MTRC_MAXTS             color186:color-1\",\n  \"COLOR_MTRC_PROT              color141:color-1\",\n  \"COLOR_MTRC_MTHD              color81:color-1\",\n  \"COLOR_MTRC_HITS_PERC         color186:color-1\",\n  \"COLOR_MTRC_HITS_PERC         color186:color-1 VISITORS\",\n  \"COLOR_MTRC_HITS_PERC         color186:color-1 OS\",\n  \"COLOR_MTRC_HITS_PERC         color186:color-1 BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC         color186:color-1 VISIT_TIMES\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color208:color-1\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color208:color-1 VISITORS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color208:color-1 OS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color208:color-1 BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color208:color-1 VISIT_TIMES\",\n  \"COLOR_MTRC_VISITORS_PERC     color187:color-1\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color208:color-1\",\n  \"COLOR_MTRC_BW_PERC           color187:color-1\",\n  \"COLOR_MTRC_BW_PERC_MAX       color208:color-1\",\n  \"COLOR_PANEL_COLS             color242:color-1\",\n  \"COLOR_BARS                   color240:color-1\",\n  \"COLOR_SUBBARS                color250:color-1\",\n  \"COLOR_CHART_AXIS             color241:color-1\",\n  \"COLOR_CHART_VALUES           color248:color-1\",\n  \"COLOR_ERROR                  color231:color197\",\n  \"COLOR_SELECTED               color0:color215\",\n  \"COLOR_PANEL_ACTIVE           color7:color240\",\n  \"COLOR_PANEL_HEADER           color7:color237\",\n  \"COLOR_PANEL_DESC             color242:color-1\",\n  \"COLOR_OVERALL_LBLS           color251:color-1\",\n  \"COLOR_OVERALL_VALS           color148:color-1\",\n  \"COLOR_OVERALL_PATH           color186:color-1\",\n  \"COLOR_ACTIVE_LABEL           color7:color237\",\n  \"COLOR_BG                     color7:color-1\",\n  \"COLOR_DEFAULT                color7:color-1\",\n  \"COLOR_PROGRESS               color7:color141\",\n};\n\nstatic const char *const colors8_mono[] = {\n  \"COLOR_MTRC_HITS              color7:color-1\",\n  \"COLOR_MTRC_VISITORS          color0:color-1 bold\",\n  \"COLOR_MTRC_DATA              color7:color-1\",\n  \"COLOR_MTRC_BW                color0:color-1 bold\",\n  \"COLOR_MTRC_AVGTS             color0:color-1 bold\",\n  \"COLOR_MTRC_CUMTS             color0:color-1 bold\",\n  \"COLOR_MTRC_MAXTS             color0:color-1 bold\",\n  \"COLOR_MTRC_PROT              color0:color-1 bold\",\n  \"COLOR_MTRC_MTHD              color7:color-1 \",\n  \"COLOR_MTRC_HITS_PERC         color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_VISITORS_PERC     color0:color-1 bold\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC           color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC_MAX       color0:color-1 bold\",\n  \"COLOR_PANEL_COLS             color7:color-1\",\n  \"COLOR_BARS                   color7:color-1\",\n  \"COLOR_SUBBARS                color8:color-1\",\n  \"COLOR_CHART_AXIS             color7:color-1\",\n  \"COLOR_CHART_VALUES           color7:color-1\",\n  \"COLOR_ERROR                  color7:color1\",\n  \"COLOR_SELECTED               color0:color7\",\n  \"COLOR_PANEL_ACTIVE           color0:color3\",\n  \"COLOR_PANEL_HEADER           color0:color7\",\n  \"COLOR_PANEL_DESC             color7:color-1\",\n  \"COLOR_OVERALL_LBLS           color7:color-1 bold\",\n  \"COLOR_OVERALL_VALS           color6:color-1\",\n  \"COLOR_OVERALL_PATH           color3:color-1\",\n  \"COLOR_ACTIVE_LABEL           color4:color7\",\n  \"COLOR_BG                     color7:color-1\",\n  \"COLOR_DEFAULT                color7:color-1\",\n  \"COLOR_PROGRESS               color0:color6\",\n};\n\nstatic const char *const colors8_green[] = {\n  \"COLOR_MTRC_HITS              color7:color-1\",\n  \"COLOR_MTRC_VISITORS          color0:color-1 bold\",\n  \"COLOR_MTRC_DATA              color7:color-1\",\n  \"COLOR_MTRC_BW                color0:color-1 bold\",\n  \"COLOR_MTRC_AVGTS             color0:color-1 bold\",\n  \"COLOR_MTRC_CUMTS             color0:color-1 bold\",\n  \"COLOR_MTRC_MAXTS             color0:color-1 bold\",\n  \"COLOR_MTRC_PROT              color0:color-1 bold\",\n  \"COLOR_MTRC_MTHD              color7:color-1 \",\n  \"COLOR_MTRC_HITS_PERC         color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC         color1:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color0:color-1 bold\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISITORS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold OS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold BROWSERS\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color3:color-1 bold VISIT_TIMES\",\n  \"COLOR_MTRC_VISITORS_PERC     color0:color-1 bold\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC           color0:color-1 bold\",\n  \"COLOR_MTRC_BW_PERC_MAX       color0:color-1 bold\",\n  \"COLOR_PANEL_COLS             color7:color-1\",\n  \"COLOR_BARS                   color2:color-1\",\n  \"COLOR_SUBBARS                color8:color-1\",\n  \"COLOR_CHART_AXIS             color2:color-1\",\n  \"COLOR_CHART_VALUES           color2:color-1\",\n  \"COLOR_ERROR                  color7:color1\",\n  \"COLOR_SELECTED               color0:color7\",\n  \"COLOR_PANEL_ACTIVE           color0:color3\",\n  \"COLOR_PANEL_HEADER           color0:color2\",\n  \"COLOR_PANEL_DESC             color7:color-1\",\n  \"COLOR_OVERALL_LBLS           color7:color-1 bold\",\n  \"COLOR_OVERALL_VALS           color6:color-1\",\n  \"COLOR_OVERALL_PATH           color3:color-1\",\n  \"COLOR_ACTIVE_LABEL           color0:color2\",\n  \"COLOR_BG                     color7:color-1\",\n  \"COLOR_DEFAULT                color7:color-1\",\n  \"COLOR_PROGRESS               color0:color6\",\n};\n\nstatic const char *const nocolors[] = {\n  \"COLOR_MTRC_HITS              color0:color-1\",\n  \"COLOR_MTRC_VISITORS          color0:color-1\",\n  \"COLOR_MTRC_DATA              color0:color-1\",\n  \"COLOR_MTRC_BW                color0:color-1\",\n  \"COLOR_MTRC_AVGTS             color0:color-1\",\n  \"COLOR_MTRC_CUMTS             color0:color-1\",\n  \"COLOR_MTRC_MAXTS             color0:color-1\",\n  \"COLOR_MTRC_PROT              color0:color-1\",\n  \"COLOR_MTRC_MTHD              color0:color-1\",\n  \"COLOR_MTRC_HITS_PERC         color0:color-1\",\n  \"COLOR_MTRC_HITS_PERC_MAX     color0:color-1\",\n  \"COLOR_MTRC_VISITORS_PERC     color0:color-1\",\n  \"COLOR_MTRC_VISITORS_PERC_MAX color0:color-1\",\n  \"COLOR_MTRC_BW_PERC           color0:color-1\",\n  \"COLOR_MTRC_BW_PERC_MAX       color0:color-1\",\n  \"COLOR_PANEL_COLS             color0:color-1\",\n  \"COLOR_BARS                   color0:color-1\",\n  \"COLOR_SUBBARS                color0:color-1\",\n  \"COLOR_CHART_AXIS             color0:color-1\",\n  \"COLOR_CHART_VALUES           color0:color-1\",\n  \"COLOR_ERROR                  color0:color-1\",\n  \"COLOR_SELECTED               color0:color-1 reverse\",\n  \"COLOR_PANEL_ACTIVE           color0:color-1 reverse\",\n  \"COLOR_PANEL_HEADER           color0:color-1 reverse\",\n  \"COLOR_PANEL_DESC             color0:color-1\",\n  \"COLOR_OVERALL_LBLS           color0:color-1\",\n  \"COLOR_OVERALL_VALS           color0:color-1\",\n  \"COLOR_OVERALL_PATH           color0:color-1\",\n  \"COLOR_ACTIVE_LABEL           color0:color-1 reverse\",\n  \"COLOR_BG                     color0:color-1\",\n  \"COLOR_DEFAULT                color0:color-1\",\n  \"COLOR_PROGRESS               color0:color-1 reverse\",\n};\n\n/* *INDENT-ON* */\n\n/* Allocate memory for color elements */\nstatic GColors *\nnew_gcolors (void) {\n  GColors *color = xcalloc (1, sizeof (GColors));\n  color->module = -1;\n\n  return color;\n}\n\n/* Allocate memory for a color element properties */\nstatic GColorPair *\nnew_gcolorpair (void) {\n  GColorPair *pair = xcalloc (1, sizeof (GColorPair));\n  /* Must be between 2 and COLOR_PAIRS-1.\n   * Starts at 2 since COLOR_NORMAL has already been set */\n  pair->idx = 2;\n\n  return pair;\n}\n\n/* Free malloc'd memory for color elements */\nvoid\nfree_color_lists (void) {\n  if (pair_list)\n    list_remove_nodes (pair_list);\n  if (color_list)\n    list_remove_nodes (color_list);\n  color_list = NULL;\n  pair_list = NULL;\n}\n\n/* Set a default color - COLOR_NORMAL, this will be used if\n * no colors are supported by the terminal */\nvoid\nset_normal_color (void) {\n  GColorPair *pair = new_gcolorpair ();\n  GColors *color = new_gcolors ();\n\n  pair->idx = 1;\n  pair->fg = COLOR_WHITE;\n  pair->bg = -1;\n\n  color->pair = pair;\n  color->item = COLOR_NORMAL;\n\n  pair_list = list_create (pair);\n  color_list = list_create (color);\n\n  init_pair (pair->idx, pair->fg, pair->bg);\n}\n\n/* Get color properties for COLOR_OVERALL_LBLS */\nGColors *\ncolor_overall_lbls (void) {\n  return get_color (COLOR_OVERALL_LBLS);\n}\n\n/* Get color properties for COLOR_OVERALL_VALS */\nGColors *\ncolor_overall_vals (void) {\n  return get_color (COLOR_OVERALL_VALS);\n}\n\n/* Get color properties for COLOR_OVERALL_PATH */\nGColors *\ncolor_overall_path (void) {\n  return get_color (COLOR_OVERALL_PATH);\n}\n\n/* Get color properties for COLOR_PANEL_HEADER */\nGColors *\ncolor_panel_header (void) {\n  return get_color (COLOR_PANEL_HEADER);\n}\n\n/* Get color properties for COLOR_PANEL_DESC */\nGColors *\ncolor_panel_desc (void) {\n  return get_color (COLOR_PANEL_DESC);\n}\n\n/* Get color properties for COLOR_PANEL_ACTIVE*/\nGColors *\ncolor_panel_active (void) {\n  return get_color (COLOR_PANEL_ACTIVE);\n}\n\n/* Get color properties for COLOR_SELECTED */\nGColors *\ncolor_selected (void) {\n  return get_color (COLOR_SELECTED);\n}\n\n/* Get color properties for COLOR_PROGRESS */\nGColors *\ncolor_progress (void) {\n  return get_color (COLOR_PROGRESS);\n}\n\n/* Get color properties for COLOR_DEFAULT */\nGColors *\ncolor_default (void) {\n  return get_color (COLOR_DEFAULT);\n}\n\n/* Get color properties for COLOR_ERROR */\nGColors *\ncolor_error (void) {\n  return get_color (COLOR_ERROR);\n}\n\n/* Get the enumerated color given its equivalent color string.\n *\n * On error, -1 is returned.\n * On success, the enumerated color is returned. */\nstatic int\nget_color_item_enum (const char *str) {\n  return str2enum (CSTM_COLORS, ARRAY_SIZE (CSTM_COLORS), str);\n}\n\n/* Extract color number from the given config string.\n *\n * On error, -2 is returned. If color is greater than max colors, it aborts.\n * On success, the color number is returned. */\nstatic int\nextract_color (char *color) {\n  char *sEnd;\n  int col = 0;\n\n  if (strncasecmp (color, \"color\", 5) != 0)\n    return -2;\n\n  color += 5;\n  col = strtol (color, &sEnd, 10);\n  if (color == sEnd || *sEnd != '\\0' || errno == ERANGE)\n    return -2;\n  /* ensure used color is supported by the terminal */\n  if (col > COLORS)\n    FATAL (\"Terminal doesn't support color: %d - max colors: %d\", col, COLORS);\n\n  return col;\n}\n\n/* Assign the background and foreground color number from the given\n * config string to GColorPair.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nparse_bg_fg_color (GColorPair *pair, const char *value) {\n  char bgcolor[COLOR_STR_LEN] = \"\", fgcolor[COLOR_STR_LEN] = \"\";\n  int ret = 0;\n\n  if (sscanf (value, \"%8[^:]:%8[^ ]\", fgcolor, bgcolor) != 2)\n    return 1;\n\n  if ((pair->bg = extract_color (bgcolor)) == -2)\n    ret = 1;\n\n  if ((pair->fg = extract_color (fgcolor)) == -2)\n    ret = 1;\n\n  return ret;\n}\n\n/* Assign color attributes from the given config string to GColors. */\nstatic void\nlocate_attr_color (GColors *color, const char *attr) {\n  if (strstr (attr, \"bold\"))\n    color->attr |= A_BOLD;\n  if (strstr (attr, \"underline\"))\n    color->attr |= A_UNDERLINE;\n  if (strstr (attr, \"normal\"))\n    color->attr |= A_NORMAL;\n  if (strstr (attr, \"reverse\"))\n    color->attr |= A_REVERSE;\n  if (strstr (attr, \"standout\"))\n    color->attr |= A_REVERSE;\n  if (strstr (attr, \"blink\"))\n    color->attr |= A_BLINK;\n}\n\n/* Parse color attributes from the given config string.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nparse_attr_color (GColors *color, const char *value) {\n  char *line, *ptr, *start;\n  int ret = 0;\n\n  line = xstrdup (value);\n\n  start = strchr (line, ' ');\n  if ((!start) || (!*(start + 1))) {\n    LOG_DEBUG ((\"attempted to parse color attr: %s\\n\", value));\n    goto clean;\n  }\n\n  start++;\n  while (1) {\n    if ((ptr = strpbrk (start, \", \")) != NULL)\n      *ptr = 0;\n    locate_attr_color (color, start);\n    if (ptr == NULL)\n      break;\n    start = ptr + 1;\n  }\n\nclean:\n  free (line);\n\n  return ret;\n}\n\n/* Parse color module from the given config string.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nparse_module_color (GColors *color, const char *value) {\n  char *line = xstrdup (value), *p;\n\n  p = strrchr (line, ' ');\n  if (!p || !*(p + 1)) {\n    LOG_DEBUG ((\"attempted to parse color module: %s\\n\", value));\n    goto clean;\n  }\n\n  if ((color->module = get_module_enum (p + 1)) == -1)\n    LOG_DEBUG ((\"attempted to parse color module: %s\\n\", value));\n\nclean:\n  free (line);\n\n  return 0;\n}\n\n/* Find a color by item and module attributes on the list of already\n * parsed colors.\n *\n * If color exists, 1 is returned.\n * If color does not exist, 1 is returned. */\nstatic int\nfind_color_in_list (void *data, void *color) {\n  GColors *new_color = color;\n  GColors *old_color = data;\n\n  if (old_color->item != new_color->item)\n    return 0;\n  if (old_color->module != new_color->module)\n    return 0;\n  return 1;\n}\n\n/* Find a color by foreground and background attributes on the list of\n * already parsed colors.\n *\n * If color exists, 1 is returned.\n * If color does not exist, 1 is returned. */\nstatic int\nfind_pair_in_list (void *data, void *color) {\n  GColorPair *new_color = color;\n  GColorPair *old_color = data;\n\n  if (old_color->fg != new_color->fg)\n    return 0;\n  if (old_color->bg != new_color->bg)\n    return 0;\n  return 1;\n}\n\n/* Compare a color item (GColorItem) that has no module with the given needle\n * item.\n *\n * If the items match and with no module, 1 is returned.\n * If condition is not satisfied, 0 is returned. */\nstatic int\nfind_color_item_in_list (void *data, void *needle) {\n  GColors *color = data;\n  GColorItem *item = needle;\n\n  return color->item == (GColorItem) (*(int *) item) && color->module == -1;\n}\n\n/* Compare a color item (GColorItem) and module with the given needle item.\n *\n * If the items match and with no module, 1 is returned.\n * If condition is not satisfied, 0 is returned. */\nstatic int\nfind_color_item_module_in_list (void *data, void *needle) {\n  GColors *color = data;\n  GColors *item = needle;\n\n  return color->item == item->item && color->module == item->module;\n}\n\n/* Get color item properties given an item (enumerated).\n *\n * On error, it aborts.\n * On success, the color item properties are returned, or NULL if no match\n * found. */\nGColors *\nget_color (GColorItem item) {\n  GColorItem normal = COLOR_NORMAL;\n  GSLList *match = NULL;\n\n  if ((match = list_find (color_list, find_color_item_in_list, &item)))\n    return (GColors *) match->data;\n\n  if ((match = list_find (color_list, find_color_item_in_list, &normal)))\n    return (GColors *) match->data;\n\n  /* should not get here */\n  FATAL (\"Unable to find color item %d\", item);\n}\n\n/* Get color item properties given an item (enumerated) and its module.\n *\n * On error, it aborts.\n * On success, the color item properties are returned, or NULL if no match\n * found. */\nGColors *\nget_color_by_item_module (GColorItem item, GModule module) {\n  GColors *needle = new_gcolors (), *color = NULL;\n  GSLList *match = NULL;\n\n  needle->module = module;\n  needle->item = item;\n\n  /* find color for specific item/module pair */\n  if ((match = list_find (color_list, find_color_item_module_in_list, needle)))\n    color = match->data;\n\n  /* attempt to find color by item (fallback) */\n  if (!color)\n    color = get_color (item);\n  free (needle);\n\n  return color;\n}\n\n/* Parse a color definition line from the config file.\n *\n * On error, it aborts.\n * On success, the color properties are assigned */\nstatic void\nparse_color_line (GColorPair *pair, GColors *color, char *line) {\n  char *val;\n  int item = 0;\n  size_t idx;\n\n  /* key */\n  idx = strcspn (line, \" \\t\");\n  if (strlen (line) == idx)\n    FATAL (\"Malformed color key at line: %s\", line);\n\n  line[idx] = '\\0';\n  if ((item = get_color_item_enum (line)) == -1)\n    FATAL (\"Unable to find color key: %s\", line);\n\n  /* value */\n  val = line + (idx + 1);\n  idx = strspn (val, \" \\t\");\n  if (strlen (val) == idx)\n    FATAL (\"Malformed color value at line: %s\", line);\n  val = val + idx;\n\n  /* get background/foreground color */\n  if (parse_bg_fg_color (pair, val) == 1)\n    FATAL (\"Invalid bg/fg color pairs at: %s %s\", line, val);\n\n  if (parse_attr_color (color, val) == 1)\n    FATAL (\"Invalid color attrs at: %s %s\", line, val);\n\n  if (parse_module_color (color, val) == 1)\n    FATAL (\"Invalid color module at: %s %s\", line, val);\n\n  color->item = item;\n}\n\n/* Attempt to prepend the given color on our color linked list.\n *\n * On error, or if color already exists, the given color is freed.\n * On success, or if not color found, store color properties */\nstatic void\nprepend_color (GColors **color) {\n  /* create a list of colors if one does not exist */\n  if (color_list == NULL) {\n    color_list = list_create (*color);\n  }\n  /* attempt to find the given color data type (by item and attributes) in\n   * our color list */\n  else if (list_find (color_list, find_color_in_list, *color)) {\n    /* if found, free the recently malloc'd color data type and use\n     * existing color */\n    free (*color);\n    *color = NULL;\n  } else {\n    /* not a dup, so insert the new color in our color list */\n    color_list = list_insert_prepend (color_list, *color);\n  }\n}\n\n/* Parse a color definition line from the config file and store it on a single\n * linked-list.\n *\n * On error, it aborts.\n * On success, the color properties are stored */\nstatic void\nparse_color (char *line) {\n  GSLList *match = NULL;\n  GColors *color = NULL;\n  GColorPair *pair = NULL;\n\n  color = new_gcolors ();\n  pair = new_gcolorpair ();\n\n  /* extract a color pair and color attributes from the given config line */\n  parse_color_line (pair, color, line);\n\n  /* create a pair color list if one doesn't exist */\n  if (pair_list == NULL) {\n    pair_list = list_create (pair);\n  }\n  /* attempt to find the given color pair in our pair list */\n  else if ((match = list_find (pair_list, find_pair_in_list, pair))) {\n    /* pair found, use new pair and free existing one */\n    free (pair);\n    pair = (GColorPair *) match->data;\n  }\n  /* pair not found, use it then */\n  else {\n    pair->idx += list_count (pair_list);\n    pair_list = list_insert_prepend (pair_list, pair);\n  }\n  /* set color pair */\n  color->pair = pair;\n  prepend_color (&color);\n\n  /* if no color pair was found, then we init the color pair */\n  if (!match && color)\n    init_pair (color->pair->idx, color->pair->fg, color->pair->bg);\n\n  free (line);\n}\n\n/* Iterate over all color definitions in the config file.\n *\n * On error, it aborts.\n * On success, the color properties are parsed and stored */\nstatic void\nparse_colors (const char *const colors[], size_t n) {\n  char *line;\n  size_t i;\n\n  for (i = 0; i < n; ++i) {\n    line = strdup (colors[i]);\n    /* did not find a valid format */\n    if (strchr (line, ':') == NULL) {\n      free (line);\n      continue;\n    }\n    parse_color (line);\n  }\n}\n\n/* Use default color definitions if necessary. */\nstatic void\nadd_default_colors (void) {\n  /* no colors */\n  if (COLORS < 8)\n    parse_colors (nocolors, ARRAY_SIZE (nocolors));\n\n  /* 256 colors, and no color scheme set or set to monokai */\n  if (COLORS == 256 && (!conf.color_scheme || conf.color_scheme == MONOKAI))\n    parse_colors (colors256_monokai, ARRAY_SIZE (colors256_monokai));\n  /* otherwise use 16 colors scheme */\n  else if (COLORS > 16) {\n    if (conf.color_scheme == STD_GREEN)\n      parse_colors (colors256_green, ARRAY_SIZE (colors256_green));\n    else\n      parse_colors (colors256_mono, ARRAY_SIZE (colors256_mono));\n  }\n\n  /* 8 colors */\n  if (COLORS >= 8 && COLORS <= 16) {\n    if (conf.color_scheme == STD_GREEN)\n      parse_colors (colors8_green, ARRAY_SIZE (colors8_green));\n    else\n      parse_colors (colors8_mono, ARRAY_SIZE (colors8_mono));\n  }\n}\n\n/* Entry point to parse color definitions or use default colors */\nvoid\nset_colors (int force) {\n  errno = 0;\n  if (conf.color_idx > 0 && !force)\n    parse_colors (conf.colors, conf.color_idx);\n  else\n    add_default_colors ();\n}\n"
  },
  {
    "path": "src/color.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef COLOR_H_INCLUDED\n#define COLOR_H_INCLUDED\n\n#define COLOR_STR_LEN 9\n\n/* Color Items/Fields */\ntypedef enum CSTM_COLORS {\n  COLOR_NORMAL,\n  COLOR_MTRC_HITS,\n  COLOR_MTRC_VISITORS,\n  COLOR_MTRC_DATA,\n  COLOR_MTRC_BW,\n  COLOR_MTRC_AVGTS,\n  COLOR_MTRC_CUMTS,\n  COLOR_MTRC_MAXTS,\n  COLOR_MTRC_PROT,\n  COLOR_MTRC_MTHD,\n  COLOR_MTRC_HITS_PERC,\n  COLOR_MTRC_HITS_PERC_MAX,\n  COLOR_MTRC_VISITORS_PERC,\n  COLOR_MTRC_VISITORS_PERC_MAX,\n  COLOR_MTRC_BW_PERC,\n  COLOR_MTRC_BW_PERC_MAX,\n  COLOR_PANEL_COLS,\n  COLOR_BARS,\n  COLOR_SUBBARS,\n  COLOR_CHART_AXIS,\n  COLOR_CHART_VALUES,\n  COLOR_ERROR,\n  COLOR_SELECTED,\n  COLOR_PANEL_ACTIVE,\n  COLOR_PANEL_HEADER,\n  COLOR_PANEL_DESC,\n  COLOR_OVERALL_LBLS,\n  COLOR_OVERALL_VALS,\n  COLOR_OVERALL_PATH,\n  COLOR_ACTIVE_LABEL,\n  COLOR_BG,\n  COLOR_DEFAULT,\n  COLOR_PROGRESS,\n} GColorItem;\n\n/* Default Color Schemes */\ntypedef enum SCHEMES {\n  NO_COLOR,\n  MONOCHROME,\n  STD_GREEN,\n  MONOKAI,\n} GSchemes;\n\n#include \"commons.h\"\n\n/* Each color properties */\ntypedef struct GColorPair_ {\n  short idx;                    /* color pair index identifier */\n  short fg;                     /* foreground color */\n  short bg;                     /* background color */\n} GColorPair;\n\n/* Color */\ntypedef struct GColors_ {\n  GColorItem item;              /* screen item */\n  GColorPair *pair;             /* color pair */\n  int attr;                     /* color attributes, e.g., bold */\n  short module;                 /* panel */\n  int pair_idx;\n} GColors;\n\nGColors *color_default (void);\nGColors *color_error (void);\nGColors *color_overall_lbls (void);\nGColors *color_overall_path (void);\nGColors *color_overall_vals (void);\nGColors *color_panel_active (void);\nGColors *color_panel_desc (void);\nGColors *color_panel_header (void);\nGColors *color_progress (void);\nGColors *color_selected (void);\nGColors *get_color_by_item_module (GColorItem item, GModule module);\nGColors *get_color (GColorItem item);\nGColors *get_color_normal (void);\nvoid free_color_lists (void);\nvoid set_colors (int force);\nvoid set_normal_color (void);\n\n#endif // for #ifndef COLOR_H\n"
  },
  {
    "path": "src/commons.c",
    "content": "/**\n * commons.c -- holds different data types\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n\n#include \"commons.h\"\n\n#include \"labels.h\"\n#include \"settings.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* processing time */\ntime_t end_proc;\ntime_t timestamp;\ntime_t start_proc;\n\n/* list of available modules/panels */\nint module_list[TOTAL_MODULES] = {[0 ... TOTAL_MODULES - 1] = -1 };\n\n/* *INDENT-OFF* */\n/* String modules to enumerated modules */\nstatic const GEnum enum_modules[] = {\n  {\"VISITORS\"        , VISITORS}        ,\n  {\"REQUESTS\"        , REQUESTS}        ,\n  {\"REQUESTS_STATIC\" , REQUESTS_STATIC} ,\n  {\"NOT_FOUND\"       , NOT_FOUND}       ,\n  {\"HOSTS\"           , HOSTS}           ,\n  {\"OS\"              , OS}              ,\n  {\"BROWSERS\"        , BROWSERS}        ,\n  {\"VISIT_TIMES\"     , VISIT_TIMES}     ,\n  {\"VIRTUAL_HOSTS\"   , VIRTUAL_HOSTS}   ,\n  {\"REFERRERS\"       , REFERRERS}       ,\n  {\"REFERRING_SITES\" , REFERRING_SITES} ,\n  {\"KEYPHRASES\"      , KEYPHRASES}      ,\n  {\"STATUS_CODES\"    , STATUS_CODES}    ,\n  {\"REMOTE_USER\"     , REMOTE_USER}     ,\n  {\"CACHE_STATUS\"    , CACHE_STATUS}    ,\n#ifdef HAVE_GEOLOCATION\n  {\"GEO_LOCATION\"    , GEO_LOCATION}    ,\n  {\"ASN\"             , ASN}             ,\n#endif\n  {\"MIME_TYPE\"       , MIME_TYPE}       ,\n  {\"TLS_TYPE\"        , TLS_TYPE}        ,\n};\n/* *INDENT-ON* */\n\n/* Get number of items per panel/level to parse.\n *\n * If is_sub is true, returns sub-item limits, otherwise returns panel limits.\n * The number of items per panel/level is returned. */\nstatic uint32_t\nget_max_choices_internal (int is_sub) {\n  char *csv = NULL, *json = NULL, *html = NULL;\n  int max = MAX_CHOICES;\n  int rt_default = is_sub ? MAX_CHOICES_SUB_RT : MAX_CHOICES_RT;\n\n  /* no max choices, return defaults */\n  if (conf.max_items <= 0)\n    return conf.real_time_html ? rt_default : (conf.date_spec_hr == 2 ? MAX_CHOICES_MINUTE : MAX_CHOICES);\n\n  /* TERM */\n  if (!conf.output_stdout)\n    return conf.max_items > MAX_CHOICES ? MAX_CHOICES : conf.max_items;\n\n  /* REAL-TIME STDOUT */\n  /* real time HTML, display max rt choices - always cap at MAX_CHOICES_RT */\n  if (conf.real_time_html)\n    return conf.max_items > MAX_CHOICES_RT ? MAX_CHOICES_RT : conf.max_items;\n\n  /* STDOUT */\n  /* CSV - allow n amount of choices */\n  if (find_output_type (&csv, \"csv\", 1) == 0)\n    max = conf.max_items;\n  /* JSON - allow n amount of choices */\n  if (find_output_type (&json, \"json\", 1) == 0 && conf.max_items > 0)\n    max = conf.max_items;\n  /* HTML - takes priority on cases where multiple outputs were given. Note that\n   * we check either for an .html extension or we assume not extension was passed\n   * via -o and therefore we are redirecting the output to a file. */\n  if (find_output_type (&html, \"html\", 1) == 0 || conf.output_format_idx == 0)\n    max = conf.max_items;\n\n  free (csv);\n  free (html);\n  free (json);\n\n  return max;\n}\n\n/* Get number of items per panel to parse. */\nuint32_t\nget_max_choices (void) {\n  return get_max_choices_internal (0);\n}\n\n/* Get number of sub-items per hierarchy level to parse. */\nuint32_t\nget_max_choices_sub (void) {\n  return get_max_choices_internal (1);\n}\n\n/* Calculate a percentage.\n *\n * The percentage is returned. */\nfloat\nget_percentage (unsigned long long total, unsigned long long hit) {\n  return (total == 0 ? 0 : (((float) hit) / total) * 100);\n}\n\n/* Display the storage being used. */\nvoid\ndisplay_storage (void) {\n  fprintf (stdout, \"%s\\n\", BUILT_WITH_DEFHASH);\n}\n\n/* Display the path of the default configuration file when `-p` is not used */\nvoid\ndisplay_default_config_file (void) {\n  char *path = get_config_file_path ();\n\n  if (!path) {\n    fprintf (stdout, \"%s\\n\", ERR_NODEF_CONF_FILE);\n    fprintf (stdout, \"%s `-p /path/goaccess.conf`\\n\", ERR_NODEF_CONF_FILE_DESC);\n  } else {\n    fprintf (stdout, \"%s\\n\", path);\n    free (path);\n  }\n}\n\n/* Display the current version. */\nvoid\ndisplay_version (void) {\n  fprintf (stdout, \"GoAccess - %s.\\n\", GO_VERSION);\n  fprintf (stdout, \"%s: %s\\n\", INFO_MORE_INFO, GO_WEBSITE);\n  fprintf (stdout, \"Copyright (C) 2009-2024 by Gerardo Orellana\\n\");\n  fprintf (stdout, \"\\nBuild configure arguments:\\n\");\n#ifdef DEBUG\n  fprintf (stdout, \"  --enable-debug\\n\");\n#endif\n#ifdef HAVE_NCURSESW_NCURSES_H\n  fprintf (stdout, \"  --enable-utf8\\n\");\n#endif\n#ifdef HAVE_LIBGEOIP\n  fprintf (stdout, \"  --enable-geoip=legacy\\n\");\n#endif\n#ifdef HAVE_LIBMAXMINDDB\n  fprintf (stdout, \"  --enable-geoip=mmdb\\n\");\n#endif\n#ifdef WITH_GETLINE\n  fprintf (stdout, \"  --with-getline\\n\");\n#endif\n#ifdef HAVE_LIBSSL\n  fprintf (stdout, \"  --with-openssl\\n\");\n#endif\n}\n\n/* Get the enumerated value given a string.\n *\n * On error, -1 is returned.\n * On success, the enumerated module value is returned. */\nint\nstr2enum (const GEnum map[], int len, const char *str) {\n  int i;\n\n  for (i = 0; i < len; ++i) {\n    if (!strcmp (str, map[i].str))\n      return map[i].idx;\n  }\n\n  return -1;\n}\n\n/* Get the string value given an enum.\n *\n * On error, -1 is returned.\n * On success, the enumerated module value is returned. */\nconst char *\nenum2str (const GEnum map[], int len, int idx) {\n  int i;\n\n  for (i = 0; i < len; ++i) {\n    if (idx == map[i].idx)\n      return map[i].str;\n  }\n\n  return NULL;\n}\n\n/* Get the enumerated module value given a module string.\n *\n * On error, -1 is returned.\n * On success, the enumerated module value is returned. */\nint\nget_module_enum (const char *str) {\n  return str2enum (enum_modules, ARRAY_SIZE (enum_modules), str);\n}\n\n/* Get the module string value given a module enum value.\n *\n * On error, NULL is returned.\n * On success, the string module value is returned. */\nconst char *\nget_module_str (GModule module) {\n  return enum2str (enum_modules, ARRAY_SIZE (enum_modules), module);\n}\n\n/* Instantiate a new GAgents structure.\n *\n * On success, the newly malloc'd structure is returned. */\nGAgents *\nnew_gagents (uint32_t size) {\n  GAgents *agents = xmalloc (sizeof (GAgents));\n  memset (agents, 0, sizeof *agents);\n\n  agents->items = xcalloc (size, sizeof (GAgentItem));\n  agents->size = size;\n  agents->idx = 0;\n\n  return agents;\n}\n\n/* Clean the array of agents. */\nvoid\nfree_agents_array (GAgents *agents) {\n  int i;\n\n  if (agents == NULL)\n    return;\n\n  /* clean stuff up */\n  for (i = 0; i < agents->idx; ++i)\n    free (agents->items[i].agent);\n  if (agents->items)\n    free (agents->items);\n  free (agents);\n}\n\n/* Determine if the given date format is a timestamp.\n *\n * If not a timestamp, 0 is returned.\n * If it is a timestamp, 1 is returned. */\nint\nhas_timestamp (const char *fmt) {\n  if (strcmp (\"%s\", fmt) == 0 || strcmp (\"%f\", fmt) == 0)\n    return 1;\n  return 0;\n}\n\n/* Determine if the given module is set to be enabled.\n *\n * If enabled, 1 is returned, else 0 is returned. */\nint\nenable_panel (GModule mod) {\n  int i, module;\n\n  for (i = 0; i < conf.enable_panel_idx; ++i) {\n    if ((module = get_module_enum (conf.enable_panels[i])) == -1)\n      continue;\n    if (mod == (unsigned int) module) {\n      return 1;\n    }\n  }\n\n  return 0;\n}\n\n/* Determine if the given module is set to be ignored.\n *\n * If ignored, 1 is returned, else 0 is returned. */\nint\nignore_panel (GModule mod) {\n  int i, module;\n\n  for (i = 0; i < conf.ignore_panel_idx; ++i) {\n    if ((module = get_module_enum (conf.ignore_panels[i])) == -1)\n      continue;\n    if (mod == (unsigned int) module) {\n      return 1;\n    }\n  }\n\n  return 0;\n}\n\n/* Get the number of available modules/panels.\n *\n * The number of modules available is returned. */\nuint32_t\nget_num_modules (void) {\n  size_t idx = 0;\n  uint32_t num = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    num++;\n  }\n\n  return num;\n}\n\n/* Get the index from the module_list given a module.\n *\n * If the module is not within the array, -1 is returned.\n * If the module is within the array, the index is returned. */\nint\nget_module_index (int module) {\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    if (module_list[idx] == module)\n      return idx;\n  }\n\n  return -1;\n}\n\n/* Remove the given module from the module_list array.\n *\n * If the module is not within the array, 1 is returned.\n * If the module is within the array, it is removed from the array and\n * 0 is returned. */\nint\nremove_module (GModule module) {\n  int idx = get_module_index (module);\n  if (idx == -1)\n    return 1;\n\n  if (idx < TOTAL_MODULES - 1)\n    memmove (&module_list[idx], &module_list[idx + 1],\n             ((TOTAL_MODULES - 1) - idx) * sizeof (module_list[0]));\n  module_list[TOTAL_MODULES - 1] = -1;\n\n  return 0;\n}\n\n/* Find the next module given the current module.\n *\n * The next available module in the array is returned. */\nint\nget_next_module (GModule module) {\n  int next = get_module_index (module) + 1;\n\n  if (next == TOTAL_MODULES || module_list[next] == -1)\n    return module_list[0];\n\n  return module_list[next];\n}\n\n/* Find the previous module given the current module.\n *\n * The previous available module in the array is returned. */\nint\nget_prev_module (GModule module) {\n  int i;\n  int next = get_module_index (module) - 1;\n\n  if (next >= 0 && module_list[next] != -1)\n    return module_list[next];\n\n  for (i = TOTAL_MODULES - 1; i >= 0; i--) {\n    if (module_list[i] != -1) {\n      return module_list[i];\n    }\n  }\n\n  return 0;\n}\n\n/* Perform some additional tasks to panels before they are being\n * parsed.\n *\n * Note: This overwrites --enable-panel since it assumes there's\n * truly nothing to do with the panel */\nvoid\nverify_panels (void) {\n  int ignore_panel_idx = conf.ignore_panel_idx;\n\n  /* Remove virtual host panel if no '%v' within log format */\n  if (!conf.log_format)\n    return;\n\n  if (!strstr (conf.log_format, \"%v\") && ignore_panel_idx < TOTAL_MODULES && !conf.fname_as_vhost) {\n    if (str_inarray (\"VIRTUAL_HOSTS\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (VIRTUAL_HOSTS);\n  }\n  if (!strstr (conf.log_format, \"%e\") && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"REMOTE_USER\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (REMOTE_USER);\n  }\n  if (!strstr (conf.log_format, \"%C\") && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"CACHE_STATUS\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (CACHE_STATUS);\n  }\n  if (!strstr (conf.log_format, \"%M\") && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"MIME_TYPE\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (MIME_TYPE);\n  }\n  if (!strstr (conf.log_format, \"%K\") && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"TLS_TYPE\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (TLS_TYPE);\n  }\n#ifdef HAVE_GEOLOCATION\n#ifdef HAVE_LIBMAXMINDDB\n  if (!conf.geoip_db_idx && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"GEO_LOCATION\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (GEO_LOCATION);\n  }\n  if (!conf.geoip_db_idx && ignore_panel_idx < TOTAL_MODULES) {\n    if (str_inarray (\"ASN\", conf.ignore_panels, ignore_panel_idx) < 0)\n      remove_module (ASN);\n  }\n#endif\n#endif\n}\n\n/* Build an array of available modules (ignores listed panels).\n *\n * If there are no modules enabled, 0 is returned.\n * On success, the first enabled module is returned. */\nint\ninit_modules (void) {\n  GModule module;\n  int i;\n\n  /* init - terminating with -1 */\n  for (module = 0; module < TOTAL_MODULES; ++module)\n    module_list[module] = -1;\n\n  for (i = 0, module = 0; module < TOTAL_MODULES; ++module) {\n    if (!ignore_panel (module) || enable_panel (module)) {\n      module_list[i++] = module;\n    }\n  }\n\n  return module_list[0] > -1 ? module_list[0] : 0;\n}\n\n/* Get the logs size.\n *\n * If log was piped (from stdin), 0 is returned.\n * On success, it adds up all log sizes and its value is returned.\n * if --log-size was specified, it will be returned explicitly */\nintmax_t\nget_log_sizes (void) {\n  int i;\n  off_t size = 0;\n\n  /* --log-size */\n  if (conf.log_size > 0)\n    return (intmax_t) conf.log_size;\n\n  for (i = 0; i < conf.filenames_idx; ++i) {\n    if (conf.filenames[i][0] == '-' && conf.filenames[i][1] == '\\0')\n      size += 0;\n    else\n      size += file_size (conf.filenames[i]);\n  }\n\n  return (intmax_t) size;\n}\n\n/* Get the log sources used.\n *\n * On success, a newly malloc'd string containing the log source either\n * from filename(s) and/or STDIN is returned. */\nchar *\nget_log_source_str (int max_len) {\n  char *str = xstrdup (\"\");\n  int i, len = 0;\n\n  for (i = 0; i < conf.filenames_idx; ++i) {\n    if (conf.filenames[i][0] == '-' && conf.filenames[i][1] == '\\0')\n      append_str (&str, \"STDIN\");\n    else\n      append_str (&str, conf.filenames[i]);\n    if (i != conf.filenames_idx - 1)\n      append_str (&str, \"; \");\n  }\n\n  len = strlen (str);\n  if (max_len > 0 && len > 0 && len > max_len) {\n    str[max_len - 3] = 0;\n    append_str (&str, \"...\");\n  }\n\n  return str;\n}\n"
  },
  {
    "path": "src/commons.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef COMMONS_H_INCLUDED\n#define COMMONS_H_INCLUDED\n\n#include <time.h>\n#include <stdint.h>\n#include \"gslist.h\"\n\n/* Remove the __attribute__ stuff when the compiler is not GCC. */\n#if !__GNUC__\n#define __attribute__(x) /**/\n#endif\n#define GO_UNUSED __attribute__((unused))\n#define GO_VERSION \t\t\"1.10.1\"\n#define GO_WEBSITE \t\t\"https://goaccess.io/\"\nextern struct tm now_tm;\n\n/* common char array buffer size */\n#define INIT_BUF_SIZE 1024\n\n/* total number of modules */\n#ifdef HAVE_GEOLOCATION\n#define TOTAL_MODULES    19\n#else\n#define TOTAL_MODULES    17\n#endif\n\n/* maximum number of items within a panel */\n#define MAX_CHOICES          366\n/* real-time */\n#define MAX_CHOICES_RT        50\n/* real-time sub-items */\n#define MAX_CHOICES_SUB_RT    10\n/* max default items when date-spec = min */\n#define MAX_CHOICES_MINUTE  1440 /* 24hrs */\n\n/* date and time length - e.g., 2016/12/12 12:12:12 -0600 */\n#define DATE_TIME     25 + 1\n/* date length -  e.g., 2016/12/12 */\n#define DATE_LEN      10 + 1\n/* date length -  e.g., 12:12:12 */\n#define TIME_LEN       8 + 1\n/* hour + ':' + min length - e.g., 12:12 */\n#define HRMI_LEN   4 + 1 + 1\n\n#define YR_FMT \"%Y\"\n#define MO_FMT \"%M\"\n#define DT_FMT \"%d\"\n\n/* maximum protocol string length */\n#define REQ_PROTO_LEN     9\n\n#define IGNORE_LEVEL_PANEL 1\n#define IGNORE_LEVEL_REQ 2\n\n/* Type of IP */\ntypedef enum {\n  TYPE_IPINV,\n  TYPE_IPV4,\n  TYPE_IPV6\n} GTypeIP;\n\n/* Type of Modules */\ntypedef enum MODULES {\n  VISITORS,\n  REQUESTS,\n  REQUESTS_STATIC,\n  NOT_FOUND,\n  HOSTS,\n  OS,\n  BROWSERS,\n  VISIT_TIMES,\n  VIRTUAL_HOSTS,\n  REFERRERS,\n  REFERRING_SITES,\n  KEYPHRASES,\n  STATUS_CODES,\n  REMOTE_USER,\n  CACHE_STATUS,\n#ifdef HAVE_GEOLOCATION\n  GEO_LOCATION,\n  ASN,\n#endif\n  MIME_TYPE,\n  TLS_TYPE,\n} GModule;\n\n/* Total number of storage metrics (GSMetric) */\n#define GSMTRC_TOTAL 19\n\n/* Enumerated Storage Metrics */\ntypedef enum GSMetric_ {\n  MTRC_KEYMAP,\n  MTRC_ROOTMAP,\n  MTRC_DATAMAP,\n  MTRC_UNIQMAP,\n  MTRC_ROOT,\n  MTRC_HITS,\n  MTRC_VISITORS,\n  MTRC_BW,\n  MTRC_CUMTS,\n  MTRC_MAXTS,\n  MTRC_METHODS,\n  MTRC_PROTOCOLS,\n  MTRC_AGENTS,\n  MTRC_METADATA,\n  MTRC_UNIQUE_KEYS,\n  MTRC_AGENT_KEYS,\n  MTRC_AGENT_VALS,\n  MTRC_CNT_VALID,\n  MTRC_CNT_BW,\n} GSMetric;\n\n/* Metric totals. These are metrics that have a percent value and are\n * calculated values. */\ntypedef struct GPercTotals_ {\n  uint32_t hits;                /* total valid hits */\n  uint32_t visitors;            /* total visitors */\n  uint64_t bw;                  /* total bandwidth */\n} GPercTotals;\n\n/* Metrics within GHolder or GDashData */\ntypedef struct GMetrics {\n  /* metric id can be used to identify\n   * a specific data field */\n  uint8_t id;\n  char *data;\n  char *method;\n  char *protocol;\n\n  float hits_perc;\n  float visitors_perc;\n  float bw_perc;\n\n  uint64_t hits;\n  uint64_t visitors;\n  uint64_t nbw;\n\n  /* holder has a numeric value, while\n   * dashboard has a displayable string value */\n  union {\n    char *sts;\n    uint64_t nts;\n  } avgts;\n\n  /* holder has a numeric value, while\n   * dashboard has a displayable string value */\n  union {\n    char *sts;\n    uint64_t nts;\n  } cumts;\n\n  /* holder has a numeric value, while\n   * dashboard has a displayable string value */\n  union {\n    char *sts;\n    uint64_t nts;\n  } maxts;\n} GMetrics;\n\n/* Forward declaration for recursive sub-items */\ntypedef struct GSubList_ GSubList;\n\n/* Holder sub item */\ntypedef struct GSubItem_ {\n  GModule module;\n  GMetrics *metrics;\n  GSubList *sub_list;\n  struct GSubItem_ *prev;\n  struct GSubItem_ *next;\n} GSubItem;\n\n/* Double linked-list of sub items */\nstruct GSubList_ {\n  uint32_t size;\n  struct GSubItem_ *head;\n  struct GSubItem_ *tail;\n};\n\n/* Holder item */\ntypedef struct GHolderItem_ {\n  GSubList *sub_list;\n  GMetrics *metrics;\n} GHolderItem;\n\n/* Holder of GRawData */\ntypedef struct GHolder_ {\n  GHolderItem *items;           /* holder items */\n  GModule module;               /* current module  */\n  uint32_t idx;                      /* holder index  */\n  uint32_t holder_size;              /* number of allocated items */\n  uint32_t ht_size;             /* size of the hash table/store */\n  uint32_t sub_items_size;           /* number of sub items  */\n  uint32_t max_choices;              /* max items at root level */\n  uint32_t max_choices_sub;          /* max items at sub-item levels */\n} GHolder;\n\n/* Enum-to-string */\ntypedef struct GEnum_ {\n  const char *str;\n  int idx;\n} GEnum;\n\n/* A metric can contain a root/data/uniq node id */\ntypedef struct GDataMap_ {\n  int data;\n  int root;\n} GDataMap;\n\ntypedef struct GAgentItem_ {\n  char *agent;\n} GAgentItem;\n\ntypedef struct GAgents_ {\n  int size;\n  int idx;\n  struct GAgentItem_ *items;\n} GAgents;\n\n#define FOREACH_MODULE(item, array) \\\n  for (; (item < ARRAY_SIZE(array)) && array[item] != -1; ++item)\n\n/* Processing time */\nextern time_t end_proc;\nextern time_t timestamp;\nextern time_t start_proc;\n\n/* list of available modules/panels */\nextern int module_list[TOTAL_MODULES];\n\n/* *INDENT-OFF* */\nGAgents *new_gagents (uint32_t size);\nvoid free_agents_array (GAgents *agents);\n\nconst char *enum2str (const GEnum map[], int len, int idx);\nconst char *get_module_str (GModule module);\nfloat get_percentage (unsigned long long total, unsigned long long hit);\nuint32_t get_max_choices (void);\nuint32_t get_max_choices_sub (void);\nint get_module_enum (const char *str);\nint has_timestamp (const char *fmt);\nint str2enum (const GEnum map[], int len, const char *str);\n\nint enable_panel (GModule mod);\nint get_module_index (int module);\nint get_next_module (GModule module);\nint get_prev_module (GModule module);\nint ignore_panel (GModule mod);\nint init_modules (void);\nint remove_module(GModule module);\nuint32_t get_num_modules (void);\nvoid verify_panels (void);\n\nchar *get_log_source_str (int max_len);\nintmax_t get_log_sizes (void);\n\nvoid display_default_config_file (void);\nvoid display_storage (void);\nvoid display_version (void);\n/* *INDENT-ON* */\n\n#endif\n"
  },
  {
    "path": "src/csv.c",
    "content": "/**\n * output.c -- output csv to the standard output stream\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#include <ctype.h>\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <inttypes.h>\n\n#include \"csv.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"ui.h\"\n#include \"util.h\"\n\nstruct tm now_tm;\n\n/* Panel output */\ntypedef struct GPanel_ {\n  GModule module;\n  void (*render) (FILE * fp, GHolder * h, GPercTotals totals);\n} GPanel;\n\nstatic void print_csv_data (FILE * fp, GHolder * h, GPercTotals totals);\n\n/* *INDENT-OFF* */\n/* A function pointer for each panel */\nstatic const GPanel paneling[] = {\n  {VISITORS        , print_csv_data} ,\n  {REQUESTS        , print_csv_data} ,\n  {REQUESTS_STATIC , print_csv_data} ,\n  {NOT_FOUND       , print_csv_data} ,\n  {HOSTS           , print_csv_data} ,\n  {OS              , print_csv_data} ,\n  {BROWSERS        , print_csv_data} ,\n  {VISIT_TIMES     , print_csv_data} ,\n  {VIRTUAL_HOSTS   , print_csv_data} ,\n  {REFERRERS       , print_csv_data} ,\n  {REFERRING_SITES , print_csv_data} ,\n  {KEYPHRASES      , print_csv_data} ,\n  {STATUS_CODES    , print_csv_data} ,\n  {REMOTE_USER     , print_csv_data} ,\n  {CACHE_STATUS    , print_csv_data} ,\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION    , print_csv_data} ,\n  {ASN             , print_csv_data} ,\n#endif\n  {MIME_TYPE       , print_csv_data} ,\n  {TLS_TYPE        , print_csv_data} ,\n};\n/* *INDENT-ON* */\n\n/* Get a panel from the GPanel structure given a module.\n *\n * On error, or if not found, NULL is returned.\n * On success, the panel value is returned. */\nstatic const GPanel *\npanel_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (paneling);\n\n  for (i = 0; i < num_panels; i++) {\n    if (paneling[i].module == module)\n      return &paneling[i];\n  }\n  return NULL;\n}\n\n/* Iterate over the string and escape CSV output. */\nstatic void\nescape_cvs_output (FILE *fp, char *s) {\n  while (*s) {\n    switch (*s) {\n    case '\"':\n      fprintf (fp, \"\\\"\\\"\");\n      break;\n    default:\n      fputc (*s, fp);\n      break;\n    }\n    s++;\n  }\n}\n\n/* Output metrics.\n *\n * On success, outputs item value. */\nstatic void\nprint_csv_metric_block (FILE *fp, GMetrics *nmetrics) {\n  /* basic metrics */\n  fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->hits);\n  fprintf (fp, \"\\\"%4.2f%%\\\",\", nmetrics->hits_perc);\n  fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->visitors);\n  fprintf (fp, \"\\\"%4.2f%%\\\",\", nmetrics->visitors_perc);\n\n  /* bandwidth */\n  if (conf.bandwidth) {\n    fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->nbw);\n    fprintf (fp, \"\\\"%4.2f%%\\\",\", nmetrics->bw_perc);\n  }\n\n  /* time served metrics */\n  if (conf.serve_usecs) {\n    fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->avgts.nts);\n    fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->cumts.nts);\n    fprintf (fp, \"\\\"%\" PRIu64 \"\\\",\", nmetrics->maxts.nts);\n  }\n\n  /* request method */\n  if (conf.append_method && nmetrics->method)\n    fprintf (fp, \"\\\"%s\\\"\", nmetrics->method);\n  fprintf (fp, \",\");\n\n  /* request protocol */\n  if (conf.append_protocol && nmetrics->protocol)\n    fprintf (fp, \"\\\"%s\\\"\", nmetrics->protocol);\n  fprintf (fp, \",\");\n\n  /* data field */\n  fprintf (fp, \"\\\"\");\n  escape_cvs_output (fp, nmetrics->data);\n  fprintf (fp, \"\\\"\\r\\n\");\n}\n\n/* Output a sublist (double linked-list) items for a particular parent node.\n *\n * On error, it exits early.\n * On success, outputs item value. */\nstatic void\nprint_csv_sub_items (FILE *fp, GSubList *sub_list, GModule module, int parent_idx,\n                     GPercTotals totals, int depth) {\n  GMetrics *nmetrics;\n  GSubItem *iter;\n\n  uint32_t i = 0;\n\n  if (sub_list == NULL)\n    return;\n\n  for (iter = sub_list->head; iter; iter = iter->next, i++) {\n    set_data_metrics (iter->metrics, &nmetrics, totals);\n\n    fprintf (fp, \"\\\"%u\\\",\", i); /* idx */\n    fprintf (fp, \"\\\"%d\\\",\", parent_idx); /* parent idx */\n    fprintf (fp, \"\\\"%s\\\",\", module_to_id (module));\n    fprintf (fp, \"\\\"%d\\\",\", depth); /* depth */\n\n    /* output metrics */\n    print_csv_metric_block (fp, nmetrics);\n\n    /* recurse into nested sub-items */\n    if (iter->sub_list != NULL)\n      print_csv_sub_items (fp, iter->sub_list, module, i, totals, depth + 1);\n\n    free (nmetrics);\n  }\n}\n\n/* Output first-level items.\n *\n * On success, outputs item value. */\nstatic void\nprint_csv_data (FILE *fp, GHolder *h, GPercTotals totals) {\n  GMetrics *nmetrics;\n  uint32_t i;\n\n  for (i = 0; i < h->idx; i++) {\n    set_data_metrics (h->items[i].metrics, &nmetrics, totals);\n\n    fprintf (fp, \"\\\"%u\\\",\", i); /* idx */\n    fprintf (fp, \",\"); /* no parent */\n    fprintf (fp, \"\\\"%s\\\",\", module_to_id (h->module));\n\n    /* output metrics */\n    print_csv_metric_block (fp, nmetrics);\n\n    if (h->sub_items_size)\n      print_csv_sub_items (fp, h->items[i].sub_list, h->module, i, totals, 1);\n\n    free (nmetrics);\n  }\n}\n\n#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n/* Output general statistics information. */\nstatic void\nprint_csv_summary (FILE *fp) {\n  char now[DATE_TIME];\n  char *source = NULL;\n  const char *fmt;\n  int i = 0;\n  uint64_t total = 0;\n  uint32_t t = 0;\n\n  generate_time ();\n  strftime (now, DATE_TIME, \"%Y-%m-%d %H:%M:%S %z\", &now_tm);\n\n  /* generated date time */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%s\\\",\\\"%s\\\"\\r\\n\";\n  fprintf (fp, fmt, i++, GENER_ID, now, OVERALL_DATETIME);\n\n  /* total requests */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%\" PRIu64 \"\\\",\\\"%s\\\"\\r\\n\";\n  total = ht_get_processed ();\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_REQ);\n\n  /* valid requests */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%\" PRIu64 \"\\\",\\\"%s\\\"\\r\\n\";\n  total = ht_sum_valid ();\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_VALID);\n\n  /* invalid requests */\n  total = ht_get_invalid ();\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_FAILED);\n\n  /* generated time */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%u\\\",\\\"%s\\\"\\r\\n\";\n  t = ht_get_processing_time ();\n  fprintf (fp, fmt, i++, GENER_ID, t, OVERALL_GENTIME);\n\n  /* visitors */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%\" PRIu64 \"\\\",\\\"%s\\\"\\r\\n\";\n  total = ht_get_size_uniqmap (VISITORS);\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_VISITORS);\n\n  /* files */\n  total = ht_get_size_datamap (REQUESTS);\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_FILES);\n\n  /* excluded hits */\n  total = ht_get_excluded_ips ();\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_EXCL_HITS);\n\n  /* referrers */\n  total = ht_get_size_datamap (REFERRERS);\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_REF);\n\n  /* not found */\n  total = ht_get_size_datamap (NOT_FOUND);\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_NOTFOUND);\n\n  /* static files */\n  total = ht_get_size_datamap (REQUESTS_STATIC);\n  fprintf (fp, fmt, i++, GENER_ID, total, OVERALL_STATIC);\n\n  /* log size */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%jd\\\",\\\"%s\\\"\\r\\n\";\n  fprintf (fp, fmt, i++, GENER_ID, (intmax_t) get_log_sizes (), OVERALL_LOGSIZE);\n\n  /* bandwidth */\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%\" PRIu64 \"\\\",\\\"%s\\\"\\r\\n\";\n  fprintf (fp, fmt, i++, GENER_ID, ht_sum_bw (), OVERALL_BANDWIDTH);\n\n  /* log path */\n  source = get_log_source_str (0);\n  fmt = \"\\\"%d\\\",,\\\"%s\\\",,,,,,,,\\\"%s\\\",\\\"%s\\\"\\r\\n\";\n  fprintf (fp, fmt, i++, GENER_ID, source, OVERALL_LOG);\n  free (source);\n}\n\n#pragma GCC diagnostic warning \"-Wformat-nonliteral\"\n\n/* Entry point to generate a csv report writing it to the fp */\nvoid\noutput_csv (GHolder *holder, const char *filename) {\n  GModule module;\n  GPercTotals totals;\n  const GPanel *panel = NULL;\n  size_t idx = 0;\n  FILE *fp;\n\n  fp = (filename != NULL) ? fopen (filename, \"w\") : stdout;\n  if (!fp)\n    FATAL (\"Unable to open CSV file: %s.\", strerror (errno));\n\n  if (!conf.no_csv_summary)\n    print_csv_summary (fp);\n\n  set_module_totals (&totals);\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n\n    if (!(panel = panel_lookup (module))) {\n      continue;\n    }\n\n    panel->render (fp, holder + module, totals);\n  }\n\n  fclose (fp);\n}\n"
  },
  {
    "path": "src/csv.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef CSV_H_INCLUDED\n#define CSV_H_INCLUDED\n\n#include <stdio.h>\n#include \"parser.h\"\n#include \"settings.h\"\n\nvoid output_csv (GHolder * holder, const char *filename);\n\n#endif\n"
  },
  {
    "path": "src/dialogs.c",
    "content": "/**\n * dialogs.c -- UI dialog windows\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdlib.h>\n#include <string.h>\n\n#include \"dialogs.h\"\n#include \"ui.h\"\n#include \"color.h\"\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"gmenu.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* Add the given user agent value into our array of GAgents.\n *\n * On error, 1 is returned.\n * On success, the user agent is added to the array and 0 is returned. */\nstatic int\nset_agents (void *val, void *user_data) {\n  GAgents *agents = user_data;\n  GAgentItem *tmp = NULL;\n  char *agent = NULL;\n  int newlen = 0, i;\n\n  if (!(agent = ht_get_host_agent_val (*(uint32_t *) val)))\n    return 1;\n\n  if (agents->size - 1 == agents->idx) {\n    newlen = agents->size + 4;\n    if (!(tmp = realloc (agents->items, newlen * sizeof (GAgentItem))))\n      FATAL (\"Unable to realloc agents\");\n    agents->items = tmp;\n    agents->size = newlen;\n  }\n\n  for (i = 0; i < agents->idx; ++i) {\n    if (strcmp (agent, agents->items[i].agent) == 0) {\n      free (agent);\n      return 0;\n    }\n  }\n\n  agents->items[agents->idx++].agent = agent;\n  return 0;\n}\n\n/* Iterate over the list of agents */\nGAgents *\nload_host_agents (const char *addr) {\n  GAgents *agents = NULL;\n  GSLList *keys = NULL, *list = NULL;\n  void *data = NULL;\n  uint32_t items = 4, key = djb2 ((const unsigned char *) addr);\n\n  keys = ht_get_keymap_list_from_key (HOSTS, key);\n  if (!keys)\n    return NULL;\n\n  agents = new_gagents (items);\n  /* *INDENT-OFF* */\n  GSLIST_FOREACH (keys, data, {\n    if ((list = ht_get_host_agent_list (HOSTS, (*(uint32_t *) data)))) {\n      list_foreach (list, set_agents, agents);\n      list_remove_nodes (list);\n    }\n  });\n  /* *INDENT-ON* */\n  list_remove_nodes (keys);\n\n  return agents;\n}\n\n/* Fill the given terminal dashboard menu with user agent data.\n *\n * On error, the 1 is returned.\n * On success, 0 is returned. */\nstatic int\nfill_host_agents_gmenu (GMenu *menu, GAgents *agents) {\n  int i;\n\n  if (agents == NULL)\n    return 1;\n\n  menu->items = xcalloc (agents->idx, sizeof (GItem));\n  for (i = 0; i < agents->idx; ++i) {\n    menu->items[i].name = xstrdup (agents->items[i].agent);\n    menu->items[i].checked = 0;\n    menu->size++;\n  }\n\n  return 0;\n}\n\n/* Render a list of agents if available for the selected host/IP. */\nvoid\nload_agent_list (WINDOW *main_win, char *addr) {\n  GMenu *menu;\n  GAgents *agents = NULL;\n  WINDOW *win;\n  char buf[256];\n  int c, quit = 1, i;\n  int y, x, list_h, list_w, menu_w, menu_h;\n\n  if (!conf.list_agents)\n    return;\n\n  getmaxyx (stdscr, y, x);\n  list_h = y / 2;\n  list_w = x - 4;\n  menu_h = list_h - AGENTS_MENU_Y - 1;\n  menu_w = list_w - AGENTS_MENU_X - AGENTS_MENU_X;\n\n  win = newwin (list_h, list_w, (y - list_h) / 2, (x - list_w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, menu_h, menu_w, AGENTS_MENU_Y, AGENTS_MENU_X);\n  if (!(agents = load_host_agents (addr)))\n    goto out;\n  if (fill_host_agents_gmenu (menu, agents) != 0)\n    goto out;\n\n  post_gmenu (menu);\n  snprintf (buf, sizeof buf, AGENTSDLG_HEAD, addr);\n  draw_header (win, buf, \" %s\", 1, 1, list_w - 2, color_panel_header);\n  mvwprintw (win, 2, 2, AGENTSDLG_DESC);\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  touchwin (main_win);\n  close_win (win);\n  win = NULL;\n  wrefresh (main_win);\n\nout:\n  for (i = 0; i < menu->size; ++i)\n    free (menu->items[i].name);\n  if (menu->items)\n    free (menu->items);\n  free (menu);\n  free_agents_array (agents);\n  close_win (win);\n}\n\n/* Help menu data */\nstatic const char *help_main[] = {\n  \"\",\n  \"Copyright (C) 2009-2026 by Gerardo Orellana\",\n  \"https://goaccess.io - <hello@goaccess.io>\",\n  \"Released under the MIT License\",\n  \"\",\n  \"GoAccess is an open source real-time web log analyzer and\",\n  \"interactive viewer that runs in a terminal in *nix systems or\",\n  \"through your browser.\",\n  \"\",\n  \"KEYS:\",\n  \"\",\n  \"1-9,0     Jump to panel by position (1st, 2nd, ... 10th)\",\n  \"TAB       Forward module\",\n  \"SHIFT+TAB Backward module\",\n  \"g         Move to the top/beginning of screen\",\n  \"G         Move to the bottom/end of screen\",\n  \"j         Scroll down within expanded module\",\n  \"k         Scroll up within expanded module\",\n  \"^f        Page down inside expanded module\",\n  \"^b        Page up inside expanded module\",\n  \"ENTER     Expand module\",\n  \"o/O       Expand selected module\",\n  \"+         Expand selected item children\",\n  \"-         Collapse selected item children\",\n  \"s         Sort options for current module\",\n  \"p         Reorder panels\",\n  \"/         Search across all modules (regex allowed)\",\n  \"n         Find next occurrence\",\n  \"m/M       Cycle through chart metrics (forward/backward)\",\n  \"l/L       Toggle logarithmic scale for current panel\",\n  \"r/R       Toggle reverse chronological order in charts\",\n  \"c         Set/change color scheme\",\n  \"q         Quit (or collapse if inside module)\",\n  \"?         This help\",\n  \"\",\n  \"Examples can be found by running 'man goaccess'.\",\n  \"\",\n  \"[Press any key to continue]\"\n};\n\n/* Render the help dialog. */\nvoid\nload_help_popup (WINDOW *main_win) {\n  int c, quit = 1;\n  size_t i, n;\n  int y, x, h = HELP_WIN_HEIGHT, w = HELP_WIN_WIDTH;\n  int w2 = w - 2;\n  WINDOW *win;\n  GMenu *menu;\n\n  n = ARRAY_SIZE (help_main);\n  getmaxyx (stdscr, y, x);\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, HELP_MENU_HEIGHT, HELP_MENU_WIDTH, HELP_MENU_Y, HELP_MENU_X);\n  menu->size = n;\n\n  menu->items = (GItem *) xcalloc (n, sizeof (GItem));\n  for (i = 0; i < n; ++i) {\n    menu->items[i].name = alloc_string (help_main[i]);\n    menu->items[i].checked = 0;\n  }\n\n  post_gmenu (menu);\n  draw_header (win, HELPDLG_HEAD, \" %s\", 1, 1, w2, color_panel_header);\n  mvwprintw (win, 2, 2, HELPDLG_DESC);\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  for (i = 0; i < n; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n\n  touchwin (main_win);\n  close_win (win);\n  wrefresh (main_win);\n}\n\n/* Render the sort dialog. */\nvoid\nload_sort_win (WINDOW *main_win, GModule module, GSort *sort) {\n  GMenu *menu;\n  WINDOW *win;\n  GSortField opts[SORT_MAX_OPTS];\n  int c, quit = 1;\n  int i = 0, k, n = 0;\n  int y, x, h = SORT_WIN_H, w = SORT_WIN_W;\n  int w2 = w - 2;\n\n  getmaxyx (stdscr, y, x);\n\n  for (i = 0, k = 0; -1 != sort_choices[module][i]; i++) {\n    GSortField field = sort_choices[module][i];\n    if (SORT_BY_CUMTS == field && !conf.serve_usecs)\n      continue;\n    else if (SORT_BY_MAXTS == field && !conf.serve_usecs)\n      continue;\n    else if (SORT_BY_AVGTS == field && !conf.serve_usecs)\n      continue;\n    else if (SORT_BY_BW == field && !conf.bandwidth)\n      continue;\n    else if (SORT_BY_PROT == field && !conf.append_protocol)\n      continue;\n    else if (SORT_BY_MTHD == field && !conf.append_method)\n      continue;\n    opts[k++] = field;\n    n++;\n  }\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, SORT_MENU_H, SORT_MENU_W, SORT_MENU_Y, SORT_MENU_X);\n  menu->size = n;\n  menu->selectable = 1;\n\n  menu->items = (GItem *) xcalloc (n, sizeof (GItem));\n\n  for (i = 0; i < n; ++i) {\n    GSortField field = sort_choices[module][opts[i]];\n    if (SORT_BY_HITS == field) {\n      menu->items[i].name = alloc_string (MTRC_HITS_LBL);\n      if (sort->field == SORT_BY_HITS) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_VISITORS == field) {\n      menu->items[i].name = alloc_string (MTRC_VISITORS_LBL);\n      if (sort->field == SORT_BY_VISITORS) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_DATA == field) {\n      menu->items[i].name = alloc_string (MTRC_DATA_LBL);\n      if (sort->field == SORT_BY_DATA) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_BW == field) {\n      menu->items[i].name = alloc_string (MTRC_BW_LBL);\n      if (sort->field == SORT_BY_BW) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_AVGTS == field) {\n      menu->items[i].name = alloc_string (MTRC_AVGTS_LBL);\n      if (sort->field == SORT_BY_AVGTS) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_CUMTS == field) {\n      menu->items[i].name = alloc_string (MTRC_CUMTS_LBL);\n      if (sort->field == SORT_BY_CUMTS) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_MAXTS == field) {\n      menu->items[i].name = alloc_string (MTRC_MAXTS_LBL);\n      if (sort->field == SORT_BY_MAXTS) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_PROT == field) {\n      menu->items[i].name = alloc_string (MTRC_PROTOCOLS_LBL);\n      if (sort->field == SORT_BY_PROT) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    } else if (SORT_BY_MTHD == field) {\n      menu->items[i].name = alloc_string (MTRC_METHODS_LBL);\n      if (sort->field == SORT_BY_MTHD) {\n        menu->items[i].checked = 1;\n        menu->idx = i;\n      }\n    }\n  }\n\n  post_gmenu (menu);\n  draw_header (win, SORTDLG_HEAD, \" %s\", 1, 1, w2, color_panel_header);\n  mvwprintw (win, 2, 2, SORTDLG_DESC);\n\n  if (sort->sort == SORT_ASC)\n    mvwprintw (win, SORT_WIN_H - 2, 1, \" %s\", SORT_ASC_SEL);\n  else\n    mvwprintw (win, SORT_WIN_H - 2, 1, \" %s\", SORT_DESC_SEL);\n\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case 9:\n      if (sort->sort == SORT_ASC) {\n        sort->sort = SORT_DESC;\n        mvwprintw (win, SORT_WIN_H - 2, 1, \" %s\", SORT_DESC_SEL);\n      } else {\n        sort->sort = SORT_ASC;\n        mvwprintw (win, SORT_WIN_H - 2, 1, \" %s\", SORT_ASC_SEL);\n      }\n      break;\n    case 32:\n    case 0x0a:\n    case 0x0d:\n    case KEY_ENTER:\n      gmenu_driver (menu, REQ_SEL);\n      for (i = 0; i < n; ++i) {\n        if (menu->items[i].checked != 1)\n          continue;\n        if (strcmp (\"Hits\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_HITS;\n        else if (strcmp (\"Visitors\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_VISITORS;\n        else if (strcmp (\"Data\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_DATA;\n        else if (strcmp (\"Tx. Amount\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_BW;\n        else if (strcmp (\"Avg. T.S.\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_AVGTS;\n        else if (strcmp (\"Cum. T.S.\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_CUMTS;\n        else if (strcmp (\"Max. T.S.\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_MAXTS;\n        else if (strcmp (\"Protocol\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_PROT;\n        else if (strcmp (\"Method\", menu->items[i].name) == 0)\n          sort->field = SORT_BY_MTHD;\n        quit = 0;\n        break;\n      }\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  for (i = 0; i < n; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n\n  touchwin (main_win);\n  close_win (win);\n  wrefresh (main_win);\n}\n\nstatic void\nclear_confdlg_status_bar (WINDOW *win, int y, int x, int w) {\n  draw_header (win, \"\", \"%s\", y, x, w + 1, color_default);\n}\n\nstatic char *\nget_input_date_format (void) {\n  char *date_format = NULL;\n  if (conf.date_format)\n    date_format = escape_str (conf.date_format);\n  return date_format;\n}\n\nstatic char *\nget_input_time_format (void) {\n  char *time_format = NULL;\n  if (conf.time_format)\n    time_format = escape_str (conf.time_format);\n  return time_format;\n}\n\nstatic char *\nget_input_log_format (void) {\n  char *log_format = NULL;\n  if (conf.log_format)\n    log_format = escape_str (conf.log_format);\n  return log_format;\n}\n\nstatic void\ndraw_formats (WINDOW *win, int w2) {\n  char *date_format = NULL, *log_format = NULL, *time_format = NULL;\n\n  draw_header (win, CONFDLG_HEAD, \" %s\", 1, 1, w2, color_panel_header);\n  mvwprintw (win, 2, 2, CONFDLG_KEY_HINTS);\n\n  draw_header (win, CONFDLG_LOG_FORMAT, \" %s\", 11, 1, w2, color_panel_header);\n  if ((log_format = get_input_log_format ())) {\n    mvwprintw (win, 12, 2, \"%.*s\", CONF_MENU_W, log_format);\n    free (log_format);\n  }\n\n  draw_header (win, CONFDLG_DATE_FORMAT, \" %s\", 14, 1, w2, color_panel_header);\n  if ((date_format = get_input_date_format ())) {\n    mvwprintw (win, 15, 2, \"%.*s\", CONF_MENU_W, date_format);\n    free (date_format);\n  }\n\n  draw_header (win, CONFDLG_TIME_FORMAT, \" %s\", 17, 1, w2, color_panel_header);\n  if ((time_format = get_input_time_format ())) {\n    mvwprintw (win, 18, 2, \"%.*s\", CONF_MENU_W, time_format);\n    free (time_format);\n  }\n}\n\nstatic const char *\nset_formats (char *date_format, char *log_format, char *time_format) {\n  if (!time_format && !conf.time_format)\n    return ERR_FORMAT_NO_TIME_FMT_DLG;\n  if (!date_format && !conf.date_format)\n    return ERR_FORMAT_NO_DATE_FMT_DLG;\n  if (!log_format && !conf.log_format)\n    return ERR_FORMAT_NO_LOG_FMT_DLG;\n\n  if (time_format) {\n    free (conf.time_format);\n    conf.time_format = unescape_str (time_format);\n  }\n  if (date_format) {\n    free (conf.date_format);\n    conf.date_format = unescape_str (date_format);\n  }\n  if (log_format) {\n    free (conf.log_format);\n    conf.log_format = unescape_str (log_format);\n  }\n\n  if (is_json_log_format (conf.log_format))\n    conf.is_json_log_format = 1;\n\n  set_spec_date_format ();\n  return NULL;\n}\n\nstatic void\nload_confdlg_error (WINDOW *parent_win, char **errors, int nerrors) {\n  int c, quit = 1, i = 0;\n  int y, x, h = ERR_WIN_HEIGHT, w = ERR_WIN_WIDTH;\n  WINDOW *win;\n  GMenu *menu;\n\n  getmaxyx (stdscr, y, x);\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, ERR_MENU_HEIGHT, ERR_MENU_WIDTH, ERR_MENU_Y, ERR_MENU_X);\n  menu->size = nerrors;\n\n  menu->items = (GItem *) xcalloc (nerrors, sizeof (GItem));\n  for (i = 0; i < nerrors; ++i) {\n    menu->items[i].name = alloc_string (errors[i]);\n    menu->items[i].checked = 0;\n    free (errors[i]);\n  }\n  free (errors);\n\n  post_gmenu (menu);\n  draw_header (win, ERR_FORMAT_HEADER, \" %s\", 1, 1, w - 2, color_error);\n  mvwprintw (win, 2, 2, CONFDLG_DESC);\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  for (i = 0; i < nerrors; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n\n  touchwin (parent_win);\n  close_win (win);\n  wrefresh (parent_win);\n}\n\nint\nrender_confdlg (Logs *logs, GSpinner *spinner) {\n  GMenu *menu;\n  WINDOW *win;\n  const char *log_err = NULL;\n  char *date_format = NULL, *log_format = NULL, *time_format = NULL;\n  char *cstm_log, *cstm_date, *cstm_time;\n  int c, quit = 1, invalid = 1, y, x, h = CONF_WIN_H, w = CONF_WIN_W;\n  int w2 = w - 2;\n  size_t i, n, sel;\n\n  static const char *const choices[] = {\n    \"NCSA Combined Log Format\",\n    \"NCSA Combined Log Format with Virtual Host\",\n    \"Common Log Format (CLF)\",\n    \"Common Log Format (CLF) with Virtual Host\",\n    \"W3C\",\n    \"CloudFront (Download Distribution)\",\n    \"Google Cloud Storage\",\n    \"AWS Elastic Load Balancing (HTTP/S)\",\n    \"Squid Native Format\",\n    \"AWS Simple Storage Service (S3)\",\n    \"CADDY JSON Structured\",\n    \"AWS Application Load Balancer\",\n    \"Traefik CLF flavor\"\n  };\n  n = ARRAY_SIZE (choices);\n\n  getmaxyx (stdscr, y, x);\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, CONF_MENU_H, CONF_MENU_W, CONF_MENU_Y, CONF_MENU_X);\n  menu->size = n;\n  menu->selectable = 1;\n\n  menu->items = (GItem *) xcalloc (n, sizeof (GItem));\n  for (i = 0; i < n; ++i) {\n    menu->items[i].name = alloc_string (choices[i]);\n    sel = get_selected_format_idx ();\n    menu->items[i].checked = sel == i ? 1 : 0;\n  }\n\n  post_gmenu (menu);\n  draw_formats (win, w2);\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      clear_confdlg_status_bar (win, 3, 2, CONF_MENU_W);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      clear_confdlg_status_bar (win, 3, 2, CONF_MENU_W);\n      break;\n    case 32:\n      gmenu_driver (menu, REQ_SEL);\n      clear_confdlg_status_bar (win, 12, 1, CONF_MENU_W);\n      clear_confdlg_status_bar (win, 15, 1, CONF_MENU_W);\n      clear_confdlg_status_bar (win, 18, 1, CONF_MENU_W);\n      if (time_format)\n        free (time_format);\n      if (date_format)\n        free (date_format);\n      if (log_format)\n        free (log_format);\n      for (i = 0; i < n; ++i) {\n        if (menu->items[i].checked != 1)\n          continue;\n        date_format = get_selected_date_str (i);\n        log_format = get_selected_format_str (i);\n        time_format = get_selected_time_str (i);\n        free (set_default_string (win, 12, 2, CONF_MENU_W, log_format));\n        free (set_default_string (win, 15, 2, CONF_MENU_W, date_format));\n        free (set_default_string (win, 18, 2, CONF_MENU_W, time_format));\n        break;\n      }\n      break;\n    case 99:\n      clear_confdlg_status_bar (win, 3, 2, CONF_MENU_W);\n      wmove (win, 12, 2);\n      if (!log_format)\n        log_format = get_input_log_format ();\n      cstm_log = input_string (win, 12, 2, CONF_MAX_LEN_DLG, log_format, 0, 0);\n      if (cstm_log != NULL && *cstm_log != '\\0') {\n        if (log_format)\n          free (log_format);\n        log_format = alloc_string (cstm_log);\n        free (cstm_log);\n      } else {\n        if (cstm_log)\n          free (cstm_log);\n        if (log_format) {\n          free (log_format);\n          log_format = NULL;\n        }\n      }\n      break;\n    case 100:\n      clear_confdlg_status_bar (win, 3, 2, CONF_MENU_W);\n      wmove (win, 15, 0);\n      if (!date_format)\n        date_format = get_input_date_format ();\n      cstm_date = input_string (win, 15, 2, 14, date_format, 0, 0);\n      if (cstm_date != NULL && *cstm_date != '\\0') {\n        if (date_format)\n          free (date_format);\n        date_format = alloc_string (cstm_date);\n        free (cstm_date);\n      } else {\n        if (cstm_date)\n          free (cstm_date);\n        if (date_format) {\n          free (date_format);\n          date_format = NULL;\n        }\n      }\n      break;\n    case 116:\n      clear_confdlg_status_bar (win, 3, 2, CONF_MENU_W);\n      wmove (win, 15, 0);\n      if (!time_format)\n        time_format = get_input_time_format ();\n      cstm_time = input_string (win, 18, 2, 14, time_format, 0, 0);\n      if (cstm_time != NULL && *cstm_time != '\\0') {\n        if (time_format)\n          free (time_format);\n        time_format = alloc_string (cstm_time);\n        free (cstm_time);\n      } else {\n        if (cstm_time)\n          free (cstm_time);\n        if (time_format) {\n          free (time_format);\n          time_format = NULL;\n        }\n      }\n      break;\n    case 274:\n    case 0x0a:\n    case 0x0d:\n    case KEY_ENTER:\n      if ((log_err = set_formats (date_format, log_format, time_format)))\n        draw_header (win, log_err, \" %s\", 3, 2, CONF_MENU_W, color_error);\n      if (!log_err) {\n        char **errors = NULL;\n        int nerrors = 0;\n        if ((errors = test_format (logs, &nerrors))) {\n          invalid = 1;\n          load_confdlg_error (win, errors, nerrors);\n        } else {\n          reset_struct (logs);\n          spinner->win = win;\n          spinner->y = 3;\n          spinner->x = 2;\n          spinner->spin_x = CONF_MENU_W;\n          spinner->w = CONF_MENU_W;\n          spinner->color = color_progress;\n          ui_spinner_create (spinner);\n          invalid = 0;\n          quit = 0;\n        }\n      }\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    pthread_mutex_lock (&spinner->mutex);\n    wrefresh (win);\n    pthread_mutex_unlock (&spinner->mutex);\n  }\n\n  free (time_format);\n  free (date_format);\n  free (log_format);\n\n  for (i = 0; i < n; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n\n  return invalid ? 1 : 0;\n}\n\nstatic void\nscheme_chosen (const char *name) {\n  int force = 0;\n\n  free_color_lists ();\n  if (strcmp (\"Green\", name) == 0) {\n    conf.color_scheme = STD_GREEN;\n    force = 1;\n  } else if (strcmp (\"Monochrome\", name) == 0) {\n    conf.color_scheme = MONOCHROME;\n    force = 1;\n  } else if (strcmp (\"Monokai\", name) == 0) {\n    conf.color_scheme = MONOKAI;\n    force = 1;\n  } else if (strcmp (\"Custom Scheme\", name) == 0) {\n    force = 0;\n  }\n  init_colors (force);\n}\n\nstatic const char **\nget_color_schemes (size_t *size) {\n  const char *choices[] = {\n    \"Monokai\",\n    \"Monochrome\",\n    \"Green\",\n    \"Custom Scheme\"\n  };\n  int i, j, n = ARRAY_SIZE (choices);\n  const char **opts = xmalloc (sizeof (char *) * n);\n\n  for (i = 0, j = 0; i < n; ++i) {\n    if (!conf.color_idx && !strcmp (\"Custom Scheme\", choices[i]))\n      continue;\n    if (COLORS < 256 && !strcmp (\"Monokai\", choices[i]))\n      continue;\n    opts[j++] = choices[i];\n  }\n  *size = j;\n\n  return opts;\n}\n\nvoid\nload_schemes_win (WINDOW *main_win) {\n  GMenu *menu;\n  WINDOW *win;\n  int c, quit = 1;\n  size_t i, n = 0;\n  int y, x, h = SCHEME_WIN_H, w = SCHEME_WIN_W;\n  int w2 = w - 2;\n  const char **choices = get_color_schemes (&n);\n\n  getmaxyx (stdscr, y, x);\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, SCHEME_MENU_H, SCHEME_MENU_W, SCHEME_MENU_Y, SCHEME_MENU_X);\n  menu->size = n;\n\n  menu->items = (GItem *) xcalloc (n, sizeof (GItem));\n  for (i = 0; i < n; ++i) {\n    menu->items[i].name = alloc_string (choices[i]);\n    menu->items[i].checked = 0;\n  }\n\n  post_gmenu (menu);\n  draw_header (win, SCHEMEDLG_HEAD, \" %s\", 1, 1, w2, color_panel_header);\n  mvwprintw (win, 2, 2, SCHEMEDLG_DESC);\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case 32:\n    case 0x0a:\n    case 0x0d:\n    case KEY_ENTER:\n      gmenu_driver (menu, REQ_SEL);\n      for (i = 0; i < n; ++i) {\n        if (menu->items[i].checked != 1)\n          continue;\n        scheme_chosen (choices[i]);\n        break;\n      }\n      quit = 0;\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  for (i = 0; i < n; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n  free (choices);\n\n  touchwin (main_win);\n  close_win (win);\n  wrefresh (main_win);\n}\n\nstatic void\nswap_modules (int idx1, int idx2) {\n  int tmp = module_list[idx1];\n  module_list[idx1] = module_list[idx2];\n  module_list[idx2] = tmp;\n}\n\nvoid\nload_panels_win (WINDOW *main_win) {\n  GMenu *menu;\n  WINDOW *win;\n  int c, quit = 1;\n  int i, n = 0;\n  int y, x, h = PANELS_WIN_H, w = PANELS_WIN_W;\n  int w2 = w - 2;\n  int menu_h;\n  char *tmp_name = NULL;\n  size_t idx = 0;\n\n  getmaxyx (stdscr, y, x);\n\n  FOREACH_MODULE (idx, module_list) {\n    n++;\n  }\n\n  menu_h = n < 14 ? n : 14;\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n\n  menu = new_gmenu (win, menu_h, w - 4, PANELS_MENU_Y, PANELS_MENU_X);\n  menu->size = n;\n  menu->selectable = 0;\n\n  menu->items = (GItem *) xcalloc (n, sizeof (GItem));\n\n  idx = 0;\n  i = 0;\n  FOREACH_MODULE (idx, module_list) {\n    GModule module = module_list[idx];\n    const char *label = module_to_label (module);\n    int pos = i + 1;\n\n    menu->items[i].name = xmalloc (snprintf (NULL, 0, \"%d. %s\", pos, label) + 1);\n    sprintf (menu->items[i].name, \"%d. %s\", pos, label);\n    i++;\n  }\n\n  post_gmenu (menu);\n  draw_header (win, \"Reorder Panels\", \" %s\", 1, 1, w2, color_panel_header);\n  mvwprintw (win, 2, 2, \"Numbers shown are keyboard shortcuts\");\n  mvwprintw (win, h - 2, 2, \"[Up/Down] Navigate [Enter] Move Down [q] Close\");\n  wrefresh (win);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case KEY_DOWN:\n      gmenu_driver (menu, REQ_DOWN);\n      break;\n    case KEY_UP:\n      gmenu_driver (menu, REQ_UP);\n      break;\n    case 'w':\n    case 'W':\n    case 575:\n      if (menu->idx > 0) {\n        swap_modules (menu->idx, menu->idx - 1);\n        tmp_name = menu->items[menu->idx].name;\n        menu->items[menu->idx].name = menu->items[menu->idx - 1].name;\n        menu->items[menu->idx - 1].name = tmp_name;\n        menu->idx--;\n        post_gmenu (menu);\n      }\n      break;\n    case 's':\n    case 'S':\n    case 534:\n      if (menu->idx < n - 1) {\n        swap_modules (menu->idx, menu->idx + 1);\n        tmp_name = menu->items[menu->idx].name;\n        menu->items[menu->idx].name = menu->items[menu->idx + 1].name;\n        menu->items[menu->idx + 1].name = tmp_name;\n        menu->idx++;\n        post_gmenu (menu);\n      }\n      break;\n    case KEY_RESIZE:\n    case 'q':\n      quit = 0;\n      break;\n    }\n    wrefresh (win);\n  }\n\n  for (i = 0; i < n; ++i)\n    free (menu->items[i].name);\n  free (menu->items);\n  free (menu);\n\n  touchwin (main_win);\n  close_win (win);\n  wrefresh (main_win);\n}\n"
  },
  {
    "path": "src/dialogs.h",
    "content": "/**\n * dialogs.h -- UI dialog windows\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef DIALOGS_H_INCLUDED\n#define DIALOGS_H_INCLUDED\n\n#include \"ui.h\"\n#include \"sort.h\"\n\nvoid load_help_popup (WINDOW * main_win);\nvoid load_sort_win (WINDOW * main_win, GModule module, GSort * sort);\nvoid load_schemes_win (WINDOW * main_win);\nint render_confdlg (Logs * logs, GSpinner * spinner);\nGAgents *load_host_agents (const char *addr);\nvoid load_agent_list (WINDOW * main_win, char *addr);\nvoid load_panels_win (WINDOW * main_win);\n\n#endif\n"
  },
  {
    "path": "src/error.c",
    "content": "/**\n * error.c -- error handling\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <signal.h>\n#if defined(__GLIBC__)\n#include <execinfo.h>\n#endif\n#include <inttypes.h>\n#include <sys/types.h>\n#include <unistd.h>\n\n#include \"error.h\"\n#include \"labels.h\"\n#include \"parser.h\"\n\nstatic FILE *access_log;\nstatic FILE *log_file;\nstatic FILE *log_invalid;\nstatic FILE *log_unknowns;\nstatic Logs *log_data;\nstatic struct sigaction old_sigsegv_handler;\n\n/* Open a debug file whose name is specified in the given path. */\nvoid\ndbg_log_open (const char *path) {\n  if (path != NULL) {\n    log_file = fopen (path, \"w\");\n    if (log_file == NULL)\n      return;\n  }\n}\n\n/* Close the debug file. */\nvoid\ndbg_log_close (void) {\n  if (log_file != NULL)\n    fclose (log_file);\n}\n\n/* Open the invalid requests log file whose name is specified in the\n * given path. */\nvoid\ninvalid_log_open (const char *path) {\n  if (path != NULL) {\n    log_invalid = fopen (path, \"w\");\n    if (log_invalid == NULL)\n      return;\n  }\n}\n\n/* Close the invalid requests log file. */\nvoid\ninvalid_log_close (void) {\n  if (log_invalid != NULL)\n    fclose (log_invalid);\n}\n\n/* Open the unknowns log file whose name is specified in the\n * given path. */\nvoid\nunknowns_log_open (const char *path) {\n  if (path != NULL) {\n    log_unknowns = fopen (path, \"w\");\n    if (log_unknowns == NULL)\n      return;\n  }\n}\n\n/* Close the unknowns log file. */\nvoid\nunknowns_log_close (void) {\n  if (log_unknowns != NULL)\n    fclose (log_unknowns);\n}\n\n/* Set current overall parsed log data. */\nvoid\nset_signal_data (void *p) {\n  log_data = p;\n}\n\n/* Open the WebSocket access log file whose name is specified in the\n * given path. */\nint\naccess_log_open (const char *path) {\n  if (path == NULL)\n    return 0;\n\n  access_log = fopen (path, \"a\");\n\n  if (access_log == NULL)\n    return 1;\n\n  return 0;\n}\n\n/* Close the WebSocket access log file. */\nvoid\naccess_log_close (void) {\n  if (access_log != NULL)\n    fclose (access_log);\n}\n\n/* Set up sigsegv handler. */\nvoid\nsetup_sigsegv_handler (void) {\n  struct sigaction act;\n\n  sigemptyset (&act.sa_mask);\n  act.sa_flags = (int) SA_RESETHAND;\n  act.sa_handler = sigsegv_handler;\n\n  sigaction (SIGSEGV, &act, &old_sigsegv_handler);\n}\n\nstatic void\ndump_struct_data (FILE *fp, GLog *glog, int pid) {\n  fprintf (fp, \"==%d== FILE: %s\\n\", pid, glog->props.filename);\n  fprintf (fp, \"==%d== Line number: %\" PRIu64 \"\\n\", pid, glog->processed);\n  fprintf (fp, \"==%d== Invalid data: %\" PRIu64 \"\\n\", pid, glog->invalid);\n  fprintf (fp, \"==%d== Piping: %d\\n\", pid, glog->piping);\n  fprintf (fp, \"==%d==\\n\", pid);\n}\n\n/* Dump to the standard output the values of the overall parsed log\n * data. */\nstatic void\ndump_struct (FILE *fp) {\n  int pid = getpid (), i;\n\n  if (!log_data)\n    return;\n\n  fprintf (fp, \"==%d== VALUES AT CRASH POINT\\n\", pid);\n  fprintf (fp, \"==%d==\\n\", pid);\n\n  for (i = 0; i < log_data->size; ++i)\n    dump_struct_data (fp, &log_data->glog[i], pid);\n\n}\n\n/* Custom SIGSEGV handler. */\nvoid\nsigsegv_handler (int sig) {\n  FILE *fp = stderr;\n  int pid = getpid ();\n\n#if defined(__GLIBC__)\n  char **messages;\n  size_t size, i;\n  void *trace_stack[TRACE_SIZE];\n#endif\n\n  (void) endwin ();\n  fprintf (fp, \"\\n\");\n  fprintf (fp, \"==%d== GoAccess %s crashed by Sig %d\\n\", pid, GO_VERSION, sig);\n  fprintf (fp, \"==%d==\\n\", pid);\n\n  dump_struct (fp);\n\n#if defined(__GLIBC__)\n  size = backtrace (trace_stack, TRACE_SIZE);\n  messages = backtrace_symbols (trace_stack, size);\n\n  fprintf (fp, \"==%d== STACK TRACE:\\n\", pid);\n  fprintf (fp, \"==%d==\\n\", pid);\n\n  for (i = 0; i < size; i++)\n    fprintf (fp, \"==%d== %zu %s\\n\", pid, i, messages[i]);\n#endif\n\n  fprintf (fp, \"==%d==\\n\", pid);\n  fprintf (fp, \"==%d== %s:\\n\", pid, ERR_PLEASE_REPORT);\n  fprintf (fp, \"==%d== https://github.com/allinurl/goaccess/issues\\n\\n\", pid);\n  fflush (fp);\n\n  /* Call old sigsegv handler; may be default exit or third party one (e.g. ASAN) */\n  sigaction (SIGSEGV, &old_sigsegv_handler, NULL);\n}\n\n/* Write formatted debug log data to the logfile. */\nvoid\ndbg_fprintf (const char *fmt, ...) {\n  va_list args;\n\n  if (!log_file)\n    return;\n\n  va_start (args, fmt);\n  vfprintf (log_file, fmt, args);\n  fflush (log_file);\n  va_end (args);\n}\n\n/* Write formatted invalid requests log data to the logfile. */\nvoid\ninvalid_fprintf (const char *fmt, ...) {\n  va_list args;\n\n  if (!log_invalid)\n    return;\n\n  va_start (args, fmt);\n  vfprintf (log_invalid, fmt, args);\n  fflush (log_invalid);\n  va_end (args);\n}\n\n/* Write formatted unknown browsers/OSs log data to the logfile. */\nvoid\nunknowns_fprintf (const char *fmt, ...) {\n  va_list args;\n\n  if (!log_unknowns)\n    return;\n\n  va_start (args, fmt);\n  vfprintf (log_unknowns, fmt, args);\n  fflush (log_unknowns);\n  va_end (args);\n}\n\n/* Debug output */\nvoid\ndbg_printf (const char *fmt, ...) {\n  va_list args;\n  va_start (args, fmt);\n  vfprintf (stderr, fmt, args);\n  va_end (args);\n}\n\n/* Write formatted access log data to the logfile. */\nvoid\naccess_fprintf (const char *fmt, ...) {\n  va_list args;\n\n  if (!access_log)\n    return;\n\n  va_start (args, fmt);\n  vfprintf (access_log, fmt, args);\n  fflush (access_log);\n  va_end (args);\n}\n"
  },
  {
    "path": "src/error.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef ERROR_H_INCLUDED\n#define ERROR_H_INCLUDED\n\n#ifndef COMMONS\n#include \"commons.h\"\n#endif\n\n#ifdef HAVE_NCURSESW_NCURSES_H\n#include <ncursesw/ncurses.h>\n#elif HAVE_NCURSES_NCURSES_H\n#include <ncurses/ncurses.h>\n#elif HAVE_NCURSES_H\n#include <ncurses.h>\n#elif HAVE_CURSES_H\n#include <curses.h>\n#endif\n\n#include <stdio.h>\n#include \"settings.h\"\n\n#define TRACE_SIZE 128\n\n#define FATAL(fmt, ...) do {                                                                 \\\n  (void) endwin ();                                                                          \\\n  fprintf (stderr, \"\\nGoAccess - version %s - %s %s\\n\", GO_VERSION, __DATE__, __TIME__);     \\\n  fprintf (stderr, \"Config file: %s\\n\", conf.iconfigfile ?: NO_CONFIG_FILE);                 \\\n  fprintf (stderr, \"\\nFatal error has occurred\");                                            \\\n  fprintf (stderr, \"\\nError occurred at: %s - %s - %d\\n\", __FILE__, __FUNCTION__, __LINE__); \\\n  fprintf (stderr, fmt, ##__VA_ARGS__);                                                      \\\n  fprintf (stderr, \"\\n\\n\");                                                                  \\\n  LOG_DEBUG ((fmt, ##__VA_ARGS__));                                                          \\\n  exit(EXIT_FAILURE);                                                                        \\\n} while (0)\n\n#ifdef DEBUG\n#define DEBUG_TEST 1\n#else\n#define DEBUG_TEST 0\n#endif\n\n/* access requests log */\n#define ACCESS_LOG(x, ...) do { access_fprintf x; } while (0)\n/* debug log */\n#define LOG_DEBUG(x, ...) do { dbg_fprintf x; } while (0)\n/* invalid requests log */\n#define LOG_INVALID(x, ...) do { invalid_fprintf x; } while (0)\n/* unknown browser log */\n#define LOG_UNKNOWNS(x, ...) do { unknowns_fprintf x; } while (0)\n/* log debug wrapper */\n#define LOG(x) do { if (DEBUG_TEST) dbg_printf x; } while (0)\n\nint access_log_open (const char *path);\nvoid access_fprintf (const char *fmt, ...) __attribute__((format (printf, 1, 2)));\nvoid access_log_close (void);\nvoid dbg_fprintf (const char *fmt, ...) __attribute__((format (printf, 1, 2)));\nvoid dbg_log_close (void);\nvoid dbg_log_open (const char *file);\nvoid dbg_printf (const char *fmt, ...) __attribute__((format (printf, 1, 2)));\nvoid invalid_fprintf (const char *fmt, ...) __attribute__((format (printf, 1, 2)));\nvoid unknowns_fprintf (const char *fmt, ...) __attribute__((format (printf, 1, 2)));\nvoid invalid_log_close (void);\nvoid invalid_log_open (const char *path);\nvoid set_signal_data (void *p);\nvoid setup_sigsegv_handler (void);\nvoid sigsegv_handler (int sig);\nvoid unknowns_log_close (void);\nvoid unknowns_log_open (const char *path);\n\n#endif\n"
  },
  {
    "path": "src/fileio.c",
    "content": "/**\n * fileio.c -- gFile I/O abstraction layer for goaccess\n * This provides a unified interface for reading both regular and gzipped files\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n\n#include \"fileio.h\"\n\n#ifdef HAVE_ZLIB\n/* Check if a file is gzipped by examining its magic bytes */\nstatic int\nis_gzipped_file (const char *filename) {\n  FILE *fp;\n  unsigned char magic[2];\n  int result = 0;\n\n  if ((fp = fopen (filename, \"rb\")) == NULL)\n    return 0;\n\n  if (fread (magic, 1, 2, fp) == 2) {\n    /* gzip magic number is 0x1f 0x8b */\n    if (magic[0] == 0x1f && magic[1] == 0x8b)\n      result = 1;\n  }\n\n  fclose (fp);\n  return result;\n}\n#endif\n\n/* Open a file for reading, automatically detecting gzip compression */\nGFileHandle *\ngfile_open (const char *filename, const char *mode) {\n  GFileHandle *fh;\n\n  if ((fh = calloc (1, sizeof (GFileHandle))) == NULL)\n    return NULL;\n\n#ifdef HAVE_ZLIB\n  /* Check if file is gzipped */\n  if (is_gzipped_file (filename)) {\n    fh->is_gzipped = 1;\n    fh->gzfp = gzopen (filename, mode);\n    if (fh->gzfp == NULL) {\n      free (fh);\n      return NULL;\n    }\n    fh->fp = NULL;\n    return fh;\n  }\n#endif\n\n  /* Open as regular file */\n#ifdef HAVE_ZLIB\n  fh->is_gzipped = 0;\n  fh->gzfp = NULL;\n#endif\n  fh->fp = fopen (filename, mode);\n  if (fh->fp == NULL) {\n    free (fh);\n    return NULL;\n  }\n\n  return fh;\n}\n\n/* Close a file handle */\nvoid\ngfile_close (GFileHandle *fh) {\n  if (!fh)\n    return;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    gzclose (fh->gzfp);\n  } else\n#endif\n  if (fh->fp) {\n    fclose (fh->fp);\n  }\n\n  free (fh);\n}\n\n/* Read a line from the file */\nchar *\ngfile_gets (char *buf, int size, GFileHandle *fh) {\n  if (!fh || !buf || size <= 0)\n    return NULL;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    return gzgets (fh->gzfp, buf, size);\n  }\n#endif\n\n  if (fh->fp)\n    return fgets (buf, size, fh->fp);\n\n  return NULL;\n}\n\n/* Check if end of file is reached */\nint\ngfile_eof (GFileHandle *fh) {\n  if (!fh)\n    return 1;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    return gzeof (fh->gzfp);\n  }\n#endif\n\n  if (fh->fp)\n    return feof (fh->fp);\n\n  return 1;\n}\n\n/* Read data from file */\nint\ngfile_read (void *buf, size_t size, size_t count, GFileHandle *fh) {\n  if (!fh || !buf)\n    return 0;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    int bytes_to_read = size * count;\n    int bytes_read = gzread (fh->gzfp, buf, bytes_to_read);\n    if (bytes_read < 0)\n      return 0;\n    return bytes_read / size;\n  }\n#endif\n\n  if (fh->fp)\n    return fread (buf, size, count, fh->fp);\n\n  return 0;\n}\n\n/* Seek to a position in the file */\nint\ngfile_seek (GFileHandle *fh, long offset, int whence) {\n  if (!fh)\n    return -1;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    /* gzseek returns the current offset, or -1 on error */\n    z_off_t result = gzseek (fh->gzfp, offset, whence);\n    return (result == -1) ? -1 : 0;\n  }\n#endif\n\n  if (fh->fp)\n    return fseek (fh->fp, offset, whence);\n\n  return -1;\n}\n\n/* Get current position in file */\nlong\ngfile_tell (GFileHandle *fh) {\n  if (!fh)\n    return -1;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    return (long) gztell (fh->gzfp);\n  }\n#endif\n\n  if (fh->fp)\n    return ftell (fh->fp);\n\n  return -1;\n}\n\n/* Check for file errors */\nint\ngfile_error (GFileHandle *fh) {\n  if (!fh)\n    return 1;\n\n#ifdef HAVE_ZLIB\n  if (fh->is_gzipped && fh->gzfp) {\n    int errnum;\n    gzerror (fh->gzfp, &errnum);\n    return errnum != Z_OK && errnum != Z_STREAM_END;\n  }\n#endif\n\n  if (fh->fp)\n    return ferror (fh->fp);\n\n  return 1;\n}\n"
  },
  {
    "path": "src/fileio.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef FILEIO_H_INCLUDED\n#define FILEIO_H_INCLUDED\n\n#include <stdio.h>\n\n#ifdef HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifdef HAVE_ZLIB\n#include <zlib.h>\n#endif\n\n/* File handle abstraction */\ntypedef struct GFileHandle_ {\n#ifdef HAVE_ZLIB\n  gzFile gzfp;\n  int is_gzipped;\n#endif\n  FILE *fp;\n} GFileHandle;\n\n/* Function prototypes */\nGFileHandle *gfile_open (const char *filename, const char *mode);\nvoid gfile_close (GFileHandle * fh);\nchar *gfile_gets (char *buf, int size, GFileHandle * fh);\nint gfile_eof (GFileHandle * fh);\nint gfile_read (void *buf, size_t size, size_t count, GFileHandle * fh);\nint gfile_seek (GFileHandle * fh, long offset, int whence);\nlong gfile_tell (GFileHandle * fh);\nint gfile_error (GFileHandle * fh);\n\n#endif /* FILEIO_H_INCLUDED */\n"
  },
  {
    "path": "src/gchart.c",
    "content": "/**\n * gchart.c -- TUI chart implementation\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n#include <inttypes.h>\n#include <ctype.h>\n\n#include \"gchart.h\"\n#include \"ui.h\"\n#include \"color.h\"\n#include \"commons.h\"\n#include \"gholder.h\"\n#include \"settings.h\"\n#include \"xmalloc.h\"\n\n#define round(x) ((x) < 0 ? (int)((x) - 0.5) : (int)((x) + 0.5))\n\n/* Formatting helpers */\n\nchar *\nformat_number_abbrev (uint64_t val, char *buf, size_t len) {\n  if (val >= 1000000000ULL) {\n    snprintf (buf, len, \"%\" PRIu64 \"G\", (uint64_t) ((val + 500000000ULL) / 1000000000ULL));\n  } else if (val >= 1000000ULL) {\n    snprintf (buf, len, \"%\" PRIu64 \"M\", (uint64_t) ((val + 500000ULL) / 1000000ULL));\n  } else if (val >= 1000ULL) {\n    snprintf (buf, len, \"%\" PRIu64 \"K\", (uint64_t) ((val + 500ULL) / 1000ULL));\n  } else {\n    snprintf (buf, len, \"%\" PRIu64, val);\n  }\n  buf[4] = '\\0';\n  return buf;\n}\n\nstatic char *\nformat_bw_abbrev (uint64_t bytes, char *buf, size_t len) {\n  uint64_t v = bytes;\n  const char *s = \"B\";\n\n  if (bytes >= (1ULL << 40)) {\n    v = (bytes + (1ULL << 39)) >> 40;\n    s = \"T\";\n  } else if (bytes >= (1ULL << 30)) {\n    v = (bytes + (1ULL << 29)) >> 30;\n    s = \"G\";\n  } else if (bytes >= (1ULL << 20)) {\n    v = (bytes + (1ULL << 19)) >> 20;\n    s = \"M\";\n  } else if (bytes >= (1ULL << 10)) {\n    v = (bytes + (1ULL << 9)) >> 10;\n    s = \"K\";\n  } else {\n    v = bytes;\n    s = \"B\";\n  }\n\n  if (v >= 1000) {\n    snprintf (buf, len, \"%\" PRIu64, bytes);\n  } else {\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  }\n  buf[4] = '\\0';\n  return buf;\n}\n\nstatic char *\nformat_time_abbrev (uint64_t us, char *buf, size_t len) {\n  uint64_t v = us;\n  const char *s = \"\\u00b5s\";\n\n  if (us < 1000ULL) {\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", us, s);\n  } else if (us < 1000000ULL) {\n    v = (us + 500ULL) / 1000ULL;\n    s = \"ms\";\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  } else if (us < 60000000ULL) {\n    v = (us + 500000ULL) / 1000000ULL;\n    s = \"s\";\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  } else if (us < 3600000000ULL) {\n    v = (us + 30000000ULL) / 60000000ULL;\n    s = \"m\";\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  } else if (us < 86400000000ULL) {\n    v = (us + 1800000000ULL) / 3600000000ULL;\n    s = \"h\";\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  } else {\n    v = (us + 43200000000ULL) / 86400000000ULL;\n    s = \"d\";\n    snprintf (buf, len, \"%\" PRIu64 \"%s\", v, s);\n  }\n  buf[5] = '\\0';\n  return buf;\n}\n\nstatic char *\nformat_metric_value (uint64_t val, char *buf, size_t len, int metric_type) {\n  switch (metric_type) {\n  case CHART_METRIC_AVGTS:\n  case CHART_METRIC_CUMTS:\n  case CHART_METRIC_MAXTS:\n    return format_time_abbrev (val, buf, len);\n  case CHART_METRIC_BW:\n    return format_bw_abbrev (val, buf, len);\n  default:\n    return format_number_abbrev (val, buf, len);\n  }\n}\n\nstatic const char *\nget_metric_name (int metric_type) {\n  switch (metric_type) {\n  case CHART_METRIC_HITS:\n    return MTRC_HITS_LBL;\n  case CHART_METRIC_VISITORS:\n    return MTRC_VISITORS_LBL;\n  case CHART_METRIC_BW:\n    return MTRC_BW_LBL;\n  case CHART_METRIC_AVGTS:\n    return MTRC_AVGTS_LBL;\n  case CHART_METRIC_CUMTS:\n    return MTRC_CUMTS_LBL;\n  case CHART_METRIC_MAXTS:\n    return MTRC_MAXTS_LBL;\n  default:\n    return MTRC_HITS_LBL;\n  }\n}\n\n/* Data helpers */\n\n/* Check if a metric has data in a sub-list, recursing into nested sub-lists */\nstatic int\nsub_list_has_metric (GSubList *sl, int metric_type) {\n  GSubItem *sub;\n  GMetrics *m;\n\n  if (sl == NULL)\n    return 0;\n\n  for (sub = sl->head; sub; sub = sub->next) {\n    m = sub->metrics;\n    if (m) {\n      switch (metric_type) {\n      case CHART_METRIC_HITS:\n        if (m->hits > 0)\n          return 1;\n        break;\n      case CHART_METRIC_VISITORS:\n        if (m->visitors > 0)\n          return 1;\n        break;\n      case CHART_METRIC_BW:\n        if (m->nbw > 0)\n          return 1;\n        break;\n      case CHART_METRIC_AVGTS:\n        if (conf.serve_usecs && m->avgts.nts > 0)\n          return 1;\n        break;\n      case CHART_METRIC_CUMTS:\n        if (conf.serve_usecs && m->cumts.nts > 0)\n          return 1;\n        break;\n      case CHART_METRIC_MAXTS:\n        if (conf.serve_usecs && m->maxts.nts > 0)\n          return 1;\n        break;\n      default:\n        if (m->hits > 0)\n          return 1;\n        break;\n      }\n    }\n    if (sub->sub_list != NULL && sub_list_has_metric (sub->sub_list, metric_type))\n      return 1;\n  }\n  return 0;\n}\n\nint\nmetric_has_data (GHolder *h, int metric_type) {\n  uint32_t i;\n  int has = 0;\n  GMetrics *m;\n\n  if (!h || h->idx == 0)\n    return 0;\n\n  for (i = 0; i < h->idx; i++) {\n    m = h->items[i].metrics;\n    if (m) {\n      switch (metric_type) {\n      case CHART_METRIC_HITS:\n        if (m->hits > 0)\n          has = 1;\n        break;\n      case CHART_METRIC_VISITORS:\n        if (m->visitors > 0)\n          has = 1;\n        break;\n      case CHART_METRIC_BW:\n        if (m->nbw > 0)\n          has = 1;\n        break;\n      case CHART_METRIC_AVGTS:\n        if (conf.serve_usecs && m->avgts.nts > 0)\n          has = 1;\n        break;\n      case CHART_METRIC_CUMTS:\n        if (conf.serve_usecs && m->cumts.nts > 0)\n          has = 1;\n        break;\n      case CHART_METRIC_MAXTS:\n        if (conf.serve_usecs && m->maxts.nts > 0)\n          has = 1;\n        break;\n      default:\n        if (m->hits > 0)\n          has = 1;\n        break;\n      }\n      if (has)\n        return 1;\n    }\n\n    if (h->module != HOSTS && h->items[i].sub_list) {\n      if (sub_list_has_metric (h->items[i].sub_list, metric_type))\n        return 1;\n    }\n  }\n  return 0;\n}\n\nint\nget_available_metrics (GModule module, int metrics[CHART_METRIC_COUNT]) {\n  int count = 0;\n  const GOutput *out = output_lookup (module);\n  if (!out)\n    return 0;\n\n  if (out->hits)\n    metrics[count++] = CHART_METRIC_HITS;\n  if (out->visitors)\n    metrics[count++] = CHART_METRIC_VISITORS;\n  if (out->bw && conf.bandwidth)\n    metrics[count++] = CHART_METRIC_BW;\n  if (out->avgts && conf.serve_usecs)\n    metrics[count++] = CHART_METRIC_AVGTS;\n  if (out->cumts && conf.serve_usecs)\n    metrics[count++] = CHART_METRIC_CUMTS;\n  if (out->maxts && conf.serve_usecs)\n    metrics[count++] = CHART_METRIC_MAXTS;\n\n  return count;\n}\n\nstatic uint64_t\nget_metric_value (GMetrics *metrics, int metric_type) {\n  if (!metrics)\n    return 0;\n  switch (metric_type) {\n  case CHART_METRIC_HITS:\n    return metrics->hits;\n  case CHART_METRIC_VISITORS:\n    return metrics->visitors;\n  case CHART_METRIC_BW:\n    return metrics->nbw;\n  case CHART_METRIC_AVGTS:\n    return conf.serve_usecs ? metrics->avgts.nts : 0;\n  case CHART_METRIC_CUMTS:\n    return conf.serve_usecs ? metrics->cumts.nts : 0;\n  case CHART_METRIC_MAXTS:\n    return conf.serve_usecs ? metrics->maxts.nts : 0;\n  default:\n    return metrics->hits;\n  }\n}\n\n/* Chart item flattening */\n\ntypedef struct {\n  GMetrics *metrics;\n  int is_subitem;\n  int flat_idx;\n} ChartItem;\n\n/* Recursively count all sub-items in a sub-list tree (chart-local). */\nstatic int\ncount_sub_items_recursive_chart (GSubList *sl) {\n  GSubItem *iter;\n  int count = 0;\n  if (sl == NULL)\n    return 0;\n  for (iter = sl->head; iter; iter = iter->next) {\n    count++;\n    if (iter->sub_list)\n      count += count_sub_items_recursive_chart (iter->sub_list);\n  }\n  return count;\n}\n\n/* Count visible sub-items recursively given per-node expand state (chart-local). */\nstatic int\ncount_visible_sub_chart (GSubList *sl, const uint8_t *node_exp, int node_exp_size, int *full_idx) {\n  GSubItem *iter;\n  int count = 0;\n  if (sl == NULL)\n    return 0;\n  for (iter = sl->head; iter; iter = iter->next) {\n    int my_full = *full_idx;\n    count++;\n    (*full_idx)++;\n    if (iter->sub_list && iter->sub_list->size > 0) {\n      int expanded = 1;\n      if (node_exp != NULL && my_full < node_exp_size)\n        expanded = node_exp[my_full];\n      if (expanded)\n        count += count_visible_sub_chart (iter->sub_list, node_exp, node_exp_size, full_idx);\n      else\n        *full_idx += count_sub_items_recursive_chart (iter->sub_list);\n    }\n  }\n  return count;\n}\n\n/* Recursively flatten visible sub-items into the chart items array */\nstatic void\nflatten_sub_items (GSubList *sl, ChartItem *items, int *idx, int depth, int *full_idx,\n                   const uint8_t *node_exp, int node_exp_size) {\n  GSubItem *sub;\n  if (sl == NULL)\n    return;\n  for (sub = sl->head; sub; sub = sub->next) {\n    int my_full = *full_idx;\n    items[*idx] = (ChartItem) {\n    .metrics = sub->metrics,.is_subitem = depth,.flat_idx = *idx};\n    (*idx)++;\n    (*full_idx)++;\n    if (sub->sub_list != NULL && sub->sub_list->size > 0) {\n      int expanded = 1;\n      if (node_exp != NULL && my_full < node_exp_size)\n        expanded = node_exp[my_full];\n      if (expanded)\n        flatten_sub_items (sub->sub_list, items, idx, depth + 1, full_idx, node_exp, node_exp_size);\n      else\n        *full_idx += count_sub_items_recursive_chart (sub->sub_list);\n    }\n  }\n}\n\nstatic int\nbuild_chart_items (GHolder *h, ChartItem **out, const uint8_t *item_expanded,\n                   int item_expanded_size) {\n  uint32_t i;\n  int count = h->idx, idx = 0, full_idx = 0;\n  ChartItem *items;\n\n  /* Only include sub-items if we have expand state (i.e., panel is expanded) */\n  if (h->module != HOSTS && item_expanded != NULL && item_expanded_size > 0) {\n    /* Count visible items using per-node expand state */\n    int fi = 0;\n    for (i = 0; i < h->idx; i++) {\n      int my_full = fi;\n      fi++;\n      if (h->items[i].sub_list && h->items[i].sub_list->size > 0) {\n        int expanded = 1;\n        if (my_full < item_expanded_size)\n          expanded = item_expanded[my_full];\n        if (expanded)\n          count +=\n            count_visible_sub_chart (h->items[i].sub_list, item_expanded, item_expanded_size, &fi);\n        else\n          fi += count_sub_items_recursive_chart (h->items[i].sub_list);\n      }\n    }\n  }\n  /* If item_expanded is NULL, we only render root items (count = h->idx already) */\n\n  items = xcalloc (count, sizeof (ChartItem));\n\n  for (i = 0; i < h->idx; i++) {\n    int my_full = full_idx;\n    items[idx] = (ChartItem) {\n    .metrics = h->items[i].metrics,.is_subitem = 0,.flat_idx = idx};\n    idx++;\n    full_idx++;\n\n    /* Only flatten sub-items if panel is expanded (item_expanded != NULL) */\n    if (h->module != HOSTS && item_expanded != NULL && h->items[i].sub_list &&\n        h->items[i].sub_list->size > 0) {\n      int should_expand = 1;\n      if (my_full < item_expanded_size)\n        should_expand = item_expanded[my_full];\n      if (should_expand)\n        flatten_sub_items (h->items[i].sub_list, items, &idx, 1, &full_idx, item_expanded,\n                           item_expanded_size);\n      else\n        full_idx += count_sub_items_recursive_chart (h->items[i].sub_list);\n    }\n  }\n\n  *out = items;\n  return idx;\n}\n\nstatic uint64_t\napply_log_scale (uint64_t value, uint64_t max_value) {\n  double log_val, log_max;\n  if (value == 0 || max_value == 0)\n    return 0;\n  log_val = log10 ((double) value + 1.0);\n  log_max = log10 ((double) max_value + 1.0);\n  if (log_max == 0)\n    return value;\n  return (uint64_t) ((log_val / log_max) * max_value);\n}\n\n/* Drawing primitives */\nstatic void\ndraw_vbar (ChartDrawCtx *ctx, int x, int filled, GColors *color, int is_selected,\n           uint64_t actual_val) {\n  WINDOW *w = ctx->win;\n  int y_top = ctx->y_chart_start;\n  int width = ctx->bar_width;\n  int i, y, ly, lx;\n  char buf[16];\n  GColors *val_col;\n\n  for (i = 0; i < ctx->bar_height; i++)\n    mvwhline (w, y_top + i, x, ' ', width);\n\n  if (is_selected) {\n    /* Use COLOR_SELECTED colors + underline + bold for selected bar */\n    GColors *sel = get_color (COLOR_SELECTED);\n    wattron (w, COLOR_PAIR (sel->pair->idx) | A_BOLD | A_UNDERLINE);\n  } else {\n    /* Normal bar: original color + reverse */\n    wattron (w, COLOR_PAIR (color->pair->idx) | color->attr | A_REVERSE);\n  }\n\n  /* Draw filled part */\n  for (i = 0; i < filled; i++) {\n    y = y_top + ctx->bar_height - 1 - i;\n    mvwhline (w, y, x, ' ', width);\n  }\n\n  /* Turn off what we turned on */\n  wattroff (w, COLOR_PAIR (color->pair->idx) | color->attr | A_REVERSE | A_BOLD | A_UNDERLINE);\n\n  /* Value label (unchanged) */\n  if (actual_val > 0 && ctx->show_bar_values) {\n    format_metric_value (actual_val, buf, sizeof (buf), ctx->metric_type);\n    y = y_top + ctx->bar_height - filled;\n    ly = y - 1;\n    if (ly < y_top - 1)\n      ly = y_top - 1;\n\n    val_col = get_color (COLOR_CHART_VALUES);\n    wattron (w, COLOR_PAIR (val_col->pair->idx) | val_col->attr);\n    if (is_selected)\n      wattron (w, A_BOLD);\n    lx = x + (width - (int) strlen (buf)) / 2;\n    if (lx < x)\n      lx = x;\n    mvwprintw (w, ly, lx, \"%s\", buf);\n    wattroff (w, COLOR_PAIR (val_col->pair->idx) | val_col->attr);\n    if (is_selected)\n      wattroff (w, A_BOLD);\n  }\n}\n\nstatic void\ndraw_axes (ChartDrawCtx *ctx) {\n  WINDOW *w;\n  int ys, xs, h, i, yt, lx;\n  GColors *axis;\n  uint64_t maxv;\n  char buf[16];\n  const int ticks = 4;\n\n  if (!ctx->show_axes)\n    return;\n\n  w = ctx->win;\n  ys = ctx->y_chart_start;\n  xs = ctx->x_start;\n  h = ctx->bar_height;\n  axis = get_color (COLOR_CHART_AXIS);\n  maxv = ctx->display_max;\n\n  wattron (w, axis->attr | COLOR_PAIR (axis->pair->idx));\n\n  for (i = 0; i <= h; i++)\n    mvwaddch (w, ys + i, xs - 2, '|');\n\n  for (i = 0; i < getmaxx (w) - xs - 2; i++)\n    mvwaddch (w, ys + h, xs + i, '-');\n\n  for (i = 0; i <= ticks; i++) {\n    uint64_t v = (maxv * (uint64_t) i + ticks / 2) / ticks;\n    yt = ys + h - ((v * (int64_t) h + maxv / 2) / maxv);\n    format_metric_value (v, buf, sizeof (buf), ctx->metric_type);\n    lx = xs - 3 - (int) strlen (buf);\n    if (lx < 0)\n      lx = 0;\n    mvwprintw (w, yt, lx, \"%s\", buf);\n    mvwaddch (w, yt, xs - 2, '+');\n  }\n\n  wattroff (w, axis->attr | COLOR_PAIR (axis->pair->idx));\n}\n\nstatic void\ndraw_chart_indicator (ChartDrawCtx *ctx) {\n  char ind[96], mname[64];\n  GColors *col = get_color (COLOR_CHART_AXIS);\n\n  strncpy (mname, get_metric_name (ctx->metric_type), sizeof (mname) - 1);\n  mname[sizeof (mname) - 1] = '\\0';\n  for (char *p = mname; *p; p++)\n    *p = toupper ((unsigned char) *p);\n\n  snprintf (ind, sizeof (ind), \"[%s:%s%s]\",\n            mname, ctx->use_log_scale ? \"LOG\" : \"LINEAR\", ctx->reverse_bars ? \":REV\" : \"\");\n\n  wattron (ctx->win, col->attr | COLOR_PAIR (col->pair->idx));\n  mvwprintw (ctx->win, ctx->y_start, 1, \"%s\", ind);\n  wattroff (ctx->win, col->attr | COLOR_PAIR (col->pair->idx));\n}\n\n/* Window & selection helpers */\n\nstatic int\nget_chart_selected_root (const ChartDrawCtx *ctx) {\n  int cum = 0, subsz = 0;\n  uint32_t j;\n  if (ctx->selected_idx < 0)\n    return -1;\n  if (ctx->holder->module != HOSTS)\n    return ctx->selected_idx;\n\n  for (j = 0; j < ctx->holder->idx; j++) {\n    subsz = ctx->holder->items[j].sub_list ? ctx->holder->items[j].sub_list->size : 0;\n    if (ctx->selected_idx == cum)\n      return j;\n    cum += 1 + subsz;\n  }\n  return -1;\n}\n\nstatic void\ncompute_bar_window (ChartDrawCtx *ctx, int num_items) {\n  int start = ctx->scroll_offset;\n  int vis = ctx->visible_bars;\n  int sel = get_chart_selected_root (ctx);\n\n  if (sel >= 0 && num_items > vis) {\n    if (sel < start)\n      start = sel;\n    else if (sel >= start + vis)\n      start = sel - vis + 1;\n  }\n\n  if (start < 0)\n    start = 0;\n  if (num_items > vis && start > num_items - vis)\n    start = num_items - vis;\n  if (num_items <= vis)\n    start = 0;\n\n  ctx->start_bar = start;\n  ctx->end_bar = start + vis;\n  if (ctx->end_bar > num_items)\n    ctx->end_bar = num_items;\n}\n\nstatic uint64_t\ncompute_local_max (ChartItem *items, const ChartDrawCtx *ctx) {\n  uint64_t mx = 0;\n  for (int i = ctx->start_bar; i < ctx->end_bar; i++) {\n    uint64_t v = get_metric_value (items[i].metrics, ctx->metric_type);\n    if (v > mx)\n      mx = v;\n  }\n  return mx;\n}\n\nstatic void\ncompute_chart_window (ChartDrawCtx *ctx, ChartItem *items) {\n  compute_bar_window (ctx, ctx->num_items);\n  ctx->display_max = compute_local_max (items, ctx);\n}\n\nstatic void\ndraw_chart_bars (ChartDrawCtx *ctx, ChartItem *items) {\n  GColors *bar_c = get_color (COLOR_BARS), *c = NULL;\n  GColors *sub_c = get_color (COLOR_SUBBARS);\n  int sel_root = get_chart_selected_root (ctx);\n  int i, x, data_idx, vis_pos, is_sel;\n  uint64_t val, dval;\n  int filled;\n\n  for (i = ctx->start_bar; i < ctx->end_bar; i++) {\n    data_idx = ctx->reverse_bars ? (ctx->end_bar - 1 - (i - ctx->start_bar)) : i;\n    if (data_idx >= ctx->num_items)\n      continue;\n\n    val = get_metric_value (items[data_idx].metrics, ctx->metric_type);\n    dval = ctx->use_log_scale ? apply_log_scale (val, ctx->display_max) : val;\n\n    filled = (int) ((dval * (int64_t) ctx->bar_height + ctx->display_max / 2) / ctx->display_max);\n    if (filled > ctx->bar_height)\n      filled = ctx->bar_height;\n\n    vis_pos = i - ctx->start_bar;\n    x = ctx->x_start + vis_pos * (ctx->bar_width + ctx->bar_gap);\n\n    is_sel = (items[data_idx].flat_idx == sel_root);\n    c = items[data_idx].is_subitem ? sub_c : bar_c;\n\n    draw_vbar (ctx, x, filled, c, is_sel, ctx->show_bar_values ? val : 0);\n  }\n}\n\nstatic void\ndraw_chart_caret (ChartDrawCtx *ctx, ChartItem *items) {\n  int sel_root = get_chart_selected_root (ctx);\n  if (sel_root < 0)\n    return;\n\n  for (int i = ctx->start_bar; i < ctx->end_bar; i++) {\n    int didx = ctx->reverse_bars ? (ctx->end_bar - 1 - (i - ctx->start_bar)) : i;\n    if (didx >= ctx->num_items)\n      continue;\n\n    if (items[didx].flat_idx == sel_root) {\n      int pos = i - ctx->start_bar;\n      int x = ctx->x_start + pos * (ctx->bar_width + ctx->bar_gap) + ctx->bar_width / 2;\n      mvwaddch (ctx->win, ctx->y_start + ctx->chart_height, x, '^');\n      break;\n    }\n  }\n}\n\nstatic void\ncheck_top_padding (ChartDrawCtx *ctx, ChartItem *items) {\n  ctx->needs_top_padding = 0;\n  for (int i = ctx->start_bar; i < ctx->end_bar; i++) {\n    uint64_t v = get_metric_value (items[i].metrics, ctx->metric_type);\n    uint64_t dv = ctx->use_log_scale ? apply_log_scale (v, ctx->display_max) : v;\n    int f = (int) ((dv * (int64_t) ctx->bar_height + ctx->display_max / 2) / ctx->display_max);\n    if (f >= ctx->bar_height) {\n      ctx->needs_top_padding = 1;\n      break;\n    }\n  }\n}\n\n/* Main function */\n\nvoid\ndraw_panel_chart (WINDOW *win, GHolder *h, const ChartDrawCtx *user_opts) {\n  uint64_t global_max = 0, v = 0;\n  int i = 0, y = 0, height = 0, screen_w = 0;\n  ChartDrawCtx ctx = *user_opts;\n  ChartItem *items = NULL;\n  ctx.win = win;\n  ctx.holder = h;\n  ctx.x_start = ctx.show_axes ? 8 : 2;\n\n  ctx.num_items = build_chart_items (h, &items, ctx.item_expanded, ctx.item_expanded_size);\n  if (ctx.num_items == 0) {\n    free (items);\n    return;\n  }\n\n  /* Early exit if no data for this metric */\n  for (i = 0; i < ctx.num_items; i++) {\n    v = get_metric_value (items[i].metrics, ctx.metric_type);\n    if (v > global_max)\n      global_max = v;\n  }\n  if (global_max == 0) {\n    free (items);\n    return;\n  }\n\n  draw_chart_indicator (&ctx);\n\n  y = ctx.y_start + 1;\n  height = ctx.chart_height - 1;\n  ctx.bar_height = height - 1;\n\n  screen_w = getmaxx (win) - ctx.x_start - 2;\n  if (ctx.auto_width) {\n    ctx.bar_gap = 1;\n    ctx.bar_width = (screen_w - (ctx.num_items - 1) * ctx.bar_gap) / ctx.num_items;\n    if (ctx.bar_width < 1)\n      ctx.bar_width = 1;\n  } else {\n    ctx.bar_width = BAR_W;\n    ctx.bar_gap = BAR_GAP;\n  }\n\n  ctx.visible_bars = screen_w / (ctx.bar_width + ctx.bar_gap);\n  if (ctx.visible_bars < 1)\n    ctx.visible_bars = 1;\n\n  compute_chart_window (&ctx, items);\n  check_top_padding (&ctx, items);\n  ctx.y_chart_start = y + (ctx.needs_top_padding ? 1 : 0);\n\n  draw_chart_bars (&ctx, items);\n  draw_axes (&ctx);\n  draw_chart_caret (&ctx, items);\n\n  free (items);\n}\n"
  },
  {
    "path": "src/gchart.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GCHART_H_INCLUDED\n#define GCHART_H_INCLUDED\n\n#include <ncurses.h>\n#include \"commons.h\"\n\n/* Forward declarations */\ntypedef struct GHolder_ GHolder;\n\n#define DASH_CHART_HEIGHT 7\n#define BAR_W 5\n#define BAR_GAP 1\n\ntypedef enum {\n  CHART_METRIC_HITS = 0,\n  CHART_METRIC_VISITORS,\n  CHART_METRIC_BW,\n  CHART_METRIC_AVGTS,\n  CHART_METRIC_CUMTS,\n  CHART_METRIC_MAXTS,\n  CHART_METRIC_COUNT\n} GChartMetric;\n\n/* All drawing options + computed state in one place */\ntypedef struct {\n  WINDOW *win;\n  GHolder *holder;\n  int y_start;\n  int chart_height;\n  int auto_width;\n  int selected_idx;\n  int scroll_offset;\n  int show_axes;\n  int show_bar_values;\n  int metric_type;\n  int use_log_scale;\n  int reverse_bars;\n\n  /* Computed values */\n  int x_start;\n  int bar_width;\n  int bar_gap;\n  int visible_bars;\n  int start_bar;\n  int end_bar;\n  uint64_t display_max;\n  int bar_height;\n  int y_chart_start;\n  int needs_top_padding;\n  int num_items;                /* total number of chart items */\n\n  /* Per-item expand state for filtering visible chart bars */\n  const uint8_t *item_expanded; /* NULL = all expanded, else per-root-item state */\n  int item_expanded_size;       /* number of entries in item_expanded */\n} ChartDrawCtx;\n\n/* Main drawing function */\nvoid draw_panel_chart (WINDOW * win, GHolder * h, const ChartDrawCtx * opts);\n\nint metric_has_data (GHolder * h, int metric_type);\nint get_available_metrics (GModule module, int metrics[CHART_METRIC_COUNT]);\nchar *format_number_abbrev (uint64_t val, char *buf, size_t len);\n\n#endif\n"
  },
  {
    "path": "src/gdashboard.c",
    "content": "/**\n * gdashboard.c -- goaccess main dashboard\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _XOPEN_SOURCE 700\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <regex.h>\n#include <inttypes.h>\n#include \"gdashboard.h\"\n#include \"gkhash.h\"\n#include \"gchart.h\"\n#include \"gholder.h\"\n#include \"color.h\"\n#include \"error.h\"\n#include \"gstorage.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\nstatic GFind find_t;\n\n/* Forward declarations */\nstatic int count_sub_items_recursive (GSubList * sl);\nstatic int count_visible_sub (GSubList * sl, uint8_t * node_exp, int node_exp_size, int *full_idx);\n\n/* Reset find indices */\nvoid\nreset_find (void) {\n  if (find_t.pattern != NULL && *find_t.pattern != '\\0')\n    free (find_t.pattern);\n\n  find_t.look_in_sub = 0;\n  find_t.module = 0;\n  find_t.next_idx = 0; /* next total index    */\n  find_t.next_parent_idx = 0; /* next parent index   */\n  find_t.next_sub_idx = 0; /* next sub item index */\n  find_t.pattern = NULL;\n}\n\n/* Allocate memory for a new GDash instance.\n *\n * On success, the newly allocated GDash is returned . */\nGDash *\nnew_gdash (void) {\n  GDash *dash = xmalloc (sizeof (GDash));\n  memset (dash, 0, sizeof *dash);\n  dash->total_alloc = 0;\n\n  return dash;\n}\n\n/* Allocate memory for a new GDashData instance.\n *\n * On success, the newly allocated GDashData is returned . */\nGDashData *\nnew_gdata (uint32_t size) {\n  GDashData *data = xcalloc (size, sizeof (GDashData));\n  return data;\n}\n\n/* Free memory allocated for a GDashData instance. Includes malloc'd\n * strings. */\nstatic void\nfree_dashboard_data (GDashData item) {\n  if (item.metrics == NULL)\n    return;\n\n  if (item.metrics->data)\n    free (item.metrics->data);\n  if (conf.serve_usecs && item.metrics->avgts.sts)\n    free (item.metrics->avgts.sts);\n  if (conf.serve_usecs && item.metrics->cumts.sts)\n    free (item.metrics->cumts.sts);\n  if (conf.serve_usecs && item.metrics->maxts.sts)\n    free (item.metrics->maxts.sts);\n  free (item.metrics);\n}\n\n/* Free memory allocated for a GDash instance, and nested structure\n * data. */\nvoid\nfree_dashboard (GDash *dash) {\n  GModule module;\n  uint32_t j;\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    for (j = 0; j < dash->module[module].alloc_data; j++) {\n      free_dashboard_data (dash->module[module].data[j]);\n    }\n    free (dash->module[module].data);\n  }\n  free (dash);\n}\n\n/* Get the current panel/module given the `Y` offset (position) in the\n * terminal dashboard.\n *\n * If not found, 0 is returned.\n * If found, the module number is returned . */\nstatic GModule\nget_find_current_module (GDash *dash, int offset) {\n  GModule module;\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    /* set current module */\n    if (dash->module[module].pos_y == offset)\n      return module;\n    /* we went over by one module, set current - 1 */\n    if (dash->module[module].pos_y > offset)\n      return module - 1;\n  }\n  return 0;\n}\n\n/* Get the number of rows that a collapsed dashboard panel contains.\n *\n * On success, the number of rows is returned. */\nuint32_t\nget_num_collapsed_data_rows (void) {\n  /* Fixed structure with columns always present:\n   * DASH_COLLAPSED - (header + blank + chart + blank + blank + cols + dashes + trailing)\n   * = DASH_COLLAPSED - (1 + 1 + 7 + 1 + 1 + 1 + 1 + 1) = DASH_COLLAPSED - 14\n   */\n  uint32_t overhead = 1 + 1 + DASH_CHART_HEIGHT + 1 + 1 + 2 + 1; /* 14 */\n  return DASH_COLLAPSED - overhead;\n}\n\n/* Get the number of rows that an expanded dashboard panel contains.\n *\n * On success, the number of rows is returned. */\nuint32_t\nget_num_expanded_data_rows (void) {\n  /* Same calculation as collapsed, but with DASH_EXPANDED */\n  uint32_t overhead = 1 + 1 + DASH_CHART_HEIGHT + 1 + 1 + 2 + 1; /* 14 */\n  return DASH_EXPANDED - overhead;\n}\n\n/* Get the initial X position of the terminal dashboard where metrics\n * and data columns start.\n *\n * On success, the X position is returned. */\nstatic int\nget_xpos (void) {\n  return DASH_INIT_X;\n}\n\n/* Determine which module should be expanded given the current mouse\n * position.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nset_module_from_mouse_event (GScroll *gscroll, GDash *dash, int y) {\n  int module = 0;\n  int offset = y - MAX_HEIGHT_HEADER - MAX_HEIGHT_FOOTER + 1;\n\n  if (gscroll->expanded) {\n    module = get_find_current_module (dash, offset);\n  } else {\n    offset += gscroll->dash;\n    module = offset / DASH_COLLAPSED;\n  }\n\n  if (module >= TOTAL_MODULES)\n    module = TOTAL_MODULES - 1;\n  else if (module < 0)\n    module = 0;\n\n  if ((int) gscroll->current == module)\n    return 1;\n\n  gscroll->current = module;\n  return 0;\n}\n\n/* Allocate a new string for a sub item on the terminal dashboard.\n *\n * On error, NULL is returned.\n * On success, the newly allocated string is returned. */\nstatic char *\nrender_child_node (const char *data, int depth, uint32_t parent_state, int is_last) {\n  char *buf;\n  int len = 0;\n  int i;\n  char prefix[512] = \"\";\n\n  /* chars to use based on encoding used */\n#ifdef HAVE_LIBNCURSESW\n  const char *branch = \"\\xe2\\x94\\x9c\\xe2\\x94\\x80\"; /* ├─ */\n  const char *last = \"\\xe2\\x94\\x94\\xe2\\x94\\x80\"; /* └─ */\n  const char *vert = \"\\xe2\\x94\\x82 \"; /* │  */\n  const char *space = \"  \";     /*    */\n#else\n  const char *branch = \"|-\";\n  const char *last = \"`-\";\n  const char *vert = \"| \";\n  const char *space = \"  \";\n#endif\n\n  if (data == NULL || *data == '\\0')\n    return NULL;\n\n  /* Build the prefix by examining parent_state bits\n   * For each ancestor level, draw either │ or space */\n  for (i = 1; i < depth; i++) {\n    /* Check if ancestor at level i has more siblings */\n    if (parent_state & (1 << i)) {\n      strcat (prefix, vert); /* │  - ancestor has siblings below it */\n    } else {\n      strcat (prefix, space); /*    - ancestor was last child */\n    }\n  }\n\n  /* Add the final connector for this node */\n  strcat (prefix, is_last ? last : branch);\n  strcat (prefix, \" \");\n\n  len = snprintf (NULL, 0, \"%s%s\", prefix, data);\n  buf = xmalloc (len + 1);\n  sprintf (buf, \"%s%s\", prefix, data);\n\n  return buf;\n}\n\n/* Get largest hits metric.\n *\n * On error, 0 is returned.\n * On success, largest hits metric is returned. */\nstatic void\nset_max_metrics (GDashMeta *meta, GDashData *idata) {\n  if (meta->max_hits < idata->metrics->hits)\n    meta->max_hits = idata->metrics->hits;\n  if (meta->max_visitors < idata->metrics->visitors)\n    meta->max_visitors = idata->metrics->visitors;\n  if (meta->max_bw < idata->metrics->nbw)\n    meta->max_bw = idata->metrics->nbw;\n}\n\n/* Set largest hits metric (length of the integer). */\nstatic void\nset_max_hit_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = intlen (idata->metrics->hits);\n  int llen = strlen (MTRC_HITS_LBL);\n\n  if (vlen > meta->hits_len)\n    meta->hits_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->hits_len)\n    meta->hits_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_hit_perc_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = intlen (idata->metrics->hits_perc);\n  int llen = strlen (MTRC_HITS_PERC_LBL);\n\n  if (vlen > meta->hits_perc_len)\n    meta->hits_perc_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->hits_perc_len)\n    meta->hits_perc_len = llen;\n}\n\n/* Set largest hits metric (length of the integer). */\nstatic void\nset_max_visitors_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = intlen (idata->metrics->visitors);\n  int llen = strlen (MTRC_VISITORS_SHORT_LBL);\n\n  if (vlen > meta->visitors_len)\n    meta->visitors_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->visitors_len)\n    meta->visitors_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_visitors_perc_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = intlen (idata->metrics->visitors_perc);\n  int llen = strlen (MTRC_VISITORS_PERC_LBL);\n\n  if (vlen > meta->visitors_perc_len)\n    meta->visitors_perc_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->visitors_perc_len)\n    meta->visitors_perc_len = llen;\n}\n\n/* Get the percent integer length for bandwidth percentage. */\nstatic void\nset_max_bw_perc_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = intlen (idata->metrics->bw_perc);\n  int llen = strlen (MTRC_BW_PERC_LBL); // You need to define this label\n\n  if (vlen > meta->bw_perc_len)\n    meta->bw_perc_len = vlen;\n\n  if (llen > meta->bw_perc_len)\n    meta->bw_perc_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_bw_len (GDashMeta *meta, GDashData *idata) {\n  char *bw_str = filesize_str (idata->metrics->nbw);\n  int vlen = strlen (bw_str);\n  int llen = strlen (MTRC_BW_LBL);\n\n  if (vlen > meta->bw_len)\n    meta->bw_len = vlen;\n  if (llen > meta->bw_len)\n    meta->bw_len = llen;\n\n  free (bw_str);\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_avgts_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  if (!conf.serve_usecs || !idata->metrics->avgts.sts)\n    return;\n\n  vlen = strlen (idata->metrics->avgts.sts);\n  llen = strlen (MTRC_AVGTS_LBL);\n  if (vlen > meta->avgts_len)\n    meta->avgts_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->avgts_len)\n    meta->avgts_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_cumts_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  if (!conf.serve_usecs || !idata->metrics->cumts.sts)\n    return;\n\n  vlen = strlen (idata->metrics->cumts.sts);\n  llen = strlen (MTRC_AVGTS_LBL);\n  if (vlen > meta->cumts_len)\n    meta->cumts_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->cumts_len)\n    meta->cumts_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_maxts_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  if (!conf.serve_usecs || !idata->metrics->maxts.sts)\n    return;\n\n  vlen = strlen (idata->metrics->maxts.sts);\n  llen = strlen (MTRC_AVGTS_LBL);\n  if (vlen > meta->maxts_len)\n    meta->maxts_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->maxts_len)\n    meta->maxts_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_method_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  if (!conf.append_method || !idata->metrics->method)\n    return;\n\n  vlen = strlen (idata->metrics->method);\n  llen = strlen (MTRC_METHODS_SHORT_LBL);\n  if (vlen > meta->method_len)\n    meta->method_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->method_len)\n    meta->method_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_protocol_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  if (!conf.append_protocol || !idata->metrics->protocol)\n    return;\n\n  vlen = strlen (idata->metrics->protocol);\n  llen = strlen (MTRC_PROTOCOLS_SHORT_LBL);\n  if (vlen > meta->protocol_len)\n    meta->protocol_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->protocol_len)\n    meta->protocol_len = llen;\n}\n\n/* Get the percent integer length. */\nstatic void\nset_max_data_len (GDashMeta *meta, GDashData *idata) {\n  int vlen = 0, llen = 0;\n\n  vlen = strlen (idata->metrics->data);\n  llen = strlen (MTRC_DATA_LBL);\n  if (vlen > meta->data_len)\n    meta->data_len = vlen;\n  /* if outputting with column names, then determine if the value is\n   * longer than the length of the column name */\n  if (llen > meta->data_len)\n    meta->data_len = llen;\n}\n\nstatic void\nset_metrics_len (GDashMeta *meta, GDashData *idata) {\n  /* integer-based length */\n  set_max_hit_len (meta, idata);\n  set_max_hit_perc_len (meta, idata);\n  set_max_visitors_len (meta, idata);\n  set_max_visitors_perc_len (meta, idata);\n  set_max_bw_len (meta, idata);\n  set_max_bw_perc_len (meta, idata); // ← NEW\n\n  /* string-based length */\n  set_max_avgts_len (meta, idata);\n  set_max_cumts_len (meta, idata);\n  set_max_maxts_len (meta, idata);\n  set_max_method_len (meta, idata);\n  set_max_protocol_len (meta, idata);\n  set_max_data_len (meta, idata);\n}\n\n/* Render host's panel selected row */\nstatic void\nrender_data_hosts (WINDOW *win, GDashRender render, char *value, int x) {\n  char *padded_data;\n\n  padded_data = left_pad_str (value, x);\n  draw_header (win, padded_data, \"%s\", render.y, 0, render.w, color_selected);\n  free (padded_data);\n}\n\n/* Set panel's date on the given buffer\n *\n * On error, '---' placeholder is returned.\n * On success, the formatted date is returned. */\nstatic char *\nset_visitors_date (const char *value) {\n  return get_visitors_date (value, conf.spec_date_time_num_format, conf.spec_date_time_format);\n}\n\nstatic char *\nget_fixed_fmt_width (int w, char type) {\n  char *fmt = xmalloc (snprintf (NULL, 0, \"%%%d%c\", w, type) + 1);\n  sprintf (fmt, \"%%%d%c\", w, type);\n\n  return fmt;\n}\n\n/* Render the 'total' label on each panel */\nstatic void\nrender_total_label (WINDOW *win, GDashModule *data, int y, GColors *(*func) (void)) {\n  char *s;\n  int win_h, win_w;\n  uint32_t total, ht_size;\n\n  total = data->holder_size;\n  ht_size = data->ht_size;\n\n  s = xmalloc (snprintf (NULL, 0, \"%s: %\" PRIu32 \"/%\" PRIu32, GEN_TOTAL, total, ht_size) + 1);\n  getmaxyx (win, win_h, win_w);\n  (void) win_h;\n\n  sprintf (s, \"%s: %\" PRIu32 \"/%\" PRIu32, GEN_TOTAL, total, ht_size);\n  draw_header (win, s, \"%s\", y, win_w - strlen (s) - 2, win_w, func);\n  free (s);\n}\n\n/* Render the data metric for each panel */\nstatic void\nrender_data (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_DATA, data->module);\n  WINDOW *win = render.win;\n  char *date = NULL, *value = NULL, *buf = NULL;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  int date_len = 0;\n\n  value = substring (data->data[idx].metrics->data, 0, w - *x);\n  if (data->module == VISITORS) {\n    date = set_visitors_date (value);\n    date_len = strlen (date);\n  }\n\n  if (sel && data->module == HOSTS && data->data[idx].is_subitem) {\n    render_data_hosts (win, render, value, *x);\n  } else if (sel) {\n    buf = data->module == VISITORS ? date : value;\n    draw_header (win, buf, \"%s\", y, *x, w, color_selected);\n  } else {\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%s\", data->module == VISITORS ? date : value);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\n\n  *x += data->module == VISITORS ? date_len : data->meta.data_len;\n  *x += DASH_SPACE;\n\n  free (value);\n  free (date);\n}\n\n/* Render the method metric for each panel\n *\n * On error, no method is rendered and it returns.\n * On success, method is rendered. */\nstatic void\nrender_method (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_MTHD, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *method = data->data[idx].metrics->method;\n\n  if (method == NULL || *method == '\\0')\n    return;\n\n  if (sel) {\n    /* selected state */\n    draw_header (win, method, \"%s\", y, *x, w, color_selected);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%s\", method);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\n  *x += data->meta.method_len + DASH_SPACE;\n}\n\n/* Render the protocol metric for each panel\n *\n * On error, no protocol is rendered and it returns.\n * On success, protocol is rendered. */\nstatic void\nrender_proto (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_PROT, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *protocol = data->data[idx].metrics->protocol;\n\n  if (protocol == NULL || *protocol == '\\0')\n    return;\n\n  if (sel) {\n    /* selected state */\n    draw_header (win, protocol, \"%s\", y, *x, w, color_selected);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%s\", protocol);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\n  *x += REQ_PROTO_LEN - 1 + DASH_SPACE;\n}\n\n/* Render the average time served metric for each panel */\nstatic void\nrender_avgts (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_AVGTS, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *avgts = data->data[idx].metrics->avgts.sts;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (sel) {\n    /* selected state */\n    draw_header (win, avgts, \"%9s\", y, *x, w, color_selected);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%9s\", avgts);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  *x += DASH_SRV_TM_LEN + DASH_SPACE;\n}\n\n/* Render the cumulative time served metric for each panel */\nstatic void\nrender_cumts (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_CUMTS, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *cumts = data->data[idx].metrics->cumts.sts;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (sel) {\n    /* selected state */\n    draw_header (win, cumts, \"%9s\", y, *x, w, color_selected);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%9s\", cumts);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  *x += DASH_SRV_TM_LEN + DASH_SPACE;\n}\n\n/* Render the maximum time served metric for each panel */\nstatic void\nrender_maxts (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_MAXTS, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *maxts = data->data[idx].metrics->maxts.sts;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (sel) {\n    /* selected state */\n    draw_header (win, maxts, \"%9s\", y, *x, w, color_selected);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%9s\", maxts);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  *x += DASH_SRV_TM_LEN + DASH_SPACE;\n}\n\n/* Render the bandwidth metric for each panel */\nstatic void\nrender_bw (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_BW, data->module);\n  WINDOW *win = render.win;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  char *bw = filesize_str (data->data[idx].metrics->nbw); /* compute here */\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n  if (sel) {\n    char *fw = get_fixed_fmt_width (data->meta.bw_len, 's');\n    draw_header (win, bw, fw, y, *x, w, color_selected);\n    free (fw);\n  } else {\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%*s\", data->meta.bw_len, bw);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  free (bw);    /* free immediately */\n  *x += data->meta.bw_len + DASH_SPACE;\n}\n\n/* Render a percent metric */\nstatic void\nrender_percent (GDashRender render, GColors *color, float perc, int len, int x) {\n  WINDOW *win = render.win;\n  char *percent;\n  int y = render.y, w = render.w, sel = render.sel;\n\n  if (sel) {\n    /* selected state */\n    percent = float2str (perc, len);\n    draw_header (win, percent, \"%s%%\", y, x, w, color_selected);\n    free (percent);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, x, \"%*.2f%%\", len, perc);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\n}\n\n/* Render the hits percent metric for each panel */\nstatic void\nrender_hits_percent (GDashModule *data, GDashRender render, int *x) {\n  GColorItem item = COLOR_MTRC_HITS_PERC;\n  GColors *color;\n  int l = data->meta.hits_perc_len + 3, idx = render.idx;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (data->meta.max_hits == data->data[idx].metrics->hits)\n    item = COLOR_MTRC_HITS_PERC_MAX;\n  color = get_color_by_item_module (item, data->module);\n\n  render_percent (render, color, data->data[idx].metrics->hits_perc, l, *x);\n\nout:\n  *x += l + 1 + DASH_SPACE;\n}\n\n/* Render the visitors percent metric for each panel */\nstatic void\nrender_visitors_percent (GDashModule *data, GDashRender render, int *x) {\n  GColorItem item = COLOR_MTRC_VISITORS_PERC;\n  GColors *color;\n  int l = data->meta.visitors_perc_len + 3, idx = render.idx;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (data->meta.max_visitors == data->data[idx].metrics->visitors)\n    item = COLOR_MTRC_VISITORS_PERC_MAX;\n  color = get_color_by_item_module (item, data->module);\n\n  render_percent (render, color, data->data[idx].metrics->visitors_perc, l, *x);\n\nout:\n  *x += l + 1 + DASH_SPACE;\n}\n\n/* Render the bandwidth percent metric for each panel */\nstatic void\nrender_bw_percent (GDashModule *data, GDashRender render, int *x) {\n  GColorItem item = COLOR_MTRC_BW_PERC;\n  GColors *color;\n  int l = data->meta.bw_perc_len + 3, idx = render.idx;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (data->meta.max_bw == data->data[idx].metrics->nbw) /* clean! */\n    item = COLOR_MTRC_BW_PERC_MAX;\n\n  color = get_color_by_item_module (item, data->module);\n  render_percent (render, color, data->data[idx].metrics->bw_perc, l, *x);\n\nout:\n  *x += l + 1 + DASH_SPACE;\n}\n\n/* Render the hits metric for each panel */\nstatic void\nrender_hits (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_HITS, data->module);\n  WINDOW *win = render.win;\n  char *hits;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  int len = data->meta.hits_len;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (sel) {\n    /* selected state */\n    hits = u642str (data->data[idx].metrics->hits, len);\n    draw_header (win, hits, \" %s\", y, 0, w, color_selected);\n    free (hits);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%*\" PRIu64 \"\", len, data->data[idx].metrics->hits);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  *x += len + DASH_SPACE;\n}\n\n/* Render the visitors metric for each panel */\nstatic void\nrender_visitors (GDashModule *data, GDashRender render, int *x) {\n  GColors *color = get_color_by_item_module (COLOR_MTRC_VISITORS, data->module);\n  WINDOW *win = render.win;\n  char *visitors;\n  int y = render.y, w = render.w, idx = render.idx, sel = render.sel;\n  int len = data->meta.visitors_len;\n\n  if (data->module == HOSTS && data->data[idx].is_subitem)\n    goto out;\n\n  if (sel) {\n    /* selected state */\n    visitors = u642str (data->data[idx].metrics->visitors, len);\n    draw_header (win, visitors, \"%s\", y, *x, w, color_selected);\n    free (visitors);\n  } else {\n    /* regular state */\n    wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n    mvwprintw (win, y, *x, \"%*\" PRIu64 \"\", len, data->data[idx].metrics->visitors);\n    wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  }\nout:\n  *x += len + DASH_SPACE;\n}\n\n/* Render the header row for each panel */\nstatic void\nrender_header (WINDOW *win, GDashModule *data, GModule cur_module, int *y) {\n  GColors *(*func) (void);\n  char ind;\n  char *hd;\n  int w, h;\n  int panel_idx = get_module_index (data->module) + 1; /* 1-based position */\n\n  getmaxyx (win, h, w);\n  (void) h;\n\n  ind = cur_module == data->module ? '>' : ' ';\n  func = cur_module == data->module && conf.hl_header ? color_panel_active : color_panel_header;\n\n  hd = xmalloc (snprintf (NULL, 0, \"%c %d - %s\", ind, panel_idx, data->head) + 1);\n  sprintf (hd, \"%c %d - %s\", ind, panel_idx, data->head);\n\n  draw_header (win, hd, \" %s\", (*y), 0, w, func);\n  free (hd);\n\n  render_total_label (win, data, (*y), func);\n  data->pos_y = (*y);\n  (*y)++;\n}\n\n/* Render available metrics per panel.\n * ###TODO: Have the abilitity to display metrics in specific order */\nstatic void\nrender_metrics (GDashModule *data, GDashRender render) {\n  int x = get_xpos ();\n  GModule module = data->module;\n  const GOutput *output = output_lookup (module);\n\n  /* basic metrics */\n  if (output->hits)\n    render_hits (data, render, &x);\n  if (output->percent)\n    render_hits_percent (data, render, &x);\n  if (output->visitors)\n    render_visitors (data, render, &x);\n  if (output->percent)\n    render_visitors_percent (data, render, &x);\n\n  /* bandwidth + new bw % */\n  if (conf.bandwidth && output->bw) {\n    render_bw (data, render, &x);\n    if (output->percent) // ← NEW\n      render_bw_percent (data, render, &x);\n  }\n\n  /* render avgts, cumts and maxts if available */\n  if (output->avgts && conf.serve_usecs)\n    render_avgts (data, render, &x);\n  if (output->cumts && conf.serve_usecs)\n    render_cumts (data, render, &x);\n  if (output->maxts && conf.serve_usecs)\n    render_maxts (data, render, &x);\n\n  /* render request method if available */\n  if (output->method && conf.append_method)\n    render_method (data, render, &x);\n\n  /* render request protocol if available */\n  if (output->protocol && conf.append_protocol)\n    render_proto (data, render, &x);\n\n  if (output->data)\n    render_data (data, render, &x);\n}\n\n/* Render a dashboard row. */\nstatic void\nrender_data_line (WINDOW *win, GDashModule *data, int *y, int j, GScroll *gscroll) {\n  GDashRender render;\n  GModule module = data->module;\n  int expanded = 0, sel = 0;\n  int w, h;\n\n  getmaxyx (win, h, w);\n  (void) h;\n\n  if (gscroll->expanded && module == gscroll->current)\n    expanded = 1;\n\n  if (j >= data->idx_data)\n    goto out;\n\n  sel = expanded && j == gscroll->module[module].scroll ? 1 : 0;\n\n  /* Render +/- expand indicator for items with children */\n  if (expanded && data->data[j].has_children) {\n    int nfi = data->data[j].node_full_idx;\n    uint8_t *node_exp = gscroll->module[module].item_expanded;\n    int node_exp_size = gscroll->module[module].item_expanded_size;\n    char indicator = '+';\n\n    if (node_exp == NULL || nfi < 0 || nfi >= node_exp_size || node_exp[nfi])\n      indicator = '-';\n\n    if (sel) {\n      GColors *selc = get_color (COLOR_SELECTED);\n      wattron (win, selc->attr | COLOR_PAIR (selc->pair->idx));\n      mvwaddch (win, *y, 0, indicator);\n      wattroff (win, selc->attr | COLOR_PAIR (selc->pair->idx));\n    } else {\n      GColors *ind_color = get_color (COLOR_PANEL_COLS);\n      wattron (win, ind_color->attr | COLOR_PAIR (ind_color->pair->idx));\n      mvwaddch (win, *y, 0, indicator);\n      wattroff (win, ind_color->attr | COLOR_PAIR (ind_color->pair->idx));\n    }\n  }\n\n  render.win = win;\n  render.y = *y;\n  render.w = w;\n  render.idx = j;\n  render.sel = sel;\n\n  render_metrics (data, render);\n\nout:\n  (*y)++;\n}\n\n/* Render a dashed line underneath the metric label. */\nstatic void\nprint_horizontal_dash (WINDOW *win, int y, int x, int len) {\n  mvwprintw (win, y, x, \"%.*s\", len, \"----------------\");\n}\n\n/* Render left-aligned column label. */\nstatic void\nlprint_col (WINDOW *win, int y, int *x, int len, const char *str) {\n  GColors *color = get_color (COLOR_PANEL_COLS);\n\n  wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwprintw (win, y, *x, \"%s\", str);\n  print_horizontal_dash (win, y + 1, *x, len);\n  wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n\n  *x += len + DASH_SPACE;\n}\n\n/* Render right-aligned column label. */\nstatic void\nrprint_col (WINDOW *win, int y, int *x, int len, const char *str) {\n  GColors *color = get_color (COLOR_PANEL_COLS);\n\n  wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwprintw (win, y, *x, \"%*s\", len, str);\n  print_horizontal_dash (win, y + 1, *x, len);\n  wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n\n  *x += len + DASH_SPACE;\n}\n\n/* Render column names for available metrics.\n * ###TODO: Have the abilitity to display metrics in specific order */\nstatic void\nrender_cols (WINDOW *win, GDashModule *data, int *y) {\n  GModule module = data->module;\n  const GOutput *output = output_lookup (module);\n  int x = get_xpos ();\n\n  if (data->idx_data == 0)\n    return;\n\n  if (output->hits)\n    lprint_col (win, *y, &x, data->meta.hits_len, MTRC_HITS_LBL);\n  if (output->percent)\n    rprint_col (win, *y, &x, data->meta.hits_perc_len + 4, MTRC_HITS_PERC_LBL);\n  if (output->visitors)\n    rprint_col (win, *y, &x, data->meta.visitors_len, MTRC_VISITORS_SHORT_LBL);\n  if (output->percent)\n    rprint_col (win, *y, &x, data->meta.visitors_perc_len + 4, MTRC_VISITORS_PERC_LBL);\n  if (conf.bandwidth && output->bw) {\n    rprint_col (win, *y, &x, data->meta.bw_len, MTRC_BW_LBL);\n    if (output->percent)\n      rprint_col (win, *y, &x, data->meta.bw_perc_len + 4, MTRC_BW_PERC_LBL);\n  }\n  if (output->avgts && conf.serve_usecs)\n    rprint_col (win, *y, &x, DASH_SRV_TM_LEN, MTRC_AVGTS_LBL);\n  if (output->cumts && conf.serve_usecs)\n    rprint_col (win, *y, &x, DASH_SRV_TM_LEN, MTRC_CUMTS_LBL);\n  if (output->maxts && conf.serve_usecs)\n    rprint_col (win, *y, &x, DASH_SRV_TM_LEN, MTRC_MAXTS_LBL);\n  if (output->method && conf.append_method)\n    lprint_col (win, *y, &x, data->meta.method_len, MTRC_METHODS_SHORT_LBL);\n  if (output->protocol && conf.append_protocol)\n    lprint_col (win, *y, &x, 8, MTRC_PROTOCOLS_SHORT_LBL);\n  if (output->data)\n    lprint_col (win, *y, &x, 4, MTRC_DATA_LBL);\n}\n\nstatic void\ncompute_layout (PanelLayout *l, int size) {\n  int current_pos = 0;\n\n  l->header_pos = current_pos++;\n  l->blank_after_header = current_pos++;\n\n  l->chart_start = current_pos;\n  l->chart_end = current_pos + DASH_CHART_HEIGHT - 1;\n  current_pos += DASH_CHART_HEIGHT;\n\n  l->blank_for_caret = current_pos++;\n  l->blank_before_cols = current_pos++;\n\n  l->cols_header_pos = current_pos++;\n  l->cols_dashes_pos = current_pos++;\n\n  l->data_start = current_pos;\n  l->data_end = size - 2;\n}\n\nstatic void\nrender_chart_row (WINDOW *win, GDashModule *data, GScroll *gscroll, GHolder *h, int *y, int win_h,\n                  int pos, PanelLayout *l) {\n  GModule module = data->module;\n  int selected = -1;\n  int scroll_offset = 0;\n  int metric_type, use_log_scale, reverse_bars;\n  int visible_chart_start = pos - l->chart_start;\n\n  if (*y < win_h) {\n    metric_type = gscroll->module[module].current_metric;\n    use_log_scale = gscroll->module[module].use_log_scale;\n    reverse_bars = gscroll->module[module].reverse_bars;\n\n    if (gscroll->expanded && module == gscroll->current) {\n      selected = gscroll->module[module].scroll;\n      scroll_offset = gscroll->module[module].offset;\n    }\n\n    {\n      /* Computed fields are initialized to 0 / defaults by the struct copy\n         They will be filled in by draw_panel_chart() */\n      ChartDrawCtx opts = {\n        .win = win,\n        .holder = h,\n        .y_start = *y - visible_chart_start,\n        .chart_height = DASH_CHART_HEIGHT,\n        .auto_width = 0,\n        .selected_idx = selected,\n        .scroll_offset = scroll_offset,\n        .show_axes = 1,\n        .show_bar_values = 1,\n        .metric_type = metric_type,\n        .use_log_scale = use_log_scale,\n        .reverse_bars = reverse_bars,\n        .item_expanded = gscroll->module[module].item_expanded,\n        .item_expanded_size = gscroll->module[module].item_expanded_size,\n      };\n      draw_panel_chart (win, h, &opts);\n    }\n  }\n\n  (*y)++;\n}\n\nstatic void\nrender_data_row (WINDOW *win, GDashModule *data, GScroll *gscroll, int *y, int pos, PanelLayout *l) {\n  GModule module = data->module;\n  int j = pos - l->data_start;\n\n  if (gscroll->expanded && module == gscroll->current)\n    j += gscroll->module[module].offset;\n\n  if (j >= 0 && j < data->idx_data)\n    render_data_line (win, data, y, j, gscroll);\n  else\n    (*y)++;\n}\n\nstatic void\nrender_row (WINDOW *win, GDashModule *data, GScroll *gscroll, GHolder *h, int *y, int pos,\n            int win_h, PanelLayout *l, int size, int *total) {\n\n  if (pos == l->header_pos) {\n    render_header (win, data, gscroll->current, y);\n  } else if (pos == l->blank_after_header || pos == l->blank_for_caret ||\n             pos == l->blank_before_cols || pos == l->cols_dashes_pos || pos == size - 1) {\n    (*y)++;\n  } else if (pos >= l->chart_start && pos <= l->chart_end) {\n    render_chart_row (win, data, gscroll, h, y, win_h, pos, l);\n  } else if (pos == l->cols_header_pos) {\n    render_cols (win, data, y);\n    (*y)++;\n  } else if (pos >= l->data_start && pos <= l->data_end) {\n    render_data_row (win, data, gscroll, y, pos, l);\n  } else {\n    (*y)++;\n  }\n\n  (*total)++;\n}\n\nstatic void\nrender_content (WINDOW *win, GDashModule *data, int *y, int *offset,\n                int *total, GScroll *gscroll, GHolder *h) {\n  int i, size;\n  int win_h, win_w;\n  PanelLayout layout;\n\n  getmaxyx (win, win_h, win_w);\n  (void) win_w;\n\n  size = data->dash_size;\n  compute_layout (&layout, size);\n\n  for (i = *offset; i < size; i++) {\n    int pos = i % size;\n\n    render_row (win, data, gscroll, h, y, pos, win_h, &layout, size, total);\n\n    if (*y >= win_h)\n      break;\n  }\n}\n\n\nvoid\ndisplay_content (WINDOW *win, GDash *dash, GScroll *gscroll, GHolder *holder) {\n  GModule module;\n  int j = 0;\n  size_t idx = 0;\n  int y = 0, offset = 0, total = 0;\n  int dash_scroll = gscroll->dash;\n\n  werase (win);\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    offset = 0;\n    for (j = 0; j < dash->module[module].dash_size; j++) {\n      if (dash_scroll > total) {\n        offset++;\n        total++;\n      }\n    }\n    /* used module */\n    dash->module[module].module = module;\n    render_content (win, &dash->module[module], &y, &offset, &total, gscroll, &holder[module]);\n  }\n  wrefresh (win);\n}\n\n/* Reset the scroll and offset fields for each panel/module. */\nvoid\nreset_scroll_offsets (GScroll *gscroll) {\n  GModule module;\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    gscroll->module[module].scroll = 0;\n    gscroll->module[module].offset = 0;\n    reset_item_expanded (&gscroll->module[module]);\n  }\n}\n\n/* Compile the regular expression and see if it's valid.\n *\n * If unable to compile, an error as described in <regex.h>.\n * Upon successful completion, function returns 0. */\nstatic int\nregexp_init (regex_t *regex, const char *pattern) {\n  int y, x, rc;\n  char buf[REGEX_ERROR];\n\n  getmaxyx (stdscr, y, x);\n\n  rc = regcomp (regex, pattern, REG_EXTENDED | (find_t.icase ? REG_ICASE : 0));\n  /* something went wrong */\n  if (rc != 0) {\n    regerror (rc, regex, buf, sizeof (buf));\n    draw_header (stdscr, buf, \"%s\", y - 1, 0, x, color_error);\n    refresh ();\n    return 1;\n  }\n  return 0;\n}\n\n/* Expand all ancestor nodes for a found item and compute its visible flat index.\n *\n * Walks the holder hierarchy. For the found item's root parent (parent_idx),\n * expands that root. Then walks into the sub-list to find the sub-item at\n * sub_idx position, expanding each intermediate parent along the way.\n * Returns the flat index of the found item in the resulting visible layout. */\nstatic int\nexpand_ancestors_and_calc_idx (GHolder *h, GModule module, GScroll *gscroll, int parent_idx,\n                               int sub_idx, int is_sub) {\n  uint8_t *node_exp = gscroll->module[module].item_expanded;\n  int node_exp_size = gscroll->module[module].item_expanded_size;\n  int flat_idx = 0, full_idx = 0;\n  int j;\n\n  /* Count visible rows for all root items before parent_idx */\n  for (j = 0; j < parent_idx && j < (int) h[module].idx; j++) {\n    int my_full = full_idx;\n    flat_idx++;\n    full_idx++;\n    if (h[module].items[j].sub_list && h[module].items[j].sub_list->size > 0) {\n      int expanded = 1;\n      if (node_exp != NULL && my_full < node_exp_size)\n        expanded = node_exp[my_full];\n      if (expanded)\n        flat_idx += count_visible_sub (h[module].items[j].sub_list, node_exp, node_exp_size,\n                                       &full_idx);\n      else\n        full_idx += count_sub_items_recursive (h[module].items[j].sub_list);\n    }\n  }\n\n  /* Now at parent_idx */\n  {\n    int root_full = full_idx;\n    flat_idx++; /* the root item itself */\n    full_idx++;\n\n    /* If not searching in sub-items, return the root position */\n    if (!is_sub)\n      return flat_idx - 1;\n\n    /* Expand this root so its children are visible */\n    if (node_exp != NULL && root_full < node_exp_size)\n      node_exp[root_full] = 1;\n\n    /* Walk into sub-items to find the target at sub_idx.\n     * sub_count mirrors the flat 'i' counter in find_next_sub_item:\n     *   i=0 is the first level-1 sub, i increments for each level-1 sub\n     *   and for each nested level-2 sub in between. */\n    {\n      GSubList *sl = h[module].items[parent_idx].sub_list;\n      GSubItem *iter;\n      int sub_count = 0;\n\n      if (sl == NULL)\n        return flat_idx - 1;\n\n      for (iter = sl->head; iter; iter = iter->next) {\n        int my_sub_full = full_idx;\n\n        /* Check if this level-1 sub-item is the target */\n        if (sub_count == sub_idx) {\n          flat_idx++;\n          return flat_idx - 1;\n        }\n\n        flat_idx++;\n        full_idx++;\n        sub_count++;\n\n        /* If this sub-item has children, walk through them */\n        if (iter->sub_list && iter->sub_list->size > 0) {\n          /* Expand this intermediate parent so the found item's\n           * siblings at the next level are visible */\n          if (node_exp != NULL && my_sub_full < node_exp_size)\n            node_exp[my_sub_full] = 1;\n\n          {\n            GSubItem *nested;\n            for (nested = iter->sub_list->head; nested; nested = nested->next) {\n              if (sub_count == sub_idx) {\n                flat_idx++;\n                return flat_idx - 1;\n              }\n              flat_idx++;\n              full_idx++;\n              sub_count++;\n            }\n          }\n        }\n      }\n    }\n  }\n\n  return flat_idx > 0 ? flat_idx - 1 : 0;\n}\n\n/* Set the dashboard scroll and offset based on the search index. */\nstatic void\nperform_find_dash_scroll (GScroll *gscroll, GModule module, GHolder *h) {\n  int *scrll, *offset;\n  int exp_size = get_num_expanded_data_rows ();\n  int total_nodes;\n\n  /* reset gscroll offsets if we are changing module */\n  if (gscroll->current != module)\n    reset_scroll_offsets (gscroll);\n\n  /* Initialize per-node state if not yet set.\n   * Size = total nodes in the tree (roots + all sub-items). */\n  if (gscroll->module[module].item_expanded == NULL && h != NULL) {\n    total_nodes = h[module].idx + h[module].sub_items_size;\n    init_item_expanded (&gscroll->module[module], total_nodes);\n  }\n\n  /* Expand ancestors of the found item and compute flat index.\n   *\n   * find_t.next_sub_idx is set to (1 + i) by find_next_sub_item as a resume\n   * position. A value > 0 means the match is a sub-item at position (next_sub_idx - 1).\n   * A value of 0 means the match is at the root level. */\n  if (h != NULL) {\n    int is_sub_match = (find_t.next_sub_idx > 0) ? 1 : 0;\n    int match_sub_pos = is_sub_match ? find_t.next_sub_idx - 1 : 0;\n    find_t.next_idx = expand_ancestors_and_calc_idx (h, module, gscroll, find_t.next_parent_idx,\n                                                     match_sub_pos, is_sub_match);\n  }\n\n  scrll = &gscroll->module[module].scroll;\n  offset = &gscroll->module[module].offset;\n\n  (*scrll) = find_t.next_idx;\n  if (*scrll >= exp_size && *scrll >= *offset + exp_size)\n    (*offset) = (*scrll) < exp_size - 1 ? 0 : (*scrll) - exp_size + 1;\n\n  gscroll->current = module;\n  gscroll->dash = get_module_index (module) * DASH_COLLAPSED;\n  gscroll->expanded = 1;\n\n  find_t.module = module;\n}\n\n/* Find the searched item within the given sub list.\n *\n * If not found, the GFind structure is reset and 1 is returned.\n * If found, a GFind structure is set and 0 is returned. */\nstatic int\nfind_next_sub_item (GSubList *sub_list, regex_t *regex) {\n  GSubItem *iter;\n  int i = 0, rc;\n\n  if (sub_list == NULL)\n    goto out;\n\n  for (iter = sub_list->head; iter; iter = iter->next) {\n    if (i >= find_t.next_sub_idx) {\n      rc = regexec (regex, iter->metrics->data, 0, NULL, 0);\n      if (rc == 0) {\n        find_t.next_idx++;\n        find_t.next_sub_idx = (1 + i);\n        return 0;\n      }\n      find_t.next_idx++;\n    }\n    i++;\n    /* recurse into nested sub-items */\n    if (iter->sub_list != NULL) {\n      GSubItem *nested;\n      for (nested = iter->sub_list->head; nested; nested = nested->next) {\n        if (i >= find_t.next_sub_idx) {\n          rc = regexec (regex, nested->metrics->data, 0, NULL, 0);\n          if (rc == 0) {\n            find_t.next_idx++;\n            find_t.next_sub_idx = (1 + i);\n            return 0;\n          }\n          find_t.next_idx++;\n        }\n        i++;\n      }\n    }\n  }\n\nout:\n  find_t.next_parent_idx++;\n  find_t.next_sub_idx = 0;\n  find_t.look_in_sub = 0;\n\n  return 1;\n}\n\n/* Perform a forward search across all modules.\n *\n * On error or if not found, 1 is returned.\n * On success or if found, a GFind structure is set and 0 is returned. */\nint\nperform_next_find (GHolder *h, GScroll *gscroll) {\n  GModule module;\n  GSubList *sub_list;\n  regex_t regex;\n  char buf[REGEX_ERROR], *data;\n  int y, x, j, n, rc;\n  size_t idx = 0;\n\n  getmaxyx (stdscr, y, x);\n\n  if (find_t.pattern == NULL || *find_t.pattern == '\\0')\n    return 1;\n\n  /* compile and initialize regexp */\n  if (regexp_init (&regex, find_t.pattern))\n    return 1;\n\n  /* use last find_t.module and start search */\n  idx = find_t.module;\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    n = h[module].idx;\n    for (j = find_t.next_parent_idx; j < n; j++, find_t.next_idx++) {\n      data = h[module].items[j].metrics->data;\n      rc = regexec (&regex, data, 0, NULL, 0);\n      /* error matching against the precompiled pattern buffer */\n      if (rc != 0 && rc != REG_NOMATCH) {\n        regerror (rc, &regex, buf, sizeof (buf));\n        draw_header (stdscr, buf, \"%s\", y - 1, 0, x, color_error);\n        refresh ();\n        regfree (&regex);\n        return 1;\n      }\n      /* a match was found (data level) */\n      else if (rc == 0 && !find_t.look_in_sub) {\n        find_t.look_in_sub = 1;\n        perform_find_dash_scroll (gscroll, module, h);\n        goto out;\n      }\n      /* look at sub list nodes */\n      else {\n        sub_list = h[module].items[j].sub_list;\n        if (find_next_sub_item (sub_list, &regex) == 0) {\n          perform_find_dash_scroll (gscroll, module, h);\n          goto out;\n        }\n      }\n    }\n    /* reset find */\n    find_t.next_idx = 0;\n    find_t.next_parent_idx = 0;\n    find_t.next_sub_idx = 0;\n    if (find_t.module != module) {\n      reset_scroll_offsets (gscroll);\n      gscroll->expanded = 0;\n    }\n    if (module == TOTAL_MODULES - 1) {\n      find_t.module = 0;\n      goto out;\n    }\n  }\n\nout:\n  regfree (&regex);\n  return 0;\n}\n\n/* Render a find dialog.\n *\n * On error or if no query is set, 1 is returned.\n * On success, the dialog is rendered and 0 is returned. */\nint\nrender_find_dialog (WINDOW *main_win, GScroll *gscroll) {\n  int y, x, valid = 1;\n  int w = FIND_DLG_WIDTH;\n  int h = FIND_DLG_HEIGHT;\n  char *query = NULL;\n  WINDOW *win;\n\n  getmaxyx (stdscr, y, x);\n\n  win = newwin (h, w, (y - h) / 2, (x - w) / 2);\n  keypad (win, TRUE);\n  wborder (win, '|', '|', '-', '-', '+', '+', '+', '+');\n  draw_header (win, FIND_HEAD, \" %s\", 1, 1, w - 2, color_panel_header);\n  mvwprintw (win, 2, 1, \" %s\", FIND_DESC);\n\n  find_t.icase = 0;\n  query = input_string (win, 4, 2, w - 3, \"\", 1, &find_t.icase);\n  if (query != NULL && *query != '\\0') {\n    reset_scroll_offsets (gscroll);\n    reset_find ();\n    find_t.pattern = xstrdup (query);\n    valid = 0;\n  }\n  if (query != NULL)\n    free (query);\n\n  touchwin (main_win);\n  close_win (win);\n  wrefresh (main_win);\n\n  return valid;\n}\n\nstatic void\nset_dash_metrics (GDash **dash, GMetrics *metrics, GModule module, GPercTotals totals, int depth,\n                  uint32_t parent_state, int is_last) {\n  GDashData *idata = NULL;\n  GDashMeta *meta = NULL;\n  char *data = NULL;\n  int *idx;\n\n  /* Call render_child_node with parent_state and is_last parameters */\n  data = depth ? render_child_node (metrics->data, depth, parent_state, is_last) : metrics->data;\n  if (!data)\n    return;\n\n  idx = &(*dash)->module[module].idx_data;\n  idata = &(*dash)->module[module].data[(*idx)];\n  meta = &(*dash)->module[module].meta;\n\n  idata->metrics = new_gmetrics ();\n  idata->is_subitem = depth;\n  idata->has_children = 0;\n  idata->node_full_idx = -1;\n  idata->metrics->hits = metrics->hits;\n  idata->metrics->hits_perc = get_percentage (totals.hits, metrics->hits);\n  idata->metrics->visitors = metrics->visitors;\n  idata->metrics->visitors_perc = get_percentage (totals.visitors, metrics->visitors);\n  idata->metrics->nbw = metrics->nbw;\n  idata->metrics->bw_perc = get_percentage (totals.bw, metrics->nbw);\n  idata->metrics->data = xstrdup (data);\n\n  if (conf.append_method && metrics->method)\n    idata->metrics->method = metrics->method;\n  if (conf.append_protocol && metrics->protocol)\n    idata->metrics->protocol = metrics->protocol;\n\n  if (!conf.serve_usecs)\n    goto out;\n\n  idata->metrics->avgts.sts = usecs_to_str (metrics->avgts.nts);\n  idata->metrics->cumts.sts = usecs_to_str (metrics->cumts.nts);\n  idata->metrics->maxts.sts = usecs_to_str (metrics->maxts.nts);\n\nout:\n  if (depth)\n    free (data);\n\n  set_metrics_len (meta, idata);\n  set_max_metrics (meta, idata);\n  (*idx)++;\n}\n\n/* Recursively count all sub-items in a sub-list tree. */\nstatic int\ncount_sub_items_recursive (GSubList *sl) {\n  GSubItem *iter;\n  int count = 0;\n  if (sl == NULL)\n    return 0;\n  for (iter = sl->head; iter; iter = iter->next) {\n    count++;\n    if (iter->sub_list)\n      count += count_sub_items_recursive (iter->sub_list);\n  }\n  return count;\n}\n\n/* Recursively add sub-items to dashboard, respecting per-node expand state.\n *\n * full_idx: tracks position in full DFS traversal (for node_expanded[] indexing)\n * node_exp/node_exp_size: per-node expand state array\n * i: tracks the dash alloc_size counter\n * parent_state: bit array tracking which ancestor levels have more siblings\n */\nstatic void\nadd_sub_item_to_dash_recursive (GDash **dash, GSubList *sub_list, GModule module,\n                                GPercTotals totals, uint32_t *i, int depth, int *full_idx,\n                                uint8_t *node_exp, int node_exp_size, uint32_t parent_state) {\n  GSubItem *iter;\n  int *didx;\n  int count = 0;\n  int total_items = 0;\n  GSubItem *temp;\n\n  if (sub_list == NULL)\n    return;\n\n  /* First pass: count total items at this level */\n  for (temp = sub_list->head; temp; temp = temp->next)\n    total_items++;\n\n  /* Second pass: process each item */\n  for (iter = sub_list->head; iter; iter = iter->next, (*i)++) {\n    int my_full_idx = *full_idx;\n    int has_kids = (iter->sub_list != NULL && iter->sub_list->size > 0) ? 1 : 0;\n    int is_last_child = (count == total_items - 1);\n    uint32_t new_parent_state = parent_state;\n\n    /* Update parent_state for children:\n     * If this node is NOT the last child, set the bit at this depth level.\n     * This tells children to draw │ at this column.\n     * If this node IS the last child, clear the bit at this depth level.\n     * This tells children to draw space at this column. */\n    if (!is_last_child) {\n      new_parent_state |= (1 << depth);\n    } else {\n      new_parent_state &= ~(1 << depth);\n    }\n\n    /* Add this item to dashboard with proper parent_state and is_last flag */\n    set_dash_metrics (dash, iter->metrics, module, totals, depth, parent_state, is_last_child);\n\n    /* Set node metadata on the just-added item */\n    didx = &(*dash)->module[module].idx_data;\n    (*dash)->module[module].data[(*didx) - 1].node_full_idx = my_full_idx;\n    (*dash)->module[module].data[(*didx) - 1].has_children = has_kids;\n    (*full_idx)++;\n\n    /* Recurse into nested sub-items only if this node is expanded */\n    if (has_kids) {\n      int should_expand = 1;\n      if (node_exp != NULL && my_full_idx < node_exp_size)\n        should_expand = node_exp[my_full_idx];\n      if (should_expand) {\n        /* Pass new_parent_state to children so they know about our sibling status */\n        add_sub_item_to_dash_recursive (dash, iter->sub_list, module, totals, i, depth + 1,\n                                        full_idx, node_exp, node_exp_size, new_parent_state);\n      } else {\n        /* Skip all descendants in full_idx counting */\n        *full_idx += count_sub_items_recursive (iter->sub_list);\n      }\n    }\n    count++;\n  }\n}\n\n/* Add a first level item to dashboard.\n *\n * On success, data is set into the dashboard structure. */\nstatic void\nadd_item_to_dash (GDash **dash, GHolderItem item, GModule module, GPercTotals totals, int full_idx) {\n  int *idx;\n\n  /* Root level items: depth=0, no parent_state, not last (doesn't matter for roots) */\n  set_dash_metrics (dash, item.metrics, module, totals, 0, 0, 0);\n\n  /* set node metadata (idx was already incremented by set_dash_metrics) */\n  idx = &(*dash)->module[module].idx_data;\n  (*dash)->module[module].data[(*idx) - 1].node_full_idx = full_idx;\n  (*dash)->module[module].data[(*idx) - 1].has_children =\n    (item.sub_list != NULL && item.sub_list->size > 0) ? 1 : 0;\n}\n\n/* Count visible sub-items recursively given per-node expand state. */\nstatic int\ncount_visible_sub (GSubList *sl, uint8_t *node_exp, int node_exp_size, int *full_idx) {\n  GSubItem *iter;\n  int count = 0;\n\n  if (sl == NULL)\n    return 0;\n\n  for (iter = sl->head; iter; iter = iter->next) {\n    int my_full_idx = *full_idx;\n    count++;\n    (*full_idx)++;\n    if (iter->sub_list && iter->sub_list->size > 0) {\n      int is_expanded = 1;\n      if (node_exp != NULL && my_full_idx < node_exp_size)\n        is_expanded = node_exp[my_full_idx];\n      if (is_expanded)\n        count += count_visible_sub (iter->sub_list, node_exp, node_exp_size, full_idx);\n      else\n        *full_idx += count_sub_items_recursive (iter->sub_list);\n    }\n  }\n  return count;\n}\n\n/* Count total visible items (roots + expanded sub-items) for a holder. */\nstatic int\ncount_visible_items (GHolder *h, uint8_t *node_exp, int node_exp_size) {\n  int count = 0, full_idx = 0;\n  uint32_t i;\n\n  for (i = 0; i < h->idx; i++) {\n    int my_full_idx = full_idx;\n    count++;\n    full_idx++;\n    if (h->items[i].sub_list && h->items[i].sub_list->size > 0) {\n      int is_expanded = 1;\n      if (node_exp != NULL && my_full_idx < node_exp_size)\n        is_expanded = node_exp[my_full_idx];\n      if (is_expanded)\n        count += count_visible_sub (h->items[i].sub_list, node_exp, node_exp_size, &full_idx);\n      else\n        full_idx += count_sub_items_recursive (h->items[i].sub_list);\n    }\n  }\n  return count;\n}\n\n/* Load holder's data into the dashboard structure. */\nvoid\nload_data_to_dash (GHolder *h, GDash *dash, GModule module, GScroll *gscroll) {\n  uint32_t alloc_size = 0;\n  uint32_t i, j;\n  int full_idx = 0;\n  GPercTotals totals;\n  uint8_t *node_exp = NULL;\n  int node_exp_size = 0;\n\n  alloc_size = dash->module[module].alloc_data;\n  if (gscroll->expanded && module == gscroll->current) {\n    node_exp = gscroll->module[module].item_expanded;\n    node_exp_size = gscroll->module[module].item_expanded_size;\n\n    /* Calculate visible items based on per-node expand state */\n    alloc_size = count_visible_items (h, node_exp, node_exp_size);\n\n    /* Clamp to the original alloc (number of root items or max_choices) */\n    if (alloc_size < dash->module[module].alloc_data)\n      alloc_size = dash->module[module].alloc_data;\n  }\n\n  dash->module[module].alloc_data = alloc_size;\n  dash->module[module].data = new_gdata (alloc_size);\n  dash->module[module].holder_size = h->holder_size;\n  memset (&dash->module[module].meta, 0, sizeof (GDashMeta));\n\n  set_module_totals (&totals);\n\n  for (i = 0, j = 0; i < alloc_size; i++) {\n    if (h->items[j].metrics->data == NULL)\n      continue;\n\n    {\n      int my_full_idx = full_idx;\n      full_idx++;\n      add_item_to_dash (&dash, h->items[j], module, totals, my_full_idx);\n\n      if (gscroll->expanded && module == gscroll->current && h->items[j].sub_list &&\n          h->items[j].sub_list->size > 0) {\n        int should_expand = 1;\n        if (node_exp != NULL && my_full_idx < node_exp_size)\n          should_expand = node_exp[my_full_idx];\n\n        if (should_expand) {\n          uint32_t parent_state = 0; /* Root level has no parent state */\n          add_sub_item_to_dash_recursive (&dash, h->items[j].sub_list, module, totals, &i, 1,\n                                          &full_idx, node_exp, node_exp_size, parent_state);\n        } else {\n          full_idx += count_sub_items_recursive (h->items[j].sub_list);\n        }\n      }\n    }\n    j++;\n  }\n}\n"
  },
  {
    "path": "src/gdashboard.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef GDASHBOARD_H_INCLUDED\n#define GDASHBOARD_H_INCLUDED\n\n#include <stdint.h>\n\n#include \"ui.h\"\n\n/* IMPORTANT: These defines are BASE VALUES used for calculation.\n * Actual positions are calculated dynamically in render_content() */\n\n#define DASH_HEAD_POS    0 /* position of header line */\n#define DASH_EMPTY_POS   1 /* empty line position */\n\n/* Chart positioning - these are fixed */\n#define DASH_CHART_START 2 /* first chart row */\n#define DASH_CHART_END   (DASH_CHART_START + DASH_CHART_HEIGHT - 1) /* last chart row */\n\n/* These are reference values - actual positions calculated dynamically */\n#define DASH_BLANK1_POS  (DASH_CHART_END + 1) /* blank after chart (for caret) */\n#define DASH_BLANK2_POS  (DASH_CHART_END + 2) /* blank before cols (if cols enabled) */\n#define DASH_COLS_POS    (DASH_CHART_END + 3) /* position of column names (if enabled) */\n#define DASH_DASHES_POS  (DASH_CHART_END + 4) /* position of dashes (if enabled) */\n#define DASH_DATA_POS    (DASH_CHART_END + 5) /* data line position (with cols) */\n\n/* Helper macros for calculations */\n#define DASH_NON_DATA    (DASH_DATA_POS) /* number of rows without data stats */\n#define DASH_COL_ROWS    2 /* number of rows for column values + dashed lines */\n\n/* Panel sizes - these determine how many rows each panel occupies\n * Structure:\n * With columns:    header + blank + chart(7) + blank + blank + cols + dashes + data(N) + blank = 13 + N\n * Without columns: header + blank + chart(7) + blank + data(N) + blank = 11 + N\n */\n#define DASH_COLLAPSED   (DASH_DATA_POS + 8 + 1) /* +1 for trailing blank */\n#define DASH_EXPANDED    (DASH_DATA_POS + 28 + 1) /* +1 for trailing blank */\n\n/* Other constants */\n#define DASH_INIT_X      1 /* start position (x-axis) */\n#define DASH_BW_LEN      11 /* max bandwidth string length */\n#define DASH_SRV_TM_LEN  9 /* max time served length */\n#define DASH_SPACE       1 /* space between columns (metrics) */\n\ntypedef struct {\n  int header_pos;\n  int blank_after_header;\n  int chart_start;\n  int chart_end;\n  int blank_for_caret;\n  int blank_before_cols;\n  int cols_header_pos;\n  int cols_dashes_pos;\n  int data_start;\n  int data_end;\n} PanelLayout;\n\n/* Common render data line fields */\ntypedef struct GDashRender_ {\n  WINDOW *win;\n  int y;\n  int w;\n  int idx;\n  int sel;\n} GDashRender;\n\n/* Dashboard panel item */\ntypedef struct GDashData_ {\n  GMetrics *metrics;\n  short is_subitem;\n  short has_children;           /* 1 if this node has sub-items */\n  int node_full_idx;            /* index into node_expanded[] (full DFS position) */\n} GDashData;\n\n/* Dashboard panel meta data */\ntypedef struct GDashMeta_ {\n  uint64_t max_hits;            /* maximum value on the hits column */\n  uint64_t max_visitors;        /* maximum value on the visitors column */\n  uint64_t max_bw;\n\n  /* determine the maximum metric's length of these metrics */\n  /* for instance, 1022 is the max value for the hits column and its length = 4 */\n  int hits_len;\n  int hits_perc_len;\n  int visitors_len;\n  int visitors_perc_len;\n  int bw_len;\n  int bw_perc_len;\n  int avgts_len;\n  int cumts_len;\n  int maxts_len;\n  int method_len;\n  int protocol_len;\n  int data_len;\n} GDashMeta;\n\n/* Dashboard panel */\ntypedef struct GDashModule_ {\n  GDashData *data;              /* data metrics */\n  GModule module;               /* module */\n  GDashMeta meta;               /* meta data */\n\n  const char *head;             /* panel header */\n  const char *desc;             /* panel description */\n\n  uint32_t alloc_data;          /* number of data items allocated. */\n  /* e.g., MAX_CHOICES or holder size */\n  int dash_size;                /* dashboard size */\n  uint32_t holder_size;         /* hash table size  */\n  uint32_t ht_size;             /* hash table size  */\n  int idx_data;                 /* idx data */\n\n  unsigned short pos_y;         /* dashboard current Y position */\n} GDashModule;\n\n/* Dashboard */\ntypedef struct GDash_ {\n  int total_alloc;              /* number of allocated dashboard lines */\n  GDashModule module[TOTAL_MODULES];\n} GDash;\n\n/* Function Prototypes */\nGDashData *new_gdata (uint32_t size);\nGDash *new_gdash (void);\nuint32_t get_num_collapsed_data_rows (void);\nuint32_t get_num_expanded_data_rows (void);\nint perform_next_find (GHolder * h, GScroll * scroll);\nint render_find_dialog (WINDOW * main_win, GScroll * scroll);\nint set_module_from_mouse_event (GScroll * scroll, GDash * dash, int y);\nuint32_t get_ht_size_by_module (GModule module);\nvoid display_content (WINDOW * win, GDash * dash, GScroll * gscroll, GHolder * holder);\nvoid free_dashboard (GDash * dash);\nvoid load_data_to_dash (GHolder * h, GDash * dash, GModule module, GScroll * scroll);\nvoid reset_find (void);\nvoid reset_scroll_offsets (GScroll * scroll);\n\n#endif\n"
  },
  {
    "path": "src/gdns.c",
    "content": "/**\n * gdns.c -- hosts resolver\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _MULTI_THREADED\n#ifdef __FreeBSD__\n#include <sys/socket.h>\n#endif\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <pthread.h>\n#include <netinet/in.h>\n#include <arpa/inet.h>\n#include <ctype.h>\n#include <netdb.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/socket.h>\n#include <time.h>\n\n#include \"gdns.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"goaccess.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\nGDnsThread gdns_thread;\nstatic GDnsQueue *gdns_queue;\n\n/* Initialize the queue. */\nvoid\ngqueue_init (GDnsQueue *q, int capacity) {\n  q->head = 0;\n  q->tail = -1;\n  q->size = 0;\n  q->capacity = capacity;\n}\n\n/* Get the current size of queue.\n *\n * Returns the size of the queue. */\nint\ngqueue_size (GDnsQueue *q) {\n  return q->size;\n}\n\n/* Determine if the queue is empty.\n *\n * Returns true if empty, otherwise false. */\nint\ngqueue_empty (GDnsQueue *q) {\n  return q->size == 0;\n}\n\n/* Determine if the queue is full.\n *\n * Returns true if full, otherwise false. */\nint\ngqueue_full (GDnsQueue *q) {\n  return q->size == q->capacity;\n}\n\n/* Free the queue. */\nvoid\ngqueue_destroy (GDnsQueue *q) {\n  free (q);\n}\n\n/* Add at the end of the queue a string item.\n *\n * If the queue is full, -1 is returned.\n * If added to the queue, 0 is returned. */\nint\ngqueue_enqueue (GDnsQueue *q, const char *item) {\n  if (gqueue_full (q))\n    return -1;\n\n  q->tail = (q->tail + 1) % q->capacity;\n  strncpy (q->buffer[q->tail], item, sizeof (q->buffer[q->tail]));\n  q->buffer[q->tail][sizeof (q->buffer[q->tail]) - 1] = '\\0';\n  q->size++;\n  return 0;\n}\n\n/* Find a string item in the queue.\n *\n * If the queue is empty, or the item is not in the queue, 0 is returned.\n * If found, 1 is returned. */\nint\ngqueue_find (GDnsQueue *q, const char *item) {\n  int i;\n  if (gqueue_empty (q))\n    return 0;\n\n  for (i = 0; i < q->size; i++) {\n    if (strcmp (item, q->buffer[i]) == 0)\n      return 1;\n  }\n  return 0;\n}\n\n/* Remove a string item from the head of the queue.\n *\n * If the queue is empty, NULL is returned.\n * If removed, the string item is returned. */\nchar *\ngqueue_dequeue (GDnsQueue *q) {\n  char *item;\n  if (gqueue_empty (q))\n    return NULL;\n\n  item = q->buffer[q->head];\n  q->head = (q->head + 1) % q->capacity;\n  q->size--;\n  return item;\n}\n\n/* Get the corresponding hostname given an IP address.\n *\n * On error, a string error message is returned.\n * On success, a malloc'd hostname is returned. */\nstatic char *\nreverse_host (const struct sockaddr *a, socklen_t length) {\n  char h[H_SIZE] = { 0 };\n  int flags, st;\n\n  flags = NI_NAMEREQD;\n  st = getnameinfo (a, length, h, H_SIZE, NULL, 0, flags);\n  if (!st) {\n    /* BSD returns \\0 while Linux . on solve lookups */\n    if (*h == '\\0')\n      return alloc_string (\".\");\n    return alloc_string (h);\n  }\n  return alloc_string (gai_strerror (st));\n}\n\n/* Determine if IPv4 or IPv6 and resolve.\n *\n * On error, NULL is returned.\n * On success, a malloc'd hostname is returned. */\nchar *\nreverse_ip (char *str) {\n  union {\n    struct sockaddr addr;\n    struct sockaddr_in6 addr6;\n    struct sockaddr_in addr4;\n  } a;\n\n  if (str == NULL || *str == '\\0')\n    return NULL;\n\n  memset (&a, 0, sizeof (a));\n  if (1 == inet_pton (AF_INET, str, &a.addr4.sin_addr)) {\n    a.addr4.sin_family = AF_INET;\n    return reverse_host (&a.addr, sizeof (a.addr4));\n  } else if (1 == inet_pton (AF_INET6, str, &a.addr6.sin6_addr)) {\n    a.addr6.sin6_family = AF_INET6;\n    return reverse_host (&a.addr, sizeof (a.addr6));\n  }\n  return NULL;\n}\n\n/* Producer - Resolve an IP address and add it to the queue. */\nvoid\ndns_resolver (char *addr) {\n  pthread_mutex_lock (&gdns_thread.mutex);\n  /* queue is not full and the IP address is not in the queue */\n  if (!gqueue_full (gdns_queue) && !gqueue_find (gdns_queue, addr)) {\n    /* add the IP to the queue */\n    gqueue_enqueue (gdns_queue, addr);\n    pthread_cond_broadcast (&gdns_thread.not_empty);\n  }\n  pthread_mutex_unlock (&gdns_thread.mutex);\n}\n\n/* Consumer - Once an IP has been resolved, add it to dwithe hostnames\n * hash structure. */\nstatic void\ndns_worker (void GO_UNUSED (*ptr_data)) {\n  char *ip = NULL, *host = NULL;\n\n  while (1) {\n    pthread_mutex_lock (&gdns_thread.mutex);\n    /* wait until an item has been added to the queue */\n    while (gqueue_empty (gdns_queue))\n      pthread_cond_wait (&gdns_thread.not_empty, &gdns_thread.mutex);\n\n    ip = gqueue_dequeue (gdns_queue);\n\n    pthread_mutex_unlock (&gdns_thread.mutex);\n    host = reverse_ip (ip);\n    pthread_mutex_lock (&gdns_thread.mutex);\n\n    if (!active_gdns) {\n      pthread_mutex_unlock (&gdns_thread.mutex);\n      free (host);\n      return;\n    }\n\n    /* insert the corresponding IP -> hostname map */\n    if (host != NULL && active_gdns) {\n      ht_insert_hostname (ip, host);\n      free (host);\n    }\n\n    pthread_cond_signal (&gdns_thread.not_full);\n    pthread_mutex_unlock (&gdns_thread.mutex);\n  }\n}\n\n/* Initialize queue and dns thread */\nvoid\ngdns_init (void) {\n  gdns_queue = xmalloc (sizeof (GDnsQueue));\n  gqueue_init (gdns_queue, QUEUE_SIZE);\n\n  if (pthread_cond_init (&(gdns_thread.not_empty), NULL))\n    FATAL (\"Failed init thread condition\");\n\n  if (pthread_cond_init (&(gdns_thread.not_full), NULL))\n    FATAL (\"Failed init thread condition\");\n\n  if (pthread_mutex_init (&(gdns_thread.mutex), NULL))\n    FATAL (\"Failed init thread mutex\");\n}\n\n/* Destroy (free) queue */\nvoid\ngdns_free_queue (void) {\n  gqueue_destroy (gdns_queue);\n}\n\n/* Create a DNS thread and make it active */\nvoid\ngdns_thread_create (void) {\n  int th;\n\n  active_gdns = 1;\n  th = pthread_create (&(gdns_thread.thread), NULL, (void *) &dns_worker, NULL);\n  if (th)\n    FATAL (\"Return code from pthread_create(): %d\", th);\n  pthread_detach (gdns_thread.thread);\n}\n"
  },
  {
    "path": "src/gdns.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GDNS_H_INCLUDED\n#define GDNS_H_INCLUDED\n\n#define H_SIZE     1025\n#define QUEUE_SIZE 400\n\ntypedef struct GDnsThread_ {\n  pthread_cond_t not_empty;     /* not empty queue condition */\n  pthread_cond_t not_full;      /* not full queue condition */\n  pthread_mutex_t mutex;\n  pthread_t thread;\n} GDnsThread;\n\ntypedef struct GDnsQueue_ {\n  int head;                     /* index to head of queue */\n  int tail;                     /* index to tail of queue */\n  int size;                     /* queue size */\n  int capacity;                 /* length at most */\n  char buffer[QUEUE_SIZE][H_SIZE]; /* data item */\n} GDnsQueue;\n\nextern GDnsThread gdns_thread;\n\nchar *gqueue_dequeue (GDnsQueue * q);\nchar *reverse_ip (char *str);\nint gqueue_empty (GDnsQueue * q);\nint gqueue_enqueue (GDnsQueue * q, const char *item);\nint gqueue_find (GDnsQueue * q, const char *item);\nint gqueue_full (GDnsQueue * q);\nint gqueue_size (GDnsQueue * q);\nvoid dns_resolver (char *addr);\nvoid gdns_free_queue (void);\nvoid gdns_init (void);\nvoid gdns_queue_free (void);\nvoid gdns_thread_create (void);\nvoid gqueue_destroy (GDnsQueue * q);\nvoid gqueue_init (GDnsQueue * q, int capacity);\n\n#endif\n"
  },
  {
    "path": "src/geoip1.c",
    "content": "/**\n * geoip.c -- implementation of GeoIP (legacy)\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifdef HAVE_LIBGEOIP\n#include <GeoIP.h>\n#include <GeoIPCity.h>\n#endif\n\n#include \"geoip1.h\"\n\n#include \"error.h\"\n#include \"util.h\"\n\nstatic GeoIP **geoips = NULL;\nstatic GeoIP *geo_location_data = NULL;\nstatic int db_cnt = 0;\nstatic int legacy_db = 0;\n\n/* Determine if we have a valid geoip resource.\n *\n * If the geoip resource is NULL, 0 is returned.\n * If the geoip resource is valid and malloc'd, 1 is returned. */\nint\nis_geoip_resource (void) {\n  return ((geoips && db_cnt) || (legacy_db && geo_location_data));\n}\n\n/* Free up GeoIP resources */\nvoid\ngeoip_free (void) {\n  int idx = 0;\n\n  if (!is_geoip_resource ())\n    return;\n\n  for (idx = 0; idx < db_cnt; idx++)\n    GeoIP_delete (geoips[idx]);\n\n  if (legacy_db)\n    GeoIP_delete (geo_location_data);\n\n  GeoIP_cleanup ();\n  free (geoips);\n  geoips = NULL;\n}\n\n/* Open the given GeoLocation database and set its charset.\n *\n * On error, it aborts.\n * On success, a new geolocation structure is returned. */\nstatic GeoIP *\ngeoip_open_db (const char *db) {\n  GeoIP *geoip = GeoIP_open (db, GEOIP_MEMORY_CACHE);\n\n  if (geoip == NULL)\n    return NULL;\n\n  GeoIP_set_charset (geoip, GEOIP_CHARSET_UTF8);\n  LOG_DEBUG ((\"Opened legacy GeoIP database: %s\\n\", db));\n\n  return geoip;\n}\n\nstatic int\nset_geoip_db_by_type (GeoIP *geoip, GO_GEOIP_DB type) {\n  unsigned char rec = GeoIP_database_edition (geoip);\n\n  switch (rec) {\n  case GEOIP_ASNUM_EDITION:\n    if (type != TYPE_ASN)\n      break;\n    geo_location_data = geoip;\n    return 0;\n  case GEOIP_COUNTRY_EDITION:\n  case GEOIP_COUNTRY_EDITION_V6:\n    if (type != TYPE_COUNTRY && type != TYPE_CITY)\n      break;\n    geo_location_data = geoip;\n    return 0;\n  case GEOIP_CITY_EDITION_REV0:\n  case GEOIP_CITY_EDITION_REV1:\n  case GEOIP_CITY_EDITION_REV0_V6:\n  case GEOIP_CITY_EDITION_REV1_V6:\n    if (type != TYPE_CITY)\n      break;\n    geo_location_data = geoip;\n    return 0;\n  }\n\n  return 1;\n}\n\nstatic int\nset_conf_by_type (GeoIP *geoip) {\n  unsigned char rec = GeoIP_database_edition (geoip);\n\n  switch (rec) {\n  case GEOIP_ASNUM_EDITION:\n    conf.has_geoasn = 1;\n    return 0;\n  case GEOIP_COUNTRY_EDITION:\n  case GEOIP_COUNTRY_EDITION_V6:\n    conf.has_geocountry = 1;\n    return 0;\n  case GEOIP_CITY_EDITION_REV0:\n  case GEOIP_CITY_EDITION_REV1:\n  case GEOIP_CITY_EDITION_REV0_V6:\n  case GEOIP_CITY_EDITION_REV1_V6:\n    conf.has_geocountry = conf.has_geocity = 1;\n    return 0;\n  }\n\n  return 1;\n}\n\n/* Look up for a database on our array and set it as our current handlers.\n * Note: this is not ideal, for now. However, legacy will go out of support at some point.\n *\n * On error or if no entry is found, 1 is returned.\n * On success, GeoIP struct is set as our handler and 0 is returned. */\nstatic int\nset_geoip_db (GO_GEOIP_DB type) {\n  int idx = 0;\n\n  if (!is_geoip_resource ())\n    return 1;\n  /* in memory legacy DB */\n  if (legacy_db && geo_location_data)\n    return 0;\n\n  for (idx = 0; idx < db_cnt; idx++) {\n    if (set_geoip_db_by_type (geoips[idx], type) == 0)\n      return 0;\n  }\n\n  return 1;\n}\n\nstatic void\nset_geoip (const char *db) {\n  GeoIP **new_geoips = NULL, *geoip = NULL;\n\n  if (db == NULL || *db == '\\0')\n    return;\n\n  if (!(geoip = geoip_open_db (db)))\n    FATAL (\"Unable to open GeoIP database %s\\n\", db);\n\n  db_cnt++;\n\n  new_geoips = realloc (geoips, sizeof (*geoips) * db_cnt);\n  if (new_geoips == NULL)\n    FATAL (\"Unable to realloc GeoIP database %s\\n\", db);\n  geoips = new_geoips;\n  geoips[db_cnt - 1] = geoip;\n\n  set_conf_by_type (geoip);\n}\n\n/* Set up and open GeoIP database */\nvoid\ninit_geoip (void) {\n  int i;\n\n  for (i = 0; i < conf.geoip_db_idx; ++i)\n    set_geoip (conf.geoip_databases[i]);\n\n  /* fall back to legacy GeoIP database */\n  if (!conf.geoip_db_idx) {\n    geo_location_data = GeoIP_new (conf.geo_db);\n    legacy_db = 1;\n  }\n}\n\nstatic char ip4to6_out_buffer[17];\nstatic char *\nip4to6 (const char *ipv4) {\n  unsigned int b[4];\n  int n = sscanf (ipv4, \"%u.%u.%u.%u\", b, b + 1, b + 2, b + 3);\n  if (n == 4) {\n    snprintf (ip4to6_out_buffer, sizeof (ip4to6_out_buffer), \"::ffff:%02x%02x:%02x%02x\", b[0],\n              b[1], b[2], b[3]);\n    return ip4to6_out_buffer;\n  }\n  return NULL;\n}\n\n/* Get continent name concatenated with code.\n *\n * If continent not found, \"Unknown\" is returned.\n * On success, the continent code & name is returned . */\nstatic const char *\nget_continent_name_and_code (const char *continentid) {\n  if (memcmp (continentid, \"NA\", 2) == 0)\n    return \"NA North America\";\n  else if (memcmp (continentid, \"OC\", 2) == 0)\n    return \"OC Oceania\";\n  else if (memcmp (continentid, \"EU\", 2) == 0)\n    return \"EU Europe\";\n  else if (memcmp (continentid, \"SA\", 2) == 0)\n    return \"SA South America\";\n  else if (memcmp (continentid, \"AF\", 2) == 0)\n    return \"AF Africa\";\n  else if (memcmp (continentid, \"AN\", 2) == 0)\n    return \"AN Antarctica\";\n  else if (memcmp (continentid, \"AS\", 2) == 0)\n    return \"AS Asia\";\n  else\n    return \"-- Unknown\";\n}\n\n/* Compose a string with the country name and code and store it in the\n * given buffer. */\nstatic void\ngeoip_set_country (const char *country, const char *code, char *loc) {\n  if (country && code)\n    snprintf (loc, COUNTRY_LEN, \"%s %s\", code, country);\n  else\n    snprintf (loc, COUNTRY_LEN, \"%s\", \"Unknown\");\n}\n\n/* Compose a string with the city name and state/region and store it\n * in the given buffer. */\nstatic void\ngeoip_set_city (const char *city, const char *region, char *loc) {\n  snprintf (loc, CITY_LEN, \"%s, %s\", city ? city : \"N/A City\", region ? region : \"N/A Region\");\n}\n\n/* Compose a string with the continent name and store it in the given\n * buffer. */\nstatic void\ngeoip_set_continent (const char *continent, char *loc) {\n  if (continent)\n    snprintf (loc, CONTINENT_LEN, \"%s\", get_continent_name_and_code (continent));\n  else\n    snprintf (loc, CONTINENT_LEN, \"%s\", \"Unknown\");\n}\n\n/* Compose a string with the continent name and store it in the given\n * buffer. */\nstatic void\ngeoip_set_asn (const char *name, char *asn) {\n  if (name)\n    snprintf (asn, ASN_LEN, \"%s\", name);\n  else\n    snprintf (asn, ASN_LEN, \"%s\", \"Unknown\");\n}\n\n/* Get detailed information found in the GeoIP Database about the\n * given IPv4 or IPv6.\n *\n * On error, NULL is returned\n * On success, GeoIPRecord structure is returned */\nstatic GeoIPRecord *\nget_geoip_record (const char *addr, GTypeIP type_ip) {\n  GeoIPRecord *rec = NULL;\n\n  if (TYPE_IPV4 == type_ip)\n    rec = GeoIP_record_by_name (geo_location_data, addr);\n  else if (TYPE_IPV6 == type_ip)\n    rec = GeoIP_record_by_name_v6 (geo_location_data, addr);\n\n  return rec;\n}\n\n/* Set country data by record into the given `location` buffer based\n * on the IP version. */\nstatic void\ngeoip_set_country_by_record (const char *ip, char *location, GTypeIP type_ip) {\n  GeoIPRecord *rec = NULL;\n  const char *country = NULL, *code = NULL, *addr = ip;\n\n  if (geo_location_data == NULL)\n    return;\n\n  /* Custom GeoIP database */\n  if ((rec = get_geoip_record (addr, type_ip))) {\n    country = rec->country_name;\n    code = rec->country_code;\n  }\n\n  geoip_set_country (country, code, location);\n  if (rec != NULL) {\n    GeoIPRecord_delete (rec);\n  }\n}\n\n/* Get the GeoIP location id by name.\n *\n * On error, 0 is returned\n * On success, the GeoIP location id is returned */\nstatic int\ngeoip_get_geoid (const char *addr, GTypeIP type_ip) {\n  int geoid = 0;\n\n  if (TYPE_IPV4 == type_ip)\n    geoid = GeoIP_id_by_name (geo_location_data, addr);\n  else if (TYPE_IPV6 == type_ip)\n    geoid = GeoIP_id_by_name_v6 (geo_location_data, addr);\n\n  return geoid;\n}\n\n/* Get the country name by GeoIP location id.\n *\n * On error, NULL is returned\n * On success, the country name is returned */\nstatic const char *\ngeoip_get_country_by_geoid (const char *addr, GTypeIP type_ip) {\n  const char *country = NULL;\n\n  if (TYPE_IPV4 == type_ip)\n    country = GeoIP_country_name_by_name (geo_location_data, addr);\n  else if (TYPE_IPV6 == type_ip)\n    country = GeoIP_country_name_by_name_v6 (geo_location_data, addr);\n\n  return country;\n}\n\n/* Set country data by geoid into the given `location` buffer based on\n * the IP version. */\nstatic void\ngeoip_set_country_by_geoid (const char *ip, char *location, GTypeIP type_ip) {\n  const char *country = NULL, *code = NULL, *addr = ip;\n  int geoid = 0;\n\n  if (!is_geoip_resource ())\n    return;\n\n  if (!(country = geoip_get_country_by_geoid (addr, type_ip)))\n    goto out;\n\n  /* return two letter country code */\n  if (!(geoid = geoip_get_geoid (addr, type_ip)))\n    goto out;\n  code = GeoIP_code_by_id (geoid);\n\nout:\n  geoip_set_country (country, code, location);\n}\n\n/* Set continent data by record into the given `location` buffer based\n * on the IP version. */\nstatic void\ngeoip_set_continent_by_record (const char *ip, char *location, GTypeIP type_ip) {\n  GeoIPRecord *rec = NULL;\n  const char *continent = NULL, *addr = ip;\n\n  if (geo_location_data == NULL)\n    return;\n\n  /* Custom GeoIP database */\n  if ((rec = get_geoip_record (addr, type_ip)))\n    continent = rec->continent_code;\n\n  geoip_set_continent (continent, location);\n  if (rec != NULL) {\n    GeoIPRecord_delete (rec);\n  }\n}\n\n/* Set continent data by geoid into the given `location` buffer based\n * on the IP version. */\nstatic void\ngeoip_set_continent_by_geoid (const char *ip, char *location, GTypeIP type_ip) {\n  const char *continent = NULL, *addr = ip;\n  int geoid = 0;\n\n  if (!is_geoip_resource ())\n    return;\n\n  if (!(geoid = geoip_get_geoid (addr, type_ip)))\n    goto out;\n  continent = GeoIP_continent_by_id (geoid);\n\nout:\n  geoip_set_continent (continent, location);\n}\n\n/* Set city data by record into the given `location` buffer based on\n * the IP version.  */\nstatic void\ngeoip_set_city_by_record (const char *ip, char *location, GTypeIP type_ip) {\n  GeoIPRecord *rec = NULL;\n  const char *city = NULL, *region = NULL, *addr = ip;\n\n  /* Custom GeoIP database */\n  if ((rec = get_geoip_record (addr, type_ip))) {\n    city = rec->city;\n    region = rec->region;\n  }\n\n  geoip_set_city (city, region, location);\n  if (rec != NULL) {\n    GeoIPRecord_delete (rec);\n  }\n}\n\n/* Set city data by geoid or record into the given `location` buffer\n * based on the IP version and currently used database edition.\n * It uses the custom GeoIP database - i.e., GeoLiteCity.dat */\nstatic void\ngeoip_get_city (const char *ip, char *location, GTypeIP type_ip) {\n  unsigned char rec = 0;\n\n  if (geo_location_data == NULL)\n    return;\n\n  rec = GeoIP_database_edition (geo_location_data);\n  switch (rec) {\n  case GEOIP_CITY_EDITION_REV0:\n  case GEOIP_CITY_EDITION_REV1:\n    if (TYPE_IPV4 == type_ip)\n      geoip_set_city_by_record (ip, location, TYPE_IPV4);\n    else\n      geoip_set_city (NULL, NULL, location);\n    break;\n  case GEOIP_CITY_EDITION_REV0_V6:\n  case GEOIP_CITY_EDITION_REV1_V6:\n    if (TYPE_IPV6 == type_ip)\n      geoip_set_city_by_record (ip, location, TYPE_IPV6);\n    else {\n      char *ipv6 = ip4to6 (ip);\n      if (ipv6)\n        geoip_set_city_by_record (ipv6, location, TYPE_IPV6);\n      else\n        geoip_set_city (NULL, NULL, location);\n    }\n    break;\n  }\n}\n\n/* Set country data by geoid or record into the given `location` buffer\n * based on the IP version and currently used database edition.  */\nvoid\ngeoip_get_country (const char *ip, char *location, GTypeIP type_ip) {\n  unsigned char rec = 0;\n\n  if (set_geoip_db (TYPE_COUNTRY) && set_geoip_db (TYPE_CITY)) {\n    geoip_set_country (NULL, NULL, location);\n    return;\n  }\n\n  rec = GeoIP_database_edition (geo_location_data);\n  switch (rec) {\n  case GEOIP_COUNTRY_EDITION:\n    if (TYPE_IPV4 == type_ip)\n      geoip_set_country_by_geoid (ip, location, TYPE_IPV4);\n    else\n      geoip_set_country (NULL, NULL, location);\n    break;\n  case GEOIP_COUNTRY_EDITION_V6:\n    if (TYPE_IPV6 == type_ip)\n      geoip_set_country_by_geoid (ip, location, TYPE_IPV6);\n    else {\n      char *ipv6 = ip4to6 (ip);\n      if (ipv6)\n        geoip_set_country_by_geoid (ipv6, location, TYPE_IPV6);\n      else\n        geoip_set_country (NULL, NULL, location);\n    }\n    break;\n  case GEOIP_CITY_EDITION_REV0:\n  case GEOIP_CITY_EDITION_REV1:\n    if (TYPE_IPV4 == type_ip)\n      geoip_set_country_by_record (ip, location, TYPE_IPV4);\n    else\n      geoip_set_country (NULL, NULL, location);\n    break;\n  case GEOIP_CITY_EDITION_REV0_V6:\n  case GEOIP_CITY_EDITION_REV1_V6:\n    if (TYPE_IPV6 == type_ip)\n      geoip_set_country_by_record (ip, location, TYPE_IPV6);\n    else {\n      char *ipv6 = ip4to6 (ip);\n      if (ipv6)\n        geoip_set_country_by_record (ipv6, location, TYPE_IPV6);\n      else\n        geoip_set_country (NULL, NULL, location);\n    }\n    break;\n  }\n}\n\n/* Set continent data by geoid or record into the given `location` buffer\n * based on the IP version and currently used database edition.  */\nvoid\ngeoip_get_continent (const char *ip, char *location, GTypeIP type_ip) {\n  unsigned char rec = 0;\n\n  if (set_geoip_db (TYPE_COUNTRY) && set_geoip_db (TYPE_CITY)) {\n    geoip_set_continent (NULL, location);\n    return;\n  }\n\n  rec = GeoIP_database_edition (geo_location_data);\n  switch (rec) {\n  case GEOIP_COUNTRY_EDITION:\n    if (TYPE_IPV4 == type_ip)\n      geoip_set_continent_by_geoid (ip, location, TYPE_IPV4);\n    else\n      geoip_set_continent (NULL, location);\n    break;\n  case GEOIP_COUNTRY_EDITION_V6:\n    if (TYPE_IPV6 == type_ip)\n      geoip_set_continent_by_geoid (ip, location, TYPE_IPV6);\n    else {\n      char *ipv6 = ip4to6 (ip);\n      if (ipv6)\n        geoip_set_continent_by_geoid (ipv6, location, TYPE_IPV6);\n      else\n        geoip_set_continent (NULL, location);\n    }\n    break;\n  case GEOIP_CITY_EDITION_REV0:\n  case GEOIP_CITY_EDITION_REV1:\n    if (TYPE_IPV4 == type_ip)\n      geoip_set_continent_by_record (ip, location, TYPE_IPV4);\n    else\n      geoip_set_continent (NULL, location);\n    break;\n  case GEOIP_CITY_EDITION_REV0_V6:\n  case GEOIP_CITY_EDITION_REV1_V6:\n    if (TYPE_IPV6 == type_ip)\n      geoip_set_continent_by_record (ip, location, TYPE_IPV6);\n    else {\n      char *ipv6 = ip4to6 (ip);\n      if (ipv6)\n        geoip_set_continent_by_record (ipv6, location, TYPE_IPV6);\n      else\n        geoip_set_continent (NULL, location);\n    }\n    break;\n  }\n}\n\nvoid\ngeoip_asn (char *host, char *asn) {\n  char *name = NULL;\n\n  if (legacy_db || set_geoip_db (TYPE_ASN)) {\n    geoip_set_asn (NULL, asn);\n    return;\n  }\n\n  /* Custom GeoIP database */\n  name = GeoIP_org_by_name (geo_location_data, (const char *) host);\n  geoip_set_asn (name, asn);\n  free (name);\n}\n\n/* Entry point to set GeoIP location into the corresponding buffers,\n * (continent, country, city).\n *\n * On error, 1 is returned\n * On success, buffers are set and 0 is returned */\nint\nset_geolocation (char *host, char *continent, char *country, char *city, GO_UNUSED char *asn) {\n  int type_ip = 0;\n\n  if (!is_geoip_resource ())\n    return 1;\n\n  if (invalid_ipaddr (host, &type_ip))\n    return 1;\n\n  /* set ASN data */\n  geoip_asn (host, asn);\n\n  /* set Country/City data */\n  if (set_geoip_db (TYPE_COUNTRY) == 0 || set_geoip_db (TYPE_CITY) == 0) {\n    geoip_get_country (host, country, type_ip);\n    geoip_get_continent (host, continent, type_ip);\n  }\n  if (set_geoip_db (TYPE_CITY) == 0)\n    geoip_get_city (host, city, type_ip);\n\n  return 0;\n}\n"
  },
  {
    "path": "src/geoip1.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef GEOIP_H_INCLUDED\n#define GEOIP_H_INCLUDED\n\n#include \"commons.h\"\n\n#define CITY_LEN       47 + 1 /* max string length for a city */\n#define CONTINENT_LEN  47 + 1 /* max string length for a country */\n#define COUNTRY_LEN    48 + 3 /* Country + two-letter Code */\n#define ASN_LEN        64 + 6 /* ASN + 5 digit/16-bit number/code */\n\n/* Type of IP */\ntypedef enum {\n  TYPE_COUNTRY,\n  TYPE_CITY,\n  TYPE_ASN\n} GO_GEOIP_DB;\n\ntypedef struct GLocation_ {\n  char city[CITY_LEN];\n  char continent[CONTINENT_LEN];\n  int hits;\n} GLocation;\n\nint is_geoip_resource (void);\nint set_geolocation (char *host, char *continent, char *country, char *city, char *asn);\nvoid geoip_asn (char *host, char *asn);\nvoid geoip_free (void);\nvoid geoip_get_continent (const char *ip, char *location, GTypeIP type_ip);\nvoid geoip_get_country (const char *ip, char *location, GTypeIP type_ip);\nvoid init_geoip (void);\n\n#endif // for #ifndef GEOIP_H\n"
  },
  {
    "path": "src/geoip2.c",
    "content": "/**\n * geoip2.c -- implementation of GeoIP2\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2020 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n\n#ifdef HAVE_LIBMAXMINDDB\n#include <maxminddb.h>\n#endif\n\n#include \"geoip1.h\"\n\n#include \"error.h\"\n#include \"labels.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* should be reused across lookups */\nstatic int geoip_asn_type = 0;\nstatic int geoip_city_type = 0;\nstatic int geoip_country_type = 0;\nstatic int mmdb_cnt = 0;\nstatic MMDB_s *mmdbs = NULL;\n\n/* Determine if we have a valid geoip resource.\n *\n * If the geoip resource is NULL, 0 is returned.\n * If the geoip resource is valid and malloc'd, 1 is returned. */\nint\nis_geoip_resource (void) {\n  return mmdbs && mmdb_cnt;\n}\n\n/* Free up GeoIP resources */\nvoid\ngeoip_free (void) {\n  int idx = 0;\n  if (!is_geoip_resource ())\n    return;\n\n  for (idx = 0; idx < mmdb_cnt; idx++)\n    MMDB_close (&mmdbs[idx]);\n  free (mmdbs);\n  mmdbs = NULL;\n}\n\nstatic void\nset_geoip (const char *db) {\n  int status = 0;\n  MMDB_s *new_mmdbs = NULL, mmdb;\n\n  if (db == NULL || *db == '\\0')\n    return;\n\n  if ((status = MMDB_open (db, MMDB_MODE_MMAP, &mmdb)) != MMDB_SUCCESS)\n    FATAL (\"Unable to open GeoIP2 database %s: %s\\n\", db, MMDB_strerror (status));\n\n  mmdb_cnt++;\n\n  new_mmdbs = realloc (mmdbs, sizeof (*mmdbs) * mmdb_cnt);\n  if (new_mmdbs == NULL)\n    FATAL (\"Unable to realloc GeoIP2 database %s\\n\", db);\n  mmdbs = new_mmdbs;\n  mmdbs[mmdb_cnt - 1] = mmdb;\n\n  if (strstr (mmdb.metadata.database_type, \"-City\") != NULL)\n    conf.has_geocountry = conf.has_geocity = geoip_country_type = geoip_city_type = 1;\n  if (strstr (mmdb.metadata.database_type, \"-ASN\") != NULL)\n    conf.has_geoasn = geoip_asn_type = 1;\n  if (strstr (mmdb.metadata.database_type, \"-Country\") != NULL)\n    conf.has_geocountry = geoip_country_type = 1;\n}\n\n/* Open the given GeoIP2 database.\n *\n * On error, it aborts.\n * On success, a new geolocation structure is set. */\nvoid\ninit_geoip (void) {\n  int i;\n\n  for (i = 0; i < conf.geoip_db_idx; ++i)\n    set_geoip (conf.geoip_databases[i]);\n}\n\n/* Look up an IP address that is passed in as a null-terminated string.\n *\n * On error, it aborts.\n * If no entry is found, 1 is returned.\n * On success, MMDB_lookup_result_s struct is set and 0 is returned. */\nstatic int\ngeoip_lookup (MMDB_lookup_result_s *res, const char *ip, int is_asn) {\n  int gai_err, mmdb_err, idx = 0;\n  MMDB_s *mmdb = NULL;\n\n  for (idx = 0; idx < mmdb_cnt; idx++) {\n    if (is_asn && (!strstr (mmdbs[idx].metadata.database_type, \"ASN\")))\n      continue;\n    if (!is_asn && (strstr (mmdbs[idx].metadata.database_type, \"ASN\")))\n      continue;\n\n    mmdb = &mmdbs[idx];\n\n    *res = MMDB_lookup_string (mmdb, ip, &gai_err, &mmdb_err);\n    if (0 != gai_err)\n      return 1;\n    if (MMDB_SUCCESS != mmdb_err)\n      FATAL (\"Error from libmaxminddb: %s\\n\", MMDB_strerror (mmdb_err));\n    if (!(*res).found_entry)\n      return 1;\n    break;\n  }\n\n  return 0;\n}\n\n/* Get continent name concatenated with code.\n *\n * If continent not found, \"Unknown\" is returned.\n * On success, the continent code & name is returned . */\nstatic const char *\nget_continent_name_and_code (const char *continentid) {\n  if (memcmp (continentid, \"NA\", 2) == 0)\n    return \"NA North America\";\n  else if (memcmp (continentid, \"OC\", 2) == 0)\n    return \"OC Oceania\";\n  else if (memcmp (continentid, \"EU\", 2) == 0)\n    return \"EU Europe\";\n  else if (memcmp (continentid, \"SA\", 2) == 0)\n    return \"SA South America\";\n  else if (memcmp (continentid, \"AF\", 2) == 0)\n    return \"AF Africa\";\n  else if (memcmp (continentid, \"AN\", 2) == 0)\n    return \"AN Antarctica\";\n  else if (memcmp (continentid, \"AS\", 2) == 0)\n    return \"AS Asia\";\n  else\n    return \"-- Unknown\";\n}\n\n/* Compose a string with the country name and code and store it in the\n * given buffer. */\nstatic void\ngeoip_set_country (const char *country, const char *code, char *loc) {\n  if (country && code)\n    snprintf (loc, COUNTRY_LEN, \"%s %s\", code, country);\n  else\n    snprintf (loc, COUNTRY_LEN, \"%s\", \"Unknown\");\n}\n\n/* Compose a string with the ASN name and code and store it in the\n * given buffer. */\nstatic void\ngeoip_set_asn (MMDB_entry_data_s name, MMDB_entry_data_s code, char *asn, int status) {\n  if (status == 0)\n    snprintf (asn, ASN_LEN, \"%05u: %.*s\", code.uint32, name.data_size, name.utf8_string);\n  else\n    snprintf (asn, ASN_LEN, \"%s\", \"00000: Unknown\");\n}\n\n/* Compose a string with the city name and state/region and store it\n * in the given buffer. */\nstatic void\ngeoip_set_city (const char *city, char *loc) {\n  snprintf (loc, CITY_LEN, \"%s\", city ? city : \"N/A City\");\n}\n\n/* Compose a string with the continent name and store it in the given\n * buffer. */\nstatic void\ngeoip_set_continent (const char *continent, char *loc) {\n  if (continent)\n    snprintf (loc, CONTINENT_LEN, \"%s\", get_continent_name_and_code (continent));\n  else\n    snprintf (loc, CONTINENT_LEN, \"%s\", \"Unknown\");\n}\n\n/* A wrapper to fetch the looked up result set.\n *\n * On error, it aborts.\n * If no data is found, NULL is returned.\n * On success, the fetched value is returned. */\nstatic char *\nget_value (MMDB_lookup_result_s res, ...) {\n  MMDB_entry_data_s entry_data;\n  char *value = NULL;\n  int status = 0;\n  va_list keys;\n  va_start (keys, res);\n\n  status = MMDB_vget_value (&res.entry, &entry_data, keys);\n  va_end (keys);\n\n  if (status != MMDB_SUCCESS)\n    return NULL;\n\n  if (!entry_data.has_data)\n    return NULL;\n\n  if (entry_data.type != MMDB_DATA_TYPE_UTF8_STRING)\n    FATAL (\"Invalid data UTF8 GeoIP2 data %d:\\n\", entry_data.type);\n\n  if ((value = strndup (entry_data.utf8_string, entry_data.data_size)) == NULL)\n    FATAL (\"Unable to allocate buffer %s: \", strerror (errno));\n\n  return value;\n}\n\n/* A wrapper to fetch the looked up result and set the city and region.\n *\n * If no data is found, NULL is set.\n * On success, the fetched value is set. */\nstatic void\ngeoip_query_city (MMDB_lookup_result_s res, char *location) {\n  char *city = NULL, *region = NULL;\n\n  if (res.found_entry) {\n    city = get_value (res, \"city\", \"names\", DOC_LANG, NULL);\n    region = get_value (res, \"subdivisions\", \"0\", \"names\", DOC_LANG, NULL);\n    if (!city) {\n      city = get_value (res, \"city\", \"names\", \"en\", NULL);\n    }\n    if (!region) {\n      region = get_value (res, \"subdivisions\", \"0\", \"names\", \"en\", NULL);\n    }\n  }\n  geoip_set_city (city, location);\n  free (city);\n  free (region);\n}\n\n/* A wrapper to fetch the looked up result and set the country and code.\n *\n * If no data is found, NULL is set.\n * On success, the fetched value is set. */\nstatic void\ngeoip_query_country (MMDB_lookup_result_s res, char *location) {\n  char *country = NULL, *code = NULL;\n\n  if (res.found_entry) {\n    country = get_value (res, \"country\", \"names\", DOC_LANG, NULL);\n    code = get_value (res, \"country\", \"iso_code\", NULL);\n    if (!country) {\n      country = get_value (res, \"country\", \"names\", \"en\", NULL);\n    }\n  }\n  geoip_set_country (country, code, location);\n  free (code);\n  free (country);\n}\n\n/* Sets the value for the given array of strings as the lookup path.\n *\n * On error or not found, 1 is returned.\n * On success, 0 is returned and the entry data is set. */\nstatic int\ngeoip_query_asn_code (MMDB_lookup_result_s res, MMDB_entry_data_s *code) {\n  int status;\n  const char *key[] = { \"autonomous_system_number\", NULL };\n\n  if (res.found_entry) {\n    status = MMDB_aget_value (&res.entry, code, key);\n    if (status != MMDB_SUCCESS || !code->has_data)\n      return 1;\n  }\n\n  return 0;\n}\n\n/* Sets the value for the given array of strings as the lookup path.\n *\n * On error or not found, 1 is returned.\n * On success, 0 is returned and the entry data is set. */\nstatic int\ngeoip_query_asn_name (MMDB_lookup_result_s res, MMDB_entry_data_s *name) {\n  int status;\n  const char *key[] = { \"autonomous_system_organization\", NULL };\n\n  if (res.found_entry) {\n    status = MMDB_aget_value (&res.entry, name, key);\n    if (status != MMDB_SUCCESS || !name->has_data)\n      return 1;\n  }\n\n  return 0;\n}\n\n/* A wrapper to fetch the looked up result and set the ASN organization & code.\n *\n * If no data is found, \"Unknown\" is set.\n * On success, the fetched value is set. */\nvoid\ngeoip_asn (char *host, char *asn) {\n  MMDB_lookup_result_s res = { 0 };\n  MMDB_entry_data_s name = { 0 };\n  MMDB_entry_data_s code = { 0 };\n  int status = 1;\n\n  geoip_lookup (&res, host, 1);\n\n  if (!res.found_entry)\n    goto out;\n  if ((status &= geoip_query_asn_name (res, &name)))\n    goto out;\n  if ((status |= geoip_query_asn_code (res, &code)))\n    goto out;\n\nout:\n  geoip_set_asn (name, code, asn, status);\n}\n\n/* A wrapper to fetch the looked up result and set the continent code.\n *\n * If no data is found, NULL is set.\n * On success, the fetched value is set. */\nstatic void\ngeoip_query_continent (MMDB_lookup_result_s res, char *location) {\n  char *code = NULL;\n\n  if (res.found_entry)\n    code = get_value (res, \"continent\", \"code\", NULL);\n  geoip_set_continent (code, location);\n  free (code);\n}\n\n/* Set country data by record into the given `location` buffer */\nvoid\ngeoip_get_country (const char *ip, char *location, GO_UNUSED GTypeIP type_ip) {\n  MMDB_lookup_result_s res = { 0 };\n\n  geoip_lookup (&res, ip, 0);\n  geoip_query_country (res, location);\n}\n\n/* A wrapper to fetch the looked up result and set the continent. */\nvoid\ngeoip_get_continent (const char *ip, char *location, GO_UNUSED GTypeIP type_ip) {\n  MMDB_lookup_result_s res = { 0 };\n\n  geoip_lookup (&res, ip, 0);\n  geoip_query_continent (res, location);\n}\n\n/* Entry point to set GeoIP location into the corresponding buffers,\n * (continent, country, city).\n *\n * On error, 1 is returned\n * On success, buffers are set and 0 is returned */\nint\nset_geolocation (char *host, char *continent, char *country, char *city, char *asn) {\n  MMDB_lookup_result_s res = { 0 };\n\n  if (!is_geoip_resource ())\n    return 1;\n\n  /* set ASN data */\n  if (geoip_asn_type)\n    geoip_asn (host, asn);\n\n  if (!geoip_city_type && !geoip_country_type)\n    return 0;\n\n  /* set Country/City data */\n  geoip_lookup (&res, host, 0);\n  geoip_query_country (res, country);\n  geoip_query_continent (res, continent);\n\n  if (geoip_city_type)\n    geoip_query_city (res, city);\n\n  return 0;\n}\n"
  },
  {
    "path": "src/gholder.c",
    "content": "/**\n * gholder.c -- data structure to hold raw data\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <pthread.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/socket.h>\n#include <netinet/in.h>\n#include <arpa/inet.h>\n\n#include \"gholder.h\"\n\n#include \"error.h\"\n#include \"gdns.h\"\n#include \"gkhash.h\"\n#include \"gstorage.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n#ifdef HAVE_GEOLOCATION\n#include \"geoip1.h\"\n#endif\n\ntypedef struct GPanel_ {\n  GModule module;\n  void (*insert) (GRawDataItem item, GHolder * h, datatype type, const struct GPanel_ *);\n  void (*holder_callback) (GHolder * h);\n} GPanel;\n\n\n/* *INDENT-OFF* */\nstatic void add_data_to_holder (GRawDataItem item, GHolder * h, datatype type, const GPanel * panel);\nstatic void add_host_to_holder (GRawDataItem item, GHolder * h, datatype type, const GPanel * panel);\nstatic void add_root_to_holder (GRawDataItem item, GHolder * h, datatype type, const GPanel * panel);\nstatic void add_host_child_to_holder (GHolder * h);\n#ifdef HAVE_GEOLOCATION\nstatic void add_geo_to_holder (GRawDataItem item, GHolder * h, datatype type, const GPanel * panel);\n#endif\n\nstatic const GPanel paneling[] = {\n  {VISITORS        , add_data_to_holder , NULL},\n  {REQUESTS        , add_data_to_holder , NULL},\n  {REQUESTS_STATIC , add_data_to_holder , NULL},\n  {NOT_FOUND       , add_data_to_holder , NULL},\n  {HOSTS           , add_host_to_holder , add_host_child_to_holder} ,\n  {OS              , add_root_to_holder , NULL},\n  {BROWSERS        , add_root_to_holder , NULL},\n  {VISIT_TIMES     , add_data_to_holder , NULL},\n  {VIRTUAL_HOSTS   , add_data_to_holder , NULL},\n  {REFERRERS       , add_data_to_holder , NULL},\n  {REFERRING_SITES , add_data_to_holder , NULL},\n  {KEYPHRASES      , add_data_to_holder , NULL},\n  {STATUS_CODES    , add_root_to_holder , NULL},\n  {REMOTE_USER     , add_data_to_holder , NULL},\n  {CACHE_STATUS    , add_data_to_holder , NULL},\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION    , add_geo_to_holder  , NULL},\n  {ASN             , add_data_to_holder , NULL} ,\n#endif\n  {MIME_TYPE       , add_root_to_holder , NULL} ,\n  {TLS_TYPE        , add_root_to_holder , NULL} ,\n};\n/* *INDENT-ON* */\n\n\n/* Get a panel from the GPanel structure given a module.\n *\n * On error, or if not found, NULL is returned.\n * On success, the panel value is returned. */\nstatic const GPanel *\npanel_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (paneling);\n\n  for (i = 0; i < num_panels; i++) {\n    if (paneling[i].module == module)\n      return &paneling[i];\n  }\n  return NULL;\n}\n\n/* Allocate memory for a new GHolder instance.\n *\n * On success, the newly allocated GHolder is returned . */\nGHolder *\nnew_gholder (uint32_t size) {\n  GHolder *holder = xmalloc (size * sizeof (GHolder));\n  memset (holder, 0, size * sizeof *holder);\n\n  return holder;\n}\n\n/* Allocate memory for a new GHolderItem instance.\n *\n * On success, the newly allocated GHolderItem is returned . */\nstatic GHolderItem *\nnew_gholder_item (uint32_t size) {\n  GHolderItem *item = xcalloc (size, sizeof (GHolderItem));\n\n  return item;\n}\n\n/* Allocate memory for a new double linked-list GSubList instance.\n *\n * On success, the newly allocated GSubList is returned . */\nstatic GSubList *\nnew_gsublist (void) {\n  GSubList *sub_list = xmalloc (sizeof (GSubList));\n  sub_list->head = NULL;\n  sub_list->tail = NULL;\n  sub_list->size = 0;\n\n  return sub_list;\n}\n\n/* Allocate memory for a new double linked-list GSubItem node.\n *\n * On success, the newly allocated GSubItem is returned . */\nstatic GSubItem *\nnew_gsubitem (GModule module, GMetrics *nmetrics) {\n  GSubItem *sub_item = xmalloc (sizeof (GSubItem));\n\n  sub_item->metrics = nmetrics;\n  sub_item->module = module;\n  sub_item->sub_list = NULL;\n  sub_item->prev = NULL;\n  sub_item->next = NULL;\n\n  return sub_item;\n}\n\n/* Add an item to the end of a given sub list. */\nstatic void\nadd_sub_item_back (GSubList *sub_list, GModule module, GMetrics *nmetrics) {\n  GSubItem *sub_item = new_gsubitem (module, nmetrics);\n  if (sub_list->tail) {\n    sub_list->tail->next = sub_item;\n    sub_item->prev = sub_list->tail;\n    sub_list->tail = sub_item;\n  } else {\n    sub_list->head = sub_item;\n    sub_list->tail = sub_item;\n  }\n  sub_list->size++;\n}\n\n/* Delete the entire given sub list. */\nstatic void\ndelete_sub_list (GSubList *sub_list) {\n  GSubItem *item = NULL;\n  GSubItem *next = NULL;\n\n  if (sub_list->size == 0)\n    goto clear;\n\n  for (item = sub_list->head; item; item = next) {\n    next = item->next;\n    if (item->sub_list != NULL)\n      delete_sub_list (item->sub_list);\n    free (item->metrics->data);\n    free (item->metrics);\n    free (item);\n  }\nclear:\n  sub_list->head = NULL;\n  sub_list->size = 0;\n  free (sub_list);\n}\n\n/* Free malloc'd holder fields. */\nstatic void\nfree_holder_data (GHolderItem item) {\n  if (item.sub_list != NULL)\n    delete_sub_list (item.sub_list);\n  free_gmetrics (item.metrics);\n}\n\n/* Free all memory allocated in holder for a given module. */\nvoid\nfree_holder_by_module (GHolder **holder, GModule module) {\n  uint32_t j;\n\n  if ((*holder) == NULL)\n    return;\n\n  for (j = 0; j < (*holder)[module].idx; j++) {\n    free_holder_data ((*holder)[module].items[j]);\n  }\n  free ((*holder)[module].items);\n\n  (*holder)[module].holder_size = 0;\n  (*holder)[module].idx = 0;\n  (*holder)[module].sub_items_size = 0;\n}\n\n/* Free all memory allocated in holder for all modules. */\nvoid\nfree_holder (GHolder **holder) {\n  GModule module;\n  uint32_t j;\n  size_t idx = 0;\n\n  if ((*holder) == NULL)\n    return;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n\n    for (j = 0; j < (*holder)[module].idx; j++) {\n      free_holder_data ((*holder)[module].items[j]);\n    }\n    free ((*holder)[module].items);\n  }\n  free (*holder);\n  (*holder) = NULL;\n}\n\n/* Iterate over holder and get the key index.\n *\n * If the key does not exist, -1 is returned.\n * On success, the key in holder is returned . */\nstatic int\nget_item_idx_in_holder (GHolder *holder, const char *k) {\n  uint32_t i;\n  if (holder == NULL)\n    return KEY_NOT_FOUND;\n  if (holder->idx == 0)\n    return KEY_NOT_FOUND;\n  if (k == NULL || *k == '\\0')\n    return KEY_NOT_FOUND;\n\n  for (i = 0; i < holder->idx; i++) {\n    if (strcmp (k, holder->items[i].metrics->data) == 0)\n      return i;\n  }\n\n  return KEY_NOT_FOUND;\n}\n\n/* Sort a single GSubList in place: copy to array, sort, rebuild list.\n * Preserves each sub-item's own sub_list for recursive nesting. */\nstatic void\nsort_single_sub_list (GSubList **sl_ptr, GModule module, GSort sort, int max_choices_sub) {\n  GHolderItem *arr;\n  GSubItem *iter;\n  GSubList *sub_list = *sl_ptr;\n  int j, k, limit;\n\n  if (sub_list == NULL || sub_list->size == 0)\n    return;\n\n  arr = new_gholder_item (sub_list->size);\n\n  /* copy items from the linked-list into an array, preserving sub_list */\n  for (j = 0, iter = sub_list->head; iter; iter = iter->next, j++) {\n    arr[j].metrics = new_gmetrics ();\n    arr[j].metrics->nbw = iter->metrics->nbw;\n    arr[j].metrics->data = xstrdup (iter->metrics->data);\n    arr[j].metrics->hits = iter->metrics->hits;\n    arr[j].metrics->id = iter->metrics->id;\n    arr[j].metrics->visitors = iter->metrics->visitors;\n    arr[j].sub_list = iter->sub_list;\n    iter->sub_list = NULL; /* prevent double-free */\n    if (conf.serve_usecs) {\n      arr[j].metrics->avgts.nts = iter->metrics->avgts.nts;\n      arr[j].metrics->cumts.nts = iter->metrics->cumts.nts;\n      arr[j].metrics->maxts.nts = iter->metrics->maxts.nts;\n    }\n  }\n  sort_holder_items (arr, j, sort);\n  delete_sub_list (sub_list);\n\n  /* Only rebuild up to max_choices_sub items */\n  limit = (j < max_choices_sub) ? j : max_choices_sub;\n  sub_list = new_gsublist ();\n  for (k = 0; k < limit; k++) {\n    if (k > 0)\n      sub_list = *sl_ptr;\n\n    add_sub_item_back (sub_list, module, arr[k].metrics);\n    sub_list->tail->sub_list = arr[k].sub_list;\n    *sl_ptr = sub_list;\n    sub_list = NULL;\n  }\n\n  /* Free items beyond max_choices_sub */\n  for (k = limit; k < j; k++) {\n    if (arr[k].sub_list != NULL)\n      delete_sub_list (arr[k].sub_list);\n    free (arr[k].metrics->data);\n    free (arr[k].metrics);\n  }\n\n  free (arr);\n  if (sub_list) {\n    delete_sub_list (sub_list);\n    sub_list = NULL;\n  }\n\n  /* recursively sort nested sub-lists */\n  sub_list = *sl_ptr;\n  if (sub_list != NULL) {\n    for (iter = sub_list->head; iter; iter = iter->next) {\n      if (iter->sub_list != NULL)\n        sort_single_sub_list (&iter->sub_list, module, sort, max_choices_sub);\n    }\n  }\n}\n\n/* Copy linked-list items to an array, sort, and move them back to the\n * list. Should be faster than sorting the list */\nstatic void\nsort_sub_list (GHolder *h, GSort sort) {\n  uint32_t i;\n\n  /* iterate over root-level nodes */\n  for (i = 0; i < h->idx; i++) {\n    sort_single_sub_list (&h->items[i].sub_list, h->module, sort, h->max_choices_sub);\n  }\n}\n\n/* Set the data metric field for the host panel.\n *\n * On success, the data field/metric is set. */\nstatic int\nset_host_child_metrics (char *data, uint8_t id, GMetrics **nmetrics) {\n  GMetrics *metrics;\n\n  metrics = new_gmetrics ();\n  metrics->data = xstrdup (data);\n  metrics->id = id;\n  *nmetrics = metrics;\n\n  return 0;\n}\n\n/* Set host panel data, including sub items.\n *\n * On success, the host panel data is set. */\nstatic void\nset_host_sub_list (GHolder *h, GSubList *sub_list) {\n  GMetrics *nmetrics;\n#ifdef HAVE_GEOLOCATION\n  char city[CITY_LEN] = \"\";\n  char continent[CONTINENT_LEN] = \"\";\n  char country[ASN_LEN] = \"\";\n  char asn[ASN_LEN] = \"\";\n#endif\n\n  char *host = h->items[h->idx].metrics->data, *hostname = NULL;\n#ifdef HAVE_GEOLOCATION\n  /* add geolocation child nodes */\n  set_geolocation (host, continent, country, city, asn);\n\n  /* country */\n  if (country[0] != '\\0' && sub_list->size < h->max_choices_sub) {\n    set_host_child_metrics (country, MTRC_ID_COUNTRY, &nmetrics);\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[h->idx].sub_list = sub_list;\n    h->sub_items_size++;\n\n    /* flag only */\n    conf.has_geocountry = 1;\n  }\n\n  /* city */\n  if (city[0] != '\\0' && sub_list->size < h->max_choices_sub) {\n    set_host_child_metrics (city, MTRC_ID_CITY, &nmetrics);\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[h->idx].sub_list = sub_list;\n    h->sub_items_size++;\n\n    /* flag only */\n    conf.has_geocity = 1;\n  }\n\n  /* ASN */\n  if (asn[0] != '\\0' && sub_list->size < h->max_choices_sub) {\n    set_host_child_metrics (asn, MTRC_ID_ASN, &nmetrics);\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[h->idx].sub_list = sub_list;\n    h->sub_items_size++;\n\n    /* flag only */\n    conf.has_geoasn = 1;\n  }\n#endif\n\n  /* hostname */\n  if (conf.enable_html_resolver && conf.output_stdout && !conf.no_ip_validation &&\n      !conf.real_time_html && sub_list->size < h->max_choices_sub) {\n    hostname = reverse_ip (host);\n    set_host_child_metrics (hostname, MTRC_ID_HOSTNAME, &nmetrics);\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[h->idx].sub_list = sub_list;\n    h->sub_items_size++;\n    free (hostname);\n  }\n}\n\n/* Set host panel data, including sub items.\n *\n * On success, the host panel data is set. */\nstatic void\nadd_host_child_to_holder (GHolder *h) {\n  GMetrics *nmetrics;\n  GSubList *sub_list = new_gsublist ();\n\n  char *ip = h->items[h->idx].metrics->data;\n  char *hostname = NULL;\n  uint32_t n = h->sub_items_size;\n\n  /* add child nodes */\n  set_host_sub_list (h, sub_list);\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  hostname = ht_get_hostname (ip);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  /* determine if we have the IP's hostname */\n  if (!hostname) {\n    dns_resolver (ip);\n  } else if (hostname && sub_list->size < h->max_choices_sub) {\n    set_host_child_metrics (hostname, MTRC_ID_HOSTNAME, &nmetrics);\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[h->idx].sub_list = sub_list;\n    h->sub_items_size++;\n    free (hostname);\n  } else if (hostname) {\n    free (hostname);\n  }\n\n  /* did not add any items */\n  if (n == h->sub_items_size)\n    free (sub_list);\n}\n\n/* Given a GRawDataType, set the data and hits value.\n *\n * On error, no values are set and 1 is returned.\n * On success, the data and hits values are set and 0 is returned. */\nstatic int\nmap_data (GModule module, GRawDataItem item, datatype type, char **data, uint32_t *hits) {\n  switch (type) {\n  case U32:\n    if (!(*data = ht_get_datamap (module, item.nkey)))\n      return 1;\n    if (!item.hits)\n      return 1;\n    *hits = item.hits;\n    break;\n  case STR:\n    if (!(*hits = ht_get_hits (module, item.nkey)))\n      return 1;\n    *data = xstrdup (item.data);\n    break;\n  }\n  return 0;\n}\n\n/* Given a data item, store it into a holder structure. */\nstatic void\nset_single_metrics (GRawDataItem item, GHolder *h, char *data, uint32_t hits) {\n  uint32_t visitors = 0;\n  uint64_t bw = 0, cumts = 0, maxts = 0;\n\n  bw = ht_get_bw (h->module, item.nkey);\n  cumts = ht_get_cumts (h->module, item.nkey);\n  maxts = ht_get_maxts (h->module, item.nkey);\n  visitors = ht_get_visitors (h->module, item.nkey);\n\n  h->items[h->idx].metrics = new_gmetrics ();\n  h->items[h->idx].metrics->hits = hits;\n  h->items[h->idx].metrics->data = data;\n  h->items[h->idx].metrics->visitors = visitors;\n  h->items[h->idx].metrics->nbw = bw;\n  h->items[h->idx].metrics->avgts.nts = cumts / hits;\n  h->items[h->idx].metrics->cumts.nts = cumts;\n  h->items[h->idx].metrics->maxts.nts = maxts;\n\n  if (bw && !conf.bandwidth)\n    conf.bandwidth = 1;\n  if (cumts && !conf.serve_usecs)\n    conf.serve_usecs = 1;\n\n  if (conf.append_method) {\n    h->items[h->idx].metrics->method = ht_get_method (h->module, item.nkey);\n  }\n\n  if (conf.append_protocol) {\n    h->items[h->idx].metrics->protocol = ht_get_protocol (h->module, item.nkey);\n  }\n}\n\n/* Set all panel data. This will set data for panels that do not\n * contain sub items. A function pointer is used for post data set. */\nstatic void\nadd_data_to_holder (GRawDataItem item, GHolder *h, datatype type, const GPanel *panel) {\n  char *data = NULL;\n  uint32_t hits = 0;\n\n  if (map_data (h->module, item, type, &data, &hits) == 1)\n    return;\n\n  set_single_metrics (item, h, data, hits);\n  if (panel->holder_callback)\n    panel->holder_callback (h);\n\n  h->idx++;\n}\n\n/* A wrapper to set a host item */\nstatic void\nset_host (GRawDataItem item, GHolder *h, const GPanel *panel, char *data, uint32_t hits) {\n  set_single_metrics (item, h, xstrdup (data), hits);\n  if (panel->holder_callback)\n    panel->holder_callback (h);\n  h->idx++;\n}\n\n/* Set all panel data. This will set data for panels that do not\n * contain sub items. A function pointer is used for post data set. */\nstatic void\nadd_host_to_holder (GRawDataItem item, GHolder *h, datatype type, const GPanel *panel) {\n  char buf4[INET_ADDRSTRLEN];\n  char buf6[INET6_ADDRSTRLEN];\n  char *data = NULL;\n  uint32_t hits = 0;\n  unsigned i;\n\n  struct in6_addr addr6, mask6, nwork6;\n  struct in_addr addr4, mask4, nwork4;\n\n  const char *arr4[] = { \"255.255.255.0\", \"255.255.0.0\", \"255.0.0.0\" };\n  const char *arr6[] = {\n    \"ffff:ffff:ffff:ffff:0000:0000:0000:0000\",\n    \"ffff:ffff:ffff:0000:0000:0000:0000:0000\",\n    \"ffff:ffff:0000:0000:0000:0000:0000:0000\"\n  };\n\n  const char *m4 = arr4[0];\n  const char *m6 = arr6[0];\n\n  if (map_data (h->module, item, type, &data, &hits) == 1)\n    return;\n\n  if (!conf.anonymize_ip) {\n    add_data_to_holder (item, h, type, panel);\n    free (data);\n    return;\n  }\n\n  if (conf.anonymize_level == ANONYMIZE_STRONG || conf.anonymize_level == ANONYMIZE_PEDANTIC) {\n    m4 = arr4[conf.anonymize_level - 1];\n    m6 = arr6[conf.anonymize_level - 1];\n  }\n\n  if (1 == inet_pton (AF_INET, data, &addr4)) {\n    if (1 == inet_pton (AF_INET, m4, &mask4)) {\n      memset (buf4, 0, sizeof *buf4);\n      nwork4.s_addr = addr4.s_addr & mask4.s_addr;\n\n      if (inet_ntop (AF_INET, &nwork4, buf4, INET_ADDRSTRLEN) != NULL) {\n        set_host (item, h, panel, buf4, hits);\n        free (data);\n      }\n    }\n  } else if (1 == inet_pton (AF_INET6, data, &addr6)) {\n    if (1 == inet_pton (AF_INET6, m6, &mask6)) {\n      memset (buf6, 0, sizeof *buf6);\n      for (i = 0; i < 16; i++) {\n        nwork6.s6_addr[i] = addr6.s6_addr[i] & mask6.s6_addr[i];\n      }\n\n      if (inet_ntop (AF_INET6, &nwork6, buf6, INET6_ADDRSTRLEN) != NULL) {\n        set_host (item, h, panel, buf6, hits);\n        free (data);\n      }\n    }\n  }\n}\n\n/* Set all root panel data. This will set the root nodes. */\nstatic int\nset_root_metrics (GRawDataItem item, GModule module, datatype type, GMetrics **nmetrics) {\n  GMetrics *metrics;\n  char *data = NULL;\n  uint64_t bw = 0, cumts = 0, maxts = 0;\n  uint32_t hits = 0, visitors = 0;\n\n  if (map_data (module, item, type, &data, &hits) == 1)\n    return 1;\n\n  bw = ht_get_bw (module, item.nkey);\n  cumts = ht_get_cumts (module, item.nkey);\n  maxts = ht_get_maxts (module, item.nkey);\n  visitors = ht_get_visitors (module, item.nkey);\n\n  metrics = new_gmetrics ();\n  metrics->avgts.nts = cumts / hits;\n  metrics->cumts.nts = cumts;\n  metrics->maxts.nts = maxts;\n  metrics->nbw = bw;\n  metrics->data = data;\n  metrics->hits = hits;\n  metrics->visitors = visitors;\n  *nmetrics = metrics;\n\n  return 0;\n}\n\n/* Set all root panel data, including sub list items. */\nstatic void\nadd_root_to_holder (GRawDataItem item, GHolder *h, datatype type, GO_UNUSED const GPanel *panel) {\n  GSubList *sub_list;\n  GMetrics *metrics, *nmetrics;\n  char *root = NULL;\n  int root_idx = KEY_NOT_FOUND, idx = 0;\n\n  if (set_root_metrics (item, h->module, type, &nmetrics) == 1)\n    return;\n\n  if (!(root = ht_get_root (h->module, item.nkey))) {\n    free_gmetrics (nmetrics);\n    return;\n  }\n\n  /* add data as a child node into holder */\n  if (KEY_NOT_FOUND == (root_idx = get_item_idx_in_holder (h, root))) {\n    /* Check if we've reached max_choices for root items */\n    if (h->idx >= h->max_choices) {\n      free (root);\n      free_gmetrics (nmetrics);\n      return;\n    }\n    idx = h->idx;\n    sub_list = new_gsublist ();\n    metrics = new_gmetrics ();\n\n    h->items[idx].metrics = metrics;\n    h->items[idx].metrics->data = root;\n    h->idx++;\n  } else {\n    sub_list = h->items[root_idx].sub_list;\n    metrics = h->items[root_idx].metrics;\n\n    idx = root_idx;\n    free (root);\n  }\n\n  /* Accumulate metrics into parent regardless of whether we add the sub-item */\n  h->items[idx].metrics = metrics;\n  h->items[idx].metrics->cumts.nts += nmetrics->cumts.nts;\n  h->items[idx].metrics->nbw += nmetrics->nbw;\n  h->items[idx].metrics->hits += nmetrics->hits;\n  h->items[idx].metrics->visitors += nmetrics->visitors;\n  h->items[idx].metrics->avgts.nts = h->items[idx].metrics->cumts.nts / h->items[idx].metrics->hits;\n\n  if (nmetrics->maxts.nts > h->items[idx].metrics->maxts.nts)\n    h->items[idx].metrics->maxts.nts = nmetrics->maxts.nts;\n\n  /* Only add sub-item if we haven't reached max_choices_sub for this sub-list */\n  if (sub_list->size < h->max_choices_sub) {\n    add_sub_item_back (sub_list, h->module, nmetrics);\n    h->items[idx].sub_list = sub_list;\n    h->sub_items_size++;\n  } else {\n    free_gmetrics (nmetrics);\n  }\n}\n\n#ifdef HAVE_GEOLOCATION\n/* Find a sub-item in a GSubList by its data string.\n * Returns the matching GSubItem, or NULL if not found. */\nstatic GSubItem *\nfind_sub_item_by_data (GSubList *sl, const char *data) {\n  GSubItem *iter;\n  if (sl == NULL || data == NULL)\n    return NULL;\n  for (iter = sl->head; iter; iter = iter->next) {\n    if (strcmp (iter->metrics->data, data) == 0)\n      return iter;\n  }\n  return NULL;\n}\n\n/* Build 3-level GEO_LOCATION hierarchy: Continent > Country > City.\n * Falls back to add_root_to_holder (2-level) when has_geocity is false. */\nstatic void\nadd_geo_to_holder (GRawDataItem item, GHolder *h, datatype type, GO_UNUSED const GPanel *panel) {\n  GMetrics *nmetrics;\n  GSubList *sub_list;\n  GSubItem *country_sub;\n  GMetrics *cont_metrics, *country_metrics;\n  char *root = NULL;\n  const char *continent = NULL;\n  int root_idx = KEY_NOT_FOUND, idx = 0;\n\n  if (!conf.has_geocity) {\n    add_root_to_holder (item, h, type, panel);\n    return;\n  }\n\n  /* city metrics from storage (city is the \"data\" key) */\n  if (set_root_metrics (item, h->module, type, &nmetrics) == 1)\n    return;\n\n  /* country is the \"root\" of the city in storage */\n  if (!(root = ht_get_root (h->module, item.nkey))) {\n    free_gmetrics (nmetrics);\n    return;\n  }\n\n  /* look up the continent for this country */\n  continent = get_continent_for_country (root);\n  if (continent == NULL) {\n    /* fallback: use country as root directly (2-level) */\n    free (root);\n    add_root_to_holder (item, h, type, panel);\n    free_gmetrics (nmetrics);\n    return;\n  }\n\n  /* Find or create continent as root GHolderItem */\n  if (KEY_NOT_FOUND == (root_idx = get_item_idx_in_holder (h, continent))) {\n    /* Check if we've reached max_choices for root items (continents) */\n    if (h->idx >= h->max_choices) {\n      free (root);\n      free_gmetrics (nmetrics);\n      return;\n    }\n    idx = h->idx;\n    cont_metrics = new_gmetrics ();\n    cont_metrics->data = xstrdup (continent);\n    h->items[idx].metrics = cont_metrics;\n    h->items[idx].sub_list = new_gsublist ();\n    h->idx++;\n  } else {\n    idx = root_idx;\n    cont_metrics = h->items[idx].metrics;\n  }\n\n  /* Find or create country as sub-item under continent */\n  sub_list = h->items[idx].sub_list;\n  country_sub = find_sub_item_by_data (sub_list, root);\n  if (country_sub == NULL) {\n    /* Only add country if continent's sub-list hasn't reached max_choices_sub */\n    if (sub_list->size < h->max_choices_sub) {\n      country_metrics = new_gmetrics ();\n      country_metrics->data = xstrdup (root);\n      add_sub_item_back (sub_list, h->module, country_metrics);\n      country_sub = sub_list->tail;\n      country_sub->sub_list = new_gsublist ();\n      h->sub_items_size++;\n    } else {\n      /* Continent sub-list is full, accumulate to continent and skip country/city */\n      cont_metrics->hits += nmetrics->hits;\n      cont_metrics->visitors += nmetrics->visitors;\n      cont_metrics->nbw += nmetrics->nbw;\n      cont_metrics->cumts.nts += nmetrics->cumts.nts;\n      if (nmetrics->maxts.nts > cont_metrics->maxts.nts)\n        cont_metrics->maxts.nts = nmetrics->maxts.nts;\n      if (cont_metrics->hits > 0)\n        cont_metrics->avgts.nts = cont_metrics->cumts.nts / cont_metrics->hits;\n      free_gmetrics (nmetrics);\n      free (root);\n      return;\n    }\n  } else {\n    country_metrics = country_sub->metrics;\n    /* Handle mixed 2-level (persisted) and 3-level (live) data:\n     * older entries won't have a city sub-list. */\n    if (country_sub->sub_list == NULL)\n      country_sub->sub_list = new_gsublist ();\n  }\n\n  /* Accumulate metrics upward: city -> country -> continent */\n  country_metrics->hits += nmetrics->hits;\n  country_metrics->visitors += nmetrics->visitors;\n  country_metrics->nbw += nmetrics->nbw;\n  country_metrics->cumts.nts += nmetrics->cumts.nts;\n  if (nmetrics->maxts.nts > country_metrics->maxts.nts)\n    country_metrics->maxts.nts = nmetrics->maxts.nts;\n  if (country_metrics->hits > 0)\n    country_metrics->avgts.nts = country_metrics->cumts.nts / country_metrics->hits;\n\n  cont_metrics->hits += nmetrics->hits;\n  cont_metrics->visitors += nmetrics->visitors;\n  cont_metrics->nbw += nmetrics->nbw;\n  cont_metrics->cumts.nts += nmetrics->cumts.nts;\n  if (nmetrics->maxts.nts > cont_metrics->maxts.nts)\n    cont_metrics->maxts.nts = nmetrics->maxts.nts;\n  if (cont_metrics->hits > 0)\n    cont_metrics->avgts.nts = cont_metrics->cumts.nts / cont_metrics->hits;\n\n  /* Add city as sub-item under country (only if country's sub-list hasn't reached max_choices_sub) */\n  if (country_sub->sub_list->size < h->max_choices_sub) {\n    add_sub_item_back (country_sub->sub_list, h->module, nmetrics);\n    h->sub_items_size++;\n  } else {\n    free_gmetrics (nmetrics);\n  }\n\n  free (root);\n}\n#endif\n\n/* Load raw data into our holder structure */\nvoid\nload_holder_data (GRawData *raw_data, GHolder *h, GModule module, GSort sort, uint32_t max_choices, uint32_t max_choices_sub) {\n  uint32_t i;\n  uint32_t size = 0;\n  uint32_t alloc_size = 0;\n  const GPanel *panel = panel_lookup (module);\n  /* Hierarchical panels group multiple raw items under fewer root items */\n  int is_hierarchical = (panel->insert == add_root_to_holder ||\n#ifdef HAVE_GEOLOCATION\n                         panel->insert == add_geo_to_holder ||\n#endif\n                         0);\n\n#ifdef _DEBUG\n  clock_t begin = clock ();\n  double taken;\n  const char *modstr = NULL;\n  LOG_DEBUG ((\"== load_holder_data ==\\n\"));\n#endif\n\n  size = raw_data->size;\n  /* For hierarchical data, we don't know how many root items we'll create,\n   * but it can't be more than size or max_choices */\n  alloc_size = size > max_choices ? max_choices : size;\n  h->holder_size = is_hierarchical ? size : (size > max_choices ? max_choices : size);\n  h->ht_size = size;\n  h->idx = 0;\n  h->module = module;\n  h->sub_items_size = 0;\n  h->max_choices = max_choices;\n  h->max_choices_sub = max_choices_sub;\n  h->items = new_gholder_item (alloc_size);\n\n  for (i = 0; i < h->holder_size; i++) {\n    panel->insert (raw_data->items[i], h, raw_data->type, panel);\n  }\n  sort_holder_items (h->items, h->idx, sort);\n  if (h->sub_items_size)\n    sort_sub_list (h, sort);\n  free_raw_data (raw_data);\n\n#ifdef _DEBUG\n  modstr = get_module_str (module);\n  taken = (double) (clock () - begin) / CLOCKS_PER_SEC;\n  LOG_DEBUG ((\"== %-30s%f\\n\\n\", modstr, taken));\n#endif\n}\n"
  },
  {
    "path": "src/gholder.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GHOLDER_H_INCLUDED\n#define GHOLDER_H_INCLUDED\n\n#define MTRC_ID_COUNTRY  0\n#define MTRC_ID_CITY     1\n#define MTRC_ID_ASN      2\n#define MTRC_ID_HOSTNAME 3\n\n#include \"commons.h\"\n#include \"sort.h\"\n\n/* Default Anonymization Levels */\ntypedef enum GAnonymizeLevels_ {\n  ANONYMIZE_DEFAULT = 1,\n  ANONYMIZE_STRONG,\n  ANONYMIZE_PEDANTIC,\n} GAnonymizeLevels;\n\n/* Function Prototypes */\nGHolder *new_gholder (uint32_t size);\nvoid *add_hostname_node (void *ptr_holder);\nvoid free_holder_by_module (GHolder ** holder, GModule module);\nvoid free_holder (GHolder ** holder);\nvoid load_holder_data (GRawData * raw_data, GHolder * h, GModule module, GSort sort, uint32_t max_choices, uint32_t max_choices_sub);\nvoid load_host_to_holder (GHolder * h, char *ip);\nint dup_key_list (void *val, GSLList ** user_data);\n\n#endif // for #ifndef GHOLDER_H\n"
  },
  {
    "path": "src/gkhash.c",
    "content": "/**\n * gkhash.c -- default hash table functions\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdlib.h>\n#include <string.h>\n#include <sys/mman.h>\n\n#include \"gkhash.h\"\n\n#include \"error.h\"\n#include \"persistence.h\"\n#include \"sort.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* *INDENT-OFF* */\n/* Hash table that holds DB instances */\nstatic khash_t (igdb) * ht_db = NULL;\n/* *INDENT-ON* */\n\n/* Allocate memory for a new global GKHashDB instance.\n *\n * On success, the newly allocated GKHashDB is returned . */\nstatic GKHashDB *\nnew_gkhdb (void) {\n  GKHashDB *storage = xcalloc (1, sizeof (GKHashDB));\n  return storage;\n}\n\n/* Allocate memory for a new GKDB instance.\n *\n * On success, the newly allocated GKHashDB is returned . */\nstatic GKDB *\nnew_gkdb (void) {\n  GKDB *db = xcalloc (1, sizeof (GKDB));\n  return db;\n}\n\n/* Get the module string value given a metric enum value.\n *\n * On error, NULL is returned.\n * On success, the string module value is returned. */\nconst char *\nget_mtr_type_str (GSMetricType type) {\n  static const GEnum enum_metric_types[] = {\n    {\"II32\", MTRC_TYPE_II32},\n    {\"IS32\", MTRC_TYPE_IS32},\n    {\"IU64\", MTRC_TYPE_IU64},\n    {\"SI32\", MTRC_TYPE_SI32},\n    {\"SI08\", MTRC_TYPE_SI08},\n    {\"II08\", MTRC_TYPE_II08},\n    {\"SS32\", MTRC_TYPE_SS32},\n    {\"IGSL\", MTRC_TYPE_IGSL},\n    {\"SU64\", MTRC_TYPE_SU64},\n    {\"IGKH\", MTRC_TYPE_IGKH},\n    {\"U648\", MTRC_TYPE_U648},\n    {\"IGLP\", MTRC_TYPE_IGLP},\n  };\n  return enum2str (enum_metric_types, ARRAY_SIZE (enum_metric_types), type);\n}\n\n/* Initialize a new uint32_t key - GSLList value hash table */\nvoid *\nnew_igsl_ht (void) {\n  khash_t (igsl) * h = kh_init (igsl);\n  return h;\n}\n\n/* Initialize a new string key - uint32_t value hash table */\nvoid *\nnew_ii08_ht (void) {\n  khash_t (ii08) * h = kh_init (ii08);\n  return h;\n}\n\n/* Initialize a new uint32_t key - uint32_t value hash table */\nvoid *\nnew_ii32_ht (void) {\n  khash_t (ii32) * h = kh_init (ii32);\n  return h;\n}\n\n/* Initialize a new uint32_t key - string value hash table */\nvoid *\nnew_is32_ht (void) {\n  khash_t (is32) * h = kh_init (is32);\n  return h;\n}\n\n/* Initialize a new uint32_t key - uint64_t value hash table */\nvoid *\nnew_iu64_ht (void) {\n  khash_t (iu64) * h = kh_init (iu64);\n  return h;\n}\n\n/* Initialize a new string key - uint32_t value hash table */\nvoid *\nnew_si32_ht (void) {\n  khash_t (si32) * h = kh_init (si32);\n  return h;\n}\n\n/* Initialize a new string key - uint64_t value hash table */\nvoid *\nnew_su64_ht (void) {\n  khash_t (su64) * h = kh_init (su64);\n  return h;\n}\n\n/* Initialize a new uint64_t key - uint8_t value hash table */\nvoid *\nnew_u648_ht (void) {\n  khash_t (u648) * h = kh_init (u648);\n  return h;\n}\n\n/* Initialize a new uint64_t key - GLastParse value hash table */\nstatic void *\nnew_iglp_ht (void) {\n  khash_t (iglp) * h = kh_init (iglp);\n  return h;\n}\n\n/* Initialize a new uint32_t key - GKHashStorage value hash table */\nstatic void *\nnew_igdb_ht (void) {\n  khash_t (igdb) * h = kh_init (igdb);\n  return h;\n}\n\n/* Initialize a new uint32_t key - GKHashStorage value hash table */\nstatic void *\nnew_igkh_ht (void) {\n  khash_t (igkh) * h = kh_init (igkh);\n  return h;\n}\n\n/* Initialize a new string key - uint32_t value hash table */\nstatic void *\nnew_si08_ht (void) {\n  khash_t (si08) * h = kh_init (si08);\n  return h;\n}\n\n/* Initialize a new string key - string value hash table */\nstatic void *\nnew_ss32_ht (void) {\n  khash_t (ss32) * h = kh_init (ss32);\n  return h;\n}\n\n/* Deletes all entries from the hash table and optionally frees its GSLList */\nvoid\ndel_igsl_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (igsl) * hash = h;\n  void *list = NULL;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (!kh_exist (hash, k))\n      continue;\n\n    if (free_data) {\n      list = kh_value (hash, k);\n      list_remove_nodes (list);\n    }\n    kh_del (igsl, hash, k);\n  }\n}\n\n/* Deletes all entries from the hash table */\nvoid\ndel_ii08 (void *h, GO_UNUSED uint8_t free_data) {\n  khint_t k;\n  khash_t (ii08) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      kh_del (ii08, hash, k);\n    }\n  }\n}\n\n/* Deletes all entries from the hash table */\nvoid\ndel_ii32 (void *h, GO_UNUSED uint8_t free_data) {\n  khint_t k;\n  khash_t (ii32) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      kh_del (ii32, hash, k);\n    }\n  }\n}\n\n/* Deletes both the hash entry and its string values */\nvoid\ndel_is32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (is32) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      if (free_data)\n        free ((char *) kh_value (hash, k));\n      kh_del (is32, hash, k);\n    }\n  }\n}\n\n/* Deletes all entries from the hash table */\nvoid\ndel_iu64 (void *h, GO_UNUSED uint8_t free_data) {\n  khint_t k;\n  khash_t (iu64) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      kh_del (iu64, hash, k);\n    }\n  }\n}\n\n/* Deletes an entry from the hash table and optionally the keys for a string\n * key - uint32_t value hash */\nvoid\ndel_si32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (si32) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      if (free_data)\n        free ((char *) kh_key (hash, k));\n      kh_del (si32, hash, k);\n    }\n  }\n}\n\n/* Deletes all entries from the hash table and optionally frees its string key */\nvoid\ndel_su64_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (su64) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      if (free_data)\n        free ((char *) kh_key (hash, k));\n      kh_del (su64, hash, k);\n    }\n  }\n}\n\n/* Deletes all entries from the hash table */\nvoid\ndel_u648 (void *h, GO_UNUSED uint8_t free_data) {\n  khint_t k;\n  khash_t (u648) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      kh_del (u648, hash, k);\n    }\n  }\n}\n\n/* Destroys both the hash structure and its GSLList\n * values */\nvoid\ndes_igsl_free (void *h, uint8_t free_data) {\n  khash_t (igsl) * hash = h;\n  khint_t k;\n  void *list = NULL;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k) && (list = kh_value (hash, k))) {\n      list_remove_nodes (list);\n    }\n  }\ndes:\n  kh_destroy (igsl, hash);\n}\n\n/* Destroys the hash structure */\nvoid\ndes_ii08 (void *h, GO_UNUSED uint8_t free_data) {\n  khash_t (ii08) * hash = h;\n  if (!hash)\n    return;\n  kh_destroy (ii08, hash);\n}\n\n/* Destroys the hash structure */\nvoid\ndes_ii32 (void *h, GO_UNUSED uint8_t free_data) {\n  khash_t (ii32) * hash = h;\n  if (!hash)\n    return;\n  kh_destroy (ii32, hash);\n}\n\n/* Destroys both the hash structure and its string values */\nvoid\ndes_is32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (is32) * hash = h;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      free ((char *) kh_value (hash, k));\n    }\n  }\ndes:\n  kh_destroy (is32, hash);\n}\n\n/* Destroys the hash structure */\nvoid\ndes_iu64 (void *h, GO_UNUSED uint8_t free_data) {\n  khash_t (iu64) * hash = h;\n  if (!hash)\n    return;\n  kh_destroy (iu64, hash);\n}\n\n/* Destroys both the hash structure and the keys for a\n * string key - uint32_t value hash */\nvoid\ndes_si32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (si32) * hash = h;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      free ((char *) kh_key (hash, k));\n    }\n  }\n\ndes:\n  kh_destroy (si32, hash);\n}\n\n/* Destroys both the hash structure and the keys for a\n * string key - uint64_t value hash */\nvoid\ndes_su64_free (void *h, uint8_t free_data) {\n  khash_t (su64) * hash = h;\n  khint_t k;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      free ((char *) kh_key (hash, k));\n    }\n  }\n\ndes:\n  kh_destroy (su64, hash);\n}\n\n/* Destroys the hash structure */\nvoid\ndes_u648 (void *h, GO_UNUSED uint8_t free_data) {\n  khash_t (u648) * hash = h;\n  if (!hash)\n    return;\n  kh_destroy (u648, hash);\n}\n\n/* Destroys both the hash structure and the keys for a\n * string key - uint32_t value hash */\nstatic void\ndes_si08_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (si08) * hash = h;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      free ((char *) kh_key (hash, k));\n    }\n  }\n\ndes:\n  kh_destroy (si08, hash);\n}\n\n/* Deletes an entry from the hash table and optionally the keys for a string\n * key - uint32_t value hash */\nstatic void\ndel_si08_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (si08) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      if (free_data)\n        free ((char *) kh_key (hash, k));\n      kh_del (si08, hash, k);\n    }\n  }\n}\n\n/* Deletes an entry from the hash table and optionally the keys for a string\n * keys and string values */\nstatic void\ndel_ss32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (ss32) * hash = h;\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      if (free_data) {\n        free ((char *) kh_key (hash, k));\n        free ((char *) kh_value (hash, k));\n      }\n      kh_del (ss32, hash, k);\n    }\n  }\n}\n\n/* Destroys both the hash structure and its string\n * keys and string values */\nstatic void\ndes_ss32_free (void *h, uint8_t free_data) {\n  khint_t k;\n  khash_t (ss32) * hash = h;\n  if (!hash)\n    return;\n\n  if (!free_data)\n    goto des;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k)) {\n      free ((char *) kh_key (hash, k));\n      free ((char *) kh_value (hash, k));\n    }\n  }\n\ndes:\n  kh_destroy (ss32, hash);\n}\n\n/* Destroys the hash structure */\nstatic void\ndes_iglp (void *h, GO_UNUSED uint8_t free_data) {\n  khash_t (iglp) * hash = h;\n  if (!hash)\n    return;\n  kh_destroy (iglp, hash);\n}\n\n/* *INDENT-OFF* */\n/* Whole application */\nconst GKHashMetric app_metrics[] = {\n  { .metric.dbm=MTRC_DATES       , MTRC_TYPE_IGKH , new_igkh_ht , NULL          , NULL          , 1 , NULL , NULL                  } ,\n  { .metric.dbm=MTRC_SEQS        , MTRC_TYPE_SI32 , new_si32_ht , des_si32_free , del_si32_free , 1 , NULL , \"SI32_SEQS.db\"        } ,\n  { .metric.dbm=MTRC_CNT_OVERALL , MTRC_TYPE_SI32 , new_si32_ht , des_si32_free , del_si32_free , 1 , NULL , \"SI32_CNT_OVERALL.db\" } ,\n  { .metric.dbm=MTRC_HOSTNAMES   , MTRC_TYPE_SS32 , new_ss32_ht , des_ss32_free , del_ss32_free , 1 , NULL , NULL                  } ,\n  { .metric.dbm=MTRC_LAST_PARSE  , MTRC_TYPE_IGLP , new_iglp_ht , des_iglp      , NULL          , 1 , NULL , \"IGLP_LAST_PARSE.db\"  } ,\n  { .metric.dbm=MTRC_JSON_LOGFMT , MTRC_TYPE_SS32 , new_ss32_ht , des_ss32_free , del_ss32_free , 1 , NULL , NULL                  } ,\n  { .metric.dbm=MTRC_METH_PROTO  , MTRC_TYPE_SI08 , new_si08_ht , des_si08_free , del_si08_free , 1 , NULL , \"SI08_METH_PROTO.db\"  } ,\n  { .metric.dbm=MTRC_DB_PROPS    , MTRC_TYPE_SI32 , new_si32_ht , des_si32_free , del_si32_free , 1 , NULL , \"SI32_DB_PROPS.db\"    } ,\n};\n\nconst size_t app_metrics_len = ARRAY_SIZE (app_metrics);\n/* *INDENT-ON* */\n\n/* Destroys malloc'd module metrics */\nstatic void\nfree_app_metrics (GKHashDB *storage) {\n  int i, n = 0;\n  GKHashMetric mtrc;\n\n  if (!storage)\n    return;\n\n  n = app_metrics_len;\n  for (i = 0; i < n; i++) {\n    mtrc = storage->metrics[i];\n    if (mtrc.des) {\n      mtrc.des (mtrc.hash, mtrc.free_data);\n    }\n  }\n  free (storage);\n}\n\n/* Given a key (date), get the relevant store\n *\n * On error or not found, NULL is returned.\n * On success, a pointer to that store is returned. */\nvoid *\nget_db_instance (uint32_t key) {\n  GKDB *db = NULL;\n  khint_t k;\n\n  khash_t (igdb) * hash = ht_db;\n\n  k = kh_get (igdb, hash, key);\n  /* key not found, return NULL */\n  if (k == kh_end (hash))\n    return NULL;\n\n  db = kh_val (hash, k);\n  return db;\n}\n\n/* Get an app hash table given a DB instance and a GAMetric\n *\n * On success, a pointer to that store is returned. */\nvoid *\nget_hdb (GKDB *db, GAMetric mtrc) {\n  return db->hdb->metrics[mtrc].hash;\n}\n\nLogs *\nget_db_logs (uint32_t instance) {\n  GKDB *db = get_db_instance (instance);\n  return db->logs;\n}\n\n\n/* Initialize a global hash structure.\n *\n * On success, a pointer to that hash structure is returned. */\nstatic GKHashDB *\ninit_gkhashdb (void) {\n  GKHashDB *storage = NULL;\n\n  int n = 0, i;\n\n  storage = new_gkhdb ();\n  n = app_metrics_len;\n  for (i = 0; i < n; i++) {\n    storage->metrics[i] = app_metrics[i];\n    storage->metrics[i].hash = app_metrics[i].alloc ();\n  }\n\n  return storage;\n}\n\n/* Insert an uint32_t key and an GLastParse value\n * Note: If the key exists, its value is replaced by the given value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nins_iglp (khash_t (iglp) *hash, uint64_t key, const GLastParse *lp) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (iglp, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n\n  kh_val (hash, k) = *lp;\n\n  return 0;\n}\n\n/* Create a new GKDB instance given a uint32_t key\n *\n * On error, -1 is returned.\n * On key found, 1 is returned.\n * On success 0 is returned */\nstatic GKDB *\nnew_db (khash_t (igdb) *hash, uint32_t key) {\n  GKDB *db = NULL;\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return NULL;\n\n  k = kh_put (igdb, hash, key, &ret);\n  /* operation failed */\n  if (ret == -1)\n    return NULL;\n  /* the key is present in the hash table */\n  if (ret == 0)\n    return kh_val (hash, k);\n\n  db = new_gkdb ();\n  db->hdb = init_gkhashdb ();\n  db->cache = NULL;\n  db->store = NULL;\n  db->logs = NULL;\n  kh_val (hash, k) = db;\n\n  return db;\n}\n\nuint32_t *\nget_sorted_dates (uint32_t *len) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n  khiter_t key;\n  uint32_t *dates = NULL;\n  int i = 0;\n  uint32_t size = 0;\n\n  if (!hash)\n    return NULL;\n\n  size = kh_size (hash);\n  dates = xcalloc (size, sizeof (uint32_t));\n  for (key = kh_begin (hash); key != kh_end (hash); ++key)\n    if (kh_exist (hash, key))\n      dates[i++] = kh_key (hash, key);\n  qsort (dates, i, sizeof (uint32_t), cmp_ui32_asc);\n  *len = i;\n\n  return dates;\n}\n\n/* Insert a string key and the corresponding uint8_t value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nins_si08 (khash_t (si08) *hash, const char *key, uint8_t value) {\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  dupkey = xstrdup (key);\n  k = kh_put (si08, hash, dupkey, &ret);\n  /* operation failed, or key exists */\n  if (ret == -1 || ret == 0) {\n    free (dupkey);\n    return -1;\n  }\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Increment a string key and with the corresponding incremental uint32_t value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, 0 is returned.\n * On success or if the key exists, the value is returned */\nstatic uint8_t\nins_si08_ai (khash_t (si08) *hash, const char *key) {\n  uint8_t size = 0, value = 0;\n\n  if (!hash)\n    return 0;\n\n  size = kh_size (hash);\n  /* the auto increment value starts at SIZE (hash table) + 1 */\n  value = size > 0 ? size + 1 : 1;\n\n  return ins_si08 (hash, key, value) == 0 ? value : 0;\n}\n\n/* Insert a string key and the corresponding uint32_t value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nins_si32 (khash_t (si32) *hash, const char *key, uint32_t value) {\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  dupkey = xstrdup (key);\n  k = kh_put (si32, hash, dupkey, &ret);\n  /* operation failed, or key exists */\n  if (ret == -1 || ret == 0) {\n    free (dupkey);\n    return -1;\n  }\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Increment a string key and with the corresponding incremental uint32_t value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, 0 is returned.\n * On success or if the key exists, the value is returned */\nuint32_t\nins_si32_inc (khash_t (si32) *hash, const char *key,\n              uint32_t (*cb) (khash_t (si32) *, const char *), khash_t (si32) *seqs,\n              const char *seqk) {\n  khint_t k;\n  int ret;\n  uint32_t value = 0;\n\n  if (!hash)\n    return 0;\n\n  k = kh_put (si32, hash, key, &ret);\n  /* operation failed, or key exists */\n  if (ret == -1 || ret == 0)\n    return 0;\n\n  if ((value = cb (seqs, seqk)) == 0)\n    return 0;\n  kh_val (hash, k) = value;\n\n  return value;\n}\n\n/* Increment a uint32_t key and with the corresponding incremental uint32_t value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, 0 is returned.\n * On success or if the key exists, the value is returned */\nuint32_t\nins_ii32_inc (khash_t (ii32) *hash, uint32_t key,\n              uint32_t (*cb) (khash_t (si32) *, const char *), khash_t (si32) *seqs,\n              const char *seqk) {\n  khint_t k;\n  int ret;\n  uint32_t value = 0;\n\n  if (!hash)\n    return 0;\n\n  k = kh_put (ii32, hash, key, &ret);\n  /* operation failed, or key exists */\n  if (ret == -1 || ret == 0)\n    return 0;\n\n  if ((value = cb (seqs, seqk)) == 0)\n    return 0;\n  kh_val (hash, k) = value;\n\n  return value;\n}\n\n/* Insert an uint32_t key and the corresponding string value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nins_is32 (khash_t (is32) *hash, uint32_t key, char *value) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (is32, hash, key, &ret);\n  if (ret == -1 || ret == 0)\n    return -1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Insert a string key and the corresponding string value.\n * Note: If the key exists, the value is not replaced.\n *\n * On error, -1 is returned.\n * If key exists, 1 is returned.\n * On success 0 is returned */\nstatic int\nins_ss32 (khash_t (ss32) *hash, const char *key, const char *value) {\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  dupkey = xstrdup (key);\n  k = kh_put (ss32, hash, dupkey, &ret);\n  /* operation failed */\n  if (ret == -1) {\n    free (dupkey);\n    return -1;\n  }\n  /* key exists */\n  if (ret == 0) {\n    free (dupkey);\n    return 1;\n  }\n\n  kh_val (hash, k) = xstrdup (value);\n\n  return 0;\n}\n\n/* Insert an uint32_t key and an uint32_t value\n * Note: If the key exists, its value is replaced by the given value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nins_ii32 (khash_t (ii32) *hash, uint32_t key, uint32_t value) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (ii32, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Insert an uint32_t key and an uint8_t value\n * Note: If the key exists, its value is replaced by the given value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nins_ii08 (khash_t (ii08) *hash, uint32_t key, uint8_t value) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (ii08, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Insert a uint32_t key and a uint64_t value\n * Note: If the key exists, its value is replaced by the given value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nins_iu64 (khash_t (iu64) *hash, uint32_t key, uint64_t value) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (iu64, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Insert a string key and a uint64_t value\n * Note: If the key exists, the value is not replaced.\n *\n * On error or key exists, -1 is returned.\n * On success 0 is returned */\nint\nins_su64 (khash_t (su64) *hash, const char *key, uint64_t value) {\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  dupkey = xstrdup (key);\n  k = kh_put (su64, hash, dupkey, &ret);\n  /* operation failed, or key exists */\n  if (ret == -1 || ret == 0) {\n    free (dupkey);\n    return -1;\n  }\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Insert a uint64_t key and a uint8_t value\n *\n * On error or key exists, -1 is returned.\n * On key exists, 1 is returned.\n * On success 0 is returned */\nint\nins_u648 (khash_t (u648) *hash, uint64_t key, uint8_t value) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (u648, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n  if (ret == 0)\n    return 1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Increase an uint32_t value given an uint32_t key.\n *\n * On error, 0 is returned.\n * On success the increased value is returned */\nuint32_t\ninc_ii32 (khash_t (ii32) *hash, uint32_t key, uint32_t inc) {\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (ii32, hash, key);\n  /* key not found, put a new hash with val=0 */\n  if (k == kh_end (hash)) {\n    k = kh_put (ii32, hash, key, &ret);\n    /* operation failed */\n    if (ret == -1)\n      return 0;\n    kh_val (hash, k) = 0;\n  }\n\n  return __atomic_add_fetch (&kh_val (hash, k), inc, __ATOMIC_SEQ_CST);\n}\n\n/* Increase a uint64_t value given a string key.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\ninc_su64 (khash_t (su64) *hash, const char *key, uint64_t inc) {\n  khint_t k;\n  int ret;\n  uint64_t value = inc;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  k = kh_get (su64, hash, key);\n  /* key not found, set new value to the given `inc` */\n  if (k == kh_end (hash)) {\n    dupkey = xstrdup (key);\n    k = kh_put (su64, hash, dupkey, &ret);\n    /* operation failed */\n    if (ret == -1) {\n      free (dupkey);\n      return -1;\n    }\n  } else {\n    value = kh_val (hash, k) + inc;\n  }\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Increase a uint64_t value given a uint32_t key.\n * Note: If the key exists, its value is increased by the given inc.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\ninc_iu64 (khash_t (iu64) *hash, uint32_t key, uint64_t inc) {\n  khint_t k;\n  int ret;\n  uint64_t value = inc;\n\n  if (!hash)\n    return -1;\n\n  k = kh_get (iu64, hash, key);\n  /* key found, increment current value by the given `inc` */\n  if (k != kh_end (hash))\n    value = (uint64_t) kh_val (hash, k) + inc;\n\n  k = kh_put (iu64, hash, key, &ret);\n  if (ret == -1)\n    return -1;\n\n  kh_val (hash, k) = value;\n\n  return 0;\n}\n\n/* Increase an uint32_t value given a string key.\n *\n * On error, 0 is returned.\n * On success the increased value is returned */\nstatic uint32_t\ninc_si32 (khash_t (si32) *hash, const char *key, uint32_t inc) {\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (si32, hash, key);\n  /* key not found, put a new hash with val=0 */\n  if (k == kh_end (hash)) {\n    dupkey = xstrdup (key);\n    k = kh_put (si32, hash, dupkey, &ret);\n    /* operation failed */\n    if (ret == -1) {\n      free (dupkey);\n      return 0;\n    }\n    /* concurrently added */\n    if (ret == 0)\n      free (dupkey);\n    kh_val (hash, k) = 0;\n  }\n\n  return __atomic_add_fetch (&kh_val (hash, k), inc, __ATOMIC_SEQ_CST);\n}\n\n/* Insert a string key and auto increment int value.\n *\n * On error, 0 is returned.\n * On key found, the stored value is returned\n * On success the value of the key inserted is returned */\nuint32_t\nins_ii32_ai (khash_t (ii32) *hash, uint32_t key) {\n  int size = 0, value = 0;\n  int ret;\n  khint_t k;\n\n  if (!hash)\n    return 0;\n\n  size = kh_size (hash);\n  /* the auto increment value starts at SIZE (hash table) + 1 */\n  value = size > 0 ? size + 1 : 1;\n\n  k = kh_put (ii32, hash, key, &ret);\n  /* operation failed */\n  if (ret == -1)\n    return 0;\n  /* key exists */\n  if (ret == 0)\n    return kh_val (hash, k);\n\n  kh_val (hash, k) = value;\n\n  return value;\n}\n\n/* Compare if the given needle is in the haystack\n *\n * if equal, 1 is returned, else 0 */\nstatic int\nfind_int_key_in_list (void *data, void *needle) {\n  return (*(uint32_t *) data) == (*(uint32_t *) needle) ? 1 : 0;\n}\n\n/* Insert an int key and the corresponding GSLList (Single linked-list) value.\n * Note: If the key exists within the list, the value is not appended.\n *\n * On error, -1 is returned.\n * On success or if key is found, 0 is returned */\nint\nins_igsl (khash_t (igsl) *hash, uint32_t key, uint32_t value) {\n  khint_t k;\n  GSLList *list;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_get (igsl, hash, key);\n  /* key found, check if key exists within the list */\n  if (k != kh_end (hash) && (list = kh_val (hash, k))) {\n    if (list_find (list, find_int_key_in_list, &value))\n      return 0;\n    list = list_insert_prepend (list, i322ptr (value));\n  } else {\n    list = list_create (i322ptr (value));\n  }\n\n  k = kh_put (igsl, hash, key, &ret);\n  if (ret == -1) {\n    list_remove_nodes (list);\n    return -1;\n  }\n\n  kh_val (hash, k) = list;\n\n  return 0;\n}\n\n\n/* Get the uint32_t value of a given string key.\n *\n * On error, 0 is returned.\n * On success the uint32_t value for the given key is returned */\nuint32_t\nget_si32 (khash_t (si32) *hash, const char *key) {\n  khint_t k;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (si32, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash))\n    return __atomic_load_n (&kh_val (hash, k), __ATOMIC_SEQ_CST);\n\n  return 0;\n}\n\n/* Get the uint8_t value of a given string key.\n *\n * On error, 0 is returned.\n * On success the uint8_t value for the given key is returned */\nuint8_t\nget_si08 (khash_t (si08) *hash, const char *key) {\n  khint_t k;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (si08, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash))\n    return kh_val (hash, k);\n\n  return 0;\n}\n\n/* Get the uint8_t value of a given string key.\n *\n * On error, 0 is returned.\n * On success the uint8_t value for the given key is returned */\nuint8_t\nget_ii08 (khash_t (ii08) *hash, uint32_t key) {\n  khint_t k;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (ii08, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash))\n    return kh_val (hash, k);\n\n  return 0;\n}\n\n/* Get the string value of a given uint32_t key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nget_is32 (khash_t (is32) *hash, uint32_t key) {\n  khint_t k;\n  char *value = NULL;\n\n  if (!hash)\n    return NULL;\n\n  k = kh_get (is32, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash) && (value = kh_val (hash, k)))\n    return xstrdup (value);\n\n  return NULL;\n}\n\n/* Get the string value of a given string key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nstatic char *\nget_ss32 (khash_t (ss32) *hash, const char *key) {\n  khint_t k;\n  char *value = NULL;\n\n  if (!hash)\n    return NULL;\n\n  k = kh_get (ss32, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash) && (value = kh_val (hash, k)))\n    return xstrdup (value);\n\n  return NULL;\n}\n\n/* Get the uint32_t value of a given uint32_t key.\n *\n * If key is not found, 0 is returned.\n * On error, -1 is returned.\n * On success the uint32_t value for the given key is returned */\nuint32_t\nget_ii32 (khash_t (ii32) *hash, uint32_t key) {\n  khint_t k;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (ii32, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash))\n    return __atomic_load_n (&kh_val (hash, k), __ATOMIC_SEQ_CST);\n\n  return 0;\n}\n\n/* Get the uint64_t value of a given uint32_t key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nget_iu64 (khash_t (iu64) *hash, uint32_t key) {\n  khint_t k;\n  uint64_t value = 0;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (iu64, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash) && (value = kh_val (hash, k)))\n    return value;\n\n  return 0;\n}\n\n/* Get the uint64_t value of a given string key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nget_su64 (khash_t (su64) *hash, const char *key) {\n  khint_t k;\n  uint64_t val = 0;\n\n  if (!hash)\n    return 0;\n\n  k = kh_get (su64, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash) && (val = kh_val (hash, k)))\n    return val;\n\n  return 0;\n}\n\n/* Get the GLastParse value of a given uint32_t key.\n *\n * If key is not found, {0} is returned.\n * On error, -1 is returned.\n * On success the GLastParse value for the given key is returned */\nstatic GLastParse\nget_iglp (khash_t (iglp) *hash, uint64_t key) {\n  khint_t k;\n  GLastParse lp = { 0 };\n\n  if (!hash)\n    return lp;\n\n  k = kh_get (iglp, hash, key);\n  /* key found, return current value */\n  if (k != kh_end (hash)) {\n    lp = kh_val (hash, k);\n    return lp;\n  }\n\n  return lp;\n}\n\n/* Iterate over all the key/value pairs for the given hash structure\n * and set the maximum and minimum values found on an integer key and\n * integer value.\n *\n * Note: These are expensive calls since it has to iterate over all\n * key-value pairs\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nget_ii32_min_max (khash_t (ii32) *hash, uint32_t *min, uint32_t *max) {\n  khint_t k;\n  uint32_t curvalue = 0;\n  int i;\n\n  for (i = 0, k = kh_begin (hash); k != kh_end (hash); ++k) {\n    if (!kh_exist (hash, k))\n      continue;\n\n    curvalue = kh_value (hash, k);\n    if (i++ == 0)\n      *min = curvalue;\n    if (curvalue > *max)\n      *max = curvalue;\n    if (curvalue < *min)\n      *min = curvalue;\n  }\n}\n\n/* Iterate over all the key/value pairs for the given hash structure\n * and set the maximum and minimum values found on an integer key and\n * a uint64_t value.\n *\n * Note: These are expensive calls since it has to iterate over all\n * key-value pairs\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nget_iu64_min_max (khash_t (iu64) *hash, uint64_t *min, uint64_t *max) {\n  khint_t k;\n  uint64_t curvalue = 0;\n  int i;\n\n  for (i = 0, k = kh_begin (hash); k != kh_end (hash); ++k) {\n    if (!kh_exist (hash, k))\n      continue;\n\n    curvalue = kh_value (hash, k);\n    if (i++ == 0)\n      *min = curvalue;\n    if (curvalue > *max)\n      *max = curvalue;\n    if (curvalue < *min)\n      *min = curvalue;\n  }\n}\n\nuint32_t\nht_get_excluded_ips (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * hash = get_hdb (db, MTRC_CNT_OVERALL);\n\n  if (!hash)\n    return 0;\n\n  return get_si32 (hash, \"excluded_ip\");\n}\n\nuint32_t\nht_get_invalid (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * hash = get_hdb (db, MTRC_CNT_OVERALL);\n\n  if (!hash)\n    return 0;\n\n  return get_si32 (hash, \"failed_requests\");\n}\n\nuint32_t\nht_get_processed (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * hash = get_hdb (db, MTRC_CNT_OVERALL);\n\n  if (!hash)\n    return 0;\n\n  return get_si32 (hash, \"total_requests\");\n}\n\nuint32_t\nht_get_processing_time (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * hash = get_hdb (db, MTRC_CNT_OVERALL);\n\n  if (!hash)\n    return 0;\n\n  return get_si32 (hash, \"processing_time\");\n}\n\nuint8_t\nht_insert_meth_proto (const char *key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si08) * hash = get_hdb (db, MTRC_METH_PROTO);\n  uint8_t val = 0;\n\n  if (!hash)\n    return 0;\n\n  if ((val = get_si08 (hash, key)) != 0)\n    return val;\n\n  return ins_si08_ai (hash, key);\n}\n\nuint32_t\nht_inc_cnt_overall (const char *key, uint32_t val) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * hash = get_hdb (db, MTRC_CNT_OVERALL);\n\n  if (!hash)\n    return 0;\n\n  return inc_si32 (hash, key, val);\n}\n\nint\nht_insert_last_parse (uint64_t key, const GLastParse *lp) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (iglp) * hash = get_hdb (db, MTRC_LAST_PARSE);\n\n  if (!hash)\n    return 0;\n\n  return ins_iglp (hash, key, lp);\n}\n\n/* Increases the unique key counter from a uint32_t key.\n *\n * On error, 0 is returned.\n * On success the inserted key is returned */\nuint32_t\nht_ins_seq (khash_t (si32) *hash, const char *key) {\n  if (!hash)\n    return 0;\n\n  return inc_si32 (hash, key, 1);\n}\n\n/* Insert an IP hostname mapped to the corresponding hostname.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_hostname (const char *ip, const char *host) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ss32) * hash = get_hdb (db, MTRC_HOSTNAMES);\n\n  if (!hash)\n    return -1;\n\n  return ins_ss32 (hash, ip, host);\n}\n\n/* Insert a JSON log format specification such as request.method => %m.\n *\n * On error -1 is returned.\n * On success or if key exists, 0 is returned */\nint\nht_insert_json_logfmt (GO_UNUSED void *userdata, char *key, char *spec) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ss32) * hash = get_hdb (db, MTRC_JSON_LOGFMT);\n  khint_t k;\n  int ret;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return -1;\n\n  k = kh_get (ss32, hash, key);\n  /* key found, free it then to insert */\n  if (k != kh_end (hash))\n    free (kh_val (hash, k));\n  else {\n    dupkey = xstrdup (key);\n    k = kh_put (ss32, hash, dupkey, &ret);\n    /* operation failed */\n    if (ret == -1) {\n      free (dupkey);\n      return -1;\n    }\n  }\n  kh_val (hash, k) = xstrdup (spec);\n\n  return 0;\n}\n\nGLastParse\nht_get_last_parse (uint64_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (iglp) * hash = get_hdb (db, MTRC_LAST_PARSE);\n  return get_iglp (hash, key);\n}\n\n/* Get the string value from ht_hostnames given a string key (IP).\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_hostname (const char *host) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ss32) * hash = get_hdb (db, MTRC_HOSTNAMES);\n\n  if (!hash)\n    return NULL;\n\n  return get_ss32 (hash, host);\n}\n\n/* Get the string value from ht_json_logfmt given a JSON specifier key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_json_logfmt (const char *key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ss32) * hash = get_hdb (db, MTRC_JSON_LOGFMT);\n\n  if (!hash)\n    return NULL;\n\n  return get_ss32 (hash, key);\n}\n\nvoid\ninit_pre_storage (Logs *logs) {\n  GKDB *db = NULL;\n  ht_db = (khash_t (igdb) *) new_igdb_ht ();\n  db = new_db (ht_db, DB_INSTANCE);\n  db->logs = logs;\n}\n\nstatic void\nfree_igdb (khash_t (igdb) *hash, khint_t k) {\n  GKDB *db = NULL;\n  db = kh_val (hash, k);\n\n  des_igkh (get_hdb (db, MTRC_DATES));\n  free_logs (db->logs);\n  free_cache (db->cache);\n  free_app_metrics (db->hdb);\n\n  kh_del (igdb, hash, k);\n  free (kh_val (hash, k));\n\n}\n\n/* Destroys the hash structure */\nstatic void\ndes_igdb (void *h) {\n  khint_t k;\n  khash_t (igdb) * hash = h;\n\n  if (!hash)\n    return;\n\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (kh_exist (hash, k))\n      free_igdb (hash, k);\n  }\n  kh_destroy (igdb, hash);\n}\n\n/* Destroys the hash structure and its content */\nvoid\nfree_storage (void) {\n  if (conf.persist)\n    persist_data ();\n  des_igdb (ht_db);\n  free_persisted_data ();\n}\n"
  },
  {
    "path": "src/gkhash.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GKHASH_H_INCLUDED\n#define GKHASH_H_INCLUDED\n\n#include <stdint.h>\n\n#include \"gslist.h\"\n#include \"gstorage.h\"\n#include \"khash.h\"\n#include \"parser.h\"\n\n#include \"gkmhash.h\"\n\n#define DB_VERSION  2\n#define DB_INSTANCE 1\n\ntypedef struct GKDB_ GKDB;\n\ntypedef struct GKHashStorage_ GKHashStorage;\n\n/* *INDENT-OFF* */\n/* uint32_t keys           , GKDB payload */\nKHASH_MAP_INIT_INT (igdb   , GKDB *);\n/* uint32_t keys           , GKHashStorage payload */\nKHASH_MAP_INIT_INT (igkh   , GKHashStorage *);\n/* uint32_t keys           , uint32_t payload */\nKHASH_MAP_INIT_INT (ii32   , uint32_t);\n/* uint32_t keys           , string payload */\nKHASH_MAP_INIT_INT (is32   , char *);\n/* uint32_t keys           , uint64_t payload */\nKHASH_MAP_INIT_INT (iu64   , uint64_t);\n/* string keys             , uint32_t payload */\nKHASH_MAP_INIT_STR (si32   , uint32_t);\n/* string keys             , uint8_t payload */\nKHASH_MAP_INIT_STR (si08   , uint8_t);\n/* uint8_t keys            , uint8_t payload */\nKHASH_MAP_INIT_INT (ii08   , uint8_t);\n/* string keys             , string payload */\nKHASH_MAP_INIT_STR (ss32   , char *);\n/* uint64_t key            , GLastParse payload */\nKHASH_MAP_INIT_INT64 (iglp   , GLastParse);\n/* uint32_t keys           , GSLList payload */\nKHASH_MAP_INIT_INT (igsl   , GSLList *);\n/* string keys             , uint64_t payload */\nKHASH_MAP_INIT_STR (su64   , uint64_t);\n/* uint64_t key            , uint8_t payload */\nKHASH_MAP_INIT_INT64 (u648 , uint8_t);\n/* *INDENT-ON* */\n\n/* Whole App Data store */\ntypedef struct GKHashDB_ {\n  GKHashMetric metrics[GAMTRC_TOTAL];\n} GKHashDB;\n\n/* DB */\nstruct GKDB_ {\n  GKHashDB *hdb;                /* app-level hash tables */\n  Logs *logs;                   /* logs parsing per db instance */\n  GKHashModule *cache;          /* cache modules */\n  GKHashStorage *store;         /* per date OR module */\n};\n\n#define HT_FIRST_VAL(h, kvar, code) { khint_t __k;    \\\n  for (__k = kh_begin(h); __k != kh_end(h); ++__k) {  \\\n    if (!kh_exist(h,__k)) continue;                   \\\n    (kvar) = kh_key(h,__k);                           \\\n    code;                                             \\\n  } }\n\n#define HT_SUM_VAL(h, kvar, code) { khint_t __k;      \\\n  for (__k = kh_begin(h); __k != kh_end(h); ++__k) {  \\\n    if (!kh_exist(h,__k)) continue;                   \\\n    (kvar) = kh_key(h,__k);                           \\\n    code;                                             \\\n  } }\n\n#define HT_FOREACH_KEY(h, kvar, code) { khint_t __k; \\\n  for (__k = kh_begin(h); __k != kh_end(h); ++__k) {  \\\n    if (!kh_exist(h,__k)) continue;                   \\\n    (kvar) = kh_key(h,__k);                           \\\n    code;                                             \\\n  } }\n\nextern const GKHashMetric app_metrics[];\nextern const size_t app_metrics_len;\n\n/* *INDENT-OFF* */\nvoid *new_igsl_ht (void);\nvoid *new_ii08_ht (void);\nvoid *new_ii32_ht (void);\nvoid *new_is32_ht (void);\nvoid *new_iu64_ht (void);\nvoid *new_si32_ht (void);\nvoid *new_su64_ht (void);\nvoid *new_u648_ht (void);\n\nvoid del_igsl_free (void *h, uint8_t free_data);\nvoid del_ii08 (void *h, GO_UNUSED uint8_t free_data);\nvoid del_ii32 (void *h, GO_UNUSED uint8_t free_data);\nvoid del_is32_free (void *h, uint8_t free_data);\nvoid del_iu64 (void *h, GO_UNUSED uint8_t free_data);\nvoid del_si32_free (void *h, uint8_t free_data);\nvoid del_su64_free (void *h, uint8_t free_data);\nvoid del_u648 (void *h, GO_UNUSED uint8_t free_data);\nvoid des_igsl_free (void *h, uint8_t free_data);\nvoid des_ii08 (void *h, GO_UNUSED uint8_t free_data);\nvoid des_ii32 (void *h, GO_UNUSED uint8_t free_data);\nvoid des_is32_free (void *h, uint8_t free_data);\nvoid des_iu64 (void *h, GO_UNUSED uint8_t free_data);\nvoid des_si32_free (void *h, uint8_t free_data);\nvoid des_su64_free (void *h, uint8_t free_data);\nvoid des_u648 (void *h, GO_UNUSED uint8_t free_data);\n\nint inc_iu64 (khash_t (iu64) * hash, uint32_t key, uint64_t inc);\nint inc_su64 (khash_t (su64) * hash, const char *key, uint64_t inc);\nint ins_iglp (khash_t (iglp) * hash, uint64_t key, const GLastParse *lp);\nint ins_igsl (khash_t (igsl) * hash, uint32_t key, uint32_t value);\nint ins_ii08 (khash_t (ii08) * hash, uint32_t key, uint8_t value);\nint ins_ii32 (khash_t (ii32) * hash, uint32_t key, uint32_t value);\nint ins_is32 (khash_t (is32) * hash, uint32_t key, char *value);\nint ins_iu64 (khash_t (iu64) * hash, uint32_t key, uint64_t value);\nint ins_si08 (khash_t (si08) * hash, const char *key, uint8_t value);\nint ins_si32 (khash_t (si32) * hash, const char *key, uint32_t value);\nint ins_su64 (khash_t (su64) * hash, const char *key, uint64_t value);\nint ins_u648 (khash_t (u648) * hash, uint64_t key, uint8_t value);\nuint32_t inc_ii32 (khash_t (ii32) * hash, uint32_t key, uint32_t inc);\nuint32_t ins_ii32_ai (khash_t (ii32) * hash, uint32_t key);\nuint32_t ins_ii32_inc (khash_t (ii32) * hash, uint32_t key, uint32_t (*cb) (khash_t (si32) *, const char *), khash_t (si32) * seqs, const char *seqk);\nuint32_t ins_si32_inc (khash_t (si32) * hash, const char *key, uint32_t (*cb) (khash_t (si32) *, const char *), khash_t (si32) * seqs, const char *seqk);\n\nchar *get_is32 (khash_t (is32) * hash, uint32_t key);\nuint32_t get_ii32 (khash_t (ii32) * hash, uint32_t key);\nuint32_t get_si32 (khash_t (si32) * hash, const char *key);\nuint64_t get_iu64 (khash_t (iu64) * hash, uint32_t key);\nuint64_t get_su64 (khash_t (su64) * hash, const char *key);\nuint8_t get_ii08 (khash_t (ii08) * hash, uint32_t key);\nuint8_t get_si08 (khash_t (si08) * hash, const char *key);\nvoid get_ii32_min_max (khash_t (ii32) * hash, uint32_t * min, uint32_t * max);\nvoid get_iu64_min_max (khash_t (iu64) * hash, uint64_t * min, uint64_t * max);\n\nint ht_insert_hostname (const char *ip, const char *host);\nint ht_insert_json_logfmt (GO_UNUSED void *userdata, char *key, char *spec);\nint ht_insert_last_parse (uint64_t key, const GLastParse *lp);\nuint32_t ht_inc_cnt_overall (const char *key, uint32_t val);\nuint32_t ht_ins_seq (khash_t (si32) * hash, const char *key);\nuint8_t ht_insert_meth_proto (const char *key);\n\nchar *ht_get_hostname (const char *host);\nchar *ht_get_json_logfmt (const char *key);\nuint32_t ht_get_excluded_ips (void);\nuint32_t ht_get_invalid (void);\nuint32_t ht_get_processed (void);\nuint32_t ht_get_processing_time (void);\nuint8_t get_method_proto (const char *value);\nuint32_t *get_sorted_dates (uint32_t * len);\n\nvoid free_storage (void);\nvoid init_pre_storage (Logs *logs);\n\nconst char *get_mtr_type_str (GSMetricType type);\nvoid *get_db_instance (uint32_t key);\nvoid *get_hdb (GKDB * db, GAMetric mtrc);\n\nGLastParse ht_get_last_parse (uint64_t key);\nLogs *get_db_logs(uint32_t instance);\n/* *INDENT-ON* */\n\n#endif // for #ifndef GKHASH_H\n"
  },
  {
    "path": "src/gkmhash.c",
    "content": "/**\n * gkhash.c -- default hash table functions\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdlib.h>\n#include <string.h>\n#include <stdint.h>\n\n#include \"gkmhash.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"persistence.h\"\n#include \"sort.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* *INDENT-OFF* */\n/* Per module - These metrics are not dated */\nconst GKHashMetric global_metrics[] = {\n  { .metric.storem=MTRC_UNIQUE_KEYS , MTRC_TYPE_SI32 , new_si32_ht , des_si32_free , del_si32_free , 1 , NULL , \"SI32_UNIQUE_KEYS.db\" } ,\n  { .metric.storem=MTRC_AGENT_KEYS  , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 0 , NULL , \"II32_AGENT_KEYS.db\"  } ,\n  { .metric.storem=MTRC_AGENT_VALS  , MTRC_TYPE_IS32 , new_is32_ht , des_is32_free , del_is32_free , 1 , NULL , \"IS32_AGENT_VALS.db\"  } ,\n  { .metric.storem=MTRC_CNT_VALID   , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 1 , NULL , \"II32_CNT_VALID.db\"   } ,\n  { .metric.storem=MTRC_CNT_BW      , MTRC_TYPE_IU64 , new_iu64_ht , des_iu64      , del_iu64      , 1 , NULL , \"IU64_CNT_BW.db\"      } ,\n};\n\n/* Per module & per date */\nconst GKHashMetric module_metrics[] = {\n  { .metric.storem=MTRC_KEYMAP    , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_ROOTMAP   , MTRC_TYPE_IS32 , new_is32_ht , des_is32_free , del_is32_free , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_DATAMAP   , MTRC_TYPE_IS32 , new_is32_ht , des_is32_free , del_is32_free , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_UNIQMAP   , MTRC_TYPE_U648 , new_u648_ht , des_u648      , del_u648      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_ROOT      , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_HITS      , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_VISITORS  , MTRC_TYPE_II32 , new_ii32_ht , des_ii32      , del_ii32      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_BW        , MTRC_TYPE_IU64 , new_iu64_ht , des_iu64      , del_iu64      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_CUMTS     , MTRC_TYPE_IU64 , new_iu64_ht , des_iu64      , del_iu64      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_MAXTS     , MTRC_TYPE_IU64 , new_iu64_ht , des_iu64      , del_iu64      , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_METHODS   , MTRC_TYPE_II08 , new_ii08_ht , des_ii08      , del_ii08      , 0 , NULL , NULL } ,\n  { .metric.storem=MTRC_PROTOCOLS , MTRC_TYPE_II08 , new_ii08_ht , des_ii08      , del_ii08      , 0 , NULL , NULL } ,\n  { .metric.storem=MTRC_AGENTS    , MTRC_TYPE_IGSL , new_igsl_ht , des_igsl_free , del_igsl_free , 1 , NULL , NULL } ,\n  { .metric.storem=MTRC_METADATA  , MTRC_TYPE_SU64 , new_su64_ht , des_su64_free , del_su64_free , 1 , NULL , NULL } ,\n};\nconst size_t module_metrics_len = ARRAY_SIZE (module_metrics);\nconst size_t global_metrics_len = ARRAY_SIZE (global_metrics);\n/* *INDENT-ON* */\n\n/* Allocate memory for a new store container GKHashStorage instance.\n *\n * On success, the newly allocated GKHashStorage is returned . */\nstatic GKHashStorage *\nnew_gkhstorage (void) {\n  GKHashStorage *storage = xcalloc (1, sizeof (GKHashStorage));\n  return storage;\n}\n\n/* Allocate memory for a new module GKHashModule instance.\n *\n * On success, the newly allocated GKHashStorage is returned . */\nstatic GKHashModule *\nnew_gkhmodule (uint32_t size) {\n  GKHashModule *storage = xcalloc (size, sizeof (GKHashModule));\n  return storage;\n}\n\n/* Allocate memory for a new global GKHashGlobal instance.\n *\n * On success, the newly allocated GKHashGlobal is returned . */\nstatic GKHashGlobal *\nnew_gkhglobal (void) {\n  GKHashGlobal *storage = xcalloc (1, sizeof (GKHashGlobal));\n  return storage;\n}\n\n/* Initialize a global hash structure.\n *\n * On success, a pointer to that hash structure is returned. */\nstatic GKHashGlobal *\ninit_gkhashglobal (void) {\n  GKHashGlobal *storage = NULL;\n\n  int n = 0, i;\n\n  storage = new_gkhglobal ();\n  n = global_metrics_len;\n  for (i = 0; i < n; i++) {\n    storage->metrics[i] = global_metrics[i];\n    storage->metrics[i].hash = global_metrics[i].alloc ();\n  }\n\n  return storage;\n}\n\n/* Initialize module metrics and mallocs its hash structure */\nstatic void\ninit_tables (GModule module, GKHashModule *storage) {\n  int n = 0, i;\n\n  n = module_metrics_len;\n  for (i = 0; i < n; i++) {\n    storage[module].metrics[i] = module_metrics[i];\n    storage[module].metrics[i].hash = module_metrics[i].alloc ();\n  }\n}\n\n/* Initialize a module hash structure.\n *\n * On success, a pointer to that hash structure is returned. */\nstatic GKHashModule *\ninit_gkhashmodule (void) {\n  GKHashModule *storage = NULL;\n  GModule module;\n  size_t idx = 0;\n\n  storage = new_gkhmodule (TOTAL_MODULES);\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n\n    storage[module].module = module;\n    init_tables (module, storage);\n  }\n\n  return storage;\n}\n\n/* Destroys malloc'd global metrics */\nstatic void\nfree_global_metrics (GKHashGlobal *ghash) {\n  int i, n = 0;\n  GKHashMetric mtrc;\n\n  if (!ghash)\n    return;\n\n  n = global_metrics_len;\n  for (i = 0; i < n; i++) {\n    mtrc = ghash->metrics[i];\n    mtrc.des (mtrc.hash, mtrc.free_data);\n  }\n}\n\n/* Destroys malloc'd module metrics */\nstatic void\nfree_module_metrics (GKHashModule *mhash, GModule module, uint8_t free_data) {\n  int i, n = 0;\n  GKHashMetric mtrc;\n\n  if (!mhash)\n    return;\n\n  n = module_metrics_len;\n  for (i = 0; i < n; i++) {\n    mtrc = mhash[module].metrics[i];\n    mtrc.des (mtrc.hash, free_data ? mtrc.free_data : 0);\n  }\n}\n\n/* For each module metric, deletes all entries from the hash table */\nstatic void\ndel_module_metrics (GKHashModule *mhash, GModule module, uint8_t free_data) {\n  int i, n = 0;\n  GKHashMetric mtrc;\n\n  n = module_metrics_len;\n  for (i = 0; i < n; i++) {\n    mtrc = mhash[module].metrics[i];\n    mtrc.del (mtrc.hash, free_data);\n  }\n}\n\n/* Destroys all hash tables and possibly all the malloc'd data within */\nstatic void\nfree_stores (GKHashStorage *store) {\n  GModule module;\n  size_t idx = 0;\n\n  free_global_metrics (store->ghash);\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    free_module_metrics (store->mhash, module, 1);\n  }\n\n  free (store->ghash);\n  free (store->mhash);\n  free (store);\n}\n\n/* Insert an uint32_t key (date) and a GKHashStorage payload\n *\n * On error, -1 is returned.\n * On key found, 1 is returned.\n * On success 0 is returned */\nstatic int\nins_igkh (khash_t (igkh) *hash, uint32_t key) {\n  GKHashStorage *store = NULL;\n  khint_t k;\n  int ret;\n\n  if (!hash)\n    return -1;\n\n  k = kh_put (igkh, hash, key, &ret);\n  /* operation failed */\n  if (ret == -1)\n    return -1;\n  /* the key is present in the hash table */\n  if (ret == 0)\n    return 1;\n\n  store = new_gkhstorage ();\n  store->mhash = init_gkhashmodule ();\n  store->ghash = init_gkhashglobal ();\n\n  kh_val (hash, k) = store;\n\n  return 0;\n}\n\n/* Given a hash and a key (date), get the relevant store\n *\n * On error or not found, NULL is returned.\n * On success, a pointer to that store is returned. */\nstatic void *\nget_store (khash_t (igkh) *hash, uint32_t key) {\n  GKHashStorage *store = NULL;\n  khint_t k;\n\n  k = kh_get (igkh, hash, key);\n  /* key not found, return NULL */\n  if (k == kh_end (hash))\n    return NULL;\n\n  store = kh_val (hash, k);\n  return store;\n}\n\n/* Given a store, a module and the metric, get the hash table\n *\n * On error or not found, NULL is returned.\n * On success, a pointer to that hash table is returned. */\nstatic void *\nget_hash_from_store (GKHashStorage *store, int module, GSMetric metric) {\n  int mtrc = 0, cnt = 0;\n  if (!store)\n    return NULL;\n\n  if (module == -1) {\n    mtrc = metric - MTRC_METADATA - 1;\n    cnt = MTRC_CNT_BW - MTRC_UNIQUE_KEYS + 1;\n    if (mtrc >= cnt) {\n      LOG_DEBUG ((\"Out of bounds when attempting to get hash %d\\n\", metric));\n      return NULL;\n    }\n  }\n\n  /* ###NOTE: BE CAREFUL here, to avoid the almost unnecessary loop, we simply\n   * use the index from the enum to make it O(1). The metrics array has to be\n   * created in the same order as the GSMetric enum */\n  if (module < 0)\n    return store->ghash->metrics[mtrc].hash;\n  return store->mhash[module].metrics[metric].hash;\n}\n\n/* Given a module a key (date) and the metric, get the hash table\n *\n * On error or not found, NULL is returned.\n * On success, a pointer to that hash table is returned. */\nvoid *\nget_hash (int module, uint64_t key, GSMetric metric) {\n  GKHashStorage *store = NULL;\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n\n  if ((store = get_store (hash, key)) == NULL)\n    return NULL;\n  return get_hash_from_store (store, module, metric);\n}\n\n/* Given a module and a metric, get the cache hash table\n *\n * On success, a pointer to that hash table is returned. */\nstatic void *\nget_hash_from_cache (GModule module, GSMetric metric) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n\n  return db->cache[module].metrics[metric].hash;\n}\n\nGSLList *\nht_get_keymap_list_from_key (GModule module, uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  GSLList *list = NULL;\n  khiter_t kv;\n  khint_t k;\n  khash_t (ii32) * hash = NULL;\n\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n\n  if (!dates)\n    return NULL;\n\n  for (k = kh_begin (dates); k != kh_end (dates); ++k) {\n    if (!kh_exist (dates, k))\n      continue;\n    if (!(hash = get_hash (module, kh_key (dates, k), MTRC_KEYMAP)))\n      continue;\n    if ((kv = kh_get (ii32, hash, key)) == kh_end (hash))\n      continue;\n    list = list_insert_prepend (list, i322ptr (kh_val (hash, kv)));\n  }\n\n  return list;\n}\n\n/* Insert a unique visitor key string (IP/DATE/UA), mapped to an auto\n * incremented value.\n *\n * If the given key exists, its value is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nuint32_t\nht_insert_unique_key (uint32_t date, const char *key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * seqs = get_hdb (db, MTRC_SEQS);\n  khash_t (si32) * hash = get_hash (-1, date, MTRC_UNIQUE_KEYS);\n  uint32_t val = 0;\n  char *dupkey = NULL;\n\n  if (!hash)\n    return 0;\n\n  if ((val = get_si32 (hash, key)) != 0)\n    return val;\n\n  dupkey = xstrdup (key);\n  if ((val = ins_si32_inc (hash, dupkey, ht_ins_seq, seqs, \"ht_unique_keys\")) == 0)\n    free (dupkey);\n  return val;\n}\n\n/* Insert a user agent key string, mapped to an auto incremented value.\n *\n * If the given key exists, its value is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nuint32_t\nht_insert_agent_key (uint32_t date, uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * seqs = get_hdb (db, MTRC_SEQS);\n  khash_t (ii32) * hash = get_hash (-1, date, MTRC_AGENT_KEYS);\n  uint32_t val = 0;\n\n  if (!hash)\n    return 0;\n\n  if ((val = get_ii32 (hash, key)) != 0)\n    return val;\n\n  return ins_ii32_inc (hash, key, ht_ins_seq, seqs, \"ht_agent_keys\");\n}\n\n/* Insert a user agent uint32_t key, mapped to a user agent string value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_agent_value (uint32_t date, uint32_t key, char *value) {\n  khash_t (is32) * hash = get_hash (-1, date, MTRC_AGENT_VALS);\n  char *dupval = NULL;\n\n  if (!hash)\n    return -1;\n\n  if ((kh_get (is32, hash, key)) != kh_end (hash))\n    return 0;\n\n  dupval = xstrdup (value);\n  if (ins_is32 (hash, key, dupval) != 0)\n    free (dupval);\n  return 0;\n}\n\n/* Insert a keymap string key.\n *\n * If the given key exists, its value is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nuint32_t\nht_insert_keymap (GModule module, uint32_t date, uint32_t key, uint32_t *ckey) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * seqs = get_hdb (db, MTRC_SEQS);\n  khash_t (ii32) * hash = get_hash (module, date, MTRC_KEYMAP);\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_KEYMAP);\n\n  uint32_t val = 0;\n  const char *modstr;\n\n  if (!hash)\n    return 0;\n\n  if ((val = get_ii32 (hash, key)) != 0) {\n    *ckey = get_ii32 (cache, key);\n    return val;\n  }\n\n  modstr = get_module_str (module);\n  if ((val = ins_ii32_inc (hash, key, ht_ins_seq, seqs, modstr)) == 0) {\n    return val;\n  }\n  *ckey = ins_ii32_ai (cache, key);\n\n  return val;\n}\n\n/* Insert a rootmap uint32_t key from the keymap store mapped to its string\n * value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_rootmap (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey) {\n  khash_t (is32) * hash = get_hash (module, date, MTRC_ROOTMAP);\n  khash_t (is32) * cache = get_hash_from_cache (module, MTRC_ROOTMAP);\n  char *dupval = NULL;\n  int ret = 0;\n\n  if (!hash)\n    return -1;\n\n  dupval = xstrdup (value);\n  if ((ret = ins_is32 (hash, key, dupval)) == 0)\n    ins_is32 (cache, ckey, dupval);\n  else\n    free (dupval);\n\n  return ret;\n}\n\n/* Insert a datamap uint32_t key and string value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_datamap (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey) {\n  khash_t (is32) * hash = get_hash (module, date, MTRC_DATAMAP);\n  khash_t (is32) * cache = get_hash_from_cache (module, MTRC_DATAMAP);\n  char *dupval = NULL;\n  int ret = 0;\n\n  if (!hash)\n    return -1;\n\n  dupval = xstrdup (value);\n  if ((ret = ins_is32 (hash, key, dupval)) == 0)\n    ins_is32 (cache, ckey, dupval);\n  else\n    free (dupval);\n\n  return ret;\n}\n\n/* Insert a uniqmap string key.\n *\n * If the given key exists, 0 is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nint\nht_insert_uniqmap (GModule module, uint32_t date, uint32_t key, uint32_t value) {\n  khash_t (u648) * hash = get_hash (module, date, MTRC_UNIQMAP);\n  uint64_t k = 0;\n\n  if (!hash)\n    return 0;\n\n  k = u64encode (key, value);\n  return ins_u648 (hash, k, 1) == 0 ? 1 : 0;\n}\n\n/* Insert a data uint32_t key mapped to the corresponding uint32_t root key.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_root (GModule module, uint32_t date, uint32_t key, uint32_t value, uint32_t dkey,\n                uint32_t rkey) {\n  khash_t (ii32) * hash = get_hash (module, date, MTRC_ROOT);\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_ROOT);\n\n  if (!hash)\n    return -1;\n\n  ins_ii32 (cache, dkey, rkey);\n  return ins_ii32 (hash, key, value);\n}\n\n/* Increases hits counter from a uint32_t key.\n *\n * On error, 0 is returned.\n * On success the inserted value is returned */\nuint32_t\nht_insert_hits (GModule module, uint32_t date, uint32_t key, uint32_t inc, uint32_t ckey) {\n  khash_t (ii32) * hash = get_hash (module, date, MTRC_HITS);\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_HITS);\n\n  if (!hash)\n    return 0;\n\n  inc_ii32 (cache, ckey, inc);\n  return inc_ii32 (hash, key, inc);\n}\n\n/* Increases visitors counter from a uint32_t key.\n *\n * On error, 0 is returned.\n * On success the inserted value is returned */\nuint32_t\nht_insert_visitor (GModule module, uint32_t date, uint32_t key, uint32_t inc, uint32_t ckey) {\n  khash_t (ii32) * hash = get_hash (module, date, MTRC_VISITORS);\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_VISITORS);\n\n  if (!hash)\n    return 0;\n\n  inc_ii32 (cache, ckey, inc);\n  return inc_ii32 (hash, key, inc);\n}\n\n/* Increases bandwidth counter from a uint32_t key.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_bw (GModule module, uint32_t date, uint32_t key, uint64_t inc, uint32_t ckey) {\n  khash_t (iu64) * hash = get_hash (module, date, MTRC_BW);\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_BW);\n\n  if (!hash)\n    return -1;\n\n  inc_iu64 (cache, ckey, inc);\n  return inc_iu64 (hash, key, inc);\n}\n\n/* Increases cumulative time served counter from a uint32_t key.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_cumts (GModule module, uint32_t date, uint32_t key, uint64_t inc, uint32_t ckey) {\n  khash_t (iu64) * hash = get_hash (module, date, MTRC_CUMTS);\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_CUMTS);\n\n  if (!hash)\n    return -1;\n\n  inc_iu64 (cache, ckey, inc);\n  return inc_iu64 (hash, key, inc);\n}\n\n/* Insert the maximum time served counter from a uint32_t key.\n * Note: it compares the current value with the given value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_maxts (GModule module, uint32_t date, uint32_t key, uint64_t value, uint32_t ckey) {\n  khash_t (iu64) * hash = get_hash (module, date, MTRC_MAXTS);\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_MAXTS);\n\n  if (!hash)\n    return -1;\n\n  if (get_iu64 (cache, ckey) < value)\n    ins_iu64 (cache, ckey, value);\n  if (get_iu64 (hash, key) < value)\n    ins_iu64 (hash, key, value);\n\n  return 0;\n}\n\n/* Insert a method given an uint32_t key and string value.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_method (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ii08) * hash = get_hash (module, date, MTRC_METHODS);\n  khash_t (ii08) * cache = get_hash_from_cache (module, MTRC_METHODS);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  int ret = 0;\n  uint8_t val = 0;\n\n  if (!hash)\n    return -1;\n\n  if (!(val = get_si08 (mtpr, value)))\n    return -1;\n\n  if ((ret = ins_ii08 (hash, key, val)) == 0)\n    ins_ii08 (cache, ckey, val);\n\n  return ret;\n}\n\n/* Insert a protocol given an uint32_t key and string value.\n *\n * On error, or if key exists, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_protocol (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ii08) * hash = get_hash (module, date, MTRC_PROTOCOLS);\n  khash_t (ii08) * cache = get_hash_from_cache (module, MTRC_PROTOCOLS);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  int ret = 0;\n  uint8_t val = 0;\n\n  if (!hash)\n    return -1;\n\n  if (!(val = get_si08 (mtpr, value)))\n    return -1;\n\n  if ((ret = ins_ii08 (hash, key, val)) == 0)\n    ins_ii08 (cache, ckey, val);\n\n  return ret;\n}\n\n/* Insert an agent for a hostname given an uint32_t key and uint32_t value.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_agent (GModule module, uint32_t date, uint32_t key, uint32_t value) {\n  khash_t (igsl) * hash = get_hash (module, date, MTRC_AGENTS);\n\n  if (!hash)\n    return -1;\n\n  return ins_igsl (hash, key, value);\n}\n\n/* Insert meta data counters from a string key.\n *\n * On error, -1 is returned.\n * On success 0 is returned */\nint\nht_insert_meta_data (GModule module, uint32_t date, const char *key, uint64_t value) {\n  khash_t (su64) * hash = get_hash (module, date, MTRC_METADATA);\n\n  if (!hash)\n    return -1;\n\n  return inc_su64 (hash, key, value);\n}\n\nint\nht_insert_date (uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n\n  if (!hash)\n    return -1;\n\n  return ins_igkh (hash, key);\n}\n\nuint32_t\nht_inc_cnt_valid (uint32_t date, uint32_t inc) {\n  khash_t (ii32) * hash = get_hash (-1, date, MTRC_CNT_VALID);\n\n  if (!hash)\n    return 0;\n\n  return inc_ii32 (hash, 1, inc);\n}\n\nint\nht_inc_cnt_bw (uint32_t date, uint64_t inc) {\n  khash_t (iu64) * hash = get_hash (-1, date, MTRC_CNT_BW);\n\n  if (!hash)\n    return 0;\n\n  return inc_iu64 (hash, 1, inc);\n}\n\nuint32_t\nht_sum_valid (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (ii32) * hash = NULL;\n  uint32_t k = 0;\n  uint32_t sum = 0;\n\n  if (!dates)\n    return 0;\n\n  /* *INDENT-OFF* */\n  HT_SUM_VAL (dates, k, {\n    if ((hash = get_hash (-1, k, MTRC_CNT_VALID)))\n      sum += get_ii32 (hash, 1);\n  });\n  /* *INDENT-ON* */\n\n  return sum;\n}\n\nuint64_t\nht_sum_bw (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (iu64) * hash = NULL;\n  uint32_t k = 0;\n  uint64_t sum = 0;\n\n  if (!dates)\n    return 0;\n\n  /* *INDENT-OFF* */\n  HT_SUM_VAL (dates, k, {\n    if ((hash = get_hash (-1, k, MTRC_CNT_BW)))\n      sum += get_iu64 (hash, 1);\n  });\n  /* *INDENT-ON* */\n\n  return sum;\n}\n\n/* Get the number of elements in a dates hash.\n *\n * Return 0 if the operation fails, else number of elements. */\nuint32_t\nht_get_size_dates (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n\n  if (!hash)\n    return 0;\n\n  return kh_size (hash);\n}\n\n/* Get the number of elements in a datamap.\n *\n * Return -1 if the operation fails, else number of elements. */\nuint32_t\nht_get_size_datamap (GModule module) {\n  khash_t (is32) * cache = get_hash_from_cache (module, MTRC_DATAMAP);\n\n  if (!cache)\n    return 0;\n\n  return kh_size (cache);\n}\n\n/* Get the number of elements in a uniqmap.\n *\n * On error, 0 is returned.\n * On success the number of elements in MTRC_UNIQMAP is returned */\nuint32_t\nht_get_size_uniqmap (GModule module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (u648) * hash = NULL;\n  uint32_t k = 0;\n  uint32_t sum = 0;\n\n  if (!dates)\n    return 0;\n\n  /* *INDENT-OFF* */\n  HT_SUM_VAL (dates, k, {\n    if ((hash = get_hash (module, k, MTRC_UNIQMAP)))\n    sum += kh_size (hash);\n  });\n  /* *INDENT-ON* */\n\n  return sum;\n}\n\n/* Get the string data value of a given uint32_t key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_datamap (GModule module, uint32_t key) {\n  khash_t (is32) * cache = get_hash_from_cache (module, MTRC_DATAMAP);\n\n  if (!cache)\n    return NULL;\n\n  return get_is32 (cache, key);\n}\n\n/* Get the string root from MTRC_ROOTMAP given an uint32_t data key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_root (GModule module, uint32_t key) {\n  int root_key = 0;\n  khash_t (ii32) * hashroot = get_hash_from_cache (module, MTRC_ROOT);\n  khash_t (is32) * hashrootmap = get_hash_from_cache (module, MTRC_ROOTMAP);\n\n  if (!hashroot || !hashrootmap)\n    return NULL;\n\n  /* not found */\n  if ((root_key = get_ii32 (hashroot, key)) == 0)\n    return NULL;\n\n  return get_is32 (hashrootmap, root_key);\n}\n\n\n/* Get the int visitors value from MTRC_VISITORS given an int key.\n *\n * If key is not found, 0 is returned.\n * On error, -1 is returned.\n * On success the int value for the given key is returned */\nuint32_t\nht_get_hits (GModule module, int key) {\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_HITS);\n\n  if (!cache)\n    return 0;\n\n  return get_ii32 (cache, key);\n}\n\n/* Get the uint32_t visitors value from MTRC_VISITORS given an uint32_t key.\n *\n * If key is not found, 0 is returned.\n * On error, -1 is returned.\n * On success the uint32_t value for the given key is returned */\nuint32_t\nht_get_visitors (GModule module, uint32_t key) {\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_VISITORS);\n\n  if (!cache)\n    return 0;\n\n  return get_ii32 (cache, key);\n}\n\n/* Get the uint64_t value from MTRC_BW given an uint32_t key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nht_get_bw (GModule module, uint32_t key) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_BW);\n\n  if (!cache)\n    return 0;\n\n  return get_iu64 (cache, key);\n}\n\n/* Get the uint64_t value from MTRC_CUMTS given an uint32_t key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nht_get_cumts (GModule module, uint32_t key) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_CUMTS);\n\n  if (!cache)\n    return 0;\n\n  return get_iu64 (cache, key);\n}\n\n/* Get the uint64_t value from MTRC_MAXTS given an uint32_t key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nht_get_maxts (GModule module, uint32_t key) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_MAXTS);\n\n  if (!cache)\n    return 0;\n\n  return get_iu64 (cache, key);\n}\n\nuint8_t\nget_method_proto (const char *value) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  uint8_t val = 0;\n\n  if (!mtpr)\n    return 0;\n\n  if ((val = get_si08 (mtpr, value)) != 0)\n    return val;\n  return 0;\n}\n\n/* Get the string value from MTRC_METHODS given an uint32_t key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_method (GModule module, uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ii08) * cache = get_hash_from_cache (module, MTRC_METHODS);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  uint8_t val = 0;\n  khint_t k;\n\n  if (!(val = get_ii08 (cache, key)))\n    return NULL;\n\n  for (k = kh_begin (mtpr); k != kh_end (mtpr); ++k) {\n    if (kh_exist (mtpr, k) && kh_val (mtpr, k) == val)\n      return xstrdup (kh_key (mtpr, k));\n  }\n  return NULL;\n}\n\n/* Get the string value from MTRC_PROTOCOLS given an uint32_t key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_protocol (GModule module, uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (ii08) * cache = get_hash_from_cache (module, MTRC_PROTOCOLS);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  uint8_t val = 0;\n  khint_t k;\n\n  if (!(val = get_ii08 (cache, key)))\n    return NULL;\n\n  for (k = kh_begin (mtpr); k != kh_end (mtpr); ++k) {\n    if (kh_exist (mtpr, k) && kh_val (mtpr, k) == val)\n      return xstrdup (kh_key (mtpr, k));\n  }\n  return NULL;\n}\n\n/* Get the string value from ht_agent_vals (user agent) given an uint32_t key.\n *\n * On error, NULL is returned.\n * On success the string value for the given key is returned */\nchar *\nht_get_host_agent_val (uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (is32) * hash = NULL;\n  char *data = NULL;\n  uint32_t k = 0;\n\n  if (!dates)\n    return NULL;\n\n  /* *INDENT-OFF* */\n  HT_FIRST_VAL (dates, k, {\n    if ((hash = get_hash (-1, k, MTRC_AGENT_VALS)))\n      if ((data = get_is32 (hash, key)))\n        return data;\n  });\n  /* *INDENT-ON* */\n\n  return NULL;\n}\n\n/* Get the list value from MTRC_AGENTS given an uint32_t key.\n *\n * On error, or if key is not found, NULL is returned.\n * On success the GSLList value for the given key is returned */\nGSLList *\nht_get_host_agent_list (GModule module, uint32_t key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n\n  GSLList *res = NULL, *list = NULL;\n  khiter_t kv;\n  khint_t k;\n  khash_t (igsl) * hash = NULL;\n  void *data = NULL;\n\n  if (!dates)\n    return NULL;\n\n  for (k = kh_begin (dates); k != kh_end (dates); ++k) {\n    if (!kh_exist (dates, k))\n      continue;\n    if (!(hash = get_hash (module, kh_key (dates, k), MTRC_AGENTS)))\n      continue;\n    if ((kv = kh_get (igsl, hash, key)) == kh_end (hash))\n      continue;\n\n    list = kh_val (hash, kv);\n    /* *INDENT-OFF* */\n    GSLIST_FOREACH (list, data, {\n      res = list_insert_prepend (res, i322ptr ((*(uint32_t *) data)));\n    });\n    /* *INDENT-ON* */\n  }\n\n  return res;\n}\n\nuint32_t\nht_get_keymap (GModule module, const char *key) {\n  khash_t (si32) * cache = get_hash_from_cache (module, MTRC_KEYMAP);\n\n  if (!cache)\n    return 0;\n\n  return get_si32 (cache, key);\n}\n\n/* Get the meta data uint64_t from MTRC_METADATA given a string key.\n *\n * On error, or if key is not found, 0 is returned.\n * On success the uint64_t value for the given key is returned */\nuint64_t\nht_get_meta_data (GModule module, const char *key) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (su64) * hash = NULL;\n  uint32_t k = 0;\n  uint64_t sum = 0;\n\n  /* *INDENT-OFF* */\n  HT_SUM_VAL (dates, k, {\n    if ((hash = get_hash (module, k, MTRC_METADATA)))\n      sum += get_su64 (hash, key);\n  });\n  /* *INDENT-ON* */\n\n  return sum;\n}\n\n/* Set the maximum and minimum values found on an integer key and\n * integer value found on the MTRC_VISITORS hash structure.\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nht_get_hits_min_max (GModule module, uint32_t *min, uint32_t *max) {\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_HITS);\n\n  if (!cache)\n    return;\n\n  get_ii32_min_max (cache, min, max);\n}\n\n/* Set the maximum and minimum values found on an integer key and\n * integer value found on the MTRC_VISITORS hash structure.\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nht_get_visitors_min_max (GModule module, uint32_t *min, uint32_t *max) {\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_VISITORS);\n\n  if (!cache)\n    return;\n\n  get_ii32_min_max (cache, min, max);\n}\n\n/* Set the maximum and minimum values found on an integer key and\n * a uint64_t value found on the MTRC_BW hash structure.\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nht_get_bw_min_max (GModule module, uint64_t *min, uint64_t *max) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_BW);\n\n  if (!cache)\n    return;\n\n  get_iu64_min_max (cache, min, max);\n}\n\n/* Set the maximum and minimum values found on an integer key and\n * a uint64_t value found on the MTRC_CUMTS hash structure.\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nht_get_cumts_min_max (GModule module, uint64_t *min, uint64_t *max) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_CUMTS);\n\n  if (!cache)\n    return;\n\n  get_iu64_min_max (cache, min, max);\n}\n\n/* Set the maximum and minimum values found on an integer key and\n * a uint64_t value found on the MTRC_MAXTS hash structure.\n *\n * If the hash structure is empty, no values are set.\n * On success the minimum and maximum values are set. */\nvoid\nht_get_maxts_min_max (GModule module, uint64_t *min, uint64_t *max) {\n  khash_t (iu64) * cache = get_hash_from_cache (module, MTRC_MAXTS);\n\n  if (!cache)\n    return;\n\n  get_iu64_min_max (cache, min, max);\n}\n\nstatic void\ndestroy_date_stores (int date) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n  khiter_t k;\n\n  k = kh_get (igkh, hash, date);\n  free_stores (kh_value (hash, k));\n  kh_del (igkh, hash, k);\n}\n\nint\ninvalidate_date (int date) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n  GModule module;\n  size_t idx = 0;\n\n  if (!hash)\n    return -1;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    del_module_metrics (db->cache, module, 0);\n  }\n\n  destroy_date_stores (date);\n\n  return 0;\n}\n\nstatic uint32_t\nins_cache_map (GModule module, GSMetric metric, uint32_t key) {\n  khash_t (ii32) * cache = get_hash_from_cache (module, metric);\n\n  if (!cache)\n    return 0;\n  return ins_ii32_ai (cache, key);\n}\n\nstatic int\nins_cache_ii08 (GKHashStorage *store, GModule module, GSMetric metric, uint32_t key, uint32_t ckey) {\n  khash_t (ii08) * hash = get_hash_from_store (store, module, metric);\n  khash_t (ii08) * cache = get_hash_from_cache (module, metric);\n  khint_t k;\n\n  if ((k = kh_get (ii08, hash, key)) == kh_end (hash))\n    return -1;\n  return ins_ii08 (cache, ckey, kh_val (hash, k));\n}\n\nstatic int\nins_cache_is32 (GKHashStorage *store, GModule module, GSMetric metric, uint32_t key, uint32_t ckey) {\n  khash_t (is32) * hash = get_hash_from_store (store, module, metric);\n  khash_t (is32) * cache = get_hash_from_cache (module, metric);\n  khint_t k;\n\n  if ((k = kh_get (is32, hash, key)) == kh_end (hash))\n    return -1;\n  return ins_is32 (cache, ckey, kh_val (hash, k));\n}\n\nstatic int\ninc_cache_ii32 (GKHashStorage *store, GModule module, GSMetric metric, uint32_t key, uint32_t ckey) {\n  khash_t (ii32) * hash = get_hash_from_store (store, module, metric);\n  khash_t (ii32) * cache = get_hash_from_cache (module, metric);\n  khint_t k;\n\n  if ((k = kh_get (ii32, hash, key)) == kh_end (hash))\n    return -1;\n  return inc_ii32 (cache, ckey, kh_val (hash, k));\n}\n\nstatic int\nmax_cache_iu64 (GKHashStorage *store, GModule module, GSMetric metric, uint32_t key, uint32_t ckey) {\n  khash_t (iu64) * hash = get_hash_from_store (store, module, metric);\n  khash_t (iu64) * cache = get_hash_from_cache (module, metric);\n  khint_t k;\n\n  if ((k = kh_get (iu64, hash, key)) == kh_end (hash))\n    return -1;\n\n  if (get_iu64 (cache, ckey) < kh_val (hash, k))\n    return ins_iu64 (cache, ckey, kh_val (hash, k));\n  return -1;\n}\n\nstatic int\ninc_cache_iu64 (GKHashStorage *store, GModule module, GSMetric metric, uint32_t key, uint32_t ckey) {\n  khash_t (iu64) * hash = get_hash_from_store (store, module, metric);\n  khash_t (iu64) * cache = get_hash_from_cache (module, metric);\n  khint_t k;\n\n  if ((k = kh_get (iu64, hash, key)) == kh_end (hash))\n    return -1;\n  return inc_iu64 (cache, ckey, kh_val (hash, k));\n}\n\nstatic int\nins_raw_num_data (GModule module, uint32_t date) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n  GKHashStorage *store = get_store (hash, date);\n  khiter_t k, kr;\n  uint32_t ckey = 0, rkey = 0, nrkey = 0;\n  char *val = NULL;\n\n  khash_t (ii32) * kmap = get_hash_from_store (store, module, MTRC_KEYMAP);\n  khash_t (ii32) * root = get_hash_from_store (store, module, MTRC_ROOT);\n  khash_t (is32) * rmap = get_hash_from_store (store, module, MTRC_ROOTMAP);\n  khash_t (ii32) * cache = get_hash_from_cache (module, MTRC_ROOT);\n\n  if (!kmap)\n    return -1;\n\n  for (k = kh_begin (kmap); k != kh_end (kmap); ++k) {\n    if (!kh_exist (kmap, k))\n      continue;\n    if ((ckey = ins_cache_map (module, MTRC_KEYMAP, kh_key (kmap, k))) == 0)\n      continue;\n\n    if ((rkey = get_ii32 (root, kh_val (kmap, k)))) {\n      kr = kh_get (is32, rmap, rkey);\n      if (kr != kh_end (rmap) && (val = kh_val (rmap, kr))) {\n        nrkey = ins_cache_map (module, MTRC_KEYMAP, djb2 ((unsigned char *) val));\n        ins_cache_is32 (store, module, MTRC_ROOTMAP, rkey, nrkey);\n        ins_ii32 (cache, ckey, nrkey);\n      }\n    }\n\n    ins_cache_is32 (store, module, MTRC_DATAMAP, kh_val (kmap, k), ckey);\n    inc_cache_ii32 (store, module, MTRC_HITS, kh_val (kmap, k), ckey);\n    inc_cache_ii32 (store, module, MTRC_VISITORS, kh_val (kmap, k), ckey);\n    inc_cache_iu64 (store, module, MTRC_BW, kh_val (kmap, k), ckey);\n    inc_cache_iu64 (store, module, MTRC_CUMTS, kh_val (kmap, k), ckey);\n    max_cache_iu64 (store, module, MTRC_MAXTS, kh_val (kmap, k), ckey);\n    ins_cache_ii08 (store, module, MTRC_METHODS, kh_val (kmap, k), ckey);\n    ins_cache_ii08 (store, module, MTRC_PROTOCOLS, kh_val (kmap, k), ckey);\n  }\n\n  return 0;\n}\n\nstatic int\nset_raw_num_data_date (GModule module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * hash = get_hdb (db, MTRC_DATES);\n  khiter_t k;\n\n  if (!hash)\n    return -1;\n\n  /* iterate over the stored dates */\n  for (k = kh_begin (hash); k != kh_end (hash); ++k) {\n    if (kh_exist (hash, k))\n      ins_raw_num_data (module, kh_key (hash, k));\n  }\n\n  return 0;\n}\n\nint\nrebuild_rawdata_cache (void) {\n  GModule module;\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    set_raw_num_data_date (module);\n  }\n\n  return 2;\n}\n\n/* Initialize hash tables */\nvoid\ninit_storage (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  db->cache = init_gkhashmodule ();\n\n  if (conf.restore)\n    restore_data ();\n}\n\n/* Destroys the hash structure */\nvoid\ndes_igkh (void *h) {\n  khint_t k;\n  khash_t (igkh) * hash = h;\n\n  if (!hash)\n    return;\n\n  for (k = kh_begin (hash); k != kh_end (hash); ++k) {\n    if (!kh_exist (hash, k))\n      continue;\n    free_stores (kh_value (hash, k));\n  }\n  kh_destroy (igkh, hash);\n}\n\nvoid\nfree_cache (GKHashModule *cache) {\n  GModule module;\n  size_t idx = 0;\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    free_module_metrics (cache, module, 0);\n  }\n  free (cache);\n}\n\n/* A wrapper to initialize a raw data structure.\n *\n * On success a GRawData structure is returned. */\nstatic GRawData *\ninit_new_raw_data (GModule module, uint32_t ht_size) {\n  GRawData *raw_data;\n\n  raw_data = new_grawdata ();\n  raw_data->idx = 0;\n  raw_data->module = module;\n  raw_data->size = ht_size;\n  raw_data->items = new_grawdata_item (ht_size);\n\n  return raw_data;\n}\n\nstatic GRawData *\nget_u32_raw_data (GModule module) {\n  khash_t (ii32) * hash = get_hash_from_cache (module, MTRC_HITS);\n  GRawData *raw_data;\n  khiter_t key;\n  uint32_t ht_size = 0;\n\n  if (!hash)\n    return NULL;\n\n  ht_size = kh_size (hash);\n  raw_data = init_new_raw_data (module, ht_size);\n  raw_data->type = U32;\n\n  for (key = kh_begin (hash); key != kh_end (hash); ++key) {\n    if (!kh_exist (hash, key))\n      continue;\n    raw_data->items[raw_data->idx].nkey = kh_key (hash, key);\n    raw_data->items[raw_data->idx].hits = kh_val (hash, key);\n    raw_data->idx++;\n  }\n\n  return raw_data;\n}\n\n/* Store the key/value pairs from a hash table into raw_data and sorts\n * the hits (numeric) value.\n *\n * On error, NULL is returned.\n * On success the GRawData sorted is returned */\nstatic GRawData *\nget_str_raw_data (GModule module) {\n  khash_t (is32) * hash = get_hash_from_cache (module, MTRC_DATAMAP);\n  GRawData *raw_data;\n  khiter_t key;\n  uint32_t ht_size = 0;\n\n  if (!hash)\n    return NULL;\n\n  ht_size = kh_size (hash);\n  raw_data = init_new_raw_data (module, ht_size);\n  raw_data->type = STR;\n\n  for (key = kh_begin (hash); key != kh_end (hash); ++key) {\n    if (!kh_exist (hash, key))\n      continue;\n    raw_data->items[raw_data->idx].nkey = kh_key (hash, key);\n    raw_data->items[raw_data->idx].data = kh_val (hash, key);\n    raw_data->idx++;\n  }\n\n  return raw_data;\n}\n\n/* Entry point to load the raw data from the data store into our\n * GRawData structure.\n *\n * On error, NULL is returned.\n * On success the GRawData sorted is returned */\nGRawData *\nparse_raw_data (GModule module) {\n  GRawData *raw_data = NULL;\n\n#ifdef _DEBUG\n  clock_t begin = clock ();\n  double taken;\n  const char *modstr = NULL;\n  LOG_DEBUG ((\"== parse_raw_data ==\\n\"));\n#endif\n\n  switch (module) {\n  case VISITORS:\n    raw_data = get_str_raw_data (module);\n    if (raw_data)\n      sort_raw_str_data (raw_data, raw_data->idx);\n    break;\n  default:\n    raw_data = get_u32_raw_data (module);\n    if (raw_data)\n      sort_raw_num_data (raw_data, raw_data->idx);\n  }\n\n#ifdef _DEBUG\n  modstr = get_module_str (module);\n  taken = (double) (clock () - begin) / CLOCKS_PER_SEC;\n  LOG_DEBUG ((\"== %-30s%f\\n\\n\", modstr, taken));\n#endif\n\n  return raw_data;\n}\n"
  },
  {
    "path": "src/gkmhash.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GKMHASH_H_INCLUDED\n#define GKMHASH_H_INCLUDED\n\n#include \"gstorage.h\"\n\ntypedef struct GKHashMetric_ GKHashMetric;\n\n/* Data store per module */\ntypedef struct GKHashModule_ {\n  GModule module;\n  GKHashMetric metrics[GSMTRC_TOTAL];\n} GKHashModule;\n\n/* Data store global */\ntypedef struct GKHashGlobal_ {\n  GKHashMetric metrics[GSMTRC_TOTAL];\n} GKHashGlobal;\n\nstruct GKHashStorage_ {\n  GKHashModule *mhash;          /* modules */\n  GKHashGlobal *ghash;          /* global */\n};\n\n/* Metrics Storage */\n\n/* Most metrics are encapsulated within a GKHashStorage structure, which is\n * conformed of a dated key and a GKHashStorage struct value. This helps to\n * easily destroy the entire dated storage at any time. */\n\n/* GLOBAL METRICS */\n/* ============== */\n/* Maps a string key containing an IP|DATE|UA(hash uint32_t => hex) to an\n * autoincremented value.\n *\n * 192.168.0.1|27/Apr/2020|7E8E0E -> 1\n * 192.168.0.1|28/Apr/2020|7E8E0E -> 2\n */\n/*khash_t(si32) MTRC_UNIQUE_KEYS */\n\n/* Maps string keys made out of the user agent to an autoincremented value.\n *\n * Debian APT-HTTP/1.3 (1.0.9.8.5)                      -> 1838302 -> 1\n * Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1;) -> 8723842 -> 2\n */\n/*khash_t(ii32) MTRC_AGENT_KEYS */\n\n/* Maps integer keys from the autoincremented MTRC_AGENT_KEYS value to the user\n * agent.\n *\n * 1 -> Debian APT-HTTP/1.3 (1.0.9.8.5)\n * 2 -> Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)\n */\n/*khash_t(is32) MTRC_AGENT_VALS */\n\n/* Maps a single numeric key (usually 1) to an autoincremented hits value.\n *\n * 1 -> 5\n */\n/*khash_t(is32) MTRC_CNT_VALID */\n\n/* Maps a single numeric key (usually 1) to an autoincremented bw value.\n *\n * 1 -> 592933\n */\n/*khash_t(iu64) MTRC_CNT_BW */\n\n\n/* MODULE METRICS */\n/* ============== */\n/* Maps keys (string) to a hash to a numeric values (uint32_t).\n * this mitigates the issue of having multiple stores\n * with the same string key, and therefore, avoids unnecessary\n * memory usage (in most cases).\n *\n * HEAD|/index.php -> 9872347 -> 1\n * POST|/index.php -> 3452345 -> 2\n * Windows XP      -> 2842343 -> 3\n * Ubuntu 10.10    -> 1852342 -> 4\n * GET|Ubuntu 10.10-> 4872343 -> 5\n * GNU+Linux       -> 5862347 -> 6\n * 26/Dec/2014     -> 9874347 -> 7\n * Windows         -> 3875347 -> 8\n */\n/*khash_t(si32) MTRC_KEYMAP */\n\n/* Maps integer keys of root elements from the keymap hash\n * to actual string values.\n *\n * 6 -> GNU+Linux\n * 8 -> Windows\n */\n/*khash_t(is32) MTRC_ROOTMAP */\n\n/* Maps integer keys of data elements from the keymap hash\n * to actual string values.\n *\n * 1 -> /index.php\n * 2 -> /index.php\n * 3 -> Windows xp\n * 4 -> Ubuntu 10.10\n * 5 -> Ubuntu 10.10\n * 7 -> 26/dec/2014\n */\n/*khash_t(is32) MTRC_DATAMAP */\n\n/* Maps the unique uint32_t key of the IP/date/UA and the uint32_t key from the\n * data field encoded into a uint64_t key to numeric autoincremented values.\n * e.g., \"1&4\" => 12938238293 to ai.\n *\n * 201023232 -> 1\n * 202939232 -> 2\n */\n/*khash_t(si32) MTRC_UNIQMAP */\n\n/* Maps integer keys made from a data key to an integer root key in\n * MTRC_KEYMAP.\n *\n * 4 -> 6\n * 3 -> 8\n */\n/*khash_t(ii32) MTRC_ROOT */\n\n/* Maps integer key from the keymap hash to the number of\n * hits.\n *\n * 1 -> 10934\n * 2 -> 3231\n * 3 -> 500\n * 4 -> 201\n * 5 -> 206\n */\n/*khash_t(ii32) MTRC_HITS */\n\n/* Maps numeric keys made from the uniqmap store to autoincremented values\n * (counter).\n * 10 -> 100\n * 40 -> 56\n */\n/*khash_t(ii32) MTRC_VISITORS */\n\n/* Maps numeric data keys to bandwidth (in bytes).\n * 1 -> 1024\n * 2 -> 2048\n */\n/*khash_t(iu64) MTRC_BW */\n\n/* Maps numeric data keys to cumulative time served (in usecs/msecs).\n * 1 -> 187\n * 2 -> 208\n */\n/*khash_t(iu64) MTRC_CUMTS */\n\n/* Maps numeric data keys to max time served (in usecs/msecs).\n * 1 -> 1287\n * 2 -> 2308\n */\n/*khash_t(iu64) MTRC_MAXTS */\n\n/* Maps numeric data keys to uint8_t values.\n * 1 -> 3\n * 2 -> 4\n */\n/*khash_t(is32) MTRC_METHODS */\n\n/* Maps numeric data keys to uint8_t values.\n * 1 -> 1\n * 2 -> 1\n */\n/*khash_t(is32) MTRC_PROTOCOLS */\n\n/* Maps numeric unique data keys (e.g., 192.168.0.1 => 1) to the unique user\n * agent key. Therefore, 1 IP can contain multiple user agents\n * 1 -> 3,5\n * 2 -> 4,5,6,8\n */\n/*khash_t(igsl) MTRC_AGENTS */\n\n/* Maps a string key counter such as sum of hits to an autoincremented value\n * \"sum_hits\" -> 9383\n * \"sum_bw\"   -> 3232932\n */\n/*khash_t(igsl) MTRC_METADATA */\n\n/* *INDENT-OFF* */\nextern const GKHashMetric module_metrics[];\nextern const GKHashMetric global_metrics[];\nextern const size_t global_metrics_len;\nextern const size_t module_metrics_len;\n\nchar *ht_get_datamap (GModule module, uint32_t key);\nchar *ht_get_host_agent_val (uint32_t key);\nchar *ht_get_method (GModule module, uint32_t key);\nchar *ht_get_protocol (GModule module, uint32_t key);\nchar *ht_get_root (GModule module, uint32_t key);\nuint32_t ht_get_hits (GModule module, int key);\nuint32_t ht_get_keymap (GModule module, const char *key);\nuint32_t ht_get_size_datamap (GModule module);\nuint32_t ht_get_size_dates (void);\nuint32_t ht_get_size_uniqmap (GModule module);\nuint32_t ht_get_visitors (GModule module, uint32_t key);\nuint32_t ht_sum_valid (void);\nuint64_t ht_get_bw (GModule module, uint32_t key);\nuint64_t ht_get_cumts (GModule module, uint32_t key);\nuint64_t ht_get_maxts (GModule module, uint32_t key);\nuint64_t ht_get_meta_data (GModule module, const char *key);\nuint64_t ht_sum_bw (void);\nvoid *get_hash (int module, uint64_t key, GSMetric metric);\nvoid ht_get_bw_min_max (GModule module, uint64_t * min, uint64_t * max);\nvoid ht_get_cumts_min_max (GModule module, uint64_t * min, uint64_t * max);\nvoid ht_get_hits_min_max (GModule module, uint32_t * min, uint32_t * max);\nvoid ht_get_maxts_min_max (GModule module, uint64_t * min, uint64_t * max);\nvoid ht_get_visitors_min_max (GModule module, uint32_t * min, uint32_t * max);\n\nint ht_inc_cnt_bw (uint32_t date, uint64_t inc);\nint ht_insert_agent (GModule module, uint32_t date, uint32_t key, uint32_t value);\nint ht_insert_agent_value (uint32_t date, uint32_t key, char *value);\nint ht_insert_bw (GModule module, uint32_t date, uint32_t key, uint64_t inc, uint32_t ckey);\nint ht_insert_cumts (GModule module, uint32_t date, uint32_t key, uint64_t inc, uint32_t ckey);\nint ht_insert_datamap (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey);\nint ht_insert_date (uint32_t key);\nint ht_insert_maxts (GModule module, uint32_t date, uint32_t key, uint64_t value, uint32_t ckey);\nint ht_insert_method (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey);\nint ht_insert_protocol (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey);\nint ht_insert_root (GModule module, uint32_t date, uint32_t key, uint32_t value, uint32_t dkey, uint32_t rkey);\nint ht_insert_rootmap (GModule module, uint32_t date, uint32_t key, const char *value, uint32_t ckey);\nint ht_insert_uniqmap (GModule module, uint32_t date, uint32_t key, uint32_t value);\nuint32_t ht_inc_cnt_valid (uint32_t date, uint32_t inc);\nuint32_t ht_insert_agent_key (uint32_t date, uint32_t key);\nuint32_t ht_insert_hits (GModule module, uint32_t date, uint32_t key, uint32_t inc, uint32_t ckey);\nuint32_t ht_insert_keymap (GModule module, uint32_t date, uint32_t key, uint32_t * ckey);\nuint32_t ht_insert_unique_key (uint32_t date, const char *key);\nuint32_t ht_insert_visitor (GModule module, uint32_t date, uint32_t key, uint32_t inc, uint32_t ckey);\nint ht_insert_meta_data (GModule module, uint32_t date, const char *key, uint64_t value);\n\nint invalidate_date (int date);\nint rebuild_rawdata_cache (void);\nvoid des_igkh (void *h);\nvoid free_cache (GKHashModule * cache);\nvoid init_storage (void);\n\nGRawData *parse_raw_data (GModule module);\nGSLList *ht_get_host_agent_list (GModule module, uint32_t key);\nGSLList *ht_get_keymap_list_from_key (GModule module, uint32_t key);\n/* *INDENT-ON* */\n\n#endif // for #ifndef GKMHASH_H\n"
  },
  {
    "path": "src/gmenu.c",
    "content": "/**\n * gmenu.c -- goaccess menus\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"gmenu.h\"\n\n#include \"xmalloc.h\"\n#include \"ui.h\"\n\n/* Allocate memory for a new GMenu instance.\n *\n * On success, the newly allocated GMenu is returned . */\nGMenu *\nnew_gmenu (WINDOW *parent, int h, int w, int y, int x) {\n  GMenu *menu = xmalloc (sizeof (GMenu));\n\n  memset (menu, 0, sizeof *menu);\n  menu->count = 0;\n  menu->idx = 0;\n  menu->multiple = 0;\n  menu->selectable = 0;\n  menu->start = 0;\n  menu->status = 0;\n\n  menu->h = h;\n  menu->w = w;\n  menu->x = x;\n  menu->y = y;\n  menu->win = derwin (parent, menu->h, menu->w, menu->y, menu->x);\n\n  return menu;\n}\n\n/* Render actual menu item */\nstatic void\ndraw_menu_item (GMenu *menu, char *s, int x, int y, int w, int checked, GColors *(*func) (void)) {\n  char check, *lbl = NULL;\n\n  if (menu->selectable) {\n    check = checked ? 'x' : ' ';\n    lbl = xmalloc (snprintf (NULL, 0, \"[%c] %s\", check, s) + 1);\n    sprintf (lbl, \"[%c] %s\", check, s);\n    draw_header (menu->win, lbl, \"%s\", y, x, w, (*func));\n    free (lbl);\n  } else {\n    draw_header (menu->win, s, \"%s\", y, x, w, (*func));\n  }\n}\n\n/* Displays a menu to its associated window.\n *\n * On error, 1 is returned.\n * On success, the newly created menu is added to the window and 0 is\n * returned. */\nint\npost_gmenu (GMenu *menu) {\n  GColors *(*func) (void);\n  int i = 0, j = 0, start, end, height, total, checked = 0;\n\n  if (menu == NULL)\n    return 1;\n\n  werase (menu->win);\n\n  height = menu->h;\n  start = menu->start;\n  total = menu->size;\n  end = height < total ? start + height : total;\n\n  for (i = start; i < end; i++, j++) {\n    func = i == menu->idx ? color_selected : color_default;\n    checked = menu->items[i].checked ? 1 : 0;\n    draw_menu_item (menu, menu->items[i].name, 0, j, menu->w, checked, func);\n  }\n  wrefresh (menu->win);\n\n  return 0;\n}\n\n/* Main work horse of the menu system processing input events */\nvoid\ngmenu_driver (GMenu *menu, int c) {\n  int i;\n\n  switch (c) {\n  case REQ_DOWN:\n    if (menu->idx >= menu->size - 1)\n      break;\n    ++menu->idx;\n    if (menu->idx >= menu->h && menu->idx >= menu->start + menu->h)\n      menu->start++;\n    post_gmenu (menu);\n    break;\n  case REQ_UP:\n    if (menu->idx <= 0)\n      break;\n    --menu->idx;\n    if (menu->idx < menu->start)\n      --menu->start;\n    post_gmenu (menu);\n    break;\n  case REQ_SEL:\n    if (!menu->multiple) {\n      for (i = 0; i < menu->size; i++)\n        menu->items[i].checked = 0;\n    }\n    if (menu->items[menu->idx].checked)\n      menu->items[menu->idx].checked = 0;\n    else\n      menu->items[menu->idx].checked = 1;\n    post_gmenu (menu);\n    break;\n  }\n}\n"
  },
  {
    "path": "src/gmenu.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifdef HAVE_NCURSESW_NCURSES_H\n#include <ncursesw/ncurses.h>\n#elif HAVE_NCURSES_NCURSES_H\n#include <ncurses/ncurses.h>\n#elif HAVE_NCURSES_H\n#include <ncurses.h>\n#elif HAVE_CURSES_H\n#include <curses.h>\n#endif\n\n#ifndef GMENU_H_INCLUDED\n#define GMENU_H_INCLUDED\n\nenum ACTION {\n  REQ_DOWN,\n  REQ_UP,\n  REQ_SEL\n};\n\ntypedef struct GMenu_ GMenu;\ntypedef struct GItem_ GItem;\n\n/* Menu Item */\nstruct GItem_ {\n  char *name;\n  int checked;\n};\n\n/* Menu Panel */\nstruct GMenu_ {\n  WINDOW *win;\n\n  int count;\n  int size;\n  int idx;\n  int start;\n  int h;\n  int w;\n  int x;\n  int y;\n  unsigned short multiple;\n  unsigned short selectable;\n  unsigned short status;\n  GItem *items;\n};\n\nGMenu *new_gmenu (WINDOW * parent, int h, int w, int y, int x);\nint post_gmenu (GMenu * menu);\nvoid gmenu_driver (GMenu * menu, int c);\n\n#endif\n"
  },
  {
    "path": "src/goaccess.c",
    "content": "/**\n * goaccess.c -- main log analyzer\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS    64\n\n#include <assert.h>\n#include <ctype.h>\n#include <errno.h>\n\n#include <locale.h>\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <fcntl.h>\n#include <grp.h>\n#include <pthread.h>\n#include <pwd.h>\n#include <signal.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/stat.h>\n#include <sys/types.h>\n#include <unistd.h>\n#include <inttypes.h>\n\n#include \"gkhash.h\"\n\n#ifdef HAVE_GEOLOCATION\n#include \"geoip1.h\"\n#endif\n\n#include \"browsers.h\"\n#include \"csv.h\"\n#include \"error.h\"\n#include \"gdashboard.h\"\n#include \"gdns.h\"\n#include \"gchart.h\"\n#include \"gholder.h\"\n#include \"goaccess.h\"\n#include \"gwsocket.h\"\n#include \"json.h\"\n#include \"options.h\"\n#include \"output.h\"\n#include \"util.h\"\n#include \"websocket.h\"\n#include \"xmalloc.h\"\n\nGConf conf = {\n  .append_method = 1,\n  .append_protocol = 1,\n  .chunk_size = 1024,\n  .hl_header = 1,\n  .jobs = 1,\n  .num_tests = 10,\n};\n\n/* Loading/Spinner */\nGSpinner *parsing_spinner;\n/* active reverse dns flag */\nint active_gdns = 0;\n\n/* WebSocket server - writer and reader threads */\nstatic GWSWriter *gwswriter;\nstatic GWSReader *gwsreader;\n/* Dashboard data structure */\nstatic GDash *dash;\n/* Data holder structure */\nstatic GHolder *holder;\n/* Old signal mask */\nstatic sigset_t oldset;\n/* Curses windows */\nstatic WINDOW *header_win, *main_win;\n\nstatic int main_win_height = 0;\n\n/* *INDENT-OFF* */\nstatic GScroll gscroll = {\n  {\n     {0, 0, 0, 0, 1, NULL, 0}, /* VISITORS - note the 1 at the end! */\n     {0, 0, 0, 0, 0, NULL, 0}, /* REQUESTS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* REQUESTS_STATIC */\n     {0, 0, 0, 0, 0, NULL, 0}, /* NOT_FOUND */\n     {0, 0, 0, 0, 0, NULL, 0}, /* HOSTS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* OS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* BROWSERS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* VISIT_TIMES */\n     {0, 0, 0, 0, 0, NULL, 0}, /* VIRTUAL_HOSTS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* REFERRERS */\n     {0, 0, 0, 0, 0, NULL, 0}, /* REFERRING_SITES */\n     {0, 0, 0, 0, 0, NULL, 0}, /* KEYPHRASES */\n     {0, 0, 0, 0, 0, NULL, 0}, /* STATUS_CODES */\n     {0, 0, 0, 0, 0, NULL, 0}, /* REMOTE_USER */\n     {0, 0, 0, 0, 0, NULL, 0}, /* CACHE_STATUS */\n#ifdef HAVE_GEOLOCATION\n     {0, 0, 0, 0, 0, NULL, 0}, /* GEO_LOCATION */\n     {0, 0, 0, 0, 0, NULL, 0}, /* ASN */\n#endif\n     {0, 0, 0, 0, 0, NULL, 0}, /* MIME_TYPE */\n     {0, 0, 0, 0, 0, NULL, 0}, /* TLS_TYPE */\n  },\n  0,         /* current module */\n  0,         /* main dashboard scroll */\n  0,         /* expanded flag */\n};\n/* *INDENT-ON* */\n\n/* Free malloc'd holder */\nstatic void\nhouse_keeping_holder (void) {\n  /* REVERSE DNS THREAD */\n  pthread_mutex_lock (&gdns_thread.mutex);\n\n  /* kill dns pthread */\n  active_gdns = 0;\n  /* clear holder structure */\n  free_holder (&holder);\n  /* clear reverse dns queue */\n  gdns_free_queue ();\n  /* clear the whole storage */\n  free_storage ();\n\n  pthread_mutex_unlock (&gdns_thread.mutex);\n}\n\n/* Free per-item expand state for all modules */\nstatic void\nfree_scroll_state (void) {\n  GModule module;\n  size_t idx = 0;\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    free_item_expanded (&gscroll.module[module]);\n  }\n}\n\n/* Free malloc'd data across the whole program */\nstatic void\nhouse_keeping (void) {\n  house_keeping_holder ();\n\n  /* SCROLL STATE */\n  free_scroll_state ();\n\n  /* DASHBOARD */\n  if (dash && !conf.output_stdout) {\n    free_dashboard (dash);\n    reset_find ();\n  }\n\n  /* GEOLOCATION */\n#ifdef HAVE_GEOLOCATION\n  geoip_free ();\n  free_country_continent_map ();\n#endif\n\n  /* INVALID REQUESTS */\n  if (conf.invalid_requests_log) {\n    LOG_DEBUG ((\"Closing invalid requests log.\\n\"));\n    invalid_log_close ();\n  }\n\n  /* UNKNOWNS */\n  if (conf.unknowns_log) {\n    LOG_DEBUG ((\"Closing unknowns log.\\n\"));\n    unknowns_log_close ();\n  }\n\n  /* CONFIGURATION */\n  free_formats ();\n  free_browsers_hash ();\n  if (conf.debug_log) {\n    LOG_DEBUG ((\"Bye.\\n\"));\n    dbg_log_close ();\n  }\n  if (conf.fifo_in)\n    free ((char *) conf.fifo_in);\n  if (conf.fifo_out)\n    free ((char *) conf.fifo_out);\n\n  /* clear spinner */\n  free (parsing_spinner);\n  /* free colors */\n  free_color_lists ();\n  /* free cmd arguments */\n  free_cmd_args ();\n  /* WebSocket writer */\n  free (gwswriter);\n  /* WebSocket reader */\n  free (gwsreader);\n}\n\nstatic void\ncleanup (int ret) {\n  /* done, restore tty modes and reset terminal into\n   * non-visual mode */\n  if (!conf.output_stdout)\n    endwin ();\n\n  if (!conf.no_progress)\n    fprintf (stdout, \"Cleaning up resources...\\n\");\n\n  /* unable to process valid data */\n  if (ret)\n    output_logerrors ();\n\n  house_keeping ();\n}\n\n/* Drop permissions to the user specified. */\nstatic void\ndrop_permissions (void) {\n  struct passwd *pw;\n\n  errno = 0;\n  if ((pw = getpwnam (conf.username)) == NULL) {\n    if (errno == 0)\n      FATAL (\"No such user %s\", conf.username);\n    FATAL (\"Unable to retrieve user %s: %s\", conf.username, strerror (errno));\n  }\n\n  if (setgroups (1, &pw->pw_gid) == -1)\n    FATAL (\"setgroups: %s\", strerror (errno));\n  if (setgid (pw->pw_gid) == -1)\n    FATAL (\"setgid: %s\", strerror (errno));\n  if (setuid (pw->pw_uid) == -1)\n    FATAL (\"setuid: %s\", strerror (errno));\n}\n\n/* Open the pidfile whose name is specified in the given path and write\n * the daemonized given pid. */\nstatic void\nwrite_pid_file (const char *path, pid_t pid) {\n  FILE *pidfile;\n\n  if (!path)\n    return;\n\n  if ((pidfile = fopen (path, \"w\"))) {\n    fprintf (pidfile, \"%d\", pid);\n    fclose (pidfile);\n  } else {\n    FATAL (\"Unable to open the specified pid file. %s\", strerror (errno));\n  }\n}\n\n/* Set GoAccess to run as a daemon */\nstatic void\ndaemonize (void) {\n  pid_t pid, sid;\n  int fd;\n\n  /* Clone ourselves to make a child */\n  pid = fork ();\n\n  if (pid < 0)\n    exit (EXIT_FAILURE);\n  if (pid > 0) {\n    write_pid_file (conf.pidfile, pid);\n    printf (\"Daemonized GoAccess: %d\\n\", pid);\n    exit (EXIT_SUCCESS);\n  }\n\n  umask (0);\n  /* attempt to create our own process group */\n  sid = setsid ();\n  if (sid < 0) {\n    LOG_DEBUG ((\"Unable to setsid: %s.\\n\", strerror (errno)));\n    exit (EXIT_FAILURE);\n  }\n\n  /* set the working directory to the root directory.\n   * requires the user to specify absolute paths */\n  if (chdir (\"/\") < 0) {\n    LOG_DEBUG ((\"Unable to set chdir: %s.\\n\", strerror (errno)));\n    exit (EXIT_FAILURE);\n  }\n\n  /* redirect fd's 0,1,2 to /dev/null */\n  /* Note that the user will need to use --debug-file for log output */\n  if ((fd = open (\"/dev/null\", O_RDWR, 0)) == -1) {\n    LOG_DEBUG ((\"Unable to open /dev/null: %s.\\n\", strerror (errno)));\n    exit (EXIT_FAILURE);\n  }\n\n  dup2 (fd, STDIN_FILENO);\n  dup2 (fd, STDOUT_FILENO);\n  dup2 (fd, STDERR_FILENO);\n  if (fd > STDERR_FILENO) {\n    close (fd);\n  }\n}\n\n/* Extract data from the given module hash structure and allocate +\n * load data from the hash table into an instance of GHolder */\nstatic void\nallocate_holder_by_module (GModule module) {\n  GRawData *raw_data;\n  uint32_t max_choices = get_max_choices ();\n  uint32_t max_choices_sub = get_max_choices_sub ();\n\n  /* extract data from the corresponding hash table */\n  raw_data = parse_raw_data (module);\n  if (!raw_data) {\n    LOG_DEBUG ((\"raw data is NULL for module: %d.\\n\", module));\n    return;\n  }\n\n  load_holder_data (raw_data, holder + module, module, module_sort[module], max_choices, max_choices_sub);\n}\n\n/* Iterate over all modules/panels and extract data from hash\n * structures and load it into an instance of GHolder */\nstatic void\nallocate_holder (void) {\n  size_t idx = 0;\n\n  holder = new_gholder (TOTAL_MODULES);\n  FOREACH_MODULE (idx, module_list) {\n    allocate_holder_by_module (module_list[idx]);\n  }\n}\n\n/* Extract data from the modules GHolder structure and load it into\n * the terminal dashboard */\nstatic void\nallocate_data_by_module (GModule module, uint32_t col_data) {\n  uint32_t size = 0;\n  uint32_t max_choices = get_max_choices ();\n\n  dash->module[module].head = module_to_head (module);\n  dash->module[module].desc = module_to_desc (module);\n\n  size = holder[module].idx;\n  if (gscroll.expanded && module == gscroll.current) {\n    size = size > max_choices ? max_choices : holder[module].idx;\n  } else {\n    size = holder[module].idx > col_data ? col_data : holder[module].idx;\n  }\n\n  dash->module[module].alloc_data = size; /* data allocated  */\n  dash->module[module].ht_size = holder[module].ht_size; /* hash table size */\n  dash->module[module].idx_data = 0;\n  dash->module[module].pos_y = 0;\n\n  if (gscroll.expanded && module == gscroll.current)\n    dash->module[module].dash_size = DASH_EXPANDED;\n  else\n    dash->module[module].dash_size = DASH_COLLAPSED;\n  dash->total_alloc += dash->module[module].dash_size;\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  load_data_to_dash (&holder[module], dash, module, &gscroll);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n}\n\n/* Iterate over all modules/panels and extract data from GHolder\n * structure and load it into the terminal dashboard */\nstatic void\nallocate_data (void) {\n  GModule module;\n  uint32_t col_data = get_num_collapsed_data_rows ();\n  size_t idx = 0;\n\n  dash = new_gdash ();\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    allocate_data_by_module (module, col_data);\n  }\n}\n\nstatic void\nclean_stdscrn (void) {\n  int row, col;\n\n  getmaxyx (stdscr, row, col);\n  draw_header (stdscr, \"\", \"%s\", row - 1, 0, col, color_default);\n}\n\n/* A wrapper to render all windows within the dashboard. */\nstatic void\nrender_screens (uint32_t offset) {\n  GColors *color = get_color (COLOR_DEFAULT);\n  int row, col;\n  char time_str_buf[32];\n\n  getmaxyx (stdscr, row, col);\n  term_size (main_win, &main_win_height);\n\n  generate_time ();\n  strftime (time_str_buf, sizeof (time_str_buf), \"%d/%b/%Y:%T\", &now_tm);\n\n  draw_header (stdscr, \"\", \"%s\", row - 1, 0, col, color_default);\n\n  wattron (stdscr, color->attr | COLOR_PAIR (color->pair->idx));\n  mvaddstr (row - 1, 1, T_HELP_ENTER);\n  mvprintw (row - 1, col / 2 - 10, \"%\" PRIu32 \"/r - %s\", offset, time_str_buf);\n  mvaddstr (row - 1, col - 6 - strlen (T_QUIT), T_QUIT);\n  mvprintw (row - 1, col - 5, \"%s\", GO_VERSION);\n  wattroff (stdscr, color->attr | COLOR_PAIR (color->pair->idx));\n\n  refresh ();\n\n  /* call general stats header */\n  display_general (header_win, holder);\n  wrefresh (header_win);\n\n  /* display active label based on current module */\n  update_active_module (header_win, gscroll.current);\n\n  display_content (main_win, dash, &gscroll, holder);\n}\n\n/* Collapse the current expanded module */\nstatic int\ncollapse_current_module (void) {\n  if (!gscroll.expanded)\n    return 1;\n\n  /* Reset per-item expand state before collapsing */\n  reset_item_expanded (&gscroll.module[gscroll.current]);\n  gscroll.expanded = 0;\n  reset_scroll_offsets (&gscroll);\n  free_dashboard (dash);\n  allocate_data ();\n\n  return 0;\n}\n\n/* Display message at the bottom of the terminal dashboard that panel\n * is disabled */\nstatic void\ndisabled_panel_msg (GModule module) {\n  const char *lbl = module_to_label (module);\n  int row, col;\n\n  getmaxyx (stdscr, row, col);\n  draw_header (stdscr, lbl, ERR_PANEL_DISABLED, row - 1, 0, col, color_error);\n}\n\n/* Set the current module/panel */\nstatic int\nset_module_to (GScroll *scrll, GModule module) {\n  if (get_module_index (module) == -1) {\n    disabled_panel_msg (module);\n    return 1;\n  }\n\n  /* scroll to panel */\n  if (!conf.no_tab_scroll)\n    gscroll.dash = get_module_index (module) * DASH_COLLAPSED;\n\n  /* reset expanded module */\n  collapse_current_module ();\n  scrll->current = module;\n  return 0;\n}\n\n/* Scroll expanded module or terminal dashboard to the top */\nstatic void\nscroll_to_first_line (void) {\n  if (!gscroll.expanded)\n    gscroll.dash = 0;\n  else {\n    gscroll.module[gscroll.current].scroll = 0;\n    gscroll.module[gscroll.current].offset = 0;\n  }\n}\n\n/* Scroll expanded module or terminal dashboard to the last row */\nstatic void\nscroll_to_last_line (void) {\n  int exp_size = get_num_expanded_data_rows ();\n  int scrll = 0, offset = 0;\n\n  if (!gscroll.expanded)\n    gscroll.dash = dash->total_alloc - main_win_height;\n  else {\n    scrll = dash->module[gscroll.current].idx_data - 1;\n    if (scrll >= exp_size && scrll >= offset + exp_size)\n      offset = scrll < exp_size - 1 ? 0 : scrll - exp_size + 1;\n    gscroll.module[gscroll.current].scroll = scrll;\n    gscroll.module[gscroll.current].offset = offset;\n  }\n}\n\n/* Load the user-agent window given the selected IP */\nstatic void\nload_ip_agent_list (void) {\n  int type_ip = 0;\n  /* make sure we have a valid IP */\n  int sel = gscroll.module[gscroll.current].scroll;\n  GDashData item = { 0 };\n\n  if (dash->module[HOSTS].holder_size == 0)\n    return;\n\n  item = dash->module[HOSTS].data[sel];\n  if (!invalid_ipaddr (item.metrics->data, &type_ip))\n    load_agent_list (main_win, item.metrics->data);\n}\n\n/* Toggle expand/collapse of the selected item's children within expanded panel.\n * direction: 1 = expand (show children), 0 = collapse (hide children) */\nstatic void\ntoggle_selected_item_expand (int direction) {\n  GModule mod = gscroll.current;\n  int scroll_pos = gscroll.module[mod].scroll;\n  GDashModule *dmod = &dash->module[mod];\n  int nfi;\n  uint8_t new_state;\n\n  if (scroll_pos < 0 || scroll_pos >= dmod->idx_data)\n    return;\n\n  nfi = dmod->data[scroll_pos].node_full_idx;\n\n  /* Only toggle if the item actually has children */\n  if (!dmod->data[scroll_pos].has_children)\n    return;\n\n  if (nfi < 0 || nfi >= gscroll.module[mod].item_expanded_size)\n    return;\n\n  new_state = direction ? 1 : 0;\n  if (gscroll.module[mod].item_expanded[nfi] == new_state)\n    return;\n\n  gscroll.module[mod].item_expanded[nfi] = new_state;\n\n  /* When collapsing, keep scroll on the same item (which stays visible).\n   * After rebuild, the selected item will have moved to a new flat position\n   * because collapsed children are removed. Find its new position. */\n  {\n    int old_scroll = scroll_pos;\n    int target_nfi = nfi;\n\n    /* Rebuild dashboard to reflect changed visibility */\n    free_dashboard (dash);\n    allocate_data ();\n\n    /* Find the new flat position of the toggled item */\n    dmod = &dash->module[mod];\n    {\n      int k;\n      for (k = 0; k < dmod->idx_data; k++) {\n        if (dmod->data[k].node_full_idx == target_nfi) {\n          gscroll.module[mod].scroll = k;\n          if (k < gscroll.module[mod].offset)\n            gscroll.module[mod].offset = k;\n          return;\n        }\n      }\n    }\n    /* Fallback: clamp to last item */\n    if (dmod->idx_data > 0) {\n      gscroll.module[mod].scroll = dmod->idx_data - 1;\n      (void) old_scroll;\n    }\n  }\n}\n\n/* Expand the selected module */\nstatic void\nexpand_current_module (void) {\n  if (gscroll.expanded && gscroll.current == HOSTS) {\n    load_ip_agent_list ();\n    return;\n  }\n\n  /* Already expanded -- toggle expand on the selected item */\n  if (gscroll.expanded) {\n    toggle_selected_item_expand (1);\n    return;\n  }\n\n  reset_scroll_offsets (&gscroll);\n  gscroll.expanded = 1;\n\n  free_holder_by_module (&holder, gscroll.current);\n  free_dashboard (dash);\n  allocate_holder_by_module (gscroll.current);\n\n  /* Initialize per-node expand state -- all expanded by default.\n   * Size = total nodes in the tree (roots + all sub-items). */\n  {\n    int total_nodes = holder[gscroll.current].idx + holder[gscroll.current].sub_items_size;\n    init_item_expanded (&gscroll.module[gscroll.current], total_nodes);\n  }\n\n  allocate_data ();\n}\n\n/* Expand the clicked module/panel given the Y event coordinate. */\nstatic int\nexpand_module_from_ypos (int y) {\n  /* ignore header/footer clicks */\n  if (y < MAX_HEIGHT_HEADER || y == LINES - 1)\n    return 1;\n\n  if (set_module_from_mouse_event (&gscroll, dash, y))\n    return 1;\n\n  reset_scroll_offsets (&gscroll);\n  gscroll.expanded = 1;\n\n  free_holder_by_module (&holder, gscroll.current);\n  free_dashboard (dash);\n  allocate_holder_by_module (gscroll.current);\n\n  /* Initialize per-node expand state -- all expanded by default */\n  {\n    int total_nodes = holder[gscroll.current].idx + holder[gscroll.current].sub_items_size;\n    init_item_expanded (&gscroll.module[gscroll.current], total_nodes);\n  }\n\n  allocate_data ();\n\n  return 0;\n}\n\n/* Expand the clicked module/panel */\nstatic int\nexpand_on_mouse_click (void) {\n  int ok_mouse;\n  MEVENT event;\n\n  ok_mouse = getmouse (&event);\n  if (!conf.mouse_support || ok_mouse != OK)\n    return 1;\n\n  if (event.bstate & BUTTON1_CLICKED)\n    return expand_module_from_ypos (event.y);\n  return 1;\n}\n\n/* Scroll up terminal dashboard */\nstatic void\nscroll_up_dashboard (void) {\n  gscroll.dash--;\n}\n\n/* Scroll down expanded module to the last row */\nstatic void\nscroll_down_expanded_module (void) {\n  int exp_size = get_num_expanded_data_rows ();\n  int *scroll_ptr, *offset_ptr;\n  int max_scroll;\n\n  scroll_ptr = &gscroll.module[gscroll.current].scroll;\n  offset_ptr = &gscroll.module[gscroll.current].offset;\n\n  if (!gscroll.expanded)\n    return;\n\n  max_scroll = dash->module[gscroll.current].idx_data - 1;\n\n  /* Don't scroll past the last item */\n  if (*scroll_ptr >= max_scroll)\n    return;\n\n  /* Increment scroll position */\n  ++(*scroll_ptr);\n\n  /* Adjust offset if we're scrolling beyond the visible area\n   * Keep the selection visible by ensuring it's within the window */\n  if (*scroll_ptr >= *offset_ptr + exp_size) {\n    ++(*offset_ptr);\n  }\n}\n\n/* Scroll up expanded module */\nstatic void\nscroll_up_expanded_module (void) {\n  int *scroll_ptr, *offset_ptr;\n\n  scroll_ptr = &gscroll.module[gscroll.current].scroll;\n  offset_ptr = &gscroll.module[gscroll.current].offset;\n\n  if (!gscroll.expanded)\n    return;\n\n  if (*scroll_ptr <= 0)\n    return;\n\n  --(*scroll_ptr);\n\n  /* Adjust offset if selection goes above visible area */\n  if (*scroll_ptr < *offset_ptr)\n    --(*offset_ptr);\n}\n\n/* Page down expanded module */\nstatic void\npage_down_module (void) {\n  int exp_size = get_num_expanded_data_rows ();\n  int *scroll_ptr, *offset_ptr;\n  int max_scroll;\n\n  scroll_ptr = &gscroll.module[gscroll.current].scroll;\n  offset_ptr = &gscroll.module[gscroll.current].offset;\n\n  if (!gscroll.expanded)\n    return;\n\n  max_scroll = dash->module[gscroll.current].idx_data - 1;\n\n  /* Move down by page */\n  *scroll_ptr += exp_size;\n\n  /* Clamp to maximum */\n  if (*scroll_ptr > max_scroll)\n    *scroll_ptr = max_scroll;\n\n  /* Adjust offset to keep selection visible */\n  if (*scroll_ptr >= *offset_ptr + exp_size) {\n    *offset_ptr = *scroll_ptr - exp_size + 1;\n  }\n\n  /* Make sure offset doesn't go beyond valid range */\n  if (*offset_ptr + exp_size > max_scroll + 1) {\n    *offset_ptr = max_scroll - exp_size + 1;\n    if (*offset_ptr < 0)\n      *offset_ptr = 0;\n  }\n}\n\n/* Page up expanded module */\nstatic void\npage_up_module (void) {\n  int exp_size = get_num_expanded_data_rows ();\n  int *scroll_ptr, *offset_ptr;\n\n  scroll_ptr = &gscroll.module[gscroll.current].scroll;\n  offset_ptr = &gscroll.module[gscroll.current].offset;\n\n  if (!gscroll.expanded)\n    return;\n\n  /* Move up by page */\n  *scroll_ptr -= exp_size;\n\n  /* Clamp to minimum */\n  if (*scroll_ptr < 0)\n    *scroll_ptr = 0;\n\n  /* Adjust offset to keep selection visible */\n  if (*scroll_ptr < *offset_ptr) {\n    *offset_ptr = *scroll_ptr;\n  }\n}\n\n/* Create a new find dialog window and render it. Upon closing the\n * window, dashboard is refreshed. */\nstatic int\nrender_search_dialog (int search) {\n  if (render_find_dialog (main_win, &gscroll))\n    return 1;\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  search = perform_next_find (holder, &gscroll);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n  if (search != 0)\n    return 1;\n\n  free_dashboard (dash);\n  allocate_data ();\n\n  return 0;\n}\n\n/* Search for the next occurrence within the dashboard structure */\nstatic int\nsearch_next_match (int search) {\n  pthread_mutex_lock (&gdns_thread.mutex);\n  search = perform_next_find (holder, &gscroll);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n  if (search != 0)\n    return 1;\n\n  free_dashboard (dash);\n  allocate_data ();\n  return 0;\n}\n\n/* Update holder structure and dashboard screen */\nstatic void\ntail_term (void) {\n  pthread_mutex_lock (&gdns_thread.mutex);\n  free_holder (&holder);\n  pthread_cond_broadcast (&gdns_thread.not_empty);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  free_dashboard (dash);\n  allocate_holder ();\n  allocate_data ();\n\n  term_size (main_win, &main_win_height);\n}\n\nstatic void\ntail_html (void) {\n  char *json = NULL;\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  free_holder (&holder);\n  pthread_cond_broadcast (&gdns_thread.not_empty);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  allocate_holder ();\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  json = get_json (holder, 1);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  if (json == NULL)\n    return;\n\n  pthread_mutex_lock (&gwswriter->mutex);\n  broadcast_holder (gwswriter->fd, json, strlen (json));\n  pthread_mutex_unlock (&gwswriter->mutex);\n  free (json);\n}\n\n/* Fast-forward latest JSON data when client connection is opened. */\nstatic void\nfast_forward_client (int listener) {\n  char *json = NULL;\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  json = get_json (holder, 1);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  if (json == NULL)\n    return;\n\n  pthread_mutex_lock (&gwswriter->mutex);\n  send_holder_to_client (gwswriter->fd, listener, json, strlen (json));\n  pthread_mutex_unlock (&gwswriter->mutex);\n  free (json);\n}\n\n/* Start reading data coming from the client side through the\n * WebSocket server. */\nvoid\nread_client (void *ptr_data) {\n  GWSReader *reader = (GWSReader *) ptr_data;\n\n  /* check we have a fifo for reading */\n  if (reader->fd == -1)\n    return;\n\n  pthread_mutex_lock (&reader->mutex);\n  set_self_pipe (reader->self_pipe);\n  pthread_mutex_unlock (&reader->mutex);\n\n  while (1) {\n    /* poll(2) will block */\n    if (read_fifo (reader, fast_forward_client))\n      break;\n  }\n  close (reader->fd);\n}\n\n/* Parse tailed lines */\nstatic void\nparse_tail_follow (GLog *glog, GFileHandle *fh) {\n  GLogItem *logitem = NULL;\n#ifdef WITH_GETLINE\n  char *buf = NULL;\n#else\n  char buf[LINE_BUFFER] = { 0 };\n#endif\n\n  glog->bytes = 0;\n\n#ifdef WITH_GETLINE\n  while ((buf = gfile_getline (fh)) != NULL) {\n#else\n  while (gfile_gets (buf, LINE_BUFFER, fh) != NULL) {\n#endif\n    pthread_mutex_lock (&gdns_thread.mutex);\n    if ((parse_line (glog, buf, 0, &logitem)) == 0 && logitem != NULL)\n      process_log (logitem);\n    if (logitem != NULL) {\n      free_glog (logitem);\n      logitem = NULL;\n    }\n    pthread_mutex_unlock (&gdns_thread.mutex);\n\n    glog->bytes += strlen (buf);\n#ifdef WITH_GETLINE\n    free (buf);\n#endif\n\n    /* If the ingress rate is greater than MAX_BATCH_LINES,\n     * then we break and allow to re-render the UI */\n    if (++glog->read % MAX_BATCH_LINES == 0)\n      break;\n  }\n}\n\nstatic void\nverify_inode (GFileHandle *fh, GLog *glog) {\n  struct stat fdstat;\n\n  if (stat (glog->props.filename, &fdstat) == -1)\n    FATAL (\"Unable to stat the specified log file '%s'. %s\", glog->props.filename,\n           strerror (errno));\n\n  glog->props.size = fdstat.st_size;\n\n  /* Either the log got smaller, probably was truncated so start reading from 0\n   * and reset snippet.\n   * If the log changed its inode, more likely the log was rotated, so we set\n   * the initial snippet for the new log for future iterations */\n  if (fdstat.st_ino != glog->props.inode || glog->snippet[0] == '\\0' || 0 == glog->props.size) {\n    glog->length = glog->bytes = 0;\n    set_initial_persisted_data (glog, fh, glog->props.filename);\n  }\n\n  glog->props.inode = fdstat.st_ino;\n}\n\n/* Check if a file is gzipped by examining magic bytes or extension\n * Returns 1 if gzipped, 0 otherwise */\nstatic int\nis_gzipped_file_check (const char *filename) {\n  FILE *fp;\n  unsigned char magic[2];\n  int result = 0;\n  size_t len;\n\n  /* Quick check: does it end in .gz? */\n  len = strlen (filename);\n  if (len > 3 && strcmp (filename + len - 3, \".gz\") == 0)\n    return 1;\n\n  /* Double-check by reading magic bytes */\n  if ((fp = fopen (filename, \"rb\")) == NULL)\n    return 0;\n\n  if (fread (magic, 1, 2, fp) == 2) {\n    /* gzip magic number is 0x1f 0x8b */\n    if (magic[0] == 0x1f && magic[1] == 0x8b)\n      result = 1;\n  }\n\n  fclose (fp);\n  return result;\n}\n\n/* Process appended log data\n *\n * If nothing changed, 0 is returned.\n * If log file changed, 1 is returned. */\nstatic int\nperform_tail_follow (GLog *glog) {\n  GFileHandle *fh = NULL;\n  char buf[READ_BYTES + 1] = { 0 };\n  uint16_t len = 0;\n  uint64_t length = 0;\n\n  if (glog->props.filename[0] == '-' && glog->props.filename[1] == '\\0') {\n    /* For stdin pipe, we need to wrap the FILE* into a GFileHandle */\n    fh = calloc (1, sizeof (GFileHandle));\n    if (!fh)\n      return 0;\n    fh->fp = glog->pipe;\n#ifdef HAVE_ZLIB\n    fh->is_gzipped = 0;\n    fh->gzfp = NULL;\n#endif\n\n    parse_tail_follow (glog, fh);\n\n    /* did we read something from the pipe? */\n    if (0 == glog->bytes) {\n      free (fh);\n      return 0;\n    }\n    glog->length += glog->bytes;\n    free (fh);\n    goto out;\n  }\n\n  /* Skip tailing gzipped files - they are static archives and should not be monitored\n   * for changes in real-time mode. Only regular log files should be tailed. */\n  if (is_gzipped_file_check (glog->props.filename)) {\n    return 0;\n  }\n\n  length = file_size (glog->props.filename);\n\n  /* file hasn't changed */\n  /* ###NOTE: This assumes the log file being read can be of smaller size, e.g.,\n   * rotated/truncated file or larger when data is appended */\n  if (length == glog->length)\n    return 0;\n\n  if (!(fh = gfile_open (glog->props.filename, \"r\")))\n    FATAL (\"Unable to read the specified log file '%s'. %s\", glog->props.filename,\n           strerror (errno));\n\n  verify_inode (fh, glog);\n\n  len = MIN (glog->snippetlen, length);\n  /* This is not ideal, but maybe the only reliable way to know if the\n   * current log looks different than our first read/parse */\n  if ((gfile_read (buf, len, 1, fh)) != 1 && gfile_error (fh))\n    FATAL (\"Unable to read the specified log file '%s'\", glog->props.filename);\n\n  /* For the case where the log got larger since the last iteration, we attempt\n   * to compare the first READ_BYTES against the READ_BYTES we had since the last\n   * parse. If it's different, then it means the file may got truncated but grew\n   * faster than the last iteration (odd, but possible), so we read from 0* */\n  if (glog->snippet[0] != '\\0' && buf[0] != '\\0' && memcmp (glog->snippet, buf, len) != 0)\n    glog->length = glog->bytes = 0;\n\n  if (!gfile_seek (fh, glog->length, SEEK_SET))\n    parse_tail_follow (glog, fh);\n\n  gfile_close (fh);\n\n  glog->length += glog->bytes;\n\n  /* insert the inode of the file parsed and the last line parsed */\n  if (glog->props.inode) {\n    glog->lp.line = glog->read;\n    glog->lp.size = glog->props.size;\n    ht_insert_last_parse (glog->props.inode, &glog->lp);\n  }\n\nout:\n  return 1;\n}\n\n/* Loop over and perform a follow for the given logs */\nstatic void\ntail_loop_html (Logs *logs) {\n  struct timespec refresh = {\n    .tv_sec = conf.html_refresh ? conf.html_refresh : HTML_REFRESH,\n    .tv_nsec = 0,\n  };\n  int i = 0, ret = 0;\n\n  while (1) {\n    if (conf.stop_processing)\n      break;\n\n    for (i = 0, ret = 0; i < logs->size; ++i)\n      ret |= perform_tail_follow (&logs->glog[i]); /* 0.2 secs */\n\n    if (1 == ret)\n      tail_html ();\n\n    if (nanosleep (&refresh, NULL) == -1 && errno != EINTR)\n      FATAL (\"nanosleep: %s\", strerror (errno));\n  }\n}\n\n/* Entry point to start processing the HTML output */\nstatic void\nprocess_html (Logs *logs, const char *filename) {\n  /* render report */\n  pthread_mutex_lock (&gdns_thread.mutex);\n  output_html (holder, filename);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  /* not real time? */\n  if (!conf.real_time_html)\n    return;\n  /* ignore loading from disk */\n  if (logs->load_from_disk_only)\n    return;\n\n  pthread_mutex_lock (&gwswriter->mutex);\n  gwswriter->fd = open_fifoin ();\n  pthread_mutex_unlock (&gwswriter->mutex);\n\n  /* open fifo for write */\n  if (gwswriter->fd == -1)\n    return;\n\n  set_ready_state ();\n  tail_loop_html (logs);\n  close (gwswriter->fd);\n}\n\n/* Iterate over available panels and advance the panel pointer. */\nstatic int\nnext_module (void) {\n  int next = -1;\n\n  if ((next = get_next_module (gscroll.current)) == -1)\n    return 1;\n\n  gscroll.current = next;\n  if (!conf.no_tab_scroll)\n    gscroll.dash = get_module_index (gscroll.current) * DASH_COLLAPSED;\n\n  return 0;\n}\n\n/* Iterate over available panels and rewind the panel pointer. */\nstatic int\nprevious_module (void) {\n  int prev = -1;\n\n  if ((prev = get_prev_module (gscroll.current)) == -1)\n    return 1;\n\n  gscroll.current = prev;\n  if (!conf.no_tab_scroll)\n    gscroll.dash = get_module_index (gscroll.current) * DASH_COLLAPSED;\n\n  return 0;\n}\n\n/* Perform several curses operations upon resizing the terminal. */\nstatic void\nwindow_resize (void) {\n  endwin ();\n  refresh ();\n  werase (header_win);\n  werase (main_win);\n  werase (stdscr);\n  term_size (main_win, &main_win_height);\n  refresh ();\n}\n\n/* Create a new sort dialog window and render it. Upon closing the\n * window, dashboard is refreshed. */\nstatic void\nrender_sort_dialog (void) {\n  load_sort_win (main_win, gscroll.current, &module_sort[gscroll.current]);\n\n  pthread_mutex_lock (&gdns_thread.mutex);\n  free_holder (&holder);\n  pthread_cond_broadcast (&gdns_thread.not_empty);\n  pthread_mutex_unlock (&gdns_thread.mutex);\n\n  free_dashboard (dash);\n  allocate_holder ();\n  allocate_data ();\n}\n\nstatic void\nterm_tail_logs (Logs *logs) {\n  struct timespec ts = {.tv_sec = 0,.tv_nsec = 200000000 }; /* 0.2 seconds */\n  uint32_t offset = 0;\n  int i, ret;\n\n  for (i = 0, ret = 0; i < logs->size; ++i)\n    ret |= perform_tail_follow (&logs->glog[i]);\n\n  if (1 == ret) {\n    tail_term ();\n    offset = *logs->processed - logs->offset;\n    render_screens (offset);\n  }\n  if (nanosleep (&ts, NULL) == -1 && errno != EINTR) {\n    FATAL (\"nanosleep: %s\", strerror (errno));\n  }\n}\n\nstatic int\ncycle_metric (GScroll *scroll, GHolder *holders, GModule mod, int direction) {\n  int current_metric, found = 0, attempts = 0;\n  int available_metrics[CHART_METRIC_COUNT];\n  int num_available = get_available_metrics (mod, available_metrics);\n\n  if (num_available == 0)\n    return 0;\n\n  current_metric = scroll->module[mod].current_metric;\n\n  while (attempts < CHART_METRIC_COUNT && !found) {\n    if (direction > 0)\n      current_metric = (current_metric + 1) % CHART_METRIC_COUNT;\n    else\n      current_metric = (current_metric - 1 + CHART_METRIC_COUNT) % CHART_METRIC_COUNT;\n\n    for (int i = 0; i < num_available; i++) {\n      if (available_metrics[i] == current_metric) {\n        if (metric_has_data (&holders[mod], current_metric)) {\n          found = 1;\n          break;\n        }\n      }\n    }\n    attempts++;\n  }\n\n  if (found) {\n    scroll->module[mod].current_metric = current_metric;\n    return 1;\n  }\n\n  return 0;\n}\n\n/* Interfacing with the keyboard */\nstatic void\nget_keys (Logs *logs) {\n  int search = 0;\n  int c, quit = 1;\n  uint32_t offset = 0;\n\n  struct sigaction act, oldact;\n\n  /* Change the action for SIGINT to SIG_IGN and block Ctrl+c\n   * before entering the subdialog */\n  act.sa_handler = SIG_IGN;\n  sigemptyset (&act.sa_mask);\n  act.sa_flags = 0;\n\n  while (quit) {\n    if (conf.stop_processing)\n      break;\n\n    offset = *logs->processed - logs->offset;\n    c = wgetch (stdscr);\n    switch (c) {\n    case 'q':  /* quit */\n      if (!gscroll.expanded) {\n        quit = 0;\n        break;\n      }\n      if (collapse_current_module () == 0)\n        render_screens (offset);\n      break;\n    case KEY_F (1):\n    case '?':\n    case 'h':\n      sigaction (SIGINT, &act, &oldact);\n      load_help_popup (main_win);\n      sigaction (SIGINT, &oldact, NULL);\n      render_screens (offset);\n      break;\n    case 49:   /* 1 - jump to first panel */\n    case 50:   /* 2 - jump to second panel */\n    case 51:   /* 3 */\n    case 52:   /* 4 */\n    case 53:   /* 5 */\n    case 54:   /* 6 */\n    case 55:   /* 7 */\n    case 56:   /* 8 */\n    case 57:   /* 9 */\n    case 48:   /* 0 - jump to tenth panel */\n      {\n        int panel_idx = (c == 48) ? 9 : (c - 49); /* 0 = 10th panel (index 9) */\n        int num_modules = get_num_modules ();\n\n        if (panel_idx < num_modules) {\n          GModule target = module_list[panel_idx];\n          if (set_module_to (&gscroll, target) == 0)\n            render_screens (offset);\n        }\n      }\n      break;\n    case 9:    /* TAB */\n      /* reset expanded module */\n      collapse_current_module ();\n      if (next_module () == 0)\n        render_screens (offset);\n      break;\n    case 353:  /* Shift TAB */\n      /* reset expanded module */\n      collapse_current_module ();\n      if (previous_module () == 0)\n        render_screens (offset);\n      break;\n    case 'g':  /* g = top */\n      scroll_to_first_line ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n    case 'G':  /* G = down */\n      scroll_to_last_line ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n      /* expand dashboard module */\n    case KEY_RIGHT:\n    case 0x0a:\n    case 0x0d:\n    case 32:   /* ENTER */\n    case 79:   /* o */\n    case 111:  /* O */\n    case KEY_ENTER:\n      expand_current_module ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n    case '+':  /* expand selected item's children */\n      if (gscroll.expanded) {\n        toggle_selected_item_expand (1);\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n    case '-':  /* collapse selected item's children */\n      if (gscroll.expanded) {\n        toggle_selected_item_expand (0);\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n    case KEY_DOWN: /* scroll main dashboard */\n      if ((gscroll.dash + main_win_height) < dash->total_alloc) {\n        gscroll.dash++;\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n    case KEY_MOUSE: /* handles mouse events */\n      if (expand_on_mouse_click () == 0)\n        render_screens (offset);\n      break;\n    case 106:  /* j - DOWN expanded module */\n      scroll_down_expanded_module ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n      /* scroll up main_win */\n    case KEY_UP:\n      if (gscroll.dash > 0) {\n        scroll_up_dashboard ();\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n    case 2:    /* ^ b - page up */\n    case 339:  /* ^ PG UP */\n      page_up_module ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n    case 6:    /* ^ f - page down */\n    case 338:  /* ^ PG DOWN */\n      page_down_module ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n    case 107:  /* k - UP expanded module */\n      scroll_up_expanded_module ();\n      display_content (main_win, dash, &gscroll, holder);\n      break;\n    case 'n':\n      if (search_next_match (search) == 0)\n        render_screens (offset);\n      break;\n    case '/':\n      sigaction (SIGINT, &act, &oldact);\n      if (render_search_dialog (search) == 0)\n        render_screens (offset);\n      sigaction (SIGINT, &oldact, NULL);\n      break;\n    case 'p':  /* reorder panels */\n    case 'P':\n      sigaction (SIGINT, &act, &oldact);\n      load_panels_win (main_win);\n      sigaction (SIGINT, &oldact, NULL);\n\n      /* Rebuild dashboard with new panel order */\n      pthread_mutex_lock (&gdns_thread.mutex);\n      free_holder (&holder);\n      pthread_cond_broadcast (&gdns_thread.not_empty);\n      pthread_mutex_unlock (&gdns_thread.mutex);\n\n      free_dashboard (dash);\n      allocate_holder ();\n      allocate_data ();\n      render_screens (offset);\n      break;\n    case 'r':  /* toggle reverse bars */\n    case 'R':\n      {\n        GModule mod = gscroll.current;\n        gscroll.module[mod].reverse_bars = !gscroll.module[mod].reverse_bars;\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n    case 'm':  /* cycle metrics forward */\n      {\n        GModule mod = gscroll.current;\n        if (cycle_metric (&gscroll, holder, mod, +1))\n          display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n\n    case 'M':  /* cycle metrics backward */\n      {\n        GModule mod = gscroll.current;\n        if (cycle_metric (&gscroll, holder, mod, -1))\n          display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n      break;\n    case 'l':  /* toggle log scale */\n    case 'L':\n      {\n        GModule mod = gscroll.current;\n        gscroll.module[mod].use_log_scale = !gscroll.module[mod].use_log_scale;\n\n        /* Refresh display whether expanded or collapsed */\n        display_content (main_win, dash, &gscroll, holder);\n      }\n      break;\n\n    case 99:   /* c */\n      if (conf.no_color)\n        break;\n\n      sigaction (SIGINT, &act, &oldact);\n      load_schemes_win (main_win);\n      sigaction (SIGINT, &oldact, NULL);\n\n      free_dashboard (dash);\n      allocate_data ();\n      set_wbkgd (main_win, header_win);\n      render_screens (offset);\n      break;\n    case 115:  /* s */\n      sigaction (SIGINT, &act, &oldact);\n      render_sort_dialog ();\n      sigaction (SIGINT, &oldact, NULL);\n\n      render_screens (offset);\n      break;\n    case 269:\n    case KEY_RESIZE:\n      window_resize ();\n      render_screens (offset);\n      break;\n    default:\n      if (logs->load_from_disk_only)\n        break;\n      term_tail_logs (logs);\n      break;\n    }\n  }\n}\n\n/* Store accumulated processing time\n * Note: As we store with time_t second resolution,\n * if elapsed time == 0, we will bump it to 1.\n */\nstatic void\nset_accumulated_time (void) {\n  time_t elapsed = end_proc - start_proc;\n  elapsed = (!elapsed) ? !elapsed : elapsed;\n  ht_inc_cnt_overall (\"processing_time\", elapsed);\n}\n\n/* Execute the following calls right before we start the main\n * processing/parsing loop */\nstatic void\ninit_processing (void) {\n  /* perform some additional checks before parsing panels */\n  verify_panels ();\n\n  init_storage ();\n  insert_methods_protocols ();\n  set_spec_date_format ();\n\n  if ((!conf.skip_term_resolver && !conf.output_stdout) ||\n      (conf.enable_html_resolver && conf.real_time_html))\n    gdns_thread_create ();\n}\n\n/* Determine the type of output, i.e., JSON, CSV, HTML */\nstatic void\nstandard_output (Logs *logs) {\n  char *csv = NULL, *json = NULL, *html = NULL;\n\n  /* CSV */\n  if (find_output_type (&csv, \"csv\", 1) == 0)\n    output_csv (holder, csv);\n  /* JSON */\n  if (find_output_type (&json, \"json\", 1) == 0)\n    output_json (holder, json);\n  /* HTML */\n  if (find_output_type (&html, \"html\", 1) == 0 || conf.output_format_idx == 0) {\n    if (conf.real_time_html)\n      setup_ws_server (gwswriter, gwsreader);\n    process_html (logs, html);\n  }\n\n  free (csv);\n  free (html);\n  free (json);\n}\n\n/* Output to a terminal */\nstatic void\ncurses_output (Logs *logs) {\n  allocate_data ();\n\n  clean_stdscrn ();\n  render_screens (0);\n  /* will loop in here */\n  get_keys (logs);\n}\n\n/* Set locale */\nstatic void\nset_locale (void) {\n  char *loc_ctype;\n\n  setlocale (LC_ALL, \"\");\n#ifdef ENABLE_NLS\n  bindtextdomain (PACKAGE, LOCALEDIR);\n  textdomain (PACKAGE);\n#endif\n\n  loc_ctype = getenv (\"LC_CTYPE\");\n  if (loc_ctype != NULL)\n    setlocale (LC_CTYPE, loc_ctype);\n  else if ((loc_ctype = getenv (\"LC_ALL\")))\n    setlocale (LC_CTYPE, loc_ctype);\n  else\n    setlocale (LC_CTYPE, \"\");\n}\n\n/* Attempt to get the current name of a terminal or fallback to /dev/tty\n *\n * On error, -1 is returned\n * On success, the new file descriptor is returned */\nstatic int\nopen_term (char **buf) {\n  const char *term = \"/dev/tty\";\n\n  if (!isatty (STDERR_FILENO) || (term = ttyname (STDERR_FILENO)) == 0) {\n    if (!isatty (STDOUT_FILENO) || (term = ttyname (STDOUT_FILENO)) == 0) {\n      if (!isatty (STDIN_FILENO) || (term = ttyname (STDIN_FILENO)) == 0) {\n        term = \"/dev/tty\";\n      }\n    }\n  }\n  *buf = xstrdup (term);\n\n  return open (term, O_RDONLY);\n}\n\n/* Determine if reading from a pipe, and duplicate file descriptors so\n * it doesn't get in the way of curses' normal reading stdin for\n * wgetch() */\nstatic FILE *\nset_pipe_stdin (void) {\n  char *term = NULL;\n  FILE *pipe = stdin;\n  int term_fd = -1;\n  int pipe_fd = -1;\n\n  /* If unable to open a terminal, yet data is being piped, then it's\n   * probably from the cron, or when running as a user that can't open a\n   * terminal. In that case it's still important to set the pipe as\n   * non-blocking.\n   *\n   * Note: If used from the cron, it will require the\n   * user to use a single dash to parse piped data such as:\n   * cat access.log | goaccess - */\n  if ((term_fd = open_term (&term)) == -1)\n    goto out1;\n\n  if ((pipe_fd = dup (fileno (stdin))) == -1)\n    FATAL (\"Unable to dup stdin: %s\", strerror (errno));\n\n  pipe = fdopen (pipe_fd, \"r\");\n  if (freopen (term, \"r\", stdin) == 0)\n    FATAL (\"Unable to open input from TTY\");\n  if (fileno (stdin) != 0)\n    (void) dup2 (fileno (stdin), 0);\n\n  add_dash_filename ();\n\nout1:\n\n  /* no need to set it as non-blocking since we are simply outputting a\n   * static report */\n  if (conf.output_stdout && !conf.real_time_html)\n    goto out2;\n\n  /* Using select(), poll(), or epoll(), etc may be a better choice... */\n  if (pipe_fd == -1)\n    pipe_fd = fileno (pipe);\n  if (fcntl (pipe_fd, F_SETFL, fcntl (pipe_fd, F_GETFL, 0) | O_NONBLOCK) == -1)\n    FATAL (\"Unable to set fd as non-blocking: %s.\", strerror (errno));\n\nout2:\n\n  free (term);\n\n  return pipe;\n}\n\n/* Determine if we are getting data from the stdin, and where are we\n * outputting to. */\nstatic void\nset_io (FILE **pipe) {\n  /* For backwards compatibility, check if we are not outputting to a\n   * terminal or if an output format was supplied */\n  if (!isatty (STDOUT_FILENO) || conf.output_format_idx > 0)\n    conf.output_stdout = 1;\n  /* dup fd if data piped */\n  if (!isatty (STDIN_FILENO))\n    *pipe = set_pipe_stdin ();\n}\n\n/* Process command line options and set some default options. */\nstatic void\nparse_cmd_line (int argc, char **argv) {\n  read_option_args (argc, argv);\n  set_default_static_files ();\n}\n\nstatic void\nhandle_signal_action (GO_UNUSED int sig_number) {\n  if (sig_number == SIGINT)\n    fprintf (stderr, \"\\nSIGINT caught!\\n\");\n  else if (sig_number == SIGTERM)\n    fprintf (stderr, \"\\nSIGTERM caught!\\n\");\n  else if (sig_number == SIGQUIT)\n    fprintf (stderr, \"\\nSIGQUIT caught!\\n\");\n  else\n    fprintf (stderr, \"\\nSignal %d caught!\\n\", sig_number);\n  fprintf (stderr, \"Closing GoAccess...\\n\");\n\n  if (conf.output_stdout && conf.real_time_html)\n    stop_ws_server (gwswriter, gwsreader);\n  conf.stop_processing = 1;\n}\n\nstatic void\nsetup_thread_signals (void) {\n  struct sigaction act;\n\n  act.sa_handler = handle_signal_action;\n  sigemptyset (&act.sa_mask);\n  act.sa_flags = 0;\n\n  sigaction (SIGINT, &act, NULL);\n  sigaction (SIGTERM, &act, NULL);\n  sigaction (SIGQUIT, &act, NULL);\n  signal (SIGPIPE, SIG_IGN);\n\n  /* Restore old signal mask for the main thread */\n  pthread_sigmask (SIG_SETMASK, &oldset, NULL);\n}\n\nstatic void\nblock_thread_signals (void) {\n  /* Avoid threads catching SIGINT/SIGPIPE/SIGTERM/SIGQUIT and handle them in\n   * main thread */\n  sigset_t sigset;\n  sigemptyset (&sigset);\n  sigaddset (&sigset, SIGINT);\n  sigaddset (&sigset, SIGPIPE);\n  sigaddset (&sigset, SIGTERM);\n  sigaddset (&sigset, SIGQUIT);\n  pthread_sigmask (SIG_BLOCK, &sigset, &oldset);\n}\n\n/* Initialize various types of data. */\nstatic Logs *\ninitializer (void) {\n  int i;\n  FILE *pipe = NULL;\n  Logs *logs;\n\n  /* drop permissions right away */\n  if (conf.username)\n    drop_permissions ();\n\n  /* then initialize modules and set */\n  gscroll.current = init_modules ();\n  /* setup to use the current locale */\n  set_locale ();\n\n  parse_browsers_file ();\n\n#ifdef HAVE_GEOLOCATION\n  init_geoip ();\n#endif\n\n  set_io (&pipe);\n\n  /* init glog */\n  if (!(logs = init_logs (conf.filenames_idx)))\n    FATAL (ERR_NO_DATA_PASSED);\n\n  set_signal_data (logs);\n\n  for (i = 0; i < logs->size; ++i)\n    if (logs->glog[i].props.filename[0] == '-' && logs->glog[i].props.filename[1] == '\\0')\n      logs->glog[i].pipe = pipe;\n\n  /* init parsing spinner */\n  parsing_spinner = new_gspinner ();\n  parsing_spinner->processed = &(logs->processed);\n  parsing_spinner->filename = &(logs->filename);\n\n  /* init reverse lookup thread */\n  gdns_init ();\n\n  /* init random number generator */\n  srand (getpid ());\n  init_pre_storage (logs);\n\n  return logs;\n}\n\nstatic char *\ngenerate_fifo_name (void) {\n  char fname[RAND_FN];\n  const char *tmp;\n  char *path;\n  size_t len;\n\n  if ((tmp = getenv (\"TMPDIR\")) == NULL)\n    tmp = \"/tmp\";\n\n  memset (fname, 0, sizeof (fname));\n  genstr (fname, RAND_FN - 1);\n\n  len = snprintf (NULL, 0, \"%s/goaccess_fifo_%s\", tmp, fname) + 1;\n  path = xmalloc (len);\n  snprintf (path, len, \"%s/goaccess_fifo_%s\", tmp, fname);\n\n  return path;\n}\n\nstatic int\nspawn_ws (void) {\n  gwswriter = new_gwswriter ();\n  gwsreader = new_gwsreader ();\n\n  if (!conf.fifo_in)\n    conf.fifo_in = generate_fifo_name ();\n  if (!conf.fifo_out)\n    conf.fifo_out = generate_fifo_name ();\n\n  /* open fifo for read */\n  if ((gwsreader->fd = open_fifoout ()) == -1) {\n    LOG ((\"Unable to open FIFO for read.\\n\"));\n    return 1;\n  }\n\n  if (conf.daemonize)\n    daemonize ();\n\n  return 0;\n}\n\nstatic void\nset_standard_output (void) {\n  int html = 0;\n\n  /* HTML */\n  if (find_output_type (NULL, \"html\", 0) == 0 || conf.output_format_idx == 0)\n    html = 1;\n\n  /* Spawn WebSocket server threads */\n  if (html && conf.real_time_html) {\n    if (spawn_ws ())\n      return;\n  }\n  setup_thread_signals ();\n\n  /* Spawn progress spinner thread */\n  ui_spinner_create (parsing_spinner);\n}\n\n/* Set up curses. */\nstatic void\nset_curses (Logs *logs, int *quit) {\n  const char *err_log = NULL;\n\n  setup_thread_signals ();\n  set_input_opts ();\n  if (conf.no_color || has_colors () == FALSE) {\n    conf.color_scheme = NO_COLOR;\n    conf.no_color = 1;\n  } else {\n    start_color ();\n  }\n  init_colors (0);\n  init_windows (&header_win, &main_win);\n  set_curses_spinner (parsing_spinner);\n\n  /* Display configuration dialog if missing formats and not piping data in */\n  if (!conf.read_stdin && (verify_formats () || conf.load_conf_dlg)) {\n    refresh ();\n    *quit = render_confdlg (logs, parsing_spinner);\n    clear ();\n  }\n  /* Piping data in without log/date/time format */\n  else if (conf.read_stdin && (err_log = verify_formats ())) {\n    FATAL (\"%s\", err_log);\n  }\n  /* straight parsing */\n  else {\n    ui_spinner_create (parsing_spinner);\n  }\n}\n\n/* Where all begins... */\nint\nmain (int argc, char **argv) {\n  Logs *logs = NULL;\n  int quit = 0, ret = 0;\n\n  block_thread_signals ();\n  setup_sigsegv_handler ();\n\n  /* command line/config options */\n  verify_global_config (argc, argv);\n  parse_conf_file (&argc, &argv);\n  parse_cmd_line (argc, argv);\n\n  logs = initializer ();\n\n  /* ignore outputting, process only */\n  if (conf.process_and_exit) {\n  }\n  /* set stdout */\n  else if (conf.output_stdout) {\n    set_standard_output ();\n  }\n  /* set curses */\n  else {\n    set_curses (logs, &quit);\n  }\n\n  /* no log/date/time format set */\n  if (quit)\n    goto clean;\n\n  init_processing ();\n\n  /* main processing event */\n  time (&start_proc);\n\n  if ((ret = parse_log (logs, 0))) {\n    end_spinner ();\n    goto clean;\n  }\n\n  if (conf.stop_processing)\n    goto clean;\n  logs->offset = *logs->processed;\n\n  parse_initial_sort ();\n  allocate_holder ();\n\n  end_spinner ();\n  time (&end_proc);\n\n  set_accumulated_time ();\n  if (conf.process_and_exit) {\n  }\n  /* stdout */\n  else if (conf.output_stdout) {\n    standard_output (logs);\n  }\n  /* curses */\n  else {\n    curses_output (logs);\n  }\n\n  /* clean */\nclean:\n  cleanup (ret);\n\n  return ret ? EXIT_FAILURE : EXIT_SUCCESS;\n}\n"
  },
  {
    "path": "src/goaccess.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GOACCESS_H_INCLUDED\n#define GOACCESS_H_INCLUDED\n\n#include \"ui.h\"\n#include \"dialogs.h\"\n\n#define RAND_FN 7 + 1\n\nextern GSpinner *parsing_spinner;\nextern int active_gdns;         /* kill dns pthread flag */\n\nvoid read_client (void *ptr_data);\n\n#endif\n"
  },
  {
    "path": "src/gslist.c",
    "content": "/**\n * gslist.c -- A Singly link list implementation\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n\n#include \"gslist.h\"\n#include \"gstorage.h\"\n#include \"xmalloc.h\"\n\n/* Instantiate a new Singly linked-list node.\n *\n * On error, aborts if node can't be malloc'd.\n * On success, the GSLList node. */\nGSLList *\nlist_create (void *data) {\n  GSLList *node = xmalloc (sizeof (GSLList));\n  node->data = data;\n  node->next = NULL;\n\n  return node;\n}\n\n/* Create and insert a node after a given node.\n *\n * On error, aborts if node can't be malloc'd.\n * On success, the newly created node. */\nGSLList *\nlist_insert_append (GSLList *node, void *data) {\n  GSLList *newnode;\n  newnode = list_create (data);\n  newnode->next = node->next;\n  node->next = newnode;\n\n  return newnode;\n}\n\n/* Create and insert a node in front of the list.\n *\n * On error, aborts if node can't be malloc'd.\n * On success, the newly created node. */\nGSLList *\nlist_insert_prepend (GSLList *list, void *data) {\n  GSLList *newnode;\n  newnode = list_create (data);\n  newnode->next = list;\n\n  return newnode;\n}\n\n/* Find a node given a pointer to a function that compares them.\n *\n * If comparison fails, NULL is returned.\n * On success, the existing node is returned. */\nGSLList *\nlist_find (GSLList *node, int (*func) (void *, void *), void *data) {\n  while (node) {\n    if (func (node->data, data) > 0)\n      return node;\n    node = node->next;\n  }\n\n  return NULL;\n}\n\nGSLList *\nlist_copy (GSLList *node) {\n  GSLList *list = NULL;\n\n  while (node) {\n    if (!list)\n      list = list_create (i322ptr ((*(uint32_t *) node->data)));\n    else\n      list = list_insert_prepend (list, i322ptr ((*(uint32_t *) node->data)));\n    node = node->next;\n  }\n\n  return list;\n}\n\n/* Remove all nodes from the list.\n *\n * On success, 0 is returned. */\nint\nlist_remove_nodes (GSLList *list) {\n  GSLList *tmp;\n  while (list != NULL) {\n    tmp = list->next;\n    if (list->data)\n      free (list->data);\n    free (list);\n    list = tmp;\n  }\n\n  return 0;\n}\n\n/* Remove the given node from the list.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nlist_remove_node (GSLList **list, GSLList *node) {\n  GSLList **current = list, *next = NULL;\n  for (; *current; current = &(*current)->next) {\n    if ((*current) != node)\n      continue;\n\n    next = (*current)->next;\n    if ((*current)->data)\n      free ((*current)->data);\n    free (*current);\n    *current = next;\n    return 0;\n  }\n  return 1;\n}\n\n/* Iterate over the single linked-list and call function pointer.\n *\n * If function pointer does not return 0, -1 is returned.\n * On success, 0 is returned. */\nint\nlist_foreach (GSLList *node, int (*func) (void *, void *), void *user_data) {\n  while (node) {\n    if (func (node->data, user_data) != 0)\n      return -1;\n    node = node->next;\n  }\n\n  return 0;\n}\n\n/* Count the number of elements on the linked-list.\n *\n * On success, the number of elements is returned. */\nint\nlist_count (GSLList *node) {\n  int count = 0;\n  while (node != 0) {\n    count++;\n    node = node->next;\n  }\n  return count;\n}\n"
  },
  {
    "path": "src/gslist.h",
    "content": "/**\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GSLIST_H_INCLUDED\n#define GSLIST_H_INCLUDED\n\n/* Generic Single linked-list */\ntypedef struct GSLList_ {\n  void *data;\n  struct GSLList_ *next;\n} GSLList;\n\n#define GSLIST_FOREACH(node, data, code) {  \\\n  GSLList *__tmp = node;                    \\\n  while (__tmp) {                           \\\n    (data) = __tmp->data;                   \\\n    code;                                   \\\n    __tmp = __tmp->next;                    \\\n  }}\n\n/* single linked-list */\nGSLList *list_create (void *data);\nGSLList *list_find (GSLList * node, int (*func) (void *, void *), void *data);\nGSLList *list_insert_append (GSLList * node, void *data);\nGSLList *list_insert_prepend (GSLList * list, void *data);\nGSLList *list_copy (GSLList * node);\nint list_count (GSLList * list);\nint list_foreach (GSLList * node, int (*func) (void *, void *), void *user_data);\nint list_remove_node (GSLList ** list, GSLList * node);\nint list_remove_nodes (GSLList * list);\n\n#endif // for #ifndef GSLIST_H\n"
  },
  {
    "path": "src/gstorage.c",
    "content": "/**\n * gstorage.c -- common storage handling\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if !defined __SUNPRO_C\n#include <stdint.h>\n#endif\n#include <stdlib.h>\n#include <string.h>\n#include <stdatomic.h>\n\n#include \"gstorage.h\"\n\n#ifdef HAVE_GEOLOCATION\n#include \"geoip1.h\"\n#endif\n\n#include \"browsers.h\"\n#include \"commons.h\"\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"opesys.h\"\n#include \"ui.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n#ifdef HAVE_GEOLOCATION\n/* Static hash map: country string -> continent string.\n * Populated during parsing, queried during holder construction. */\nstatic\nkhash_t (ss32) *\n  country_continent_map = NULL;\n\nstatic void\nset_country_continent (const char *country, const char *continent) {\n  khint_t k;\n  int ret;\n\n  if (country == NULL || continent == NULL)\n    return;\n  if (country_continent_map == NULL)\n    country_continent_map = kh_init (ss32);\n\n  k = kh_get (ss32, country_continent_map, country);\n  if (k != kh_end (country_continent_map))\n    return;     /* already exists */\n\n  k = kh_put (ss32, country_continent_map, xstrdup (country), &ret);\n  if (ret)\n    kh_val (country_continent_map, k) = xstrdup (continent);\n}\n\nconst char *\nget_continent_for_country (const char *country) {\n  khint_t k;\n  if (country_continent_map == NULL || country == NULL)\n    return NULL;\n  k = kh_get (ss32, country_continent_map, country);\n  if (k == kh_end (country_continent_map))\n    return NULL;\n  return kh_val (country_continent_map, k);\n}\n\nvoid\nfree_country_continent_map (void) {\n  khint_t k;\n  if (country_continent_map == NULL)\n    return;\n  for (k = kh_begin (country_continent_map); k != kh_end (country_continent_map); ++k) {\n    if (!kh_exist (country_continent_map, k))\n      continue;\n    free ((char *) kh_key (country_continent_map, k));\n    free (kh_val (country_continent_map, k));\n  }\n  kh_destroy (ss32, country_continent_map);\n  country_continent_map = NULL;\n}\n#endif\n\n/* private prototypes */\n/* key/data generators for each module */\n\nstatic int gen_visitor_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_404_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_browser_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_host_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_keyphrase_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_os_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_vhost_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_remote_user_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_cache_status_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_referer_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_ref_site_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_request_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_static_request_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_status_code_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_visit_time_key (GKeyData * kdata, GLogItem * logitem);\n#ifdef HAVE_GEOLOCATION\nstatic int gen_geolocation_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_asn_key (GKeyData * kdata, GLogItem * logitem);\n#endif\n/* UMS */\nstatic int gen_mime_type_key (GKeyData * kdata, GLogItem * logitem);\nstatic int gen_tls_type_key (GKeyData * kdata, GLogItem * logitem);\n\n/* insertion metric routines */\nstatic void insert_data (GModule module, GKeyData * kdata);\nstatic void insert_rootmap (GModule module, GKeyData * kdata);\nstatic void insert_root (GModule module, GKeyData * kdata);\nstatic void insert_hit (GModule module, GKeyData * kdata);\nstatic void insert_visitor (GModule module, GKeyData * kdata);\nstatic void insert_bw (GModule module, GKeyData * kdata, uint64_t size);\nstatic void insert_cumts (GModule module, GKeyData * kdata, uint64_t ts);\nstatic void insert_maxts (GModule module, GKeyData * kdata, uint64_t ts);\nstatic void insert_method (GModule module, GKeyData * kdata, const char *data);\nstatic void insert_protocol (GModule module, GKeyData * kdata, const char *data);\nstatic void insert_agent (GModule module, GKeyData * kdata, uint32_t agent_nkey);\n\n/* *INDENT-OFF* */\nconst httpmethods http_methods[] = {\n  { \"OPTIONS\"          , 7  } ,\n  { \"GET\"              , 3  } ,\n  { \"HEAD\"             , 4  } ,\n  { \"POST\"             , 4  } ,\n  { \"PUT\"              , 3  } ,\n  { \"DELETE\"           , 6  } ,\n  { \"TRACE\"            , 5  } ,\n  { \"CONNECT\"          , 7  } ,\n  { \"PATCH\"            , 5  } ,\n  { \"SEARCH\"           , 6  } ,\n  /* WebDav */\n  { \"PROPFIND\"         , 8  } ,\n  { \"PROPPATCH\"        , 9  } ,\n  { \"MKCOL\"            , 5  } ,\n  { \"COPY\"             , 4  } ,\n  { \"MOVE\"             , 4  } ,\n  { \"LOCK\"             , 4  } ,\n  { \"UNLOCK\"           , 6  } ,\n  { \"VERSION-CONTROL\"  , 15 } ,\n  { \"REPORT\"           , 6  } ,\n  { \"CHECKOUT\"         , 8  } ,\n  { \"CHECKIN\"          , 7  } ,\n  { \"UNCHECKOUT\"       , 10 } ,\n  { \"MKWORKSPACE\"      , 11 } ,\n  { \"UPDATE\"           , 6  } ,\n  { \"LABEL\"            , 5  } ,\n  { \"MERGE\"            , 5  } ,\n  { \"BASELINE-CONTROL\" , 16 } ,\n  { \"MKACTIVITY\"       , 10 } ,\n  { \"ORDERPATCH\"       , 10 } ,\n};\nconst size_t http_methods_len = ARRAY_SIZE (http_methods);\n\nconst httpprotocols http_protocols[] = {\n  { \"HTTP/1.0\" , 8 } ,\n  { \"HTTP/1.1\" , 8 } ,\n  { \"HTTP/2\"   , 6 } ,\n  { \"HTTP/3\"   , 6 } ,\n};\nconst size_t http_protocols_len = ARRAY_SIZE (http_protocols);\n\nstatic const GParse paneling[] = {\n  {\n    VISITORS,\n    gen_visitor_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    REQUESTS,\n    gen_request_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    insert_method,\n    insert_protocol,\n    NULL,\n  }, {\n    REQUESTS_STATIC,\n    gen_static_request_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    insert_method,\n    insert_protocol,\n    NULL,\n  }, {\n    NOT_FOUND,\n    gen_404_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    insert_method,\n    insert_protocol,\n    NULL,\n  }, {\n    HOSTS,\n    gen_host_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    insert_agent,\n  }, {\n    OS,\n    gen_os_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    insert_method,\n    insert_protocol,\n    NULL,\n  }, {\n    BROWSERS,\n    gen_browser_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    REFERRERS,\n    gen_referer_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    REFERRING_SITES,\n    gen_ref_site_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    KEYPHRASES,\n    gen_keyphrase_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  },\n#ifdef HAVE_GEOLOCATION\n  {\n    GEO_LOCATION,\n    gen_geolocation_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  },\n  {\n    ASN,\n    gen_asn_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  },\n#endif\n  {\n    STATUS_CODES,\n    gen_status_code_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    VISIT_TIMES,\n    gen_visit_time_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    VIRTUAL_HOSTS,\n    gen_vhost_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    REMOTE_USER,\n    gen_remote_user_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    CACHE_STATUS,\n    gen_cache_status_key,\n    insert_data,\n    NULL,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  }, {\n    MIME_TYPE,\n    gen_mime_type_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL, /*method*/\n    NULL, /*protocol*/\n    NULL, /*agent*/\n  }, {\n    TLS_TYPE,\n    gen_tls_type_key,\n    insert_data,\n    insert_rootmap,\n    insert_hit,\n    insert_visitor,\n    insert_bw,\n    insert_cumts,\n    insert_maxts,\n    NULL,\n    NULL,\n    NULL,\n  },\n};\n/* *INDENT-ON* */\n\n/* Initialize a new GKeyData instance */\nstatic void\nnew_modulekey (GKeyData *kdata) {\n  GKeyData key = {\n    .data = NULL,\n    .data_nkey = 0,\n    .root = NULL,\n    .dhash = 0,\n    .rhash = 0,\n    .root_nkey = 0,\n    .uniq_key = NULL,\n    .uniq_nkey = 0,\n  };\n  *kdata = key;\n}\n\n/* Get a panel from the GParse structure given a module.\n *\n * On error, or if not found, NULL is returned.\n * On success, the panel value is returned. */\nstatic const GParse *\npanel_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (paneling);\n\n  for (i = 0; i < num_panels; i++) {\n    if (paneling[i].module == module)\n      return &paneling[i];\n  }\n  return NULL;\n}\n\n/* Allocate memory for a new GMetrics instance.\n *\n * On success, the newly allocated GMetrics is returned . */\nGMetrics *\nnew_gmetrics (void) {\n  GMetrics *metrics = xcalloc (1, sizeof (GMetrics));\n\n  return metrics;\n}\n\n/* Free memory of a GMetrics object */\nvoid\nfree_gmetrics (GMetrics *metric) {\n  if (metric == NULL)\n    return;\n\n  free (metric->data);\n  free (metric->method);\n  free (metric->protocol);\n  free (metric);\n}\n\n/* Get the module string value given a metric enum value.\n *\n * On error, NULL is returned.\n * On success, the string module value is returned. */\nconst char *\nget_mtr_str (GSMetric metric) {\n  /* String modules to enumerated modules */\n  static const GEnum enum_metrics[] = {\n    {\"MTRC_KEYMAP\", MTRC_KEYMAP},\n    {\"MTRC_ROOTMAP\", MTRC_ROOTMAP},\n    {\"MTRC_DATAMAP\", MTRC_DATAMAP},\n    {\"MTRC_UNIQMAP\", MTRC_UNIQMAP},\n    {\"MTRC_ROOT\", MTRC_ROOT},\n    {\"MTRC_HITS\", MTRC_HITS},\n    {\"MTRC_VISITORS\", MTRC_VISITORS},\n    {\"MTRC_BW\", MTRC_BW},\n    {\"MTRC_CUMTS\", MTRC_CUMTS},\n    {\"MTRC_MAXTS\", MTRC_MAXTS},\n    {\"MTRC_METHODS\", MTRC_METHODS},\n    {\"MTRC_PROTOCOLS\", MTRC_PROTOCOLS},\n    {\"MTRC_AGENTS\", MTRC_AGENTS},\n    {\"MTRC_METADATA\", MTRC_METADATA},\n    {\"MTRC_UNIQUE_KEYS\", MTRC_UNIQUE_KEYS},\n    {\"MTRC_AGENT_KEYS\", MTRC_AGENT_KEYS},\n    {\"MTRC_AGENT_VALS\", MTRC_AGENT_VALS},\n    {\"MTRC_CNT_VALID\", MTRC_CNT_VALID},\n    {\"MTRC_CNT_BW\", MTRC_CNT_BW},\n  };\n  return enum2str (enum_metrics, ARRAY_SIZE (enum_metrics), metric);\n}\n\n/* Allocate space off the heap to store a uint32_t.\n *\n * On success, the newly allocated pointer is returned . */\nuint32_t *\ni322ptr (uint32_t val) {\n  uint32_t *ptr = xmalloc (sizeof (uint32_t));\n  *ptr = val;\n\n  return ptr;\n}\n\n/* Allocate space off the heap to store a uint64_t.\n *\n * On success, the newly allocated pointer is returned . */\nuint64_t *\nuint642ptr (uint64_t val) {\n  uint64_t *ptr = xmalloc (sizeof (uint64_t));\n  *ptr = val;\n\n  return ptr;\n}\n\n/* Set the module totals to calculate percentages. */\nvoid\nset_module_totals (GPercTotals *totals) {\n  totals->bw = ht_sum_bw ();\n  totals->hits = ht_sum_valid ();\n  totals->visitors = ht_get_size_uniqmap (VISITORS);\n}\n\n/* Set numeric metrics for each request given raw data.\n *\n * On success, numeric metrics are set into the given structure. */\nvoid\nset_data_metrics (GMetrics *ometrics, GMetrics **nmetrics, GPercTotals totals) {\n  GMetrics *metrics;\n\n  /* determine percentages for certain fields */\n  float hits_perc = get_percentage (totals.hits, ometrics->hits);\n  float visitors_perc = get_percentage (totals.visitors, ometrics->visitors);\n  float bw_perc = get_percentage (totals.bw, ometrics->nbw);\n\n  metrics = new_gmetrics ();\n\n  /* basic fields */\n  metrics->id = ometrics->id;\n  metrics->hits = ometrics->hits;\n  metrics->visitors = ometrics->visitors;\n\n  /* percentage fields */\n  metrics->hits_perc = hits_perc < 0 ? 0 : hits_perc;\n  metrics->bw_perc = bw_perc < 0 ? 0 : bw_perc;\n  metrics->visitors_perc = visitors_perc < 0 ? 0 : visitors_perc;\n\n  /* bandwidth field */\n  metrics->nbw = ometrics->nbw;\n\n  /* time served fields */\n  if (conf.serve_usecs && ometrics->hits > 0) {\n    metrics->avgts.nts = ometrics->avgts.nts;\n    metrics->cumts.nts = ometrics->cumts.nts;\n    metrics->maxts.nts = ometrics->maxts.nts;\n  }\n\n  /* method field */\n  if (conf.append_method && ometrics->method)\n    metrics->method = ometrics->method;\n\n  /* protocol field */\n  if (conf.append_protocol && ometrics->protocol)\n    metrics->protocol = ometrics->protocol;\n\n  /* data field */\n  metrics->data = ometrics->data;\n\n  *nmetrics = metrics;\n}\n\n/* Increment the overall bandwidth. */\nstatic void\ncount_bw (int numdate, uint64_t resp_size) {\n  ht_inc_cnt_bw (numdate, resp_size);\n}\n\n/* Keep track of all invalid log strings. */\nstatic void\ncount_invalid (GLog *glog, GLogItem *logitem, const char *line) {\n  uint8_t idx = 0;\n  atomic_fetch_add (&glog->invalid, 1);\n  ht_inc_cnt_overall (\"failed_requests\", 1);\n\n  if (conf.invalid_requests_log) {\n    LOG_INVALID ((\"%s\", line));\n  }\n\n  if (logitem->errstr) {\n    pthread_mutex_lock (&glog->error_mutex);\n\n    idx = atomic_load (&glog->log_erridx);\n    if (idx < MAX_LOG_ERRORS) {\n      glog->errors[idx] = xstrdup (logitem->errstr);\n      atomic_store (&glog->log_erridx, idx + 1);\n    }\n\n    pthread_mutex_unlock (&glog->error_mutex);\n  }\n}\n\n/* Count down the number of invalids hits.\n * Note: Upon performing a log test, invalid hits are counted, since\n * no valid records were found, then we count down by the number of\n * tests ran.\n*/\nvoid\nuncount_invalid (GLog *glog) {\n  uint64_t current = atomic_load (&glog->invalid);\n  uint64_t new_val = (current > conf.num_tests) ? (current - conf.num_tests) : 0;\n  atomic_store (&glog->invalid, new_val);\n}\n\n/* Count down the number of processed hits.\n * Note: Upon performing a log test, processed hits are counted, since\n * no valid records were found, then we count down by the number of\n * tests ran.\n*/\nvoid\nuncount_processed (GLog *glog) {\n  lock_spinner ();\n  if (glog->processed > conf.num_tests)\n    glog->processed -= conf.num_tests;\n  else\n    glog->processed = 0;\n  unlock_spinner ();\n}\n\n/* Keep track of all valid log strings. */\nstatic void\ncount_valid (int numdate) {\n  lock_spinner ();\n  ht_inc_cnt_valid (numdate, 1);\n  unlock_spinner ();\n}\n\n/* Keep track of all valid and processed log strings. */\nvoid\ncount_process (GLog *glog) {\n  lock_spinner ();\n  glog->processed++;\n  ht_inc_cnt_overall (\"total_requests\", 1);\n  unlock_spinner ();\n}\n\nvoid\ncount_process_and_invalid (GLog *glog, GLogItem *logitem, const char *line) {\n  count_process (glog);\n  count_invalid (glog, logitem, line);\n}\n\n/* Keep track of all excluded log strings (IPs).\n *\n * If IP not range, 1 is returned.\n * If IP is excluded, 0 is returned. */\nint\nexcluded_ip (GLogItem *logitem) {\n  if (conf.ignore_ip_idx && ip_in_range (logitem->host)) {\n    ht_inc_cnt_overall (\"excluded_ip\", 1);\n    return 0;\n  }\n  return 1;\n}\n\n/* A wrapper function to insert a data keymap string key.\n *\n * If the given key exists, its value is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nstatic int\ninsert_dkeymap (GModule module, GKeyData *kdata) {\n  return ht_insert_keymap (module, kdata->numdate, kdata->dhash, &kdata->cdnkey);\n}\n\n/* A wrapper function to insert a root keymap string key.\n *\n * If the given key exists, its value is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nstatic int\ninsert_rkeymap (GModule module, GKeyData *kdata) {\n  return ht_insert_keymap (module, kdata->numdate, kdata->rhash, &kdata->crnkey);\n}\n\n/* A wrapper function to insert a datamap uint32_t key and string value. */\nstatic void\ninsert_data (GModule module, GKeyData *kdata) {\n  ht_insert_datamap (module, kdata->numdate, kdata->data_nkey, kdata->data, kdata->cdnkey);\n}\n\n/* A wrapper function to insert a uniqmap string key.\n *\n * If the given key exists, 0 is returned.\n * On error, 0 is returned.\n * On success the value of the key inserted is returned */\nstatic int\ninsert_uniqmap (GModule module, GKeyData *kdata, uint32_t uniq_nkey) {\n  return ht_insert_uniqmap (module, kdata->numdate, kdata->data_nkey, uniq_nkey);\n}\n\n/* A wrapper function to insert a rootmap uint32_t key from the keymap\n * store mapped to its string value. */\nstatic void\ninsert_rootmap (GModule module, GKeyData *kdata) {\n  ht_insert_rootmap (module, kdata->numdate, kdata->root_nkey, kdata->root, kdata->crnkey);\n}\n\n/* A wrapper function to insert a data uint32_t key mapped to the\n * corresponding uint32_t root key. */\nstatic void\ninsert_root (GModule module, GKeyData *kdata) {\n  ht_insert_root (module, kdata->numdate, kdata->data_nkey, kdata->root_nkey, kdata->cdnkey,\n                  kdata->crnkey);\n}\n\n/* A wrapper function to increase hits counter from an uint32_t key. */\nstatic void\ninsert_hit (GModule module, GKeyData *kdata) {\n  ht_insert_hits (module, kdata->numdate, kdata->data_nkey, 1, kdata->cdnkey);\n  ht_insert_meta_data (module, kdata->numdate, \"hits\", 1);\n}\n\n/* A wrapper function to increase visitors counter from an uint32_t\n * key. */\nstatic void\ninsert_visitor (GModule module, GKeyData *kdata) {\n  ht_insert_visitor (module, kdata->numdate, kdata->data_nkey, 1, kdata->cdnkey);\n  ht_insert_meta_data (module, kdata->numdate, \"visitors\", 1);\n}\n\n/* A wrapper function to increases bandwidth counter from an uint32_t\n * key. */\nstatic void\ninsert_bw (GModule module, GKeyData *kdata, uint64_t size) {\n  ht_insert_bw (module, kdata->numdate, kdata->data_nkey, size, kdata->cdnkey);\n  ht_insert_meta_data (module, kdata->numdate, \"bytes\", size);\n}\n\n/* A wrapper call to increases cumulative time served counter\n * from an uint32_t key. */\nstatic void\ninsert_cumts (GModule module, GKeyData *kdata, uint64_t ts) {\n  ht_insert_cumts (module, kdata->numdate, kdata->data_nkey, ts, kdata->cdnkey);\n  ht_insert_meta_data (module, kdata->numdate, \"cumts\", ts);\n}\n\n/* A wrapper call to insert the maximum time served counter from\n * an uint32_t key. */\nstatic void\ninsert_maxts (GModule module, GKeyData *kdata, uint64_t ts) {\n  ht_insert_maxts (module, kdata->numdate, kdata->data_nkey, ts, kdata->cdnkey);\n  ht_insert_meta_data (module, kdata->numdate, \"maxts\", ts);\n}\n\nstatic void\ninsert_method (GModule module, GKeyData *kdata, const char *data) {\n  ht_insert_method (module, kdata->numdate, kdata->data_nkey, data ? data : \"---\", kdata->cdnkey);\n}\n\n/* A wrapper call to insert a method given an uint32_t key and string\n * value. */\nstatic void\ninsert_protocol (GModule module, GKeyData *kdata, const char *data) {\n  ht_insert_protocol (module, kdata->numdate, kdata->data_nkey, data ? data : \"---\", kdata->cdnkey);\n}\n\n/* A wrapper call to insert an agent for a hostname given an uint32_t\n * key and uint32_t value.  */\nstatic void\ninsert_agent (GModule module, GKeyData *kdata, uint32_t agent_nkey) {\n  ht_insert_agent (module, kdata->numdate, kdata->data_nkey, agent_nkey);\n}\n\n/* The following generates a unique key to identity unique requests.\n * The key is made out of the actual request, and if available, the\n * method and the protocol.  Note that for readability, doing a simple\n * snprintf/sprintf should suffice, however, memcpy is the fastest\n * solution\n *\n * On success the new unique request key is returned */\nstatic char *\ngen_unique_req_key (GLogItem *logitem) {\n  char *key = NULL;\n  size_t s1 = 0, s2 = 0, s3 = 0, nul = 1, sep = 0;\n\n  /* nothing to do */\n  if (!conf.append_method && !conf.append_protocol)\n    return xstrdup (logitem->req);\n  /* still nothing to do */\n  if (!logitem->method && !logitem->protocol)\n    return xstrdup (logitem->req);\n\n  s1 = strlen (logitem->req);\n  if (logitem->method && conf.append_method) {\n    s2 = strlen (logitem->method);\n    nul++;\n  }\n  if (logitem->protocol && conf.append_protocol) {\n    s3 = strlen (logitem->protocol);\n    nul++;\n  }\n\n  /* includes terminating null */\n  key = xcalloc (s1 + s2 + s3 + nul, sizeof (char));\n  /* append request */\n  memcpy (key, logitem->req, s1);\n\n  if (logitem->method && conf.append_method) {\n    key[s1] = '|';\n    sep++;\n    memcpy (key + s1 + sep, logitem->method, s2 + 1);\n  }\n  if (logitem->protocol && conf.append_protocol) {\n    key[s1 + s2 + sep] = '|';\n    sep++;\n    memcpy (key + s1 + s2 + sep, logitem->protocol, s3 + 1);\n  }\n\n  return key;\n}\n\n/* Append the query string to the request, and therefore, it modifies\n * the original logitem->req */\nstatic void\nappend_query_string (char **req, const char *qstr) {\n  char *r;\n  size_t s1, s2, qm = 0;\n\n  s1 = strlen (*req);\n  s2 = strlen (qstr);\n\n  /* add '?' between the URL and the query string */\n  if (*qstr != '?')\n    qm = 1;\n\n  r = xmalloc (s1 + s2 + qm + 1);\n  memcpy (r, *req, s1);\n  if (qm)\n    r[s1] = '?';\n  memcpy (r + s1 + qm, qstr, s2 + 1);\n\n  free (*req);\n  *req = r;\n}\n\n/* A wrapper to assign the given data key and the data item to the key\n * data structure */\nstatic void\nget_kdata (GKeyData *kdata, const char *data_key, const char *data) {\n  /* inserted in datamap */\n  kdata->data = data;\n  /* inserted in keymap */\n  kdata->dhash = djb2 ((const unsigned char *) data_key);\n}\n\n/* A wrapper to assign the given data key and the data item to the key\n * data structure */\nstatic void\nget_kroot (GKeyData *kdata, const char *root_key, const char *root) {\n  /* inserted in datamap */\n  kdata->root = root;\n  /* inserted in keymap */\n  kdata->rhash = djb2 ((const unsigned char *) root_key);\n}\n\n/* Generate a visitor's key given the date specificity. For instance,\n * if the specificity is set to hours, then a generated key would\n * look like: 03/Jan/2016:09 */\nstatic void\nset_spec_visitor_key (char **fdate, const char *ftime) {\n  size_t dlen = 0, tlen = 0, idx = 0;\n  char *key = NULL, *tkey = NULL, *pch = NULL;\n\n  tkey = xstrdup (ftime);\n  if (conf.date_spec_hr == 1 && (pch = strchr (tkey, ':')) && (pch - tkey) > 0)\n    *pch = '\\0';\n  else if (conf.date_spec_hr == 2 && (pch = strrchr (tkey, ':')) && (pch - tkey) > 0) {\n    *pch = '\\0';\n    if ((pch = strchr (tkey, ':')) && (idx = pch - tkey))\n      memmove (&tkey[idx], &tkey[idx + 1], strlen (tkey) - idx);\n  }\n\n  dlen = strlen (*fdate);\n  tlen = strlen (tkey);\n\n  key = xmalloc (dlen + tlen + 1);\n  memcpy (key, *fdate, dlen);\n  memcpy (key + dlen, tkey, tlen + 1);\n\n  free (*fdate);\n  free (tkey);\n  *fdate = key;\n}\n\n/* Generate a unique key for the visitors panel from the given logitem\n * structure and assign it to the output key data structure.\n *\n * On error, or if no date is found, 1 is returned.\n * On success, the date key is assigned to our key data structure.\n */\nstatic int\ngen_visitor_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->date || !logitem->time)\n    return 1;\n\n  /* Append time specificity to date */\n  if (conf.date_spec_hr)\n    set_spec_visitor_key (&logitem->date, logitem->time);\n\n  get_kdata (kdata, logitem->date, logitem->date);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* Generate a unique key for the requests panel from the given logitem\n * structure and assign it to out key data structure.\n *\n * On success, the generated request key is assigned to our key data\n * structure.\n */\nstatic int\ngen_req_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->req)\n    return 1;\n\n  if (logitem->qstr)\n    append_query_string (&logitem->req, logitem->qstr);\n  logitem->req_key = gen_unique_req_key (logitem);\n\n  get_kdata (kdata, logitem->req_key, logitem->req);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the request panel.\n *\n * On error, or if the request is static or a 404, 1 is returned.\n * On success, the generated request key is assigned to our key data\n * structure.\n */\nstatic int\ngen_request_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->req || logitem->is_404 || logitem->is_static)\n    return 1;\n\n  return gen_req_key (kdata, logitem);\n}\n\n/* A wrapper to generate a unique key for the request panel.\n *\n * On error, or if the request is not a 404, 1 is returned.\n * On success, the generated request key is assigned to our key data\n * structure. */\nstatic int\ngen_404_key (GKeyData *kdata, GLogItem *logitem) {\n  if (logitem->req && logitem->is_404)\n    return gen_req_key (kdata, logitem);\n  return 1;\n}\n\n/* A wrapper to generate a unique key for the request panel.\n *\n * On error, or if the request is not a static request, 1 is returned.\n * On success, the generated request key is assigned to our key data\n * structure. */\nstatic int\ngen_static_request_key (GKeyData *kdata, GLogItem *logitem) {\n  if (logitem->req && logitem->is_static)\n    return gen_req_key (kdata, logitem);\n  return 1;\n}\n\n/* A wrapper to generate a unique key for the virtual host panel.\n *\n * On error, 1 is returned.\n * On success, the generated vhost key is assigned to our key data\n * structure. */\nstatic int\ngen_vhost_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->vhost)\n    return 1;\n\n  get_kdata (kdata, logitem->vhost, logitem->vhost);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the virtual host panel.\n *\n * On error, 1 is returned.\n * On success, the generated userid key is assigned to our key data\n * structure. */\nstatic int\ngen_remote_user_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->userid)\n    return 1;\n\n  get_kdata (kdata, logitem->userid, logitem->userid);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the cache status panel.\n *\n * On error, 1 is returned.\n * On success, the generated cache status key is assigned to our key data\n * structure. */\nstatic int\ngen_cache_status_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->cache_status)\n    return 1;\n\n  get_kdata (kdata, logitem->cache_status, logitem->cache_status);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the hosts panel.\n *\n * On error, 1 is returned.\n * On success, the generated host key is assigned to our key data\n * structure. */\nstatic int\ngen_host_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->host)\n    return 1;\n\n  get_kdata (kdata, logitem->host, logitem->host);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* Add browsers/OSs our logitem structure and reuse crawlers if applicable. */\nvoid\nset_browser_os (GLogItem *logitem) {\n  char *a1 = xstrdup (logitem->agent), *a2 = xstrdup (logitem->agent);\n  char browser_type[BROWSER_TYPE_LEN] = \"\";\n  char os_type[OPESYS_TYPE_LEN] = \"\";\n\n  logitem->browser = verify_browser (a1, browser_type);\n  logitem->browser_type = xstrdup (browser_type);\n\n  if (!strncmp (logitem->browser_type, \"Crawlers\", 8) ||\n      !strncmp (logitem->browser_type, \"Others\", 6)) {\n    logitem->os = xstrdup (logitem->browser);\n    logitem->os_type = xstrdup (browser_type);\n  } else {\n    logitem->os = verify_os (a2, os_type);\n    logitem->os_type = xstrdup (os_type);\n  }\n\n  free (a1);\n  free (a2);\n}\n\n/* Generate a browser unique key for the browser's panel given a user\n * agent and assign the browser type/category as a root element.\n *\n * On error, 1 is returned.\n * On success, the generated browser key is assigned to our key data\n * structure. */\nstatic int\ngen_browser_key (GKeyData *kdata, GLogItem *logitem) {\n  if (logitem->agent == NULL || *logitem->agent == '\\0')\n    return 1;\n  if (logitem->browser == NULL || *logitem->browser == '\\0')\n    return 1;\n\n  /* e.g., Firefox 11.12 */\n  get_kdata (kdata, logitem->browser, logitem->browser);\n\n  /* Firefox */\n  get_kroot (kdata, logitem->browser_type, logitem->browser_type);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* Generate an operating system unique key for the OS' panel given a\n * user agent and assign the OS type/category as a root element.\n *\n * On error, 1 is returned.\n * On success, the generated OS key is assigned to our key data\n * structure. */\nstatic int\ngen_os_key (GKeyData *kdata, GLogItem *logitem) {\n  if (logitem->agent == NULL || *logitem->agent == '\\0')\n    return 1;\n  if (logitem->os == NULL || *logitem->os == '\\0')\n    return 1;\n\n  /* e.g., GNU+Linux,Ubuntu 10.12 */\n  get_kdata (kdata, logitem->os, logitem->os);\n\n  /* GNU+Linux */\n  get_kroot (kdata, logitem->os_type, logitem->os_type);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* Determine if the given token starts with a valid MIME major type.\n *\n * If not valid, NULL is returned.\n * If valid, the appropriate constant string is returned. */\nstatic const char *\nextract_mimemajor (const char *token) {\n  const char *lookfor;\n\n  /* official IANA registries as per https://www.iana.org/assignments/media-types/ */\n\n  if ((lookfor = \"application\", !strncmp (token, lookfor, 11)) ||\n      (lookfor = \"audio\", !strncmp (token, lookfor, 5)) ||\n      (lookfor = \"font\", !strncmp (token, lookfor, 4)) ||\n      /* unlikely */\n      (lookfor = \"example\", !strncmp (token, lookfor, 7)) ||\n      (lookfor = \"image\", !strncmp (token, lookfor, 5)) ||\n      /* unlikely */\n      (lookfor = \"message\", !strncmp (token, lookfor, 7)) ||\n      (lookfor = \"model\", !strncmp (token, lookfor, 5)) ||\n      (lookfor = \"multipart\", !strncmp (token, lookfor, 9)) ||\n      (lookfor = \"text\", !strncmp (token, lookfor, 4)) ||\n      (lookfor = \"video\", !strncmp (token, lookfor, 5))\n    )\n    return lookfor;\n  return NULL;\n}\n\n/* UMS: generate an Mime-Type unique key\n *\n * On error, 1 is returned.\n * On success, the generated key is assigned to our key data structure.\n */\nstatic int\ngen_mime_type_key (GKeyData *kdata, GLogItem *logitem) {\n  const char *major = NULL;\n\n  if (!logitem->mime_type)\n    return 1;\n\n  /* redirects and the like only register as \"-\", ignore those */\n  major = extract_mimemajor (logitem->mime_type);\n  if (!major)\n    return 1;\n\n  get_kdata (kdata, logitem->mime_type, logitem->mime_type);\n  kdata->numdate = logitem->numdate;\n\n  get_kroot (kdata, major, major);\n\n  return 0;\n}\n\n/* Determine if the given token starts with the usual TLS/SSL result string.\n *\n * If not valid, NULL is returned.\n * If valid, the appropriate constant string is returned. */\nstatic const char *\nextract_tlsmajor (const char *token) {\n  const char *lookfor;\n\n  if ((lookfor = \"SSLv3\", !strncmp (token, lookfor, 5)) ||\n      (lookfor = \"TLSv1.1\", !strncmp (token, lookfor, 7)) ||\n      (lookfor = \"TLSv1.2\", !strncmp (token, lookfor, 7)) ||\n      (lookfor = \"TLSv1.3\", !strncmp (token, lookfor, 7)) ||\n      (lookfor = \"TLS1.1\", !strncmp (token, lookfor, 6)) ||\n      (lookfor = \"TLS1.2\", !strncmp (token, lookfor, 6)) ||\n      (lookfor = \"TLS1.3\", !strncmp (token, lookfor, 6)) ||\n      /* Nope, it's not 1.0 */\n      (lookfor = \"TLSv1\", !strncmp (token, lookfor, 5)) ||\n      (lookfor = \"TLS1\", !strncmp (token, lookfor, 4)))\n    return lookfor;\n  return NULL;\n}\n\n/* UMS: generate a TLS settings unique key\n *\n * On error, 1 is returned.\n * On success, the generated key is assigned to our key data structure.\n */\nstatic int\ngen_tls_type_key (GKeyData *kdata, GLogItem *logitem) {\n  const char *tls;\n  size_t tlen = 0, clen = 0;\n\n  if (!logitem->tls_type)\n    return 1;\n\n  /* '-' means no TLS at all, just ignore for the panel? */\n  tls = extract_tlsmajor (logitem->tls_type);\n\n  if (!tls)\n    return 1;\n\n  kdata->numdate = logitem->numdate;\n  if (!logitem->tls_cypher) {\n    get_kroot (kdata, tls, tls);\n    get_kdata (kdata, tls, tls);\n    return 0;\n  }\n\n  clen = strlen (logitem->tls_cypher);\n  tlen = strlen (tls);\n\n  logitem->tls_type_cypher = xmalloc (tlen + clen + 2);\n  memcpy (logitem->tls_type_cypher, tls, tlen);\n  logitem->tls_type_cypher[tlen] = '/';\n  /* includes terminating null */\n  memcpy (logitem->tls_type_cypher + tlen + 1, logitem->tls_cypher, clen + 1);\n\n  get_kdata (kdata, logitem->tls_type_cypher, logitem->tls_type_cypher);\n  get_kroot (kdata, tls, tls);\n\n  return 0;\n}\n\n\n/* A wrapper to generate a unique key for the referrers panel.\n *\n * On error, 1 is returned.\n * On success, the generated referrer key is assigned to our key data\n * structure. */\nstatic int\ngen_referer_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->ref)\n    return 1;\n\n  get_kdata (kdata, logitem->ref, logitem->ref);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the referring sites panel.\n *\n * On error, 1 is returned.\n * On success, the generated referring site key is assigned to our key data\n * structure. */\nstatic int\ngen_ref_site_key (GKeyData *kdata, GLogItem *logitem) {\n  if (logitem->site[0] == '\\0')\n    return 1;\n\n  get_kdata (kdata, logitem->site, logitem->site);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the keyphrases panel.\n *\n * On error, 1 is returned.\n * On success, the generated keyphrase key is assigned to our key data\n * structure. */\nstatic int\ngen_keyphrase_key (GKeyData *kdata, GLogItem *logitem) {\n  if (!logitem->keyphrase)\n    return 1;\n\n  get_kdata (kdata, logitem->keyphrase, logitem->keyphrase);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n#ifdef HAVE_GEOLOCATION\n/* Extract geolocation for the given host.\n *\n * On error, 1 is returned.\n * On success, the extracted continent, country, and city are set and 0 is\n * returned. */\nstatic int\nextract_geolocation (GLogItem *logitem, char *continent, char *country, char *city) {\n  char asn_unused[ASN_LEN] = \"\";\n\n  if (!is_geoip_resource ())\n    return 1;\n\n  set_geolocation (logitem->host, continent, country, city, asn_unused);\n\n  return 0;\n}\n#endif\n\n/* A wrapper to generate a unique key for the geolocation panel.\n *\n * On error, 1 is returned.\n * On success, the generated geolocation key is assigned to our key\n * data structure. */\n#ifdef HAVE_GEOLOCATION\nstatic int\ngen_geolocation_key (GKeyData *kdata, GLogItem *logitem) {\n  char continent[CONTINENT_LEN] = \"\";\n  char country[COUNTRY_LEN] = \"\";\n  char city[CITY_LEN] = \"\";\n\n  if (extract_geolocation (logitem, continent, country, city) == 1)\n    return 1;\n\n  if (country[0] == '\\0' && city[0] == '\\0')\n    return 1;\n\n  if (country[0] != '\\0')\n    logitem->country = xstrdup (country);\n\n  if (continent[0] != '\\0')\n    logitem->continent = xstrdup (continent);\n\n  if (city[0] != '\\0')\n    logitem->city = xstrdup (city);\n\n  /* Record the country-to-continent mapping for holder construction */\n  if (logitem->country && logitem->continent)\n    set_country_continent (logitem->country, logitem->continent);\n\n  /* If city is available, use city as data and country as root (3-level).\n   * Otherwise, use country as data and continent as root (2-level). */\n  if (conf.has_geocity && logitem->city && logitem->country) {\n    get_kdata (kdata, logitem->city, logitem->city);\n    get_kroot (kdata, logitem->country, logitem->country);\n  } else if (logitem->country) {\n    get_kdata (kdata, logitem->country, logitem->country);\n    if (logitem->continent)\n      get_kroot (kdata, logitem->continent, logitem->continent);\n  } else {\n    return 1;\n  }\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* A wrapper to generate a unique key for the ASN panel.\n *\n * On error, 1 is returned.\n * On success, the generated keyphrase key is assigned to our key data\n * structure. */\nstatic int\ngen_asn_key (GKeyData *kdata, GLogItem *logitem) {\n  char asn[ASN_LEN] = \"\";\n\n  if (!is_geoip_resource ())\n    return 1;\n\n  geoip_asn (logitem->host, asn);\n\n  if (asn[0] != '\\0')\n    logitem->asn = xstrdup (asn);\n\n  get_kdata (kdata, logitem->asn, logitem->asn);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n#endif\n\n/* A wrapper to generate a unique key for the status code panel.\n *\n * On error, 1 is returned.\n * On success, the generated status code key is assigned to our key\n * data structure. */\nstatic int\ngen_status_code_key (GKeyData *kdata, GLogItem *logitem) {\n  const char *status = NULL, *type = NULL;\n\n  if (logitem->status == -1)\n    return 1;\n\n  status = verify_status_code (logitem->status);\n  type = verify_status_code_type (logitem->status);\n\n  get_kdata (kdata, status, status);\n  get_kroot (kdata, type, type);\n  kdata->numdate = logitem->numdate;\n\n  return 0;\n}\n\n/* Given a time string containing at least %H:%M, extract either the\n * tenth of a minute or an hour.\n *\n * On error, the given string is not modified.\n * On success, the conf specificity is extracted. */\nstatic void\nparse_time_specificity_string (char *hmark, char *ftime) {\n  /* tenth of a minute specificity - e.g., 18:2 */\n  if (conf.hour_spec_min && hmark[1] != '\\0') {\n    hmark[2] = '\\0';\n    return;\n  }\n\n  /* hour specificity (default) */\n  if ((hmark - ftime) > 0)\n    *hmark = '\\0';\n}\n\n/* A wrapper to generate a unique key for the time distribution panel.\n *\n * On error, 1 is returned.\n * On success, the generated time key is assigned to our key data\n * structure. */\nstatic int\ngen_visit_time_key (GKeyData *kdata, GLogItem *logitem) {\n  char *hmark = NULL;\n  if (!logitem->time)\n    return 1;\n\n  /* it must be a string containing the hour. */\n  if ((hmark = strchr (logitem->time, ':')))\n    parse_time_specificity_string (hmark, logitem->time);\n\n  kdata->numdate = logitem->numdate;\n  get_kdata (kdata, logitem->time, logitem->time);\n\n  return 0;\n}\n\nvoid\ninsert_methods_protocols (void) {\n  size_t i;\n  for (i = 0; i < http_methods_len; ++i)\n    ht_insert_meth_proto (http_methods[i].method);\n  for (i = 0; i < http_protocols_len; ++i)\n    ht_insert_meth_proto (http_protocols[i].protocol);\n  ht_insert_meth_proto (\"---\");\n}\n\n/* Determine if 404s need to be added to the unique visitors count.\n *\n * If it needs to be added, 0 is returned else 1 is returned. */\nstatic int\ninclude_uniq (GLogItem *logitem) {\n  int u = conf.client_err_to_unique_count;\n\n  if (!logitem->status || (logitem->status / 100) != 4 || (u && (logitem->status / 100) == 4))\n    return 1;\n  return 0;\n}\n\n/* Determine which data metrics need to be set and set them. */\nstatic void\nset_datamap (GLogItem *logitem, GKeyData *kdata, const GParse *parse) {\n  GModule module;\n  module = parse->module;\n\n  /* insert data */\n  parse->datamap (module, kdata);\n\n  /* insert rootmap and root-data map */\n  if (parse->rootmap && kdata->root) {\n    parse->rootmap (module, kdata);\n    insert_root (module, kdata);\n  }\n  /* insert hits */\n  if (parse->hits)\n    parse->hits (module, kdata);\n  /* insert visitors */\n  if (parse->visitor && kdata->uniq_nkey == 1)\n    parse->visitor (module, kdata);\n  /* insert bandwidth */\n  if (parse->bw)\n    parse->bw (module, kdata, logitem->resp_size);\n  /* insert averages time served */\n  if (parse->cumts)\n    parse->cumts (module, kdata, logitem->serve_time);\n  /* insert averages time served */\n  if (parse->maxts)\n    parse->maxts (module, kdata, logitem->serve_time);\n  /* insert method */\n  if (parse->method && conf.append_method)\n    parse->method (module, kdata, logitem->method);\n  /* insert protocol */\n  if (parse->protocol && conf.append_protocol)\n    parse->protocol (module, kdata, logitem->protocol);\n  /* insert agent */\n  if (parse->agent && conf.list_agents)\n    parse->agent (module, kdata, logitem->agent_nkey);\n}\n\n/* Set data mapping and metrics. */\nstatic void\nmap_log (GLogItem *logitem, const GParse *parse, GModule module) {\n  GKeyData kdata;\n\n  new_modulekey (&kdata);\n  /* set key data into out structure */\n  if (parse->key_data (&kdata, logitem) == 1)\n    return;\n\n  /* each module requires a data key/value */\n  if (parse->datamap && kdata.data)\n    kdata.data_nkey = insert_dkeymap (module, &kdata);\n\n  /* each module contains a uniq visitor key/value */\n  if (parse->visitor && logitem->uniq_key && include_uniq (logitem))\n    kdata.uniq_nkey = insert_uniqmap (module, &kdata, logitem->uniq_nkey);\n\n  /* root keys are optional */\n  if (parse->rootmap && kdata.root)\n    kdata.root_nkey = insert_rkeymap (module, &kdata);\n\n  /* each module requires a root key/value */\n  if (parse->datamap && kdata.data)\n    set_datamap (logitem, &kdata, parse);\n}\n\nstatic void\nins_agent_key_val (GLogItem *logitem, uint32_t numdate) {\n  logitem->agent_nkey = ht_insert_agent_key (numdate, logitem->agent_hash);\n  /* insert UA key and get a numeric value */\n  if (logitem->agent_nkey != 0) {\n    /* insert a numeric key and map it to a UA string */\n    ht_insert_agent_value (numdate, logitem->agent_nkey, logitem->agent);\n  }\n}\n\nstatic int\nclean_old_data_by_date (uint32_t numdate) {\n  uint32_t *dates = NULL;\n  uint32_t idx, len = 0;\n\n  if (ht_get_size_dates () < conf.keep_last)\n    return 1;\n\n  dates = get_sorted_dates (&len);\n\n  /* If currently parsed date is in the set of dates, keep inserting it.\n   * We count down since more likely the currently parsed date is at the last pos */\n  for (idx = len; idx-- > 0;) {\n    if (dates[idx] == numdate) {\n      free (dates);\n      return 1;\n    }\n  }\n\n  /* ignore older dates */\n  if (dates[0] > numdate) {\n    free (dates);\n    return -1;\n  }\n\n  /* invalidate the first date we inserted then */\n  invalidate_date (dates[0]);\n  /* rebuild all existing dates and let new data\n   * be added upon existing cache */\n  rebuild_rawdata_cache ();\n  free (dates);\n\n  return 0;\n}\n\n/* Process a log line and set the data into the corresponding data\n * structure. */\nvoid\nprocess_log (GLogItem *logitem) {\n  GModule module;\n  const GParse *parse = NULL;\n  size_t idx = 0;\n  uint32_t numdate = logitem->numdate;\n\n  if (conf.keep_last > 0 && clean_old_data_by_date (numdate) == -1)\n    return;\n\n  /* insert date and start partitioning tables */\n  if (ht_insert_date (numdate) == -1)\n    return;\n\n  /* Insert one unique visitor key per request to avoid the\n   * overhead of storing one key per module */\n  if ((logitem->uniq_nkey = ht_insert_unique_key (numdate, logitem->uniq_key)) == 0)\n    return;\n\n  /* If we need to store user agents per IP, then we store them and retrieve\n   * its numeric key.\n   * It maintains two maps, one for key -> value, and another\n   * map for value -> key*/\n  if (conf.list_agents)\n    ins_agent_key_val (logitem, numdate);\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    if (!(parse = panel_lookup (module)))\n      continue;\n    map_log (logitem, parse, module);\n  }\n\n  count_bw (numdate, logitem->resp_size);\n  /* don't ignore line but neither count as valid */\n  if (logitem->ignorelevel != IGNORE_LEVEL_REQ)\n    count_valid (numdate);\n}\n"
  },
  {
    "path": "src/gstorage.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GSTORAGE_H_INCLUDED\n#define GSTORAGE_H_INCLUDED\n\n#include \"commons.h\"\n#include \"parser.h\"\n\n#define DB_PATH \"/tmp\"\n\n#define GAMTRC_TOTAL 8\n/* Enumerated App Metrics */\ntypedef enum GAMetric_ {\n  MTRC_DATES,\n  MTRC_SEQS,\n  MTRC_CNT_OVERALL,\n  MTRC_HOSTNAMES,\n  MTRC_LAST_PARSE,\n  MTRC_JSON_LOGFMT,\n  MTRC_METH_PROTO,\n  MTRC_DB_PROPS,\n} GAMetric;\n\n/* Enumerated Storage Metrics */\ntypedef enum GSMetricType_ {\n  /* uint32_t key - uint32_t val */\n  MTRC_TYPE_II32,\n  /* uint32_t key - string val */\n  MTRC_TYPE_IS32,\n  /* uint32_t key - uint64_t val */\n  MTRC_TYPE_IU64,\n  /* string key   - uint32_t val */\n  MTRC_TYPE_SI32,\n  /* string key   - uint8_t val */\n  MTRC_TYPE_SI08,\n  /* uint32_t key - uint8_t val */\n  MTRC_TYPE_II08,\n  /* string key   - string val */\n  MTRC_TYPE_SS32,\n  /* uint32_t key - GSLList val */\n  MTRC_TYPE_IGSL,\n  /* string key   - uint64_t val */\n  MTRC_TYPE_SU64,\n  /* uint32_t key - GKHashStorage_ val */\n  MTRC_TYPE_IGKH,\n  /* uint64_t key - uint32_t val */\n  MTRC_TYPE_U648,\n  /* uint64_t key - GLastParse val */\n  MTRC_TYPE_IGLP,\n} GSMetricType;\n\ntypedef struct GKHashMetric_ {\n  union {\n    GSMetric storem;\n    GAMetric dbm;\n  } metric;\n  GSMetricType type;\n  void *(*alloc) (void);\n  void (*des) (void *, uint8_t free_data);\n  void (*del) (void *, uint8_t free_data);\n  uint8_t free_data:1;\n  void *hash;\n  const char *filename;\n} GKHashMetric;\n\n/* Each record contains a data value, i.e., Windows XP, and it may contain a\n * root value, i.e., Windows, and a unique key which is the combination of\n * date, IP and user agent */\ntypedef struct GKeyData_ {\n  const void *data;\n  uint32_t dhash;\n  uint32_t data_nkey;\n  uint32_t cdnkey;              /* cache data nkey */\n\n  uint32_t rhash;\n  const void *root;\n  const void *root_key;\n  uint32_t root_nkey;\n  uint32_t crnkey;              /* cache root nkey */\n\n  void *uniq_key;\n  uint32_t uniq_nkey;\n\n  uint32_t numdate;\n} GKeyData;\n\ntypedef struct GParse_ {\n  GModule module;\n  int (*key_data) (GKeyData * kdata, GLogItem * logitem);\n\n  /* data field */\n  void (*datamap) (GModule module, GKeyData * kdata);\n  void (*rootmap) (GModule module, GKeyData * kdata);\n  void (*hits) (GModule module, GKeyData * kdata);\n  void (*visitor) (GModule module, GKeyData * kdata);\n  void (*bw) (GModule module, GKeyData * kdata, uint64_t size);\n  void (*cumts) (GModule module, GKeyData * kdata, uint64_t ts);\n  void (*maxts) (GModule module, GKeyData * kdata, uint64_t ts);\n  void (*method) (GModule module, GKeyData * kdata, const char *data);\n  void (*protocol) (GModule module, GKeyData * kdata, const char *data);\n  void (*agent) (GModule module, GKeyData * kdata, uint32_t agent_nkey);\n} GParse;\n\ntypedef struct httpmethods_ {\n  const char *method;\n  int len;\n} httpmethods;\n\ntypedef struct httpprotocols_ {\n  const char *protocol;\n  int len;\n} httpprotocols;\n\nextern const httpmethods http_methods[];\nextern const httpprotocols http_protocols[];\nextern const size_t http_methods_len;\nextern const size_t http_protocols_len;\n\nconst char *get_mtr_str (GSMetric metric);\nint excluded_ip (GLogItem * logitem);\nuint32_t *i322ptr (uint32_t val);\nuint64_t *uint642ptr (uint64_t val);\nvoid count_process_and_invalid (GLog * glog, GLogItem * logitem, const char *line);\nvoid count_process (GLog * glog);\nvoid free_gmetrics (GMetrics * metric);\nvoid insert_methods_protocols (void);\nvoid process_log (GLogItem * logitem);\nvoid set_browser_os (GLogItem * logitem);\nvoid set_data_metrics (GMetrics * ometrics, GMetrics ** nmetrics, GPercTotals totals);\nvoid set_module_totals (GPercTotals * totals);\nvoid uncount_invalid (GLog * glog);\nvoid uncount_processed (GLog * glog);\nGMetrics *new_gmetrics (void);\n\n#ifdef HAVE_GEOLOCATION\nconst char *get_continent_for_country (const char *country);\nvoid free_country_continent_map (void);\n#endif\n\n#endif // for #ifndef GSTORAGE_H\n"
  },
  {
    "path": "src/gwsocket.c",
    "content": "/**\n * gwsocket.c -- An interface to send/recv data from/to Web Socket Server\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <unistd.h>\n\n#include \"gwsocket.h\"\n\n#include \"commons.h\"\n#include \"error.h\"\n#include \"goaccess.h\"\n#include \"pdjson.h\"\n#include \"json.h\"\n#include \"settings.h\"\n#include \"websocket.h\"\n#include \"wsauth.h\"\n#include \"xmalloc.h\"\n\n/* Allocate memory for a new GWSReader instance.\n *\n * On success, the newly allocated GWSReader is returned. */\nGWSReader *\nnew_gwsreader (void) {\n  GWSReader *reader = xmalloc (sizeof (GWSReader));\n  memset (reader, 0, sizeof *reader);\n\n  return reader;\n}\n\n/* Allocate memory for a new GWSWriter instance.\n *\n * On success, the newly allocated GWSWriter is returned. */\nGWSWriter *\nnew_gwswriter (void) {\n  GWSWriter *writer = xmalloc (sizeof (GWSWriter));\n  memset (writer, 0, sizeof *writer);\n\n  return writer;\n}\n\n/* Write the JSON data to a pipe.\n *\n * If unable to write bytes, -1 is returned.\n * On success, the number of written bytes is returned . */\nstatic int\nwrite_holder (int fd, const char *buf, int len) {\n  int i, ret = 0;\n\n  for (i = 0; i < len;) {\n    ret = write (fd, buf + i, len - i);\n    if (ret < 0) {\n      if (errno == EINTR || errno == EAGAIN)\n        continue;\n      return -1;\n    } else {\n      i += ret;\n    }\n  }\n\n  return i;\n}\n\n/* Clear an incoming FIFO packet and header data. */\nstatic void\nclear_fifo_packet (GWSReader *gwserver) {\n  memset (gwserver->hdr, 0, sizeof (gwserver->hdr));\n  gwserver->hlen = 0;\n\n  if (gwserver->packet == NULL)\n    return;\n\n  if (gwserver->packet->data)\n    free (gwserver->packet->data);\n  free (gwserver->packet);\n  gwserver->packet = NULL;\n}\n\n/* Pack the JSON data into a network byte order and writes it to a\n * pipe.\n *\n * On success, 0 is returned . */\nint\nbroadcast_holder (int fd, const char *buf, int len) {\n  char *p = NULL, *ptr = NULL;\n\n  p = calloc (sizeof (uint32_t) * 3, sizeof (char));\n\n  ptr = p;\n  ptr += pack_uint32 (ptr, 0);\n  ptr += pack_uint32 (ptr, 0x01);\n  ptr += pack_uint32 (ptr, len);\n\n  write_holder (fd, p, sizeof (uint32_t) * 3);\n  write_holder (fd, buf, len);\n  free (p);\n\n  return 0;\n}\n\n/* Pack the JSON data into a network byte order and write it to a\n * pipe.\n *\n * On success, 0 is returned . */\nint\nsend_holder_to_client (int fd, int listener, const char *buf, int len) {\n  char *p = NULL, *ptr = NULL;\n\n  p = calloc (sizeof (uint32_t) * 3, sizeof (char));\n\n  ptr = p;\n  ptr += pack_uint32 (ptr, listener);\n  ptr += pack_uint32 (ptr, 0x01);\n  ptr += pack_uint32 (ptr, len);\n\n  write_holder (fd, p, sizeof (uint32_t) * 3);\n  write_holder (fd, buf, len);\n  free (p);\n\n  return 0;\n}\n\n/* Attempt to read data from the named pipe on strict mode.\n * Note: For now it only reads on new connections, i.e., onopen.\n *\n * If there's less data than requested, 0 is returned\n * If the thread is done, 1 is returned */\nint\nread_fifo (GWSReader *gwsreader, void (*f) (int)) {\n  WSPacket **pa = &gwsreader->packet;\n  char *ptr;\n  int bytes = 0, readh = 0, need = 0, fd = gwsreader->fd;\n  uint32_t listener = 0, type = 0, size = 0;\n  struct pollfd fds[] = {\n    {.fd = gwsreader->self_pipe[0],.events = POLLIN},\n    {.fd = gwsreader->fd,.events = POLLIN,},\n  };\n\n  if (poll (fds, sizeof (fds) / sizeof (fds[0]), -1) == -1) {\n    switch (errno) {\n    case EINTR:\n      break;\n    default:\n      FATAL (\"Unable to poll: %s.\", strerror (errno));\n    }\n  }\n  /* handle self-pipe trick */\n  if (fds[0].revents & POLLIN)\n    return 1;\n  if (!(fds[1].revents & POLLIN)) {\n    LOG ((\"No file descriptor set on read_message()\\n\"));\n    return 0;\n  }\n\n  readh = gwsreader->hlen; /* read from header so far */\n  need = HDR_SIZE - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_fifo (fd, gwsreader->hdr, &gwsreader->hlen, readh, need)) < 0)\n      return 0;\n    if (bytes != need)\n      return 0;\n  }\n\n  /* unpack size, and type */\n  ptr = gwsreader->hdr;\n  ptr += unpack_uint32 (ptr, &listener);\n  ptr += unpack_uint32 (ptr, &type);\n  ptr += unpack_uint32 (ptr, &size);\n\n  if ((*pa) == NULL) {\n    (*pa) = xcalloc (1, sizeof (WSPacket));\n    (*pa)->type = type;\n    (*pa)->size = size;\n    (*pa)->data = xcalloc (size + 1, sizeof (char));\n  }\n\n  readh = (*pa)->len; /* read from payload so far */\n  need = (*pa)->size - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_fifo (fd, (*pa)->data, &(*pa)->len, readh, need)) < 0)\n      return 0;\n    if (bytes != need)\n      return 0;\n  }\n  clear_fifo_packet (gwsreader);\n  /* fast forward JSON data to the given client */\n  (*f) (listener);\n\n  return 0;\n}\n\n/* Callback once a new connection is established\n *\n * It writes to a named pipe a header containing the socket, the\n * message type, the payload's length and the actual payload */\nstatic int\nonopen (WSPipeOut *pipeout, WSClient *client) {\n  uint32_t hsize = sizeof (uint32_t) * 3;\n  char *hdr = calloc (hsize, sizeof (char));\n  char *ptr = hdr;\n\n  ptr += pack_uint32 (ptr, client->listener);\n  ptr += pack_uint32 (ptr, WS_OPCODE_TEXT);\n  ptr += pack_uint32 (ptr, INET6_ADDRSTRLEN);\n\n  ws_write_fifo (pipeout, hdr, hsize);\n  ws_write_fifo (pipeout, client->remote_ip, INET6_ADDRSTRLEN);\n  free (hdr);\n\n  return 0;\n}\n\n/* validate_token_message()\n *\n * Parses a JSON payload (assumed to be null-terminated) that should have\n * the form: {\"action\":\"validate_token\",\"token\":\"...\"}\n * If the action is \"validate_token\", the token is verified using verify_jwt_token().\n * If verification is successful, the client's stored JWT is updated.\n *\n * Returns:\n *   1 if the message was a token validation message and authentication succeeded.\n *   0 if the message is not a token validation message.\n *  -1 if an error occurs (including validation failure).\n */\n#ifdef HAVE_LIBSSL\nstatic int\nvalidate_token_message (const char *payload, WSClient *client) {\n  json_stream json;\n  enum json_type t = JSON_ERROR;\n  size_t len = 0, level = 0;\n  enum json_type ctx = JSON_ERROR;\n  char *curr_key = NULL;\n  char *action = NULL;\n  char *token = NULL;\n\n  json_open_string (&json, payload);\n  json_set_streaming (&json, false);\n\n  /* Expect a JSON object */\n  t = json_next (&json);\n  if (t != JSON_OBJECT) {\n    json_close (&json);\n    return -1;\n  }\n\n  /* Iterate over the JSON tokens */\n  while ((t = json_next (&json)) != JSON_DONE && t != JSON_ERROR) {\n    ctx = json_get_context (&json, &level);\n    /* When (level % 2) != 0 and not in an array, the token is a key */\n    if ((level % 2) != 0 && ctx != JSON_ARRAY) {\n      if (curr_key)\n        free (curr_key);\n      curr_key = xstrdup (json_get_string (&json, &len));\n    } else {\n      /* Otherwise, token is a value for the last encountered key */\n      if (curr_key) {\n        char *val = xstrdup (json_get_string (&json, &len));\n        if (strcmp (curr_key, \"action\") == 0) {\n          action = val;\n        } else if (strcmp (curr_key, \"token\") == 0) {\n          token = val;\n        } else {\n          free (val);\n        }\n        free (curr_key);\n        curr_key = NULL;\n      }\n    }\n  }\n  if (curr_key)\n    free (curr_key);\n  json_close (&json);\n\n  /* If action is not \"validate_token\", then this message is not for token validation */\n  if (!action || strcmp (action, \"validate_token\") != 0) {\n    if (action)\n      free (action);\n    if (token)\n      free (token);\n    return 0;\n  }\n\n  /* For token validation, the token must exist */\n  if (!token) {\n    LOG ((\"Missing token in validate_token message from client %d [%s]\\n\", client->listener,\n          client->remote_ip));\n    free (action);\n    return -1;\n  }\n\n  /* Verify the token using the configured secret */\n  if (conf.ws_auth_secret && verify_jwt_token (token, conf.ws_auth_secret) != 1) {\n    LOG ((\"Authentication failed for client %d [%s]\\n\", client->listener, client->remote_ip));\n    free (action);\n    free (token);\n    client->status = WS_ERR | WS_CLOSE;\n    return -1;\n  }\n\n  /* Authentication succeeded: update client's stored token */\n  if (client->headers->jwt)\n    free (client->headers->jwt);\n\n  client->headers->jwt = strdup (token);\n  LOG ((\"Token validated and updated for client %d [%s]\\n\", client->listener, client->remote_ip));\n\n  free (action);\n  free (token);\n  return 1;\n}\n#endif\n\n/* onmessage()\n *\n * Entry point for incoming messages. This function first checks if the message\n * is a text message and ensures that the payload is null-terminated (so JSON\n * parsing will work correctly). It then delegates token validation to\n * validate_token_message(). In the future, onmessage() may handle other message\n * types.\n */\n#ifdef HAVE_LIBSSL\nstatic int\nonmessage (GO_UNUSED WSPipeOut *pipeout, WSClient *client) {\n  int ret = 1;\n  char *payload = client->message->payload;\n  int allocated = 0;\n\n  /* If this is a text message, ensure the payload is null-terminated.\n   * Binary frames should not be modified.\n   */\n  if (client->message->opcode == WS_OPCODE_TEXT) {\n    if (memchr (payload, '\\0', client->message->payloadsz) == NULL) {\n      char *tmp = malloc (client->message->payloadsz + 1);\n      if (!tmp) {\n        LOG ((\"Memory allocation error for client %d [%s]\\n\", client->listener, client->remote_ip));\n        return -1;\n      }\n      memcpy (tmp, payload, client->message->payloadsz);\n      tmp[client->message->payloadsz] = '\\0';\n      payload = tmp;\n      allocated = 1;\n    }\n  }\n\n  /* Delegate processing to validate_token_message().\n   * In the future, you can add additional branches for other message types.\n   */\n  ret = validate_token_message (payload, client);\n\n  if (allocated)\n    free (payload);\n  return ret;\n}\n#endif\n\n/* Done parsing, clear out line and set status message. */\nvoid\nset_ready_state (void) {\n  fprintf (stderr, \"\\33[2K\\r\");\n  fprintf (stderr, \"%s\\n\", INFO_WS_READY_FOR_CONN);\n}\n\n/* Open the named pipe where the websocket server writes to.\n *\n * If unable to open, -1 is returned.\n * On success, return the new file descriptor is returned . */\nint\nopen_fifoout (void) {\n  const char *fifo = conf.fifo_out;\n  int fdfifo;\n\n  /* open fifo for reading before writing */\n  ws_setfifo (fifo);\n  if ((fdfifo = open (fifo, O_RDWR | O_NONBLOCK)) == -1)\n    return -1;\n\n  return fdfifo;\n}\n\n/* Open the named pipe where the websocket server reads from.\n *\n * If unable to open, -1 is returned.\n * On success, return the new file descriptor is returned . */\nint\nopen_fifoin (void) {\n  const char *fifo = conf.fifo_in;\n  int fdfifo;\n\n  if ((fdfifo = open (fifo, O_WRONLY | O_NONBLOCK)) == -1)\n    return -1;\n\n  return fdfifo;\n}\n\n/* Set the self-pipe trick to handle poll(2). */\nvoid\nset_self_pipe (int *self_pipe) {\n  /* Initialize self pipe. */\n  if (pipe (self_pipe) == -1)\n    FATAL (\"Unable to create pipe: %s.\", strerror (errno));\n\n  /* make the read and write pipe non-blocking */\n  set_nonblocking (self_pipe[0]);\n  set_nonblocking (self_pipe[1]);\n}\n\n/* Close the WebSocket server and clean up. */\nvoid\nstop_ws_server (GWSWriter *gwswriter, GWSReader *gwsreader) {\n  pthread_t writer, reader;\n  WSServer *server = NULL;\n\n  if (!gwsreader || !gwswriter)\n    return;\n  if (!(server = gwswriter->server))\n    return;\n\n  pthread_mutex_lock (&gwsreader->mutex);\n  if ((write (gwsreader->self_pipe[1], \"x\", 1)) == -1 && errno != EAGAIN)\n    LOG ((\"Unable to write to self pipe on pipeout.\\n\"));\n  pthread_mutex_unlock (&gwsreader->mutex);\n\n  /* if it fails to write, force stop */\n  pthread_mutex_lock (&gwswriter->mutex);\n  if ((write (server->self_pipe[1], \"x\", 1)) == -1 && errno != EAGAIN)\n    ws_stop (server);\n  pthread_mutex_unlock (&gwswriter->mutex);\n\n  reader = gwsreader->thread;\n  if (pthread_join (reader, NULL) != 0)\n    LOG ((\"Unable to join thread gwsreader: %s\\n\", strerror (errno)));\n\n  writer = gwswriter->thread;\n  if (pthread_join (writer, NULL) != 0)\n    LOG ((\"Unable to join thread gwswriter: %s\\n\", strerror (errno)));\n}\n\n/* Start the WebSocket server and initialize default options. */\nstatic void\nstart_server (void *ptr_data) {\n  GWSWriter *writer = (GWSWriter *) ptr_data;\n\n  writer->server->onopen = onopen;\n#ifdef HAVE_LIBSSL\n  writer->server->onmessage = onmessage;\n#endif\n\n  pthread_mutex_lock (&writer->mutex);\n  set_self_pipe (writer->server->self_pipe);\n  pthread_mutex_unlock (&writer->mutex);\n\n  /* poll(2) will block in here */\n  ws_start (writer->server);\n  fprintf (stderr, \"Stopping WebSocket server...\\n\");\n  ws_stop (writer->server);\n}\n\n/* Read and set the WebSocket config options. */\nstatic void\nset_ws_opts (void) {\n  ws_set_config_strict (1);\n  if (conf.addr)\n    ws_set_config_host (conf.addr);\n  if (conf.unix_socket)\n    ws_set_config_unix_socket (conf.unix_socket);\n  if (conf.fifo_in)\n    ws_set_config_pipein (conf.fifo_in);\n  if (conf.fifo_out)\n    ws_set_config_pipeout (conf.fifo_out);\n  if (conf.origin)\n    ws_set_config_origin (conf.origin);\n  if (conf.port)\n    ws_set_config_port (conf.port);\n  if (conf.sslcert)\n    ws_set_config_sslcert (conf.sslcert);\n  if (conf.sslkey)\n    ws_set_config_sslkey (conf.sslkey);\n#ifdef HAVE_LIBSSL\n  if (conf.ws_auth_secret) {\n    ws_set_config_auth_secret (conf.ws_auth_secret);\n    ws_set_config_auth_cb (verify_jwt_token);\n  }\n#endif\n}\n\n/* Setup and start the WebSocket threads. */\nint\nsetup_ws_server (GWSWriter *gwswriter, GWSReader *gwsreader) {\n  int id;\n  pthread_t *thread;\n\n  if (pthread_mutex_init (&gwswriter->mutex, NULL))\n    FATAL (\"Failed init gwswriter mutex\");\n  if (pthread_mutex_init (&gwsreader->mutex, NULL))\n    FATAL (\"Failed init gwsreader mutex\");\n\n  /* send WS data thread */\n  thread = &gwswriter->thread;\n\n  /* pre-init the websocket server, to ensure the FIFOs are created */\n  if ((gwswriter->server = ws_init (\"0.0.0.0\", \"7890\", set_ws_opts)) == NULL)\n    FATAL (\"Failed init websocket\");\n\n  id = pthread_create (&(*thread), NULL, (void *) &start_server, gwswriter);\n  if (id)\n    FATAL (\"Return code from pthread_create(): %d\", id);\n\n  /* read WS data thread */\n  thread = &gwsreader->thread;\n  id = pthread_create (&(*thread), NULL, (void *) &read_client, gwsreader);\n  if (id)\n    FATAL (\"Return code from pthread_create(): %d\", id);\n\n  return 0;\n}\n"
  },
  {
    "path": "src/gwsocket.h",
    "content": "/**\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef GWSOCKET_H_INCLUDED\n#define GWSOCKET_H_INCLUDED\n\n#define GW_VERSION \"0.1\"\n\n#include <pthread.h>\n#include \"websocket.h\"\n\ntypedef struct GWSReader_ {\n  int fd;\n  int self_pipe[2];             /* self-pipe */\n\n  pthread_mutex_t mutex;        /* Mutex fifo out */\n  pthread_t thread;             /* Thread fifo in */\n\n  WSPacket *packet;             /* FIFO data's buffer */\n  char hdr[HDR_SIZE];           /* FIFO header's buffer */\n  int hlen;                     /* header length */\n} GWSReader;\n\ntypedef struct GWSWriter_ {\n  int fd;\n\n  pthread_mutex_t mutex;        /* Mutex fifo in */\n  pthread_t thread;             /* Thread fifo out */\n\n  WSServer *server;             /* WebSocket server */\n} GWSWriter;\n\nGWSReader *new_gwsreader (void);\nGWSWriter *new_gwswriter (void);\nint broadcast_holder (int fd, const char *buf, int len);\nint open_fifoin (void);\nint open_fifoout (void);\nint read_fifo (GWSReader * gwsreader, void (*f) (int));\nint send_holder_to_client (int fd, int listener, const char *buf, int len);\nint setup_ws_server (GWSWriter * gwswriter, GWSReader * gwsreader);\nvoid set_ready_state (void);\nvoid set_self_pipe (int *self_pipe);\nvoid stop_ws_server (GWSWriter * gwswriter, GWSReader * gwsreader);\n\n#endif // for #ifndef GWSOCKET_H\n"
  },
  {
    "path": "src/json.c",
    "content": "/**\n * output.c -- output json to the standard output stream\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#include <errno.h>\n#include <ctype.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <inttypes.h>\n\n#include \"json.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"settings.h\"\n#include \"ui.h\"\n#include \"dialogs.h\"\n#include \"util.h\"\n#include \"websocket.h\"\n#include \"xmalloc.h\"\n\ntypedef struct GPanel_ {\n  GModule module;\n  void (*render) (GJSON * json, GHolder * h, GPercTotals totals, const struct GPanel_ *);\n  void (*subitems) (GJSON * json, GHolderItem * item, GPercTotals totals, int size, int iisp);\n} GPanel;\n\n/* number of new lines (applicable fields) */\nstatic int nlines = 0;\n/* escape HTML in JSON data values */\nstatic int escape_html_output = 0;\n\nstatic void print_json_data (GJSON * json, GHolder * h, GPercTotals totals, const struct GPanel_ *);\nstatic void print_json_host_items (GJSON * json, GHolderItem * item,\n                                   GPercTotals totals, int size, int iisp);\nstatic void print_json_sub_items (GJSON * json, GHolderItem * item,\n                                  GPercTotals totals, int size, int iisp);\n\n/* *INDENT-OFF* */\nstatic const GPanel paneling[] = {\n  {VISITORS            , print_json_data , NULL } ,\n  {REQUESTS            , print_json_data , NULL } ,\n  {REQUESTS_STATIC     , print_json_data , NULL } ,\n  {NOT_FOUND           , print_json_data , NULL } ,\n  {HOSTS               , print_json_data , print_json_host_items } ,\n  {OS                  , print_json_data , print_json_sub_items } ,\n  {BROWSERS            , print_json_data , print_json_sub_items } ,\n  {VISIT_TIMES         , print_json_data , NULL } ,\n  {VIRTUAL_HOSTS       , print_json_data , NULL } ,\n  {REFERRERS           , print_json_data , NULL } ,\n  {REFERRING_SITES     , print_json_data , NULL } ,\n  {KEYPHRASES          , print_json_data , NULL } ,\n  {STATUS_CODES        , print_json_data , print_json_sub_items } ,\n  {REMOTE_USER         , print_json_data , NULL } ,\n  {CACHE_STATUS        , print_json_data , NULL } ,\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION        , print_json_data , print_json_sub_items } ,\n  {ASN                 , print_json_data , NULL} ,\n#endif\n  {MIME_TYPE           , print_json_data , print_json_sub_items } ,\n  {TLS_TYPE            , print_json_data , print_json_sub_items } ,\n\n};\n/* *INDENT-ON* */\n\n/* Get panel output data for the given module.\n *\n * If not found, NULL is returned.\n * On success, panel data is returned . */\nstatic const GPanel *\npanel_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (paneling);\n\n  for (i = 0; i < num_panels; i++) {\n    if (paneling[i].module == module)\n      return &paneling[i];\n  }\n  return NULL;\n}\n\n/* Allocate memory for a new GJSON instance.\n *\n * On success, the newly allocated GJSON is returned . */\nstatic GJSON *\nnew_gjson (void) {\n  GJSON *json = xcalloc (1, sizeof (GJSON));\n\n  return json;\n}\n\n/* Free malloc'd GJSON resources. */\nstatic void\nfree_json (GJSON *json) {\n  if (!json)\n    return;\n\n  free (json->buf);\n  free (json);\n}\n\n/* Set number of new lines when --json-pretty-print is used. */\nvoid\nset_json_nlines (int newline) {\n  nlines = newline;\n}\n\n/* Make sure that we have enough storage to write \"len\" bytes at the\n * current offset. */\nstatic void\nset_json_buffer (GJSON *json, int len) {\n  char *tmp = NULL;\n  /* Maintain a null byte at the end of the buffer */\n  size_t need = json->offset + len + 1, newlen = 0;\n\n  if (need <= json->size)\n    return;\n\n  if (json->size == 0) {\n    newlen = INIT_BUF_SIZE;\n  } else {\n    newlen = json->size;\n    newlen += newlen / 2; /* resize by 3/2 */\n  }\n\n  if (newlen < need)\n    newlen = need;\n\n  tmp = realloc (json->buf, newlen);\n  if (tmp == NULL) {\n    free_json (json);\n    FATAL ((\"Unable to realloc JSON buffer.\\n\"));\n  }\n  json->buf = tmp;\n  json->size = newlen;\n}\n\n#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n/* A wrapper function to write a formatted string and expand the\n * buffer if necessary.\n *\n * On success, data is outputted. */\n__attribute__((format (printf, 2, 3)))\nstatic void\npjson (GJSON *json, const char *fmt, ...) {\n  int len = 0;\n  va_list args;\n\n  va_start (args, fmt);\n  if ((len = vsnprintf (NULL, 0, fmt, args)) < 0)\n    FATAL ((\"Unable to write JSON formatted data.\\n\"));\n  va_end (args);\n\n  /* malloc/realloc buffer as needed */\n  set_json_buffer (json, len);\n\n  va_start (args, fmt); /* restart args */\n  vsprintf (json->buf + json->offset, fmt, args);\n  va_end (args);\n  json->offset += len;\n}\n\n/* A wrapper function to output a formatted string to a file pointer.\n *\n * On success, data is outputted. */\nvoid\nfpjson (FILE *fp, const char *fmt, ...) {\n  va_list args;\n\n  va_start (args, fmt);\n  vfprintf (fp, fmt, args);\n  va_end (args);\n}\n\n#pragma GCC diagnostic warning \"-Wformat-nonliteral\"\n\n/* Escape all other characters accordingly. */\nstatic void\nescape_json_other (GJSON *json, const char **s) {\n  /* Since JSON data is bootstrapped into the HTML document of a report,\n   * then we perform the following four translations in case weird stuff\n   * is put into the document.\n   *\n   * Note: The following scenario assumes that the user manually makes\n   * the HTML report a PHP file (GoAccess doesn't allow the creation of a\n   * PHP file):\n   *\n   * /index.html<?php eval(base_decode('iZWNobyAiPGgxPkhFTExPPC9oMT4iOw=='));?>\n   */\n  if (escape_html_output) {\n    switch (**s) {\n    case '\\'':\n      pjson (json, \"&#39;\");\n      return;\n    case '&':\n      pjson (json, \"&amp;\");\n      return;\n    case '<':\n      pjson (json, \"&lt;\");\n      return;\n    case '>':\n      pjson (json, \"&gt;\");\n      return;\n    }\n  }\n\n  if ((uint8_t) ** s <= 0x1f) {\n    /* Control characters (U+0000 through U+001F) */\n    char buf[8];\n    snprintf (buf, sizeof buf, \"\\\\u%04x\", **s);\n    pjson (json, \"%s\", buf);\n  } else if ((uint8_t) ** s == 0xe2 && (uint8_t) * (*s + 1) == 0x80 && (uint8_t) * (*s + 2) == 0xa8) {\n    /* Line separator (U+2028) - 0xE2 0x80 0xA8 */\n    pjson (json, \"\\\\u2028\");\n    *s += 2;\n  } else if ((uint8_t) ** s == 0xe2 && (uint8_t) * (*s + 1) == 0x80 && (uint8_t) * (*s + 2) == 0xa9) {\n    /* Paragraph separator (U+2019) - 0xE2 0x80 0xA9 */\n    pjson (json, \"\\\\u2029\");\n    *s += 2;\n  } else {\n    char buf[2];\n    snprintf (buf, sizeof buf, \"%c\", **s);\n    pjson (json, \"%s\", buf);\n  }\n}\n\n/* Escape and write to a valid JSON buffer.\n *\n * On success, escaped JSON data is outputted. */\nstatic void\nescape_json_output (GJSON *json, const char *s) {\n  while (*s) {\n    switch (*s) {\n      /* These are required JSON special characters that need to be escaped. */\n    case '\"':\n      pjson (json, \"\\\\\\\"\");\n      break;\n    case '\\\\':\n      pjson (json, \"\\\\\\\\\");\n      break;\n    case '\\b':\n      pjson (json, \"\\\\b\");\n      break;\n    case '\\f':\n      pjson (json, \"\\\\f\");\n      break;\n    case '\\n':\n      pjson (json, \"\\\\n\");\n      break;\n    case '\\r':\n      pjson (json, \"\\\\r\");\n      break;\n    case '\\t':\n      pjson (json, \"\\\\t\");\n      break;\n    case '/':\n      pjson (json, \"\\\\/\");\n      break;\n    default:\n      escape_json_other (json, &s);\n      break;\n    }\n    s++;\n  }\n}\n\n/* Write to a buffer a JSON a key/value pair. */\nstatic void\npskeysval (GJSON *json, const char *key, const char *val, int sp, int last) {\n  if (!last)\n    pjson (json, \"%.*s\\\"%s\\\": \\\"%s\\\",%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    pjson (json, \"%.*s\\\"%s\\\": \\\"%s\\\"\", sp, TAB, key, val);\n}\n\n/* Output a JSON string key, array value pair. */\nvoid\nfpskeyaval (FILE *fp, const char *key, const char *val, int sp, int last) {\n  if (!last)\n    fpjson (fp, \"%.*s\\\"%s\\\": %s,%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    fpjson (fp, \"%.*s\\\"%s\\\": %s\", sp, TAB, key, val);\n}\n\n/* Output a JSON a key/value pair. */\nvoid\nfpskeysval (FILE *fp, const char *key, const char *val, int sp, int last) {\n  if (!last)\n    fpjson (fp, \"%.*s\\\"%s\\\": \\\"%s\\\",%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    fpjson (fp, \"%.*s\\\"%s\\\": \\\"%s\\\"\", sp, TAB, key, val);\n}\n\n/* Output a JSON string key, int value pair. */\nvoid\nfpskeyival (FILE *fp, const char *key, int val, int sp, int last) {\n  if (!last)\n    fpjson (fp, \"%.*s\\\"%s\\\": %d,%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    fpjson (fp, \"%.*s\\\"%s\\\": %d\", sp, TAB, key, val);\n}\n\n/* Write to a buffer a JSON string key, uint64_t value pair. */\nstatic void\npskeyu64val (GJSON *json, const char *key, uint64_t val, int sp, int last) {\n  if (!last)\n    pjson (json, \"%.*s\\\"%s\\\": %\" PRIu64 \",%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    pjson (json, \"%.*s\\\"%s\\\": %\" PRIu64 \"\", sp, TAB, key, val);\n}\n\n/* Write to a buffer a JSON string key, int value pair. */\nstatic void\npskeyfval (GJSON *json, const char *key, float val, int sp, int last) {\n  if (!last)\n    pjson (json, \"%.*s\\\"%s\\\": \\\"%05.2f\\\",%.*s\", sp, TAB, key, val, nlines, NL);\n  else\n    pjson (json, \"%.*s\\\"%s\\\": \\\"%05.2f\\\"\", sp, TAB, key, val);\n}\n\n/* Write to a buffer the open block item object. */\nstatic void\npopen_obj (GJSON *json, int iisp) {\n  /* open data metric block */\n  pjson (json, \"%.*s{%.*s\", iisp, TAB, nlines, NL);\n}\n\n/* Output the open block item object. */\nvoid\nfpopen_obj (FILE *fp, int iisp) {\n  /* open data metric block */\n  fpjson (fp, \"%.*s{%.*s\", iisp, TAB, nlines, NL);\n}\n\n/* Write to a buffer a JSON open object attribute. */\nstatic void\npopen_obj_attr (GJSON *json, const char *attr, int sp) {\n  /* open object attribute */\n  pjson (json, \"%.*s\\\"%s\\\": {%.*s\", sp, TAB, attr, nlines, NL);\n}\n\n/* Output a JSON open object attribute. */\nvoid\nfpopen_obj_attr (FILE *fp, const char *attr, int sp) {\n  /* open object attribute */\n  fpjson (fp, \"%.*s\\\"%s\\\": {%.*s\", sp, TAB, attr, nlines, NL);\n}\n\n/* Close JSON object. */\nstatic void\npclose_obj (GJSON *json, int iisp, int last) {\n  if (!last)\n    pjson (json, \"%.*s%.*s},%.*s\", nlines, NL, iisp, TAB, nlines, NL);\n  else\n    pjson (json, \"%.*s%.*s}\", nlines, NL, iisp, TAB);\n}\n\n/* Close JSON object. */\nvoid\nfpclose_obj (FILE *fp, int iisp, int last) {\n  if (!last)\n    fpjson (fp, \"%.*s%.*s},%.*s\", nlines, NL, iisp, TAB, nlines, NL);\n  else\n    fpjson (fp, \"%.*s%.*s}\", nlines, NL, iisp, TAB);\n}\n\n/* Write to a buffer a JSON open array attribute. */\nstatic void\npopen_arr_attr (GJSON *json, const char *attr, int sp) {\n  /* open object attribute */\n  pjson (json, \"%.*s\\\"%s\\\": [%.*s\", sp, TAB, attr, nlines, NL);\n}\n\n/* Output a JSON open array attribute. */\nvoid\nfpopen_arr_attr (FILE *fp, const char *attr, int sp) {\n  /* open object attribute */\n  fpjson (fp, \"%.*s\\\"%s\\\": [%.*s\", sp, TAB, attr, nlines, NL);\n}\n\n/* Close the data array. */\nstatic void\npclose_arr (GJSON *json, int sp, int last) {\n  if (!last)\n    pjson (json, \"%.*s%.*s],%.*s\", nlines, NL, sp, TAB, nlines, NL);\n  else\n    pjson (json, \"%.*s%.*s]\", nlines, NL, sp, TAB);\n}\n\n/* Close the data array. */\nvoid\nfpclose_arr (FILE *fp, int sp, int last) {\n  if (!last)\n    fpjson (fp, \"%.*s%.*s],%.*s\", nlines, NL, sp, TAB, nlines, NL);\n  else\n    fpjson (fp, \"%.*s%.*s]\", nlines, NL, sp, TAB);\n}\n\n/* Write to a buffer the date and time for the overall object. */\nstatic void\npoverall_datetime (GJSON *json, int sp) {\n  char now[DATE_TIME];\n\n  generate_time ();\n  strftime (now, DATE_TIME, \"%Y-%m-%d %H:%M:%S %z\", &now_tm);\n\n  pskeysval (json, OVERALL_DATETIME, now, sp, 0);\n}\n\n/* Write to a buffer the date and time for the overall object. */\nstatic void\npoverall_start_end_date (GJSON *json, GHolder *h, int sp) {\n  char *start = NULL, *end = NULL;\n\n  if (h->idx == 0 || get_start_end_parsing_dates (&start, &end, \"%d/%b/%Y\"))\n    return;\n\n  pskeysval (json, OVERALL_STARTDATE, start, sp, 0);\n  pskeysval (json, OVERALL_ENDDATE, end, sp, 0);\n\n  free (end);\n  free (start);\n}\n\n/* Write to a buffer date and time for the overall object. */\nstatic void\npoverall_requests (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_REQ, ht_get_processed (), sp, 0);\n}\n\n/* Write to a buffer the number of valid requests under the overall\n * object. */\nstatic void\npoverall_valid_reqs (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_VALID, ht_sum_valid (), sp, 0);\n}\n\n/* Write to a buffer the number of invalid requests under the overall\n * object. */\nstatic void\npoverall_invalid_reqs (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_FAILED, ht_get_invalid (), sp, 0);\n}\n\n/* Write to a buffer the total processed time under the overall\n * object. */\nstatic void\npoverall_processed_time (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_GENTIME, ht_get_processing_time (), sp, 0);\n}\n\n/* Write to a buffer the total number of unique visitors under the\n * overall object. */\nstatic void\npoverall_visitors (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_VISITORS, ht_get_size_uniqmap (VISITORS), sp, 0);\n}\n\n/* Write to a buffer the total number of unique files under the\n * overall object. */\nstatic void\npoverall_files (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_FILES, ht_get_size_datamap (REQUESTS), sp, 0);\n}\n\n/* Write to a buffer the total number of excluded requests under the\n * overall object. */\nstatic void\npoverall_excluded (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_EXCL_HITS, ht_get_excluded_ips (), sp, 0);\n}\n\n/* Write to a buffer the number of referrers under the overall object. */\nstatic void\npoverall_refs (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_REF, ht_get_size_datamap (REFERRERS), sp, 0);\n}\n\n/* Write to a buffer the number of not found (404s) under the overall\n * object. */\nstatic void\npoverall_notfound (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_NOTFOUND, ht_get_size_datamap (NOT_FOUND), sp, 0);\n}\n\n/* Write to a buffer the number of static files (jpg, pdf, etc) under\n * the overall object. */\nstatic void\npoverall_static_files (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_STATIC, ht_get_size_datamap (REQUESTS_STATIC), sp, 0);\n}\n\n/* Write to a buffer the size of the log being parsed under the\n * overall object. */\nstatic void\npoverall_log_size (GJSON *json, int sp) {\n  pjson (json, \"%.*s\\\"%s\\\": %jd,%.*s\", sp, TAB, OVERALL_LOGSIZE,\n         (intmax_t) get_log_sizes (), nlines, NL);\n}\n\n/* Write to a buffer the total bandwidth consumed under the overall\n * object. */\nstatic void\npoverall_bandwidth (GJSON *json, int sp) {\n  pskeyu64val (json, OVERALL_BANDWIDTH, ht_sum_bw (), sp, 0);\n}\n\nstatic void\npoverall_log_path (GJSON *json, int idx, int isp) {\n  pjson (json, \"%.*s\\\"\", isp, TAB);\n  if (conf.filenames[idx][0] == '-' && conf.filenames[idx][1] == '\\0')\n    pjson (json, \"STDIN\");\n  else\n    escape_json_output (json, conf.filenames[idx]);\n  pjson (json, conf.filenames_idx - 1 != idx ? \"\\\",\\n\" : \"\\\"\");\n}\n\n/* Write to a buffer the path of the log being parsed under the\n * overall object. */\nstatic void\npoverall_log (GJSON *json, int sp) {\n  int idx, isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_arr_attr (json, OVERALL_LOG, sp);\n  for (idx = 0; idx < conf.filenames_idx; ++idx)\n    poverall_log_path (json, idx, isp);\n  pclose_arr (json, sp, 1);\n}\n\n/* Write to a buffer hits data. */\nstatic void\nphits (GJSON *json, GMetrics *nmetrics, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"hits\", sp);\n  /* print hits */\n  pskeyu64val (json, \"count\", nmetrics->hits, isp, 0);\n  /* print hits percent */\n  pskeyfval (json, \"percent\", nmetrics->hits_perc, isp, 1);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer visitors data. */\nstatic void\npvisitors (GJSON *json, GMetrics *nmetrics, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"visitors\", sp);\n  /* print visitors */\n  pskeyu64val (json, \"count\", nmetrics->visitors, isp, 0);\n  /* print visitors percent */\n  pskeyfval (json, \"percent\", nmetrics->visitors_perc, isp, 1);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer bandwidth data. */\nstatic void\npbw (GJSON *json, GMetrics *nmetrics, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  if (!conf.bandwidth)\n    return;\n\n  popen_obj_attr (json, \"bytes\", sp);\n  /* print bandwidth */\n  pskeyu64val (json, \"count\", nmetrics->nbw, isp, 0);\n  /* print bandwidth percent */\n  pskeyfval (json, \"percent\", nmetrics->bw_perc, isp, 1);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer average time served data. */\nstatic void\npavgts (GJSON *json, GMetrics *nmetrics, int sp) {\n  if (!conf.serve_usecs)\n    return;\n  pskeyu64val (json, \"avgts\", nmetrics->avgts.nts, sp, 0);\n}\n\n/* Write to a buffer cumulative time served data. */\nstatic void\npcumts (GJSON *json, GMetrics *nmetrics, int sp) {\n  if (!conf.serve_usecs)\n    return;\n  pskeyu64val (json, \"cumts\", nmetrics->cumts.nts, sp, 0);\n}\n\n/* Write to a buffer maximum time served data. */\nstatic void\npmaxts (GJSON *json, GMetrics *nmetrics, int sp) {\n  if (!conf.serve_usecs)\n    return;\n  pskeyu64val (json, \"maxts\", nmetrics->maxts.nts, sp, 0);\n}\n\n/* Write to a buffer request method data. */\nstatic void\npmethod (GJSON *json, GMetrics *nmetrics, int sp) {\n  /* request method */\n  if (conf.append_method && nmetrics->method) {\n    pskeysval (json, \"method\", nmetrics->method, sp, 0);\n  }\n}\n\n/* Write to a buffer protocol method data. */\nstatic void\npprotocol (GJSON *json, GMetrics *nmetrics, int sp) {\n  /* request protocol */\n  if (conf.append_protocol && nmetrics->protocol) {\n    pskeysval (json, \"protocol\", nmetrics->protocol, sp, 0);\n  }\n}\n\nstatic void\npmeta_i64_data (GJSON *json, GHolder *h, void (*cb) (GModule, uint64_t *, uint64_t *),\n                const char *key, int show_perc, int sp) {\n  int isp = 0;\n  uint64_t max = 0, min = 0, total = ht_get_meta_data (h->module, key);\n  float avg = (total == 0 ? 0 : (((float) total) / h->ht_size));\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  cb (h->module, &min, &max);\n\n  popen_obj_attr (json, \"total\", sp);\n  pskeyu64val (json, \"value\", total, isp, 1);\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"avg\", sp);\n  pskeyu64val (json, \"value\", avg, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, avg), isp, 1);\n  }\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"max\", sp);\n  pskeyu64val (json, \"value\", max, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, max), isp, 1);\n  }\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"min\", sp);\n  pskeyu64val (json, \"value\", min, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, min), isp, 1);\n  }\n  pclose_obj (json, sp, 1);\n}\n\nstatic void\npmeta_i32_data (GJSON *json, GHolder *h, void (*cb) (GModule, uint32_t *, uint32_t *),\n                const char *key, int show_perc, int sp) {\n  int isp = 0;\n  uint32_t max = 0, min = 0, total = ht_get_meta_data (h->module, key);\n  float avg = (total == 0 ? 0 : (((float) total) / h->ht_size));\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  cb (h->module, &min, &max);\n\n  popen_obj_attr (json, \"total\", sp);\n  pskeyu64val (json, \"value\", total, isp, 1);\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"avg\", sp);\n  pskeyu64val (json, \"value\", avg, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, avg), isp, 1);\n  }\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"max\", sp);\n  pskeyu64val (json, \"value\", max, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, max), isp, 1);\n  }\n  pclose_obj (json, sp, 0);\n\n  popen_obj_attr (json, \"min\", sp);\n  pskeyu64val (json, \"value\", min, isp, !show_perc);\n  if (show_perc) {\n    pskeyfval (json, \"percent\", get_percentage (total, min), isp, 1);\n  }\n  pclose_obj (json, sp, 1);\n}\n\n/* Write to a buffer the hits meta data object. */\nstatic void\npmeta_data_unique (GJSON *json, int ht_size, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"data\", sp);\n\n  popen_obj_attr (json, \"total\", isp);\n  pskeyu64val (json, \"value\", ht_size, isp + 1, 1);\n  pclose_obj (json, isp, 1);\n\n  pclose_obj (json, sp, 1);\n}\n\n/* Write to a buffer the hits meta data object. */\nstatic void\npmeta_data_hits (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"hits\", sp);\n  pmeta_i32_data (json, h, ht_get_hits_min_max, \"hits\", 1, isp);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer the visitors meta data object. */\nstatic void\npmeta_data_visitors (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"visitors\", sp);\n  pmeta_i32_data (json, h, ht_get_visitors_min_max, \"visitors\", 1, isp);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer the bytes meta data object. */\nstatic void\npmeta_data_bw (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n  if (!conf.bandwidth)\n    return;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"bytes\", sp);\n  pmeta_i64_data (json, h, ht_get_bw_min_max, \"bytes\", 1, isp);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer the average of the average time served meta data\n * object. */\nstatic void\npmeta_data_avgts (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n  uint64_t avg = 0, hits = 0, cumts = 0;\n\n  if (!conf.serve_usecs)\n    return;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  cumts = ht_get_meta_data (h->module, \"cumts\");\n  hits = ht_get_meta_data (h->module, \"hits\");\n  if (hits > 0)\n    avg = cumts / hits;\n\n  popen_obj_attr (json, \"avgts\", sp);\n\n  popen_obj_attr (json, \"avg\", isp);\n  pskeyu64val (json, \"value\", avg, isp + 1, 1);\n  pclose_obj (json, isp, 1);\n\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer the cumulative time served meta data object. */\nstatic void\npmeta_data_cumts (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n\n  if (!conf.serve_usecs)\n    return;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"cumts\", sp);\n  pmeta_i64_data (json, h, ht_get_cumts_min_max, \"cumts\", 0, isp);\n  pclose_obj (json, sp, 0);\n}\n\n/* Write to a buffer the maximum time served meta data object. */\nstatic void\npmeta_data_maxts (GJSON *json, GHolder *h, int sp) {\n  int isp = 0;\n  if (!conf.serve_usecs)\n    return;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  popen_obj_attr (json, \"maxts\", sp);\n  pmeta_i64_data (json, h, ht_get_maxts_min_max, \"maxts\", 0, isp);\n  pclose_obj (json, sp, 0);\n}\n\n/* Entry point to output panel's metadata. */\nstatic void\nprint_meta_data (GJSON *json, GHolder *h, int sp) {\n  int isp = 0, iisp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1, iisp = sp + 2;\n\n  popen_obj_attr (json, \"metadata\", isp);\n\n  pmeta_data_avgts (json, h, iisp);\n  pmeta_data_cumts (json, h, iisp);\n  pmeta_data_maxts (json, h, iisp);\n  pmeta_data_bw (json, h, iisp);\n  pmeta_data_visitors (json, h, iisp);\n  pmeta_data_hits (json, h, iisp);\n  pmeta_data_unique (json, h->ht_size, iisp);\n\n  pclose_obj (json, isp, 0);\n}\n\n/* A wrapper function to output data metrics per panel. */\nstatic void\nprint_json_block (GJSON *json, GMetrics *nmetrics, int sp) {\n  /* print hits */\n  phits (json, nmetrics, sp);\n  /* print visitors */\n  pvisitors (json, nmetrics, sp);\n  /* print bandwidth */\n  pbw (json, nmetrics, sp);\n\n  /* print time served metrics */\n  pavgts (json, nmetrics, sp);\n  pcumts (json, nmetrics, sp);\n  pmaxts (json, nmetrics, sp);\n\n  /* print protocol/method */\n  pmethod (json, nmetrics, sp);\n  pprotocol (json, nmetrics, sp);\n\n  /* data metric */\n  pjson (json, \"%.*s\\\"data\\\": \\\"\", sp, TAB);\n  escape_json_output (json, nmetrics->data);\n  pjson (json, \"\\\"\");\n}\n\n/* A wrapper function to output an array of user agents for each host. */\nstatic void\nprocess_host_agents (GJSON *json, GHolderItem *item, int iisp) {\n  GAgents *agents = NULL;\n  int i, n = 0, iiisp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    iiisp = iisp + 1;\n\n  /* create a new instance of GMenu and make it selectable */\n  if (!(agents = load_host_agents (item->metrics->data)))\n    return;\n\n  pjson (json, \",%.*s%.*s\\\"items\\\": [%.*s\", nlines, NL, iisp, TAB, nlines, NL);\n\n  n = agents->idx > 10 ? 10 : agents->idx;\n  for (i = 0; i < n; ++i) {\n    pjson (json, \"%.*s\\\"\", iiisp, TAB);\n    escape_json_output (json, agents->items[i].agent);\n    if (i == n - 1)\n      pjson (json, \"\\\"\");\n    else\n      pjson (json, \"\\\",%.*s\", nlines, NL);\n  }\n\n  pclose_arr (json, iisp, 1);\n\n  /* clean stuff up */\n  free_agents_array (agents);\n}\n\n/* A wrapper function to output children nodes. */\nstatic void\nprint_json_sub_items (GJSON *json, GHolderItem *item, GPercTotals totals, int size, int iisp) {\n  GMetrics *nmetrics;\n  GSubItem *iter;\n  GSubList *sl = item->sub_list;\n  uint32_t i = 0;\n  int iiisp = 0, iiiisp = 0;\n\n  /* no sub items, nothing to output */\n  if (size == 0)\n    return;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    iiisp = iisp + 1, iiiisp = iiisp + 1;\n\n  if (sl == NULL)\n    return;\n\n  pjson (json, \",%.*s%.*s\\\"items\\\": [%.*s\", nlines, NL, iisp, TAB, nlines, NL);\n  for (iter = sl->head; iter; iter = iter->next, i++) {\n    set_data_metrics (iter->metrics, &nmetrics, totals);\n\n    popen_obj (json, iiisp);\n    print_json_block (json, nmetrics, iiiisp);\n    /* recurse into nested sub-items */\n    if (iter->sub_list != NULL && iter->sub_list->size > 0) {\n      GHolderItem child;\n      child.metrics = iter->metrics;\n      child.sub_list = iter->sub_list;\n      print_json_sub_items (json, &child, totals, iter->sub_list->size, iiiisp);\n    }\n    pclose_obj (json, iiisp, (i == sl->size - 1));\n    free (nmetrics);\n  }\n  pclose_arr (json, iisp, 1);\n}\n\n/* A wrapper function to output geolocation fields for the given host. */\nstatic void\nprint_json_host_geo (GJSON *json, GSubList *sl, int iisp) {\n  GSubItem *iter;\n  uint32_t i;\n  static const char *key[] = {\n    \"country\",\n    \"city\",\n    \"asn\",\n    \"hostname\",\n  };\n\n  pjson (json, \",%.*s\", nlines, NL);\n\n  /* Iterate over child properties (country, city, asn, etc) and print them out */\n  for (i = 0, iter = sl->head; iter; iter = iter->next, i++) {\n    pjson (json, \"%.*s\\\"%s\\\": \\\"\", iisp, TAB, key[iter->metrics->id]);\n    escape_json_output (json, iter->metrics->data);\n    pjson (json, (i != sl->size - 1) ? \"\\\",%.*s\" : \"\\\"\", nlines, NL);\n  }\n}\n\n/* Output Geolocation data and the IP's hostname. */\nstatic void\nprint_json_host_items (GJSON *json, GHolderItem *item, GPercTotals totals, int size, int iisp) {\n  (void) totals;\n  /* print geolocation fields */\n  if (size > 0 && item->sub_list != NULL)\n    print_json_host_geo (json, item->sub_list, iisp);\n\n  /* print list of user agents */\n  if (conf.list_agents)\n    process_host_agents (json, item, iisp);\n}\n\n/* Output data and determine if there are children nodes. */\nstatic void\nprint_data_metrics (GJSON *json, GHolder *h, GPercTotals totals, int sp,\n                    const struct GPanel_ *panel) {\n  GMetrics *nmetrics;\n  uint32_t i;\n  int isp = 0, iisp = 0, iiisp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1, iisp = sp + 2, iiisp = sp + 3;\n\n  popen_arr_attr (json, \"data\", isp);\n  /* output data metrics */\n  for (i = 0; i < h->idx; i++) {\n    set_data_metrics (h->items[i].metrics, &nmetrics, totals);\n\n    /* open data metric block */\n    popen_obj (json, iisp);\n    /* output data metric block */\n    print_json_block (json, nmetrics, iiisp);\n    /* if there are children nodes, spit them out */\n    if (panel->subitems)\n      panel->subitems (json, h->items + i, totals, h->sub_items_size, iiisp);\n    /* close data metric block */\n    pclose_obj (json, iisp, (i == h->idx - 1));\n\n    free (nmetrics);\n  }\n  pclose_arr (json, isp, 1);\n}\n\n/* Entry point to output data metrics per panel. */\nstatic void\nprint_json_data (GJSON *json, GHolder *h, GPercTotals totals, const struct GPanel_ *panel) {\n  int sp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp = 1;\n\n  /* output open panel attribute */\n  popen_obj_attr (json, module_to_id (h->module), sp);\n  /* output panel metadata */\n  print_meta_data (json, h, sp);\n  /* output panel data */\n  print_data_metrics (json, h, totals, sp, panel);\n  /* output close panel attribute */\n  pclose_obj (json, sp, 1);\n}\n\n/* Get the number of available panels.\n *\n * On success, the total number of available panels is returned . */\nstatic int\nnum_panels (void) {\n  size_t idx = 0, npanels = 0;\n\n  FOREACH_MODULE (idx, module_list)\n    npanels++;\n\n  return npanels;\n}\n\n/* Write to a buffer overall data. */\nstatic void\nprint_json_summary (GJSON *json, GHolder *holder) {\n  int sp = 0, isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp = 1, isp = 2;\n\n  popen_obj_attr (json, GENER_ID, sp);\n  /* generated start/end date */\n  poverall_start_end_date (json, holder, isp);\n  /* generated date time */\n  poverall_datetime (json, isp);\n  /* total requests */\n  poverall_requests (json, isp);\n  /* valid requests */\n  poverall_valid_reqs (json, isp);\n  /* invalid requests */\n  poverall_invalid_reqs (json, isp);\n  /* generated time */\n  poverall_processed_time (json, isp);\n  /* visitors */\n  poverall_visitors (json, isp);\n  /* files */\n  poverall_files (json, isp);\n  /* excluded hits */\n  poverall_excluded (json, isp);\n  /* referrers */\n  poverall_refs (json, isp);\n  /* not found */\n  poverall_notfound (json, isp);\n  /* static files */\n  poverall_static_files (json, isp);\n  /* log size */\n  poverall_log_size (json, isp);\n  /* bandwidth */\n  poverall_bandwidth (json, isp);\n  /* log path */\n  poverall_log (json, isp);\n  pclose_obj (json, sp, num_panels () > 0 ? 0 : 1);\n}\n\n/* Iterate over all panels and generate json output. */\nstatic GJSON *\ninit_json_output (GHolder *holder) {\n  GJSON *json = NULL;\n  GModule module;\n  GPercTotals totals;\n  const GPanel *panel = NULL;\n  size_t idx = 0, npanels = num_panels (), cnt = 0;\n\n  json = new_gjson ();\n\n  popen_obj (json, 0);\n  print_json_summary (json, holder);\n\n  set_module_totals (&totals);\n\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n\n    if (!(panel = panel_lookup (module)))\n      continue;\n\n    panel->render (json, holder + module, totals, panel);\n    pjson (json, (cnt++ != npanels - 1) ? \",%.*s\" : \"%.*s\", nlines, NL);\n  }\n\n  pclose_obj (json, 0, 1);\n\n  return json;\n}\n\n/* Open and write to a dynamically sized output buffer.\n *\n * On success, the newly allocated buffer is returned . */\nchar *\nget_json (GHolder *holder, int escape_html) {\n  GJSON *json = NULL;\n  char *buf = NULL;\n\n  if (holder == NULL)\n    return NULL;\n\n  escape_html_output = escape_html;\n  if ((json = init_json_output (holder)) && json->size > 0) {\n    buf = xstrdup (json->buf);\n    free_json (json);\n  }\n\n  return buf;\n}\n\n/* Entry point to generate a json report writing it to the fp */\nvoid\noutput_json (GHolder *holder, const char *filename) {\n  GJSON *json = NULL;\n  FILE *fp;\n\n  if (filename != NULL)\n    fp = fopen (filename, \"w\");\n  else\n    fp = stdout;\n\n  if (!fp)\n    FATAL (\"Unable to open JSON file: %s.\", strerror (errno));\n\n  /* use new lines to prettify output */\n  if (conf.json_pretty_print)\n    nlines = 1;\n\n  /* spit it out */\n  if ((json = init_json_output (holder)) && json->size > 0) {\n    fprintf (fp, \"%s\", json->buf);\n    free_json (json);\n  }\n\n  fclose (fp);\n}\n"
  },
  {
    "path": "src/json.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef JSON_H_INCLUDED\n#define JSON_H_INCLUDED\n\n#define TAB \"\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\"\n#define NL \"\\n\\n\\n\"\n\n#include \"parser.h\"\n\ntypedef struct GJSON_ {\n  char *buf;                    /* pointer to buffer */\n  size_t size;                  /* size of malloc'd buffer */\n  size_t offset;                /* current write offset */\n} GJSON;\n\nchar *get_json (GHolder * holder, int escape_html);\n\nvoid output_json (GHolder * holder, const char *filename);\nvoid set_json_nlines (int nl);\n\nvoid fpskeyival (FILE * fp, const char *key, int val, int sp, int last);\nvoid fpskeysval (FILE * fp, const char *key, const char *val, int sp, int last);\nvoid fpskeyaval (FILE * fp, const char *key, const char *val, int sp, int last);\n\nvoid fpclose_arr (FILE * fp, int sp, int last);\nvoid fpclose_obj (FILE * fp, int iisp, int last);\nvoid fpjson (FILE * fp, const char *fmt, ...) __attribute__((format (printf, 2, 3)));\nvoid fpopen_arr_attr (FILE * fp, const char *attr, int sp);\nvoid fpopen_obj_attr (FILE * fp, const char *attr, int sp);\nvoid fpopen_obj (FILE * fp, int iisp);\n\n#endif\n"
  },
  {
    "path": "src/khash.h",
    "content": "/* The MIT License\n\n   Copyright (c) 2008, 2009, 2011 by Attractive Chaos <attractor@live.co.uk>\n\n   Permission is hereby granted, free of charge, to any person obtaining\n   a copy of this software and associated documentation files (the\n   \"Software\"), to deal in the Software without restriction, including\n   without limitation the rights to use, copy, modify, merge, publish,\n   distribute, sublicense, and/or sell copies of the Software, and to\n   permit persons to whom the Software is furnished to do so, subject to\n   the following conditions:\n\n   The above copyright notice and this permission notice shall be\n   included in all copies or substantial portions of the Software.\n\n   THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n   BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n   ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n   CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n   SOFTWARE.\n*/\n\n/*\n  An example:\n\n#include \"khash.h\"\nKHASH_MAP_INIT_INT(32, char)\nint main() {\n  int ret, is_missing;\n  khiter_t k;\n  khash_t(32) *h = kh_init(32);\n  k = kh_put(32, h, 5, &ret);\n  kh_value(h, k) = 10;\n  k = kh_get(32, h, 10);\n  is_missing = (k == kh_end(h));\n  k = kh_get(32, h, 5);\n  kh_del(32, h, k);\n  for (k = kh_begin(h); k != kh_end(h); ++k)\n    if (kh_exist(h, k)) kh_value(h, k) = 1;\n  kh_destroy(32, h);\n  return 0;\n}\n*/\n\n/*\n  2013-05-02 (0.2.8):\n\n  * Use quadratic probing. When the capacity is power of 2, stepping function\n    i*(i+1)/2 guarantees to traverse each bucket. It is better than double\n    hashing on cache performance and is more robust than linear probing.\n\n    In theory, double hashing should be more robust than quadratic probing.\n    However, my implementation is probably not for large hash tables, because\n    the second hash function is closely tied to the first hash function,\n    which reduce the effectiveness of double hashing.\n\n  Reference: http://research.cs.vt.edu/AVresearch/hashing/quadratic.php\n\n  2011-12-29 (0.2.7):\n\n    * Minor code clean up; no actual effect.\n\n  2011-09-16 (0.2.6):\n\n  * The capacity is a power of 2. This seems to dramatically improve the\n    speed for simple keys. Thank Zilong Tan for the suggestion. Reference:\n\n     - http://code.google.com/p/ulib/\n     - http://nothings.org/computer/judy/\n\n  * Allow to optionally use linear probing which usually has better\n    performance for random input. Double hashing is still the default as it\n    is more robust to certain non-random input.\n\n  * Added Wang's integer hash function (not used by default). This hash\n    function is more robust to certain non-random input.\n\n  2011-02-14 (0.2.5):\n\n    * Allow to declare global functions.\n\n  2009-09-26 (0.2.4):\n\n    * Improve portability\n\n  2008-09-19 (0.2.3):\n\n  * Corrected the example\n  * Improved interfaces\n\n  2008-09-11 (0.2.2):\n\n  * Improved speed a little in kh_put()\n\n  2008-09-10 (0.2.1):\n\n  * Added kh_clear()\n  * Fixed a compiling error\n\n  2008-09-02 (0.2.0):\n\n  * Changed to token concatenation which increases flexibility.\n\n  2008-08-31 (0.1.2):\n\n  * Fixed a bug in kh_get(), which has not been tested previously.\n\n  2008-08-31 (0.1.1):\n\n  * Added destructor\n*/\n\n\n#ifndef __AC_KHASH_H\n#define __AC_KHASH_H\n\n/*!\n  @header\n\n  Generic hash table library.\n */\n\n#define AC_VERSION_KHASH_H \"0.2.8\"\n\n#include <stdlib.h>\n#include <string.h>\n#include <limits.h>\n\n/* compiler specific configuration */\n\n#if UINT_MAX == 0xffffffffu\ntypedef unsigned int khint32_t;\n#elif ULONG_MAX == 0xffffffffu\ntypedef unsigned long khint32_t;\n#endif\n\n#if ULONG_MAX == ULLONG_MAX\ntypedef unsigned long khint64_t;\n#else\ntypedef unsigned long long khint64_t;\n#endif\n\n#ifndef kh_inline\n#ifdef _MSC_VER\n#define kh_inline __inline\n#else\n#define kh_inline inline\n#endif\n#endif /* kh_inline */\n\n#ifndef klib_unused\n#if (defined __clang__ && __clang_major__ >= 3) || (defined __GNUC__ && __GNUC__ >= 3)\n#define klib_unused __attribute__ ((__unused__))\n#else\n#define klib_unused\n#endif\n#endif /* klib_unused */\n\ntypedef khint32_t khint_t;\ntypedef khint_t khiter_t;\n\n#define __ac_isempty(flag, i) ((flag[i>>4]>>((i&0xfU)<<1))&2)\n#define __ac_isdel(flag, i) ((flag[i>>4]>>((i&0xfU)<<1))&1)\n#define __ac_iseither(flag, i) ((flag[i>>4]>>((i&0xfU)<<1))&3)\n#define __ac_set_isdel_false(flag, i) (flag[i>>4]&=~(1ul<<((i&0xfU)<<1)))\n#define __ac_set_isempty_false(flag, i) (flag[i>>4]&=~(2ul<<((i&0xfU)<<1)))\n#define __ac_set_isboth_false(flag, i) (flag[i>>4]&=~(3ul<<((i&0xfU)<<1)))\n#define __ac_set_isdel_true(flag, i) (flag[i>>4]|=1ul<<((i&0xfU)<<1))\n\n#define __ac_fsize(m) ((m) < 16? 1 : (m)>>4)\n\n#ifndef kroundup32\n#define kroundup32(x) (--(x), (x)|=(x)>>1, (x)|=(x)>>2, (x)|=(x)>>4, (x)|=(x)>>8, (x)|=(x)>>16, ++(x))\n#endif\n\n#ifndef kcalloc\n#define kcalloc(N,Z) calloc(N,Z)\n#endif\n#ifndef kmalloc\n#define kmalloc(Z) malloc(Z)\n#endif\n#ifndef krealloc\n#define krealloc(P,Z) realloc(P,Z)\n#endif\n#ifndef kfree\n#define kfree(P) free(P)\n#endif\n\nstatic const double __ac_HASH_UPPER = 0.77;\n\n#define __KHASH_TYPE(name, khkey_t, khval_t)                                                                    \\\n  typedef struct kh_##name##_s {                                                                                \\\n    khint_t n_buckets, size, n_occupied, upper_bound;                                                           \\\n    khint32_t *flags;                                                                                           \\\n    khkey_t *keys;                                                                                              \\\n    khval_t *vals;                                                                                              \\\n  } kh_##name##_t;\n\n#define __KHASH_PROTOTYPES(name, khkey_t, khval_t)                                                              \\\n  extern kh_##name##_t *kh_init_##name(void);                                                                   \\\n  extern void kh_destroy_##name(kh_##name##_t *h);                                                              \\\n  extern void kh_clear_##name(kh_##name##_t *h);                                                                \\\n  extern khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key);                                            \\\n  extern int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets);                                         \\\n  extern khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret);                                        \\\n  extern void kh_del_##name(kh_##name##_t *h, khint_t x);                                                       \\\n\n#define __KHASH_IMPL(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)                       \\\n  SCOPE kh_##name##_t *kh_init_##name(void) {                                                                   \\\n    return (kh_##name##_t*) kcalloc(1, sizeof(kh_##name##_t));                                                  \\\n  }                                                                                                             \\\n  SCOPE void kh_destroy_##name(kh_##name##_t *h)                                                                \\\n  {                                                                                                             \\\n    if (h) {                                                                                                    \\\n      kfree ((void *) h->keys);                                                                                 \\\n      kfree (h->flags);                                                                                         \\\n      kfree ((void *) h->vals);                                                                                 \\\n      kfree (h);                                                                                                \\\n    }                                                                                                           \\\n  }                                                                                                             \\\n  SCOPE void kh_clear_##name(kh_##name##_t *h)                                                                  \\\n  {                                                                                                             \\\n    if (h && h->flags) {                                                                                        \\\n      memset (h->flags, 0xaa, __ac_fsize (h->n_buckets) * sizeof (khint32_t));                                  \\\n      h->size = h->n_occupied = 0;                                                                              \\\n    }                                                                                                           \\\n  }                                                                                                             \\\n  SCOPE khint_t kh_get_##name(const kh_##name##_t *h, khkey_t key)                                              \\\n  {                                                                                                             \\\n    if (h->n_buckets) {                                                                                         \\\n      khint_t k, i, last, mask, step = 0;                                                                       \\\n      mask = h->n_buckets - 1;                                                                                  \\\n      k = __hash_func (key);                                                                                    \\\n      i = k & mask;                                                                                             \\\n      last = i;                                                                                                 \\\n      while (!__ac_isempty (h->flags, i) &&                                                                     \\\n             (__ac_isdel (h->flags, i) || !__hash_equal (h->keys[i], key))) {                                   \\\n        i = (i + (++step)) & mask;                                                                              \\\n        if (i == last)                                                                                          \\\n          return h->n_buckets;                                                                                  \\\n      }                                                                                                         \\\n      return __ac_iseither (h->flags, i) ? h->n_buckets : i;                                                    \\\n    } else                                                                                                      \\\n      return 0;                                                                                                 \\\n  }                                                                                                             \\\n  SCOPE int kh_resize_##name(kh_##name##_t *h, khint_t new_n_buckets)                                           \\\n  {                                                                                                             \\\n    /* This function uses 0.25*n_buckets bytes of working space instead of */                                   \\\n    /* [sizeof(key_t+val_t)+.25]*n_buckets. */                                                                  \\\n    khint32_t *new_flags = 0;                                                                                   \\\n    khint_t j = 1;                                                                                              \\\n    {                                                                                                           \\\n      kroundup32 (new_n_buckets);                                                                               \\\n      if (new_n_buckets < 4)                                                                                    \\\n        new_n_buckets = 4;                                                                                      \\\n      if (h->size >= (khint_t) (new_n_buckets * __ac_HASH_UPPER + 0.5))                                         \\\n        j = 0;    /* requested size is too small */                                                             \\\n      else {      /* hash table size to be changed (shrink or expand); rehash */                                \\\n        new_flags = (khint32_t *) kmalloc (__ac_fsize (new_n_buckets) * sizeof (khint32_t));                    \\\n        if (!new_flags)                                                                                         \\\n          return -1;                                                                                            \\\n        memset (new_flags, 0xaa, __ac_fsize (new_n_buckets) * sizeof (khint32_t));                              \\\n        if (h->n_buckets < new_n_buckets) {       /* expand */                                                  \\\n          khkey_t *new_keys = (khkey_t *) krealloc ((void *) h->keys, new_n_buckets * sizeof (khkey_t));        \\\n          if (!new_keys) {                                                                                      \\\n            kfree (new_flags);                                                                                  \\\n            return -1;                                                                                          \\\n          }                                                                                                     \\\n          h->keys = new_keys;                                                                                   \\\n          if (kh_is_map) {                                                                                      \\\n            khval_t *new_vals = (khval_t *) krealloc ((void *) h->vals, new_n_buckets * sizeof (khval_t));      \\\n            if (!new_vals) {                                                                                    \\\n              kfree (new_flags);                                                                                \\\n              return -1;                                                                                        \\\n            }                                                                                                   \\\n            h->vals = new_vals;                                                                                 \\\n          }                                                                                                     \\\n        } /* otherwise shrink */                                                                                \\\n      }                                                                                                         \\\n    }                                                                                                           \\\n    if (j) {      /* rehashing is needed */                                                                     \\\n      for (j = 0; j != h->n_buckets; ++j) {                                                                     \\\n        if (__ac_iseither (h->flags, j) == 0) {                                                                 \\\n          khkey_t key = h->keys[j];                                                                             \\\n          khval_t val;                                                                                          \\\n          khint_t new_mask;                                                                                     \\\n          new_mask = new_n_buckets - 1;                                                                         \\\n          if (kh_is_map)                                                                                        \\\n            val = h->vals[j];                                                                                   \\\n          __ac_set_isdel_true (h->flags, j);                                                                    \\\n          while (1) {     /* kick-out process; sort of like in Cuckoo hashing */                                \\\n            khint_t k, i, step = 0;                                                                             \\\n            k = __hash_func (key);                                                                              \\\n            i = k & new_mask;                                                                                   \\\n            while (!__ac_isempty (new_flags, i))                                                                \\\n              i = (i + (++step)) & new_mask;                                                                    \\\n            __ac_set_isempty_false (new_flags, i);                                                              \\\n            if (i < h->n_buckets && __ac_iseither (h->flags, i) == 0) {   /* kick out the existing element */   \\\n              {                                                                                                 \\\n                khkey_t tmp = h->keys[i];                                                                       \\\n                h->keys[i] = key;                                                                               \\\n                key = tmp;                                                                                      \\\n              }                                                                                                 \\\n              if (kh_is_map) {                                                                                  \\\n                khval_t tmp = h->vals[i];                                                                       \\\n                h->vals[i] = val;                                                                               \\\n                val = tmp;                                                                                      \\\n              }                                                                                                 \\\n              __ac_set_isdel_true (h->flags, i);  /* mark it as deleted in the old hash table */                \\\n            } else {      /* write the element and jump out of the loop */                                      \\\n              h->keys[i] = key;                                                                                 \\\n              if (kh_is_map)                                                                                    \\\n                h->vals[i] = val;                                                                               \\\n              break;                                                                                            \\\n            }                                                                                                   \\\n          }                                                                                                     \\\n        }                                                                                                       \\\n      }                                                                                                         \\\n      if (h->n_buckets > new_n_buckets) { /* shrink the hash table */                                           \\\n        h->keys = (khkey_t *) krealloc ((void *) h->keys, new_n_buckets * sizeof (khkey_t));                    \\\n        if (kh_is_map)                                                                                          \\\n          h->vals = (khval_t *) krealloc ((void *) h->vals, new_n_buckets * sizeof (khval_t));                  \\\n      }                                                                                                         \\\n      kfree (h->flags);   /* free the working space */                                                          \\\n      h->flags = new_flags;                                                                                     \\\n      h->n_buckets = new_n_buckets;                                                                             \\\n      h->n_occupied = h->size;                                                                                  \\\n      h->upper_bound = (khint_t) (h->n_buckets * __ac_HASH_UPPER + 0.5);                                        \\\n    }                                                                                                           \\\n    return 0;                                                                                                   \\\n  }                                                                                                             \\\n  SCOPE khint_t kh_put_##name(kh_##name##_t *h, khkey_t key, int *ret)                                          \\\n  {                                                                                                             \\\n    khint_t x;                                                                                                  \\\n    if (h->n_occupied >= h->upper_bound) {        /* update the hash table */                                   \\\n      if (h->n_buckets > (h->size << 1)) {                                                                      \\\n        if (kh_resize_##name (h, h->n_buckets - 1) < 0) {   /* clear \"deleted\" elements */                      \\\n          *ret = -1;                                                                                            \\\n          return h->n_buckets;                                                                                  \\\n        }                                                                                                       \\\n      } else if (kh_resize_##name (h, h->n_buckets + 1) < 0) {      /* expand the hash table */                 \\\n        *ret = -1;                                                                                              \\\n        return h->n_buckets;                                                                                    \\\n      }                                                                                                         \\\n    }     /* TODO: to implement automatically shrinking; resize() already support shrinking */                  \\\n    {                                                                                                           \\\n      khint_t k, i, site, last, mask = h->n_buckets - 1, step = 0;                                              \\\n      x = site = h->n_buckets;                                                                                  \\\n      k = __hash_func (key);                                                                                    \\\n      i = k & mask;                                                                                             \\\n      if (__ac_isempty (h->flags, i))                                                                           \\\n        x = i;    /* for speed up */                                                                            \\\n      else {                                                                                                    \\\n        last = i;                                                                                               \\\n        while (!__ac_isempty (h->flags, i) && (__ac_isdel (h->flags, i) || !__hash_equal (h->keys[i], key))) {  \\\n          if (__ac_isdel (h->flags, i))                                                                         \\\n            site = i;                                                                                           \\\n          i = (i + (++step)) & mask;                                                                            \\\n          if (i == last) {                                                                                      \\\n            x = site;                                                                                           \\\n            break;                                                                                              \\\n          }                                                                                                     \\\n        }                                                                                                       \\\n        if (x == h->n_buckets) {                                                                                \\\n          if (__ac_isempty (h->flags, i) && site != h->n_buckets)                                               \\\n            x = site;                                                                                           \\\n          else                                                                                                  \\\n            x = i;                                                                                              \\\n        }                                                                                                       \\\n      }                                                                                                         \\\n    }                                                                                                           \\\n    if (__ac_isempty (h->flags, x)) {     /* not present at all */                                              \\\n      h->keys[x] = key;                                                                                         \\\n      __ac_set_isboth_false (h->flags, x);                                                                      \\\n      ++h->size;                                                                                                \\\n      ++h->n_occupied;                                                                                          \\\n      *ret = 1;                                                                                                 \\\n    } else if (__ac_isdel (h->flags, x)) {        /* deleted */                                                 \\\n      h->keys[x] = key;                                                                                         \\\n      __ac_set_isboth_false (h->flags, x);                                                                      \\\n      ++h->size;                                                                                                \\\n      *ret = 2;                                                                                                 \\\n    } else                                                                                                      \\\n      *ret = 0;   /* Don't touch h->keys[x] if present and not deleted */                                       \\\n    return x;                                                                                                   \\\n  }                                                                                                             \\\n  SCOPE void kh_del_##name(kh_##name##_t *h, khint_t x)                                                         \\\n  {                                                                                                             \\\n    if (x != h->n_buckets && !__ac_iseither (h->flags, x)) {                                                    \\\n      __ac_set_isdel_true (h->flags, x);                                                                        \\\n      --h->size;                                                                                                \\\n    }                                                                                                           \\\n  }                                                                                                             \\\n\n#define KHASH_DECLARE(name, khkey_t, khval_t)                                                                   \\\n  __KHASH_TYPE(name, khkey_t, khval_t)                                                                          \\\n  __KHASH_PROTOTYPES(name, khkey_t, khval_t)\n\n#define KHASH_INIT2(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)                        \\\n  __KHASH_TYPE(name, khkey_t, khval_t)                                                                          \\\n  __KHASH_IMPL(name, SCOPE, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)\n\n#define KHASH_INIT(name, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)                                \\\n  KHASH_INIT2(name, static kh_inline klib_unused, khkey_t, khval_t, kh_is_map, __hash_func, __hash_equal)       \\\n\n/* --- BEGIN OF HASH FUNCTIONS --- */\n\n/*! @function\n  @abstract     Integer hash function\n  @param  key   The integer [khint32_t]\n  @return       The hash value [khint_t]\n */\n#define kh_int_hash_func(key) (khint32_t)(key)\n/*! @function\n  @abstract     Integer comparison function\n */\n#define kh_int_hash_equal(a, b) ((a) == (b))\n/*! @function\n  @abstract     64-bit integer hash function\n  @param  key   The integer [khint64_t]\n  @return       The hash value [khint_t]\n */\n#define kh_int64_hash_func(key) (khint32_t)((key)>>33^(key)^(key)<<11)\n/*! @function\n  @abstract     64-bit integer comparison function\n */\n#define kh_int64_hash_equal(a, b) ((a) == (b))\n/*! @function\n  @abstract     const char* hash function\n  @param  s     Pointer to a null terminated string\n  @return       The hash value\n */\n#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ >= 4)\n__attribute__((no_sanitize (\"unsigned-integer-overflow\")))\n#if (__clang_major__ >= 12)\n  __attribute__((no_sanitize (\"unsigned-shift-base\")))\n#endif\n#endif\nstatic kh_inline khint_t\n__ac_X31_hash_string (const char *s) {\n  khint_t h = (khint_t) * s;\n  if (h)\n    for (++s; *s; ++s)\n      h = (h << 5) - h + (khint_t) * s;\n  return h;\n}\n\n/*! @function\n  @abstract     Another interface to const char* hash function\n  @param  key   Pointer to a null terminated string [const char*]\n  @return       The hash value [khint_t]\n */\n#define kh_str_hash_func(key) __ac_X31_hash_string(key)\n/*! @function\n  @abstract     Const char* comparison function\n */\n#define kh_str_hash_equal(a, b) (strcmp(a, b) == 0)\n\nstatic kh_inline khint_t\n__ac_Wang_hash (khint_t key) {\n  key += ~(key << 15);\n  key ^= (key >> 10);\n  key += (key << 3);\n  key ^= (key >> 6);\n  key += ~(key << 11);\n  key ^= (key >> 16);\n  return key;\n}\n\n#define kh_int_hash_func2(k) __ac_Wang_hash((khint_t)key)\n\n/* --- END OF HASH FUNCTIONS --- */\n\n/* Other convenient macros... */\n\n/*!\n  @abstract Type of the hash table.\n  @param  name  Name of the hash table [symbol]\n */\n#define khash_t(name) kh_##name##_t\n\n/*! @function\n  @abstract     Initiate a hash table.\n  @param  name  Name of the hash table [symbol]\n  @return       Pointer to the hash table [khash_t(name)*]\n */\n#define kh_init(name) kh_init_##name()\n\n/*! @function\n  @abstract     Destroy a hash table.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n */\n#define kh_destroy(name, h) kh_destroy_##name(h)\n\n/*! @function\n  @abstract     Reset a hash table without deallocating memory.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n */\n#define kh_clear(name, h) kh_clear_##name(h)\n\n/*! @function\n  @abstract     Resize a hash table.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  s     New size [khint_t]\n */\n#define kh_resize(name, h, s) kh_resize_##name(h, s)\n\n/*! @function\n  @abstract     Insert a key to the hash table.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  k     Key [type of keys]\n  @param  r     Extra return code: -1 if the operation failed;\n                0 if the key is present in the hash table;\n                1 if the bucket is empty (never used); 2 if the element in\n        the bucket has been deleted [int*]\n  @return       Iterator to the inserted element [khint_t]\n */\n#define kh_put(name, h, k, r) kh_put_##name(h, k, r)\n\n/*! @function\n  @abstract     Retrieve a key from the hash table.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  k     Key [type of keys]\n  @return       Iterator to the found element, or kh_end(h) if the element is absent [khint_t]\n */\n#define kh_get(name, h, k) kh_get_##name(h, k)\n\n/*! @function\n  @abstract     Remove a key from the hash table.\n  @param  name  Name of the hash table [symbol]\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  k     Iterator to the element to be deleted [khint_t]\n */\n#define kh_del(name, h, k) kh_del_##name(h, k)\n\n/*! @function\n  @abstract     Test whether a bucket contains data.\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  x     Iterator to the bucket [khint_t]\n  @return       1 if containing data; 0 otherwise [int]\n */\n#define kh_exist(h, x) (!__ac_iseither((h)->flags, (x)))\n\n/*! @function\n  @abstract     Get key given an iterator\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  x     Iterator to the bucket [khint_t]\n  @return       Key [type of keys]\n */\n#define kh_key(h, x) ((h)->keys[x])\n\n/*! @function\n  @abstract     Get value given an iterator\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  x     Iterator to the bucket [khint_t]\n  @return       Value [type of values]\n  @discussion   For hash sets, calling this results in segfault.\n */\n#define kh_val(h, x) ((h)->vals[x])\n\n/*! @function\n  @abstract     Alias of kh_val()\n */\n#define kh_value(h, x) ((h)->vals[x])\n\n/*! @function\n  @abstract     Get the start iterator\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @return       The start iterator [khint_t]\n */\n#define kh_begin(h) (khint_t)(0)\n\n/*! @function\n  @abstract     Get the end iterator\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @return       The end iterator [khint_t]\n */\n#define kh_end(h) ((h)->n_buckets)\n\n/*! @function\n  @abstract     Get the number of elements in the hash table\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @return       Number of elements in the hash table [khint_t]\n */\n#define kh_size(h) ((h)->size)\n\n/*! @function\n  @abstract     Get the number of buckets in the hash table\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @return       Number of buckets in the hash table [khint_t]\n */\n#define kh_n_buckets(h) ((h)->n_buckets)\n\n/*! @function\n  @abstract     Iterate over the entries in the hash table\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  kvar  Variable to which key will be assigned\n  @param  vvar  Variable to which value will be assigned\n  @param  code  Block of code to execute\n */\n#define kh_foreach(h, kvar, vvar, code) { khint_t __i;                                                          \\\n  for (__i = kh_begin(h); __i != kh_end(h); ++__i) {                                                            \\\n    if (!kh_exist(h,__i)) continue;                                                                             \\\n    (kvar) = kh_key(h,__i);                                                                                     \\\n    (vvar) = kh_val(h,__i);                                                                                     \\\n    code;                                                                                                       \\\n  } }\n\n/*! @function\n  @abstract     Iterate over the values in the hash table\n  @param  h     Pointer to the hash table [khash_t(name)*]\n  @param  vvar  Variable to which value will be assigned\n  @param  code  Block of code to execute\n */\n#define kh_foreach_value(h, vvar, code) { khint_t __i;                                                          \\\n  for (__i = kh_begin (h); __i != kh_end (h); ++__i) {                                                          \\\n    if (!kh_exist (h, __i))                                                                                     \\\n      continue;                                                                                                 \\\n    (vvar) = kh_val (h, __i);                                                                                   \\\n    code;                                                                                                       \\\n  } }\n\n/* More convenient interfaces */\n\n/*! @function\n  @abstract     Instantiate a hash set containing integer keys\n  @param  name  Name of the hash table [symbol]\n */\n#define KHASH_SET_INIT_INT(name)                                                                                \\\n  KHASH_INIT(name, khint32_t, char, 0, kh_int_hash_func, kh_int_hash_equal)\n\n/*! @function\n  @abstract     Instantiate a hash map containing integer keys\n  @param  name  Name of the hash table [symbol]\n  @param  khval_t  Type of values [type]\n */\n#define KHASH_MAP_INIT_INT(name, khval_t)                                                                       \\\n  KHASH_INIT(name, khint32_t, khval_t, 1, kh_int_hash_func, kh_int_hash_equal)\n\n/*! @function\n  @abstract     Instantiate a hash map containing 64-bit integer keys\n  @param  name  Name of the hash table [symbol]\n */\n#define KHASH_SET_INIT_INT64(name)                                                                              \\\n  KHASH_INIT(name, khint64_t, char, 0, kh_int64_hash_func, kh_int64_hash_equal)\n\n/*! @function\n  @abstract     Instantiate a hash map containing 64-bit integer keys\n  @param  name  Name of the hash table [symbol]\n  @param  khval_t  Type of values [type]\n */\n#define KHASH_MAP_INIT_INT64(name, khval_t)                                                                     \\\n  KHASH_INIT(name, khint64_t, khval_t, 1, kh_int64_hash_func, kh_int64_hash_equal)\n\ntypedef const char *kh_cstr_t;\n/*! @function\n  @abstract     Instantiate a hash map containing const char* keys\n  @param  name  Name of the hash table [symbol]\n */\n#define KHASH_SET_INIT_STR(name)                                                                                \\\n  KHASH_INIT(name, kh_cstr_t, char, 0, kh_str_hash_func, kh_str_hash_equal)\n\n/*! @function\n  @abstract     Instantiate a hash map containing const char* keys\n  @param  name  Name of the hash table [symbol]\n  @param  khval_t  Type of values [type]\n */\n#define KHASH_MAP_INIT_STR(name, khval_t)                                                                       \\\n  KHASH_INIT(name, kh_cstr_t, khval_t, 1, kh_str_hash_func, kh_str_hash_equal)\n\n#endif /* __AC_KHASH_H */\n"
  },
  {
    "path": "src/labels.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef LABELS_H_INCLUDED\n#define LABELS_H_INCLUDED\n\n#ifdef ENABLE_NLS\n#include <libintl.h>\n\n#define _(String) dgettext (PACKAGE , String)\n#else\n#define _(String) (String)\n#endif\n\n#define gettext_noop(String) String\n#define N_(String) gettext_noop (String)\n\n/* global lang attribute */\n#define DOC_LANG                 _( \"en\")\n\n/* General */\n#define GEN_EXPAND_PANEL         _( \"Exp. Panel\")\n#define GEN_HELP                 _( \"Help\")\n#define GEN_QUIT                 _( \"Quit\")\n#define GEN_TOTAL                _( \"Total\")\n\n/* Sort Labels */\n#define SORT_ASC_SEL             _( \"[x] ASC [ ] DESC\")\n#define SORT_DESC_SEL            _( \"[ ] ASC [x] DESC\")\n\n/* Overall Stats Labels */\n#define T_ACTIVE_PANEL           _(\"[Active Panel: %1$s]\")\n#define T_QUIT                   _(\"[q]uit GoAccess\")\n#define T_HELP_ENTER             _(\"[?] Help [Enter] Exp. Panel\")\n#define T_DASH                   _( \"Dashboard\")\n#define T_DASH_HEAD              _( \"Dashboard - Overall Analyzed Requests\")\n#define T_HEAD                   N_( \"Overall Analyzed Requests\")\n\n#define T_BW                     _( \"Tx. Amount\")\n#define T_DATETIME               _( \"Date/Time\")\n#define T_EXCLUDE_IP             _( \"Excl. IP Hits\")\n#define T_FAILED                 _( \"Failed Requests\")\n#define T_GEN_TIME               _( \"Log Parsing Time\")\n#define T_LOG                    _( \"Log Size\")\n#define T_LOG_PATH               _( \"Log Source\")\n#define T_REFERRER               _( \"Referrers\")\n#define T_REQUESTS               _( \"Total Requests\")\n#define T_STATIC_FILES           _( \"Static Files\")\n#define T_UNIQUE404              _( \"Not Found\")\n#define T_UNIQUE_FILES           _( \"Requested Files\")\n#define T_UNIQUE_VISITORS        _( \"Unique Visitors\")\n#define T_VALID                  _( \"Valid Requests\")\n\n/* Metric Labels */\n#define MTRC_HITS_LBL            _( \"Hits\")\n#define MTRC_HITS_PERC_LBL       _( \"h%\")\n#define MTRC_VISITORS_LBL        _( \"Visitors\")\n#define MTRC_VISITORS_SHORT_LBL  _( \"Vis.\")\n#define MTRC_VISITORS_PERC_LBL   _( \"v%\")\n#define MTRC_BW_LBL              _( \"Tx. Amount\")\n#define MTRC_BW_PERC_LBL         _( \"tx%\")\n#define MTRC_AVGTS_LBL           _( \"Avg. T.S.\")\n#define MTRC_CUMTS_LBL           _( \"Cum. T.S.\")\n#define MTRC_MAXTS_LBL           _( \"Max. T.S.\")\n#define MTRC_METHODS_LBL         _( \"Method\")\n#define MTRC_METHODS_SHORT_LBL   _( \"Mtd\")\n#define MTRC_PROTOCOLS_LBL       _( \"Protocol\")\n#define MTRC_PROTOCOLS_SHORT_LBL _( \"Proto\")\n#define MTRC_CITY_LBL            _( \"City\")\n#define MTRC_ASB_LBL             _( \"ASN\")\n#define MTRC_COUNTRY_LBL         _( \"Country\")\n#define MTRC_HOSTNAME_LBL        _( \"Hostname\")\n#define MTRC_DATA_LBL            _( \"Data\")\n\n#define HTML_PLOT_HITS_VIS       _( \"Hits/Visitors\")\n\n/* Panel Labels and Descriptions */\n#define VISITORS_HEAD                  \\\n  N_(\"Unique visitors per day\")\n#define VISITORS_HEAD_BOTS             \\\n  N_(\"Unique visitors per day - Including spiders\")\n#define VISITORS_DESC                  \\\n  N_(\"Hits having the same IP, date and agent are a unique visit.\")\n#define VISITORS_LABEL                 \\\n  N_(\"Visitors\")\n\n#define REQUESTS_HEAD                  \\\n  N_(\"Requested Files (URLs)\")\n#define REQUESTS_DESC                  \\\n  N_(\"Top requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\")\n#define REQUESTS_LABEL                 \\\n  N_(\"Requests\")\n\n#define REQUESTS_STATIC_HEAD           \\\n  N_(\"Static Requests\")\n#define REQUESTS_STATIC_DESC           \\\n  N_(\"Top static requests sorted by hits [, avgts, cumts, maxts, mthd, proto]\")\n#define REQUESTS_STATIC_LABEL          \\\n  N_(\"Static Requests\")\n\n#define VISIT_TIMES_HEAD               \\\n  N_(\"Time Distribution\")\n#define VISIT_TIMES_DESC               \\\n  N_(\"Data sorted by hour [, avgts, cumts, maxts]\")\n#define VISIT_TIMES_LABEL              \\\n  N_(\"Time\")\n\n#define VIRTUAL_HOSTS_HEAD             \\\n  N_(\"Virtual Hosts\")\n#define VIRTUAL_HOSTS_DESC             \\\n  N_(\"Data sorted by hits [, avgts, cumts, maxts]\")\n#define VIRTUAL_HOSTS_LABEL            \\\n  N_(\"Virtual Hosts\")\n\n#define REMOTE_USER_HEAD               \\\n  N_(\"Remote User (HTTP authentication)\")\n#define REMOTE_USER_DESC               \\\n  N_(\"Data sorted by hits [, avgts, cumts, maxts]\")\n#define REMOTE_USER_LABEL              \\\n  N_(\"Remote User\")\n\n#define CACHE_STATUS_HEAD               \\\n  N_(\"The cache status of the object served\")\n#define CACHE_STATUS_DESC               \\\n  N_(\"Data sorted by hits [, avgts, cumts, maxts]\")\n#define CACHE_STATUS_LABEL              \\\n  N_(\"Cache Status\")\n\n#define NOT_FOUND_HEAD                 \\\n  N_(\"Not Found URLs (404s)\")\n#define NOT_FOUND_DESC                 \\\n  N_(\"Top not found URLs sorted by hits [, avgts, cumts, maxts, mthd, proto]\")\n#define NOT_FOUND_LABEL                \\\n  N_(\"Not Found\")\n\n#define HOSTS_HEAD                     \\\n  N_(\"Visitor Hostnames and IPs\")\n#define HOSTS_DESC                     \\\n  N_(\"Top visitor hosts sorted by hits [, avgts, cumts, maxts]\")\n#define HOSTS_LABEL                    \\\n  N_(\"Hosts\")\n\n#define OS_HEAD                        \\\n  N_(\"Operating Systems\")\n#define OS_DESC                        \\\n  N_(\"Top Operating Systems sorted by hits [, avgts, cumts, maxts]\")\n#define OS_LABEL                       \\\n  N_(\"OS\")\n\n#define BROWSERS_HEAD                  \\\n  N_(\"Browsers\")\n#define BROWSERS_DESC                  \\\n  N_(\"Top Browsers sorted by hits [, avgts, cumts, maxts]\")\n#define BROWSERS_LABEL                 \\\n  N_(\"Browsers\")\n\n#define REFERRERS_HEAD                 \\\n  N_(\"Referrer URLs\")\n#define REFERRERS_DESC                 \\\n  N_(\"Top Requested Referrers sorted by hits [, avgts, cumts, maxts]\")\n#define REFERRERS_LABEL                \\\n  N_(\"Referrers\")\n\n#define REFERRING_SITES_HEAD           \\\n  N_(\"Referring Sites\")\n#define REFERRING_SITES_DESC           \\\n  N_(\"Top Referring Sites sorted by hits [, avgts, cumts, maxts]\")\n#define REFERRING_SITES_LABEL          \\\n  N_(\"Referring Sites\")\n\n#define KEYPHRASES_HEAD                \\\n  N_(\"Keyphrases from Google's search engine\")\n#define KEYPHRASES_DESC                \\\n  N_(\"Top Keyphrases sorted by hits [, avgts, cumts, maxts]\")\n#define KEYPHRASES_LABEL               \\\n  N_(\"Keyphrases\")\n\n#define GEO_LOCATION_HEAD              \\\n  N_(\"Geo Location\")\n#define GEO_LOCATION_DESC              \\\n  N_(\"Continent > Country sorted by unique hits [, avgts, cumts, maxts]\")\n#define GEO_LOCATION_LABEL             \\\n  N_(\"Geo Location\")\n\n#define ASN_HEAD                 \\\n  N_(\"ASN\")\n#define ASN_DESC                 \\\n  N_(\"Autonomous System Numbers/Organizations (ASNs)\")\n#define ASN_LABEL                \\\n  N_(\"ASN\")\n\n#define STATUS_CODES_HEAD              \\\n  N_(\"HTTP Status Codes\")\n#define STATUS_CODES_DESC              \\\n  N_(\"Top HTTP Status Codes sorted by hits [, avgts, cumts, maxts]\")\n#define STATUS_CODES_LABEL             \\\n  N_(\"Status Codes\")\n\n#define MIME_TYPE_HEAD                 \\\n  N_(\"MIME Types\")\n#define MIME_TYPE_DESC                 \\\n  N_(\"File types shipped out\")\n#define MIME_TYPE_LABEL                \\\n  N_(\"MIME Types\")\n\n#define TLS_TYPE_HEAD\t\t\t\t\\\n  N_(\"Encryption settings\")\n#define TLS_TYPE_DESC                 \\\n  N_(\"TLS version and picked algorithm\")\n#define TLS_TYPE_LABEL                \\\n  N_(\"TLS Settings\")\n\n/* Find Labels */\n#define CISENSITIVE                    \\\n  _(\"[ ] case sensitive\")\n#define CSENSITIVE                     \\\n  _(\"[x] case sensitive\")\n#define FIND_DESC                      \\\n  _(\"Regex allowed - ^g to cancel - TAB switch case\")\n#define FIND_HEAD                      \\\n  _(\"Find pattern in all views\")\n\n/* Config Dialog */\n#define CONFDLG_HEAD                   \\\n  _(\"Log Format Configuration\")\n#define CONFDLG_KEY_HINTS              \\\n  _(\"[SPACE] to toggle - [ENTER] to proceed - [q] to quit\")\n#define CONFDLG_LOG_FORMAT             \\\n  _(\"Log Format - [c] to add/edit format\")\n#define CONFDLG_DATE_FORMAT            \\\n  _(\"Date Format - [d] to add/edit format\")\n#define CONFDLG_TIME_FORMAT            \\\n  _(\"Time Format - [t] to add/edit format\")\n#define CONFDLG_DESC                   \\\n  _(\"[UP/DOWN] to scroll - [q] to close window\")\n\n/* Agents Dialog */\n#define AGENTSDLG_DESC                 \\\n  _(\"[UP/DOWN] to scroll - [q] to close window\")\n#define AGENTSDLG_HEAD                 \\\n  _(\"User Agents for %1$s\")\n\n/* Color Scheme Dialog */\n#define SCHEMEDLG_HEAD                 \\\n  _(\"Scheme Configuration\")\n#define SCHEMEDLG_DESC                 \\\n  _(\"[ENTER] to use scheme - [q]uit\")\n\n/* Sort Dialog */\n#define SORTDLG_HEAD                   \\\n  _(\"Sort active module by\")\n#define SORTDLG_DESC                   \\\n  _(\"[ENTER] select - [TAB] sort - [q]uit\")\n\n/* Help TUI Dialog */\n#define HELPDLG_HEAD                   \\\n  _(\"GoAccess Quick Help\")\n#define HELPDLG_DESC                   \\\n  _(\"[UP/DOWN] to scroll - [q] to quit\")\n\n/* Storage Built-in Option */\n#define BUILT_WITH_DEFHASH             \\\n  _(\"In-Memory with On-Disk Persistent Storage.\")\n\n/* Common UI Errors */\n#define ERR_FORMAT_HEADER              \\\n  _(\"Format Errors - Verify your log/date/time format\")\n#define HINT_INVALID_REQUESTS          \\\n  _(\"Use --invalid-requests option to store such lines in a file.\")\n#define ERR_FORMAT_NO_DATE_FMT         \\\n  _(\"No date format was found on your conf file.\")\n#define ERR_FORMAT_NO_LOG_FMT          \\\n  _(\"No log format was found on your conf file.\")\n#define ERR_FORMAT_NO_TIME_FMT         \\\n  _(\"No time format was found on your conf file.\")\n#define ERR_NODEF_CONF_FILE            \\\n  _(\"No default config file found.\")\n#define ERR_NODEF_CONF_FILE_DESC       \\\n  _(\"You may specify one with\")\n#define ERR_PARSED_NLINES_DESC         \\\n  _(\"producing the following errors\")\n#define ERR_PARSED_NLINES              \\\n  _(\"Parsed %1$d lines\")\n#define ERR_PLEASE_REPORT              \\\n  _(\"Please report it by opening an issue on GitHub\")\n#define ERR_FORMAT_NO_TIME_FMT_DLG     \\\n  _(\"Select a time format.\")\n#define ERR_FORMAT_NO_DATE_FMT_DLG     \\\n  _(\"Select a date format.\")\n#define ERR_FORMAT_NO_LOG_FMT_DLG      \\\n  _(\"Select a log format.\")\n#define ERR_PANEL_DISABLED             \\\n  _(\"'%1$s' panel is disabled\")\n#define ERR_NO_DATA_PASSED             \\\n  _(\"No input data was provided nor there's data to restore.\")\n#define ERR_LOG_REALLOC_FAILURE_MSG    \\\n  _(\"Unable to allocate memory for a log instance.\")\n#define ERR_LOG_NOT_FOUND_MSG          \\\n  _(\"Unable to find the given log.\")\n\n/* Other */\n#define INFO_MORE_INFO                 \\\n  _(\"For more details visit\")\n#define INFO_LAST_UPDATED              \\\n  _(\"Last Updated\")\n#define INFO_WS_READY_FOR_CONN         \\\n  _(\"WebSocket server ready to accept new client connections\")\n\n#define INFO_HELP_FOLLOWING_OPTS       \\\n  _(\"The following options can also be supplied to the command\")\n#define INFO_HELP_EXAMPLES             \\\n  _(\"Examples can be found by running\")\n\n#define HTML_REPORT_TITLE              \\\n  _( \"Server Statistics\")\n#define HTML_REPORT_NAV_THEME          \\\n  N_(\"Theme\")\n#define HTML_REPORT_NAV_DARK_GRAY      \\\n  N_(\"Dark Gray\")\n#define HTML_REPORT_NAV_BRIGHT         \\\n  N_(\"Bright\")\n#define HTML_REPORT_NAV_DARK_BLUE      \\\n  N_(\"Dark Blue\")\n#define HTML_REPORT_NAV_DARK_PURPLE    \\\n  N_(\"Dark Purple\")\n#define HTML_REPORT_NAV_PANELS         \\\n  N_(\"Panels\")\n#define HTML_REPORT_NAV_ITEMS_PER_PAGE \\\n  N_(\"Items per Page\")\n#define HTML_REPORT_NAV_TABLES         \\\n  N_(\"Tables\")\n#define HTML_REPORT_NAV_DISPLAY_TABLES \\\n  N_(\"Display Tables\")\n#define HTML_REPORT_NAV_AH_SMALL       \\\n  N_(\"Auto-Hide on Small Devices\")\n#define HTML_REPORT_NAV_AH_SMALL_TITLE \\\n  N_(\"Automatically hide tables on small screen devices\")\n#define HTML_REPORT_NAV_TOGGLE_PANEL   \\\n  N_(\"Toggle Panel\")\n#define HTML_REPORT_NAV_LAYOUT         \\\n  N_(\"Layout\")\n#define HTML_REPORT_NAV_HOR            \\\n  N_(\"Horizontal\")\n#define HTML_REPORT_NAV_VER            \\\n  N_(\"Vertical\")\n#define HTML_REPORT_NAV_WIDE           \\\n  N_(\"WideScreen\")\n#define HTML_REPORT_NAV_FILE_OPTS      \\\n  N_(\"File Options\")\n#define HTML_REPORT_NAV_EXPORT_JSON    \\\n  N_(\"Export as JSON\")\n#define HTML_REPORT_PANEL_PANEL_OPTS   \\\n  N_(\"Panel Options\")\n#define HTML_REPORT_PANEL_PREVIOUS     \\\n  N_(\"Previous\")\n#define HTML_REPORT_PANEL_NEXT         \\\n  N_(\"Next\")\n#define HTML_REPORT_PANEL_FIRST        \\\n  N_(\"First\")\n#define HTML_REPORT_PANEL_LAST         \\\n  N_(\"Last\")\n#define HTML_REPORT_PANEL_CHART_OPTS   \\\n  N_(\"Chart Options\")\n#define HTML_REPORT_PANEL_CHART        \\\n  N_(\"Chart\")\n#define HTML_REPORT_PANEL_TYPE         \\\n  N_(\"Type\")\n#define HTML_REPORT_PANEL_AREA_SPLINE  \\\n  N_(\"Area Spline\")\n#define HTML_REPORT_PANEL_BAR          \\\n  N_(\"Bar\")\n#define HTML_REPORT_PANEL_WMAP         \\\n  N_(\"World Map\")\n#define HTML_REPORT_PANEL_GMAP         \\\n  N_(\"Azimuthal/Globe\")\n#define HTML_REPORT_PANEL_PLOT_METRIC  \\\n  N_(\"Plot Metric\")\n#define HTML_REPORT_PANEL_TABLE_COLS   \\\n  N_(\"Table Columns\")\n\n/* Status Codes */\n#define STATUS_CODE_0XX               \\\n  N_(\"0xx Unofficial Codes\")\n#define STATUS_CODE_1XX               \\\n  N_(\"1xx Informational\")\n#define STATUS_CODE_2XX               \\\n  N_(\"2xx Success\")\n#define STATUS_CODE_3XX               \\\n  N_(\"3xx Redirection\")\n#define STATUS_CODE_4XX               \\\n  N_(\"4xx Client Errors\")\n#define STATUS_CODE_5XX               \\\n  N_(\"5xx Server Errors\")\n\n#define STATUS_CODE_0                 \\\n  N_(\"0 - Caddy: Unhandled - No configured routes\")\n#define STATUS_CODE_100               \\\n  N_(\"100 - Continue: Server received the initial part of the request\")\n#define STATUS_CODE_101               \\\n  N_(\"101 - Switching Protocols: Client asked to switch protocols\")\n#define STATUS_CODE_200               \\\n  N_(\"200 - OK: The request sent by the client was successful\")\n#define STATUS_CODE_201               \\\n  N_(\"201 - Created: The request has been fulfilled and created\")\n#define STATUS_CODE_202               \\\n  N_(\"202 - Accepted: The request has been accepted for processing\")\n#define STATUS_CODE_203               \\\n  N_(\"203 - Non-authoritative Information: Response from a third party\")\n#define STATUS_CODE_204               \\\n  N_(\"204 - No Content: Request did not return any content\")\n#define STATUS_CODE_205               \\\n  N_(\"205 - Reset Content: Server asked the client to reset the document\")\n#define STATUS_CODE_206               \\\n  N_(\"206 - Partial Content: The partial GET has been successful\")\n#define STATUS_CODE_207               \\\n  N_(\"207 - Multi-Status: WebDAV; RFC 4918\")\n#define STATUS_CODE_208               \\\n  N_(\"208 - Already Reported: WebDAV; RFC 5842\")\n#define STATUS_CODE_218               \\\n  N_(\"218 - This is fine: Apache servers. A catch-all error condition\")\n#define STATUS_CODE_300               \\\n  N_(\"300 - Multiple Choices: Multiple options for the resource\")\n#define STATUS_CODE_301               \\\n  N_(\"301 - Moved Permanently: Resource has permanently moved\")\n#define STATUS_CODE_302               \\\n  N_(\"302 - Moved Temporarily (redirect)\")\n#define STATUS_CODE_303               \\\n  N_(\"303 - See Other Document: The response is at a different URI\")\n#define STATUS_CODE_304               \\\n  N_(\"304 - Not Modified: Resource has not been modified\")\n#define STATUS_CODE_305               \\\n  N_(\"305 - Use Proxy: Can only be accessed through the proxy\")\n#define STATUS_CODE_307               \\\n  N_(\"307 - Temporary Redirect: Resource temporarily moved\")\n#define STATUS_CODE_308               \\\n  N_(\"308 - Permanent Redirect\")\n#define STATUS_CODE_400               \\\n  N_(\"400 - Bad Request: The syntax of the request is invalid\")\n#define STATUS_CODE_401               \\\n  N_(\"401 - Unauthorized: Request needs user authentication\")\n#define STATUS_CODE_402               \\\n  N_(\"402 - Payment Required\")\n#define STATUS_CODE_403               \\\n  N_(\"403 - Forbidden: Server is refusing to respond to it\")\n#define STATUS_CODE_404               \\\n  N_(\"404 - Not Found: Requested resource could not be found\")\n#define STATUS_CODE_405               \\\n  N_(\"405 - Method Not Allowed: Request method not supported\")\n#define STATUS_CODE_406               \\\n  N_(\"406 - Not Acceptable\")\n#define STATUS_CODE_407               \\\n  N_(\"407 - Proxy Authentication Required\")\n#define STATUS_CODE_408               \\\n  N_(\"408 - Request Timeout: Server timed out waiting for the request\")\n#define STATUS_CODE_409               \\\n  N_(\"409 - Conflict: Conflict in the request\")\n#define STATUS_CODE_410               \\\n  N_(\"410 - Gone: Resource requested is no longer available\")\n#define STATUS_CODE_411               \\\n  N_(\"411 - Length Required: Invalid Content-Length\")\n#define STATUS_CODE_412               \\\n  N_(\"412 - Precondition Failed: Server does not meet preconditions\")\n#define STATUS_CODE_413               \\\n  N_(\"413 - Payload Too Large\")\n#define STATUS_CODE_414               \\\n  N_(\"414 - Request-URI Too Long\")\n#define STATUS_CODE_415               \\\n  N_(\"415 - Unsupported Media Type: Media type is not supported\")\n#define STATUS_CODE_416               \\\n  N_(\"416 - Requested Range Not Satisfiable: Cannot supply that portion\")\n#define STATUS_CODE_417               \\\n  N_(\"417 - Expectation Failed\")\n#define STATUS_CODE_418               \\\n  N_(\"418 - I'm a teapot\")\n#define STATUS_CODE_419               \\\n  N_(\"419 - Page Expired: Laravel Framework when a CSRF Token is missing\")\n#define STATUS_CODE_420               \\\n  N_(\"420 - Method Failure: Spring Framework when a method has failed\")\n#define STATUS_CODE_421               \\\n  N_(\"421 - Misdirected Request\")\n#define STATUS_CODE_422               \\\n  N_(\"422 - Unprocessable Entity due to semantic errors: WebDAV\")\n#define STATUS_CODE_423               \\\n  N_(\"423 - The resource that is being accessed is locked\")\n#define STATUS_CODE_424               \\\n  N_(\"424 - Failed Dependency: WebDAV\")\n#define STATUS_CODE_426               \\\n  N_(\"426 - Upgrade Required: Client should switch to a different protocol\")\n#define STATUS_CODE_428               \\\n  N_(\"428 - Precondition Required\")\n#define STATUS_CODE_429               \\\n  N_(\"429 - Too Many Requests: The user has sent too many requests\")\n#define STATUS_CODE_430               \\\n  N_(\"430 - Request Header Fields Too Large: Too many URLs are requested within a certain time frame\")\n#define STATUS_CODE_431               \\\n  N_(\"431 - Request Header Fields Too Large\")\n#define STATUS_CODE_440               \\\n  N_(\"440 - Login Time-out: The client's session has expired\")\n#define STATUS_CODE_449               \\\n  N_(\"449 - Retry With: The server cannot honour the request\")\n#define STATUS_CODE_450               \\\n  N_(\"450 - Blocked by Windows Parental Controls: The Microsoft extension code indicated\")\n#define STATUS_CODE_451               \\\n  N_(\"451 - Unavailable For Legal Reasons\")\n#define STATUS_CODE_444               \\\n  N_(\"444 - (Nginx) Connection closed without sending any headers\")\n#define STATUS_CODE_460               \\\n  N_(\"460 - AWS Elastic Load Balancing: Client closed the connection \")\n#define STATUS_CODE_463               \\\n  N_(\"463 - AWS Elastic Load Balancing: The load balancer received more than 30 IP addresses\")\n#define STATUS_CODE_464               \\\n  N_(\"464 - AWS Elastic Load Balancing: Incompatible protocol versions\")\n#define STATUS_CODE_494               \\\n  N_(\"494 - (Nginx) Request Header Too Large\")\n#define STATUS_CODE_495               \\\n  N_(\"495 - (Nginx) SSL client certificate error\")\n#define STATUS_CODE_496               \\\n  N_(\"496 - (Nginx) Client didn't provide certificate\")\n#define STATUS_CODE_497               \\\n  N_(\"497 - (Nginx) HTTP request sent to HTTPS port\")\n#define STATUS_CODE_498               \\\n  N_(\"498 - Invalid Token: an expired or otherwise invalid token\")\n#define STATUS_CODE_499               \\\n  N_(\"499 - (Nginx) Connection closed by client while processing request\")\n#define STATUS_CODE_500               \\\n  N_(\"500 - Internal Server Error\")\n#define STATUS_CODE_501               \\\n  N_(\"501 - Not Implemented\")\n#define STATUS_CODE_502               \\\n  N_(\"502 - Bad Gateway: Received an invalid response from the upstream\")\n#define STATUS_CODE_503               \\\n  N_(\"503 - Service Unavailable: The server is currently unavailable\")\n#define STATUS_CODE_504               \\\n  N_(\"504 - Gateway Timeout: The upstream server failed to send request\")\n#define STATUS_CODE_505               \\\n  N_(\"505 - HTTP Version Not Supported\")\n#define STATUS_CODE_509               \\\n  N_(\"509 - Bandwidth Limit Exceeded: The server has exceeded the bandwidth\")\n#define STATUS_CODE_520               \\\n  N_(\"520 - CloudFlare - Web server is returning an unknown error\")\n#define STATUS_CODE_521               \\\n  N_(\"521 - CloudFlare - Web server is down\")\n#define STATUS_CODE_522               \\\n  N_(\"522 - CloudFlare - Connection timed out\")\n#define STATUS_CODE_523               \\\n  N_(\"523 - CloudFlare - Origin is unreachable\")\n#define STATUS_CODE_524               \\\n  N_(\"524 - CloudFlare - A timeout occurred\")\n#define STATUS_CODE_525               \\\n  N_(\"525 - SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS handshake\")\n#define STATUS_CODE_526               \\\n  N_(\"526 - Invalid SSL Certificate: Cloudflare could not validate the SSL certificate\")\n#define STATUS_CODE_527               \\\n  N_(\"527 - Railgun Error: An interrupted connection\")\n#define STATUS_CODE_529               \\\n  N_(\"529 - Site is overloaded: A site can not process the request\")\n#define STATUS_CODE_530               \\\n  N_(\"530 - Site is frozen: A site has been frozen due to inactivity\")\n#define STATUS_CODE_540               \\\n  N_(\"540 - Temporarily Disabled: The requested endpoint has been temporarily disabled\")\n#define STATUS_CODE_561               \\\n  N_(\"561 - Unauthorized: An error around authentication\")\n#define STATUS_CODE_598               \\\n  N_(\"598 - Network read timeout error: some HTTP proxies to signal a network read timeout\")\n#define STATUS_CODE_599               \\\n  N_(\"599 - Network Connect Timeout Error: An error used by some HTTP proxies\")\n#define STATUS_CODE_783               \\\n  N_(\"783 - Unexpected Token: The request includes a JSON syntax error\")\n\n/* Menu buttons */\n#define HTML_REPORT_NAV_BUTTON_MENU                 \\\nN_(\"Menu\")\n#define HTML_REPORT_NAV_BUTTON_SETTINGS             \\\nN_(\"Settings\")\n#define HTML_REPORT_WEBSOCKET_STATUS_CONNECTED      \\\nN_(\"WebSocket Status: Connected\")\n#define HTML_REPORT_WEBSOCKET_STATUS_DISCONNECTED   \\\nN_(\"WebSocket Status: Disconnected\")\n\n#endif // for #ifndef LABELS_H\n"
  },
  {
    "path": "src/opesys.c",
    "content": "/**\n * opesys.c -- functions for dealing with operating systems\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <string.h>\n#include <stddef.h>\n\n#include \"opesys.h\"\n\n#include \"error.h\"\n#include \"settings.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* ###NOTE: The size of the list is proportional to the run time,\n * which makes this pretty slow */\n\n/* {\"search string\", \"belongs to\"} */\nstatic const char *const os[][2] = {\n  {\"Android\", \"Android\"},\n  {\"Windows NT 10.0\", \"Windows\"},\n  {\"Windows NT 6.3; ARM\", \"Windows\"},\n  {\"Windows NT 6.3\", \"Windows\"},\n  {\"Windows NT 6.2; ARM\", \"Windows\"},\n  {\"Windows NT 6.2\", \"Windows\"},\n  {\"Windows NT 6.1\", \"Windows\"},\n  {\"Windows NT 6.0\", \"Windows\"},\n  {\"Windows NT 5.2\", \"Windows\"},\n  {\"Windows NT 5.1\", \"Windows\"},\n  {\"Windows NT 5.01\", \"Windows\"},\n  {\"Windows NT 5.0\", \"Windows\"},\n  {\"Windows NT 4.0\", \"Windows\"},\n  {\"Windows NT\", \"Windows\"},\n  {\"Win 9x 4.90\", \"Windows\"},\n  {\"Windows 98\", \"Windows\"},\n  {\"Windows 95\", \"Windows\"},\n  {\"Windows CE\", \"Windows\"},\n  {\"Windows Phone 8.1\", \"Windows\"},\n  {\"Windows Phone 8.0\", \"Windows\"},\n  {\"Windows\", \"Windows\"},\n\n  {\"Googlebot\", \"Unix-like\"},\n  {\"Mastodon\", \"Unix-like\"},\n  {\"bingbot\", \"Windows\"},\n\n  {\"iPad\", \"iOS\"},\n  {\"iPod\", \"iOS\"},\n  {\"iPhone\", \"iOS\"},\n  {\"CFNetwork\", \"iOS\"},\n  {\"AppleTV\", \"iOS\"},\n  {\"iTunes\", \"macOS\"},\n  {\"OS X\", \"macOS\"},\n  {\"macOS\", \"macOS\"},\n  {\"Darwin\", \"Darwin\"},\n\n  {\"Alibaba Cloud Linux\", \"Linux\"},\n  {\"AlmaLinux\", \"Linux\"},\n  {\"Amazon Linux\", \"Linux\"},\n  {\"CloudLinux\", \"Linux\"},\n  {\"Debian\", \"Linux\"},\n  {\"Ubuntu\", \"Linux\"},\n  {\"Fedora\", \"Linux\"},\n  {\"Mint\", \"Linux\"},\n  {\"SUSE\", \"Linux\"},\n  {\"Mandriva\", \"Linux\"},\n  {\"MIRACLE LINUX\", \"Linux\"},\n  {\"Oracle Linux\", \"Linux\"},\n  {\"Red Hat Enterprise Linux\", \"Linux\"},\n  {\"Rocky Linux\", \"Linux\"},\n  {\"Gentoo\", \"Linux\"},\n  {\"CentOS Stream\", \"Linux\"},\n  {\"CentOS Linux\", \"Linux\"},\n  {\"PCLinuxOS\", \"Linux\"},\n  {\"Arch\", \"Linux\"},\n  {\"Parabola\", \"Linux\"},\n  {\"webOS\", \"Linux\"},\n  {\"samsung\", \"Linux\"},\n\n  {\"FreeBSD\", \"BSD\"},\n  {\"NetBSD\", \"BSD\"},\n  {\"OpenBSD\", \"BSD\"},\n  {\"DragonFly\", \"BSD\"},\n\n  {\"PlayStation\", \"BSD\"},\n\n  {\"Linux\", \"Linux\"},\n  {\"linux\", \"Linux\"},\n\n  {\"CrOS\", \"Chrome OS\"},\n  {\"QNX\", \"Unix-like\"},\n  {\"BB10\", \"Unix-like\"},\n\n  {\"AIX\", \"Unix\"},\n  {\"SunOS\", \"Unix\"},\n\n  {\"BlackBerry\", \"Others\"},\n  {\"Sony\", \"Others\"},\n  {\"AmigaOS\", \"Others\"},\n  {\"SymbianOS\", \"Others\"},\n  {\"SymbOS\", \"Others\"},\n  {\"Nokia\", \"Others\"},\n  {\"Nintendo\", \"Others\"},\n  {\"Apache\", \"Others\"},\n  {\"Xbox One\", \"Windows\"},\n  {\"Xbox\", \"Windows\"},\n};\n\n/* Get the Android code name (if applicable).\n *\n * On error, the given name is allocated and returned.\n * On success, the matching Android codename is allocated and\n * returned. */\nstatic char *\nget_real_android (const char *droid) {\n  if (strstr (droid, \"16\"))\n    return alloc_string (\"Android 16\");\n  else if (strstr (droid, \"15\"))\n    return alloc_string (\"Android 15\");\n  else if (strstr (droid, \"14\"))\n    return alloc_string (\"Android 14\");\n  else if (strstr (droid, \"13\"))\n    return alloc_string (\"Android 13\");\n  else if (strstr (droid, \"12.1\"))\n    return alloc_string (\"Android 12.1\");\n  else if (strstr (droid, \"12\"))\n    return alloc_string (\"Android 12\");\n  else if (strstr (droid, \"11\"))\n    return alloc_string (\"Android 11\");\n  else if (strstr (droid, \"10\"))\n    return alloc_string (\"Android 10\");\n  else if (strstr (droid, \"9\"))\n    return alloc_string (\"Pie 9\");\n  else if (strstr (droid, \"8.1\"))\n    return alloc_string (\"Oreo 8.1\");\n  else if (strstr (droid, \"8.0\"))\n    return alloc_string (\"Oreo 8.0\");\n  else if (strstr (droid, \"7.1\"))\n    return alloc_string (\"Nougat 7.1\");\n  else if (strstr (droid, \"7.0\"))\n    return alloc_string (\"Nougat 7.0\");\n  else if (strstr (droid, \"6.0.1\"))\n    return alloc_string (\"Marshmallow 6.0.1\");\n  else if (strstr (droid, \"6.0\"))\n    return alloc_string (\"Marshmallow 6.0\");\n  else if (strstr (droid, \"5.1\"))\n    return alloc_string (\"Lollipop 5.1\");\n  else if (strstr (droid, \"5.0\"))\n    return alloc_string (\"Lollipop 5.0\");\n  else if (strstr (droid, \"4.4\"))\n    return alloc_string (\"KitKat 4.4\");\n  else if (strstr (droid, \"4.3\"))\n    return alloc_string (\"Jelly Bean 4.3\");\n  else if (strstr (droid, \"4.2\"))\n    return alloc_string (\"Jelly Bean 4.2\");\n  else if (strstr (droid, \"4.1\"))\n    return alloc_string (\"Jelly Bean 4.1\");\n  else if (strstr (droid, \"4.0\"))\n    return alloc_string (\"Ice Cream Sandwich 4.0\");\n  else if (strstr (droid, \"3.\"))\n    return alloc_string (\"Honeycomb 3\");\n  else if (strstr (droid, \"2.3\"))\n    return alloc_string (\"Gingerbread 2.3\");\n  else if (strstr (droid, \"2.2\"))\n    return alloc_string (\"Froyo 2.2\");\n  else if (strstr (droid, \"2.0\") || strstr (droid, \"2.1\"))\n    return alloc_string (\"Eclair 2\");\n  else if (strstr (droid, \"1.6\"))\n    return alloc_string (\"Donut 1.6\");\n  else if (strstr (droid, \"1.5\"))\n    return alloc_string (\"Cupcake 1.5\");\n  return alloc_string (droid);\n}\n\n/* Get the Windows marketing name (if applicable).\n *\n * On error, the given name is allocated and returned.\n * On success, the matching Windows marketing name is allocated and\n * returned. */\nstatic char *\nget_real_win (const char *win) {\n  if (strstr (win, \"11.0\"))\n    return alloc_string (\"Windows 11\");\n  else if (strstr (win, \"10.0\"))\n    return alloc_string (\"Windows 10\");\n  else if (strstr (win, \"6.3\"))\n    return alloc_string (\"Windows 8.1\");\n  else if (strstr (win, \"6.2\"))\n    return alloc_string (\"Windows 8\");\n  else if (strstr (win, \"6.1\"))\n    return alloc_string (\"Windows 7\");\n  else if (strstr (win, \"6.0\"))\n    return alloc_string (\"Windows Vista\");\n  else if (strstr (win, \"5.2\"))\n    return alloc_string (\"Windows XP x64\");\n  else if (strstr (win, \"5.1\"))\n    return alloc_string (\"Windows XP\");\n  else if (strstr (win, \"5.0\"))\n    return alloc_string (\"Windows 2000\");\n  return NULL;\n}\n\n/* Get the Mac OS X code name (if applicable).\n *\n * On error, the given name is allocated and returned.\n * On success, the matching Mac OS X codename is allocated and\n * returned. */\nstatic char *\nget_real_mac_osx (const char *osx) {\n  if (strstr (osx, \"26.0\") || strstr (osx, \"Tahoe\"))\n    return alloc_string (\"macOS 26 Tahoe\");\n  else if (strstr (osx, \"15.0\") || strstr (osx, \"Sequoia\"))\n    return alloc_string (\"macOS 15 Sequoia\");\n  else if (strstr (osx, \"14.0\") || strstr (osx, \"Sonoma\"))\n    return alloc_string (\"macOS 14 Sonoma\");\n  else if (strstr (osx, \"13.0\") || strstr (osx, \"Ventura\"))\n    return alloc_string (\"macOS 13 Ventura\");\n  else if (strstr (osx, \"12.0\") || strstr (osx, \"Monterey\"))\n    return alloc_string (\"macOS 12 Monterey\");\n  else if (strstr (osx, \"11.0\") || strstr (osx, \"Big Sur\"))\n    return alloc_string (\"macOS 11 Big Sur\");\n  else if (strstr (osx, \"10.15\")) /* Catalina */\n    return alloc_string (\"macOS 10.15 Catalina\");\n  else if (strstr (osx, \"10.14\")) /* Mojave */\n    return alloc_string (\"macOS 10.14 Mojave\");\n  else if (strstr (osx, \"10.13\")) /* High Sierra */\n    return alloc_string (\"macOS 10.13 High Sierra\");\n  else if (strstr (osx, \"10.12\")) /* Sierra */\n    return alloc_string (\"macOS 10.12 Sierra\");\n  else if (strstr (osx, \"10.11\")) /* El Capitan */\n    return alloc_string (\"OS X 10.11 El Capitan\");\n  else if (strstr (osx, \"10.10\")) /* Yosemite */\n    return alloc_string (\"OS X 10.10 Yosemite\");\n  else if (strstr (osx, \"10.9\")) /* Mavericks */\n    return alloc_string (\"OS X 10.9 Mavericks\");\n  else if (strstr (osx, \"10.8\")) /* Mountain Lion */\n    return alloc_string (\"OS X 10.8 Mountain Lion\");\n  else if (strstr (osx, \"10.7\")) /* Lion */\n    return alloc_string (\"OS X 10.7 Lion\");\n  else if (strstr (osx, \"10.6\")) /* Snow Leopard */\n    return alloc_string (\"OS X 10.6 Snow Leopard\");\n  else if (strstr (osx, \"10.5\")) /* Leopard */\n    return alloc_string (\"OS X 10.5 Leopard\");\n  else if (strstr (osx, \"10.4\")) /* Tiger */\n    return alloc_string (\"OS X 10.4 Tiger\");\n  else if (strstr (osx, \"10.3\")) /* Panther */\n    return alloc_string (\"OS X 10.3 Panther\");\n  else if (strstr (osx, \"10.2\")) /* Jaguar */\n    return alloc_string (\"OS X 10.2 Jaguar\");\n  else if (strstr (osx, \"10.1\")) /* Puma */\n    return alloc_string (\"OS X 10.1 Puma\");\n  else if (strstr (osx, \"10.0\")) /* Cheetah */\n    return alloc_string (\"OS X 10.0 Cheetah\");\n  return alloc_string (osx);\n}\n\n/* Parse all other operating systems.\n *\n * On error, the given name is returned.\n * On success, the parsed OS is returned. */\nstatic char *\nparse_others (char *agent, int spaces) {\n  char *p;\n  int space = 0;\n  p = agent;\n  /* assume the following chars are within the given agent */\n  while (*p != ';' && *p != ')' && *p != '(' && *p != '\\0') {\n    if (*p == ' ')\n      space++;\n    if (space > spaces)\n      break;\n    p++;\n  }\n  *p = 0;\n\n  return agent;\n}\n\n/* Parse iOS string including version number.\n *\n * On error, the matching token is returned (no version).\n * On success, the parsed iOS is returned. */\nstatic char *\nparse_ios (char *agent, int tlen) {\n  char *p = NULL, *q = NULL;\n  ptrdiff_t offset;\n\n  if ((p = strstr (agent, \" OS \")) == NULL)\n    goto out;\n\n  if ((offset = p - agent) <= 0)\n    goto out;\n\n  if ((q = strstr (p, \" like Mac\")) == NULL)\n    goto out;\n\n  *q = 0;\n  memmove (agent + tlen, agent + offset, offset);\n  return char_replace (agent, '_', '.');\n\nout:\n  agent[tlen] = 0;\n  return agent;\n}\n\n/* Parse a Mac OS X string.\n *\n * On error, the given name is returned.\n * On success, the parsed Mac OS X is returned. */\nstatic char *\nparse_osx (char *agent) {\n  int space = 0;\n  char *p;\n\n  p = agent;\n  /* assume the following chars are within the given agent */\n  while (*p != ';' && *p != ')' && *p != '(' && *p != '\\0') {\n    if (*p == '_')\n      *p = '.';\n    if (*p == ' ')\n      space++;\n    if (space > 3)\n      break;\n    p++;\n  }\n  *p = 0;\n\n  return agent;\n}\n\n/* Parse an Android string.\n *\n * On error, the given name is returned.\n * On success, the parsed Android is returned. */\nstatic char *\nparse_android (char *agent) {\n  char *p;\n  p = agent;\n  /* assume the following chars are within the given agent */\n  while (*p != ';' && *p != ')' && *p != '(' && *p != '\\0')\n    p++;\n  *p = 0;\n\n  return agent;\n}\n\n/* Attempt to parse specific OS.\n *\n * On success, a malloc'd string containing the OS is returned. */\nstatic char *\nparse_os (char *str, char *tkn, char *os_type, int idx) {\n  char *b;\n  int spaces = 0;\n\n  xstrncpy (os_type, os[idx][1], OPESYS_TYPE_LEN);\n  /* Windows */\n  if ((strstr (str, \"Windows\")) != NULL)\n    return conf.real_os && (b = get_real_win (tkn)) ? b : xstrdup (os[idx][0]);\n  /* Android */\n  if ((strstr (tkn, \"Android\")) != NULL) {\n    tkn = parse_android (tkn);\n    return conf.real_os ? get_real_android (tkn) : xstrdup (tkn);\n  }\n  /* iOS */\n  if ((strstr (tkn, \"CFNetwork\")) != NULL) {\n    if ((b = strchr (str, ' ')))\n      *b = 0;\n    return xstrdup (str);\n  }\n  if (strstr (tkn, \"iPad\") || strstr (tkn, \"iPod\"))\n    return xstrdup (parse_ios (tkn, 4));\n  if (strstr (tkn, \"iPhone\"))\n    return xstrdup (parse_ios (tkn, 6));\n  /* Mac OS X */\n  if (strstr (tkn, \"OS X\") || strstr (tkn, \"macOS\")) {\n    tkn = parse_osx (tkn);\n    return conf.real_os ? get_real_mac_osx (tkn) : xstrdup (tkn);\n  }\n  /* Darwin - capture the first part of agents such as:\n   * Slack/248000 CFNetwork/808.0.2 Darwin/16.0.0 */\n  if ((strstr (tkn, \"Darwin\")) != NULL) {\n    if ((b = strchr (str, ' ')))\n      *b = 0;\n    return xstrdup (str);\n  }\n  /* all others */\n  spaces = count_matches (os[idx][0], ' ');\n\n  return alloc_string (parse_others (tkn, spaces));\n}\n\n/* Given a user agent, determine the operating system used.\n *\n * ###NOTE: The size of the list is proportional to the run time,\n * which makes this pretty slow\n *\n * On error, NULL is returned.\n * On success, a malloc'd  string containing the OS is returned. */\nchar *\nverify_os (char *str, char *os_type) {\n  char *a;\n  size_t i;\n\n  if (str == NULL || *str == '\\0')\n    return NULL;\n\n  str = char_replace (str, '+', ' ');\n  for (i = 0; i < ARRAY_SIZE (os); i++) {\n    if ((a = strstr (str, os[i][0])) != NULL)\n      return parse_os (str, a, os_type, i);\n  }\n\n  if (conf.unknowns_as_crawlers && strcmp (os_type, \"Crawlers\"))\n    xstrncpy (os_type, \"Crawlers\", OPESYS_TYPE_LEN);\n  else\n    xstrncpy (os_type, \"Unknown\", OPESYS_TYPE_LEN);\n\n  if (conf.unknowns_log)\n    LOG_UNKNOWNS ((\"%-7s%s\\n\", \"[OS]\", str));\n\n  return alloc_string (\"Unknown\");\n}\n"
  },
  {
    "path": "src/opesys.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef OPESYS_H_INCLUDED\n#define OPESYS_H_INCLUDED\n\n#define OPESYS_TYPE_LEN  10\n\n/* Each OS contains the number of hits and the OS's type */\ntypedef struct GOpeSys_ {\n  char os_type[OPESYS_TYPE_LEN];\n  int hits;\n} GOpeSys;\n\nchar *verify_os (char *str, char *os_type);\n\n#endif\n"
  },
  {
    "path": "src/options.c",
    "content": "/**\n * options.c -- functions related to parsing program options\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <ctype.h>\n#include <string.h>\n#include <getopt.h>\n#include <errno.h>\n#include <sys/stat.h>\n\n#ifdef HAVE_LIBGEOIP\n#include <GeoIP.h>\n#endif\n\n#include \"options.h\"\n\n#include \"error.h\"\n#include \"labels.h\"\n#include \"util.h\"\n#include \"wsauth.h\"\n\n#include \"xmalloc.h\"\n\nstatic const char *short_options = \"b:e:f:j:l:o:p:H:M:S:\"\n#ifdef HAVE_LIBGEOIP\n  \"g\"\n#endif\n  \"acdhimqrsV\";\n\n/* *INDENT-OFF* */\nstatic const struct option long_opts[] = {\n  {\"agent-list\"           , no_argument       , 0 , 'a' } ,\n  {\"browsers-file\"        , required_argument , 0 , 'b' } ,\n  {\"config-dialog\"        , no_argument       , 0 , 'c' } ,\n  {\"config-file\"          , required_argument , 0 , 'p' } ,\n  {\"debug-file\"           , required_argument , 0 , 'l' } ,\n  {\"exclude-ip\"           , required_argument , 0 , 'e' } ,\n#ifdef HAVE_LIBGEOIP\n  {\"std-geoip\"            , no_argument       , 0 , 'g' } ,\n#endif\n  {\"help\"                 , no_argument       , 0 , 'h' } ,\n  {\"hl-header\"            , no_argument       , 0 , 'i' } ,\n  {\"http-method\"          , required_argument , 0 , 'M' } ,\n  {\"http-protocol\"        , required_argument , 0 , 'H' } ,\n  {\"jobs\"                 , required_argument , 0 , 'j' } ,\n  {\"log-file\"             , required_argument , 0 , 'f' } ,\n  {\"log-size\"             , required_argument , 0 , 'S' } ,\n  {\"no-query-string\"      , no_argument       , 0 , 'q' } ,\n  {\"no-term-resolver\"     , no_argument       , 0 , 'r' } ,\n  {\"output\"               , required_argument , 0 , 'o' } ,\n  {\"storage\"              , no_argument       , 0 , 's' } ,\n  {\"version\"              , no_argument       , 0 , 'V' } ,\n  {\"with-mouse\"           , no_argument       , 0 , 'm' } ,\n  {\"with-output-resolver\" , no_argument       , 0 , 'd' } ,\n  {\"444-as-404\"           , no_argument       , 0 , 0  }  ,\n  {\"4xx-to-unique-count\"  , no_argument       , 0 , 0  }  ,\n  {\"addr\"                 , required_argument , 0 , 0  }  ,\n  {\"unix-socket\"          , required_argument , 0 , 0  }  ,\n  {\"all-static-files\"     , no_argument       , 0 , 0  }  ,\n  {\"anonymize-ip\"         , no_argument       , 0 , 0  }  ,\n  {\"anonymize-level\"      , required_argument , 0 , 0  }  ,\n  {\"color\"                , required_argument , 0 , 0  }  ,\n  {\"color-scheme\"         , required_argument , 0 , 0  }  ,\n  {\"crawlers-only\"        , no_argument       , 0 , 0  }  ,\n  {\"chunk-size\"           , required_argument , 0 , 0  }  ,\n  {\"daemonize\"            , no_argument       , 0 , 0  }  ,\n  {\"datetime-format\"      , required_argument , 0 , 0  }  ,\n  {\"date-format\"          , required_argument , 0 , 0  }  ,\n  {\"date-spec\"            , required_argument , 0 , 0  }  ,\n  {\"db-path\"              , required_argument , 0 , 0  }  ,\n  {\"fname-as-vhost\"       , required_argument , 0 , 0  }  ,\n  {\"dcf\"                  , no_argument       , 0 , 0  }  ,\n  {\"double-decode\"        , no_argument       , 0 , 0  }  ,\n  {\"external-assets\"      , no_argument       , 0 , 0  }  ,\n  {\"enable-panel\"         , required_argument , 0 , 0  }  ,\n  {\"fifo-in\"              , required_argument , 0 , 0  }  ,\n  {\"fifo-out\"             , required_argument , 0 , 0  }  ,\n  {\"hide-referrer\"        , required_argument , 0 , 0  }  ,\n  {\"hour-spec\"            , required_argument , 0 , 0  }  ,\n  {\"html-custom-css\"      , required_argument , 0 , 0  }  ,\n  {\"html-custom-js\"       , required_argument , 0 , 0  }  ,\n  {\"html-prefs\"           , required_argument , 0 , 0  }  ,\n  {\"html-report-title\"    , required_argument , 0 , 0  }  ,\n  {\"ignore-crawlers\"      , no_argument       , 0 , 0  }  ,\n  {\"ignore-panel\"         , required_argument , 0 , 0  }  ,\n  {\"ignore-referrer\"      , required_argument , 0 , 0  }  ,\n  {\"ignore-statics\"       , required_argument , 0 , 0  }  ,\n  {\"ignore-status\"        , required_argument , 0 , 0  }  ,\n  {\"invalid-requests\"     , required_argument , 0 , 0  }  ,\n  {\"unknowns-log\"         , required_argument , 0 , 0  }  ,\n  {\"json-pretty-print\"    , no_argument       , 0 , 0  }  ,\n  {\"keep-last\"            , required_argument , 0 , 0  }  ,\n  {\"html-refresh\"         , required_argument , 0 , 0  }  ,\n  {\"log-format\"           , required_argument , 0 , 0  }  ,\n  {\"max-items\"            , required_argument , 0 , 0  }  ,\n  {\"no-color\"             , no_argument       , 0 , 0  }  ,\n  {\"no-strict-status\"     , no_argument       , 0 , 0  }  ,\n  {\"no-csv-summary\"       , no_argument       , 0 , 0  }  ,\n  {\"no-global-config\"     , no_argument       , 0 , 0  }  ,\n  {\"no-html-last-updated\" , no_argument       , 0 , 0  }  ,\n  {\"no-ip-validation\"     , no_argument       , 0 , 0  }  ,\n  {\"no-parsing-spinner\"   , no_argument       , 0 , 0  }  ,\n  {\"no-progress\"          , no_argument       , 0 , 0  }  ,\n  {\"no-tab-scroll\"        , no_argument       , 0 , 0  }  ,\n  {\"num-tests\"            , required_argument , 0 , 0  }  ,\n  {\"origin\"               , required_argument , 0 , 0  }  ,\n  {\"output-format\"        , required_argument , 0 , 0  }  ,\n  {\"persist\"              , no_argument       , 0 , 0  }  ,\n  {\"pid-file\"             , required_argument , 0 , 0  }  ,\n  {\"port\"                 , required_argument , 0 , 0  }  ,\n  {\"process-and-exit\"     , no_argument       , 0 , 0  }  ,\n  {\"real-os\"              , no_argument       , 0 , 0  }  ,\n  {\"real-time-html\"       , no_argument       , 0 , 0  }  ,\n  {\"restore\"              , no_argument       , 0 , 0  }  ,\n  {\"sort-panel\"           , required_argument , 0 , 0  }  ,\n  {\"static-file\"          , required_argument , 0 , 0  }  ,\n  {\"tz\"                   , required_argument , 0 , 0  }  ,\n  {\"unknowns-as-crawlers\" , no_argument       , 0 , 0  }  ,\n  {\"user-name\"            , required_argument , 0 , 0  }  ,\n#ifdef HAVE_LIBSSL\n  {\"ssl-cert\"             , required_argument , 0 ,  0  } ,\n  {\"ssl-key\"              , required_argument , 0 ,  0  } ,\n#endif\n  {\"time-format\"          , required_argument , 0 ,  0  } ,\n  {\"ws-url\"               , required_argument , 0 ,  0  } ,\n#ifdef HAVE_LIBSSL\n  {\"ws-auth\"              , required_argument , 0 ,  0  } ,\n  {\"ws-auth-expire\"       , required_argument , 0 ,  0  } ,\n  {\"ws-auth-url\"          , required_argument , 0 ,  0  } ,\n  {\"ws-auth-refresh-url\"  , required_argument , 0 ,  0  } ,\n#endif\n  {\"ping-interval\"        , required_argument , 0 ,  0  } ,\n#ifdef HAVE_GEOLOCATION\n  {\"geoip-database\"       , required_argument , 0 ,  0  } ,\n#endif\n  {\"concat-vhost-req\"     , no_argument       , 0 ,  0  } ,\n  {0, 0, 0, 0}\n};\n\n/* Command line help. */\nvoid\ncmd_help (void)\n{\n  printf (\"\\nGoAccess - %s\\n\\n\", GO_VERSION);\n  printf (\n  \"Usage: \"\n  \"goaccess [filename] [ options ... ] [-c][-M][-H][-S][-q][-d][...]\\n\"\n  \"%s:\\n\\n\", INFO_HELP_FOLLOWING_OPTS);\n\n  printf (\n  /* Log & Date Format Options */\n  CYN \"LOG & DATE FORMAT OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  --log-format=<logformat>        - Specify log format. Inner quotes need\\n\"\n  \"                                    escaping, or use single quotes.\\n\"\n  \"  --date-format=<dateformat>      - Specify log date format. e.g., %%d/%%b/%%Y\\n\"\n  \"  --time-format=<timeformat>      - Specify log time format. e.g., %%H:%%M:%%S\\n\"\n  \"  --datetime-format=<dt-format>   - Specify log date and time format. e.g.,\\n\"\n  \"                                    %%d/%%b/%%Y %%H:%%M:%%S %%z\\n\"\n  \"\\n\"\n  /* User Interface Options */\n  CYN \"USER INTERFACE OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  -c --config-dialog              - Prompt log/date/time configuration window.\\n\"\n  \"  -i --hl-header                  - Color highlight active panel.\\n\"\n  \"  -m --with-mouse                 - Enable mouse support on main dashboard.\\n\"\n  \"  --color=<fg:bg[attrs, PANEL]>   - Specify custom colors. See manpage for more\\n\"\n  \"                                    details.\\n\"\n  \"  --color-scheme=<1|2|3>          - Schemes: 1 => Grey, 2 => Green, 3 =>\\n\"\n  \"                                    Monokai.\\n\"\n  \"  --html-custom-css=<path.css>    - Specify a custom CSS file in the HTML\\n\"\n  \"                                    report.\\n\"\n  \"  --html-custom-js=<path.js>      - Specify a custom JS file in the HTML\\n\"\n  \"                                    report.\\n\"\n  \"  --html-prefs=<json_obj>         - Set default HTML report preferences.\\n\"\n  \"  --html-report-title=<title>     - Set HTML report page title and header.\\n\"\n  \"  --html-refresh=<secs>           - Refresh HTML report every X seconds (>=1 or\\n\"\n  \"                                    <=60).\\n\"\n  \"  --json-pretty-print             - Format JSON output w/ tabs & newlines.\\n\"\n  \"  --max-items                     - Maximum number of items to show per panel.\\n\"\n  \"                                    See man page for limits.\\n\"\n  \"  --no-color                      - Disable colored output.\\n\"\n  \"  --no-column-names               - Don't write column names in term output.\\n\"\n  \"  --no-csv-summary                - Disable summary metrics on the CSV output.\\n\"\n  \"  --no-html-last-updated          - Hide HTML last updated field.\\n\"\n  \"  --no-parsing-spinner            - Disable progress metrics and parsing\\n\"\n  \"                                    spinner.\\n\"\n  \"  --no-progress                   - Disable progress metrics.\\n\"\n  \"  --no-tab-scroll                 - Disable scrolling through panels on TAB.\\n\"\n  \"  --tz=<timezone>                 - Use the specified timezone (canonical name,\\n\"\n  \"                                    e.g., America/Chicago).\\n\"\n  \"\\n\"\n  \"\"\n  /* Server Options */\n  CYN \"SERVER OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  --addr=<addr>                   - Specify IP address to bind server to.\\n\"\n  \"  --unix-socket=<addr>            - Specify UNIX-domain socket address to bind\\n\"\n  \"                                    server to.\\n\"\n  \"  --daemonize                     - Run as daemon (if --real-time-html\\n\"\n  \"                                    enabled).\\n\"\n  \"  --fifo-in=<path>                - Path to read named pipe (FIFO).\\n\"\n  \"  --fifo-out=<path>               - Path to write named pipe (FIFO).\\n\"\n  \"  --origin=<addr>                 - Ensure clients send this origin header upon\\n\"\n  \"                                    the WebSocket handshake.\\n\"\n  \"  --pid-file=<path>               - Write PID to a file when --daemonize is\\n\"\n  \"                                    used.\\n\"\n  \"  --port=<port>                   - Specify the port to use.\\n\"\n  \"  --real-time-html                - Enable real-time HTML output.\\n\"\n  \"  --ssl-cert=<cert.crt>           - Path to TLS/SSL certificate.\\n\"\n  \"  --ssl-key=<priv.key>            - Path to TLS/SSL private key.\\n\"\n  \"  --user-name=<username>          - Run as the specified user.\\n\"\n  \"  --ws-url=<url>                  - URL to which the WebSocket server responds.\\n\"\n#ifdef HAVE_LIBSSL\n  \"  --ws-auth=<jwt[:secret]>        - Enables WebSocket authentication using a\\n\"\n  \"                                    JSON Web Token (JWT). Optionally, a secret key\\n\"\n  \"                                    can be provided for verification.\\n\"\n  \"  --ws-auth-expire=<secs>         - Time after which the JWT expires.\\n\"\n  \"  --ws-auth-url=<url>             - URL to fetch the initial JWT .\\n\"\n  \"                                    e.g., https://site.com/api/get-auth-token\\n\"\n  \"  --ws-auth-refresh-url=<url>     - URL to fetch a new JWT when initial expires.\\n\"\n  \"                                    e.g., https://site.com/api/refresh-token\\n\"\n#endif\n  \"  --ping-interval=<secs>          - Enable WebSocket ping with specified\\n\"\n  \"                                    interval in seconds.\\n\"\n  \"\\n\"\n  \"\"\n  /* File Options */\n  CYN \"FILE OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  -                               - The log file to parse is read from stdin.\\n\"\n  \"  -f --log-file=<filename>        - Path to input log file.\\n\"\n  \"  -l --debug-file=<filename>      - Send all debug messages to the specified\\n\"\n  \"                                    file.\\n\"\n  \"  -p --config-file=<filename>     - Custom configuration file.\\n\"\n  \"  -S --log-size=<number>          - Specify the log size, useful when piping in\\n\"\n  \"                                    logs.\\n\"\n  \"  --external-assets               - Output HTML assets to external JS/CSS files.\\n\"\n  \"  --invalid-requests=<filename>   - Log invalid requests to the specified file.\\n\"\n  \"  --no-global-config              - Don't load global configuration file.\\n\"\n  \"  --unknowns-log=<filename>       - Log unknown browsers and OSs to the\\n\"\n  \"                                    specified file.\\n\"\n  \"\\n\"\n  \"\"\n  /* Parse Options */\n  CYN \"PARSE OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  -a --agent-list                 - Enable a list of user-agents by host.\\n\"\n  \"  -b --browsers-file=<path>       - Use additional custom list of browsers.\\n\"\n  \"  -d --with-output-resolver       - Enable IP resolver on HTML|JSON output.\\n\"\n  \"  -e --exclude-ip=<IP>            - Exclude one or multiple IPv4/6. Allows IP\\n\"\n  \"                                    ranges. e.g., 192.168.0.1-192.168.0.10\\n\"\n  \"  -j --jobs=<1-6>                 - Thread count for parsing log. Defaults to 1.\\n\"\n  \"                                    The use of 2-4 threads is recommended.\\n\"\n  \"  -H --http-protocol=<yes|no>     - Set/unset HTTP request protocol if found.\\n\"\n  \"  -M --http-method=<yes|no>       - Set/unset HTTP request method if found.\\n\"\n  \"  -o --output=<format|filename>   - Output to stdout or the specified file.\\n\"\n  \"                                    e.g., -o csv, -o out.json, --output=report.html\\n\"\n  \"  -q --no-query-string            - Strip request's query string. This can\\n\"\n  \"                                    decrease memory consumption.\\n\"\n  \"  -r --no-term-resolver           - Disable IP resolver on terminal output.\\n\"\n  \"  --444-as-404                    - Treat non-standard status code 444 as 404.\\n\"\n  \"  --4xx-to-unique-count           - Add 4xx client errors to the unique\\n\"\n  \"                                    visitors count.\\n\"\n  \"  --all-static-files              - Include static files with a query string.\\n\"\n  \"  --anonymize-ip                  - Anonymize IP addresses before outputting to\\n\"\n  \"                                    report.\\n\"\n  \"  --anonymize-level=<1|2|3>       - Anonymization levels: 1 => default, 2 =>\\n\"\n  \"                                    strong, 3 => pedantic.\\n\"\n  \"  --chunk-size=<256-32768>        - Number of lines processed in each data chunk\\n\"\n  \"                                    for parallel execution. Default is 1024.\\n\"\n  \"  --crawlers-only                 - Parse and display only crawlers.\\n\"\n  \"  --date-spec=<date|hr|min>       - Date specificity. Possible values: `date`\\n\"\n  \"                                    (default), `hr` or `min`.\\n\"\n  \"  --db-path=<path>                - Persist data to disk on exit to the given\\n\"\n  \"                                    path or /tmp as default.\\n\"\n  \"  --double-decode                 - Decode double-encoded values.\\n\"\n  \"  --enable-panel=<PANEL>          - Enable parsing/displaying the given panel.\\n\"\n  \"  --fname-as-vhost=<regex>        - Use log filename(s) as virtual host(s).\\n\"\n  \"                                    POSIX regex is passed to extract virtual\\n\"\n  \"                                    host.\\n\"\n  \"  --hide-referrer=<NEEDLE>        - Hide a referrer but still count it. Wild\\n\"\n  \"                                    cards are allowed. i.e., *.bing.com\\n\"\n  \"  --hour-spec=<hr|min>            - Hour specificity. Possible values: `hr`\\n\"\n  \"                                    (default) or `min` (tenth of a min).\\n\"\n  \"  --ignore-crawlers               - Ignore crawlers.\\n\"\n  \"  --ignore-panel=<PANEL>          - Ignore parsing/displaying the given panel.\\n\"\n  \"  --ignore-referrer=<NEEDLE>      - Ignore a referrer from being counted. Wild\\n\"\n  \"                                    cards are allowed. i.e., *.bing.com\\n\"\n  \"  --ignore-statics=<req|panel>    - Ignore static requests.\\n\"\n  \"                                    req => Ignore from valid requests.\\n\"\n  \"                                    panel => Ignore from valid requests and\\n\"\n  \"                                    panels.\\n\"\n  \"  --ignore-status=<CODE>          - Ignore parsing the given status code.\\n\"\n  \"  --keep-last=<NDAYS>             - Keep the last NDAYS in storage.\\n\"\n  \"  --no-ip-validation              - Disable client IPv4/6  validation.\\n\"\n  \"  --no-strict-status              - Disable HTTP status code validation.\\n\"\n  \"  --num-tests=<number>            - Number of lines to test. >= 0 (10 default)\\n\"\n  \"  --persist                       - Persist data to disk on exit to the given\\n\"\n  \"                                    --db-path or to /tmp.\\n\"\n  \"  --process-and-exit              - Parse log and exit without outputting data.\\n\"\n  \"  --real-os                       - Display real OS names. e.g, Windows XP,\\n\"\n  \"                                    Snow Leopard.\\n\"\n  \"  --restore                       - Restore data from disk from the given\\n\"\n  \"                                    --db-path or from /tmp.\\n\"\n  \"  --sort-panel=PANEL,METRIC,ORDER - Sort panel on initial load. e.g.,\\n\"\n  \"                                    --sort-panel=VISITORS,BY_HITS,ASC.\\n\"\n  \"                                    See manpage for a list of panels/fields.\\n\"\n  \"  --static-file=<extension>       - Add static file extension. e.g.: .mp3.\\n\"\n  \"                                    Extensions are case sensitive.\\n\"\n  \"  --unknowns-as-crawlers          - Classify unknown OS and browsers as crawlers.\\n\"\n  \"\\n\"\n\n/* GeoIP Options */\n#ifdef HAVE_GEOLOCATION\n  CYN \"GEOIP OPTIONS\" RESET\n  \"\\n\\n\"\n#ifdef HAVE_LIBGEOIP\n  \"  -g --std-geoip                  - Standard GeoIP database for less memory\\n\"\n  \"                                    consumption (legacy DB).\\n\"\n#endif\n  \"  --geoip-database=<path>         - Specify path to GeoIP database file.\\n\"\n  \"                                    i.e., GeoLiteCity.dat, GeoIPv6.dat ...\\n\"\n  \"\\n\"\n#endif\n\n/* Other Options */\n  CYN \"OTHER OPTIONS\" RESET\n  \"\\n\\n\"\n  \"  -h --help                       - This help.\\n\"\n  \"  -s --storage                    - Display current storage method. e.g., Hash.\\n\"\n  \"  -V --version                    - Display version information and exit.\\n\"\n  \"  --dcf                           - Display the path of the default config file\\n\"\n  \"                                    when `-p` is not used.\\n\"\n  \"\\n\"\n\n  \"%s `man goaccess`.\\n\\n\"\n  \"%s: %s\\n\"\n  \"GoAccess Copyright (C) 2009-2020 by Gerardo Orellana\"\n  \"\\n\\n\"\n  , INFO_HELP_EXAMPLES, INFO_MORE_INFO, GO_WEBSITE\n  );\n  exit (EXIT_FAILURE);\n}\n/* *INDENT-ON* */\n\n/* Push a command line option to the given array if within bounds and if it's\n * not in the array. */\nstatic void\nset_array_opt (const char *oarg, const char *arr[], int *size, int max) {\n  if (str_inarray (oarg, arr, *size) < 0 && *size < max)\n    arr[(*size)++] = oarg;\n}\n\n#ifdef HAVE_LIBSSL\n/*\n * parse_ws_auth_expire_option:\n *   Parses a time duration string and converts it to seconds.\n *\n * Supported formats:\n *   \"3600\"       -> 3600 seconds\n *   \"24h\"        -> 24 hours = 24 * 3600 seconds\n *   \"10m\"        -> 10 minutes = 10 * 60 seconds\n *   \"10d\"        -> 10 days = 10 * 86400 seconds\n *\n * Returns 0 on success, nonzero on failure.\n */\nstatic int\nparse_ws_auth_expire_option (const char *input) {\n  char *endptr = NULL;\n  double value = 0, multiplier = 0, total_seconds = 0;\n\n  if (!input || *input == '\\0')\n    return -1;  // Empty or NULL string\n\n  value = strtod (input, &endptr);\n  if (endptr == input) {\n    // No conversion could be performed\n    return -1;\n  }\n\n  multiplier = 1.0;\n  /* Skip any whitespace after the number */\n  while (isspace ((unsigned char) *endptr))\n    endptr++;\n\n  if (*endptr != '\\0') {\n    /* Expect a single unit character; any extra characters are not allowed */\n    char unit = *endptr;\n    endptr++;\n    while (isspace ((unsigned char) *endptr))\n      endptr++;\n\n    if (*endptr != '\\0') {\n      // Extra unexpected characters\n      return -1;\n    }\n\n    switch (unit) {\n    case 's':\n    case 'S':\n      multiplier = 1.0;\n      break;\n    case 'm':\n    case 'M':\n      multiplier = 60.0;\n      break;\n    case 'h':\n    case 'H':\n      multiplier = 3600.0;\n      break;\n    case 'd':\n    case 'D':\n      multiplier = 86400.0;\n      break;\n    default:\n      // Unknown unit\n      return -1;\n    }\n  }\n\n  total_seconds = value * multiplier;\n  if (total_seconds < 0)\n    return -1;  // Negative durations are not allowed\n\n  /* Store the result in your global configuration */\n  conf.ws_auth_expire = (long) total_seconds;\n  return 0;\n}\n\n /**\n * Reads a JWT secret from a file path\n * @param path File path containing the secret\n * @return 0 on success, 1 on failure\n */\nstatic int\nparse_jwt_from_file (const char *path) {\n  conf.ws_auth_secret = read_secret_from_file (path);\n  if (conf.ws_auth_secret == NULL) {\n    fprintf (stderr, \"Failed to read secret from file: %s\\n\", path);\n    return 1;\n  }\n  conf.ws_auth_verify_only = 1;\n  return 0;\n}\n\n/**\n * Retrieves a JWT secret from an environment variable\n * @param env_var Environment variable name (without '$' prefix)\n * @return 0 on success, 1 on failure\n */\nstatic int\nparse_jwt_from_env (const char *env_var) {\n  const char *env_secret = getenv (env_var);\n  if (env_secret != NULL) {\n    conf.ws_auth_secret = strdup (env_secret);\n    conf.ws_auth_verify_only = 1;\n    return 0;\n  }\n  fprintf (stderr, \"Environment variable %s not found\\n\", env_var);\n  return 1;\n}\n\n/**\n * Handles the 'verify:' prefix for JWT authentication\n * @param secret_spec Secret specification string\n * @return 0 on success, 1 on failure\n */\nstatic int\nparse_jwt_verify_option (const char *secret_spec) {\n  /* First try to read from file */\n  if (access (secret_spec, F_OK) == 0) {\n    return parse_jwt_from_file (secret_spec);\n  }\n\n  /* Then try environment variable if path contains '$' */\n  if (*secret_spec == '$') {\n    return parse_jwt_from_env (secret_spec + 1);\n  }\n\n  /* Finally use as direct secret string */\n  conf.ws_auth_verify_only = 1;\n  conf.ws_auth_secret = strdup (secret_spec);\n  return 0;\n}\n\n/**\n * Handles the legacy JWT format without 'verify:' prefix\n * @param remainder String after 'jwt:' prefix\n * @return 0 on success\n */\nstatic int\nparse_legacy_jwt_option (const char *remainder) {\n  if (access (remainder, F_OK) == 0) {\n    conf.ws_auth_secret = read_secret_from_file (remainder);\n  } else {\n    conf.ws_auth_secret = strdup (remainder);\n  }\n  return 0;\n}\n\n/**\n * Handles the plain 'jwt' option with no additional parameters\n * @return 0 on success\n */\nstatic int\nparse_plain_jwt_option (void) {\n  /* Try to get secret from environment variable */\n  const char *env_secret = getenv (\"GOACCESS_WSAUTH_SECRET\");\n  if (env_secret != NULL) {\n    conf.ws_auth_secret = strdup (env_secret);\n  } else {\n    /* Fallback to generating a secret */\n    conf.ws_auth_secret = generate_ws_auth_secret ();\n  }\n  return 0;\n}\n\n/**\n * Options:\n * # Read secret from file\n * --ws-auth=\"jwt:verify:/etc/ws_secret.txt\"\n *\n * # Get secret from environment variable\n * --ws-auth=\"jwt:verify:$GOACCESS_WSAUTH_SECRET\"\n *\n * # Use direct secret string\n * --ws-auth=\"jwt:verify:my_super_secret_key\"\n *\n * # Legacy formats still work\n * --ws-auth=\"jwt:/path/to/secret\"\n * --ws-auth=\"jwt:super_secret_key\"\n * --ws-auth=\"jwt\" // generate one\n *\n * Parses websocket authentication options\n * @param optarg Option argument string\n * @return 0 on success, 1 on failure/invalid option\n */\nstatic int\nparse_ws_auth_option (const char *optarg) {\n  /* Handle cases where it starts with \"jwt:\" */\n  const char *remainder = NULL;\n  /* First check for plain \"jwt\" option (no colon) */\n  if (strcmp (optarg, \"jwt\") == 0)\n    return parse_plain_jwt_option ();\n\n  /* If it doesn't start with \"jwt:\", it's invalid */\n  if (strncmp (optarg, \"jwt:\", 4) != 0)\n    return 1;\n\n  /* Handle cases where it starts with \"jwt:\" */\n  remainder = optarg + 4;\n\n  /* If the remainder is exactly \"verify\", that's reserved – error out */\n  if (strcmp (remainder, \"verify\") == 0)\n    return 1;\n\n  /* Check for \"verify:\" prefix */\n  if (strncmp (remainder, \"verify:\", 7) == 0) {\n    // Ensure that there is a secret specification after \"verify:\"\n    if (remainder[7] == '\\0') {\n      return 1; /* \"verify:\" with nothing following is invalid */\n    }\n    return parse_jwt_verify_option (remainder + 7);\n  }\n\n  /* Legacy jwt:secret format */\n  return parse_legacy_jwt_option (remainder);\n}\n\nstatic int\nvalidate_url_basic (const char *url) {\n  /* Check for NULL */\n  if (!url)\n    return 0;\n\n  /* Check for http:// or https:// protocol */\n  if (strncmp (url, \"http://\", 7) == 0) {\n    /* Make sure there's something after http:// */\n    return url[7] != '\\0';\n  } else if (strncmp (url, \"https://\", 8) == 0) {\n    /* Make sure there's something after https:// */\n    return url[8] != '\\0';\n  }\n\n  return 0;     /* No valid protocol */\n}\n#endif\n\n/* Parse command line long options. */\nstatic void\nparse_long_opt (const char *name, const char *oarg) {\n  if (!strcmp (\"no-global-config\", name))\n    return;\n\n  /* LOG & DATE FORMAT OPTIONS\n   * ========================= */\n\n  /* datetime format */\n  if (!strcmp (\"datetime-format\", name) && !conf.date_format && !conf.time_format) {\n    set_date_format_str (oarg);\n    set_time_format_str (oarg);\n  }\n\n  /* log format */\n  if (!strcmp (\"log-format\", name))\n    set_log_format_str (oarg);\n\n  /* time format */\n  if (!strcmp (\"time-format\", name))\n    set_time_format_str (oarg);\n\n  /* date format */\n  if (!strcmp (\"date-format\", name))\n    set_date_format_str (oarg);\n\n  /* USER INTERFACE OPTIONS\n   * ========================= */\n  /* colors */\n  if (!strcmp (\"color\", name))\n    set_array_opt (oarg, conf.colors, &conf.color_idx, MAX_CUSTOM_COLORS);\n\n  /* color scheme */\n  if (!strcmp (\"color-scheme\", name))\n    conf.color_scheme = atoi (oarg);\n\n  /* html custom CSS */\n  if (!strcmp (\"html-custom-css\", name)) {\n    if (strpbrk (oarg, \"&\\\"'<>\"))\n      FATAL (\"Invalid filename. The following chars are not allowed in filename: [\\\"'&<>]\\n\");\n    conf.html_custom_css = oarg;\n  }\n\n  /* html custom JS */\n  if (!strcmp (\"html-custom-js\", name)) {\n    if (strpbrk (oarg, \"&\\\"'<>\"))\n      FATAL (\"Invalid filename. The following chars are not allowed in filename: [\\\"'&<>]\\n\");\n    conf.html_custom_js = oarg;\n  }\n\n  /* html JSON object containing default preferences */\n  if (!strcmp (\"html-prefs\", name))\n    conf.html_prefs = oarg;\n\n  /* html report title */\n  if (!strcmp (\"html-report-title\", name))\n    conf.html_report_title = oarg;\n\n  /* json pretty print */\n  if (!strcmp (\"json-pretty-print\", name))\n    conf.json_pretty_print = 1;\n\n  /* max items */\n  if (!strcmp (\"max-items\", name)) {\n    char *sEnd;\n    int max = strtol (oarg, &sEnd, 10);\n    if (oarg == sEnd || *sEnd != '\\0' || errno == ERANGE)\n      conf.max_items = 1;\n    else\n      conf.max_items = max;\n  }\n\n  /* no color */\n  if (!strcmp (\"no-color\", name))\n    conf.no_color = 1;\n\n  /* no strict status */\n  if (!strcmp (\"no-strict-status\", name))\n    conf.no_strict_status = 1;\n\n  /* no csv summary */\n  if (!strcmp (\"no-csv-summary\", name))\n    conf.no_csv_summary = 1;\n\n  /* no parsing spinner */\n  if (!strcmp (\"no-parsing-spinner\", name))\n    conf.no_parsing_spinner = 1;\n\n  /* no progress */\n  if (!strcmp (\"no-progress\", name))\n    conf.no_progress = 1;\n\n  /* no tab scroll */\n  if (!strcmp (\"no-tab-scroll\", name))\n    conf.no_tab_scroll = 1;\n\n  /* no html last updated field */\n  if (!strcmp (\"no-html-last-updated\", name))\n    conf.no_html_last_updated = 1;\n\n  /* SERVER OPTIONS\n   * ========================= */\n  /* address to bind to */\n  if (!strcmp (\"addr\", name))\n    conf.addr = oarg;\n\n  /* unix socket to use */\n  if (!strcmp (\"unix-socket\", name))\n    conf.unix_socket = oarg;\n\n  /* FIFO in (read) */\n  if (!strcmp (\"fifo-in\", name))\n    conf.fifo_in = oarg;\n\n  /* FIFO out (write) */\n  if (!strcmp (\"fifo-out\", name))\n    conf.fifo_out = oarg;\n\n  /* run program as a Unix daemon */\n  if (!strcmp (\"daemonize\", name))\n    conf.daemonize = 1;\n\n  if (!strcmp (\"user-name\", name))\n    conf.username = oarg;\n\n  /* WebSocket origin */\n  if (!strcmp (\"origin\", name))\n    conf.origin = oarg;\n\n  /* PID file to write */\n  if (!strcmp (\"pid-file\", name))\n    conf.pidfile = oarg;\n\n  /* port to use */\n  if (!strcmp (\"port\", name)) {\n    int port = strtol (oarg, NULL, 10);\n    if (port < 0 || port > 65535)\n      LOG_DEBUG ((\"Invalid port.\"));\n    else\n      conf.port = oarg;\n  }\n\n  /* real time HTML */\n  if (!strcmp (\"real-time-html\", name))\n    conf.real_time_html = 1;\n\n  /* persist data to disk */\n  if (!strcmp (\"persist\", name))\n    conf.persist = 1;\n\n  /* restore data from disk */\n  if (!strcmp (\"restore\", name))\n    conf.restore = 1;\n\n  /* TLS/SSL certificate */\n  if (!strcmp (\"ssl-cert\", name)) {\n    // Check if the SSL certificate file exists and is readable\n    if (access (oarg, F_OK) != 0)\n      FATAL (\"SSL certificate file does not exist\");\n    if (access (oarg, R_OK) != 0)\n      FATAL (\"SSL certificate file is not accessible\");\n    conf.sslcert = oarg;\n  }\n\n  /* TLS/SSL private key */\n  if (!strcmp (\"ssl-key\", name)) {\n    // Check if the SSL private key file exists and is readable\n    if (access (oarg, F_OK) != 0)\n      FATAL (\"SSL key file does not exist\");\n    if (access (oarg, R_OK) != 0)\n      FATAL (\"SSL key file is not accessible\");\n    conf.sslkey = oarg;\n  }\n\n  /* timezone */\n  if (!strcmp (\"tz\", name))\n    conf.tz_name = oarg;\n\n  /* URL to which the WebSocket server responds. */\n  if (!strcmp (\"ws-url\", name))\n    conf.ws_url = oarg;\n\n#ifdef HAVE_LIBSSL\n  /* WebSocket auth */\n  if (!strcmp (\"ws-auth\", name) && parse_ws_auth_option (oarg) != 0)\n    FATAL (\"Invalid --ws-auth option.\");\n\n  /* WebSocket auth JWT expires */\n  if (!strcmp (\"ws-auth-expire\", name) && parse_ws_auth_expire_option (oarg) != 0)\n    FATAL (\"Invalid --ws-auth-expire option.\");\n\n  /* WebSocket auth JWT URL */\n  if (!strcmp (\"ws-auth-url\", name)) {\n    if (validate_url_basic (oarg) == 0)\n      FATAL (\"Invalid --ws-auth-url option (check URL validity).\");\n    conf.ws_auth_url = oarg;\n  }\n\n  /* WebSocket auth JWT URL refresh */\n  if (!strcmp (\"ws-auth-refresh-url\", name)) {\n    if (validate_url_basic (oarg) == 0)\n      FATAL (\"Invalid --ws-auth-refresh-url option (check URL validity).\");\n    conf.ws_auth_refresh_url = oarg;\n  }\n#endif\n\n  /* WebSocket ping interval in seconds */\n  if (!strcmp (\"ping-interval\", name))\n    conf.ping_interval = oarg;\n\n  /* FILE OPTIONS\n   * ========================= */\n  /* invalid requests */\n  if (!strcmp (\"invalid-requests\", name)) {\n    conf.invalid_requests_log = oarg;\n    invalid_log_open (conf.invalid_requests_log);\n  }\n\n  /* unknowns */\n  if (!strcmp (\"unknowns-log\", name)) {\n    conf.unknowns_log = oarg;\n    unknowns_log_open (conf.unknowns_log);\n  }\n\n  /* output file */\n  if (!strcmp (\"output-format\", name))\n    FATAL (\"The option --output-format is deprecated, please use --output instead.\");\n\n  /* PARSE OPTIONS\n   * ========================= */\n  /* 444 as 404 */\n  if (!strcmp (\"444-as-404\", name))\n    conf.code444_as_404 = 1;\n\n  /* 4xx to unique count */\n  if (!strcmp (\"4xx-to-unique-count\", name))\n    conf.client_err_to_unique_count = 1;\n\n  /* anonymize ip */\n  if (!strcmp (\"anonymize-ip\", name))\n    conf.anonymize_ip = 1;\n\n  /* anonymization level */\n  if (!strcmp (\"anonymize-level\", name))\n    conf.anonymize_level = atoi (oarg);\n\n  /* all static files */\n  if (!strcmp (\"all-static-files\", name))\n    conf.all_static_files = 1;\n\n  /* chunk size */\n  if (!strcmp (\"chunk-size\", name)) {\n    /* Recommended chunk size is 256 - 32768, hard limit is 32 - 1048576. */\n    conf.chunk_size = atoi (oarg);\n    if (conf.chunk_size < 32)\n      FATAL (\"The hard lower limit of --chunk-size is 32.\");\n    if (conf.chunk_size > 1048576)\n      FATAL (\"The hard limit of --chunk-size is 1048576.\");\n  }\n\n  /* crawlers only */\n  if (!strcmp (\"crawlers-only\", name))\n    conf.crawlers_only = 1;\n\n  /* date specificity */\n  if (!strcmp (\"date-spec\", name)) {\n    if (!strcmp (oarg, \"hr\"))\n      conf.date_spec_hr = 1;\n    else if (!strcmp (oarg, \"min\"))\n      conf.date_spec_hr = 2;\n    else if (!strcmp (oarg, \"date\"))\n      conf.date_spec_hr = 0;\n  }\n\n  /* double decode */\n  if (!strcmp (\"double-decode\", name))\n    conf.double_decode = 1;\n\n  /* enable panel */\n  if (!strcmp (\"enable-panel\", name))\n    set_array_opt (oarg, conf.enable_panels, &conf.enable_panel_idx, TOTAL_MODULES);\n\n  /* external assets */\n  if (!strcmp (\"external-assets\", name))\n    conf.external_assets = 1;\n\n  /* hour specificity */\n  if (!strcmp (\"hour-spec\", name) && !strcmp (oarg, \"min\"))\n    conf.hour_spec_min = 1;\n\n  /* ignore crawlers */\n  if (!strcmp (\"ignore-crawlers\", name))\n    conf.ignore_crawlers = 1;\n\n  /* ignore panel */\n  if (!strcmp (\"ignore-panel\", name))\n    set_array_opt (oarg, conf.ignore_panels, &conf.ignore_panel_idx, TOTAL_MODULES);\n\n  /* ignore referrer */\n  if (!strcmp (\"ignore-referrer\", name))\n    set_array_opt (oarg, conf.ignore_referers, &conf.ignore_referer_idx, MAX_IGNORE_REF);\n\n  /* client IP validation */\n  if (!strcmp (\"no-ip-validation\", name))\n    conf.no_ip_validation = 1;\n\n  /* hide referrer from report (e.g. within same site) */\n  if (!strcmp (\"hide-referrer\", name))\n    set_array_opt (oarg, conf.hide_referers, &conf.hide_referer_idx, MAX_IGNORE_REF);\n\n  /* ignore status code */\n  if (!strcmp (\"ignore-status\", name))\n    if (conf.ignore_status_idx < MAX_IGNORE_STATUS)\n      conf.ignore_status[conf.ignore_status_idx++] = atoi (oarg);\n\n  /* ignore static requests */\n  if (!strcmp (\"ignore-statics\", name)) {\n    if (!strcmp (\"req\", oarg))\n      conf.ignore_statics = IGNORE_LEVEL_REQ;\n    else if (!strcmp (\"panel\", oarg))\n      conf.ignore_statics = IGNORE_LEVEL_PANEL;\n    else\n      LOG_DEBUG ((\"Invalid statics ignore option.\"));\n  }\n\n  /* number of line tests */\n  if (!strcmp (\"num-tests\", name)) {\n    char *sEnd;\n    int tests = strtol (oarg, &sEnd, 10);\n    if (oarg == sEnd || *sEnd != '\\0' || errno == ERANGE)\n      return;\n    conf.num_tests = tests >= 0 ? tests : 0;\n  }\n\n  /* number of days to keep in storage */\n  if (!strcmp (\"keep-last\", name)) {\n    char *sEnd;\n    int keeplast = strtol (oarg, &sEnd, 10);\n    if (oarg == sEnd || *sEnd != '\\0' || errno == ERANGE)\n      return;\n    conf.keep_last = keeplast >= 0 ? keeplast : 0;\n  }\n\n  /* refresh html every X seconds */\n  if (!strcmp (\"html-refresh\", name)) {\n    char *sEnd;\n    uint64_t ref = strtoull (oarg, &sEnd, 10);\n    if (oarg == sEnd || *sEnd != '\\0' || errno == ERANGE)\n      return;\n    conf.html_refresh = ref >= 1 && ref <= 60 ? ref : 0;\n  }\n\n  /* specifies the path of the database file */\n  if (!strcmp (\"db-path\", name)) {\n    struct stat st;\n    // Check if the directory exists and is accessible\n    if (stat (oarg, &st) != 0 || !S_ISDIR (st.st_mode))\n      FATAL (\"Database path does not exist or is not a directory\");\n    conf.db_path = oarg;\n  }\n\n  /* specifies the regex to extract the virtual host */\n  if (!strcmp (\"fname-as-vhost\", name) && oarg && *oarg != '\\0')\n    conf.fname_as_vhost = oarg;\n\n  /* process and exit */\n  if (!strcmp (\"process-and-exit\", name))\n    conf.process_and_exit = 1;\n\n  /* real os */\n  if (!strcmp (\"real-os\", name))\n    conf.real_os = 1;\n\n  /* sort view */\n  if (!strcmp (\"sort-panel\", name))\n    set_array_opt (oarg, conf.sort_panels, &conf.sort_panel_idx, TOTAL_MODULES);\n\n  /* static file */\n  if (!strcmp (\"static-file\", name) && conf.static_file_idx < MAX_EXTENSIONS) {\n    if (conf.static_file_max_len < strlen (oarg))\n      conf.static_file_max_len = strlen (oarg);\n    set_array_opt (oarg, conf.static_files, &conf.static_file_idx, MAX_EXTENSIONS);\n  }\n\n  /* classify unknowns as crawlers */\n  if (!strcmp (\"unknowns-as-crawlers\", name))\n    conf.unknowns_as_crawlers = 1;\n\n  /* concatenate vhost and request */\n  if (!strcmp (\"concat-vhost-req\", name))\n    conf.concat_vhost_req = 1;\n\n  /* GEOIP OPTIONS\n   * ========================= */\n  /* specifies the path of the GeoIP City database file */\n  if (!strcmp (\"geoip-database\", name) && conf.geoip_db_idx < MAX_GEOIP_DBS)\n    set_array_opt (oarg, conf.geoip_databases, &conf.geoip_db_idx, MAX_GEOIP_DBS);\n\n  /* default config file --dwf */\n  if (!strcmp (\"dcf\", name)) {\n    display_default_config_file ();\n    exit (EXIT_SUCCESS);\n  }\n}\n\n/* Determine if the '--no-global-config' command line option needs to be\n * enabled or not. */\nvoid\nverify_global_config (int argc, char **argv) {\n  int o, idx = 0;\n\n  conf.load_global_config = 1;\n  while ((o = getopt_long (argc, argv, short_options, long_opts, &idx)) >= 0) {\n    if (-1 == o || EOF == o)\n      break;\n\n    switch (o) {\n    case 'p':\n      conf.iconfigfile = xstrdup (optarg);\n      break;\n    case 0:\n      if (!strcmp (\"no-global-config\", long_opts[idx].name))\n        conf.load_global_config = 0;\n      break;\n    case '?':\n      exit (EXIT_FAILURE);\n    }\n  }\n\n  /* reset it to 1 */\n  optind = 1;\n}\n\n/* Attempt to add - to the array of filenames if it hasn't been added it yet. */\nvoid\nadd_dash_filename (void) {\n  int i;\n  // pre-scan for '-' and don't add if already exists: github.com/allinurl/goaccess/issues/907\n  for (i = 0; i < conf.filenames_idx; ++i) {\n    if (conf.filenames[i][0] == '-' && conf.filenames[i][1] == '\\0')\n      return;\n  }\n\n  if (conf.filenames_idx < MAX_FILENAMES && !conf.read_stdin) {\n    conf.read_stdin = 1;\n    conf.filenames[conf.filenames_idx++] = \"-\";\n  }\n}\n\n/* Read the user's supplied command line options. */\nvoid\nread_option_args (int argc, char **argv) {\n  int o, idx = 0;\n\n#ifdef HAVE_LIBGEOIP\n  conf.geo_db = GEOIP_MEMORY_CACHE;\n#endif\n\n  while ((o = getopt_long (argc, argv, short_options, long_opts, &idx)) >= 0) {\n    if (-1 == o || EOF == o)\n      break;\n    switch (o) {\n    case 'f':\n      if (conf.filenames_idx < MAX_FILENAMES)\n        conf.filenames[conf.filenames_idx++] = optarg;\n      break;\n    case 'S':\n      if (strchr (optarg, '-')) {\n        printf (\"[ERROR] log-size must be a positive integer\\n\");\n        exit (EXIT_FAILURE);\n      }\n      conf.log_size = (uint64_t) atoll (optarg);\n      break;\n    case 'p':\n      /* ignore it */\n      break;\n#ifdef HAVE_LIBGEOIP\n    case 'g':\n      conf.geo_db = GEOIP_STANDARD;\n      break;\n#endif\n    case 'e':\n      if (conf.ignore_ip_idx < MAX_IGNORE_IPS)\n        conf.ignore_ips[conf.ignore_ip_idx++] = optarg;\n      else\n        LOG_DEBUG ((\"Max num of (%d) IPs to ignore reached.\", MAX_IGNORE_IPS));\n      break;\n    case 'a':\n      conf.list_agents = 1;\n      break;\n    case 'b':\n      conf.browsers_file = optarg;\n      break;\n    case 'c':\n      conf.load_conf_dlg = 1;\n      break;\n    case 'i':\n      conf.hl_header = 1;\n      break;\n    case 'j':\n      /* Recommended 4 threads, soft limit is 6, hard limit is 12. */\n      conf.jobs = atoi (optarg);\n      if (conf.jobs > 12)\n        FATAL (\"The hard limit of --jobs is 12.\");\n      break;\n    case 'q':\n      conf.ignore_qstr = 1;\n      break;\n    case 'o':\n      if (!valid_output_type (optarg))\n        FATAL (\"Invalid filename extension. It must be any of .csv, .json, or .html\\n\");\n      if (!is_writable_path (optarg))\n        FATAL (\"Invalid or unwritable path.\");\n      if (conf.output_format_idx < MAX_OUTFORMATS)\n        conf.output_formats[conf.output_format_idx++] = optarg;\n      break;\n    case 'l':\n      conf.debug_log = optarg;\n      dbg_log_open (conf.debug_log);\n      break;\n    case 'r':\n      conf.skip_term_resolver = 1;\n      break;\n    case 'd':\n      conf.enable_html_resolver = 1;\n      break;\n    case 'm':\n      conf.mouse_support = 1;\n      break;\n    case 'M':\n      if (strcmp (\"no\", optarg) == 0)\n        conf.append_method = 0;\n      else\n        conf.append_method = 1;\n      break;\n    case 'h':\n      cmd_help ();\n      break;\n    case 'H':\n      if (strcmp (\"no\", optarg) == 0)\n        conf.append_protocol = 0;\n      else\n        conf.append_protocol = 1;\n      break;\n    case 'V':\n      display_version ();\n      exit (EXIT_SUCCESS);\n      break;\n    case 0:\n      parse_long_opt (long_opts[idx].name, optarg);\n      break;\n    case 's':\n      display_storage ();\n      exit (EXIT_SUCCESS);\n    case '?':\n      exit (EXIT_FAILURE);\n    default:\n      exit (EXIT_FAILURE);\n    }\n  }\n\n  for (idx = optind; idx < argc; ++idx) {\n    /* read from standard input */\n    if (!conf.read_stdin && strcmp (\"-\", argv[idx]) == 0)\n      add_dash_filename ();\n    /* read filenames */\n    else {\n      if (conf.filenames_idx < MAX_FILENAMES)\n        conf.filenames[conf.filenames_idx++] = argv[idx];\n    }\n  }\n\n  /* Final validation:\n   * When using JWT verify mode, the ws-auth-url must be provided.\n   * And if a ws-auth-refresh-url is set, then both ws_auth_verify_only and ws_auth_url must be set.\n   */\n  if (conf.ws_auth_verify_only && !conf.ws_auth_url) {\n    FATAL (\"--ws-auth with verify requires --ws-auth-url to be set.\");\n  }\n\n  if (conf.ws_auth_refresh_url) {\n    if (!conf.ws_auth_verify_only || !conf.ws_auth_url) {\n      FATAL\n        (\"--ws-auth-refresh-url requires both --ws-auth with verify and --ws-auth-url to be set.\");\n    }\n  }\n  // Ensure that both ssl-cert and ssl-key are either both set or both unset\n  if ((conf.sslcert && !conf.sslkey) || (!conf.sslcert && conf.sslkey)) {\n    FATAL (\"Both --ssl-cert and --ssl-key must be set and accessible.\");\n  }\n}\n"
  },
  {
    "path": "src/options.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef OPTIONS_H_INCLUDED\n#define OPTIONS_H_INCLUDED\n\n#define CYN   \"\\x1B[36m\"\n#define RESET \"\\x1B[0m\"\n#define HTML_REFRESH 1 /* in seconds */\n\nvoid add_dash_filename (void);\nvoid cmd_help (void) __attribute__((noreturn));\nvoid read_option_args (int argc, char **argv);\nvoid verify_global_config (int argc, char **argv);\n\n#endif\n"
  },
  {
    "path": "src/output.c",
    "content": "/**\n * output.c -- output to the standard output stream\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#include <errno.h>\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <libgen.h>\n\n#include \"output.h\"\n\n#include \"error.h\"\n#include \"json.h\"\n#include \"settings.h\"\n#include \"ui.h\"\n#include \"util.h\"\n#include \"wsauth.h\"\n#include \"xmalloc.h\"\n\n#include \"tpls.h\"\n#include \"bootstrapcss.h\"\n#include \"facss.h\"\n#include \"appcss.h\"\n#include \"d3js.h\"\n#include \"topojsonjs.h\"\n#include \"hoganjs.h\"\n#include \"countries110m.h\"\n#include \"cities10m.h\"\n#include \"chartsjs.h\"\n#include \"appjs.h\"\n\nstatic void hits_bw_plot (FILE * fp, GHTMLPlot plot, int sp);\nstatic void hits_bw_req_plot (FILE * fp, GHTMLPlot plot, int sp);\nstatic void hits_visitors_plot (FILE * fp, GHTMLPlot plot, int sp);\nstatic void hits_visitors_req_plot (FILE * fp, GHTMLPlot plot, int sp);\n\nstatic void print_metrics (FILE * fp, const GHTML * def, int sp);\nstatic void print_host_metrics (FILE * fp, const GHTML * def, int sp);\n\n/* *INDENT-OFF* */\nstatic const GHTML htmldef[] = {\n  {VISITORS, 1, 0, print_metrics, {\n    {CHART_AREASPLINE, hits_visitors_plot, 1, 1, NULL, NULL} ,\n    {CHART_AREASPLINE, hits_bw_plot, 1, 1, NULL, NULL} ,\n  }},\n  {REQUESTS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_req_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_req_plot, 0, 0, NULL, NULL},\n  }},\n  {REQUESTS_STATIC, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_req_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_req_plot, 0, 0, NULL, NULL},\n  }},\n  {NOT_FOUND, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_req_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_req_plot, 0, 0, NULL, NULL},\n  }},\n  {HOSTS, 1, 0, print_host_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {OS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {BROWSERS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {VISIT_TIMES, 1, 0, print_metrics, {\n    {CHART_AREASPLINE, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_AREASPLINE, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {VIRTUAL_HOSTS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {REFERRERS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {REFERRING_SITES, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {KEYPHRASES, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {STATUS_CODES, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {REMOTE_USER, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n  {CACHE_STATUS, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION, 1, 1, print_metrics, {\n    {CHART_WMAP, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {ASN, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 0, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 0, NULL, NULL},\n  }},\n#endif\n  {MIME_TYPE, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n  {TLS_TYPE, 1, 0, print_metrics, {\n    {CHART_VBAR, hits_visitors_plot, 0, 1, NULL, NULL},\n    {CHART_VBAR, hits_bw_plot, 0, 1, NULL, NULL},\n  }},\n\n};\n/* *INDENT-ON* */\n\n/* number of new lines (applicable fields) */\nstatic int nlines = 0;\nstatic int external_assets = 0;\n\n/* Get the chart type for the JSON definition.\n *\n * On success, the chart type string is returned. */\nstatic const char *\nchart2str (GChartType type) {\n  static const char *strings[] = { \"null\", \"bar\", \"area-spline\", \"wmap\", \"gmap\" };\n  return strings[type];\n}\n\n/* Get panel output data for the given module.\n *\n * If not found, NULL is returned.\n * On success, panel data is returned . */\nstatic const GHTML *\npanel_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (htmldef);\n\n  for (i = 0; i < num_panels; i++) {\n    if (htmldef[i].module == module)\n      return &htmldef[i];\n  }\n  return NULL;\n}\n\n/* Sanitize output with html entities for special chars */\nstatic void\nclean_output (FILE *fp, const char *s) {\n  if (!s) {\n    LOG_DEBUG ((\"NULL data on clean_output.\\n\"));\n    return;\n  }\n\n  while (*s) {\n    switch (*s) {\n    case '\\'':\n      fprintf (fp, \"&#39;\");\n      break;\n    case '\"':\n      fprintf (fp, \"&#34;\");\n      break;\n    case '&':\n      fprintf (fp, \"&amp;\");\n      break;\n    case '<':\n      fprintf (fp, \"&lt;\");\n      break;\n    case '>':\n      fprintf (fp, \"&gt;\");\n      break;\n    case ' ':\n      fprintf (fp, \"&nbsp;\");\n      break;\n    default:\n      fputc (*s, fp);\n      break;\n    }\n    s++;\n  }\n}\n\n/* Set the HTML document title and the generated date/time */\nstatic void\nprint_html_title (FILE *fp) {\n  const char *title = conf.html_report_title ? conf.html_report_title : HTML_REPORT_TITLE;\n\n  fprintf (fp, \"<title>\");\n  clean_output (fp, title);\n  fprintf (fp, \"</title>\");\n}\n\nstatic void\nprint_html_header_styles (FILE *fp, FILE *fcs) {\n  if (fcs) {\n    fprintf (fp, \"<link rel='stylesheet' href='%s'>\", FILENAME_CSS);\n    fprintf (fcs, \"%.*s\\n\", fa_css_length, fa_css);\n    fprintf (fcs, \"%.*s\\n\", bootstrap_css_length, bootstrap_css);\n    fprintf (fcs, \"%.*s\\n\", app_css_length, app_css);\n  } else {\n    fprintf (fp, \"<style>%.*s</style>\", fa_css_length, fa_css);\n    fprintf (fp, \"<style>%.*s</style>\", bootstrap_css_length, bootstrap_css);\n    fprintf (fp, \"<style>%.*s</style>\", app_css_length, app_css);\n  }\n}\n\n/* *INDENT-OFF* */\n/* Output all the document head elements. */\nstatic void\nprint_html_header (FILE * fp, FILE *fcs)\n{\n  fprintf (fp,\n  \"<!DOCTYPE html>\"\n  \"<html lang='%s'>\"\n  \"<head>\"\n  \"<meta charset='UTF-8'>\"\n  \"<meta name='theme-color' content='#1e1e2f'>\"\n  \"<meta name='referrer' content='no-referrer'>\"\n  \"<meta http-equiv='X-UA-Compatible' content='IE=edge'>\"\n  \"<meta name='google' content='notranslate'>\"\n  \"<meta name='viewport' content='width=device-width, initial-scale=1'>\"\n  \"<meta name='robots' content='noindex, nofollow'>\", _(DOC_LANG));\n\n  /* Output base64 encoded goaccess favicon.ico*/\n  fprintf (fp, \"<link rel='icon' href='data:image/x-icon;base64,AAABAAEA\"\n  \"EBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAgAAAAAAAAAAAAAAAEAAAA\"\n  \"AAAAADGxsYAWFhYABwcHABfAP8A/9dfAADXrwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"\n  \"AAAAAAAAAAAAAAAAAAAAAAIiIiIiIiIiIjMlUkQgAiIiIiIiIiIiIiIzJVJEIAAAIiIiI\"\n  \"iIiIiIiMyVSRCAAIiIiIiIiIiIiIRERERERERERERERERERERIiIiIiIiIiIgACVVUiIi\"\n  \"IiIiIiIiIiIiIAAlVVIiIiIiIiIiIiIiIhEREREREREREREREREREREAAAAAAAAAAAAAA\"\n  \"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\"\n  \"AA' type='image/x-icon' />\");\n\n  /* Output base64-encoded goaccess apple-touch-icon png */\n  fprintf (fp, \"<link rel='apple-touch-icon' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAYAAAA9zQYyAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAC6RJREFUeJzt3V9sU+cZBvDHduI4Mf5TMMFBgVA3oaRtaEuiUqVStbYb3FiNgItOcNnCRbUJaReTejNNWtVKvZhKq96sUid1a2AXmIkmlbqodGy0CJGREdjiAIkoFCVgU0hsx/9iexcTVbtm5Njn+47tN89P4u74/b7Ak8PxOef9Plt7e3sJRELYqz0BIpUYaBKFgSZRGGgShYEmURhoEoWBJlEYaBKFgSZRGGgShYEmURhoEoWBJlEYaBKFgSZRGGgShYEmURhoEoWBJlEYaBKFgSZRGGgShYEmURhoEqVB9wBerxetra3w+/1wOp2w2/k7tJKUSiUsLi4imUwiFoshFouhVNK3tpFN18pJDocDnZ2dWLt2rY7yVKcWFhYwMTGBdDqtpb6W06XD4UBPTw/DTD/Q0tKCxx9/HM3NzVrqawl0Z2cnVq1apaM0CdDQ0IAtW7bAZrMpr6080F6vl2dmWpbb7daSE+WBbm1tVV2ShAoEAsprKg+03+9XXZKE0nFZqjzQTqdTdUkSqrGxUXlN5YHmfWYyqi6+FBJVEwNNojDQJAoDTVWj450O5YFeXFxUXZKEyufzymsqD/TCwoLqkiRUMplUXlN5oG/fvq26JAkVj8eV11Qe6JmZGWSzWdVlSZhUKoVYLKa8rvJAF4tFTE5Oolgsqi5NQiwuLiIajdbHl0IAmJ+fx8WLF3mmph9IpVI4f/68thf8tXWsAP99DB4MBhEIBNDc3Kzl2T3VtlKphHw+j2QyiXg8Xr8tWETVwAcrJAoDTaIw0CQKA02iMNAkCgNNojDQJAoDTaIw0CSK9tVHv6uvrw/hcBihUAgul8vKob+VyWQwNTWF4eFhjI6OKqvb05/G83uS2LA5hyZXdR6+ZjM2XJt04vOjHlw4XZ2/32qz7NH3vn37MDAwYMVQhkUiERw5csR0nRdfmcNPXkoomJE6nw56MPR7X7WnYTlLLjn6+vpqLswAsHv3bvT29pqq0dOfrrkwA8DOvQk89nSm2tOwnCWBDofDVgxTEbNze36P+jYiVZ7bU3u/aLpZEuhQKGTFMBUxO7cNXTlFM1Fv4+banZsulgRa5/uvdD/ql9qqdZYEenp62ophKjI1NWXq89cu1e7ilNcmV15DhSWBHhoasmKYipid2+dHPYpmot6JGp6bLg6v1/tr3YPMzMzA4XCgu7tb91BliUQiGBkZMVXj1tcNcDSU0NlTW9ern37kxRfD7mpPw3KWtmBt27YN4XAYDz30kLZNY5aTyWRw5coVDA0N4dy5c8rqPvZ0Bs/tSaDj4Ryamqv0YCVtw1dRJ04c9eBfZ/hghaju8V0OEoWBJlEYaBKFgSZRGGgShYEmURhoEoWBJlEYaBJFe0+h2+1GMBiEz+eDy+XiTrMrUC6XQzqdRjwex+zsbH0up2uz2RAKhRAMBrVsgUv1KZvNYmJiQsuGQYCmSw6bzYZHH30UbW1tDDN9T1NTE7Zu3QqPR8+rrVoCvWnTJvj9fh2lSQC73Y7u7m44HA71tVUXdLlcWL9+veqyJIzT6URbW5vyusoDvW7dOl5mkCGBQEB5TeWB9vlW3uImVBm326385Kc80E5n7TaNUm2x2WxoaFB751h5oHmfmcpR82doompioEkUBppEYaCpqlS/16E80IuLi6pLklClUkl5XpQHOpVKqS5JQqVSqdo/Q3/zzTeqS5JQ8XhceU3lgY7H4zxL07Ky2SxmZmaU11Ue6FKphGg0ymtp+r+KxSKi0SgKhYLy2lrucqTTaYyPjyOdTusoT3Usm81ifHwciYSe7TK0LtZos9mwbt06BAIBuN1uNDauvAW4Ccjn80ilUojH47h582Z9tmARVQMfrJAoDDSJwkCTKAw0icJAkygMNInCQJMoDDSJwkCTKNpXH/2uHekA9ic7sDXnQUup8mWgFmwFnHfO433PdYy4YmV/vmVVEQMH5rDt2TRc7mJZn02n7Bg72Yw//86HdKr880Ggfwc69uyHZ/NWOFwtZX/+nlKhgMzNrzF74hiuHnkPxWym7Bp9fX0Ih8MIhUJwuSrfqDOTyWBqagrDw8MYHR2tuI4Klj36fm2uE68mOpTXfddzFW/5jG9A39BYwi8OxbChy9xWxtcuOfHbg2tRWDTeht/5ymvoeOlVU+MuZe7f/8C5X/60rFDv27cPAwMDyucSiURw5MgR5XWNsmSv7x3pAF6/+7CW2ttzflxwJjDdsGDo+B/tTmL7DmPH3o9vTQELCQeuThhbWCfQvwMP/+x10+MuxbV2PVAo4M7504aO7+vrw8svv6xlLt3d3ZientbyrrMRllxD70+qPzN/r35io+Fj+543H+Zva71gvFbHnv3Kxl1K8IVdho8Nh8MaZ6K//v1YEuienJ61gO/ZWkb94EZ1jQfBjrzhYz1dPcrGXYpr3QbDx4ZCIY0z0V//fkTc5VhVMv7dVuUXhlJ53ye1KmaNN1MUizU0ccUsCfS4c15r/YTd+Fn35jV1TQbl1Jq/NK5s3KXMTZ43fOylS5c0zgSYmjL+JV01SwL9vue61vp/bbpt+NjRzyq/Vfa/zp4wXuv60feVjWu2/vHjx7V2jQwNDWmrvRxL7nJMNyygsWTH9pz6bSru2PPYHxhH0m6s4fL6lUY80peFL2CuQfOrqBN/esePUtHYbbuFr6dhb2iEv2e7qXGXcvWjd3Bj+I+Gj7916xby+Tx6enqUr/4ZiUQwMjKitGY5LAk0AHzhuoMLzgRaC01YXXTCafI/h6S9gE9dMewPjGPGkTX8uWLRhrGTzWjxFBFYX0Cjs7wz1ULSjjN/acEf3lqNfLa8n+HOP79A4vIFNK1uhdO3GvbGytfSLqRTuHvxLC6996uywnzP5OQkJiYm4Pf74fV6TfV7ZjIZRKNRfPDBB1UNM8CeQhJGxF0OonsYaBKFgSZRGGgShYEmURhoEoWBJlEYaBKFgSZR2FO4gnsK7XY7ent78cwzz6Crqws+n0/L1ta5XA5zc3O4fPkyTp06hXPnzml7hZU9hRWq957CtrY2HDx4sCov409PT+Ptt9/G7Oys8trsKaxQPfcUBgIBvPHGGwgGg1rms5wHHngA/f39+PLLL5Xv8sCeQhPqtadw79698Hq9GmezPJ/Ph7179yqvy55CE+q1p/DJJ5/UOBPjnnjiCeU1RdzlYE9heT2FOnafqhXsKTShXnsKz549q3Emxo2NjSmvyZ5CE+q1p/Dw4cOIxcq/3anS3bt3MTg4qLwueworVM89hdlsFqdPn8aDDz6I1tZW5fNZzpUrV/Dmm29q2RqZPYUrtKcwk8ng5MmTiEajKJVKaGxs/PaParlcDrdv38bY2BgOHz6MwcFBJJNJ5eMA7CkkYUTc5SC6h4EmURhoEoWBJlEYaBKFgSZRGGgShYEmURhoEoU9hSu0p7C9vR0HDhxAV1cXHA5j/xbz8/P45JNPcOzYMa0LppvBnsIK1XNPYXNzMw4dOgS/v7KXxT788MOqrtJ/P5ZccuxIB7SEGQB+ntiEH2cCho9/diBpOswAsHFzDs++mDJ8fKB/h5YwA4DvkV5sKqP2zp07Kw4zAOzatcvUzrM6safQhHrtKXzqqadMjeXxeLBlyxZTNXRhT6EJ9dpT2NbWZno8FTV0EHGXgz2F3KfwHvYUmlCvPYU3btwwPV619vJeDnsKTajXnsIzZ86YGiuRSCAajZqqoYslgR5xxfCu56qW2nfsefzGf9nw8X877sa1SfPrt30VdeLvx92Gj4+dHsHVwXdNj7uUqx+9g/iZzwwfPzIyglu3blU83rFjx5DJlL+WnhXYU7gCewoLhQJGR0fR3t6ONWvWwG439nPMzc0hEong448/rmTKlmBPIYki4i4H0T0MNInCQJMoDDSJwkCTKAw0icJAkygMNInCQJMoDDSJwkCTKAw0icJAkygMNInCQJMoDDSJwkCTKAw0icJAkygMNInCQJMoDDSJwkCTKAw0ifIfOYKNNTMPgacAAAAASUVORK5CYII='/>\");\n\n  print_html_title (fp);\n\n  print_html_header_styles(fp, fcs);\n\n  /* load custom CSS file, if any */\n  if (conf.html_custom_css)\n    fprintf (fp, \"<link rel='stylesheet' href='%s'>\", conf.html_custom_css);\n\n  fprintf (fp,\n  \"</head>\"\n  \"<body>\");\n}\n\n/* Output all structural elements of the HTML document. */\nstatic void\nprint_html_body (FILE * fp, const char *now)\n{\n  fprintf (fp,\n  \"<nav class='hidden-xs hidden-sm hide' aria-label='Main navigation'>\"\n  \"</nav>\"\n  \"<div class='loading-container'>\"\n  \"<i class='spinner fa fa-circle-o-notch fa-spin fa-3x fa-fw' aria-hidden='true' aria-label='Loading'></i>\"\n  \"<div class='app-loading-status'><small class='muted'></small></div>\"\n  \"</div>\"\n  \"<div class='container hide' role='document'>\"\n  \"<header class='page-header'>\"\n  \"<h1 class='h-dashboard'>\"\n  \"<span class='hidden-xs hidden-sm'>\"\n  \"<i class='fa fa-tachometer' aria-hidden='true'></i> %s\"\n  \"</span>\"\n  \"<span class='visible-xs visible-sm'>\"\n  \"<i class='fa fa-bars nav-minibars' aria-label='Menu' role='button' tabindex='0'></i>\"\n  \"<i class='fa fa-circle nav-ws-status mini' aria-label='Status indicator'></i>\"\n  \"</span>\"\n  \"</h1>\"\n  \"<div style='margin-left: auto;'>\"\n  \"<h4>\"\n  \"<span class='label label-info' style='display:%s' id='last-updated' aria-live='polite' aria-atomic='true'>\"\n  \"<span class='hidden-xs'>%s: </span>\"\n  \"<span class='last-updated'>%s</span>\"\n  \"</span>\"\n  \"</h4>\"\n  \"</div>\", T_DASH, conf.no_html_last_updated ? \"none\" : \"block\", INFO_LAST_UPDATED, now);\n  fprintf (fp,\n  \"<p class='report-title' id='report-title'>%s</p>\"\n  \"</header>\"\n  \"<aside id='overall' aria-labelledby='overall-heading'></aside>\"\n  \"<main id='panels' aria-labelledby='report-title'></main>\"\n  \"</div>\", conf.html_report_title ? conf.html_report_title : \"\");\n  fprintf (fp, \"%.*s\", tpls_length, tpls);\n}\n\n/* Output all the document footer elements such as script and closing\n * tags. */\nstatic void\nprint_html_footer (FILE * fp, FILE *fjs)\n{\n  if (fjs) {\n    fprintf (fp, \"<script src='%s'></script>\", FILENAME_JS);\n    fprintf (fjs, \"%.*s\", d3_js_length, d3_js);\n    fprintf (fjs, \"%.*s\", hogan_js_length, hogan_js);\n    fprintf (fjs, \"%.*s\", app_js_length, app_js);\n    fprintf (fjs, \"%.*s\", charts_js_length, charts_js);\n    fprintf (fjs, \"%.*s\", topojson_js_length, topojson_js);\n  } else {\n    fprintf (fp, \"<script>%.*s</script>\", d3_js_length, d3_js);\n    fprintf (fp, \"<script>%.*s</script>\", hogan_js_length, hogan_js);\n    fprintf (fp, \"<script>%.*s</script>\", app_js_length, app_js);\n    fprintf (fp, \"<script>%.*s</script>\", charts_js_length, charts_js);\n    fprintf (fp, \"<script>%.*s</script>\", topojson_js_length, topojson_js);\n  }\n\n  /* load custom JS file, if any */\n  if (conf.html_custom_js)\n    fprintf (fp, \"<script src='%s'></script>\", conf.html_custom_js);\n\n  fprintf (fp, \"</body>\");\n  fprintf (fp, \"</html>\");\n}\n/* *INDENT-ON* */\n\nstatic const GChartDef ChartDefStopper = { NULL, NULL };\n\n/* Get the number of chart definitions per panel.\n *\n * The number of chart definitions is returned . */\nstatic int\nget_chartdef_cnt (GChart *chart) {\n  GChartDef *def = chart->def;\n\n  while (memcmp (def, &ChartDefStopper, sizeof ChartDefStopper))\n    ++def;\n\n  return def - chart->def;\n}\n\n/* Output the given JSON chart axis definition for the given panel. */\nstatic void\nprint_d3_chart_def_axis (FILE *fp, GChart *chart, size_t cnt, int isp) {\n  GChartDef *def = chart->def;\n  size_t j = 0;\n\n  for (j = 0; j < cnt; ++j) {\n    if (strchr (def[j].value, '[') != NULL)\n      fpskeyaval (fp, def[j].key, def[j].value, isp, j == cnt - 1);\n    else\n      fpskeysval (fp, def[j].key, def[j].value, isp, j == cnt - 1);\n  }\n}\n\n/* Output the given JSON chart definition for the given panel. */\nstatic void\nprint_d3_chart_def (FILE *fp, GChart *chart, size_t n, int sp) {\n  size_t i = 0, cnt = 0;\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  for (i = 0; i < n; ++i) {\n    cnt = get_chartdef_cnt (chart + i);\n\n    fpopen_obj_attr (fp, chart[i].key, sp);\n    print_d3_chart_def_axis (fp, chart + i, cnt, isp);\n    fpclose_obj (fp, sp, (i == n - 1));\n  }\n}\n\nstatic void\nprint_plot_def (FILE *fp, const GHTMLPlot plot, GChart *chart, int n, int sp) {\n  int isp = 0, iisp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1, iisp = sp + 2;\n\n  fpskeysval (fp, \"className\", plot.chart_key, isp, 0);\n  fpskeysval (fp, \"label\", plot.chart_lbl, isp, 0);\n  fpskeysval (fp, \"chartType\", chart2str (plot.chart_type), isp, 0);\n  fpskeyival (fp, \"chartReverse\", plot.chart_reverse, isp, 0);\n  fpskeyival (fp, \"redrawOnExpand\", plot.redraw_expand, isp, 0);\n\n  /* D3.js data */\n  fpopen_obj_attr (fp, \"d3\", isp);\n  /* print chart definitions */\n  print_d3_chart_def (fp, chart, n, iisp);\n  /* close D3 */\n  fpclose_obj (fp, isp, 1);\n}\n\n/* Output D3.js hits/visitors plot definitions. */\nstatic void\nhits_visitors_plot (FILE *fp, GHTMLPlot plot, int sp) {\n  /* *INDENT-OFF* */\n  GChart def[] = {\n    {\"y0\", (GChartDef[]) {\n      {\"key\", \"hits\"}, {\"label\", MTRC_HITS_LBL}, ChartDefStopper\n    }},\n    {\"y1\", (GChartDef[]) {\n      {\"key\", \"visitors\"}, {\"label\", MTRC_VISITORS_LBL}, ChartDefStopper\n    }},\n  };\n\n  plot.chart_key = (char[]) {\"hits-visitors\"};\n  plot.chart_lbl = (char *) {HTML_PLOT_HITS_VIS};\n  /* *INDENT-ON* */\n  print_plot_def (fp, plot, def, ARRAY_SIZE (def), sp);\n}\n\n/* Output D3.js hits/visitors plot definitions. */\nstatic void\nhits_visitors_req_plot (FILE *fp, GHTMLPlot plot, int sp) {\n  /* *INDENT-OFF* */\n  GChart def[] = {\n    {\"x\", (GChartDef[]) {\n      {\"key\", \"[\\\"method\\\", \\\"data\\\", \\\"protocol\\\"]\"}, ChartDefStopper\n    }},\n    {\"y0\", (GChartDef[]) {\n      {\"key\", \"hits\"}, {\"label\", MTRC_HITS_LBL}, ChartDefStopper\n    }},\n    {\"y1\", (GChartDef[]) {\n      {\"key\", \"visitors\"}, {\"label\", MTRC_VISITORS_LBL}, ChartDefStopper\n    }},\n  };\n\n  plot.chart_key = (char[]) {\"hits-visitors\"};\n  plot.chart_lbl = (char *) {HTML_PLOT_HITS_VIS};\n  /* *INDENT-ON* */\n  print_plot_def (fp, plot, def, ARRAY_SIZE (def), sp);\n}\n\n/* Output C3.js bandwidth plot definitions. */\nstatic void\nhits_bw_plot (FILE *fp, GHTMLPlot plot, int sp) {\n  /* *INDENT-OFF* */\n  GChart def[] = {\n    {\"y0\", (GChartDef[]) {\n      {\"key\", \"bytes\"}, {\"label\", MTRC_BW_LBL}, {\"format\", \"bytes\"}, ChartDefStopper\n    }},\n  };\n\n  if (!conf.bandwidth)\n    return;\n\n  plot.chart_key = (char[]) {\"bandwidth\"};\n  plot.chart_lbl = (char *) {MTRC_BW_LBL};\n  /* *INDENT-ON* */\n  print_plot_def (fp, plot, def, ARRAY_SIZE (def), sp);\n}\n\n/* Output C3.js bandwidth plot definitions. */\nstatic void\nhits_bw_req_plot (FILE *fp, GHTMLPlot plot, int sp) {\n  /* *INDENT-OFF* */\n  GChart def[] = {\n    {\"x\", (GChartDef[]) {\n      {\"key\", \"[\\\"method\\\", \\\"protocol\\\", \\\"data\\\"]\"}, ChartDefStopper\n    }},\n    {\"y0\", (GChartDef[]) {\n      {\"key\", \"bytes\"}, {\"label\", MTRC_BW_LBL}, {\"format\", \"bytes\"}, ChartDefStopper\n    }},\n  };\n\n  if (!conf.bandwidth)\n    return;\n\n  plot.chart_key = (char[]) {\"bandwidth\"};\n  plot.chart_lbl = (char *) {MTRC_BW_LBL};\n  /* *INDENT-ON* */\n  print_plot_def (fp, plot, def, ARRAY_SIZE (def), sp);\n}\n\n/* Output JSON data definitions. */\nstatic void\nprint_json_data (FILE *fp, GHolder *holder) {\n  char *json = NULL;\n\n  if ((json = get_json (holder, 1)) == NULL)\n    return;\n\n  fprintf (fp, external_assets ? \"\" : \"<script type='text/javascript'>\");\n  fprintf (fp, \"var json_data=%s\", (conf.ws_auth_secret ? \"{}\" : json));\n  fprintf (fp, external_assets ? \"\\n\" : \"</script>\");\n\n  free (json);\n}\n\n/* Output WebSocket connection definition. */\nstatic void\nprint_conn_def (FILE *fp, const char *jwt) {\n  int sp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp += 1;\n\n  if (!conf.real_time_html)\n    return;\n\n  fprintf (fp, external_assets ? \"\" : \"<script type='text/javascript'>\");\n\n  if (conf.ws_auth_secret && jwt && !conf.ws_auth_verify_only)\n    fprintf (fp, \"window.goaccessJWT=\\\"%s\\\";\\n\", jwt);\n\n  fprintf (fp, \"var connection = \");\n  fpopen_obj (fp, sp);\n\n  if (conf.ws_auth_verify_only && conf.ws_auth_secret) {\n    fpskeysval (fp, \"ws_auth_url\", conf.ws_auth_url ? : \"\", sp, 0);\n    if (conf.ws_auth_refresh_url)\n      fpskeysval (fp, \"ws_auth_refresh_url\", conf.ws_auth_refresh_url ? : \"\", sp, 0);\n  }\n\n  fpskeysval (fp, \"url\", (conf.ws_url ? conf.ws_url : \"\"), sp, 0);\n  fpskeyival (fp, \"port\", (conf.port ? atoi (conf.port) : 7890), sp, 0);\n  fpskeyival (fp, \"ping_interval\", (conf.ping_interval ? atoi (conf.ping_interval) : 0), sp, 1);\n\n  fpclose_obj (fp, sp, 1);\n\n  fprintf (fp, external_assets ? \";\\n\" : \"</script>\");\n}\n\n/* Output JSON per panel metric definitions. */\nstatic void\nprint_def_metric (FILE *fp, const GDefMetric def, int sp) {\n  int isp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  if (def.cname)\n    fpskeysval (fp, \"className\", def.cname, isp, 0);\n  if (def.cwidth)\n    fpskeysval (fp, \"colWidth\", def.cwidth, isp, 0);\n  if (def.metakey)\n    fpskeysval (fp, \"meta\", def.metakey, isp, 0);\n  if (def.metatype)\n    fpskeysval (fp, \"metaType\", def.metatype, isp, 0);\n  if (def.metalbl)\n    fpskeysval (fp, \"metaLabel\", def.metalbl, isp, 0);\n  if (def.datatype)\n    fpskeysval (fp, \"dataType\", def.datatype, isp, 0);\n  if (def.hlregex)\n    fpskeysval (fp, \"hlregex\", def.hlregex, isp, 0);\n  if (def.datakey)\n    fpskeysval (fp, \"key\", def.datakey, isp, 0);\n  if (def.lbl)\n    fpskeysval (fp, \"label\", def.lbl, isp, 1);\n}\n\n/* Output JSON metric definition block. */\nstatic void\nprint_def_block (FILE *fp, const GDefMetric def, int sp, int last) {\n  fpopen_obj (fp, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, last);\n}\n\n/* Output JSON overall requests definition block. */\nstatic void\nprint_def_overall_requests (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_REQUESTS,\n    .datatype = \"numeric\",\n    .cname = \"black\"\n  };\n  fpopen_obj_attr (fp, OVERALL_REQ, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall valid requests definition block. */\nstatic void\nprint_def_overall_valid_reqs (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_VALID,\n    .datatype = \"numeric\",\n    .cname = \"green\"\n  };\n  fpopen_obj_attr (fp, OVERALL_VALID, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall invalid requests definition block. */\nstatic void\nprint_def_overall_invalid_reqs (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_FAILED,\n    .datatype = \"numeric\",\n    .cname = \"red\"\n  };\n  fpopen_obj_attr (fp, OVERALL_FAILED, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON process time definition block. */\nstatic void\nprint_def_overall_processed_time (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_GEN_TIME,\n    .datatype = \"secs\",\n    .cname = \"gray\"\n  };\n  fpopen_obj_attr (fp, OVERALL_GENTIME, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall visitors definition block. */\nstatic void\nprint_def_overall_visitors (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_UNIQUE_VISITORS,\n    .datatype = \"numeric\",\n    .cname = \"blue\"\n  };\n  fpopen_obj_attr (fp, OVERALL_VISITORS, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall files definition block. */\nstatic void\nprint_def_overall_files (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_UNIQUE_FILES,\n    .datatype = \"numeric\",\n  };\n  fpopen_obj_attr (fp, OVERALL_FILES, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall excluded requests definition block. */\nstatic void\nprint_def_overall_excluded (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_EXCLUDE_IP,\n    .datatype = \"numeric\",\n  };\n  fpopen_obj_attr (fp, OVERALL_EXCL_HITS, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall referrers definition block. */\nstatic void\nprint_def_overall_refs (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_REFERRER,\n    .datatype = \"numeric\",\n  };\n  fpopen_obj_attr (fp, OVERALL_REF, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall not found definition block. */\nstatic void\nprint_def_overall_notfound (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_UNIQUE404,\n    .datatype = \"numeric\",\n  };\n  fpopen_obj_attr (fp, OVERALL_NOTFOUND, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall static files definition block. */\nstatic void\nprint_def_overall_static_files (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_STATIC_FILES,\n    .datatype = \"numeric\",\n  };\n  fpopen_obj_attr (fp, OVERALL_STATIC, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON log size definition block. */\nstatic void\nprint_def_overall_log_size (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_LOG,\n    .datatype = \"bytes\",\n  };\n  fpopen_obj_attr (fp, OVERALL_LOGSIZE, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output JSON overall bandwidth definition block. */\nstatic void\nprint_def_overall_bandwidth (FILE *fp, int sp) {\n  GDefMetric def = {\n    .lbl = T_BW,\n    .datatype = \"bytes\",\n  };\n  fpopen_obj_attr (fp, OVERALL_BANDWIDTH, sp);\n  print_def_metric (fp, def, sp);\n  fpclose_obj (fp, sp, 1);\n}\n\n/* Output JSON hits definition block. */\nstatic void\nprint_def_hits (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"hits\",\n    .lbl = MTRC_HITS_LBL,\n    .datatype = \"numeric\",\n    .metakey = \"count\",\n    .cwidth = \"12%\",\n  };\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON visitors definition block. */\nstatic void\nprint_def_visitors (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"visitors\",\n    .lbl = MTRC_VISITORS_LBL,\n    .datatype = \"numeric\",\n    .metakey = \"count\",\n    .cwidth = \"12%\",\n  };\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON bandwidth definition block. */\nstatic void\nprint_def_bw (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"bytes\",\n    .lbl = MTRC_BW_LBL,\n    .datatype = \"bytes\",\n    .metakey = \"count\",\n    .cwidth = \"12%\",\n  };\n\n  if (!conf.bandwidth)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON Avg. T.S. definition block. */\nstatic void\nprint_def_avgts (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"avgts\",\n    .lbl = MTRC_AVGTS_LBL,\n    .datatype = \"utime\",\n    .metakey = \"avg\",\n    .cwidth = \"8%\",\n  };\n\n  if (!conf.serve_usecs)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON Cum. T.S. definition block. */\nstatic void\nprint_def_cumts (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"cumts\",\n    .lbl = MTRC_CUMTS_LBL,\n    .datatype = \"utime\",\n    .metakey = \"count\",\n    .cwidth = \"8%\",\n  };\n\n  if (!conf.serve_usecs)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON Max. T.S. definition block. */\nstatic void\nprint_def_maxts (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"maxts\",\n    .lbl = MTRC_MAXTS_LBL,\n    .datatype = \"utime\",\n    .metakey = \"count\",\n    .cwidth = \"8%\",\n  };\n\n  if (!conf.serve_usecs)\n    return;\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON method definition block. */\nstatic void\nprint_def_method (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"method\",\n    .lbl = MTRC_METHODS_LBL,\n    .datatype = \"string\",\n    .cwidth = \"6%\",\n    .hlregex = \"{\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\b[A-Z]{3}\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl b1'>$1</b>\\\\\\\",\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\b[A-Z]{4}\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl b2'>$1</b>\\\\\\\",\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\b[A-Z]{5,}\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl b3'>$1</b>\\\\\\\"\" \"}\",\n\n  };\n\n  if (!conf.append_method)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON protocol definition block. */\nstatic void\nprint_def_protocol (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"protocol\",\n    .lbl = MTRC_PROTOCOLS_LBL,\n    .datatype = \"string\",\n    .cwidth = \"7%\",\n    .hlregex = \"{\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\bHTTP/1.0\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl d1'>$1</b>\\\\\\\",\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\bHTTP/1.1\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl d2'>$1</b>\\\\\\\",\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\bHTTP/2\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl d3'>$1</b>\\\\\\\",\"\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\bHTTP/3\\\\\\\\\\\\\\\\b)\\\\\\\": \\\\\\\"<b class='cell-hl d4'>$1</b>\\\\\\\"\" \"}\",\n  };\n\n  if (!conf.append_protocol)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON city definition block. */\nstatic void\nprint_def_city (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"city\",\n    .lbl = MTRC_CITY_LBL,\n    .datatype = \"string\",\n  };\n\n  if (!conf.has_geocity)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON ASN definition block. */\nstatic void\nprint_def_asn (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"asn\",\n    .lbl = MTRC_ASB_LBL,\n    .datatype = \"string\",\n    .hlregex = \"{\"\n      \"\\\\\\\"^(\\\\\\\\\\\\\\\\d+)\\\\\\\": \\\\\\\"<b>$1</b>\\\\\\\",\" \"\\\\\\\"^(AS\\\\\\\\\\\\\\\\d+)\\\\\\\": \\\\\\\"<b>$1</b>\\\\\\\"\" \"}\",\n  };\n\n  if (!conf.has_geoasn)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON country definition block. */\nstatic void\nprint_def_country (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"country\",\n    .lbl = MTRC_COUNTRY_LBL,\n    .datatype = \"string\",\n    .hlregex = \"{\" \"\\\\\\\"^([A-Z]{2})\\\\\\\": \\\\\\\"<b class='span-hl g5'>$1</b>\\\\\\\"\" \"}\",\n  };\n\n  if (!conf.has_geocountry)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON hostname definition block. */\nstatic void\nprint_def_hostname (FILE *fp, int sp) {\n  GDefMetric def = {\n    .datakey = \"hostname\",\n    .lbl = MTRC_HOSTNAME_LBL,\n    .datatype = \"string\",\n    .cname = \"light\",\n  };\n\n  if (!conf.enable_html_resolver)\n    return;\n\n  print_def_block (fp, def, sp, 0);\n}\n\n/* Output JSON data definition block. */\nstatic void\nprint_def_data (FILE *fp, GModule module, int sp) {\n  GDefMetric def = {\n    .cname = \"trunc\",\n    .cwidth = \"100%\",\n    .datakey = \"data\",\n    .datatype = module == VISITORS ? \"date\" : \"string\",\n    .lbl = MTRC_DATA_LBL,\n    .metakey = \"unique\",\n    .metalbl = \"Total\",\n    .metatype = \"numeric\",\n    .hlregex = \"{\" \"\\\\\\\"^(1\\\\\\\\\\\\\\\\d{2}|1xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lblu'>$1</b>$2\\\\\\\",\" /* 2xx Success */\n      \"\\\\\\\"^(2\\\\\\\\\\\\\\\\d{2}|2xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lgrn'>$1</b>$2\\\\\\\",\" /* 2xx Success */\n      \"\\\\\\\"^(3\\\\\\\\\\\\\\\\d{2}|3xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lprp'>$1</b>$2\\\\\\\",\" /* 3xx Success */\n      \"\\\\\\\"^(4\\\\\\\\\\\\\\\\d{2}|4xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lyel'>$1</b>$2\\\\\\\",\" /* 4xx Success */\n      \"\\\\\\\"^(5\\\\\\\\\\\\\\\\d{2}|5xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lred'>$1</b>$2\\\\\\\",\" /* 5xx Success */\n      \"\\\\\\\"^(0\\\\\\\\\\\\\\\\d{2}|0xx)(\\\\\\\\\\\\\\\\s.*)$\\\\\\\": \\\\\\\"<b class='span-hl lgry'>$1</b>$2\\\\\\\",\" /* 5xx Success */\n      \"\\\\\\\"^(AS\\\\\\\\\\\\\\\\d+)\\\\\\\": \\\\\\\"<b>$1</b>\\\\\\\",\" /* AS9823 Google */\n      \"\\\\\\\"^(\\\\\\\\\\\\\\\\d+:)\\\\\\\": \\\\\\\"<b>$1</b>\\\\\\\",\" /* 01234: Data */\n      \"\\\\\\\"(\\\\\\\\\\\\\\\\d+)|(:\\\\\\\\\\\\\\\\d+)|(:\\\\\\\\\\\\\\\\d+:\\\\\\\\\\\\\\\\d+)\\\\\\\": \\\\\\\"$1<b>$2</b>\\\\\\\",\" /* 12/May/2022:12:34 */\n      \"\\\\\\\"^([A-Z]{2})(\\\\\\\\\\\\\\\\s.*$)\\\\\\\": \\\\\\\"<b class='span-hl g5'>$1</b>$2\\\\\\\"\" /* US United States */\n      \"}\",\n  };\n\n  print_def_block (fp, def, sp, 1);\n}\n\n/* Get the number of plots for the given panel definition.\n *\n * The number of plots for the given panel is returned. */\nstatic int\ncount_plot_fp (const GHTML *def) {\n  int i = 0;\n  for (i = 0; def->chart[i].plot != 0; ++i);\n  return i;\n}\n\n/* Entry function to output JSON plot definition block. */\nstatic void\nprint_def_plot (FILE *fp, const GHTML *def, int sp) {\n  int i, isp = 0, n = count_plot_fp (def);\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  fpopen_arr_attr (fp, \"plot\", sp);\n\n  for (i = 0; i < n; ++i) {\n    fpopen_obj (fp, isp);\n    def->chart[i].plot (fp, def->chart[i], isp);\n    fpclose_obj (fp, isp, (i == n - 1));\n  }\n\n  fpclose_arr (fp, sp, 0);\n}\n\n/* Output JSON host panel definitions. */\nstatic void\nprint_host_metrics (FILE *fp, const GHTML *def, int sp) {\n  const GOutput *output = output_lookup (def->module);\n\n  print_def_hits (fp, sp);\n  print_def_visitors (fp, sp);\n  print_def_bw (fp, sp);\n  print_def_avgts (fp, sp);\n  print_def_cumts (fp, sp);\n  print_def_maxts (fp, sp);\n\n  if (output->method)\n    print_def_method (fp, sp);\n  if (output->protocol)\n    print_def_protocol (fp, sp);\n\n  print_def_city (fp, sp);\n  print_def_country (fp, sp);\n  print_def_asn (fp, sp);\n  print_def_hostname (fp, sp);\n\n  print_def_data (fp, def->module, sp);\n}\n\n/* Output JSON panel definitions. */\nstatic void\nprint_metrics (FILE *fp, const GHTML *def, int sp) {\n  const GOutput *output = output_lookup (def->module);\n\n  print_def_hits (fp, sp);\n  print_def_visitors (fp, sp);\n  print_def_bw (fp, sp);\n  print_def_avgts (fp, sp);\n  print_def_cumts (fp, sp);\n  print_def_maxts (fp, sp);\n\n  if (output->method)\n    print_def_method (fp, sp);\n  if (output->protocol)\n    print_def_protocol (fp, sp);\n\n  print_def_data (fp, def->module, sp);\n}\n\n/* Entry point to output JSON metric definitions. */\nstatic void\nprint_def_metrics (FILE *fp, const GHTML *def, int sp) {\n  int isp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  /* open data metric data */\n  fpopen_arr_attr (fp, \"items\", sp);\n  /* definition metrics */\n  def->metrics (fp, def, isp);\n  /* close metrics block */\n  fpclose_arr (fp, sp, 1);\n}\n\n/* Output panel header and description metadata definitions. */\nstatic void\nprint_def_meta (FILE *fp, const char *head, const char *desc, int sp) {\n  int isp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  fpskeysval (fp, \"head\", head, isp, 0);\n  fpskeysval (fp, \"desc\", desc, isp, 0);\n}\n\n/* Output panel sort metadata definitions. */\nstatic void\nprint_def_sort (FILE *fp, const GHTML *def, int sp) {\n  GSort sort = module_sort[def->module];\n  int isp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  /* output open sort attribute */\n  fpopen_obj_attr (fp, \"sort\", sp);\n  fpskeysval (fp, \"field\", get_sort_field_key (sort.field), isp, 0);\n  fpskeysval (fp, \"order\", get_sort_order_str (sort.sort), isp, 1);\n  /* output close sort attribute */\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Output panel metadata definitions. */\nstatic void\nprint_panel_def_meta (FILE *fp, const GHTML *def, int sp) {\n  const char *desc = module_to_desc (def->module);\n  const char *head = module_to_head (def->module);\n  const char *id = module_to_id (def->module);\n\n  int isp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1;\n\n  print_def_meta (fp, head, desc, sp);\n\n  fpskeysval (fp, \"id\", id, isp, 0);\n  fpskeyival (fp, \"table\", def->table, isp, 0);\n  fpskeyival (fp, \"hasMap\", def->has_map, isp, 0);\n\n  print_def_sort (fp, def, isp);\n  print_def_plot (fp, def, isp);\n  print_def_metrics (fp, def, isp);\n}\n\n/* Output definitions for the given panel. */\nstatic void\nprint_json_def (FILE *fp, const GHTML *def) {\n  int sp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp = 1;\n\n  /* output open panel attribute */\n  fpopen_obj_attr (fp, module_to_id (def->module), sp);\n  /* output panel data definitions */\n  print_panel_def_meta (fp, def, sp);\n  /* output close panel attribute */\n  fpclose_obj (fp, sp, 1);\n\n  fpjson (fp, (def->module != TOTAL_MODULES - 1) ? \",%.*s\" : \"%.*s\", nlines, NL);\n}\n\n/* Output overall definitions. */\nstatic void\nprint_def_summary (FILE *fp, int sp) {\n  int isp = 0, iisp = 0;\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    isp = sp + 1, iisp = sp + 2;\n\n  /* open metrics block */\n  fpopen_obj_attr (fp, \"items\", isp);\n\n  print_def_overall_requests (fp, iisp);\n  print_def_overall_valid_reqs (fp, iisp);\n  print_def_overall_invalid_reqs (fp, iisp);\n  print_def_overall_processed_time (fp, iisp);\n  print_def_overall_visitors (fp, iisp);\n  print_def_overall_files (fp, iisp);\n  print_def_overall_excluded (fp, iisp);\n  print_def_overall_refs (fp, iisp);\n  print_def_overall_notfound (fp, iisp);\n  print_def_overall_static_files (fp, iisp);\n  print_def_overall_log_size (fp, iisp);\n  print_def_overall_bandwidth (fp, iisp);\n\n  /* close metrics block */\n  fpclose_obj (fp, isp, 1);\n}\n\n/* Cheap JSON internationalisation (i18n) - report labels */\nstatic void\nprint_json_i18n_def (FILE *fp) {\n  int sp = 0;\n  size_t i = 0;\n\n  /* *INDENT-OFF* */\n  static const char *json_i18n[][2] = {\n    {\"theme\"                    , HTML_REPORT_NAV_THEME}                        ,\n    {\"dark_gray\"                , HTML_REPORT_NAV_DARK_GRAY}                    ,\n    {\"bright\"                   , HTML_REPORT_NAV_BRIGHT}                       ,\n    {\"dark_blue\"                , HTML_REPORT_NAV_DARK_BLUE}                    ,\n    {\"dark_purple\"              , HTML_REPORT_NAV_DARK_PURPLE}                  ,\n    {\"panels\"                   , HTML_REPORT_NAV_PANELS}                       ,\n    {\"items_per_page\"           , HTML_REPORT_NAV_ITEMS_PER_PAGE}               ,\n    {\"tables\"                   , HTML_REPORT_NAV_TABLES}                       ,\n    {\"display_tables\"           , HTML_REPORT_NAV_DISPLAY_TABLES}               ,\n    {\"ah_small\"                 , HTML_REPORT_NAV_AH_SMALL}                     ,\n    {\"ah_small_title\"           , HTML_REPORT_NAV_AH_SMALL_TITLE}               ,\n    {\"toggle_panel\"             , HTML_REPORT_NAV_TOGGLE_PANEL}                 ,\n    {\"layout\"                   , HTML_REPORT_NAV_LAYOUT}                       ,\n    {\"horizontal\"               , HTML_REPORT_NAV_HOR}                          ,\n    {\"vertical\"                 , HTML_REPORT_NAV_VER}                          ,\n    {\"wide\"                     , HTML_REPORT_NAV_WIDE}                         ,\n    {\"file_opts\"                , HTML_REPORT_NAV_FILE_OPTS}                    ,\n    {\"export_json\"              , HTML_REPORT_NAV_EXPORT_JSON}                  ,\n    {\"panel_opts\"               , HTML_REPORT_PANEL_PANEL_OPTS}                 ,\n    {\"previous\"                 , HTML_REPORT_PANEL_PREVIOUS}                   ,\n    {\"next\"                     , HTML_REPORT_PANEL_NEXT}                       ,\n    {\"first\"                    , HTML_REPORT_PANEL_FIRST}                      ,\n    {\"last\"                     , HTML_REPORT_PANEL_LAST}                       ,\n    {\"chart_opts\"               , HTML_REPORT_PANEL_CHART_OPTS}                 ,\n    {\"chart\"                    , HTML_REPORT_PANEL_CHART}                      ,\n    {\"type\"                     , HTML_REPORT_PANEL_TYPE}                       ,\n    {\"area_spline\"              , HTML_REPORT_PANEL_AREA_SPLINE}                ,\n    {\"bar\"                      , HTML_REPORT_PANEL_BAR}                        ,\n    {\"wmap\"                     , HTML_REPORT_PANEL_WMAP}                       ,\n    {\"gmap\"                     , HTML_REPORT_PANEL_GMAP}                       ,\n    {\"plot_metric\"              , HTML_REPORT_PANEL_PLOT_METRIC}                ,\n    {\"table_columns\"            , HTML_REPORT_PANEL_TABLE_COLS}                 ,\n    {\"thead\"                    , T_HEAD}                                       ,\n    {\"version\"                  , GO_VERSION}                                   ,\n    {\"button_menu\"              , HTML_REPORT_NAV_BUTTON_MENU}                  ,\n    {\"button_settings\"          , HTML_REPORT_NAV_BUTTON_SETTINGS}              ,\n    {\"websocket_connected\"      , HTML_REPORT_WEBSOCKET_STATUS_CONNECTED}       ,\n    {\"websocket_disconnected\"   , HTML_REPORT_WEBSOCKET_STATUS_DISCONNECTED}    ,\n  };\n  /* *INDENT-ON* */\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp = 1;\n\n  fpopen_obj (fp, 0);\n  for (i = 0; i < ARRAY_SIZE (json_i18n); ++i) {\n    fpskeysval (fp, json_i18n[i][0], _(json_i18n[i][1]), sp, 0);\n  }\n  fpclose_obj (fp, 0, 1);\n}\n\n/* Output definitions for the given panel. */\nstatic void\nprint_json_def_summary (FILE *fp) {\n  int sp = 0;\n\n  /* use tabs to prettify output */\n  if (conf.json_pretty_print)\n    sp = 1;\n\n  /* output open panel attribute */\n  fpopen_obj_attr (fp, GENER_ID, sp);\n  print_def_meta (fp, _(T_HEAD), \"\", sp);\n  print_def_summary (fp, sp);\n  /* output close panel attribute */\n  fpclose_obj (fp, sp, 0);\n}\n\n/* Entry point to output definitions for all panels. */\nstatic void\nprint_json_defs (FILE *fp) {\n  const GHTML *def;\n  size_t idx = 0;\n\n  fprintf (fp, external_assets ? \"\" : \"<script type='text/javascript'>\");\n\n  fprintf (fp, \"var json_i18n=\");\n  print_json_i18n_def (fp);\n  fprintf (fp, \";\");\n\n  fprintf (fp, \"var html_prefs=%s;\", conf.html_prefs ? conf.html_prefs : \"{}\");\n  fprintf (fp, \"var countries110m=%.*s;\", countries_json_length, countries_json);\n  fprintf (fp, \"var cities10m=%.*s;\", cities_json_length, cities_json);\n  fprintf (fp, \"var html_prefs=%s;\", conf.html_prefs ? conf.html_prefs : \"{}\");\n  fprintf (fp, \"var user_interface=\");\n  fpopen_obj (fp, 0);\n\n  print_json_def_summary (fp);\n  FOREACH_MODULE (idx, module_list) {\n    if ((def = panel_lookup (module_list[idx]))) {\n      print_json_def (fp, def);\n    }\n  }\n\n  fpclose_obj (fp, 0, 1);\n\n  fprintf (fp, external_assets ? \"\\n\" : \"</script>\");\n}\n\nstatic char *\nget_asset_filepath (const char *filename, const char *asset_fname) {\n  char *fname = NULL, *path = NULL, *s = NULL;\n\n  path = xstrdup (filename);\n  fname = xstrdup (basename (path));\n  path[strlen (filename) - strlen (fname)] = '\\0';\n\n  s = xmalloc (snprintf (NULL, 0, \"%s%s\", path, asset_fname) + 1);\n  sprintf (s, \"%s%s\", path, asset_fname);\n  free (path);\n  free (fname);\n\n  return s;\n}\n\nstatic FILE *\nget_asset (const char *filename, const char *asset_fname) {\n  FILE *fp = NULL;\n  char *fn = NULL;\n\n  if (!(fn = get_asset_filepath (filename, asset_fname)))\n    FATAL (\"Invalid JS file.\");\n  if (!(fp = fopen (fn, \"w\")))\n    FATAL (\"Unable to open file %s.\", strerror (errno));\n  free (fn);\n\n  return fp;\n}\n\n/* entry point to generate a report writing it to the fp */\nvoid\noutput_html (GHolder *holder, const char *filename) {\n  FILE *fp, *fjs = NULL, *fcs = NULL;\n  char now[DATE_TIME] = { 0 };\n  char *jwt = NULL;\n\n  if (filename != NULL)\n    fp = fopen (filename, \"w\");\n  else\n    fp = stdout;\n\n  if (!fp)\n    FATAL (\"Unable to open HTML file: %s.\", strerror (errno));\n\n  if (filename && conf.external_assets) {\n    fjs = get_asset (filename, FILENAME_JS);\n    fcs = get_asset (filename, FILENAME_CSS);\n    external_assets = 1;\n  }\n\n  /* use new lines to prettify output */\n  if (conf.json_pretty_print)\n    nlines = 1;\n  set_json_nlines (nlines);\n\n  generate_time ();\n  strftime (now, DATE_TIME, \"%Y-%m-%d %H:%M:%S %z\", &now_tm);\n\n#ifdef HAVE_LIBSSL\n  if (conf.ws_auth_secret)\n    jwt = create_jwt_token ();\n#endif\n\n  print_html_header (fp, fcs);\n\n  print_html_body (fp, now);\n  print_json_defs ((fjs ? fjs : fp));\n  print_json_data ((fjs ? fjs : fp), holder);\n  print_conn_def ((fjs ? fjs : fp), jwt);\n\n  print_html_footer (fp, fjs);\n\n  free (jwt);\n\n  if (fjs)\n    fclose (fjs);\n  if (fcs)\n    fclose (fcs);\n  fclose (fp);\n}\n"
  },
  {
    "path": "src/output.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef OUTPUT_H_INCLUDED\n#define OUTPUT_H_INCLUDED\n\n#define MAX_PLOTS 5 /* number of metrics we can plot */\n#define FILENAME_JS  \"goaccess.js\"\n#define FILENAME_CSS \"goaccess.css\"\n\n#include \"commons.h\"\n#include \"parser.h\"\n\n/* Enumerated chart types */\ntypedef enum GChartType_ {\n  CHART_NONE,\n  CHART_VBAR,\n  CHART_AREASPLINE,\n  CHART_WMAP,\n  CHART_GMAP,\n} GChartType;\n\n/* Chart axis structure */\ntypedef struct GChartDef_ {\n  const char *key;\n  const char *value;\n} GChartDef;\n\n/* Chart axis structure */\ntypedef struct GChart_ {\n  const char *key;\n  GChartDef *def;\n} GChart;\n\n/* Chart behavior */\ntypedef struct GHTMLPlot_ {\n  GChartType chart_type;\n  void (*plot) (FILE * fp, struct GHTMLPlot_ plot, int sp);\n  int8_t chart_reverse;\n  int8_t redraw_expand;\n  char *chart_key;\n  char *chart_lbl;\n} GHTMLPlot;\n\n/* Controls HTML panel output. */\ntypedef struct GHTML_ {\n  GModule module;\n  int8_t table;\n  int8_t has_map;\n  void (*metrics) (FILE * fp, const struct GHTML_ * def, int sp);\n  GHTMLPlot chart[MAX_PLOTS];\n} GHTML;\n\n/* Metric definition . */\ntypedef struct GDefMetric_ {\n  const char *cname;            /* metric class name */\n  const char *cwidth;           /* metric column width */\n  const char *datakey;          /* metric JSON data key */\n  const char *datatype;         /* metric data value type */\n  const char *lbl;              /* metric label (column name) */\n  const char *metakey;          /* metric JSON meta key */\n  const char *metatype;         /* metric meta value type */\n  const char *metalbl;          /* metric meta value label */\n  const char *hlregex;          /* highlight regex value */\n} GDefMetric;\n\nvoid output_html (GHolder * holder, const char *filename);\n\n#endif\n"
  },
  {
    "path": "src/parser.c",
    "content": "/**\n * parser.c -- web log parsing\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n/*\n * \"_XOPEN_SOURCE\" is required for the GNU libc to export \"strptime(3)\"\n * correctly.\n */\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#define _XOPEN_SOURCE 700\n#define _DEFAULT_SOURCE\n\n#include <ctype.h>\n#include <errno.h>\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stddef.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <strings.h>\n#include <sys/stat.h>\n#include <unistd.h>\n#include <fcntl.h>\n#include <inttypes.h>\n#include <pthread.h>\n#include <libgen.h>\n\n#include \"gkhash.h\"\n\n#include \"parser.h\"\n\n#include \"browsers.h\"\n#include \"error.h\"\n#include \"goaccess.h\"\n#include \"gstorage.h\"\n#include \"util.h\"\n#include \"websocket.h\"\n#include \"xmalloc.h\"\n\n/* Allocate memory for a new GRawData instance.\n *\n * On success, the newly allocated GRawData is returned . */\nGRawData *\nnew_grawdata (void) {\n  GRawData *raw_data = xmalloc (sizeof (*raw_data));\n  memset (raw_data, 0, sizeof *raw_data);\n\n  return raw_data;\n}\n\n/* Allocate memory for a new GRawDataItem instance.\n *\n * On success, the newly allocated GRawDataItem is returned . */\nGRawDataItem *\nnew_grawdata_item (unsigned int size) {\n  GRawDataItem *item = xcalloc (size, sizeof (*item));\n  return item;\n}\n\n/* Free memory allocated for a GRawData and GRawDataItem instance. */\nvoid\nfree_raw_data (GRawData *raw_data) {\n  free (raw_data->items);\n  free (raw_data);\n}\n\n/* Reset an instance of GLog structure. */\nvoid\nreset_struct (Logs *logs) {\n  int i = 0;\n\n  for (i = 0; i < logs->size; ++i)\n    logs->glog[i].invalid = logs->glog[i].processed = 0;\n}\n\n/* Allocate memory for a new Logs and GLog instance.\n *\n * On success, the newly allocated Logs is returned . */\nLogs *\nnew_logs (int size) {\n  Logs *logs = xmalloc (sizeof (*logs));\n  memset (logs, 0, sizeof *logs);\n\n  logs->glog = xcalloc (size, sizeof (GLog));\n  logs->size = size;\n  logs->idx = 0;\n\n  return logs;\n}\n\n/* Allocate, initialize and add the given filename to our logs structure.\n *\n * On error, 1 is returned.\n * On success, the given filename is added to the Logs structure and 0 is\n * returned. */\nint\nset_glog (Logs *logs, const char *filename) {\n  GLog *tmp = NULL, *glog = NULL;\n  int newlen = 0;\n  char const *err;\n  char *fvh = NULL, *fn = NULL;\n\n  if (logs->size - 1 < logs->idx) {\n    newlen = logs->size + 1;\n    if (!(tmp = xrealloc (logs->glog, newlen * sizeof (GLog))))\n      return ERR_LOG_REALLOC_FAILURE;\n\n    logs->glog = tmp;\n\n    memset (logs->glog + logs->idx, 0, (logs->idx + 1 - logs->size) * sizeof *logs->glog);\n    logs->size = newlen;\n  }\n\n  fn = xstrdup (filename); /* ensure fn is a string */\n  glog = logs->glog;\n  glog[logs->idx].errors = xcalloc (MAX_LOG_ERRORS, sizeof (char *));\n  glog[logs->idx].props.filename = xstrdup (fn);\n  glog[logs->idx].props.fname = xstrdup (basename (fn));\n\n  if (!glog->pipe && conf.fname_as_vhost) {\n    if (!(fvh = regex_extract_string (glog[logs->idx].props.fname, conf.fname_as_vhost, 1, &err)))\n      FATAL (\"%s %s[%s]\", err, glog[logs->idx].props.fname, conf.fname_as_vhost);\n    glog[logs->idx].fname_as_vhost = fvh;\n  }\n\n  logs->processed = &(glog[logs->idx].processed);\n  logs->filename = glog[logs->idx].props.filename;\n  logs->idx++;\n  free (fn);\n\n  return 0;\n}\n\n/* Ensure the given filename is part of our original list of files.\n *\n * On error, 1 is returned.\n * On success, the given filename is added to the Logs structure and 0 is\n * returned. */\nint\nset_log (Logs *logs, const char *value) {\n  if (str_inarray (value, conf.filenames, conf.filenames_idx) < 0)\n    return ERR_LOG_NOT_FOUND;\n\n  return set_glog (logs, value);\n}\n\n/* Allocate memory for a new set of Logs including a GLog instance.\n *\n * On success, the newly allocated Logs is returned . */\nLogs *\ninit_logs (int size) {\n  Logs *logs = NULL;\n  GLog *glog = NULL;\n  int i = 0, ret = 0;\n\n  /* if no logs no a pipe nor restoring, nothing to do then */\n  if (!size && !conf.restore)\n    return NULL;\n\n  /* If no logs nor a pipe but restoring, we still need an minimal instance of\n   * logs and a glog */\n  if (!size) {\n    logs = xcalloc (1, sizeof (*logs));\n    logs->glog = xcalloc (1, sizeof (*glog));\n    logs->processed = &(logs->glog[0].processed);\n    return logs;\n  }\n\n  logs = new_logs (size);\n  logs->size = size;\n\n  for (i = 0; i < size; ++i) {\n    if ((ret = set_log (logs, conf.filenames[i])))\n      FATAL (\"%s\\n\", ERR_LOG_NOT_FOUND_MSG);\n  }\n\n  return logs;\n}\n\n/* Free all log errors stored during parsing. */\nvoid\nfree_logerrors (GLog *glog) {\n  int i;\n\n  if (!glog->log_erridx)\n    return;\n\n  for (i = 0; i < glog->log_erridx; ++i)\n    free (glog->errors[i]);\n  glog->log_erridx = 0;\n}\n\n/* Free all log containers. */\nvoid\nfree_logs (Logs *logs) {\n  GLog *glog = NULL;\n  int i;\n  for (i = 0; i < logs->size; ++i) {\n    glog = &logs->glog[i];\n    free (glog->props.filename);\n    free (glog->props.fname);\n    free (glog->fname_as_vhost);\n    free_logerrors (glog);\n    free (glog->errors);\n    pthread_mutex_destroy (&glog->error_mutex); // Destroy mutex\n    if (glog->pipe) {\n      fclose (glog->pipe);\n    }\n  }\n  free (logs->glog);\n  free (logs);\n}\n\n/* Initialize a new GLogItem instance.\n *\n * On success, the new GLogItem instance is returned. */\nGLogItem *\ninit_log_item (GLog *glog) {\n  GLogItem *logitem;\n  logitem = xmalloc (sizeof (GLogItem));\n  memset (logitem, 0, sizeof *logitem);\n\n  logitem->agent = NULL;\n  logitem->browser = NULL;\n  logitem->browser_type = NULL;\n  logitem->continent = NULL;\n  logitem->asn = NULL;\n  logitem->country = NULL;\n  logitem->city = NULL;\n  logitem->date = NULL;\n  logitem->errstr = NULL;\n  logitem->host = NULL;\n  logitem->keyphrase = NULL;\n  logitem->method = NULL;\n  logitem->os = NULL;\n  logitem->os_type = NULL;\n  logitem->protocol = NULL;\n  logitem->qstr = NULL;\n  logitem->ref = NULL;\n  logitem->req_key = NULL;\n  logitem->req = NULL;\n  logitem->resp_size = 0LL;\n  logitem->serve_time = 0;\n  logitem->status = -1;\n  logitem->time = NULL;\n  logitem->uniq_key = NULL;\n  logitem->vhost = NULL;\n  logitem->userid = NULL;\n  logitem->cache_status = NULL;\n\n  /* UMS */\n  logitem->mime_type = NULL;\n  logitem->tls_type = NULL;\n  logitem->tls_cypher = NULL;\n  logitem->tls_type_cypher = NULL;\n\n  memset (logitem->site, 0, sizeof (logitem->site));\n  memset (logitem->agent_hex, 0, sizeof (logitem->agent_hex));\n  logitem->dt = glog->start_time;\n\n  return logitem;\n}\n\n/* Free all members of a GLogItem */\nvoid\nfree_glog (GLogItem *logitem) {\n  if (!logitem)\n    return;\n\n  if (logitem->agent != NULL)\n    free (logitem->agent);\n  if (logitem->browser != NULL)\n    free (logitem->browser);\n  if (logitem->browser_type != NULL)\n    free (logitem->browser_type);\n  if (logitem->continent != NULL)\n    free (logitem->continent);\n  if (logitem->asn != NULL)\n    free (logitem->asn);\n  if (logitem->country != NULL)\n    free (logitem->country);\n  if (logitem->city != NULL)\n    free (logitem->city);\n  if (logitem->date != NULL)\n    free (logitem->date);\n  if (logitem->errstr != NULL)\n    free (logitem->errstr);\n  if (logitem->host != NULL)\n    free (logitem->host);\n  if (logitem->keyphrase != NULL)\n    free (logitem->keyphrase);\n  if (logitem->method != NULL)\n    free (logitem->method);\n  if (logitem->os != NULL)\n    free (logitem->os);\n  if (logitem->os_type != NULL)\n    free (logitem->os_type);\n  if (logitem->protocol != NULL)\n    free (logitem->protocol);\n  if (logitem->qstr != NULL)\n    free (logitem->qstr);\n  if (logitem->ref != NULL)\n    free (logitem->ref);\n  if (logitem->req_key != NULL)\n    free (logitem->req_key);\n  if (logitem->req != NULL)\n    free (logitem->req);\n  if (logitem->time != NULL)\n    free (logitem->time);\n  if (logitem->uniq_key != NULL)\n    free (logitem->uniq_key);\n  if (logitem->userid != NULL)\n    free (logitem->userid);\n  if (logitem->cache_status != NULL)\n    free (logitem->cache_status);\n  if (logitem->vhost != NULL)\n    free (logitem->vhost);\n\n  if (logitem->mime_type != NULL)\n    free (logitem->mime_type);\n  if (logitem->tls_type != NULL)\n    free (logitem->tls_type);\n  if (logitem->tls_cypher != NULL)\n    free (logitem->tls_cypher);\n  if (logitem->tls_type_cypher != NULL)\n    free (logitem->tls_type_cypher);\n\n  free (logitem);\n}\n\n/* Entry point to decode the given URL-encoded string.\n *\n * On success, the decoded trimmed string is assigned to the output\n * buffer. */\nstatic char *\ndecode_url (char *url) {\n  char *out, *decoded;\n\n  if ((url == NULL) || (*url == '\\0'))\n    return NULL;\n\n  out = decoded = xstrdup (url);\n  decode_hex (url, out, 0);\n  /* double encoded URL? */\n  if (conf.double_decode)\n    decode_hex (decoded, out, 0);\n  strip_newlines (out);\n\n  return trim_str (out);\n}\n\n/* Process keyphrases from Google search, cache, and translate.\n * Note that the referer hasn't been decoded at the entry point\n * since there could be '&' within the search query.\n *\n * On error, 1 is returned.\n * On success, the extracted keyphrase is assigned and 0 is returned. */\nstatic int\nextract_keyphrase (char *ref, char **keyphrase) {\n  char *r, *ptr, *pch, *referer;\n  int encoded = 0;\n\n  if (!(strstr (ref, \"http://www.google.\")) &&\n      !(strstr (ref, \"http://webcache.googleusercontent.com/\")) &&\n      !(strstr (ref, \"http://translate.googleusercontent.com/\")) &&\n      !(strstr (ref, \"https://www.google.\")) &&\n      !(strstr (ref, \"https://webcache.googleusercontent.com/\")) &&\n      !(strstr (ref, \"https://translate.googleusercontent.com/\")))\n    return 1;\n\n  /* webcache.googleusercontent */\n  if ((r = strstr (ref, \"/+&\")) != NULL)\n    return 1;\n  /* webcache.googleusercontent */\n  else if ((r = strstr (ref, \"/+\")) != NULL)\n    r += 2;\n  /* webcache.googleusercontent */\n  else if ((r = strstr (ref, \"q=cache:\")) != NULL) {\n    pch = strchr (r, '+');\n    if (pch)\n      r += pch - r + 1;\n  }\n  /* www.google.* or translate.googleusercontent */\n  else if ((r = strstr (ref, \"&q=\")) != NULL || (r = strstr (ref, \"?q=\")) != NULL)\n    r += 3;\n  else if ((r = strstr (ref, \"%26q%3D\")) != NULL || (r = strstr (ref, \"%3Fq%3D\")) != NULL)\n    encoded = 1, r += 7;\n  else\n    return 1;\n\n  if (!encoded && (ptr = strchr (r, '&')) != NULL)\n    *ptr = '\\0';\n  else if (encoded && (ptr = strstr (r, \"%26\")) != NULL)\n    *ptr = '\\0';\n\n  referer = decode_url (r);\n  if (referer == NULL || *referer == '\\0') {\n    free (referer);\n    return 1;\n  }\n\n  referer = char_replace (referer, '+', ' ');\n  *keyphrase = trim_str (referer);\n\n  return 0;\n}\n\n/* Parse a URI and extracts the *host* part from it\n * i.e., //www.example.com/path?googleguy > www.example.com\n *\n * On error, 1 is returned.\n * On success, the extracted referer is set and 0 is returned. */\nstatic int\nextract_referer_site (const char *referer, char *host) {\n  char *url, *begin, *end;\n  int len = 0;\n\n  if ((referer == NULL) || (*referer == '\\0'))\n    return 1;\n\n  url = strdup (referer);\n  if ((begin = strstr (url, \"//\")) == NULL)\n    goto clean;\n\n  begin += 2;\n  if ((len = strlen (begin)) == 0)\n    goto clean;\n\n  if ((end = strpbrk (begin, \"/?\")) != NULL)\n    len = end - begin;\n\n  if (len == 0)\n    goto clean;\n\n  if (len >= REF_SITE_LEN)\n    len = REF_SITE_LEN;\n\n  memcpy (host, begin, len);\n  host[len] = '\\0';\n  free (url);\n  return 0;\nclean:\n  free (url);\n\n  return 1;\n}\n\n/* Determine if the given request is static (e.g., jpg, css, js, etc).\n *\n * On error, or if not static, 0 is returned.\n * On success, the 1 is returned. */\nstatic int\nverify_static_content (const char *req) {\n  const char *nul = NULL;\n  const char *ext = NULL, *pch = NULL;\n  int elen = 0, i;\n\n  if ((req == NULL) || (*req == '\\0'))\n    return 0;\n\n  nul = req + strlen (req);\n\n  for (i = 0; i < conf.static_file_idx; ++i) {\n    ext = conf.static_files[i];\n    if (ext == NULL || *ext == '\\0')\n      continue;\n\n    elen = strlen (ext);\n    if (conf.all_static_files && (pch = strchr (req, '?')) != NULL && pch - req > elen) {\n      pch -= elen;\n      if (0 == strncasecmp (ext, pch, elen))\n        return 1;\n      continue;\n    }\n\n    if (nul - req > elen && !strncasecmp (nul - elen, ext, elen))\n      return 1;\n  }\n\n  return 0;\n}\n\n/* Extract the HTTP method.\n *\n * On error, or if not found, NULL is returned.\n * On success, the HTTP method is returned. */\nstatic const char *\nextract_method (const char *token) {\n  size_t i;\n  for (i = 0; i < http_methods_len; i++) {\n    if (strncasecmp (token, http_methods[i].method, http_methods[i].len) == 0) {\n      return http_methods[i].method;\n    }\n  }\n  return NULL;\n}\n\nstatic int\nis_cache_hit (const char *tkn) {\n  if (strcasecmp (\"MISS\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"BYPASS\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"EXPIRED\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"STALE\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"UPDATING\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"REVALIDATED\", tkn) == 0)\n    return 1;\n  else if (strcasecmp (\"HIT\", tkn) == 0)\n    return 1;\n  return 0;\n}\n\n/* Determine if the given token is a valid HTTP protocol.\n *\n * If not valid, 1 is returned.\n * If valid, 0 is returned. */\nstatic const char *\nextract_protocol (const char *token) {\n  size_t i;\n  for (i = 0; i < http_protocols_len; i++) {\n    if (strncasecmp (token, http_protocols[i].protocol, http_protocols[i].len) == 0) {\n      return http_protocols[i].protocol;\n    }\n  }\n  return NULL;\n}\n\n/* Parse a request containing the method and protocol.\n *\n * On error, or unable to parse, NULL is returned.\n * On success, the HTTP request is returned and the method and\n * protocol are assigned to the corresponding buffers. */\nstatic char *\nparse_req (char *line, char **method, char **protocol) {\n  char *req = NULL, *request = NULL, *dreq = NULL, *ptr = NULL;\n  const char *meth, *proto;\n  ptrdiff_t rlen;\n\n  meth = extract_method (line);\n\n  /* couldn't find a method, so use the whole request line */\n  if (meth == NULL) {\n    request = xstrdup (line);\n  }\n  /* method found, attempt to parse request */\n  else {\n    req = line + strlen (meth);\n    if (!(ptr = strrchr (req, ' ')) || !(proto = extract_protocol (++ptr)))\n      return alloc_string (\"-\");\n\n    req++;\n    if ((rlen = ptr - req) <= 0)\n      return alloc_string (\"-\");\n\n    request = xmalloc (rlen + 1);\n    strncpy (request, req, rlen);\n    request[rlen] = 0;\n\n    if (conf.append_method)\n      (*method) = strtoupper (xstrdup (meth));\n\n    if (conf.append_protocol)\n      (*protocol) = strtoupper (xstrdup (proto));\n  }\n\n  if (!(dreq = decode_url (request)))\n    return request;\n  else if (*dreq == '\\0') {\n    free (dreq);\n    return request;\n  }\n\n  free (request);\n  return dreq;\n}\n\n#if defined(HAVE_LIBSSL) && defined(HAVE_CIPHER_STD_NAME)\nstatic int\nextract_tls_version_cipher (char *tkn, char **cipher, char **tls_version) {\n  SSL_CTX *ctx = NULL;\n  SSL *ssl = NULL;\n  int code = 0;\n  unsigned short code_be;\n  unsigned char cipherid[3];\n  const SSL_CIPHER *c = NULL;\n  char *bEnd;\n  const char *sn = NULL;\n\n  code = strtoull (tkn, &bEnd, 10);\n  if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE) {\n    LOG_DEBUG ((\"unable to convert cipher code to a valid decimal.\"));\n    goto fail;\n  }\n\n  /* ssl context */\n  if (!(ctx = SSL_CTX_new (SSLv23_server_method ()))) {\n    LOG_DEBUG ((\"Unable to create a new SSL_CTX_new to extract TLS.\"));\n    goto fail;\n  }\n  if (!(ssl = SSL_new (ctx))) {\n    LOG_DEBUG ((\"Unable to create a new instance of SSL_new to extract TLS.\"));\n    goto fail;\n  }\n\n  code_be = htobe16 (code);\n  memcpy (cipherid, &code_be, 2);\n  cipherid[2] = 0;\n\n  if (!(c = SSL_CIPHER_find (ssl, cipherid))) {\n    LOG_DEBUG ((\"Unable to find cipher to extract TLS.\"));\n    goto fail;\n  }\n\n  if (!(sn = SSL_CIPHER_standard_name (c))) {\n    LOG_DEBUG ((\"Unable to get cipher standard name to extract TLS.\"));\n    goto fail;\n  }\n  *cipher = xstrdup (sn);\n  *tls_version = xstrdup (SSL_CIPHER_get_version (c));\n\n  free (tkn);\n  SSL_free (ssl);\n  SSL_CTX_free (ctx);\n\n  return 0;\n\nfail:\n  free (tkn);\n  if (ssl)\n    SSL_free (ssl);\n  if (ctx)\n    SSL_CTX_free (ctx);\n  return 1;\n}\n#endif\n\n/* Extract the next delimiter given a log format and copy the delimiter to the\n * destination buffer.\n *\n * On error, the dest buffer will be empty.\n * On success, the delimiter(s) are stored in the dest buffer. */\nstatic void\nget_delim (char *dest, const char *p) {\n  /* done, nothing to do */\n  if (p[0] == '\\0' || p[1] == '\\0') {\n    dest[0] = '\\0';\n    return;\n  }\n  /* add the first delim */\n  dest[0] = *(p + 1);\n}\n\n/* Extract and malloc a token given the parsed rule.\n *\n * On success, the malloc'd token is returned. */\nstatic char *\nparsed_string (const char *pch, const char **str, int move_ptr) {\n  char *p;\n  size_t len = (pch - *str + 1);\n\n  p = xmalloc (len);\n  memcpy (p, *str, (len - 1));\n  p[len - 1] = '\\0';\n  if (move_ptr)\n    *str += len - 1;\n\n  return trim_str (p);\n}\n\n/* Find and extract a token given a log format rule.\n *\n * On error, or unable to parse it, NULL is returned.\n * On success, the malloc'd token is returned. */\nstatic char *\nparse_string (const char **str, const char *delims, int cnt) {\n  int idx = 0;\n  const char *pch = *str, *p = NULL;\n  char end;\n\n  if ((*delims != 0x0) && (p = strpbrk (*str, delims)) == NULL)\n    return NULL;\n\n  end = !*delims ? 0x0 : *p;\n  do {\n    /* match number of delims */\n    if (*pch == end)\n      idx++;\n    /* delim found, parse string then */\n    if ((*pch == end && cnt == idx) || *pch == '\\0')\n      return parsed_string (pch, str, 1);\n    /* advance to the first unescaped delim */\n    if (*pch == '\\\\')\n      pch++;\n  } while (*pch++);\n\n  return NULL;\n}\n\nchar *\nextract_by_delim (const char **str, const char *end) {\n  return parse_string (&(*str), end, 1);\n}\n\n/* Move forward through the log string until a non-space (!isspace)\n * char is found. */\nstatic void\nfind_alpha (const char **str) {\n  const char *s = *str;\n  while (*s) {\n    if (isspace ((unsigned char) *s))\n      s++;\n    else\n      break;\n  }\n  *str += s - *str;\n}\n\n/* Move forward through the log string until a non-space (!isspace)\n * char is found and returns the count. */\nstatic int\nfind_alpha_count (const char *str) {\n  int cnt = 0;\n  const char *s = str;\n  while (*s) {\n    if (isspace ((unsigned char) *s))\n      s++, cnt++;\n    else\n      break;\n  }\n  return cnt;\n}\n\n/* Format the broken-down time tm to a numeric date format.\n *\n * On error, or unable to format the given tm, 1 is returned.\n * On success, a malloc'd format is returned. */\n#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\nstatic int\nset_date (char **fdate, struct tm tm) {\n  char buf[DATE_LEN] = \"\";      /* Ymd */\n\n  memset (buf, 0, sizeof (buf));\n  if (strftime (buf, DATE_LEN, conf.date_num_format, &tm) <= 0)\n    return 1;\n  *fdate = xstrdup (buf);\n\n  return 0;\n}\n\n/* Format the broken-down time tm to a numeric time format.\n *\n * On error, or unable to format the given tm, 1 is returned.\n * On success, a malloc'd format is returned. */\nstatic int\nset_time (char **ftime, struct tm tm) {\n  char buf[TIME_LEN] = \"\";\n\n  memset (buf, 0, sizeof (buf));\n  if (strftime (buf, TIME_LEN, \"%H:%M:%S\", &tm) <= 0)\n    return 1;\n  *ftime = xstrdup (buf);\n\n  return 0;\n}\n\n/* Determine the parsing specifier error and construct a message out\n * of it.\n *\n * On success, a malloc'd error message is assigned to the log\n * structure and 1 is returned. */\nstatic int\nspec_err (GLogItem *logitem, int code, const char spec, const char *tkn) {\n  char *err = NULL;\n  const char *fmt = NULL;\n\n  switch (code) {\n  case ERR_SPEC_TOKN_NUL:\n    fmt = \"Token for '%%%c' specifier is NULL.\";\n    err = xmalloc (snprintf (NULL, 0, fmt, spec) + 1);\n    sprintf (err, fmt, spec);\n    break;\n  case ERR_SPEC_TOKN_INV:\n    fmt = \"Token '%s' doesn't match specifier '%%%c'\";\n    err = xmalloc (snprintf (NULL, 0, fmt, (tkn ? tkn : \"-\"), spec) + 1);\n    sprintf (err, fmt, (tkn ? tkn : \"-\"), spec);\n    break;\n  case ERR_SPEC_SFMT_MIS:\n    fmt = \"Missing braces '%s' and ignore chars for specifier '%%%c'\";\n    err = xmalloc (snprintf (NULL, 0, fmt, (tkn ? tkn : \"-\"), spec) + 1);\n    sprintf (err, fmt, (tkn ? tkn : \"-\"), spec);\n    break;\n  case ERR_SPEC_LINE_INV:\n    fmt = \"Incompatible format due to early parsed line ending '\\\\0'.\";\n    err = xmalloc (snprintf (NULL, 0, fmt, (tkn ? tkn : \"-\")) + 1);\n    sprintf (err, fmt, (tkn ? tkn : \"-\"));\n    break;\n  }\n  logitem->errstr = err;\n\n  return code;\n}\n\nstatic void\nset_tm_dt_logitem (GLogItem *logitem, struct tm tm) {\n  logitem->dt.tm_year = tm.tm_year;\n  logitem->dt.tm_mon = tm.tm_mon;\n  logitem->dt.tm_mday = tm.tm_mday;\n}\n\nstatic void\nset_tm_tm_logitem (GLogItem *logitem, struct tm tm) {\n  logitem->dt.tm_hour = tm.tm_hour;\n  logitem->dt.tm_min = tm.tm_min;\n  logitem->dt.tm_sec = tm.tm_sec;\n}\n\nstatic void\nset_numeric_date (uint32_t *numdate, const char *date) {\n  int res = 0;\n  if ((res = str2int (date)) == -1)\n    FATAL (\"Unable to parse date to integer %s\", date);\n  *numdate = res;\n}\n\nstatic void\nset_agent_hash (GLogItem *logitem) {\n  logitem->agent_hash = djb2 ((unsigned char *) logitem->agent);\n  sprintf (logitem->agent_hex, \"%\" PRIx32, logitem->agent_hash);\n}\n\nstatic int\nhandle_default_case_token (const char **str, const char *p) {\n  char *pch = NULL;\n  if ((pch = strchr (*str, p[1])) != NULL)\n    *str += pch - *str;\n  return 0;\n}\n\nstatic void\nnormalize_mime_type (const char *mime, char *out, size_t out_size) {\n  size_t mime_len = 0, remaining = 0;\n  char *temp = NULL, *dest = NULL, *ptr = NULL, *token = NULL, *end = NULL, *sep = NULL, *c = NULL;\n  const char *delims = NULL;\n  int first = 0, n = 0;\n\n  if (!mime || !out || out_size == 0)\n    return;\n\n  mime_len = strlen (mime);\n  temp = xmalloc (mime_len + 1);\n  memcpy (temp, mime, mime_len + 1);\n\n  out[0] = '\\0';\n  dest = out;\n  remaining = out_size;\n\n  /* Set the delimiters; both ';' and ',' are significant separators */\n  delims = \";,\";\n  first = 1;\n  ptr = temp;\n\n  /* Process each token */\n  while (*ptr != '\\0') {\n    /* Skip leading whitespace */\n    while (*ptr && isspace ((unsigned char) *ptr))\n      ptr++;\n    if (*ptr == '\\0')\n      break;\n\n    token = ptr;\n    /* Find next delimiter */\n    sep = strpbrk (ptr, delims);\n    if (sep != NULL) {\n      *sep = '\\0';\n      ptr = sep + 1;\n    } else {\n      ptr += strlen (ptr);\n    }\n\n    /* Trim trailing whitespace on token */\n    end = token + strlen (token) - 1;\n    while (end >= token && isspace ((unsigned char) *end)) {\n      *end = '\\0';\n      end--;\n    }\n    if (*token == '\\0')\n      continue;\n\n    /* Convert token to lower-case in place */\n    for (c = token; *c; c++)\n      *c = (char) tolower ((unsigned char) *c);\n\n    /* Append separator if this is not the first token */\n    if (!first) {\n      n = snprintf (dest, remaining, \"; \");\n      if (n < 0 || (size_t) n >= remaining) {\n        dest[remaining - 1] = '\\0';\n        free (temp);\n        return;\n      }\n      dest += n;\n      remaining -= n;\n    } else {\n      first = 0;\n    }\n\n    /* Append the normalized token safely */\n    n = snprintf (dest, remaining, \"%s\", token);\n    if (n < 0 || (size_t) n >= remaining) {\n      dest[remaining - 1] = '\\0';\n      free (temp);\n      return;\n    }\n    dest += n;\n    remaining -= n;\n  }\n  free (temp);\n}\n\n#pragma GCC diagnostic warning \"-Wformat-nonliteral\"\n\n/* Parse the log string given log format rule.\n *\n * On error, or unable to parse it, 1 is returned.\n * On success, the malloc'd token is assigned to a GLogItem member. */\nstatic int\nparse_specifier (GLogItem *logitem, const char **str, const char *p, const char *end) {\n  struct tm tm;\n  const char *dfmt = conf.date_format;\n  const char *tfmt = conf.time_format;\n  char norm_mime[MAX_MIME_OUT] = { 0 };\n\n  char *pch, *sEnd, *bEnd, *tkn = NULL;\n  double serve_secs = 0.0;\n  uint64_t bandw = 0, serve_time = 0;\n  int dspc = 0, fmtspcs = 0;\n\n  errno = 0;\n  memset (&tm, 0, sizeof (tm));\n  tm.tm_isdst = -1;\n  tm = logitem->dt;\n\n  switch (*p) {\n    /* date */\n  case 'd':\n    if (logitem->date)\n      return handle_default_case_token (str, p);\n\n    /* Attempt to parse date format containing spaces,\n     * i.e., syslog date format (Jul\\s15, Nov\\s\\s2).\n     * Note that it's possible a date could contain some padding, e.g.,\n     * Dec\\s\\s2 vs Nov\\s22, so we attempt to take that into consideration by looking\n     * ahead the log string and counting the # of spaces until we find an alphanum char. */\n    if ((fmtspcs = count_matches (dfmt, ' ')) && (pch = strchr (*str, ' ')))\n      dspc = find_alpha_count (pch);\n\n    if (!(tkn = parse_string (&(*str), end, MAX (dspc, fmtspcs) + 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    if (str_to_time (tkn, dfmt, &tm, 1) != 0 || set_date (&logitem->date, tm) != 0) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n\n    set_numeric_date (&logitem->numdate, logitem->date);\n    set_tm_dt_logitem (logitem, tm);\n    free (tkn);\n    break;\n    /* time */\n  case 't':\n    if (logitem->time)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    if (str_to_time (tkn, tfmt, &tm, 1) != 0 || set_time (&logitem->time, tm) != 0) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n\n    set_tm_tm_logitem (logitem, tm);\n    free (tkn);\n    break;\n    /* date/time as decimal, i.e., timestamps, ms/us  */\n  case 'x':\n    if (logitem->time && logitem->date)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    if (str_to_time (tkn, tfmt, &tm, 1) != 0 || set_date (&logitem->date, tm) != 0 ||\n        set_time (&logitem->time, tm) != 0) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    set_numeric_date (&logitem->numdate, logitem->date);\n    set_tm_dt_logitem (logitem, tm);\n    set_tm_tm_logitem (logitem, tm);\n    free (tkn);\n    break;\n    /* Virtual Host */\n  case 'v':\n    if (logitem->vhost)\n      return handle_default_case_token (str, p);\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn == NULL)\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    logitem->vhost = tkn;\n    break;\n    /* remote user */\n  case 'e':\n    if (logitem->userid)\n      return handle_default_case_token (str, p);\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn == NULL)\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    logitem->userid = tkn;\n    break;\n    /* cache status */\n  case 'C':\n    if (logitem->cache_status)\n      return handle_default_case_token (str, p);\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn == NULL)\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    if (is_cache_hit (tkn))\n      logitem->cache_status = tkn;\n    else\n      free (tkn);\n    break;\n    /* remote hostname (IP only) */\n  case 'h':\n    if (logitem->host)\n      return handle_default_case_token (str, p);\n    /* per https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2 */\n    /* square brackets are possible */\n    if (*str[0] == '[' && (*str += 1) && **str)\n      end = \"]\";\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    if (!conf.no_ip_validation && invalid_ipaddr (tkn, &logitem->type_ip)) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    /* require a valid host token (e.g., ord38s18-in-f14.1e100.net) even when we're\n     * not validating the IP */\n    if (conf.no_ip_validation && *tkn == '\\0') {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    logitem->host = tkn;\n    break;\n    /* request method */\n  case 'm':\n    if (logitem->method)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    {\n      const char *meth = NULL;\n      if (!(meth = extract_method (tkn))) {\n        spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n        free (tkn);\n        return 1;\n      }\n      logitem->method = xstrdup (meth);\n      free (tkn);\n    }\n    break;\n    /* request not including method or protocol */\n  case 'U':\n    if (logitem->req)\n      return handle_default_case_token (str, p);\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn == NULL || *tkn == '\\0') {\n      free (tkn);\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    }\n\n    if ((logitem->req = decode_url (tkn)) == NULL) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    free (tkn);\n    break;\n    /* query string alone, e.g., ?param=goaccess&tbm=shop */\n  case 'q':\n    if (logitem->qstr)\n      return handle_default_case_token (str, p);\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn == NULL || *tkn == '\\0') {\n      free (tkn);\n      return 0;\n    }\n\n    if ((logitem->qstr = decode_url (tkn)) == NULL) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    free (tkn);\n    break;\n    /* request protocol */\n  case 'H':\n    if (logitem->protocol)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n    {\n      const char *proto = NULL;\n      if (!(proto = extract_protocol (tkn))) {\n        spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n        free (tkn);\n        return 1;\n      }\n      logitem->protocol = xstrdup (proto);\n      free (tkn);\n    }\n    break;\n    /* request, including method + protocol */\n  case 'r':\n    if (logitem->req)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    logitem->req = parse_req (tkn, &logitem->method, &logitem->protocol);\n    free (tkn);\n    break;\n    /* Status Code */\n  case 's':\n    if (logitem->status >= 0)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    logitem->status = strtol (tkn, &sEnd, 10);\n    if (tkn == sEnd || *sEnd != '\\0' || errno == ERANGE ||\n        (!conf.no_strict_status && !is_valid_http_status (logitem->status))) {\n      spec_err (logitem, ERR_SPEC_TOKN_INV, *p, tkn);\n      free (tkn);\n      return 1;\n    }\n    free (tkn);\n    break;\n    /* size of response in bytes - excluding HTTP headers */\n  case 'b':\n    if (logitem->resp_size)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    bandw = strtoull (tkn, &bEnd, 10);\n    if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE)\n      bandw = 0;\n    logitem->resp_size = bandw;\n    {\n      int expected = 0;\n      __atomic_compare_exchange_n (&conf.bandwidth, &expected, 1, false, __ATOMIC_SEQ_CST,\n                                   __ATOMIC_SEQ_CST);\n    }\n    free (tkn);\n    break;\n    /* referrer */\n  case 'R':\n    if (logitem->ref)\n      return handle_default_case_token (str, p);\n\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      tkn = alloc_string (\"-\");\n    if (*tkn == '\\0') {\n      free (tkn);\n      tkn = alloc_string (\"-\");\n    }\n    if (strcmp (tkn, \"-\") != 0) {\n      extract_keyphrase (tkn, &logitem->keyphrase);\n      extract_referer_site (tkn, logitem->site);\n\n      /* hide referrers from report */\n      if (hide_referer (logitem->site)) {\n        logitem->site[0] = '\\0';\n        free (tkn);\n      } else\n        logitem->ref = tkn;\n      break;\n    }\n    logitem->ref = tkn;\n\n    break;\n    /* user agent */\n  case 'u':\n    if (logitem->agent)\n      return handle_default_case_token (str, p);\n\n    tkn = parse_string (&(*str), end, 1);\n    if (tkn != NULL && *tkn != '\\0') {\n      /* Make sure the user agent is decoded (i.e.: CloudFront) */\n      logitem->agent = decode_url (tkn);\n\n      set_browser_os (logitem);\n      set_agent_hash (logitem);\n      free (tkn);\n      break;\n    } else if (tkn != NULL && *tkn == '\\0') {\n      free (tkn);\n      tkn = alloc_string (\"-\");\n    }\n    /* must be null */\n    else {\n      tkn = alloc_string (\"-\");\n    }\n    logitem->agent = tkn;\n    set_agent_hash (logitem);\n    break;\n    /* time taken to serve the request, in milliseconds as a decimal number */\n  case 'L':\n    /* ignore it if we already have served time */\n    if (logitem->serve_time)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    serve_secs = strtoull (tkn, &bEnd, 10);\n    if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE)\n      serve_secs = 0;\n    /* convert it to microseconds */\n    logitem->serve_time = (serve_secs > 0) ? serve_secs * MILS : 0;\n\n    /* Determine if time-served data was stored on-disk. */\n    {\n      int expected = 0;\n      __atomic_compare_exchange_n (&conf.serve_usecs, &expected, 1, false, __ATOMIC_SEQ_CST,\n                                   __ATOMIC_SEQ_CST);\n    }\n\n    free (tkn);\n    break;\n    /* time taken to serve the request, in seconds with a milliseconds\n     * resolution */\n  case 'T':\n    /* ignore it if we already have served time */\n    if (logitem->serve_time)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    if (strchr (tkn, '.') != NULL)\n      serve_secs = strtod (tkn, &bEnd);\n    else\n      serve_secs = strtoull (tkn, &bEnd, 10);\n\n    if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE)\n      serve_secs = 0;\n    /* convert it to microseconds */\n    logitem->serve_time = (serve_secs > 0) ? serve_secs * SECS : 0;\n\n    /* Determine if time-served data was stored on-disk. */\n    {\n      int expected = 0;\n      __atomic_compare_exchange_n (&conf.serve_usecs, &expected, 1, false, __ATOMIC_SEQ_CST,\n                                   __ATOMIC_SEQ_CST);\n    }\n    free (tkn);\n    break;\n    /* time taken to serve the request, in microseconds */\n  case 'D':\n    /* ignore it if we already have served time */\n    if (logitem->serve_time)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    serve_time = strtoull (tkn, &bEnd, 10);\n    if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE)\n      serve_time = 0;\n    logitem->serve_time = serve_time;\n\n    /* Determine if time-served data was stored on-disk. */\n    {\n      int expected = 0;\n      __atomic_compare_exchange_n (&conf.serve_usecs, &expected, 1, false, __ATOMIC_SEQ_CST,\n                                   __ATOMIC_SEQ_CST);\n    }\n    free (tkn);\n    break;\n    /* time taken to serve the request, in nanoseconds */\n  case 'n':\n    /* ignore it if we already have served time */\n    if (logitem->serve_time)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    serve_time = strtoull (tkn, &bEnd, 10);\n    if (tkn == bEnd || *bEnd != '\\0' || errno == ERANGE)\n      serve_time = 0;\n\n    /* convert it to microseconds */\n    logitem->serve_time = (serve_time > 0) ? serve_time / MILS : 0;\n\n    /* Determine if time-served data was stored on-disk. */\n    {\n      int expected = 0;\n      __atomic_compare_exchange_n (&conf.serve_usecs, &expected, 1, false, __ATOMIC_SEQ_CST,\n                                   __ATOMIC_SEQ_CST);\n    }\n    free (tkn);\n    break;\n    /* UMS: Krypto (TLS) \"ECDHE-RSA-AES128-GCM-SHA256\" */\n  case 'k':\n    /* error to set this twice */\n    if (logitem->tls_cypher)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n#if defined(HAVE_LIBSSL) && defined(HAVE_CIPHER_STD_NAME)\n    {\n      char *tmp = NULL;\n      for (tmp = tkn; isdigit ((unsigned char) *tmp); tmp++);\n      if (!strlen (tmp))\n        extract_tls_version_cipher (tkn, &logitem->tls_cypher, &logitem->tls_type);\n      else\n        logitem->tls_cypher = tkn;\n    }\n#else\n    logitem->tls_cypher = tkn;\n#endif\n\n    break;\n\n    /* UMS: Krypto (TLS) parameters like \"TLSv1.2\" */\n  case 'K':\n    /* error to set this twice */\n    if (logitem->tls_type)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    logitem->tls_type = tkn;\n    break;\n\n    /* UMS: Mime-Type like \"text/html\" */\n  case 'M':\n    /* error to set this twice */\n    if (logitem->mime_type)\n      return handle_default_case_token (str, p);\n    if (!(tkn = parse_string (&(*str), end, 1)))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, *p, NULL);\n\n    normalize_mime_type (tkn, norm_mime, sizeof (norm_mime));\n    if (norm_mime[0] != '\\0')\n      logitem->mime_type = strdup (norm_mime);\n    else\n      logitem->mime_type = NULL;\n    free (tkn);\n\n    break;\n    /* move forward through str until not a space */\n  case '~':\n    find_alpha (&(*str));\n    break;\n    /* everything else skip it */\n  default:\n    handle_default_case_token (str, p);\n  }\n\n  return 0;\n}\n\n/* Parse the special host specifier and extract the characters that\n * need to be rejected when attempting to parse the XFF field.\n *\n * If no unable to find both curly braces (boundaries), NULL is returned.\n * On success, the malloc'd reject set is returned. */\nstatic char *\nextract_braces (const char **p) {\n  const char *b1 = NULL, *b2 = NULL, *s = *p;\n  char *ret = NULL;\n  int esc = 0;\n  ptrdiff_t len = 0;\n\n  /* iterate over the log format */\n  for (; *s; s++) {\n    if (*s == '\\\\') {\n      esc = 1;\n    } else if (*s == '{' && !esc) {\n      b1 = s;\n    } else if (*s == '}' && !esc) {\n      b2 = s;\n      break;\n    } else {\n      esc = 0;\n    }\n  }\n\n  if ((!b1) || (!b2))\n    return NULL;\n  if ((len = b2 - (b1 + 1)) <= 0)\n    return NULL;\n\n  /* Found braces, extract 'reject' character set. */\n  ret = xmalloc (len + 1);\n  memcpy (ret, b1 + 1, len);\n  ret[len] = '\\0';\n  (*p) = b2 + 1;\n\n  return ret;\n}\n\n/* Attempt to extract the client IP from an X-Forwarded-For (XFF) field.\n *\n * If no IP is found, 1 is returned.\n * On success, the malloc'd token is assigned to a GLogItem->host and\n * 0 is returned. */\nstatic int\nset_xff_host (GLogItem *logitem, const char *str, const char *skips, int out) {\n  const char *ptr = NULL, *tkn = NULL;\n  int invalid_ip = 1, len = 0, type_ip = TYPE_IPINV;\n  int idx = 0, skips_len = 0;\n\n  skips_len = strlen (skips);\n  ptr = str;\n  while (*ptr != '\\0') {\n    if ((len = strcspn (ptr, skips)) == 0) {\n      len++, ptr++, idx++;\n      goto move;\n    }\n    /* If our index does not match the number of delimiters and we have already a\n     * valid client IP, then we assume we have reached the length of the XFF */\n    if (idx < skips_len && logitem->host)\n      break;\n\n    ptr += len;\n    /* extract possible IP */\n    if (!(tkn = parsed_string (ptr, &str, 0)))\n      break;\n\n    invalid_ip = invalid_ipaddr (tkn, &type_ip);\n    /* done, already have IP and current token is not a host */\n    if (logitem->host && invalid_ip) {\n      free ((void *) tkn);\n      break;\n    }\n    if (!logitem->host && !invalid_ip) {\n      logitem->host = xstrdup (tkn);\n      logitem->type_ip = type_ip;\n    }\n    free ((void *) tkn);\n    idx = 0;\n\n    /* found the client IP, break then */\n    if (logitem->host && out)\n      break;\n\n  move:\n    str += len;\n  }\n\n  return logitem->host == NULL;\n}\n\n/* Attempt to find possible delimiters in the X-Forwarded-For (XFF) field.\n *\n * If no IP is found, 1 is returned.\n * On success, the malloc'd token is assigned to a GLogItem->host and 0 is returned. */\nstatic int\nfind_xff_host (GLogItem *logitem, const char **str, const char **p) {\n  char *skips = NULL, *extract = NULL;\n  char pch[2] = { 0 };\n  int res = 0;\n\n  if (!(skips = extract_braces (p)))\n    return spec_err (logitem, ERR_SPEC_SFMT_MIS, **p, \"{}\");\n\n  /* if the log format current char is not within the braces special chars, then\n   * we assume the range of IPs are within hard delimiters */\n  if (!strchr (skips, **p) && strchr (*str, **p)) {\n    *pch = **p;\n    *(pch + 1) = '\\0';\n    if (!(extract = parse_string (&(*str), pch, 1)))\n      goto clean;\n\n    res = set_xff_host (logitem, extract, skips, 1);\n    free (extract);\n    (*str)++;   /* move a char forward from the trailing delim */\n  } else {\n    res = set_xff_host (logitem, *str, skips, 0);\n  }\n\nclean:\n  free (skips);\n\n  return res;\n}\n\n/* Handle special specifiers.\n *\n * On error, or unable to parse it, 1 is returned.\n * On success, the malloc'd token is assigned to a GLogItem member and\n * 0 is returned. */\nstatic int\nspecial_specifier (GLogItem *logitem, const char **str, const char **p) {\n  switch (**p) {\n    /* XFF remote hostname (IP only) */\n  case 'h':\n    if (find_xff_host (logitem, str, p))\n      return spec_err (logitem, ERR_SPEC_TOKN_NUL, 'h', NULL);\n    break;\n  }\n\n  return 0;\n}\n\n/* Iterate over the given log format.\n *\n * On error, or unable to parse it, 1 is returned.\n * On success, the malloc'd token is assigned to a GLogItem member and\n * 0 is returned. */\nstatic int\nparse_format (GLogItem *logitem, const char *str, const char *lfmt) {\n  char end[2 + 1] = { 0 };\n  const char *p = NULL, *last = NULL;\n  int perc = 0, tilde = 0, ret = 0;\n\n  if (str == NULL || *str == '\\0')\n    return 1;\n\n  /* iterate over the log format */\n  last = lfmt + strlen (lfmt);\n  for (p = lfmt; p < last; p++) {\n    if (*p == '%') {\n      perc++;\n      continue;\n    }\n    if (*p == '~' && perc == 0) {\n      tilde++;\n      continue;\n    }\n    if (*str == '\\0')\n      return spec_err (logitem, ERR_SPEC_LINE_INV, '-', NULL);\n    if (*str == '\\n')\n      return 0;\n\n    if (tilde && *p != '\\0') {\n      if (*str == '\\0')\n        return 0;\n      if (special_specifier (logitem, &str, &p) == 1)\n        return 1;\n      tilde = 0;\n    }\n    /* %h */\n    else if (perc && *p != '\\0') {\n      if (*str == '\\0')\n        return 0;\n\n      memset (end, 0, sizeof end);\n      get_delim (end, p);\n      /* attempt to parse format specifiers */\n      if ((ret = parse_specifier (logitem, &str, p, end)))\n        return ret;\n      perc = 0;\n    } else if (perc && isspace ((unsigned char) p[0])) {\n      return 1;\n    } else {\n      str++;\n    }\n  }\n\n  return 0;\n}\n\n/* Determine if the log string is valid and if it's not a comment.\n *\n * On error, or invalid, 1 is returned.\n * On success, or valid line, 0 is returned. */\nstatic int\nvalid_line (char *line) {\n  /* invalid line */\n  if ((line == NULL) || (*line == '\\0'))\n    return 1;\n  /* ignore comments */\n  if (*line == '#' || *line == '\\n')\n    return 1;\n\n  return 0;\n}\n\n/* Ignore request's query string. e.g.,\n * /index.php?timestamp=1454385289 */\nstatic void\nstrip_qstring (char *req) {\n  char *qmark;\n  if ((qmark = strchr (req, '?')) != NULL) {\n    if ((qmark - req) > 0)\n      *qmark = '\\0';\n  }\n}\n\n\n/* Output all log errors stored during parsing. */\nvoid\noutput_logerrors (void) {\n  Logs *logs = get_db_logs (DB_INSTANCE);\n  GLog *glog = NULL;\n  int pid = getpid (), i;\n\n  for (i = 0; i < logs->size; ++i) {\n    glog = &logs->glog[i];\n    if (!glog->log_erridx)\n      continue;\n\n    fprintf (stderr, \"==%d== GoAccess - version %s - %s %s\\n\", pid, GO_VERSION, __DATE__, __TIME__);\n    fprintf (stderr, \"==%d== Config file: %s\\n\", pid, conf.iconfigfile ? : NO_CONFIG_FILE);\n    fprintf (stderr, \"==%d== https://goaccess.io - <hello@goaccess.io>\\n\", pid);\n    fprintf (stderr, \"==%d== Released under the MIT License.\\n\", pid);\n    fprintf (stderr, \"==%d==\\n\", pid);\n    fprintf (stderr, \"==%d== FILE: %s\\n\", pid, glog->props.filename);\n    fprintf (stderr, \"==%d== \", pid);\n    fprintf (stderr, ERR_PARSED_NLINES, glog->log_erridx);\n    fprintf (stderr, \" %s:\\n\", ERR_PARSED_NLINES_DESC);\n    fprintf (stderr, \"==%d==\\n\", pid);\n    for (i = 0; i < glog->log_erridx; ++i)\n      fprintf (stderr, \"==%d== %s\\n\", pid, glog->errors[i]);\n  }\n  fprintf (stderr, \"==%d==\\n\", pid);\n  fprintf (stderr, \"==%d== %s\\n\", pid, ERR_FORMAT_HEADER);\n  fprintf (stderr, \"==%d== %s\\n\", pid, HINT_INVALID_REQUESTS);\n}\n\n/* Ensure we have the following fields. */\nstatic int\nverify_missing_fields (GLogItem *logitem) {\n  /* must have the following fields */\n  if (logitem->host == NULL)\n    logitem->errstr =\n      xstrdup\n      (\"IPv4/6 is required. You have to add format specifier '%h' [host (the client IP address, either IPv4 or IPv6)] to your log-format.\");\n  else if (logitem->date == NULL)\n    logitem->errstr =\n      xstrdup\n      (\"A valid date is required. You have to add format specifier '%x' [Datetime] or '%d' [Date] and '%t' [Time] to your log-format.\");\n  else if (logitem->req == NULL)\n    logitem->errstr =\n      xstrdup\n      (\"A request is required. Your log-format is missing format specifier '%r' [The request line from the client] or combination of special format specifiers such as '%m', '%U', '%q' and '%H' to parse individual fields.\");\n\n  return logitem->errstr != NULL;\n}\n\n/* Determine if the request is from a robot or spider and check if we\n * need to ignore or show crawlers only.\n *\n * If the request line is not ignored, 0 is returned.\n * If the request line is ignored, 1 is returned. */\nstatic int\nhandle_crawler (const char *agent) {\n  int bot = 0;\n\n  if (!conf.ignore_crawlers && !conf.crawlers_only)\n    return 1;\n\n  bot = is_crawler (agent);\n  return (conf.ignore_crawlers && bot) || (conf.crawlers_only && !bot) ? 0 : 1;\n}\n\n/* A wrapper function to determine if the request is static.\n *\n * If the request is not static, 0 is returned.\n * If the request is static, 1 is returned. */\nstatic int\nis_static (const char *req) {\n  return verify_static_content (req);\n}\n\n/* Determine if the request of the given status code needs to be\n * ignored.\n *\n * If the status code is not within the ignore-array, 0 is returned.\n * If the status code is within the ignore-array, 1 is returned. */\nstatic int\nignore_status_code (int status) {\n  int i = 0;\n\n  if (!status || conf.ignore_status_idx == 0)\n    return 0;\n\n  for (i = 0; i < conf.ignore_status_idx; i++)\n    if (status == conf.ignore_status[i])\n      return 1;\n\n  return 0;\n}\n\n/* Determine if static file request should be ignored\n    *\n    * If the request line is not ignored, 0 is returned.\n    * If the request line is ignored, 1 is returned. */\nstatic int\nignore_static (const char *req) {\n  if (conf.ignore_statics && is_static (req))\n    return 1;\n  return 0;\n}\n\n/* Determine if the request status code is a 404.\n *\n * If the request is not a 404, 0 is returned.\n * If the request is a 404, 1 is returned. */\nstatic int\nis_404 (GLogItem *logitem) {\n  /* is this a 404? */\n  if (logitem->status == 404)\n    return 1;\n  /* treat 444 as 404? */\n  else if (logitem->status == 444 && conf.code444_as_404)\n    return 1;\n  return 0;\n}\n\n/* A wrapper function to determine if a log line needs to be ignored.\n *\n * If the request line is not ignored, 0 is returned.\n * If the request line is ignored, IGNORE_LEVEL_PANEL is returned.\n * If the request line is only not counted as valid, IGNORE_LEVEL_REQ is returned. */\nstatic int\nignore_line (GLogItem *logitem) {\n  if (excluded_ip (logitem) == 0)\n    return IGNORE_LEVEL_PANEL;\n  if (handle_crawler (logitem->agent) == 0)\n    return IGNORE_LEVEL_PANEL;\n  if (ignore_referer (logitem->ref))\n    return IGNORE_LEVEL_PANEL;\n  if (ignore_status_code (logitem->status))\n    return IGNORE_LEVEL_PANEL;\n  if (ignore_static (logitem->req))\n    return conf.ignore_statics; // IGNORE_LEVEL_PANEL or IGNORE_LEVEL_REQ\n\n  /* check if we need to remove the request's query string */\n  if (conf.ignore_qstr)\n    strip_qstring (logitem->req);\n\n  return 0;\n}\n\n/* The following generates a unique key to identity unique visitors.\n * The key is made out of the IP, date, and user agent.\n * Note that for readability, doing a simple snprintf/sprintf should\n * suffice, however, memcpy is the fastest solution\n *\n * On success the new unique visitor key is returned */\nstatic char *\nget_uniq_visitor_key (GLogItem *logitem) {\n  char *key = NULL;\n  size_t s1, s2, s3;\n\n  s1 = strlen (logitem->date);\n  s2 = strlen (logitem->host);\n  s3 = strlen (logitem->agent_hex);\n\n  /* includes terminating null */\n  key = xcalloc (s1 + s2 + s3 + 3, sizeof (char));\n\n  memcpy (key, logitem->date, s1);\n\n  key[s1] = '|';\n  memcpy (key + s1 + 1, logitem->host, s2 + 1);\n\n  key[s1 + s2 + 1] = '|';\n  memcpy (key + s1 + s2 + 2, logitem->agent_hex, s3 + 1);\n\n  return key;\n}\n\n/* Determine if the current log has the content from the last time it was\n * parsed. It does this by comparing READ_BYTES against the beginning of the\n * log.\n *\n * Returns 1 if the content is likely the same or no data to compare\n * Returns 0 if it has different content */\nstatic int\nis_likely_same_log (GLog *glog, const GLastParse *lp) {\n  size_t size = 0;\n\n  if (!lp->size)\n    return 1;\n\n  /* Must be a LOG */\n  size = MIN (glog->snippetlen, lp->snippetlen);\n  if (glog->snippet[0] != '\\0' && lp->snippet[0] != '\\0' &&\n      memcmp (glog->snippet, lp->snippet, size) == 0)\n    return 1;\n\n  return 0;\n}\n\n/* Determine if we should insert new record or if it's a duplicate record from\n * a previously persisted dataset\n *\n * Returns 1 if it thinks the record it's being restored from disk\n * Returns 0 if we need to parse the record */\nstatic int\nshould_restore_from_disk (GLog *glog) {\n  GLastParse lp = { 0 };\n\n  if (!conf.restore)\n    return 0;\n\n  lp = ht_get_last_parse (glog->props.inode);\n\n  /* No last parse timestamp, continue parsing as we got nothing to compare\n   * against */\n  if (!lp.ts)\n    return 0;\n\n  /* If our current line is greater or equal (zero indexed) to the last parsed\n   * line and have equal timestamps, then keep parsing then */\n  if (glog->props.inode && is_likely_same_log (glog, &lp)) {\n    if (glog->props.size > lp.size && glog->read >= lp.line)\n      return 0;\n    return 1;\n  }\n\n  /* No inode (probably a pipe), prior or equal timestamps means restore from\n   * disk (exclusive) */\n  if (!glog->props.inode && lp.ts >= glog->lp.ts)\n    return 1;\n\n  /* If not likely the same content, then fallback to the following checks */\n  /* If timestamp is greater than last parsed, read the line then */\n  if (glog->lp.ts > lp.ts)\n    return 0;\n\n  /* Check if current log size is smaller than the one last parsed, if it is,\n   * it was possibly truncated and thus it may be smaller, so fallback to\n   * timestamp even if they are equal to the last parsed timestamp */\n  else if (glog->props.size < lp.size && glog->lp.ts == lp.ts)\n    return 0;\n\n  /* Everything else we ignore it. For instance, if current log size is\n   * greater than the one last parsed, or the timestamp are equal, we ignore the\n   * request.\n   *\n   * **NOTE* We try to play safe here as we would rather miss a few lines\n   * than double-count a few. */\n  return 1;\n}\n\nstatic void\nprocess_invalid (GLog *glog, GLogItem *logitem, const char *line) {\n  GLastParse lp = { 0 };\n\n  /* if not restoring from disk, then count entry as proceeded and invalid */\n  if (!conf.restore) {\n    count_process_and_invalid (glog, logitem, line);\n    return;\n  }\n\n  lp = ht_get_last_parse (glog->props.inode);\n\n  /* If our current line is greater or equal (zero indexed) to the last parsed\n   * line then keep parsing then */\n  if (glog->props.inode && is_likely_same_log (glog, &lp)) {\n    /* only count invalids if we're past the last parsed line */\n    if (glog->props.size > lp.size && glog->read >= lp.line)\n      count_process_and_invalid (glog, logitem, line);\n    return;\n  }\n\n  /* no timestamp to compare against, just count the invalid then */\n  if (!logitem->numdate) {\n    count_process_and_invalid (glog, logitem, line);\n    return;\n  }\n\n  /* if there's a valid timestamp, count only if greater than last parsed ts */\n  if ((glog->lp.ts = mktime (&logitem->dt)) == -1)\n    return;\n\n  /* check if we were able to at least parse the date/time, if no date/time\n   * then we simply don't count the entry as proceed & invalid to attempt over\n   * counting restored data */\n  if (should_restore_from_disk (glog) == 0)\n    count_process_and_invalid (glog, logitem, line);\n}\n\nstatic int\nparse_json_specifier (void *ptr_data, char *key, char *str) {\n  GLogItem *logitem = (GLogItem *) ptr_data;\n  char *spec = NULL;\n  int ret = 0;\n\n  if (!key || !str)\n    return 0;\n  /* empty JSON value, e.g., {method: \"\"} */\n  if (0 == strlen (str))\n    return 0;\n  if (!(spec = ht_get_json_logfmt (key)))\n    return 0;\n\n  ret = parse_format (logitem, str, spec);\n  free (spec);\n\n  return ret;\n}\n\nstatic int\nparse_json_format (GLogItem *logitem, char *str) {\n  return parse_json_string (logitem, str, parse_json_specifier);\n}\n\n/* Atomically updates glog->lp.ts with the maximum timestamp value from\n * logitem->dt.\n *\n * On error (if mktime fails), returns -1.\n * On success, returns the updated timestamp value, which is also stored in\n * glog->lp.ts.\n */\nstatic int\natomic_lpts_update (GLog *glog, GLogItem *logitem) {\n  int64_t newts = mktime (&logitem->dt); // Get timestamp from logitem->dt\n  int64_t oldts = __atomic_load_n (&glog->lp.ts, __ATOMIC_SEQ_CST);\n  int64_t expected;\n\n  while (oldts < newts) { // Only update if new timestamp is later\n    expected = oldts;\n    // Attempt to update glog->lp.ts from expected (oldts) to newts.\n    if (__atomic_compare_exchange_n (&glog->lp.ts, &expected, newts,\n                                     false, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST)) {\n      break;    // Successful update.\n    }\n    // If the CAS failed, expected now holds the current glog->lp.ts.\n    oldts = expected;\n    if (oldts >= newts)\n      break;\n  }\n\n  return newts;\n}\n\nstatic int\ncleanup_logitem (int ret, GLogItem *logitem) {\n  if (logitem)\n    free_glog (logitem);\n  return ret;\n}\n\n/* Validate the basic log line format and parse it into a logitem.\n *\n * On error, ret is set and logitem contains error info.\n * On success, 0 is returned. */\nstatic int\nvalidate_and_parse_line (char *line, GLogItem *logitem) {\n  char *fmt = conf.log_format;\n  int ret = 0;\n\n  /* Parse a line of log, and fill structure with appropriate values */\n  if (conf.is_json_log_format)\n    ret = parse_json_format (logitem, line);\n  else\n    ret = parse_format (logitem, line, fmt);\n\n  return ret;\n}\n\n/* Collect error messages without incrementing counters (for dry run/testing) */\nstatic void\ncollect_invalid_errors (GLog *glog, GLogItem *logitem) {\n  uint8_t idx = 0;\n  if (logitem->errstr) {\n    pthread_mutex_lock (&glog->error_mutex);\n\n    idx = atomic_load (&glog->log_erridx);\n    if (idx < MAX_LOG_ERRORS) {\n      glog->errors[idx] = xstrdup (logitem->errstr);\n      atomic_store (&glog->log_erridx, idx + 1);\n    }\n\n    pthread_mutex_unlock (&glog->error_mutex);\n  }\n}\n\n/* Handle invalid log lines during parsing.\n *\n * During dry_run, only collects errors for display.\n * During normal runs, also increments counters. */\nstatic int\nhandle_invalid_line (GLog *glog, GLogItem *logitem, const char *line, int dry_run) {\n  /* During dry run, only collect errors without counting */\n  if (dry_run)\n    collect_invalid_errors (glog, logitem);\n  else\n    process_invalid (glog, logitem, line);\n\n  return cleanup_logitem (1, logitem);\n}\n\n/* Apply post-parse processing to a valid logitem.\n * This includes vhost handling, timestamp updates, and restoration checks.\n *\n * Returns 1 if the line should be skipped (restoration check).\n * Returns 0 if processing should continue. */\nstatic int\napply_post_parse_processing (GLog *glog, GLogItem *logitem) {\n  /* Apply vhost from filename if configured */\n  if (!glog->piping && conf.fname_as_vhost && glog->fname_as_vhost)\n    logitem->vhost = xstrdup (glog->fname_as_vhost);\n\n  /* Update timestamp atomically */\n  if (atomic_lpts_update (glog, logitem) == -1)\n    return 1;\n\n  /* Skip if we should restore from disk */\n  if (should_restore_from_disk (glog))\n    return 1;\n\n  return 0;\n}\n\n/* Enrich a valid logitem with additional metadata.\n * This includes agent handling, ignore levels, static file detection, etc. */\nstatic void\nenrich_logitem (GLogItem *logitem) {\n  /* agent will be null in cases where %u is not specified */\n  if (logitem->agent == NULL) {\n    logitem->agent = alloc_string (\"-\");\n    set_agent_hash (logitem);\n  }\n\n  logitem->ignorelevel = ignore_line (logitem);\n\n  if (is_404 (logitem))\n    logitem->is_404 = 1;\n  else if (is_static (logitem->req))\n    logitem->is_static = 1;\n\n  /* concatenate vhost to request */\n  if (conf.concat_vhost_req) {\n    size_t vhost_len = logitem->vhost ? strlen (logitem->vhost) : 0;\n    size_t req_len = logitem->req ? strlen (logitem->req) : 0;\n    char *new_req = xmalloc (vhost_len + req_len + 1);\n    if (vhost_len)\n      memcpy (new_req, logitem->vhost, vhost_len);\n    if (req_len)\n      memcpy (new_req + vhost_len, logitem->req, req_len);\n    new_req[vhost_len + req_len] = '\\0';\n    free (logitem->req);\n    logitem->req = new_req;\n  }\n\n  logitem->uniq_key = get_uniq_visitor_key (logitem);\n}\n\n/* Parse a line from the log and store it accordingly taking into\n * account multiple parsing options prior to setting data into the\n * corresponding data structure.\n *\n * On error, logitem->errstr will contains the error message. */\nint\nparse_line (GLog *glog, char *line, int dry_run, GLogItem **logitem_out) {\n  int ret = 0;\n  GLogItem *logitem = NULL;\n\n  /* soft ignore these lines */\n  if (valid_line (line))\n    return -1;\n\n  logitem = init_log_item (glog);\n\n  /* Validate and parse the log format */\n  ret = validate_and_parse_line (line, logitem);\n  if (ret)\n    return handle_invalid_line (glog, logitem, line, dry_run);\n\n  /* Apply post-parse processing (vhost, timestamp, restoration) */\n  ret = apply_post_parse_processing (glog, logitem);\n  if (ret)\n    return cleanup_logitem (0, logitem);\n\n  /* valid format but missing fields */\n  if ((ret = verify_missing_fields (logitem)))\n    return handle_invalid_line (glog, logitem, line, dry_run);\n\n  /* Only count processed during non-dry runs */\n  if (!dry_run)\n    count_process (glog);\n\n  /* testing log only - return without further processing */\n  if (dry_run)\n    return cleanup_logitem (0, logitem);\n\n  /* Enrich the logitem with additional metadata */\n  enrich_logitem (logitem);\n\n  /* ignore line at panel level */\n  if (logitem->ignorelevel == IGNORE_LEVEL_PANEL)\n    return cleanup_logitem (0, logitem);\n\n  *logitem_out = logitem;\n  return 0;\n}\n\n/* Entry point to process the given line from the log.\n *\n * On error, NULL is returned.\n * On success or soft ignores, GLogItem is returned. */\nstatic GLogItem *\nread_line (GLog *glog, char *line, int *test, uint32_t *cnt, int dry_run) {\n  GLogItem *logitem = NULL;\n  int ret = 0;\n\n  if ((ret = parse_line (glog, line, dry_run, &logitem)) == 0)\n    *test = 0;\n\n  if (ret == -1)\n    return NULL;\n\n  /* Increment local counter (will be synchronized later) */\n  if (conf.num_tests && ++(*cnt) >= conf.num_tests && *test) {\n    uncount_processed (glog);\n    uncount_invalid (glog);\n    return NULL;\n  }\n\n  atomic_fetch_add (&glog->read, 1); // Only 2 arguments!\n  return logitem;\n}\n\n/* Parse chunk of lines to logitems */\nstatic void *\nread_lines_thread (void *arg) {\n  GJob *job = (GJob *) arg;\n  int i = 0;\n  uint32_t local_cnt = atomic_load (&job->cnt);\n\n  for (i = 0; i < job->p; i++) {\n    /* Check stop_processing atomically */\n    if (atomic_load (&conf.stop_processing))\n      break;\n\n    /* ensure we don't process more than we should when testing for log format */\n    if (!job->test || (job->test && local_cnt < conf.num_tests)) {\n      job->logitems[i] = read_line (job->glog, job->lines[i], &job->test, &local_cnt, job->dry_run);\n    } else {\n      atomic_store (&conf.stop_processing, 1);\n      break;\n    }\n\n#ifdef WITH_GETLINE\n    free (job->lines[i]);\n#endif\n  }\n\n  /* Update shared counter atomically */\n  atomic_store (&job->cnt, local_cnt);\n\n  return (void *) 0;\n}\n\n/* A replacement for GNU getline() to dynamically expand fgets buffer.\n * Wrapper for fgetline to work with GFileHandle abstraction\n *\n * On error, NULL is returned.\n * On success, the malloc'd line is returned. */\nchar *\ngfile_getline (GFileHandle *fh) {\n  char buf[LINE_BUFFER] = { 0 };\n  char *line = NULL, *tmp = NULL;\n  size_t linelen = 0, len = 0;\n\n  while (1) {\n    if (!gfile_gets (buf, sizeof (buf), fh)) {\n      if (conf.process_and_exit && errno == EAGAIN) {\n        (void) nanosleep ((const struct timespec[]) { {0, 100000000L} }, NULL);\n        continue;\n      }\n      /* Return partial line on EOF if we have data */\n      if (gfile_eof (fh) && line != NULL && linelen > 0)\n        return line;\n      break;\n    }\n\n    len = strlen (buf);\n    /* Skip empty reads but don't fail - could be transient. This is normal\n     * when tailing files */\n    if (len == 0)\n      continue;\n\n    /* overflow check */\n    if (SIZE_MAX - len - 1 < linelen)\n      break;\n\n    if ((tmp = realloc (line, linelen + len + 1)) == NULL)\n      break;\n\n    line = tmp;\n    strcpy (line + linelen, buf);\n    linelen += len;\n\n    /* Complete line or EOF reached */\n    if (gfile_eof (fh) || buf[len - 1] == '\\n')\n      return line;\n  }\n\n  free (line);\n  return NULL;\n}\n\nvoid *\nprocess_lines_thread (void *arg) {\n  GJob *job = (GJob *) arg;\n  int i = 0;\n\n  for (i = 0; i < job->p; i++) {\n    if (job->logitems[i] != NULL && !job->dry_run && job->logitems[i]->errstr == NULL) {\n      process_log (job->logitems[i]);\n      free_glog (job->logitems[i]);\n      job->logitems[i] = NULL;\n    }\n  }\n  return (void *) 0;\n}\n\n/* Initialize jobs */\nstatic void\ninit_jobs (GJob jobs[2][conf.jobs], GLog *glog, int dry_run, int test) {\n  int b = 0, k = 0;\n#ifndef WITH_GETLINE\n  int i = 0;\n#endif\n\n  /* Initialize error mutex once */\n  static int mutex_initialized = 0;\n  if (!mutex_initialized) {\n    pthread_mutex_init (&glog->error_mutex, NULL);\n    mutex_initialized = 1;\n  }\n\n  for (b = 0; b < 2; b++) {\n    for (k = 0; k < conf.jobs; k++) {\n      jobs[b][k].p = 0;\n      atomic_store (&jobs[b][k].cnt, 0); // Use atomic store\n      jobs[b][k].glog = glog;\n      jobs[b][k].test = test;\n      jobs[b][k].dry_run = dry_run;\n      jobs[b][k].running = 0;\n      jobs[b][k].logitems = xcalloc (conf.chunk_size, sizeof (GLogItem));\n      jobs[b][k].lines = xcalloc (conf.chunk_size, sizeof (char *));\n#ifndef WITH_GETLINE\n      for (i = 0; i < conf.chunk_size; i++)\n        jobs[b][k].lines[i] = xcalloc (LINE_BUFFER, sizeof (char));\n#endif\n    }\n  }\n}\n\n/* Read lines from file */\nstatic void\nread_lines_from_file (GFileHandle *fh, GLog *glog, GJob jobs[2][conf.jobs], int b, char **s) {\n  int k = 0;\n\n  for (k = 0; k < conf.jobs; k++) {\n#ifdef WITH_GETLINE\n    while ((*s = gfile_getline (fh)) != NULL) {\n      jobs[b][k].lines[jobs[b][k].p] = *s;\n#else\n    while ((*s = gfile_gets (jobs[b][k].lines[jobs[b][k].p], LINE_BUFFER, fh)) != NULL) {\n#endif\n      glog->bytes += strlen (jobs[b][k].lines[jobs[b][k].p]);\n      if (++(jobs[b][k].p) >= conf.chunk_size)\n        break;  // goto next chunk\n    }\n  }\n}\n\n/* Processes lines using threads from the GJob array, updating counters. */\nstatic void\nprocess_lines (GJob jobs[2][conf.jobs], uint32_t *cnt, int *test, int b) {\n  int k = 0;\n  for (k = 0; k < conf.jobs; k++) {\n    process_lines_thread (&jobs[b][k]);\n\n    /* If interrupted, free any remaining logitems that weren't processed */\n    if (atomic_load (&conf.stop_processing)) {\n      int i;\n      for (i = 0; i < jobs[b][k].p; i++) {\n        if (jobs[b][k].logitems[i] != NULL) {\n          free_glog (jobs[b][k].logitems[i]);\n          jobs[b][k].logitems[i] = NULL;\n        }\n      }\n    }\n\n    /* Read atomic counter */\n    *cnt += atomic_load (&jobs[b][k].cnt);\n    atomic_store (&jobs[b][k].cnt, 0);\n\n    *test &= jobs[b][k].test;\n    jobs[b][k].p = 0;\n  }\n}\n\n/* Frees memory for lines and logitems in each job of the GJob array. */\nstatic void\nfree_jobs (GJob jobs[2][conf.jobs]) {\n  int b = 0, k = 0;\n#ifndef WITH_GETLINE\n  int i = 0;\n#endif\n\n  for (b = 0; b < 2; b++) {\n    for (k = 0; k < conf.jobs; k++) {\n#ifndef WITH_GETLINE\n      for (i = 0; i < conf.chunk_size; i++)\n        free (jobs[b][k].lines[i]);\n#endif\n      free (jobs[b][k].logitems);\n      free (jobs[b][k].lines);\n    }\n  }\n}\n\n/* Reads lines from the given file pointer `fp` and processes them using\n * parallel threads.\n *\n * On error or when interrupted by a signal (SIGINT), the function returns 0.\n * On success, it returns 1 if the number of processed lines is greater than or\n * equal to the configured number of tests (NUM_TESTS), otherwise 0.\n */\nstatic int\nread_lines (GFileHandle *fh, GLog *glog, int dry_run) {\n  int b = 0, k = 0, test = conf.num_tests > 0 ? 1 : 0;\n  uint32_t cnt = 0;\n  void *status = NULL;\n  char *s = NULL;\n  GJob jobs[2][conf.jobs];\n  pthread_t threads[conf.jobs];\n\n  glog->bytes = 0;\n\n  init_jobs (jobs, glog, dry_run, test);\n\n  b = 0;\n  while (1) {   /* b = 0 or 1 */\n    read_lines_from_file (fh, glog, jobs, b, &s);\n\n    /* if nothing was read from the log, skip it for now */\n    if (!glog->bytes) {\n      test = 0;\n      break;\n    }\n\n    if (conf.jobs == 1) {\n      read_lines_thread (&jobs[b][0]);\n    } else {\n      for (k = 0; k < conf.jobs; k++) {\n        jobs[b][k].running = 1;\n        pthread_create (&threads[k], NULL, read_lines_thread, (void *) &jobs[b][k]);\n      }\n    }\n\n    /* flip from block A/B to B/A */\n    if (conf.jobs > 1)\n      b = b ^ 1;\n\n    process_lines (jobs, &cnt, &test, b);\n\n    /* flip from block B/A to A/B */\n    if (conf.jobs > 1)\n      b = b ^ 1;\n\n    if (conf.jobs > 1) {\n      for (k = 0; k < conf.jobs; k++) {\n        if (jobs[b][k].running) {\n          pthread_join (threads[k], &status);\n          jobs[b][k].running = 0;\n        }\n      }\n    }\n\n    if (dry_run && cnt >= NUM_TESTS)\n      break;\n\n    /* handle SIGINT */\n    if (conf.stop_processing)\n      break;\n\n    /* check for EOF */\n    if (s == NULL)\n      break;\n\n    /* flip from block A/B to B/A */\n    if (conf.jobs > 1)\n      b = b ^ 1;\n  }             // while (1)\n\n  /* After eof, process last data */\n  for (b = 0; b < 2; b++) {\n    for (k = 0; k < conf.jobs; k++) {\n      if (conf.jobs > 1 && jobs[b][k].running) {\n        pthread_join (threads[k], &status);\n        jobs[b][k].running = 0;\n      }\n\n      if (jobs[b][k].p) {\n        process_lines_thread (&jobs[b][k]);\n        cnt += jobs[b][k].cnt;\n        jobs[b][k].cnt = 0;\n        test &= jobs[b][k].test;\n        jobs[b][k].p = 0;\n      }\n    }\n  }\n\n  free_jobs (jobs);\n\n  /* if no data was available to read from (probably from a pipe) and still in\n   * test mode and still below the test count, we simply return until data\n   * becomes available */\n  if (!s && (errno == EAGAIN || errno == EWOULDBLOCK) && test && cnt < conf.num_tests)\n    return 0;\n\n  return test;\n}\n\n/* Read the given log file and attempt to mmap a fixed number of bytes so we\n * can compare its content on future runs.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nset_initial_persisted_data (GLog *glog, GFileHandle *fh, const char *fn) {\n  size_t len;\n  time_t now = time (0);\n\n  /* reset the snippet */\n  memset (glog->snippet, 0, sizeof (glog->snippet));\n  glog->snippetlen = 0;\n\n  if (glog->props.size == 0)\n    return 1;\n\n  len = MIN (glog->props.size, READ_BYTES);\n  if ((gfile_read (glog->snippet, len, 1, fh)) != 1 && gfile_error (fh))\n    FATAL (\"Unable to read the specified log file '%s'\", fn);\n\n  glog->snippetlen = len;\n  localtime_r (&now, &glog->start_time);\n  gfile_seek (fh, 0, SEEK_SET);\n\n  return 0;\n}\n\nstatic void\npersist_last_parse (GLog *glog) {\n  /* insert last parsed data for the recently file parsed */\n  if (glog->props.inode && glog->props.size) {\n    glog->lp.line = glog->read;\n    glog->lp.snippetlen = glog->snippetlen;\n\n    memcpy (glog->lp.snippet, glog->snippet, glog->snippetlen);\n\n    ht_insert_last_parse (glog->props.inode, &glog->lp);\n  }\n  /* probably from a pipe */\n  else if (!glog->props.inode) {\n    ht_insert_last_parse (0, &glog->lp);\n  }\n}\n\n/* Read the given log line by line and process its data.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nread_log (GLog *glog, int dry_run) {\n  GFileHandle *fh = NULL;\n  int piping = 0;\n  struct stat fdstat;\n\n  /* Reset stop_processing flag for new parse attempt */\n  atomic_store (&conf.stop_processing, 0);\n\n  /* Ensure we have a valid pipe to read from stdin. Only checking for\n   * conf.read_stdin without verifying for a valid FILE pointer would certainly\n   * lead to issues. */\n  if (glog->props.filename[0] == '-' && glog->props.filename[1] == '\\0' && glog->pipe) {\n    /* For stdin pipe, we need to wrap the FILE* into a GFileHandle */\n    fh = calloc (1, sizeof (GFileHandle));\n    if (!fh)\n      FATAL (\"Unable to allocate memory for file handle\");\n    fh->fp = glog->pipe;\n#ifdef HAVE_ZLIB\n    fh->is_gzipped = 0;\n    fh->gzfp = NULL;\n#endif\n    glog->piping = piping = 1;\n  }\n  /* make sure we can open the log (if not reading from stdin) */\n  else if (!piping && (fh = gfile_open (glog->props.filename, \"r\")) == NULL)\n    FATAL (\"Unable to open the specified log file '%s'. %s\", glog->props.filename,\n           strerror (errno));\n\n  /* grab the inode of the file being parsed */\n  if (!piping && stat (glog->props.filename, &fdstat) == 0) {\n    glog->props.inode = fdstat.st_ino;\n    glog->props.size = glog->lp.size = fdstat.st_size;\n    set_initial_persisted_data (glog, fh, glog->props.filename);\n  }\n\n  /* read line by line */\n  if (read_lines (fh, glog, dry_run)) {\n    if (!piping)\n      gfile_close (fh);\n    else\n      free (fh); /* Just free the wrapper, don't close the pipe */\n    return 1;\n  }\n\n  persist_last_parse (glog);\n\n  /* close log file if not a pipe */\n  if (!piping)\n    gfile_close (fh);\n  else\n    free (fh);  /* Just free the wrapper, don't close the pipe */\n\n  return 0;\n}\n\nstatic void\nset_log_processing (Logs *logs, GLog *glog) {\n  lock_spinner ();\n  logs->processed = &(glog->processed);\n  logs->filename = glog->props.filename;\n  unlock_spinner ();\n}\n\n/* Entry point to parse the log line by line.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nparse_log (Logs *logs, int dry_run) {\n  GLog *glog = NULL;\n  const char *err_log = NULL;\n  int idx;\n\n  /* verify that we have the required formats */\n  if ((err_log = verify_formats ()))\n    FATAL (\"%s\", err_log);\n\n  /* no data piped, no logs passed, load from disk only then */\n  if (conf.restore && !logs->restored)\n    logs->restored = rebuild_rawdata_cache ();\n\n  /* no data piped, no logs passed, load from disk only then */\n  if (conf.restore && !conf.filenames_idx && !conf.read_stdin) {\n    logs->load_from_disk_only = 1;\n    return 0;\n  }\n\n  for (idx = 0; idx < logs->size; ++idx) {\n    glog = &logs->glog[idx];\n    set_log_processing (logs, glog);\n\n    if (read_log (glog, dry_run))\n      return 1;\n\n    glog->length = glog->bytes;\n  }\n\n  return 0;\n}\n\n/* Ensure we have valid hits\n *\n * On error, an array of pointers containing the error strings.\n * On success, NULL is returned. */\nchar **\ntest_format (Logs *logs, int *len) {\n  char **errors = NULL;\n  GLog *glog = NULL;\n  int i;\n\n  if (parse_log (logs, 1) == 0)\n    return NULL;\n\n  for (i = 0; i < logs->size; ++i) {\n    glog = &logs->glog[i];\n    if (!glog->log_erridx)\n      continue;\n    break;\n  }\n\n  errors = xcalloc (glog->log_erridx, sizeof (char *));\n  *len = glog->log_erridx;\n  for (i = 0; i < glog->log_erridx; ++i)\n    errors[i] = xstrdup (glog->errors[i]);\n  free_logerrors (glog);\n\n  return errors;\n}\n"
  },
  {
    "path": "src/parser.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef PARSER_H_INCLUDED\n#define PARSER_H_INCLUDED\n\n#define KEY_FOUND       1\n#define KEY_NOT_FOUND  -1\n#define LINE_BUFFER     4096 /* read at most this num of chars */\n#define NUM_TESTS       20 /* test this many lines from the log */\n#define MAX_LOG_ERRORS  20\n#define READ_BYTES      4096u\n#define MAX_BATCH_LINES 8192u /* max number of lines to read per batch before a reflow */\n#define MAX_MIME_OUT    256\n\n#define LINE_LEN          23\n#define ERROR_LEN        255\n#define REF_SITE_LEN     511 /* maximum length of a referring site */\n#define CACHE_STATUS_LEN   7\n#define HASH_HEX          64\n\n#define ERR_SPEC_TOKN_NUL          0x1\n#define ERR_SPEC_TOKN_INV          0x2\n#define ERR_SPEC_SFMT_MIS          0x3\n#define ERR_SPEC_LINE_INV          0x4\n#define ERR_LOG_NOT_FOUND          0x5\n#define ERR_LOG_REALLOC_FAILURE    0x6\n\n\n#include <stdio.h>\n#include <stdatomic.h>\n#include <pthread.h>\n\n#include \"commons.h\"\n#include \"gslist.h\"\n#include \"fileio.h\"\n\ntypedef struct GLogProp_ {\n  char *filename;               /* filename including path */\n  char *fname;                  /* basename(filename) */\n  uint64_t inode;               /* inode of the log */\n  uint64_t size;                /* original size of log */\n} GLogProp;\n\n/* Log properties. Note: This is per line parsed */\ntypedef struct GLogItem_ {\n  char *agent;\n  char *browser;\n  char *browser_type;\n  char *continent;\n  char *country;\n  char *city;\n  char *asn;\n  char *date;\n  char *host;\n  char *keyphrase;\n  char *method;\n  char *os;\n  char *os_type;\n  char *protocol;\n  char *qstr;\n  char *ref;\n  char *req;\n  char *req_key;\n  int status;\n  char *time;\n  char *uniq_key;\n  char *vhost;\n  char *userid;\n  char *cache_status;\n\n  char site[REF_SITE_LEN + 1];\n  char agent_hex[HASH_HEX];\n\n  uint64_t resp_size;\n  uint64_t serve_time;\n\n  uint32_t numdate;\n  uint32_t agent_hash;\n  int ignorelevel;\n  int type_ip;\n  int is_404;\n  int is_static;\n  int uniq_nkey;\n  int agent_nkey;\n\n  /* UMS */\n  char *mime_type;\n  char *tls_type;\n  char *tls_cypher;\n  char *tls_type_cypher;\n\n  char *errstr;\n  struct tm dt;\n} GLogItem;\n\ntypedef struct GLastParse_ {\n  uint32_t line;\n  int64_t ts;\n  uint64_t size;\n  uint16_t snippetlen;\n  char snippet[READ_BYTES + 1];\n} GLastParse;\n\n/* Overall parsed log properties */\ntypedef struct GLog_ {\n  uint8_t piping:1;\n  _Atomic uint8_t log_erridx;\n  _Atomic uint32_t read;        /* lines read/parsed */\n  uint64_t bytes;               /* bytes read on each iteration */\n  uint64_t length;              /* length read from the log so far */\n  _Atomic uint64_t invalid;     /* invalid lines for this log */\n  uint64_t processed;           /* lines proceeded for this log */\n\n  uint16_t snippetlen;\n  char snippet[READ_BYTES + 1];\n  GLastParse lp;\n  GLogProp props;\n  struct tm start_time;\n  char *fname_as_vhost;\n  char **errors;\n  FILE *pipe;\n  pthread_mutex_t error_mutex;  // Add mutex for error array\n} GLog;\n\n/* Container for all logs */\ntypedef struct Logs_ {\n  uint8_t restored:1;\n  uint8_t load_from_disk_only:1;\n  uint64_t *processed;\n  uint64_t offset;\n  int size;                     /* num items */\n  int idx;\n  char *filename;\n  GLog *glog;\n} Logs;\n\n/* Pthread jobs for multi-thread */\ntypedef struct GJob_ {\n  _Atomic uint32_t cnt;         // Make atomic\n  int p, test, dry_run, running;\n  GLog *glog;\n  GLogItem **logitems;\n  char **lines;\n} GJob;\n\n/* Raw data field type */\ntypedef enum {\n  U32,\n  STR\n} datatype;\n\n/* Raw Data extracted from table stores */\ntypedef struct GRawDataItem_ {\n  uint32_t nkey;\n  union {\n    const char *data;\n    uint32_t hits;\n  };\n} GRawDataItem;\n\n/* Raw Data per module */\ntypedef struct GRawData_ {\n  GRawDataItem *items;          /* data */\n  GModule module;               /* current module */\n  datatype type;\n  int idx;                      /* first level index */\n  int size;                     /* total num of items on ht */\n} GRawData;\n\n\nchar *extract_by_delim (const char **str, const char *end);\nchar *gfile_getline (GFileHandle * fh);\nchar **test_format (Logs * logs, int *len);\nint parse_line (GLog * glog, char *line, int dry_run, GLogItem ** logitem_out);\nint parse_log (Logs * logs, int dry_run);\nint set_glog (Logs * logs, const char *filename);\nint set_initial_persisted_data (GLog * glog, GFileHandle * fh, const char *fn);\nint set_log (Logs * logs, const char *value);\nvoid free_glog (GLogItem * logitem);\nvoid free_logerrors (GLog * glog);\nvoid free_logs (Logs * logs);\nvoid free_raw_data (GRawData * raw_data);\nvoid output_logerrors (void);\nvoid *process_lines_thread (void *arg);\nvoid reset_struct (Logs * logs);\n\nGLogItem *init_log_item (GLog * glog);\nGRawDataItem *new_grawdata_item (unsigned int size);\nGRawData *new_grawdata (void);\nLogs *init_logs (int size);\nLogs *new_logs (int size);\n\n#endif\n"
  },
  {
    "path": "src/pdjson.c",
    "content": "/**\n * Public Domain JSON Parser for C\n * By Christopher Wellons\n * https://github.com/skeeto/pdjson */\n\n#ifndef _POSIX_C_SOURCE\n#  define _POSIX_C_SOURCE 200112L\n#elif _POSIX_C_SOURCE < 200112L\n#  error incompatible _POSIX_C_SOURCE level\n#endif\n\n#include <stdlib.h>\n#include <string.h>\n#include <ctype.h>\n\n#ifndef PDJSON_H\n#  include \"pdjson.h\"\n#endif\n\n#define JSON_FLAG_ERROR      (1u << 0)\n#define JSON_FLAG_STREAMING  (1u << 1)\n\n#if defined(_MSC_VER) && (_MSC_VER < 1900)\n\n#define json_error(json, format, ...)                             \\\n    if (!(json->flags & JSON_FLAG_ERROR)) {                       \\\n        json->flags |= JSON_FLAG_ERROR;                           \\\n        _snprintf_s(json->errmsg, sizeof(json->errmsg),           \\\n                 _TRUNCATE,                                       \\\n                 format,                                          \\\n                 __VA_ARGS__);                                    \\\n    }                                                             \\\n\n#else\n\n#define json_error(json, format, ...)                             \\\n    if (!(json->flags & JSON_FLAG_ERROR)) {                       \\\n        json->flags |= JSON_FLAG_ERROR;                           \\\n        snprintf(json->errmsg, sizeof(json->errmsg),              \\\n                 format,                                          \\\n                 __VA_ARGS__);                                    \\\n    }                                                             \\\n\n#endif /* _MSC_VER */\n\n/* See also PDJSON_STACK_MAX below. */\n#ifndef PDJSON_STACK_INC\n#  define PDJSON_STACK_INC 4\n#endif\n\nstruct json_stack {\n  enum json_type type;\n  long count;\n};\n\nstatic enum json_type\npush (json_stream *json, enum json_type type) {\n  json->stack_top++;\n\n#ifdef PDJSON_STACK_MAX\n  if (json->stack_top > PDJSON_STACK_MAX) {\n    json_error (json, \"%s\", \"maximum depth of nesting reached\");\n    return JSON_ERROR;\n  }\n#endif\n\n  if (json->stack_top >= json->stack_size) {\n    struct json_stack *stack;\n    size_t size = (json->stack_size + PDJSON_STACK_INC) * sizeof (*json->stack);\n    stack = (struct json_stack *) json->alloc.realloc (json->stack, size);\n    if (stack == NULL) {\n      json_error (json, \"%s\", \"out of memory\");\n      return JSON_ERROR;\n    }\n\n    json->stack_size += PDJSON_STACK_INC;\n    json->stack = stack;\n  }\n\n  json->stack[json->stack_top].type = type;\n  json->stack[json->stack_top].count = 0;\n\n  return type;\n}\n\nstatic enum json_type\npop (json_stream *json, int c, enum json_type expected) {\n  if (json->stack == NULL || json->stack[json->stack_top].type != expected) {\n    json_error (json, \"unexpected byte '%c'\", c);\n    return JSON_ERROR;\n  }\n  json->stack_top--;\n  return expected == JSON_ARRAY ? JSON_ARRAY_END : JSON_OBJECT_END;\n}\n\nstatic int\nbuffer_peek (struct json_source *source) {\n  if (source->position < source->source.buffer.length)\n    return source->source.buffer.buffer[source->position];\n  else\n    return EOF;\n}\n\nstatic int\nbuffer_get (struct json_source *source) {\n  int c = source->peek (source);\n  source->position++;\n  return c;\n}\n\nstatic int\nstream_get (struct json_source *source) {\n  source->position++;\n  return fgetc (source->source.stream.stream);\n}\n\nstatic int\nstream_peek (struct json_source *source) {\n  int c = fgetc (source->source.stream.stream);\n  ungetc (c, source->source.stream.stream);\n  return c;\n}\n\nstatic void\ninit (json_stream *json) {\n  json->lineno = 1;\n  json->flags = JSON_FLAG_STREAMING;\n  json->errmsg[0] = '\\0';\n  json->ntokens = 0;\n  json->next = (enum json_type) 0;\n\n  json->stack = NULL;\n  json->stack_top = (size_t) -1;\n  json->stack_size = 0;\n\n  json->data.string = NULL;\n  json->data.string_size = 0;\n  json->data.string_fill = 0;\n  json->source.position = 0;\n\n  json->alloc.malloc = malloc;\n  json->alloc.realloc = realloc;\n  json->alloc.free = free;\n}\n\nstatic enum json_type\nis_match (json_stream *json, const char *pattern, enum json_type type) {\n  int c;\n  const char *p = NULL;\n  for (p = pattern; *p; p++) {\n    if (*p != (c = json->source.get (&json->source))) {\n      json_error (json, \"expected '%c' instead of byte '%c'\", *p, c);\n      return JSON_ERROR;\n    }\n  }\n  return type;\n}\n\nstatic int\npushchar (json_stream *json, int c) {\n  if (json->data.string_fill == json->data.string_size) {\n    size_t size = json->data.string_size * 2;\n    char *buffer = (char *) json->alloc.realloc (json->data.string, size);\n    if (buffer == NULL) {\n      json_error (json, \"%s\", \"out of memory\");\n      return -1;\n    } else {\n      json->data.string_size = size;\n      json->data.string = buffer;\n    }\n  }\n  json->data.string[json->data.string_fill++] = c;\n  return 0;\n}\n\nstatic int\ninit_string (json_stream *json) {\n  json->data.string_fill = 0;\n  if (json->data.string == NULL) {\n    json->data.string_size = 1024;\n    json->data.string = (char *) json->alloc.malloc (json->data.string_size);\n    if (json->data.string == NULL) {\n      json_error (json, \"%s\", \"out of memory\");\n      return -1;\n    }\n  }\n  json->data.string[0] = '\\0';\n  return 0;\n}\n\nstatic int\nencode_utf8 (json_stream *json, unsigned long c) {\n  if (c < 0x80UL) {\n    return pushchar (json, c);\n  } else if (c < 0x0800UL) {\n    return !((pushchar (json, (c >> 6 & 0x1F) | 0xC0) == 0) &&\n             (pushchar (json, (c >> 0 & 0x3F) | 0x80) == 0));\n  } else if (c < 0x010000UL) {\n    if (c >= 0xd800 && c <= 0xdfff) {\n      json_error (json, \"invalid codepoint %06lx\", c);\n      return -1;\n    }\n    return !((pushchar (json, (c >> 12 & 0x0F) | 0xE0) == 0) &&\n             (pushchar (json, (c >> 6 & 0x3F) | 0x80) == 0) &&\n             (pushchar (json, (c >> 0 & 0x3F) | 0x80) == 0));\n  } else if (c < 0x110000UL) {\n    return !((pushchar (json, (c >> 18 & 0x07) | 0xF0) == 0) &&\n             (pushchar (json, (c >> 12 & 0x3F) | 0x80) == 0) &&\n             (pushchar (json, (c >> 6 & 0x3F) | 0x80) == 0) &&\n             (pushchar (json, (c >> 0 & 0x3F) | 0x80) == 0));\n  } else {\n    json_error (json, \"unable to encode %06lx as UTF-8\", c);\n    return -1;\n  }\n}\n\nstatic int\nhexchar (int c) {\n  switch (c) {\n  case '0':\n    return 0;\n  case '1':\n    return 1;\n  case '2':\n    return 2;\n  case '3':\n    return 3;\n  case '4':\n    return 4;\n  case '5':\n    return 5;\n  case '6':\n    return 6;\n  case '7':\n    return 7;\n  case '8':\n    return 8;\n  case '9':\n    return 9;\n  case 'a':\n  case 'A':\n    return 10;\n  case 'b':\n  case 'B':\n    return 11;\n  case 'c':\n  case 'C':\n    return 12;\n  case 'd':\n  case 'D':\n    return 13;\n  case 'e':\n  case 'E':\n    return 14;\n  case 'f':\n  case 'F':\n    return 15;\n  default:\n    return -1;\n  }\n}\n\nstatic long\nread_unicode_cp (json_stream *json) {\n  long cp = 0;\n  int shift = 12;\n  size_t i = 0;\n\n  for (i = 0; i < 4; i++) {\n    int c = json->source.get (&json->source);\n    int hc;\n\n    if (c == EOF) {\n      json_error (json, \"%s\", \"unterminated string literal in Unicode\");\n      return -1;\n    } else if ((hc = hexchar (c)) == -1) {\n      json_error (json, \"invalid escape Unicode byte '%c'\", c);\n      return -1;\n    }\n\n    cp += hc * (1 << shift);\n    shift -= 4;\n  }\n\n\n  return cp;\n}\n\nstatic int\nread_unicode (json_stream *json) {\n  long cp, h, l;\n  int c;\n\n  if ((cp = read_unicode_cp (json)) == -1) {\n    return -1;\n  }\n\n  if (cp >= 0xd800 && cp <= 0xdbff) {\n    /* This is the high portion of a surrogate pair; we need to read the\n     * lower portion to get the codepoint\n     */\n    h = cp;\n\n    c = json->source.get (&json->source);\n    if (c == EOF) {\n      json_error (json, \"%s\", \"unterminated string literal in Unicode\");\n      return -1;\n    } else if (c != '\\\\') {\n      json_error (json, \"invalid continuation for surrogate pair '%c', \" \"expected '\\\\'\", c);\n      return -1;\n    }\n\n    c = json->source.get (&json->source);\n    if (c == EOF) {\n      json_error (json, \"%s\", \"unterminated string literal in Unicode\");\n      return -1;\n    } else if (c != 'u') {\n      json_error (json, \"invalid continuation for surrogate pair '%c', \" \"expected 'u'\", c);\n      return -1;\n    }\n\n    if ((l = read_unicode_cp (json)) == -1) {\n      return -1;\n    }\n\n    if (l < 0xdc00 || l > 0xdfff) {\n      json_error (json, \"surrogate pair continuation \\\\u%04lx out \" \"of range (dc00-dfff)\", l);\n      return -1;\n    }\n\n    cp = ((h - 0xd800) * 0x400) + ((l - 0xdc00) + 0x10000);\n  } else if (cp >= 0xdc00 && cp <= 0xdfff) {\n    json_error (json, \"dangling surrogate \\\\u%04lx\", cp);\n    return -1;\n  }\n\n  return encode_utf8 (json, cp);\n}\n\nstatic int\nread_escaped (json_stream *json) {\n  int c = json->source.get (&json->source);\n  if (c == EOF) {\n    json_error (json, \"%s\", \"unterminated string literal in escape\");\n    return -1;\n  } else if (c == 'u') {\n    if (read_unicode (json) != 0)\n      return -1;\n  } else {\n    switch (c) {\n    case '\\\\':\n    case 'b':\n    case 'f':\n    case 'n':\n    case 'r':\n    case 't':\n    case '/':\n    case '\"':\n      {\n        const char *codes = \"\\\\bfnrt/\\\"\";\n        const char *p = strchr (codes, c);\n        if (pushchar (json, \"\\\\\\b\\f\\n\\r\\t/\\\"\"[p - codes]) != 0)\n          return -1;\n      }\n      break;\n    default:\n      json_error (json, \"invalid escaped byte '%c'\", c);\n      return -1;\n    }\n  }\n  return 0;\n}\n\nstatic int\nchar_needs_escaping (int c) {\n  if ((c >= 0) && (c < 0x20 || c == 0x22 || c == 0x5c)) {\n    return 1;\n  }\n\n  return 0;\n}\n\nstatic int\nutf8_seq_length (char byte) {\n  unsigned char u = (unsigned char) byte;\n  if (u < 0x80)\n    return 1;\n\n  if (0x80 <= u && u <= 0xBF) {\n    // second, third or fourth byte of a multi-byte\n    // sequence, i.e. a \"continuation byte\"\n    return 0;\n  } else if (u == 0xC0 || u == 0xC1) {\n    // overlong encoding of an ASCII byte\n    return 0;\n  } else if (0xC2 <= u && u <= 0xDF) {\n    // 2-byte sequence\n    return 2;\n  } else if (0xE0 <= u && u <= 0xEF) {\n    // 3-byte sequence\n    return 3;\n  } else if (0xF0 <= u && u <= 0xF4) {\n    // 4-byte sequence\n    return 4;\n  } else {\n    // u >= 0xF5\n    // Restricted (start of 4-, 5- or 6-byte sequence) or invalid UTF-8\n    return 0;\n  }\n}\n\nstatic int\nis_legal_utf8 (const unsigned char *bytes, int length) {\n  unsigned char a;\n  const unsigned char *srcptr;\n\n  if (0 == bytes || 0 == length)\n    return 0;\n\n  srcptr = bytes + length;\n  switch (length) {\n  default:\n    return 0;\n    // Everything else falls through when true.\n  case 4:\n    if ((a = (*--srcptr)) < 0x80 || a > 0xBF)\n      return 0;\n    /* FALLTHRU */\n  case 3:\n    if ((a = (*--srcptr)) < 0x80 || a > 0xBF)\n      return 0;\n    /* FALLTHRU */\n  case 2:\n    a = (*--srcptr);\n    switch (*bytes) {\n    case 0xE0:\n      if (a < 0xA0 || a > 0xBF)\n        return 0;\n      break;\n    case 0xED:\n      if (a < 0x80 || a > 0x9F)\n        return 0;\n      break;\n    case 0xF0:\n      if (a < 0x90 || a > 0xBF)\n        return 0;\n      break;\n    case 0xF4:\n      if (a < 0x80 || a > 0x8F)\n        return 0;\n      break;\n    default:\n      if (a < 0x80 || a > 0xBF)\n        return 0;\n      break;\n    }\n    /* FALLTHRU */\n  case 1:\n    if (*bytes >= 0x80 && *bytes < 0xC2)\n      return 0;\n  }\n  return *bytes <= 0xF4;\n}\n\nstatic int\nread_utf8 (json_stream *json, int next_char) {\n  int i;\n  char buffer[4];\n  int count = utf8_seq_length (next_char);\n  if (!count) {\n    json_error (json, \"%s\", \"invalid UTF-8 character\");\n    return -1;\n  }\n\n  buffer[0] = next_char;\n  for (i = 1; i < count; ++i) {\n    buffer[i] = json->source.get (&json->source);\n  }\n\n  if (!is_legal_utf8 ((unsigned char *) buffer, count)) {\n    json_error (json, \"%s\", \"invalid UTF-8 text\");\n    return -1;\n  }\n\n  for (i = 0; i < count; ++i) {\n    if (pushchar (json, buffer[i]) != 0)\n      return -1;\n  }\n  return 0;\n}\n\nstatic enum json_type\nread_string (json_stream *json) {\n  if (init_string (json) != 0)\n    return JSON_ERROR;\n  while (1) {\n    int c = json->source.get (&json->source);\n    if (c == EOF) {\n      json_error (json, \"%s\", \"unterminated string literal\");\n      return JSON_ERROR;\n    } else if (c == '\"') {\n      if (pushchar (json, '\\0') == 0)\n        return JSON_STRING;\n      else\n        return JSON_ERROR;\n    } else if (c == '\\\\') {\n      if (read_escaped (json) != 0)\n        return JSON_ERROR;\n    } else if ((unsigned) c >= 0x80) {\n      if (read_utf8 (json, c) != 0)\n        return JSON_ERROR;\n    } else {\n      if (char_needs_escaping (c)) {\n        json_error (json, \"%s\", \"unescaped control character in string\");\n        return JSON_ERROR;\n      }\n\n      if (pushchar (json, c) != 0)\n        return JSON_ERROR;\n    }\n  }\n  return JSON_ERROR;\n}\n\nstatic int\nis_digit (int c) {\n  return c >= 48 /*0 */  && c <= 57 /*9 */ ;\n}\n\nstatic int\nread_digits (json_stream *json) {\n  int c;\n  unsigned nread = 0;\n  while (is_digit (c = json->source.peek (&json->source))) {\n    if (pushchar (json, json->source.get (&json->source)) != 0)\n      return -1;\n\n    nread++;\n  }\n\n  if (nread == 0) {\n    json_error (json, \"expected digit instead of byte '%c'\", c);\n    return -1;\n  }\n\n  return 0;\n}\n\nstatic enum json_type\nread_number (json_stream *json, int c) {\n  if (pushchar (json, c) != 0)\n    return JSON_ERROR;\n  if (c == '-') {\n    c = json->source.get (&json->source);\n    if (is_digit (c)) {\n      return read_number (json, c);\n    } else {\n      json_error (json, \"unexpected byte '%c' in number\", c);\n      return JSON_ERROR;\n    }\n  } else if (strchr (\"123456789\", c) != NULL) {\n    c = json->source.peek (&json->source);\n    if (is_digit (c)) {\n      if (read_digits (json) != 0)\n        return JSON_ERROR;\n    }\n  }\n  /* Up to decimal or exponent has been read. */\n  c = json->source.peek (&json->source);\n  if (strchr (\".eE\", c) == NULL) {\n    if (pushchar (json, '\\0') != 0)\n      return JSON_ERROR;\n    else\n      return JSON_NUMBER;\n  }\n  if (c == '.') {\n    json->source.get (&json->source); // consume .\n    if (pushchar (json, c) != 0)\n      return JSON_ERROR;\n    if (read_digits (json) != 0)\n      return JSON_ERROR;\n  }\n  /* Check for exponent. */\n  c = json->source.peek (&json->source);\n  if (c == 'e' || c == 'E') {\n    json->source.get (&json->source); // consume e/E\n    if (pushchar (json, c) != 0)\n      return JSON_ERROR;\n    c = json->source.peek (&json->source);\n    if (c == '+' || c == '-') {\n      json->source.get (&json->source); // consume\n      if (pushchar (json, c) != 0)\n        return JSON_ERROR;\n      if (read_digits (json) != 0)\n        return JSON_ERROR;\n    } else if (is_digit (c)) {\n      if (read_digits (json) != 0)\n        return JSON_ERROR;\n    } else {\n      json_error (json, \"unexpected byte '%c' in number\", c);\n      return JSON_ERROR;\n    }\n  }\n  if (pushchar (json, '\\0') != 0)\n    return JSON_ERROR;\n  else\n    return JSON_NUMBER;\n}\n\nbool\njson_isspace (int c) {\n  switch (c) {\n  case 0x09:\n  case 0x0a:\n  case 0x0d:\n  case 0x20:\n    return true;\n  }\n\n  return false;\n}\n\n/* Returns the next non-whitespace character in the stream. */\nstatic int\nnext (json_stream *json) {\n  int c;\n  while (json_isspace (c = json->source.get (&json->source)))\n    if (c == '\\n')\n      json->lineno++;\n  return c;\n}\n\nstatic enum json_type\nread_value (json_stream *json, int c) {\n  json->ntokens++;\n  switch (c) {\n  case EOF:\n    json_error (json, \"%s\", \"unexpected end of text\");\n    return JSON_ERROR;\n  case '{':\n    return push (json, JSON_OBJECT);\n  case '[':\n    return push (json, JSON_ARRAY);\n  case '\"':\n    return read_string (json);\n  case 'n':\n    return is_match (json, \"ull\", JSON_NULL);\n  case 'f':\n    return is_match (json, \"alse\", JSON_FALSE);\n  case 't':\n    return is_match (json, \"rue\", JSON_TRUE);\n  case '0':\n  case '1':\n  case '2':\n  case '3':\n  case '4':\n  case '5':\n  case '6':\n  case '7':\n  case '8':\n  case '9':\n  case '-':\n    if (init_string (json) != 0)\n      return JSON_ERROR;\n    return read_number (json, c);\n  default:\n    json_error (json, \"unexpected byte '%c' in value\", c);\n    return JSON_ERROR;\n  }\n}\n\nenum json_type\njson_peek (json_stream *json) {\n  enum json_type next;\n  if (json->next)\n    next = json->next;\n  else\n    next = json->next = json_next (json);\n  return next;\n}\n\nenum json_type\njson_next (json_stream *json) {\n  int c;\n  enum json_type value;\n  if (json->flags & JSON_FLAG_ERROR)\n    return JSON_ERROR;\n  if (json->next != 0) {\n    enum json_type next = json->next;\n    json->next = (enum json_type) 0;\n    return next;\n  }\n  if (json->ntokens > 0 && json->stack_top == (size_t) -1) {\n\n    /* In the streaming mode leave any trailing whitespaces in the stream.\n     * This allows the user to validate any desired separation between\n     * values (such as newlines) using json_source_get/peek() with any\n     * remaining whitespaces ignored as leading when we parse the next\n     * value. */\n    if (!(json->flags & JSON_FLAG_STREAMING)) {\n      do {\n        c = json->source.peek (&json->source);\n        if (json_isspace (c)) {\n          c = json->source.get (&json->source);\n        }\n      } while (json_isspace (c));\n\n      if (c != EOF) {\n        json_error (json, \"expected end of text instead of byte '%c'\", c);\n        return JSON_ERROR;\n      }\n    }\n\n    return JSON_DONE;\n  }\n  c = next (json);\n  if (json->stack_top == (size_t) -1) {\n    if (c == EOF && (json->flags & JSON_FLAG_STREAMING))\n      return JSON_DONE;\n\n    return read_value (json, c);\n  }\n  if (json->stack[json->stack_top].type == JSON_ARRAY) {\n    if (json->stack[json->stack_top].count == 0) {\n      if (c == ']') {\n        return pop (json, c, JSON_ARRAY);\n      }\n      json->stack[json->stack_top].count++;\n      return read_value (json, c);\n    } else if (c == ',') {\n      json->stack[json->stack_top].count++;\n      return read_value (json, next (json));\n    } else if (c == ']') {\n      return pop (json, c, JSON_ARRAY);\n    } else {\n      json_error (json, \"unexpected byte '%c'\", c);\n      return JSON_ERROR;\n    }\n  } else if (json->stack[json->stack_top].type == JSON_OBJECT) {\n    if (json->stack[json->stack_top].count == 0) {\n      if (c == '}') {\n        return pop (json, c, JSON_OBJECT);\n      }\n\n      /* No member name/value pairs yet. */\n      value = read_value (json, c);\n      if (value != JSON_STRING) {\n        if (value != JSON_ERROR)\n          json_error (json, \"%s\", \"expected member name or '}'\");\n        return JSON_ERROR;\n      } else {\n        json->stack[json->stack_top].count++;\n        return value;\n      }\n    } else if ((json->stack[json->stack_top].count % 2) == 0) {\n      /* Expecting comma followed by member name. */\n      if (c != ',' && c != '}') {\n        json_error (json, \"%s\", \"expected ',' or '}' after member value\");\n        return JSON_ERROR;\n      } else if (c == '}') {\n        return pop (json, c, JSON_OBJECT);\n      } else {\n        value = read_value (json, next (json));\n        if (value != JSON_STRING) {\n          if (value != JSON_ERROR)\n            json_error (json, \"%s\", \"expected member name\");\n          return JSON_ERROR;\n        } else {\n          json->stack[json->stack_top].count++;\n          return value;\n        }\n      }\n    } else if ((json->stack[json->stack_top].count % 2) == 1) {\n      /* Expecting colon followed by value. */\n      if (c != ':') {\n        json_error (json, \"%s\", \"expected ':' after member name\");\n        return JSON_ERROR;\n      } else {\n        json->stack[json->stack_top].count++;\n        return read_value (json, next (json));\n      }\n    }\n  }\n  json_error (json, \"%s\", \"invalid parser state\");\n  return JSON_ERROR;\n}\n\nvoid\njson_reset (json_stream *json) {\n  json->stack_top = -1;\n  json->ntokens = 0;\n  json->flags &= ~JSON_FLAG_ERROR;\n  json->errmsg[0] = '\\0';\n}\n\nenum json_type\njson_skip (json_stream *json) {\n  enum json_type type = json_next (json);\n  size_t cnt_arr = 0;\n  size_t cnt_obj = 0;\n  enum json_type skip;\n\n  for (skip = type;; skip = json_next (json)) {\n    if (skip == JSON_ERROR || skip == JSON_DONE)\n      return skip;\n\n    if (skip == JSON_ARRAY) {\n      ++cnt_arr;\n    } else if (skip == JSON_ARRAY_END && cnt_arr > 0) {\n      --cnt_arr;\n    } else if (skip == JSON_OBJECT) {\n      ++cnt_obj;\n    } else if (skip == JSON_OBJECT_END && cnt_obj > 0) {\n      --cnt_obj;\n    }\n\n    if (!cnt_arr && !cnt_obj)\n      break;\n  }\n\n  return type;\n}\n\nenum json_type\njson_skip_until (json_stream *json, enum json_type type) {\n  while (1) {\n    enum json_type skip = json_skip (json);\n\n    if (skip == JSON_ERROR || skip == JSON_DONE)\n      return skip;\n\n    if (skip == type)\n      break;\n  }\n\n  return type;\n}\n\nconst char *\njson_get_string (json_stream *json, size_t *length) {\n  if (length != NULL)\n    *length = json->data.string_fill;\n  if (json->data.string == NULL)\n    return \"\";\n  else\n    return json->data.string;\n}\n\ndouble\njson_get_number (json_stream *json) {\n  char *p = json->data.string;\n  return p == NULL ? 0 : strtod (p, NULL);\n}\n\nconst char *\njson_get_error (json_stream *json) {\n  return json->flags & JSON_FLAG_ERROR ? json->errmsg : NULL;\n}\n\nsize_t\njson_get_lineno (json_stream *json) {\n  return json->lineno;\n}\n\nsize_t\njson_get_position (json_stream *json) {\n  return json->source.position;\n}\n\nsize_t\njson_get_depth (json_stream *json) {\n  return json->stack_top + 1;\n}\n\n/* Return the current parsing context, that is, JSON_OBJECT if we are inside\n   an object, JSON_ARRAY if we are inside an array, and JSON_DONE if we are\n   not yet/anymore in either.\n\n   Additionally, for the first two cases, also return the number of parsing\n   events that have already been observed at this level with json_next/peek().\n   In particular, inside an object, an odd number would indicate that the just\n   observed JSON_STRING event is a member name.\n*/\nenum json_type\njson_get_context (json_stream *json, size_t *count) {\n  if (json->stack_top == (size_t) -1)\n    return JSON_DONE;\n\n  if (count != NULL)\n    *count = json->stack[json->stack_top].count;\n\n  return json->stack[json->stack_top].type;\n}\n\nint\njson_source_get (json_stream *json) {\n  int c = json->source.get (&json->source);\n  if (c == '\\n')\n    json->lineno++;\n  return c;\n}\n\nint\njson_source_peek (json_stream *json) {\n  return json->source.peek (&json->source);\n}\n\nvoid\njson_open_buffer (json_stream *json, const void *buffer, size_t size) {\n  init (json);\n  json->source.get = buffer_get;\n  json->source.peek = buffer_peek;\n  json->source.source.buffer.buffer = (const char *) buffer;\n  json->source.source.buffer.length = size;\n}\n\nvoid\njson_open_string (json_stream *json, const char *string) {\n  json_open_buffer (json, string, strlen (string));\n}\n\nvoid\njson_open_stream (json_stream *json, FILE *stream) {\n  init (json);\n  json->source.get = stream_get;\n  json->source.peek = stream_peek;\n  json->source.source.stream.stream = stream;\n}\n\nstatic int\nuser_get (struct json_source *json) {\n  return json->source.user.get (json->source.user.ptr);\n}\n\nstatic int\nuser_peek (struct json_source *json) {\n  return json->source.user.peek (json->source.user.ptr);\n}\n\nvoid\njson_open_user (json_stream *json, json_user_io get, json_user_io peek, void *user) {\n  init (json);\n  json->source.get = user_get;\n  json->source.peek = user_peek;\n  json->source.source.user.ptr = user;\n  json->source.source.user.get = get;\n  json->source.source.user.peek = peek;\n}\n\nvoid\njson_set_allocator (json_stream *json, json_allocator *a) {\n  json->alloc = *a;\n}\n\nvoid\njson_set_streaming (json_stream *json, bool streaming) {\n  if (streaming)\n    json->flags |= JSON_FLAG_STREAMING;\n  else\n    json->flags &= ~JSON_FLAG_STREAMING;\n}\n\nvoid\njson_close (json_stream *json) {\n  json->alloc.free (json->stack);\n  json->alloc.free (json->data.string);\n}\n"
  },
  {
    "path": "src/pdjson.h",
    "content": "#ifndef PDJSON_H\n#define PDJSON_H\n\n#ifndef PDJSON_SYMEXPORT\n#   define PDJSON_SYMEXPORT\n#endif\n\n#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)\n#include <stdbool.h>\n#else\n#ifndef bool\n#define bool int\n#define true 1\n#define false 0\n#endif /* bool */\n#endif /* __STDC_VERSION__ */\n\n#include <stdio.h>\n\nenum json_type {\n  JSON_ERROR = 1, JSON_DONE,\n  JSON_OBJECT, JSON_OBJECT_END, JSON_ARRAY, JSON_ARRAY_END,\n  JSON_STRING, JSON_NUMBER, JSON_TRUE, JSON_FALSE, JSON_NULL\n};\n\nstruct json_allocator {\n  void *(*malloc) (size_t);\n  void *(*realloc) (void *, size_t);\n  void (*free) (void *);\n};\n\ntypedef int (*json_user_io) (void *user);\n\ntypedef struct json_stream json_stream;\ntypedef struct json_allocator json_allocator;\n\nPDJSON_SYMEXPORT void json_open_buffer (json_stream * json, const void *buffer, size_t size);\nPDJSON_SYMEXPORT void json_open_string (json_stream * json, const char *string);\nPDJSON_SYMEXPORT void json_open_stream (json_stream * json, FILE * stream);\nPDJSON_SYMEXPORT void json_open_user (json_stream * json, json_user_io get, json_user_io peek,\n                                      void *user);\nPDJSON_SYMEXPORT void json_close (json_stream * json);\n\nPDJSON_SYMEXPORT void json_set_allocator (json_stream * json, json_allocator * a);\nPDJSON_SYMEXPORT void json_set_streaming (json_stream * json, bool mode);\n\nPDJSON_SYMEXPORT enum json_type json_next (json_stream * json);\nPDJSON_SYMEXPORT enum json_type json_peek (json_stream * json);\nPDJSON_SYMEXPORT void json_reset (json_stream * json);\nPDJSON_SYMEXPORT const char *json_get_string (json_stream * json, size_t *length);\nPDJSON_SYMEXPORT double json_get_number (json_stream * json);\n\nPDJSON_SYMEXPORT enum json_type json_skip (json_stream * json);\nPDJSON_SYMEXPORT enum json_type json_skip_until (json_stream * json, enum json_type type);\n\nPDJSON_SYMEXPORT size_t json_get_lineno (json_stream * json);\nPDJSON_SYMEXPORT size_t json_get_position (json_stream * json);\nPDJSON_SYMEXPORT size_t json_get_depth (json_stream * json);\nPDJSON_SYMEXPORT enum json_type json_get_context (json_stream * json, size_t *count);\nPDJSON_SYMEXPORT const char *json_get_error (json_stream * json);\n\nPDJSON_SYMEXPORT int json_source_get (json_stream * json);\nPDJSON_SYMEXPORT int json_source_peek (json_stream * json);\nPDJSON_SYMEXPORT bool json_isspace (int c);\n\n/* internal */\n\nstruct json_source {\n  int (*get) (struct json_source *);\n  int (*peek) (struct json_source *);\n  size_t position;\n  union {\n    struct {\n      FILE *stream;\n    } stream;\n    struct {\n      const char *buffer;\n      size_t length;\n    } buffer;\n    struct {\n      void *ptr;\n      json_user_io get;\n      json_user_io peek;\n    } user;\n  } source;\n};\n\nstruct json_stream {\n  size_t lineno;\n\n  struct json_stack *stack;\n  size_t stack_top;\n  size_t stack_size;\n  enum json_type next;\n  unsigned flags;\n\n  struct {\n    char *string;\n    size_t string_fill;\n    size_t string_size;\n  } data;\n\n  size_t ntokens;\n\n  struct json_source source;\n  struct json_allocator alloc;\n  char errmsg[128];\n};\n\n#endif\n"
  },
  {
    "path": "src/persistence.c",
    "content": "/**\n * persistence.c -- on-disk persistence functionality\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdio.h>\n#include <unistd.h>\n#include <errno.h>\n#include <string.h>\n#include <sys/stat.h>\n\n#include \"persistence.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"sort.h\"\n#include \"tpl.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\nstatic uint32_t *persisted_dates = NULL;\nstatic uint32_t persisted_dates_len = 0;\n\n/* Determine the path for the given database file.\n *\n * On error, a fatal error is thrown.\n * On success, the databases path string is returned. */\nstatic char *\nset_db_path (const char *fn) {\n  struct stat info;\n  char *rpath = NULL, *path = NULL;\n  const char *dbpath = NULL;\n\n  if (!conf.db_path)\n    dbpath = DB_PATH;\n  else\n    dbpath = conf.db_path;\n\n  rpath = realpath (dbpath, NULL);\n  if (rpath == NULL)\n    FATAL (\"Unable to open the specified db path/file '%s'. %s\", dbpath, strerror (errno));\n\n  /* sanity check: Is db_path accessible and a directory? */\n  if (stat (rpath, &info) != 0)\n    FATAL (\"Unable to access database path: %s\", strerror (errno));\n  else if (!(info.st_mode & S_IFDIR))\n    FATAL (\"Database path is not a directory.\");\n\n  path = xmalloc (snprintf (NULL, 0, \"%s/%s\", rpath, fn) + 1);\n  sprintf (path, \"%s/%s\", rpath, fn);\n  free (rpath);\n\n  return path;\n}\n\n/* Given a database filename, restore a string key, uint32_t value back to the\n * storage */\nstatic void\nrestore_global_si08 (khash_t (si08) *hash, const char *fn) {\n  tpl_node *tn;\n  char *key = NULL;\n  char fmt[] = \"A(sv)\";\n  uint16_t val;\n\n  tn = tpl_map (fmt, &key, &val);\n  tpl_load (tn, TPL_FILE, fn);\n  while (tpl_unpack (tn, 1) > 0) {\n    ins_si08 (hash, key, val);\n    free (key);\n  }\n  tpl_free (tn);\n}\n\n/* Given a hash and a filename, persist to disk a string key, uint32_t value */\nstatic void\npersist_global_si08 (khash_t (si08) *hash, const char *fn) {\n  tpl_node *tn;\n  khint_t k;\n  const char *key = NULL;\n  char fmt[] = \"A(sv)\";\n  uint16_t val;\n\n  if (!hash || kh_size (hash) == 0)\n    return;\n\n  tn = tpl_map (fmt, &key, &val);\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (!kh_exist (hash, k) || (!(key = kh_key (hash, k))))\n      continue;\n    val = kh_value (hash, k);\n    tpl_pack (tn, 1);\n  }\n\n  tpl_dump (tn, TPL_FILE, fn);\n  tpl_free (tn);\n}\n\n/* Given a database filename, restore a string key, uint32_t value back to the\n * storage */\nstatic void\nrestore_global_si32 (khash_t (si32) *hash, const char *fn) {\n  tpl_node *tn;\n  char *key = NULL;\n  char fmt[] = \"A(su)\";\n  uint32_t val;\n\n  tn = tpl_map (fmt, &key, &val);\n  tpl_load (tn, TPL_FILE, fn);\n  while (tpl_unpack (tn, 1) > 0) {\n    ins_si32 (hash, key, val);\n    free (key);\n  }\n  tpl_free (tn);\n}\n\n/* Given a hash and a filename, persist to disk a string key, uint32_t value */\nstatic void\npersist_global_si32 (khash_t (si32) *hash, const char *fn) {\n  tpl_node *tn;\n  khint_t k;\n  const char *key = NULL;\n  char fmt[] = \"A(su)\";\n  uint32_t val;\n\n  if (!hash || kh_size (hash) == 0)\n    return;\n\n  tn = tpl_map (fmt, &key, &val);\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (!kh_exist (hash, k) || (!(key = kh_key (hash, k))))\n      continue;\n    val = kh_value (hash, k);\n    tpl_pack (tn, 1);\n  }\n\n  tpl_dump (tn, TPL_FILE, fn);\n  tpl_free (tn);\n}\n\n/* Given a database filename, restore a uint64_t key, GLastParse value back to\n * the storage */\nstatic void\nrestore_global_iglp (khash_t (iglp) *hash, const char *fn) {\n  tpl_node *tn;\n  uint64_t key;\n  GLastParse val = { 0 };\n  char fmt[] = \"A(US(uIUvc#))\";\n\n  tn = tpl_map (fmt, &key, &val, READ_BYTES);\n  tpl_load (tn, TPL_FILE, fn);\n  while (tpl_unpack (tn, 1) > 0) {\n    ins_iglp (hash, key, &val);\n  }\n  tpl_free (tn);\n}\n\n/* Given a hash and a filename, persist to disk a uint64_t key, uint32_t value */\nstatic void\npersist_global_iglp (khash_t (iglp) *hash, const char *fn) {\n  tpl_node *tn;\n  khint_t k;\n  uint64_t key;\n  GLastParse val = { 0 };\n  char fmt[] = \"A(US(uIUvc#))\";\n\n  if (!hash || kh_size (hash) == 0)\n    return;\n\n  tn = tpl_map (fmt, &key, &val, READ_BYTES);\n  for (k = 0; k < kh_end (hash); ++k) {\n    if (!kh_exist (hash, k))\n      continue;\n    key = kh_key (hash, k);\n    val = kh_value (hash, k);\n    tpl_pack (tn, 1);\n  }\n\n  tpl_dump (tn, TPL_FILE, fn);\n  tpl_free (tn);\n}\n\n/* Given a filename, ensure we have a valid return path\n *\n * On error, NULL is returned.\n * On success, the valid path is returned */\nstatic char *\ncheck_restore_path (const char *fn) {\n  char *path = set_db_path (fn);\n  if (access (path, F_OK) != -1)\n    return path;\n\n  LOG_DEBUG ((\"DB file %s doesn't exist. %s\\n\", path, strerror (errno)));\n  free (path);\n  return NULL;\n}\n\nstatic char *\nbuild_filename (const char *type, const char *modstr, const char *mtrstr) {\n  char *fn = xmalloc (snprintf (NULL, 0, \"%s_%s_%s.db\", type, modstr, mtrstr) + 1);\n  sprintf (fn, \"%s_%s_%s.db\", type, modstr, mtrstr);\n  return fn;\n}\n\n/* Get the database filename given a module and a metric.\n *\n * On error, a fatal error is triggered.\n * On success, the filename is returned */\nstatic char *\nget_filename (GModule module, GKHashMetric mtrc) {\n  const char *mtrstr, *modstr, *type;\n  char *fn = NULL;\n\n  if (!(mtrstr = get_mtr_str (mtrc.metric.storem)))\n    FATAL (\"Unable to allocate metric name.\");\n  if (!(modstr = get_module_str (module)))\n    FATAL (\"Unable to allocate module name.\");\n  if (!(type = get_mtr_type_str (mtrc.type)))\n    FATAL (\"Unable to allocate module name.\");\n\n  fn = build_filename (type, modstr, mtrstr);\n\n  return fn;\n}\n\n/* Dump to disk the database file and frees its memory */\nstatic void\nclose_tpl (tpl_node *tn, const char *fn) {\n  tpl_dump (tn, TPL_FILE, fn);\n  tpl_free (tn);\n}\n\n/* Check if the given date can be inserted based on how many dates we need to\n * keep conf.keep_last.\n *\n * Returns -1 if it fails to insert the date.\n * Returns 1 if the date exists.\n * Returns 2 if the date shouldn't be inserted.\n * On success or if the date is inserted 0 is returned */\nstatic int\ninsert_restored_date (uint32_t date) {\n  uint32_t i, len = 0;\n\n  /* no keep last, simply insert the restored date to our storage */\n  if (!conf.keep_last || persisted_dates_len < conf.keep_last)\n    return ht_insert_date (date);\n\n  len = MIN (persisted_dates_len, conf.keep_last);\n  for (i = 0; i < len; ++i)\n    if (persisted_dates[i] == date)\n      return ht_insert_date (date);\n  return 2;\n}\n\n/* Given a database filename, restore a string key, uint32_t value back to\n * the storage */\nstatic int\nrestore_si32 (GSMetric metric, const char *path, int module) {\n  khash_t (si32) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(su))\";\n  int date = 0, ret = 0;\n  char *key = NULL;\n  uint32_t val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_si32 (hash, key, val);\n      free (key);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a database filename, restore a string key, uint32_t value back to\n * the storage */\nstatic int\nmigrate_si32_to_ii32 (GSMetric metric, const char *path, int module) {\n  khash_t (ii32) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(su))\";\n  int date = 0, ret = 0;\n  char *key = NULL;\n  uint32_t val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_ii32 (hash, djb2 ((const unsigned char *) key), val);\n      free (key);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\nstatic char *\nmigrate_unique_key (const char *key) {\n  char *nkey = NULL, *token = NULL, *ptr = NULL;\n  char agent_hex[64] = { 0 };\n  uint32_t delims = 0;\n\n  if (!key || count_matches (key, '|') < 2)\n    return NULL;\n\n  nkey = xstrdup (\"\");\n  while ((ptr = strchr (key, '|'))) {\n    if (!(token = extract_by_delim (&key, \"|\"))) {\n      free (nkey);\n      return NULL;\n    }\n\n    append_str (&nkey, token);\n    append_str (&nkey, \"|\");\n    free (token);\n    key++;\n    delims++;\n  }\n  if (delims == 2) {\n    sprintf (agent_hex, \"%\" PRIx32, djb2 ((const unsigned char *) key));\n    append_str (&nkey, agent_hex);\n  }\n\n  return nkey;\n}\n\n\n/* Given a database filename, restore a string key, uint32_t value back to\n * the storage */\nstatic int\nmigrate_si32_to_ii32_unique_keys (GSMetric metric, const char *path, int module) {\n  khash_t (si32) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(su))\";\n  int date = 0, ret = 0;\n  char *key = NULL, *nkey = NULL;\n  uint32_t val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      if ((nkey = migrate_unique_key (key)))\n        ins_si32 (hash, nkey, val);\n      free (key);\n      free (nkey);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a string key, uint32_t value */\nstatic int\npersist_si32 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n\n  khash_t (si32) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(su))\";\n  uint32_t val = 0;\n  const char *key = NULL;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint32_t key, string value back to\n * the storage */\nstatic int\nmigrate_is32_to_ii08 (GSMetric metric, const char *path, int module) {\n  khash_t (ii08) * hash = NULL;\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si08) * mtpr = get_hdb (db, MTRC_METH_PROTO);\n  tpl_node *tn;\n  char fmt[] = \"A(iA(us))\";\n  int date = 0, ret = 0;\n  uint32_t key = 0;\n  char *val = NULL;\n  khint_t k;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      k = kh_get (si08, mtpr, val);\n      /* key found, return current value */\n      if (k == kh_end (mtpr)) {\n        free (val);\n        continue;\n      }\n      ins_ii08 (hash, key, kh_val (mtpr, k));\n      free (val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint32_t key, string value back to\n * the storage */\nstatic int\nrestore_is32 (GSMetric metric, const char *path, int module) {\n  khash_t (is32) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(us))\";\n  int date = 0, ret = 0;\n  uint32_t key = 0;\n  char *val = NULL, *dupval = NULL;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      dupval = xstrdup (val);\n      if (ins_is32 (hash, key, dupval) != 0)\n        free (dupval);\n      free (val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint32_t key, string value */\nstatic int\npersist_is32 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (is32) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(us))\";\n  char *val = NULL;\n  uint32_t key = 0;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n\n/* Given a database filename, restore a uint32_t key, uint32_t value back to\n * the storage */\nstatic int\nrestore_ii08 (GSMetric metric, const char *path, int module) {\n  khash_t (ii08) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(uv))\";\n  int date = 0, ret = 0;\n  uint32_t key = 0;\n  uint16_t val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_ii08 (hash, key, val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint32_t key, uint32_t value back to\n * the storage */\nstatic int\nrestore_ii32 (GSMetric metric, const char *path, int module) {\n  khash_t (ii32) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(uu))\";\n  int date = 0, ret = 0;\n  uint32_t key = 0, val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_ii32 (hash, key, val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint32_t key, uint32_t value */\nstatic int\npersist_ii32 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (ii32) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(uu))\";\n  uint32_t key = 0, val = 0;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint32_t key, uint32_t value */\nstatic int\npersist_ii08 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (ii08) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(uv))\";\n  uint32_t key = 0;\n  uint16_t val = 0;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint64_t key, uint8_t value back to\n * the storage */\nstatic int\nrestore_u648 (GSMetric metric, const char *path, int module) {\n  khash_t (u648) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(Uv))\";\n  int date = 0, ret = 0;\n  uint64_t key;\n  uint16_t val = 0;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_u648 (hash, key, val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint64_t key, uint8_t value */\nstatic int\npersist_u648 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (u648) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(Uv))\";\n  uint64_t key;\n  uint16_t val = 0;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint32_t key, uint64_t value back to\n * the storage */\nstatic int\nrestore_iu64 (GSMetric metric, const char *path, int module) {\n  khash_t (iu64) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(uU))\";\n  int date = 0, ret = 0;\n  uint32_t key;\n  uint64_t val;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_iu64 (hash, key, val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint32_t key, uint64_t value */\nstatic int\npersist_iu64 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (iu64) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(uU))\";\n  uint32_t key;\n  uint64_t val;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a database filename, restore a string key, uint64_t value back to\n * the storage */\nstatic int\nrestore_su64 (GSMetric metric, const char *path, int module) {\n  khash_t (su64) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(sU))\";\n  int date = 0, ret = 0;\n  char *key = NULL;\n  uint64_t val;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_su64 (hash, key, val);\n      free (key);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a string key, uint64_t value */\nstatic int\npersist_su64 (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (su64) * hash = NULL;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(sU))\";\n  const char *key = NULL;\n  uint64_t val;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, val, { tpl_pack (tn, 2); });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Given a database filename, restore a uint32_t key, GSLList value back to the\n * storage */\nstatic int\nrestore_igsl (GSMetric metric, const char *path, int module) {\n  khash_t (igsl) * hash = NULL;\n  tpl_node *tn;\n  char fmt[] = \"A(iA(uu))\";\n  int date = 0, ret = 0;\n  uint32_t key, val;\n\n  if (!(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  tpl_load (tn, TPL_FILE, path);\n  while (tpl_unpack (tn, 1) > 0) {\n    if ((ret = insert_restored_date (date)) == 2)\n      continue;\n    if (ret == -1 || !(hash = get_hash (module, date, metric)))\n      break;\n\n    while (tpl_unpack (tn, 2) > 0) {\n      ins_igsl (hash, key, val);\n    }\n  }\n  tpl_free (tn);\n\n  return 0;\n}\n\n/* Given a hash and a filename, persist to disk a uint32_t key, GSLList value */\nstatic int\npersist_igsl (GSMetric metric, const char *path, int module) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (igkh) * dates = get_hdb (db, MTRC_DATES);\n  khash_t (igsl) * hash = NULL;\n  GSLList *node;\n  tpl_node *tn = NULL;\n  int date = 0;\n  char fmt[] = \"A(iA(uu))\";\n  uint32_t key, val;\n\n  if (!dates || !(tn = tpl_map (fmt, &date, &key, &val)))\n    return 1;\n\n  /* *INDENT-OFF* */\n  HT_FOREACH_KEY (dates, date, {\n    if (!(hash = get_hash (module, date, metric)))\n      return -1;\n    kh_foreach (hash, key, node, {\n      while (node) {\n        val = (*(uint32_t *) node->data);\n        node = node->next;\n      }\n      tpl_pack (tn, 2);\n    });\n    tpl_pack (tn, 1);\n  });\n  /* *INDENT-ON* */\n  close_tpl (tn, path);\n\n  return 0;\n}\n\n/* Entry function to restore hash data by type */\nstatic void\nrestore_by_type (GKHashMetric mtrc, const char *fn, int module) {\n  char *path = NULL;\n\n  if (!(path = check_restore_path (fn)))\n    goto clean;\n\n  switch (mtrc.type) {\n  case MTRC_TYPE_SI32:\n    restore_si32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IS32:\n    restore_is32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_II08:\n    restore_ii08 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_II32:\n    restore_ii32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_U648:\n    restore_u648 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IU64:\n    restore_iu64 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_SU64:\n    restore_su64 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IGSL:\n    restore_igsl (mtrc.metric.storem, path, module);\n    break;\n  default:\n    break;\n  }\nclean:\n  free (path);\n}\n\n/* Entry function to restore hash data by metric type */\nstatic void\nrestore_metric_type (GModule module, GKHashMetric mtrc) {\n  char *fn = NULL;\n\n  fn = get_filename (module, mtrc);\n  restore_by_type (mtrc, fn, module);\n  free (fn);\n}\n\nstatic int\nmigrate_metric (GModule module, GKHashMetric mtrc) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * db_props = get_hdb (db, MTRC_DB_PROPS);\n\n  int ret = 0;\n  char *fn = NULL, *path = NULL;\n  const char *modstr, *mtrstr;\n  khint_t k;\n\n  k = kh_get (si32, db_props, \"version\");\n  /* db is up-to-date, thus no need to migrate anything */\n  if (k != kh_end (db_props) && kh_val (db_props, k) == DB_VERSION)\n    return 0;\n\n  switch (mtrc.metric.storem) {\n  case MTRC_UNIQUE_KEYS:\n    if (!(path = check_restore_path (\"SI32_UNIQUE_KEYS.db\")))\n      break;\n    if (migrate_si32_to_ii32_unique_keys (mtrc.metric.storem, path, -1) != 0)\n      break;\n    unlink (path);\n    ret++;\n    break;\n  case MTRC_KEYMAP:\n    if (!(modstr = get_module_str (module)))\n      FATAL (\"Unable to allocate module name.\");\n    fn = build_filename (\"SI32\", modstr, \"MTRC_KEYMAP\");\n    if (!(path = check_restore_path (fn)))\n      break;\n    if (migrate_si32_to_ii32 (mtrc.metric.storem, path, module) != 0)\n      break;\n    unlink (path);\n    ret++;\n    break;\n  case MTRC_METHODS:\n  case MTRC_PROTOCOLS:\n    if (!(mtrstr = get_mtr_str (mtrc.metric.storem)))\n      FATAL (\"Unable to allocate metric name.\");\n    if (!(modstr = get_module_str (module)))\n      FATAL (\"Unable to allocate module name.\");\n\n    fn = build_filename (\"IS32\", modstr, mtrstr);\n    if (!(path = check_restore_path (fn)))\n      break;\n    if (migrate_is32_to_ii08 (mtrc.metric.storem, path, module) != 0)\n      break;\n    unlink (path);\n    ret++;\n    break;\n  case MTRC_AGENT_KEYS:\n    if (!(path = check_restore_path (\"SI32_AGENT_KEYS.db\")))\n      break;\n    if (migrate_si32_to_ii32 (mtrc.metric.storem, path, -1) != 0)\n      break;\n    unlink (path);\n    ret++;\n    break;\n  default:\n    break;\n  }\n\n  free (fn);\n  free (path);\n\n  return ret;\n}\n\nstatic void\npersist_by_type (GKHashMetric mtrc, const char *fn, int module) {\n  char *path = NULL;\n  path = set_db_path (fn);\n\n  switch (mtrc.type) {\n  case MTRC_TYPE_SI32:\n    persist_si32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IS32:\n    persist_is32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_II32:\n    persist_ii32 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_II08:\n    persist_ii08 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_U648:\n    persist_u648 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IU64:\n    persist_iu64 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_SU64:\n    persist_su64 (mtrc.metric.storem, path, module);\n    break;\n  case MTRC_TYPE_IGSL:\n    persist_igsl (mtrc.metric.storem, path, module);\n    break;\n  default:\n    break;\n  }\n  free (path);\n}\n\nstatic void\npersist_metric_type (GModule module, GKHashMetric mtrc) {\n  char *fn = NULL;\n  fn = get_filename (module, mtrc);\n  persist_by_type (mtrc, fn, module);\n  free (fn);\n}\n\n/* Given all the dates that we have processed, persist to disk a copy of them. */\nstatic void\npersist_dates (void) {\n  tpl_node *tn;\n  char *path = NULL;\n  uint32_t *dates = NULL, len = 0, i, date = 0;\n  char fmt[] = \"A(u)\";\n\n  if (!(path = set_db_path (\"I32_DATES.db\")))\n    return;\n\n  dates = get_sorted_dates (&len);\n\n  tn = tpl_map (fmt, &date);\n  for (i = 0; i < len; ++i) {\n    date = dates[i];\n    tpl_pack (tn, 1);\n  }\n  tpl_dump (tn, TPL_FILE, path);\n\n  tpl_free (tn);\n  free (path);\n  free (dates);\n}\n\n/* Restore all the processed dates from our last dataset */\nstatic void\nrestore_dates (void) {\n  tpl_node *tn;\n  char *path = NULL;\n  uint32_t date, idx = 0;\n  char fmt[] = \"A(u)\";\n  int len;\n\n  if (!(path = check_restore_path (\"I32_DATES.db\")))\n    return;\n\n  tn = tpl_map (fmt, &date);\n  tpl_load (tn, TPL_FILE, path);\n\n  len = tpl_Alen (tn, 1);\n  if (len < 0)\n    return;\n  persisted_dates_len = len;\n  persisted_dates = xcalloc (persisted_dates_len, sizeof (uint32_t));\n  while (tpl_unpack (tn, 1) > 0)\n    persisted_dates[idx++] = date;\n\n  qsort (persisted_dates, idx, sizeof (uint32_t), cmp_ui32_desc);\n  tpl_free (tn);\n  free (path);\n}\n\n/* Entry function to restore a global hashes */\nstatic void\nrestore_global (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * overall = get_hdb (db, MTRC_CNT_OVERALL);\n  khash_t (si32) * seqs = get_hdb (db, MTRC_SEQS);\n  khash_t (iglp) * last_parse = get_hdb (db, MTRC_LAST_PARSE);\n  khash_t (si32) * db_props = get_hdb (db, MTRC_DB_PROPS);\n  khash_t (si08) * meth_proto = get_hdb (db, MTRC_METH_PROTO);\n\n  char *path = NULL;\n\n  if ((path = check_restore_path (\"SI32_DB_PROPS.db\"))) {\n    restore_global_si32 (db_props, path);\n    free (path);\n  }\n\n  restore_dates ();\n  if ((path = check_restore_path (\"SI32_CNT_OVERALL.db\"))) {\n    restore_global_si32 (overall, path);\n    free (path);\n  }\n  if ((path = check_restore_path (\"SI32_SEQS.db\"))) {\n    restore_global_si32 (seqs, path);\n    free (path);\n  }\n  if ((path = check_restore_path (\"SI08_METH_PROTO.db\"))) {\n    restore_global_si08 (meth_proto, path);\n    free (path);\n  }\n  if ((path = check_restore_path (\"IGLP_LAST_PARSE.db\"))) {\n    restore_global_iglp (last_parse, path);\n    free (path);\n  }\n}\n\nstatic void\npersist_global (void) {\n  GKDB *db = get_db_instance (DB_INSTANCE);\n  khash_t (si32) * overall = get_hdb (db, MTRC_CNT_OVERALL);\n  khash_t (si32) * seqs = get_hdb (db, MTRC_SEQS);\n  khash_t (iglp) * last_parse = get_hdb (db, MTRC_LAST_PARSE);\n  khash_t (si32) * db_props = get_hdb (db, MTRC_DB_PROPS);\n  khash_t (si08) * meth_proto = get_hdb (db, MTRC_METH_PROTO);\n  char *path = NULL;\n\n  ins_si32 (db_props, \"version\", DB_VERSION);\n\n  persist_dates ();\n  if ((path = set_db_path (\"SI32_CNT_OVERALL.db\"))) {\n    persist_global_si32 (overall, path);\n    free (path);\n  }\n  if ((path = set_db_path (\"SI32_SEQS.db\"))) {\n    persist_global_si32 (seqs, path);\n    free (path);\n  }\n  if ((path = set_db_path (\"IGLP_LAST_PARSE.db\"))) {\n    persist_global_iglp (last_parse, path);\n    free (path);\n  }\n  if ((path = set_db_path (\"SI08_METH_PROTO.db\"))) {\n    persist_global_si08 (meth_proto, path);\n    free (path);\n  }\n  if ((path = set_db_path (\"SI32_DB_PROPS.db\"))) {\n    persist_global_si32 (db_props, path);\n    free (path);\n  }\n}\n\nvoid\npersist_data (void) {\n  GModule module;\n  int i, n = 0;\n  size_t idx = 0;\n  persist_global ();\n\n  n = global_metrics_len;\n  for (i = 0; i < n; ++i)\n    persist_by_type (global_metrics[i], global_metrics[i].filename, -1);\n\n  n = module_metrics_len;\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    for (i = 0; i < n; ++i) {\n      persist_metric_type (module, module_metrics[i]);\n    }\n  }\n}\n\n/* Entry function to restore hashes */\nvoid\nrestore_data (void) {\n  int migrated = 0;\n  GModule module;\n  int i, n = 0;\n  size_t idx = 0;\n\n  restore_global ();\n\n  n = global_metrics_len;\n  for (i = 0; i < n; ++i) {\n    migrated += migrate_metric (-1, global_metrics[i]);\n    restore_by_type (global_metrics[i], global_metrics[i].filename, -1);\n  }\n\n  n = module_metrics_len;\n  FOREACH_MODULE (idx, module_list) {\n    module = module_list[idx];\n    for (i = 0; i < n; ++i) {\n      migrated += migrate_metric (module, module_metrics[i]);\n      restore_metric_type (module, module_metrics[i]);\n    }\n  }\n\n  if (migrated && !conf.persist)\n    conf.persist = 1;\n}\n\nvoid\nfree_persisted_data (void) {\n  free (persisted_dates);\n}\n"
  },
  {
    "path": "src/persistence.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef PERSISTENCE_H_INCLUDED\n#define PERSISTENCE_H_INCLUDED\n\nvoid restore_data (void);\nvoid persist_data (void);\nvoid free_persisted_data (void);\n\n#endif // for #ifndef PERSISTENCE_H\n"
  },
  {
    "path": "src/settings.c",
    "content": "/**\n * settings.c -- goaccess configuration\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))\n\n#include <ctype.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <errno.h>\n\n#include \"settings.h\"\n\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"labels.h\"\n#include \"pdjson.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\nstatic char **nargv;\nstatic int nargc = 0;\n\n/* *INDENT-OFF* */\nstatic const GEnum LOGTYPE[] = {\n  {\"COMBINED\"     , COMBINED}     ,\n  {\"VCOMBINED\"    , VCOMBINED}    ,\n  {\"COMMON\"       , COMMON}       ,\n  {\"VCOMMON\"      , VCOMMON}      ,\n  {\"W3C\"          , W3C}          ,\n  {\"CLOUDFRONT\"   , CLOUDFRONT}   ,\n  {\"CLOUDSTORAGE\" , CLOUDSTORAGE} ,\n  {\"AWSELB\"       , AWSELB}       ,\n  {\"SQUID\"        , SQUID}        ,\n  {\"AWSS3\"        , AWSS3}        ,\n  {\"CADDY\"        , CADDY}        ,\n  {\"AWSALB\"       , AWSALB}       ,\n  {\"TRAEFIKCLF\"   , TRAEFIKCLF}   ,\n};\n\nstatic const GPreConfLog logs = {\n  \"%h %^[%d:%t %^] \\\"%r\\\" %s %b \\\"%R\\\" \\\"%u\\\"\",                 /* NCSA */\n  \"%v:%^ %h %^[%d:%t %^] \\\"%r\\\" %s %b \\\"%R\\\" \\\"%u\\\"\",           /* NCSA + VHost  */\n  \"%h %^[%d:%t %^] \\\"%r\\\" %s %b\",                               /* CLF */\n  \"%v:%^ %h %^[%d:%t %^] \\\"%r\\\" %s %b\",                         /* CLF+VHost */\n  \"%d %t %^ %m %U %q %^ %^ %h %u %R %s %^ %^ %L\",               /* W3C */\n  \"%d\\\\t%t\\\\t%^\\\\t%b\\\\t%h\\\\t%m\\\\t%v\\\\t%U\\\\t%s\\\\t%R\\\\t%u\\\\t%q\\\\t%^\\\\t%C\\\\t%^\\\\t%^\\\\t%^\\\\t%^\\\\t%T\\\\t%^\\\\t%K\\\\t%k\\\\t%^\\\\t%H\\\\t%^\",  /* CloudFront */\n  \"\\\"%x\\\",\\\"%h\\\",%^,%^,\\\"%m\\\",\\\"%U\\\",\\\"%s\\\",%^,\\\"%b\\\",\\\"%D\\\",%^,\\\"%R\\\",\\\"%u\\\"\", /* Cloud Storage */\n  \"%^ %dT%t.%^ %^ %h:%^ %^ %^ %T %^ %s %^ %^ %b \\\"%r\\\" \\\"%u\\\" %k %K %^ \\\"%^\\\" \\\"%v\\\"\",    /* AWS Elastic Load Balancing */\n  \"%^ %^ %^ %v %^: %x.%^ %~%L %h %^/%s %b %m %U\",               /* Squid Native */\n  \"%^ %v [%d:%t %^] %h %^\\\"%r\\\" %s %^ %b %^ %L %^ \\\"%R\\\" \\\"%u\\\"\", /* Amazon S3 */\n\n  /* Caddy JSON */\n  \"{ \\\"ts\\\": \\\"%x.%^\\\", \\\"request\\\": { \\\"client_ip\\\": \\\"%h\\\", \\\"proto\\\":\"\n  \"\\\"%H\\\", \\\"method\\\": \\\"%m\\\", \\\"host\\\": \\\"%v\\\", \\\"uri\\\": \\\"%U\\\", \\\"headers\\\": {\"\n  \"\\\"User-Agent\\\": [\\\"%u\\\"], \\\"Referer\\\": [\\\"%R\\\"] }, \\\"tls\\\": { \\\"cipher_suite\\\":\"\n  \"\\\"%k\\\", \\\"proto\\\": \\\"%K\\\" } }, \\\"duration\\\": \\\"%T\\\", \\\"size\\\": \\\"%b\\\",\"\n  \"\\\"status\\\": \\\"%s\\\", \\\"resp_headers\\\": { \\\"Content-Type\\\": [\\\"%M\\\"] } }\",\n\n  \"%^ %dT%t.%^ %v %h:%^ %^ %^ %T %^ %s %^ %^ %b \\\"%r\\\" \\\"%u\\\" %k %K %^\", /* Amazon ALB */\n\n  \"%h - %e [%d:%t %^] \\\"%r\\\" %s %b \\\"%R\\\" \\\"%u\\\" %^ \\\"%v\\\" \\\"%U\\\" %Lms\" /* Traefik's CLF flavor with header */\n};\n\nstatic const GPreConfTime times = {\n  \"%H:%M:%S\",\n  \"%f\",       /* Cloud Storage (usec) */\n  \"%s\",       /* Squid (sec) */\n};\n\nstatic const GPreConfDate dates = {\n  \"%d/%b/%Y\", /* Apache */\n  \"%Y-%m-%d\", /* W3C */\n  \"%f\",       /* Cloud Storage (usec) */\n  \"%s\",       /* Squid (sec) */\n};\n/* *INDENT-ON* */\n\n/* Ignore the following options */\nstatic const char *const ignore_cmd_opts[] = {\n  \"help\",\n  \"storage\",\n  \"version\",\n};\n\n/* Determine if the given command line option needs to be ignored.\n *\n * If needs to be ignored, 1 is returned.\n * If not within the list of ignored command line options, 0 is returned. */\nstatic int\nin_ignore_cmd_opts (const char *val) {\n  size_t i;\n  for (i = 0; i < ARRAY_SIZE (ignore_cmd_opts); i++) {\n    if (strstr (val, ignore_cmd_opts[i]) != NULL)\n      return 1;\n  }\n  return 0;\n}\n\n/* Get the location of the configuration file.\n *\n * By default, it attempts to read it from the user supplied path, else it will\n * try to open the global config file path (sysconfdir) or from the HOME\n * environment variable (~/.goaccessrc).\n *\n * On success, the path to the configuration file is returned. */\nchar *\nget_config_file_path (void) {\n  char *upath = NULL, *gpath = NULL, *rpath = NULL;\n\n  /* determine which config file to open, default or custom */\n  if (conf.iconfigfile != NULL) {\n    rpath = realpath (conf.iconfigfile, NULL);\n    if (rpath == NULL)\n      FATAL (\"Unable to open the specified config file. %s\", strerror (errno));\n    return rpath;\n  }\n\n  /* first attempt to use the user's config file, e.g., ~/.goaccessrc */\n  upath = get_user_config ();\n  /* failure, e.g. if the file does not exist */\n  if ((rpath = realpath (upath, NULL)) != NULL) {\n    free (upath);\n    return rpath;\n  }\n  LOG_DEBUG ((\"Unable to find user's config file %s %s\", upath, strerror (errno)));\n  free (upath);\n\n  /* otherwise, fallback to global config file, e.g.,%sysconfdir%/goaccess.conf */\n  gpath = get_global_config ();\n  if ((rpath = realpath (gpath, NULL)) != NULL && conf.load_global_config) {\n    free (gpath);\n    return rpath;\n  }\n  LOG_DEBUG ((\"Unable to find global config file %s %s\", gpath, strerror (errno)));\n  free (gpath);\n\n  return NULL;\n}\n\n/* Use predefined static files when no config file is used. Note that\n * the order in which are listed is from the most to the least common\n * (most cases). */\nvoid\nset_default_static_files (void) {\n  size_t i;\n  const char *const exts[] = {\n    \".css\",\n    \".js \",\n    \".jpg\",\n    \".png\",\n    \".gif\",\n    \".ico\",\n    \".jpeg\",\n    \".pdf\",\n    \".txt\",\n    \".csv\",\n    \".mpeg\",\n    \".mpg\",\n    \".swf\",\n    \".woff\",\n    \".woff2\",\n    \".xls\",\n    \".xlsx\",\n    \".doc \",\n    \".docx\",\n    \".ppt \",\n    \".pptx\",\n    \".zip\",\n    \".mp3\",\n    \".mp4\",\n    \".exe\",\n    \".iso \",\n    \".gz  \",\n    \".rar \",\n    \".svg \",\n    \".bmp \",\n    \".tar \",\n    \".tgz \",\n    \".tiff\",\n    \".tif \",\n    \".ttf \",\n    \".flv \",\n    \".avi\",\n  };\n\n  if (conf.static_file_idx > 0)\n    return;\n\n  /* If a configuration file is used and, if no static-file extensions are provided, do not set the default static-file extensions. */\n  if (conf.iconfigfile != NULL && conf.static_file_idx == 0) {\n    return;\n  }\n\n  for (i = 0; i < ARRAY_SIZE (exts); i++) {\n    if (conf.static_file_max_len < strlen (exts[i]))\n      conf.static_file_max_len = strlen (exts[i]);\n    conf.static_files[conf.static_file_idx++] = exts[i];\n  }\n}\n\n/* Clean malloc'd log/date/time escaped formats. */\nvoid\nfree_formats (void) {\n  free (conf.log_format);\n  free (conf.date_format);\n  free (conf.date_num_format);\n  free (conf.spec_date_time_format);\n  free (conf.spec_date_time_num_format);\n  free (conf.time_format);\n  free (conf.date_time_format);\n}\n\n/* Clean malloc'd command line arguments. */\nvoid\nfree_cmd_args (void) {\n  int i;\n  if (nargc == 0)\n    return;\n  for (i = 0; i < nargc; i++)\n    free (nargv[i]);\n  free (nargv);\n  free (conf.iconfigfile);\n  free (conf.ws_auth_secret);\n}\n\n/* Append extra value to argv */\nstatic void\nappend_to_argv (int *argc, char ***argv, char *val) {\n  char **_argv = xrealloc (*argv, (*argc + 2) * sizeof (*_argv));\n  _argv[*argc] = val;\n  _argv[*argc + 1] = (char *) '\\0';\n  (*argc)++;\n  *argv = _argv;\n}\n\n/* Parses the configuration file to feed getopt_long.\n *\n * On error, ENOENT error code is returned.\n * On success, 0 is returned and config file enabled options are appended to\n * argv. */\nint\nparse_conf_file (int *argc, char ***argv) {\n  char line[MAX_LINE_CONF + 1];\n  char *path = NULL, *val, *opt, *p;\n  FILE *file;\n  int i, n = 0;\n  size_t idx;\n\n  /* assumes program name is on argv[0], though, it is not guaranteed */\n  append_to_argv (&nargc, &nargv, xstrdup (*argv[0] ? : PACKAGE_NAME));\n\n  /* determine which config file to open, default or custom */\n  path = get_config_file_path ();\n  if (path == NULL)\n    return ENOENT;\n\n  /* could not open conf file, if so prompt conf dialog */\n  if ((file = fopen (path, \"r\")) == NULL) {\n    free (path);\n    return ENOENT;\n  }\n\n  while (fgets (line, sizeof line, file) != NULL) {\n    while (line[0] == ' ' || line[0] == '\\t')\n      memmove (line, line + 1, strlen (line));\n    n++;\n    if (line[0] == '\\n' || line[0] == '\\r' || line[0] == '#')\n      continue;\n\n    /* key */\n    idx = strcspn (line, \" \\t\");\n    if (strlen (line) == idx)\n      FATAL (\"Malformed config key at line: %d\", n);\n\n    line[idx] = '\\0';\n\n    /* make old config options backwards compatible by\n     * substituting underscores with dashes */\n    while ((p = strpbrk (line, \"_\")) != NULL)\n      *p = '-';\n\n    /* Ignore the following options when reading the config file */\n    if (in_ignore_cmd_opts (line))\n      continue;\n\n    /* value */\n    val = line + (idx + 1);\n    idx = strspn (val, \" \\t\");\n    if (strlen (line) == idx)\n      FATAL (\"Malformed config value at line: %d\", n);\n    val = val + idx;\n    val = trim_str (val);\n\n    if (strcmp (\"false\", val) == 0)\n      continue;\n\n    /* set it as command line options */\n    opt = xmalloc (snprintf (NULL, 0, \"--%s\", line) + 1);\n    sprintf (opt, \"--%s\", line);\n\n    append_to_argv (&nargc, &nargv, opt);\n    if (strcmp (\"true\", val) != 0)\n      append_to_argv (&nargc, &nargv, xstrdup (val));\n  }\n\n  /* give priority to command line arguments */\n  for (i = 1; i < *argc; i++)\n    append_to_argv (&nargc, &nargv, xstrdup ((char *) (*argv)[i]));\n\n  *argc = nargc;\n  *argv = (char **) nargv;\n\n  fclose (file);\n\n  if (conf.iconfigfile == NULL)\n    conf.iconfigfile = xstrdup (path);\n\n  free (path);\n  return 0;\n}\n\n/* Get the enumerated log format given its equivalent format string.\n * The case in the format string does not matter.\n *\n * On error, -1 is returned.\n * On success, the enumerated format is returned. */\nstatic int\nget_log_format_item_enum (const char *str) {\n  int ret;\n  char *upstr;\n\n  ret = str2enum (LOGTYPE, ARRAY_SIZE (LOGTYPE), str);\n  if (ret >= 0)\n    return ret;\n\n  /* uppercase the input string and try again */\n  upstr = strtoupper (xstrdup (str));\n  ret = str2enum (LOGTYPE, ARRAY_SIZE (LOGTYPE), upstr);\n  free (upstr);\n\n  return ret;\n}\n\n/* Determine the selected log format from the config file or command line\n * option.\n *\n * On error, -1 is returned.\n * On success, the index of the matched item is returned. */\nsize_t\nget_selected_format_idx (void) {\n  if (conf.log_format == NULL)\n    return (size_t) -1;\n  if (strcmp (conf.log_format, logs.common) == 0)\n    return COMMON;\n  else if (strcmp (conf.log_format, logs.vcommon) == 0)\n    return VCOMMON;\n  else if (strcmp (conf.log_format, logs.combined) == 0)\n    return COMBINED;\n  else if (strcmp (conf.log_format, logs.vcombined) == 0)\n    return VCOMBINED;\n  else if (strcmp (conf.log_format, logs.w3c) == 0)\n    return W3C;\n  else if (strcmp (conf.log_format, logs.cloudfront) == 0)\n    return CLOUDFRONT;\n  else if (strcmp (conf.log_format, logs.cloudstorage) == 0)\n    return CLOUDSTORAGE;\n  else if (strcmp (conf.log_format, logs.awselb) == 0)\n    return AWSELB;\n  else if (strcmp (conf.log_format, logs.squid) == 0)\n    return SQUID;\n  else if (strcmp (conf.log_format, logs.awss3) == 0)\n    return AWSS3;\n  else if (strcmp (conf.log_format, logs.caddy) == 0)\n    return CADDY;\n  else if (strcmp (conf.log_format, logs.awsalb) == 0)\n    return AWSALB;\n  else if (strcmp (conf.log_format, logs.traefikclf) == 0)\n    return TRAEFIKCLF;\n  else\n    return (size_t) -1;\n}\n\n/* Determine the selected log format from the config file or command line\n * option.\n *\n * On error, NULL is returned.\n * On success, an allocated string containing the log format is returned. */\nchar *\nget_selected_format_str (size_t idx) {\n  char *fmt = NULL;\n  switch (idx) {\n  case COMBINED:\n    fmt = alloc_string (logs.combined);\n    break;\n  case VCOMBINED:\n    fmt = alloc_string (logs.vcombined);\n    break;\n  case COMMON:\n    fmt = alloc_string (logs.common);\n    break;\n  case VCOMMON:\n    fmt = alloc_string (logs.vcommon);\n    break;\n  case W3C:\n    fmt = alloc_string (logs.w3c);\n    break;\n  case CLOUDFRONT:\n    fmt = alloc_string (logs.cloudfront);\n    break;\n  case CLOUDSTORAGE:\n    fmt = alloc_string (logs.cloudstorage);\n    break;\n  case AWSELB:\n    fmt = alloc_string (logs.awselb);\n    break;\n  case SQUID:\n    fmt = alloc_string (logs.squid);\n    break;\n  case AWSS3:\n    fmt = alloc_string (logs.awss3);\n    break;\n  case CADDY:\n    fmt = alloc_string (logs.caddy);\n    break;\n  case AWSALB:\n    fmt = alloc_string (logs.awsalb);\n    break;\n  case TRAEFIKCLF:\n    fmt = alloc_string (logs.traefikclf);\n    break;\n  }\n\n  return fmt;\n}\n\n/* Determine the selected date format from the config file or command line\n * option.\n *\n * On error, NULL is returned.\n * On success, an allocated string containing the date format is returned. */\nchar *\nget_selected_date_str (size_t idx) {\n  char *fmt = NULL;\n  switch (idx) {\n  case COMMON:\n  case VCOMMON:\n  case COMBINED:\n  case VCOMBINED:\n  case AWSS3:\n  case TRAEFIKCLF:\n    fmt = alloc_string (dates.apache);\n    break;\n  case AWSELB:\n  case AWSALB:\n  case CLOUDFRONT:\n  case W3C:\n    fmt = alloc_string (dates.w3c);\n    break;\n  case CLOUDSTORAGE:\n    fmt = alloc_string (dates.usec);\n    break;\n  case SQUID:\n  case CADDY:\n    fmt = alloc_string (dates.sec);\n    break;\n  }\n\n  return fmt;\n}\n\n/* Determine the selected time format from the config file or command line\n * option.\n *\n * On error, NULL is returned.\n * On success, an allocated string containing the time format is returned. */\nchar *\nget_selected_time_str (size_t idx) {\n  char *fmt = NULL;\n  switch (idx) {\n  case AWSELB:\n  case AWSALB:\n  case CLOUDFRONT:\n  case COMBINED:\n  case COMMON:\n  case VCOMBINED:\n  case VCOMMON:\n  case W3C:\n  case AWSS3:\n  case TRAEFIKCLF:\n    fmt = alloc_string (times.fmt24);\n    break;\n  case CLOUDSTORAGE:\n    fmt = alloc_string (times.usec);\n    break;\n  case SQUID:\n  case CADDY:\n    fmt = alloc_string (times.sec);\n    break;\n  }\n\n  return fmt;\n}\n\n/* Determine if the log/date/time were set, otherwise exit the program\n * execution. */\nconst char *\nverify_formats (void) {\n  if (conf.time_format == NULL || *conf.time_format == '\\0')\n    return ERR_FORMAT_NO_TIME_FMT;\n\n  if (conf.date_format == NULL || *conf.date_format == '\\0')\n    return ERR_FORMAT_NO_DATE_FMT;\n\n  if (conf.log_format == NULL || *conf.log_format == '\\0')\n    return ERR_FORMAT_NO_LOG_FMT;\n\n  return NULL;\n}\n\n/* A wrapper function to concat the given specificity to the date\n * format. */\nstatic char *\nappend_spec_date_format (const char *date_format, const char *spec_format) {\n  char *s = xmalloc (snprintf (NULL, 0, \"%s%s\", date_format, spec_format) + 1);\n  sprintf (s, \"%s%s\", date_format, spec_format);\n\n  return s;\n}\n\n/* Iterate over the given format and clean unwanted chars and keep all\n * date/time specifiers such as %b%Y%d%M%S.\n *\n * On error NULL is returned.\n * On success, a clean format containing only date/time specifiers is\n * returned. */\nstatic char *\nclean_date_time_format (const char *format) {\n  char *fmt = NULL, *pr = NULL, *pw = NULL;\n  int special = 0;\n\n  if (format == NULL || *format == '\\0')\n    return NULL;\n\n  fmt = xstrdup (format);\n  pr = fmt;\n  pw = fmt;\n  while (*pr) {\n    *pw = *pr++;\n    if (*pw == '%' || special) {\n      special = !special;\n      pw++;\n    }\n  }\n  *pw = '\\0';\n\n  return fmt;\n}\n\n/* Determine if the given specifier character is an abbreviated type\n * of date.\n *\n * If it is, 1 is returned, otherwise, 0 is returned. */\nstatic int\nis_date_abbreviated (const char *fdate) {\n  if (strpbrk (fdate, \"cDF\"))\n    return 1;\n\n  return 0;\n}\n\n/* A wrapper to extract time specifiers from a time format.\n *\n * On error NULL is returned.\n * On success, a clean format containing only time specifiers is\n * returned. */\nstatic char *\nset_format_time (void) {\n  char *ftime = NULL;\n\n  if (has_timestamp (conf.date_format) || !strcmp (\"%T\", conf.time_format))\n    ftime = xstrdup (\"%H%M%S\");\n  else\n    ftime = clean_date_time_format (conf.time_format);\n\n  return ftime;\n}\n\n/* A wrapper to extract date specifiers from a date format.\n *\n * On error NULL is returned.\n * On success, a clean format containing only date specifiers is\n * returned. */\nstatic char *\nset_format_date (void) {\n  char *fdate = NULL;\n\n  if (has_timestamp (conf.date_format))\n    fdate = xstrdup (\"%Y%m%d\");\n  else\n    fdate = clean_date_time_format (conf.date_format);\n\n  return fdate;\n}\n\n/* Once we have a numeric date format, we attempt to read the time\n * format and construct a date_time numeric specificity format (if any\n * specificity is given). The result may look like Ymd[HM].\n *\n * On success, the numeric date time specificity format is set. */\nstatic void\nset_spec_date_time_num_format (void) {\n  char *buf = NULL, *tf = set_format_time ();\n  const char *df = conf.date_num_format;\n\n  if (!df || !tf) {\n    free (tf);\n    return;\n  }\n\n  if (conf.date_spec_hr == 1 && strchr (tf, 'H'))\n    buf = append_spec_date_format (df, \"%H\");\n  else if (conf.date_spec_hr == 2 && strchr (tf, 'M'))\n    buf = append_spec_date_format (df, \"%H%M\");\n  else\n    buf = xstrdup (df);\n\n  conf.spec_date_time_num_format = buf;\n  free (tf);\n}\n\n/* Set a human-readable specificity date and time format.\n *\n * On success, the human-readable date time specificity format is set. */\nstatic void\nset_spec_date_time_format (void) {\n  char *buf = NULL;\n  const char *fmt = conf.spec_date_time_num_format;\n  int buflen = 0, flen = 0;\n\n  if (!fmt)\n    return;\n\n  flen = (strlen (fmt) * 2) + 1;\n  buf = xcalloc (flen, sizeof (char));\n\n  if (strchr (fmt, 'd'))\n    buflen += snprintf (buf + buflen, flen - buflen, \"%%d/\");\n  if (strchr (fmt, 'm'))\n    buflen += snprintf (buf + buflen, flen - buflen, \"%%b/\");\n  if (strchr (fmt, 'Y'))\n    buflen += snprintf (buf + buflen, flen - buflen, \"%%Y\");\n  if (strchr (fmt, 'H'))\n    buflen += snprintf (buf + buflen, flen - buflen, \":%%H\");\n  if (strchr (fmt, 'M'))\n    buflen += snprintf (buf + buflen, flen - buflen, \":%%M\");\n\n  conf.spec_date_time_format = buf;\n}\n\n/* Normalize the date format from the date format given by the user to\n * Ymd so it can be sorted out properly afterwards.\n *\n * On error or unable to determine the format, 1 is returned.\n * On success, the numeric date format as Ymd is set and 0 is\n * returned. */\nstatic int\nset_date_num_format (void) {\n  char *fdate = NULL, *buf = NULL;\n  int buflen = 0, flen = 0;\n\n  fdate = set_format_date ();\n  if (!fdate)\n    return 1;\n\n  if (is_date_abbreviated (fdate)) {\n    free (fdate);\n    conf.date_num_format = xstrdup (\"%Y%m%d\");\n    return 0;\n  }\n\n  flen = strlen (fdate) + 1;\n  flen = MAX (MIN_DATENUM_FMT_LEN, flen); /* at least %Y%m%d + 1 */\n  buf = xcalloc (flen, sizeof (char));\n\n  /* always add a %Y */\n  buflen += snprintf (buf + buflen, flen - buflen, \"%%Y\");\n  if (strpbrk (fdate, \"hbmBf*\"))\n    buflen += snprintf (buf + buflen, flen - buflen, \"%%m\");\n  if (strpbrk (fdate, \"def*\"))\n    buflen += snprintf (buf + buflen, flen - buflen, \"%%d\");\n\n  conf.date_num_format = buf;\n  free (fdate);\n\n  return buflen == 0 ? 1 : 0;\n}\n\n/* Determine if we have a valid JSON format */\nint\nis_json_log_format (const char *fmt) {\n  enum json_type t = JSON_ERROR;\n  json_stream json;\n\n  json_open_string (&json, fmt);\n  /* ensure we use strict JSON when determining if we're using a JSON format */\n  json_set_streaming (&json, false);\n  do {\n    t = json_next (&json);\n    switch (t) {\n    case JSON_ERROR:\n      json_close (&json);\n      return 0;\n    default:\n      break;\n    }\n  } while (t != JSON_DONE && t != JSON_ERROR);\n  json_close (&json);\n\n  return 1;\n}\n\n/* Delete the given key from a nested object key or empty the key. */\nstatic void\ndec_json_key (char *key, int has_dot) {\n  if (!key || has_dot < 0)\n    return;\n\n  /* Designed to iterate has_dot + 1 times */\n  /* if has_dot is 2, the loop will run three times (when i is 0, 1, and 2). Each\n   * iteration of the loop removes one dot from the end of the key string.\n   * Therefore, if has_dot is 2, it will remove up to three dots from the end of\n   * the key string. */\n  for (int i = 0; i <= has_dot; i++) {\n    char *last_dot = strrchr (key, '.');\n    if (last_dot)\n      *last_dot = '\\0';\n    else {\n      *key = '\\0';\n      return;\n    }\n  }\n}\n\n\n\n/* Given a JSON string, parse it and call the given function pointer after each\n * value.\n *\n * On error, a non-zero value is returned.\n * On success, 0 is returned. */\nint\nparse_json_string (void *ptr_data, const char *str, int (*cb) (void *, char *, char *)) {\n  char *key = NULL, *val = NULL;\n  enum json_type ctx = JSON_ERROR, t = JSON_ERROR;\n  int ret = 0, has_dot = 0;\n  size_t len = 0, level = 0;\n  json_stream json;\n\n  json_open_string (&json, str);\n  do {\n    t = json_next (&json);\n\n    switch (t) {\n    case JSON_OBJECT:\n      if (key == NULL)\n        key = xstrdup (\"\");\n      break;\n    case JSON_ARRAY_END:\n    case JSON_OBJECT_END:\n      dec_json_key (key, 0);\n      break;\n    case JSON_TRUE:\n      val = xstrdup (\"true\");\n      if (!key || (ret = (*cb) (ptr_data, key, val)))\n        goto clean;\n      ctx = json_get_context (&json, &level);\n      if (ctx != JSON_ARRAY)\n        dec_json_key (key, 0);\n      free (val);\n      val = NULL;\n      break;\n    case JSON_FALSE:\n      val = xstrdup (\"false\");\n      if (!key || (ret = (*cb) (ptr_data, key, val)))\n        goto clean;\n      ctx = json_get_context (&json, &level);\n      if (ctx != JSON_ARRAY)\n        dec_json_key (key, 0);\n      free (val);\n      val = NULL;\n      break;\n    case JSON_NULL:\n      val = xstrdup (\"-\");\n      if (!key || (ret = (*cb) (ptr_data, key, val)))\n        goto clean;\n      ctx = json_get_context (&json, &level);\n      if (ctx != JSON_ARRAY)\n        dec_json_key (key, 0);\n      free (val);\n      val = NULL;\n      break;\n    case JSON_STRING:\n    case JSON_NUMBER:\n      ctx = json_get_context (&json, &level);\n      /* key */\n      if ((level % 2) != 0 && ctx != JSON_ARRAY) {\n        /* check if key contains a dot, to account for it on dec_json_key */\n        has_dot = count_matches (json_get_string (&json, &len), '.');\n\n        if (strlen (key) != 0)\n          append_str (&key, \".\");\n        append_str (&key, json_get_string (&json, &len));\n      }\n      /* val */\n      else if (key && (ctx == JSON_ARRAY || ((level % 2) == 0 && ctx != JSON_ARRAY))) {\n        val = xstrdup (json_get_string (&json, &len));\n        if (!key || (ret = (*cb) (ptr_data, key, val)))\n          goto clean;\n        if (ctx != JSON_ARRAY)\n          dec_json_key (key, has_dot);\n\n        free (val);\n        val = NULL;\n      }\n      break;\n    case JSON_ERROR:\n      ret = -1;\n      goto clean;\n      break;\n    default:\n      break;\n    }\n  } while (t != JSON_DONE && t != JSON_ERROR);\n\nclean:\n  free (val);\n  free (key);\n  json_close (&json);\n\n  return ret;\n}\n\n/* If specificity is supplied, then determine which value we need to\n * append to the date format. */\nvoid\nset_spec_date_format (void) {\n  if (verify_formats ())\n    return;\n\n  if (conf.is_json_log_format) {\n    if (parse_json_string (NULL, conf.log_format, ht_insert_json_logfmt) == -1)\n      FATAL (\"Invalid JSON log format. Verify the syntax.\");\n  }\n\n  if (conf.date_num_format)\n    free (conf.date_num_format);\n  if (conf.spec_date_time_format)\n    free (conf.spec_date_time_format);\n  if (conf.spec_date_time_num_format)\n    free (conf.spec_date_time_num_format);\n\n  if (set_date_num_format () == 0) {\n    set_spec_date_time_num_format ();\n    set_spec_date_time_format ();\n  }\n}\n\n/* Attempt to set the date format given a command line option\n * argument. The supplied optarg can be either an actual format string\n * or the enumerated value such as VCOMBINED */\nvoid\nset_date_format_str (const char *oarg) {\n  char *fmt = NULL;\n  int type = get_log_format_item_enum (oarg);\n\n  /* free date format if it was previously set by set_log_format_str() */\n  if (conf.date_format)\n    free (conf.date_format);\n\n  /* type not found, use whatever was given by the user then */\n  if (type == -1) {\n    conf.date_format = unescape_str (oarg);\n    return;\n  }\n\n  /* attempt to get the format string by the enum value */\n  if ((fmt = get_selected_date_str (type)) == NULL) {\n    LOG_DEBUG ((\"Unable to set date format from enum: %s\\n\", oarg));\n    return;\n  }\n\n  conf.date_format = fmt;\n}\n\n/* Attempt to set the time format given a command line option\n * argument. The supplied optarg can be either an actual format string\n * or the enumerated value such as VCOMBINED */\nvoid\nset_time_format_str (const char *oarg) {\n  char *fmt = NULL;\n  int type = get_log_format_item_enum (oarg);\n\n  /* free time format if it was previously set by set_log_format_str() */\n  if (conf.time_format)\n    free (conf.time_format);\n\n  /* type not found, use whatever was given by the user then */\n  if (type == -1) {\n    conf.time_format = unescape_str (oarg);\n    return;\n  }\n\n  /* attempt to get the format string by the enum value */\n  if ((fmt = get_selected_time_str (type)) == NULL) {\n    LOG_DEBUG ((\"Unable to set time format from enum: %s\\n\", oarg));\n    return;\n  }\n\n  conf.time_format = fmt;\n}\n\n/* Determine if some global flags were set through log-format. */\nstatic void\ncontains_specifier (void) {\n  conf.serve_usecs = conf.bandwidth = 0; /* flag */\n  if (!conf.log_format)\n    return;\n\n  if (strstr (conf.log_format, \"%b\"))\n    conf.bandwidth = 1; /* flag */\n  if (strstr (conf.log_format, \"%D\"))\n    conf.serve_usecs = 1; /* flag */\n  if (strstr (conf.log_format, \"%T\"))\n    conf.serve_usecs = 1; /* flag */\n  if (strstr (conf.log_format, \"%L\"))\n    conf.serve_usecs = 1; /* flag */\n}\n\n/* Attempt to set the log format given a command line option argument.\n * The supplied optarg can be either an actual format string or the\n * enumerated value such as VCOMBINED */\nvoid\nset_log_format_str (const char *oarg) {\n  char *fmt = NULL;\n  int type = get_log_format_item_enum (oarg);\n\n  /* free log format if it was previously set */\n  if (conf.log_format)\n    free (conf.log_format);\n\n  if (type == -1 && is_json_log_format (oarg)) {\n    conf.is_json_log_format = 1;\n    conf.log_format = unescape_str (oarg);\n    contains_specifier (); /* set flag */\n    return;\n  }\n\n  /* type not found, use whatever was given by the user then */\n  if (type == -1) {\n    conf.log_format = unescape_str (oarg);\n    contains_specifier (); /* set flag */\n    return;\n  }\n\n  /* attempt to get the format string by the enum value */\n  if ((fmt = get_selected_format_str (type)) == NULL) {\n    LOG_DEBUG ((\"Unable to set log format from enum: %s\\n\", oarg));\n    return;\n  }\n\n  if (is_json_log_format (fmt))\n    conf.is_json_log_format = 1;\n\n  conf.log_format = unescape_str (fmt);\n  contains_specifier (); /* set flag */\n\n  /* assume we are using the default date/time formats */\n  set_time_format_str (oarg);\n  set_date_format_str (oarg);\n  free (fmt);\n}\n"
  },
  {
    "path": "src/settings.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef SETTINGS_H_INCLUDED\n#define SETTINGS_H_INCLUDED\n\n#include <stdint.h>\n#include \"commons.h\"\n\n#define MAX_LINE_CONF        4096\n#define MAX_EXTENSIONS        128\n#define MAX_GEOIP_DBS           3\n#define MAX_IGNORE_IPS 1024 + 128\n#define MAX_IGNORE_REF         64\n#define MAX_CUSTOM_COLORS      64\n#define MAX_IGNORE_STATUS      64\n#define MAX_OUTFORMATS          3\n#define MAX_FILENAMES        3072\n#define MIN_DATENUM_FMT_LEN     7\n#define NO_CONFIG_FILE \"No config file used\"\n\ntypedef enum LOGTYPE {\n  COMBINED,\n  VCOMBINED,\n  COMMON,\n  VCOMMON,\n  W3C,\n  CLOUDFRONT,\n  CLOUDSTORAGE,\n  AWSELB,\n  SQUID,\n  AWSS3,\n  CADDY,\n  AWSALB,\n  TRAEFIKCLF,\n} GLogType;\n\n/* predefined log times */\ntypedef struct GPreConfTime_ {\n  const char *fmt24;\n  const char *usec;\n  const char *sec;\n} GPreConfTime;\n\n/* predefined log dates */\ntypedef struct GPreConfDate_ {\n  const char *apache;\n  const char *w3c;\n  const char *usec;\n  const char *sec;\n} GPreConfDate;\n\n/* predefined log formats */\ntypedef struct GPreConfLog_ {\n  const char *combined;\n  const char *vcombined;\n  const char *common;\n  const char *vcommon;\n  const char *w3c;\n  const char *cloudfront;\n  const char *cloudstorage;\n  const char *awselb;\n  const char *squid;\n  const char *awss3;\n  const char *caddy;\n  const char *awsalb;\n  const char *traefikclf;\n} GPreConfLog;\n\n/* *INDENT-OFF* */\n/* All configuration properties */\ntypedef struct GConf_\n{\n  /* Array options */\n  const char *colors[MAX_CUSTOM_COLORS];        /* colors */\n  const char *enable_panels[TOTAL_MODULES];     /* array of panels to enable */\n  const char *filenames[MAX_FILENAMES];         /* log files */\n  const char *hide_referers[MAX_IGNORE_REF];    /* hide referrers from report */\n  const char *ignore_ips[MAX_IGNORE_IPS];       /* array of ips to ignore */\n  const char *ignore_panels[TOTAL_MODULES];     /* array of panels to ignore */\n  const char *ignore_referers[MAX_IGNORE_REF];  /* referrers to ignore */\n  int ignore_status[MAX_IGNORE_STATUS]; /* status to ignore */\n  const char *output_formats[MAX_OUTFORMATS];   /* output format, e.g. , HTML */\n  const char *sort_panels[TOTAL_MODULES];       /* sorting options for each panel */\n  const char *static_files[MAX_EXTENSIONS];     /* static extensions */\n  const char *geoip_databases[MAX_GEOIP_DBS];    /* geoip db paths */\n\n  /* Log/date/time formats */\n  const char *tz_name;                    /* Canonical TZ name, e.g., America/Chicago */\n  char *date_time_format;           /* date & time format */\n  char *date_format;                /* date format */\n  char *date_num_format;            /* numeric date format %Y%m%d */\n  char *time_format;                /* time format as given by the user */\n  char *spec_date_time_format;      /* date format w/ specificity */\n  char *spec_date_time_num_format;  /* numeric date format w/ specificity */\n  char *log_format;                 /* log format */\n  char *iconfigfile;                /* config file path */\n  char ***user_browsers_hash;       /* custom list of browsers */\n\n  const char *debug_log;            /* debug log path */\n  const char *html_custom_css;      /* custom CSS */\n  const char *html_custom_js;       /* custom JS */\n  const char *html_prefs;           /* default HTML JSON preferences */\n  const char *html_report_title;    /* report title */\n  const char *invalid_requests_log; /* invalid lines log path */\n  const char *unknowns_log;         /* unknown browsers/OSs log path */\n  const char *pidfile;              /* daemonize pid file path */\n  const char *browsers_file;        /* browser's file path */\n  const char *db_path;              /* db path to files */\n  const char *fname_as_vhost;       /* filenames as vhost/server blocks */\n\n  /* HTML real-time */\n  const char *addr;                 /* IP address to bind to */\n  const char *fifo_in;              /* path FIFO in (reader) */\n  const char *fifo_out;             /* path FIFO out (writer) */\n  const char *origin;               /* WebSocket origin */\n  const char *port;                 /* port to use */\n  const char *sslcert;              /* TLS/SSL path to certificate */\n  const char *sslkey;               /* TLS/SSL path to private key */\n  const char *ws_url;               /* WebSocket URL */\n  const char *ping_interval;        /* WebSocket ping interval in seconds */\n  const char *unix_socket;          /* unix socket to bind to */\n  const char *ws_auth_url;          /* URL to fetch the initial JWT */\n  const char *ws_auth_refresh_url;  /* URL to fetch the refreh JWT */\n  char *ws_auth_secret;             /* WebSocket AUTH */\n  long ws_auth_expire;              /* WebSocket AUTH JWT expire in seconds */\n  int ws_auth_verify_only;          /* WebSocket AUTH verify only */\n\n  /* User flags */\n  int all_static_files;             /* parse all static files */\n  int anonymize_ip;                 /* anonymize ip addresses */\n  int anonymize_level;              /* anonymization level */\n  int append_method;                /* append method to the req key */\n  int append_protocol;              /* append protocol to the req key */\n  int client_err_to_unique_count;   /* count 400s as visitors */\n  int code444_as_404;               /* 444 as 404s? */\n  int color_scheme;                 /* color scheme */\n  int chunk_size;                   /* chunk size for each thread */\n  int crawlers_only;                /* crawlers only */\n  int daemonize;                    /* run program as a Unix daemon */\n  const char *username;             /* user to run program as */\n  int double_decode;                /* need to double decode */\n  int external_assets;              /* write JS/CSS assets to external files */\n  int enable_html_resolver;         /* html/json/csv resolver */\n  int geo_db;                       /* legacy geoip db */\n  int hl_header;                    /* highlight header on term */\n  int ignore_crawlers;              /* ignore crawlers */\n  int unknowns_as_crawlers;         /* unknown OS and browsers are classified as crawlers */\n  int ignore_qstr;                  /* ignore query string */\n  int ignore_statics;               /* ignore static files */\n  int jobs;                         /* multi-thread jobs count */\n  int json_pretty_print;            /* pretty print JSON data */\n  int list_agents;                  /* show list of agents per host */\n  int load_conf_dlg;                /* load curses config dialog */\n  int load_global_config;           /* use global config file */\n  int max_items;                    /* max number of items to output */\n  int mouse_support;                /* add curses mouse support */\n  int no_color;                     /* no terminal colors */\n  int no_strict_status;             /* don't enforce 100-599 status codes */\n  int no_column_names;              /* don't show col names on terminal */\n  int no_csv_summary;               /* don't show overall metrics */\n  int no_html_last_updated;         /* don't show HTML last updated field */\n  int no_ip_validation;             /* don't validate client IP addresses */\n  int no_parsing_spinner;           /* disable parsing spinner */\n  int no_progress;                  /* disable progress metrics */\n  int no_tab_scroll;                /* don't scroll dashboard on tab */\n  int output_stdout;                /* outputting to stdout */\n  int persist;                      /* ensure to persist data on exit */\n  int process_and_exit;             /* parse and exit without outputting */\n  int real_os;                      /* show real OSs */\n  int real_time_html;               /* enable real-time HTML output */\n  int restore;                      /* reload data from db-path */\n  int skip_term_resolver;           /* no terminal resolver */\n  int is_json_log_format;           /* is a json log format */\n  uint32_t keep_last;               /* number of days to keep in storage */\n  uint32_t num_tests;               /* number of lines to test */\n  uint64_t html_refresh;            /* refresh html report every X of seconds */\n  uint64_t log_size;                /* log size override */\n  int concat_vhost_req;             /* concatenate vhost and request */\n\n  /* Internal flags */\n  int bandwidth;                    /* is there bandwidth within the req line */\n  int date_spec_hr;                 /* date specificity - hour */\n  int has_geocity;\n  int has_geocountry;\n  int has_geoasn;\n  int hour_spec_min;                /* hour specificity - min */\n  int read_stdin;                   /* read from stdin */\n  int serve_usecs;                  /* is there time served within req line */\n  _Atomic int stop_processing;      /* stop all processing */\n  int tailing_mode;                 /* in tailing-mode? */\n\n  /* Array indices */\n  int color_idx;                    /* colors index */\n  int enable_panel_idx;             /* enable panels index */\n  int filenames_idx;                /* filenames index */\n  int hide_referer_idx;             /* hide referrers index */\n  int ignore_ip_idx;                /* ignored ips index */\n  int ignore_panel_idx;             /* ignored panels index */\n  int ignore_referer_idx;           /* ignored referrers index */\n  int ignore_status_idx;            /* ignore status index */\n  int output_format_idx;            /* output format index */\n  int sort_panel_idx;               /* sort panel index */\n  int static_file_idx;              /* static extensions index */\n  int geoip_db_idx;                 /* geoip db index */\n  int browsers_hash_idx;            /* browsers hash index */\n\n  size_t static_file_max_len;\n\n} GConf;\n/* *INDENT-ON* */\n\nchar *get_selected_date_str (size_t idx);\nchar *get_selected_format_str (size_t idx);\nchar *get_selected_time_str (size_t idx);\nconst char *verify_formats (void);\nint is_json_log_format (const char *fmt);\nint parse_json_string (void *userdata, const char *str, int (*cb) (void *, char *, char *));\nsize_t get_selected_format_idx (void);\nvoid set_date_format_str (const char *optarg);\nvoid set_log_format_str (const char *optarg);\nvoid set_spec_date_format (void);\nvoid set_time_format_str (const char *optarg);\n\nextern GConf conf;\n\nchar *get_config_file_path (void);\nint parse_conf_file (int *argc, char ***argv);\nvoid free_cmd_args (void);\nvoid free_formats (void);\nvoid set_default_static_files (void);\n\n#endif\n"
  },
  {
    "path": "src/sha1.c",
    "content": "/*\nSHA-1 in C\nBy Steve Reid <steve@edmweb.com>\n100% Public Domain\n\nTest Vectors (from FIPS PUB 180-1)\n\"abc\"\n  A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D\n\"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq\"\n  84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1\nA million repetitions of \"a\"\n  34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F\n*/\n\n/* #define LITTLE_ENDIAN * This should be #define'd if true. */\n#if __LITTLE_ENDIAN__\n#define LITTLE_ENDIAN\n#endif\n/* #define SHA1HANDSOFF * Copies data before messing with it. */\n\n#include <string.h>\n\n#include \"sha1.h\"\n\nvoid SHA1Transform (uint32_t state[5], uint8_t buffer[64]);\n\n#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))\n\n/* blk0() and blk() perform the initial expand. */\n/* I got the idea of expanding during the round function from SSLeay */\n#ifdef LITTLE_ENDIAN\n#define blk0(i) (block->l[i] = (rol(block->l[i],24)&0xFF00FF00) \\\n    |(rol(block->l[i],8)&0x00FF00FF))\n#else\n#define blk0(i) block->l[i]\n#endif\n#define blk(i) (block->l[i&15] = rol(block->l[(i+13)&15]^block->l[(i+8)&15] \\\n    ^block->l[(i+2)&15]^block->l[i&15],1))\n\n/* (R0+R1), R2, R3, R4 are the different operations used in SHA1 */\n#define R0(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk0(i)+0x5A827999+rol(v,5);w=rol(w,30);\n#define R1(v,w,x,y,z,i) z+=((w&(x^y))^y)+blk(i)+0x5A827999+rol(v,5);w=rol(w,30);\n#define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30);\n#define R3(v,w,x,y,z,i) z+=(((w|x)&y)|(w&x))+blk(i)+0x8F1BBCDC+rol(v,5);w=rol(w,30);\n#define R4(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0xCA62C1D6+rol(v,5);w=rol(w,30);\n\n\n/* Hash a single 512-bit block. This is the core of the algorithm. */\n\nvoid\nSHA1Transform (uint32_t state[5], uint8_t buffer[64]) {\n  uint32_t a, b, c, d, e;\n  typedef union {\n    uint8_t c[64];\n    uint32_t l[16];\n  } CHAR64LONG16;\n  CHAR64LONG16 *block;\n#ifdef SHA1HANDSOFF\n  static uint8_t workspace[64];\n  block = (CHAR64LONG16 *) (void *) workspace;\n  memcpy (block, buffer, 64);\n#else\n  block = (CHAR64LONG16 *) (void *) buffer;\n#endif\n  /* Copy context->state[] to working vars */\n  a = state[0];\n  b = state[1];\n  c = state[2];\n  d = state[3];\n  e = state[4];\n  /* 4 rounds of 20 operations each. Loop unrolled. */\n  R0 (a, b, c, d, e, 0);\n  R0 (e, a, b, c, d, 1);\n  R0 (d, e, a, b, c, 2);\n  R0 (c, d, e, a, b, 3);\n  R0 (b, c, d, e, a, 4);\n  R0 (a, b, c, d, e, 5);\n  R0 (e, a, b, c, d, 6);\n  R0 (d, e, a, b, c, 7);\n  R0 (c, d, e, a, b, 8);\n  R0 (b, c, d, e, a, 9);\n  R0 (a, b, c, d, e, 10);\n  R0 (e, a, b, c, d, 11);\n  R0 (d, e, a, b, c, 12);\n  R0 (c, d, e, a, b, 13);\n  R0 (b, c, d, e, a, 14);\n  R0 (a, b, c, d, e, 15);\n  R1 (e, a, b, c, d, 16);\n  R1 (d, e, a, b, c, 17);\n  R1 (c, d, e, a, b, 18);\n  R1 (b, c, d, e, a, 19);\n  R2 (a, b, c, d, e, 20);\n  R2 (e, a, b, c, d, 21);\n  R2 (d, e, a, b, c, 22);\n  R2 (c, d, e, a, b, 23);\n  R2 (b, c, d, e, a, 24);\n  R2 (a, b, c, d, e, 25);\n  R2 (e, a, b, c, d, 26);\n  R2 (d, e, a, b, c, 27);\n  R2 (c, d, e, a, b, 28);\n  R2 (b, c, d, e, a, 29);\n  R2 (a, b, c, d, e, 30);\n  R2 (e, a, b, c, d, 31);\n  R2 (d, e, a, b, c, 32);\n  R2 (c, d, e, a, b, 33);\n  R2 (b, c, d, e, a, 34);\n  R2 (a, b, c, d, e, 35);\n  R2 (e, a, b, c, d, 36);\n  R2 (d, e, a, b, c, 37);\n  R2 (c, d, e, a, b, 38);\n  R2 (b, c, d, e, a, 39);\n  R3 (a, b, c, d, e, 40);\n  R3 (e, a, b, c, d, 41);\n  R3 (d, e, a, b, c, 42);\n  R3 (c, d, e, a, b, 43);\n  R3 (b, c, d, e, a, 44);\n  R3 (a, b, c, d, e, 45);\n  R3 (e, a, b, c, d, 46);\n  R3 (d, e, a, b, c, 47);\n  R3 (c, d, e, a, b, 48);\n  R3 (b, c, d, e, a, 49);\n  R3 (a, b, c, d, e, 50);\n  R3 (e, a, b, c, d, 51);\n  R3 (d, e, a, b, c, 52);\n  R3 (c, d, e, a, b, 53);\n  R3 (b, c, d, e, a, 54);\n  R3 (a, b, c, d, e, 55);\n  R3 (e, a, b, c, d, 56);\n  R3 (d, e, a, b, c, 57);\n  R3 (c, d, e, a, b, 58);\n  R3 (b, c, d, e, a, 59);\n  R4 (a, b, c, d, e, 60);\n  R4 (e, a, b, c, d, 61);\n  R4 (d, e, a, b, c, 62);\n  R4 (c, d, e, a, b, 63);\n  R4 (b, c, d, e, a, 64);\n  R4 (a, b, c, d, e, 65);\n  R4 (e, a, b, c, d, 66);\n  R4 (d, e, a, b, c, 67);\n  R4 (c, d, e, a, b, 68);\n  R4 (b, c, d, e, a, 69);\n  R4 (a, b, c, d, e, 70);\n  R4 (e, a, b, c, d, 71);\n  R4 (d, e, a, b, c, 72);\n  R4 (c, d, e, a, b, 73);\n  R4 (b, c, d, e, a, 74);\n  R4 (a, b, c, d, e, 75);\n  R4 (e, a, b, c, d, 76);\n  R4 (d, e, a, b, c, 77);\n  R4 (c, d, e, a, b, 78);\n  R4 (b, c, d, e, a, 79);\n  /* Add the working vars back into context.state[] */\n  state[0] += a;\n  state[1] += b;\n  state[2] += c;\n  state[3] += d;\n  state[4] += e;\n  /* Wipe variables */\n  a = b = c = d = e = 0;\n}\n\n\n/* SHA1Init - Initialize new context */\n\nvoid\nSHA1Init (SHA1_CTX *context) {\n  /* SHA1 initialization constants */\n  context->state[0] = 0x67452301;\n  context->state[1] = 0xEFCDAB89;\n  context->state[2] = 0x98BADCFE;\n  context->state[3] = 0x10325476;\n  context->state[4] = 0xC3D2E1F0;\n  context->count[0] = context->count[1] = 0;\n}\n\n\n/* Run your data through this. */\n\nvoid\nSHA1Update (SHA1_CTX *context, uint8_t *data, unsigned int len) {\n  unsigned int i, j;\n\n  j = (context->count[0] >> 3) & 63;\n  if ((context->count[0] += len << 3) < (len << 3))\n    context->count[1]++;\n  context->count[1] += (len >> 29);\n  if ((j + len) > 63) {\n    memcpy (&context->buffer[j], data, (i = 64 - j));\n    SHA1Transform (context->state, context->buffer);\n    for (; i + 63 < len; i += 64) {\n      SHA1Transform (context->state, &data[i]);\n    }\n    j = 0;\n  } else\n    i = 0;\n  memcpy (&context->buffer[j], &data[i], len - i);\n}\n\n\n/* Add padding and return the message digest. */\n\nvoid\nSHA1Final (uint8_t digest[20], SHA1_CTX *context) {\n  uint32_t i, j;\n  uint8_t finalcount[8];\n\n  for (i = 0; i < 8; i++) {\n    finalcount[i] = (uint8_t) ((context->count[(i >= 4 ? 0 : 1)]\n                                >> ((3 - (i & 3)) * 8)) & 255); /* Endian independent */\n  }\n  SHA1Update (context, (uint8_t *) \"\\200\", 1);\n  while ((context->count[0] & 504) != 448) {\n    SHA1Update (context, (uint8_t *) \"\\0\", 1);\n  }\n  SHA1Update (context, finalcount, 8); /* Should cause a SHA1Transform() */\n  for (i = 0; i < 20; i++) {\n    digest[i] = (uint8_t)\n      ((context->state[i >> 2] >> ((3 - (i & 3)) * 8)) & 255);\n  }\n  /* Wipe variables */\n  i = j = 0;\n  memset (context->buffer, 0, 64);\n  memset (context->state, 0, 20);\n  memset (context->count, 0, 8);\n  memset (&finalcount, 0, 8);\n#ifdef SHA1HANDSOFF /* make SHA1Transform overwrite its own static vars */\n  SHA1Transform (context->state, context->buffer);\n#endif\n}\n"
  },
  {
    "path": "src/sha1.h",
    "content": "#ifndef SHA1_H_INCLUDED\n#define SHA1_H_INCLUDED\n\n#include <sys/types.h>\n#include <stdint.h>\n\n// From http://www.mirrors.wiretapped.net/security/cryptography/hashes/sha1/sha1.c\n\ntypedef struct {\n  uint32_t state[5];\n  uint32_t count[2];\n  uint8_t buffer[64];\n} SHA1_CTX;\n\nextern void SHA1Init (SHA1_CTX * context);\nextern void SHA1Update (SHA1_CTX * context, uint8_t * data, uint32_t len);\nextern void SHA1Final (uint8_t digest[20], SHA1_CTX * context);\n\n#endif // for #ifndef SHA1_H\n"
  },
  {
    "path": "src/sort.c",
    "content": "/**\n * sort.c -- functions related to sort functionality\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include \"settings.h\"\n#include \"util.h\"\n\n#include \"sort.h\"\n\n/* *INDENT-OFF* */\nconst int sort_choices[][SORT_MAX_OPTS] = {\n  /* VISITORS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* REQUESTS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, SORT_BY_PROT, SORT_BY_MTHD, -1},\n  /* REQUESTS_STATIC */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, SORT_BY_PROT, SORT_BY_MTHD, -1},\n  /* NOT_FOUND */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, SORT_BY_PROT, SORT_BY_MTHD, -1},\n  /* HOSTS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* OS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* BROWSERS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* VISIT_TIMES */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* VIRTUAL_HOSTS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* REFERRERS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* REFERRING_SITES */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* KEYPHRASES */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* STATUS_CODES */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* REMOTE_USER */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* CACHE_STATUS */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n#ifdef HAVE_GEOLOCATION\n  /* GEO_LOCATION */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* ASN */\n  {SORT_BY_HITS, SORT_BY_VISITORS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n#endif\n  /* MIME_TYPE */\n  {SORT_BY_HITS, SORT_BY_DATA, SORT_BY_BW, SORT_BY_AVGTS, SORT_BY_CUMTS, SORT_BY_MAXTS, -1},\n  /* TLS_TYPE */\n  {SORT_BY_HITS, SORT_BY_DATA, SORT_BY_VISITORS, SORT_BY_BW, -1},\n};\n\nstatic const GEnum FIELD[] = {\n  {\"BY_HITS\"     , SORT_BY_HITS     } ,\n  {\"BY_VISITORS\" , SORT_BY_VISITORS } ,\n  {\"BY_DATA\"     , SORT_BY_DATA     } ,\n  {\"BY_BW\"       , SORT_BY_BW       } ,\n  {\"BY_AVGTS\"    , SORT_BY_AVGTS    } ,\n  {\"BY_CUMTS\"    , SORT_BY_CUMTS    } ,\n  {\"BY_MAXTS\"    , SORT_BY_MAXTS    } ,\n  {\"BY_PROT\"     , SORT_BY_PROT     } ,\n  {\"BY_MTHD\"     , SORT_BY_MTHD     } ,\n};\n\nstatic const GEnum ORDER[] = {\n  {\"ASC\"  , SORT_ASC  } ,\n  {\"DESC\" , SORT_DESC } ,\n};\n\nGSort module_sort[TOTAL_MODULES] = {\n  {VISITORS            , SORT_BY_DATA , SORT_DESC } ,\n  {REQUESTS            , SORT_BY_HITS , SORT_DESC } ,\n  {REQUESTS_STATIC     , SORT_BY_HITS , SORT_DESC } ,\n  {NOT_FOUND           , SORT_BY_HITS , SORT_DESC } ,\n  {HOSTS               , SORT_BY_HITS , SORT_DESC } ,\n  {OS                  , SORT_BY_HITS , SORT_DESC } ,\n  {BROWSERS            , SORT_BY_HITS , SORT_DESC } ,\n  {VISIT_TIMES         , SORT_BY_DATA , SORT_ASC  } ,\n  {VIRTUAL_HOSTS       , SORT_BY_HITS , SORT_DESC } ,\n  {REFERRERS           , SORT_BY_HITS , SORT_DESC } ,\n  {REFERRING_SITES     , SORT_BY_HITS , SORT_DESC } ,\n  {KEYPHRASES          , SORT_BY_HITS , SORT_DESC } ,\n  {STATUS_CODES        , SORT_BY_HITS , SORT_DESC } ,\n  {REMOTE_USER         , SORT_BY_HITS , SORT_DESC } ,\n  {CACHE_STATUS        , SORT_BY_HITS , SORT_DESC } ,\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION        , SORT_BY_HITS , SORT_DESC } ,\n  {ASN                 , SORT_BY_HITS , SORT_DESC } ,\n#endif\n  {MIME_TYPE           , SORT_BY_HITS , SORT_DESC } ,\n  {TLS_TYPE            , SORT_BY_VISITORS , SORT_DESC } ,\n};\n/* *INDENT-ON* */\n\n/* Sort an array of strings ascending */\nint\nstrcmp_asc (const void *a, const void *b) {\n  return strcmp (*((char *const *) a), *((char *const *) b));\n}\n\n/* Sort 'data' metric ascending */\nstatic int\ncmp_data_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ia->metrics->data, ib->metrics->data);\n}\n\n/* Sort 'data' metric descending */\nstatic int\ncmp_data_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ib->metrics->data, ia->metrics->data);\n}\n\n/* Sort 'hits' metric descending */\nstatic int\ncmp_num_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->hits;\n  uint64_t vb = ib->metrics->hits;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'hits' metric ascending */\nstatic int\ncmp_num_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->hits;\n  uint64_t vb = ib->metrics->hits;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort 'visitors' metric descending */\nstatic int\ncmp_vis_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->visitors;\n  uint64_t vb = ib->metrics->visitors;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'visitors' metric ascending */\nstatic int\ncmp_vis_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->visitors;\n  uint64_t vb = ib->metrics->visitors;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort GRawDataItem value descending */\nstatic int\ncmp_raw_num_desc (const void *a, const void *b) {\n  const GRawDataItem *ia = a;\n  const GRawDataItem *ib = b;\n\n  uint64_t va = ia->hits;\n  uint64_t vb = ib->hits;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort GRawDataItem value descending */\nstatic int\ncmp_raw_str_desc (const void *a, const void *b) {\n  const GRawDataItem *ia = a;\n  const GRawDataItem *ib = b;\n\n  return strcmp (ib->data, ia->data);\n}\n\n/* Sort 'bandwidth' metric descending */\nstatic int\ncmp_bw_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->nbw;\n  uint64_t vb = ib->metrics->nbw;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'bandwidth' metric ascending */\nstatic int\ncmp_bw_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->nbw;\n  uint64_t vb = ib->metrics->nbw;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort 'avgts' metric descending */\nstatic int\ncmp_avgts_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->avgts.nts;\n  uint64_t vb = ib->metrics->avgts.nts;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'avgts' metric ascending */\nstatic int\ncmp_avgts_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->avgts.nts;\n  uint64_t vb = ib->metrics->avgts.nts;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort 'cumts' metric descending */\nstatic int\ncmp_cumts_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->cumts.nts;\n  uint64_t vb = ib->metrics->cumts.nts;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'cumts' metric ascending */\nstatic int\ncmp_cumts_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->cumts.nts;\n  uint64_t vb = ib->metrics->cumts.nts;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort 'maxts' metric descending */\nstatic int\ncmp_maxts_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->maxts.nts;\n  uint64_t vb = ib->metrics->maxts.nts;\n\n  return (va < vb) - (va > vb);\n}\n\n/* Sort 'maxts' metric ascending */\nstatic int\ncmp_maxts_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n\n  uint64_t va = ia->metrics->maxts.nts;\n  uint64_t vb = ib->metrics->maxts.nts;\n\n  return (va > vb) - (va < vb);\n}\n\n/* Sort 'protocol' metric ascending */\nstatic int\ncmp_proto_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ia->metrics->protocol, ib->metrics->protocol);\n}\n\n/* Sort 'protocol' metric descending */\nstatic int\ncmp_proto_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ib->metrics->protocol, ia->metrics->protocol);\n}\n\n/* Sort 'method' metric ascending */\nstatic int\ncmp_mthd_asc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ia->metrics->method, ib->metrics->method);\n}\n\n/* Sort 'method' metric descending */\nstatic int\ncmp_mthd_desc (const void *a, const void *b) {\n  const GHolderItem *ia = a;\n  const GHolderItem *ib = b;\n  return strcmp (ib->metrics->method, ia->metrics->method);\n}\n\n/* Sort ascending */\n#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ >= 4)\n__attribute__((no_sanitize (\"implicit-conversion\", \"unsigned-integer-overflow\")))\n#endif\nint\ncmp_ui32_asc (const void *a, const void *b) {\n  const uint32_t *ia = (const uint32_t *) a; // casting pointer types\n  const uint32_t *ib = (const uint32_t *) b;\n  return *ia - *ib;\n}\n\nint\ncmp_ui32_desc (const void *a, const void *b) {\n  const uint32_t *ia = (const uint32_t *) a; // casting pointer types\n  const uint32_t *ib = (const uint32_t *) b;\n  return *ib - *ia;\n}\n\n/* Given a string sort field, get the enum field value.\n *\n * On error, -1 is returned.\n * On success, the enumerated field value is returned. */\nint\nget_sort_field_enum (const char *str) {\n  return str2enum (FIELD, ARRAY_SIZE (FIELD), str);\n}\n\n/* Given a string sort order, get the enum order value.\n *\n * On error, -1 is returned.\n * On success, the enumerated order value is returned. */\nint\nget_sort_order_enum (const char *str) {\n  return str2enum (ORDER, ARRAY_SIZE (ORDER), str);\n}\n\n/* Given a GSortOrder enum value, return the corresponding string.\n *\n * The string corresponding to the enumerated order value is returned. */\nconst char *\nget_sort_order_str (GSortOrder order) {\n  return ORDER[order].str;\n}\n\n/* Given a GSortField enum value, return the corresponding string.\n *\n * The string corresponding to the enumerated field value is returned. */\nconst char *\nget_sort_field_str (GSortField field) {\n  return FIELD[field].str;\n}\n\n/* Given a GSortField enum value, return the corresponding key.\n *\n * The key corresponding to the enumerated field value is returned. */\nconst char *\nget_sort_field_key (GSortField field) {\n  static const char *const field2key[][2] = {\n    {\"BY_HITS\", \"hits\"},\n    {\"BY_VISITORS\", \"visitors\"},\n    {\"BY_DATA\", \"data\"},\n    {\"BY_BW\", \"bytes\"},\n    {\"BY_AVGTS\", \"avgts\"},\n    {\"BY_CUMTS\", \"cumts\"},\n    {\"BY_MAXTS\", \"maxts\"},\n    {\"BY_PROT\", \"protocol\"},\n    {\"BY_MTHD\", \"method\"},\n  };\n\n  return field2key[field][1];\n}\n\n/* Set the initial metric sort per module/panel.\n *\n * On error, function returns.\n * On success, panel metrics are sorted. */\nvoid\nset_initial_sort (const char *smod, const char *sfield, const char *ssort) {\n  int module, field, order;\n  if ((module = get_module_enum (smod)) == -1)\n    return;\n\n  if ((field = get_sort_field_enum (sfield)) == -1)\n    return;\n  if ((order = get_sort_order_enum (ssort)) == -1)\n    return;\n  if (!can_sort_module (module, field))\n    return;\n\n  module_sort[module].field = field;\n  module_sort[module].sort = order;\n}\n\n/* Determine if module/panel metric can be sorted.\n *\n * On error or if metric can't be sorted, 0 is returned.\n * On success, 1 is returned. */\nint\ncan_sort_module (GModule module, int field) {\n  int i, can_sort = 0;\n  for (i = 0; -1 != sort_choices[module][i]; i++) {\n    if (sort_choices[module][i] != field)\n      continue;\n    if (SORT_BY_AVGTS == field && !conf.serve_usecs)\n      continue;\n    if (SORT_BY_CUMTS == field && !conf.serve_usecs)\n      continue;\n    if (SORT_BY_MAXTS == field && !conf.serve_usecs)\n      continue;\n    else if (SORT_BY_BW == field && !conf.bandwidth)\n      continue;\n    else if (SORT_BY_PROT == field && !conf.append_protocol)\n      continue;\n    else if (SORT_BY_MTHD == field && !conf.append_method)\n      continue;\n\n    can_sort = 1;\n    break;\n  }\n\n  return can_sort;\n}\n\n/* Parse all initial sort options from the config file.\n *\n * On error, function returns.\n * On success, panel metrics are sorted. */\nvoid\nparse_initial_sort (void) {\n  int i;\n  char module[SORT_MODULE_LEN], field[SORT_FIELD_LEN], order[SORT_ORDER_LEN];\n  for (i = 0; i < conf.sort_panel_idx; ++i) {\n    if (sscanf (conf.sort_panels[i], \"%15[^','],%11[^','],%4s\", module, field, order) != 3)\n      continue;\n    set_initial_sort (module, field, order);\n  }\n}\n\n/* Apply user defined sort */\nvoid\nsort_holder_items (GHolderItem *items, int size, GSort sort) {\n  switch (sort.field) {\n  case SORT_BY_HITS:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_num_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_num_asc);\n    break;\n  case SORT_BY_VISITORS:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_vis_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_vis_asc);\n    break;\n  case SORT_BY_DATA:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_data_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_data_asc);\n    break;\n  case SORT_BY_BW:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_bw_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_bw_asc);\n    break;\n  case SORT_BY_AVGTS:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_avgts_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_avgts_asc);\n    break;\n  case SORT_BY_CUMTS:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_cumts_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_cumts_asc);\n    break;\n  case SORT_BY_MAXTS:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_maxts_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_maxts_asc);\n    break;\n  case SORT_BY_PROT:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_proto_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_proto_asc);\n    break;\n  case SORT_BY_MTHD:\n    if (sort.sort == SORT_DESC)\n      qsort (items, size, sizeof (GHolderItem), cmp_mthd_desc);\n    else\n      qsort (items, size, sizeof (GHolderItem), cmp_mthd_asc);\n    break;\n  }\n}\n\n/* Sort raw numeric data in a descending order for the first run\n * (default sort)\n *\n * On success, raw data sorted in a descending order. */\nGRawData *\nsort_raw_num_data (GRawData *raw_data, int ht_size) {\n  qsort (raw_data->items, ht_size, sizeof *(raw_data->items), cmp_raw_num_desc);\n  return raw_data;\n}\n\n/* Sort raw string data in a descending order for the first run.\n *\n * On success, raw data sorted in a descending order. */\nGRawData *\nsort_raw_str_data (GRawData *raw_data, int ht_size) {\n  qsort (raw_data->items, ht_size, sizeof *(raw_data->items), cmp_raw_str_desc);\n  return raw_data;\n}\n"
  },
  {
    "path": "src/sort.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef SORT_H_INCLUDED\n#define SORT_H_INCLUDED\n\n#include \"commons.h\"\n#include \"parser.h\"\n\n#define SORT_MAX_OPTS   11\n\n/* See GEnum for mapping */\n#define SORT_FIELD_LEN  11 + 1 /* longest metric name */\n#define SORT_MODULE_LEN 15 + 1 /* longest module name */\n#define SORT_ORDER_LEN   4 + 1 /* length of ASC or DESC */\n\n/* Enumerated sorting metrics */\ntypedef enum GSortField_ {\n  SORT_BY_HITS,\n  SORT_BY_VISITORS,\n  SORT_BY_DATA,\n  SORT_BY_BW,\n  SORT_BY_AVGTS,\n  SORT_BY_CUMTS,\n  SORT_BY_MAXTS,\n  SORT_BY_PROT,\n  SORT_BY_MTHD,\n} GSortField;\n\n/* Enumerated sorting order */\ntypedef enum GSortOrder_ {\n  SORT_ASC,\n  SORT_DESC\n} GSortOrder;\n\n/* Sorting of each panel, metric and order */\ntypedef struct GSort_ {\n  GModule module;\n  GSortField field;\n  GSortOrder sort;\n} GSort;\n\nextern GSort module_sort[TOTAL_MODULES];\nextern const int sort_choices[][SORT_MAX_OPTS];\n\nGRawData *sort_raw_num_data (GRawData * raw_data, int ht_size);\nGRawData *sort_raw_str_data (GRawData * raw_data, int ht_size);\nconst char *get_sort_field_key (GSortField field);\nconst char *get_sort_field_str (GSortField field);\nconst char *get_sort_order_str (GSortOrder order);\nint can_sort_module (GModule module, int field);\nint get_sort_field_enum (const char *str);\nint get_sort_order_enum (const char *str);\nint strcmp_asc (const void *a, const void *b);\nint cmp_ui32_asc (const void *a, const void *b);\nint cmp_ui32_desc (const void *a, const void *b);\nvoid parse_initial_sort (void);\nvoid set_initial_sort (const char *smod, const char *sfield, const char *ssort);\nvoid sort_holder_items (GHolderItem * items, int size, GSort sort);\n\n#endif\n"
  },
  {
    "path": "src/tpl.c",
    "content": "/*\nCopyright (c) 2005-2013, Troy D. Hanson     http://troydhanson.github.com/tpl/\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\nIS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER\nOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n#define TPL_VERSION 1.6\n\n/*static const char id[]=\"$Id: tpl.c 192 2009-04-24 10:35:30Z thanson $\";*/\n\n\n#include <stdlib.h> /* malloc */\n#include <stdarg.h> /* va_list */\n#include <string.h> /* memcpy, memset, strchr */\n#include <stdio.h> /* printf (tpl_hook.oops default function) */\n\n#ifndef _WIN32\n#include <unistd.h> /* for ftruncate */\n#else\n#include <io.h>\n#define ftruncate(x,y) _chsize(x,y)\n#endif\n#include <sys/stat.h> /* for 'open' */\n#include <fcntl.h> /* for 'open' */\n#include <errno.h>\n#ifndef _WIN32\n#include <inttypes.h> /* uint32_t, uint64_t, etc */\n#else\ntypedef unsigned short ushort;\ntypedef __int16 int16_t;\ntypedef __int32 int32_t;\ntypedef __int64 int64_t;\ntypedef unsigned __int16 uint16_t;\ntypedef unsigned __int32 uint32_t;\ntypedef unsigned __int64 uint64_t;\n#endif\n\n#ifndef S_ISREG\n#define S_ISREG(mode)  (((mode) & S_IFMT) == S_IFREG)\n#endif\n\n#if ( defined __CYGWIN__ || defined __MINGW32__ || defined _WIN32 )\n#include \"win/mman.h\" /* mmap */\n#else\n#include <sys/mman.h> /* mmap */\n#endif\n\n#include \"tpl.h\"\n\n#define TPL_GATHER_BUFLEN 8192\n#define TPL_MAGIC \"tpl\"\n\n/* macro to add a structure to a doubly-linked list */\n#define DL_ADD(head,add)                                        \\\n    do {                                                        \\\n        if (head) {                                             \\\n            (add)->prev = (head)->prev;                         \\\n            (head)->prev->next = (add);                         \\\n            (head)->prev = (add);                               \\\n            (add)->next = NULL;                                 \\\n        } else {                                                \\\n            (head)=(add);                                       \\\n            (head)->prev = (head);                              \\\n            (head)->next = NULL;                                \\\n        }                                                       \\\n    } while (0);\n\n#define fatal_oom() tpl_hook.fatal(\"out of memory\\n\")\n\n/* bit flags (internal). preceded by the external flags in tpl.h */\n#define TPL_WRONLY         (1 << 9) /* app has initiated tpl packing  */\n#define TPL_RDONLY         (1 << 10) /* tpl was loaded (for unpacking) */\n#define TPL_XENDIAN        (1 << 11) /* swap endianness when unpacking */\n#define TPL_OLD_STRING_FMT (1 << 12) /* tpl has strings in 1.2 format */\n\n/* values for the flags byte that appears after the magic prefix */\n#define TPL_SUPPORTED_BITFLAGS 3\n#define TPL_FL_BIGENDIAN   (1 << 0)\n#define TPL_FL_NULLSTRINGS (1 << 1)\n\n/* char values for node type */\n#define TPL_TYPE_ROOT   0\n#define TPL_TYPE_INT32  1\n#define TPL_TYPE_UINT32 2\n#define TPL_TYPE_BYTE   3\n#define TPL_TYPE_STR    4\n#define TPL_TYPE_ARY    5\n#define TPL_TYPE_BIN    6\n#define TPL_TYPE_DOUBLE 7\n#define TPL_TYPE_INT64  8\n#define TPL_TYPE_UINT64 9\n#define TPL_TYPE_INT16  10\n#define TPL_TYPE_UINT16 11\n#define TPL_TYPE_POUND  12\n\n/* error codes */\n#define ERR_NOT_MINSIZE        (-1)\n#define ERR_MAGIC_MISMATCH     (-2)\n#define ERR_INCONSISTENT_SZ    (-3)\n#define ERR_FMT_INVALID        (-4)\n#define ERR_FMT_MISSING_NUL    (-5)\n#define ERR_FMT_MISMATCH       (-6)\n#define ERR_FLEN_MISMATCH      (-7)\n#define ERR_INCONSISTENT_SZ2   (-8)\n#define ERR_INCONSISTENT_SZ3   (-9)\n#define ERR_INCONSISTENT_SZ4   (-10)\n#define ERR_UNSUPPORTED_FLAGS  (-11)\n\n/* access to A(...) nodes by index */\ntypedef struct tpl_pidx {\n  struct tpl_node *node;\n  struct tpl_pidx *next, *prev;\n} tpl_pidx;\n\n/* A(...) node datum */\ntypedef struct tpl_atyp {\n  uint32_t num;                 /* num elements */\n  size_t sz;                    /* size of each backbone's datum */\n  struct tpl_backbone *bb, *bbtail;\n  void *cur;\n} tpl_atyp;\n\n/* backbone to extend A(...) lists dynamically */\ntypedef struct tpl_backbone {\n  struct tpl_backbone *next;\n  /* when this structure is malloc'd, extra space is alloc'd at the\n   * end to store the backbone \"datum\", and data points to it. */\n#if __STDC_VERSION__ < 199901\n  char *data;\n#else\n  char data[];\n#endif\n} tpl_backbone;\n\n/* mmap record */\ntypedef struct tpl_mmap_rec {\n  int fd;\n  void *text;\n  size_t text_sz;\n} tpl_mmap_rec;\n\n/* root node datum */\ntypedef struct tpl_root_data {\n  int flags;\n  tpl_pidx *pidx;\n  tpl_mmap_rec mmap;\n  char *fmt;\n  int *fxlens, num_fxlens;\n} tpl_root_data;\n\n/* node type to size mapping */\nstruct tpl_type_t {\n  char c;\n  int sz;\n};\n\n\n/* Internal prototypes */\nstatic tpl_node *tpl_node_new (tpl_node * parent);\nstatic tpl_node *tpl_find_i (tpl_node * n, int i);\nstatic void *tpl_cpv (void *datav, const void *data, size_t sz);\nstatic void *tpl_extend_backbone (tpl_node * n);\nstatic char *tpl_fmt (tpl_node * r);\nstatic void *tpl_dump_atyp (tpl_node * n, tpl_atyp * at, void *dv);\nstatic size_t tpl_ser_osz (tpl_node * n);\nstatic void tpl_free_atyp (tpl_node * n, tpl_atyp * atyp);\nstatic int tpl_dump_to_mem (tpl_node * r, void *addr, size_t sz);\nstatic int tpl_mmap_file (char *filename, tpl_mmap_rec * map_rec);\nstatic int tpl_mmap_output_file (char *filename, size_t sz, void **text_out);\nstatic int tpl_cpu_bigendian (void);\nstatic int tpl_needs_endian_swap (void *);\nstatic void tpl_byteswap (void *word, int len);\nstatic void tpl_fatal (const char *fmt, ...)\n  __attribute__((__format__ (printf, 1, 2))) __attribute__((__noreturn__));\nstatic int tpl_serlen (tpl_node * r, tpl_node * n, void *dv, size_t *serlen);\nstatic int tpl_unpackA0 (tpl_node * r);\nstatic int tpl_oops (const char *fmt, ...)\n  __attribute__((__format__ (printf, 1, 2)));\nstatic int tpl_gather_mem (char *buf, size_t len, tpl_gather_t ** gs,\n                           tpl_gather_cb * cb, void *data);\nstatic int tpl_gather_nonblocking (int fd, tpl_gather_t ** gs, tpl_gather_cb * cb, void *data);\nstatic int tpl_gather_blocking (int fd, void **img, size_t *sz);\n\n/* This is used internally to help calculate padding when a 'double'\n * follows a smaller datatype in a structure. Normally under gcc\n * on x86, d will be aligned at +4, however use of -malign-double\n * causes d to be aligned at +8 (this is actually faster on x86).\n * Also SPARC and x86_64 seem to align always on +8.\n */\nstruct tpl_double_alignment_detector {\n  char a;\n  double d;                     /* some platforms align this on +4, others on +8 */\n};\n\n/* this is another case where alignment varies. mac os x/gcc was observed\n * to align the int64_t at +4 under -m32 and at +8 under -m64 */\nstruct tpl_int64_alignment_detector {\n  int i;\n  int64_t j;                    /* some platforms align this on +4, others on +8 */\n};\n\ntypedef struct {\n  size_t inter_elt_len;         /* padded inter-element len; i.e. &a[1].field - &a[0].field */\n  tpl_node *iter_start_node;    /* node to jump back to, as we start each new iteration */\n  size_t iternum;               /* current iteration number (total req'd. iter's in n->num) */\n} tpl_pound_data;\n\n/* Hooks for customizing tpl mem alloc, error handling, etc. Set defaults. */\ntpl_hook_t tpl_hook = {\n  /* .oops =       */ tpl_oops,\n  /* .malloc =     */ malloc,\n  /* .realloc =    */ realloc,\n  /* .free =       */ free,\n  /* .fatal =      */ tpl_fatal,\n  /* .gather_max = */ 0\n    /* max tpl size (bytes) for tpl_gather */\n};\n\nstatic const char tpl_fmt_chars[] = \"AS($)BiucsfIUjv#\"; /* valid format chars */\n/* valid within S(...) */\n/* static const char tpl_S_fmt_chars[] = \"iucsfIUjv#$()\"; */\nstatic const char tpl_datapeek_ok_chars[] = \"iucsfIUjv\"; /* valid in datapeek */\nstatic const struct tpl_type_t tpl_types[] = {\n  /* [TPL_TYPE_ROOT] =   */ {'r', 0},\n  /* [TPL_TYPE_INT32] =  */ {'i', sizeof (int32_t)},\n  /* [TPL_TYPE_UINT32] = */ {'u', sizeof (uint32_t)},\n  /* [TPL_TYPE_BYTE] =   */ {'c', sizeof (char)},\n  /* [TPL_TYPE_STR] =    */ {'s', sizeof (char *)},\n  /* [TPL_TYPE_ARY] =    */ {'A', 0},\n  /* [TPL_TYPE_BIN] =    */ {'B', 0},\n  /* [TPL_TYPE_DOUBLE] = */ {'f', 8},\n  /* not sizeof(double) as that varies */\n  /* [TPL_TYPE_INT64] =  */ {'I', sizeof (int64_t)},\n  /* [TPL_TYPE_UINT64] = */ {'U', sizeof (uint64_t)},\n  /* [TPL_TYPE_INT16] =  */ {'j', sizeof (int16_t)},\n  /* [TPL_TYPE_UINT16] = */ {'v', sizeof (uint16_t)},\n  /* [TPL_TYPE_POUND] =  */ {'#', 0},\n};\n\n/* default error-reporting function. Just writes to stderr. */\nstatic int\ntpl_oops (const char *fmt, ...) {\n  va_list ap;\n  va_start (ap, fmt);\n  vfprintf (stderr, fmt, ap);\n  va_end (ap);\n  return 0;\n}\n\n\nstatic tpl_node *\ntpl_node_new (tpl_node *parent) {\n  tpl_node *n;\n  if ((n = tpl_hook.malloc (sizeof (tpl_node))) == NULL) {\n    fatal_oom ();\n  }\n  n->addr = NULL;\n  n->data = NULL;\n  n->num = 1;\n  n->ser_osz = 0;\n  n->children = NULL;\n  n->next = NULL;\n  n->parent = parent;\n  return n;\n}\n\n/* Used in S(..) formats to pack several fields from a structure based on\n * only the structure address. We need to calculate field addresses\n * manually taking into account the size of the fields and intervening padding.\n * The wrinkle is that double is not normally aligned on x86-32 but the\n * -malign-double compiler option causes it to be. Double are aligned\n * on Sparc, and apparently on 64 bit x86. We use a helper structure\n * to detect whether double is aligned in this compilation environment.\n */\nstatic char *\ncalc_field_addr (tpl_node *parent, int type, char *struct_addr, int ordinal) {\n  tpl_node *prev;\n  int offset;\n  int align_sz;\n\n  if (ordinal == 1)\n    return struct_addr; /* first field starts on structure address */\n\n  /* generate enough padding so field addr is divisible by it's align_sz. 4, 8, etc */\n  prev = parent->children->prev;\n  switch (type) {\n  case TPL_TYPE_DOUBLE:\n    align_sz = sizeof (struct tpl_double_alignment_detector) > 12 ? 8 : 4;\n    break;\n  case TPL_TYPE_INT64:\n  case TPL_TYPE_UINT64:\n    align_sz = sizeof (struct tpl_int64_alignment_detector) > 12 ? 8 : 4;\n    break;\n  default:\n    align_sz = tpl_types[type].sz;\n    break;\n  }\n  offset = ((uintptr_t) prev->addr - (uintptr_t) struct_addr)\n    + (tpl_types[prev->type].sz * prev->num);\n  offset = (offset + align_sz - 1) / align_sz * align_sz;\n  return struct_addr + offset;\n}\n\nTPL_API tpl_node *\ntpl_map (char *fmt, ...) {\n  va_list ap;\n  tpl_node *tn;\n\n  va_start (ap, fmt);\n  tn = tpl_map_va (fmt, ap);\n  va_end (ap);\n  return tn;\n}\n\nTPL_API tpl_node *\ntpl_map_va (char *fmt, va_list ap) {\n  int lparen_level = 0, expect_lparen = 0, t = 0, in_structure = 0, ordinal = 0;\n  int in_nested_structure = 0;\n  char *c, *peek, *struct_addr = NULL, *struct_next;\n  tpl_node *root, *parent, *n = NULL, *preceding, *iter_start_node = NULL,\n    *struct_widest_node = NULL, *np;\n  tpl_pidx *pidx;\n  tpl_pound_data *pd;\n  int *fxlens, num_fxlens, pound_num, pound_prod, applies_to_struct;\n  int contig_fxlens[10];        /* temp space for contiguous fxlens */\n  uint32_t num_contig_fxlens;\n  uint32_t i;\n  int j;\n  ptrdiff_t inter_elt_len = 0;  /* padded element length of contiguous structs in array */\n\n\n  root = tpl_node_new (NULL);\n  root->type = TPL_TYPE_ROOT;\n  root->data = (tpl_root_data *) tpl_hook.malloc (sizeof (tpl_root_data));\n  if (!root->data)\n    fatal_oom ();\n  memset ((tpl_root_data *) root->data, 0, sizeof (tpl_root_data));\n\n  /* set up root nodes special ser_osz to reflect overhead of preamble */\n  root->ser_osz = sizeof (uint32_t); /* tpl leading length */\n  root->ser_osz += strlen (fmt) + 1; /* fmt + NUL-terminator */\n  root->ser_osz += 4; /* 'tpl' magic prefix + flags byte */\n\n  parent = root;\n\n  c = fmt;\n  while (*c != '\\0') {\n    switch (*c) {\n    case 'c':\n    case 'i':\n    case 'u':\n    case 'j':\n    case 'v':\n    case 'I':\n    case 'U':\n    case 'f':\n      if (*c == 'c')\n        t = TPL_TYPE_BYTE;\n      else if (*c == 'i')\n        t = TPL_TYPE_INT32;\n      else if (*c == 'u')\n        t = TPL_TYPE_UINT32;\n      else if (*c == 'j')\n        t = TPL_TYPE_INT16;\n      else if (*c == 'v')\n        t = TPL_TYPE_UINT16;\n      else if (*c == 'I')\n        t = TPL_TYPE_INT64;\n      else if (*c == 'U')\n        t = TPL_TYPE_UINT64;\n      else if (*c == 'f')\n        t = TPL_TYPE_DOUBLE;\n\n      if (expect_lparen)\n        goto fail;\n      n = tpl_node_new (parent);\n      n->type = t;\n      if (in_structure) {\n        if (ordinal == 1) {\n          /* for S(...)# iteration. Apply any changes to case 's' too!!! */\n          iter_start_node = n;\n          struct_widest_node = n;\n        }\n        if (tpl_types[n->type].sz > tpl_types[struct_widest_node->type].sz) {\n          struct_widest_node = n;\n        }\n        n->addr = calc_field_addr (parent, n->type, struct_addr, ordinal++);\n      } else\n        n->addr = (void *) va_arg (ap, void *);\n      n->data = tpl_hook.malloc (tpl_types[t].sz);\n      if (!n->data)\n        fatal_oom ();\n      if (n->parent->type == TPL_TYPE_ARY)\n        ((tpl_atyp *) (n->parent->data))->sz += tpl_types[t].sz;\n      DL_ADD (parent->children, n);\n      break;\n    case 's':\n      if (expect_lparen)\n        goto fail;\n      n = tpl_node_new (parent);\n      n->type = TPL_TYPE_STR;\n      if (in_structure) {\n        if (ordinal == 1) {\n          iter_start_node = n; /* for S(...)# iteration */\n          struct_widest_node = n;\n        }\n        if (tpl_types[n->type].sz > tpl_types[struct_widest_node->type].sz) {\n          struct_widest_node = n;\n        }\n        n->addr = calc_field_addr (parent, n->type, struct_addr, ordinal++);\n      } else\n        n->addr = (void *) va_arg (ap, void *);\n      n->data = tpl_hook.malloc (sizeof (char *));\n      if (!n->data)\n        fatal_oom ();\n      *(char **) (n->data) = NULL;\n      if (n->parent->type == TPL_TYPE_ARY)\n        ((tpl_atyp *) (n->parent->data))->sz += sizeof (void *);\n      DL_ADD (parent->children, n);\n      break;\n    case '#':\n      /* apply a 'num' to preceding atom */\n      if (!parent->children)\n        goto fail;\n      preceding = parent->children->prev; /* first child's prev is 'last child' */\n      t = preceding->type;\n      applies_to_struct = (*(c - 1) == ')') ? 1 : 0;\n      if (!applies_to_struct) {\n        if (!(t == TPL_TYPE_BYTE || t == TPL_TYPE_INT32 ||\n              t == TPL_TYPE_UINT32 || t == TPL_TYPE_DOUBLE ||\n              t == TPL_TYPE_UINT64 || t == TPL_TYPE_INT64 ||\n              t == TPL_TYPE_UINT16 || t == TPL_TYPE_INT16 || t == TPL_TYPE_STR))\n          goto fail;\n      }\n      /* count up how many contiguous # and form their product */\n      pound_prod = 1;\n      num_contig_fxlens = 0;\n      for (peek = c; *peek == '#'; peek++) {\n        pound_num = va_arg (ap, int);\n        if (pound_num < 1) {\n          tpl_hook.fatal (\"non-positive iteration count %d\\n\", pound_num);\n        }\n        if (num_contig_fxlens >= (sizeof (contig_fxlens) / sizeof (contig_fxlens[0]))) {\n          tpl_hook.fatal (\"contiguous # exceeds hardcoded limit\\n\");\n        }\n        contig_fxlens[num_contig_fxlens++] = pound_num;\n        pound_prod *= pound_num;\n      }\n      /* increment c to skip contiguous # so its points to last one */\n      c = peek - 1;\n      /* differentiate atom-# from struct-# by noting preceding rparen */\n      if (applies_to_struct) { /* insert # node to induce looping */\n        n = tpl_node_new (parent);\n        n->type = TPL_TYPE_POUND;\n        n->num = pound_prod;\n        n->data = tpl_hook.malloc (sizeof (tpl_pound_data));\n        if (!n->data)\n          fatal_oom ();\n        pd = (tpl_pound_data *) n->data;\n        pd->inter_elt_len = inter_elt_len;\n        pd->iter_start_node = iter_start_node;\n        pd->iternum = 0;\n        DL_ADD (parent->children, n);\n        /* multiply the 'num' and data space on each atom in the structure */\n        for (np = iter_start_node; np != n; np = np->next) {\n          if (n->parent->type == TPL_TYPE_ARY) {\n            ((tpl_atyp *) (n->parent->data))->sz +=\n              tpl_types[np->type].sz * (np->num * (n->num - 1));\n          }\n          np->data = tpl_hook.realloc (np->data, tpl_types[np->type].sz * np->num * n->num);\n          if (!np->data)\n            fatal_oom ();\n          memset (np->data, 0, tpl_types[np->type].sz * np->num * n->num);\n        }\n      } else {  /* simple atom-# form does not require a loop */\n        preceding->num = pound_prod;\n        preceding->data = tpl_hook.realloc (preceding->data, tpl_types[t].sz * preceding->num);\n        if (!preceding->data)\n          fatal_oom ();\n        memset (preceding->data, 0, tpl_types[t].sz * preceding->num);\n        if (n->parent->type == TPL_TYPE_ARY) {\n          ((tpl_atyp *) (n->parent->data))->sz += tpl_types[t].sz * (preceding->num - 1);\n        }\n      }\n      root->ser_osz += (sizeof (uint32_t) * num_contig_fxlens);\n\n      j = ((tpl_root_data *) root->data)->num_fxlens; /* before incrementing */\n      (((tpl_root_data *) root->data)->num_fxlens) += num_contig_fxlens;\n      num_fxlens = ((tpl_root_data *) root->data)->num_fxlens; /* new value */\n      fxlens = ((tpl_root_data *) root->data)->fxlens;\n      fxlens = tpl_hook.realloc (fxlens, sizeof (int) * num_fxlens);\n      if (!fxlens)\n        fatal_oom ();\n      ((tpl_root_data *) root->data)->fxlens = fxlens;\n      for (i = 0; i < num_contig_fxlens; i++)\n        fxlens[j++] = contig_fxlens[i];\n\n      break;\n    case 'B':\n      if (expect_lparen)\n        goto fail;\n      if (in_structure)\n        goto fail;\n      n = tpl_node_new (parent);\n      n->type = TPL_TYPE_BIN;\n      n->addr = (tpl_bin *) va_arg (ap, void *);\n      n->data = tpl_hook.malloc (sizeof (tpl_bin *));\n      if (!n->data)\n        fatal_oom ();\n      *((tpl_bin **) n->data) = NULL;\n      if (n->parent->type == TPL_TYPE_ARY)\n        ((tpl_atyp *) (n->parent->data))->sz += sizeof (tpl_bin);\n      DL_ADD (parent->children, n);\n      break;\n    case 'A':\n      if (in_structure)\n        goto fail;\n      n = tpl_node_new (parent);\n      n->type = TPL_TYPE_ARY;\n      DL_ADD (parent->children, n);\n      parent = n;\n      expect_lparen = 1;\n      pidx = (tpl_pidx *) tpl_hook.malloc (sizeof (tpl_pidx));\n      if (!pidx)\n        fatal_oom ();\n      pidx->node = n;\n      pidx->next = NULL;\n      DL_ADD (((tpl_root_data *) (root->data))->pidx, pidx);\n      /* set up the A's tpl_atyp */\n      n->data = (tpl_atyp *) tpl_hook.malloc (sizeof (tpl_atyp));\n      if (!n->data)\n        fatal_oom ();\n      ((tpl_atyp *) (n->data))->num = 0;\n      ((tpl_atyp *) (n->data))->sz = 0;\n      ((tpl_atyp *) (n->data))->bb = NULL;\n      ((tpl_atyp *) (n->data))->bbtail = NULL;\n      ((tpl_atyp *) (n->data))->cur = NULL;\n      if (n->parent->type == TPL_TYPE_ARY)\n        ((tpl_atyp *) (n->parent->data))->sz += sizeof (void *);\n      break;\n    case 'S':\n      if (in_structure)\n        goto fail;\n      expect_lparen = 1;\n      ordinal = 1; /* index upcoming atoms in S(..) */\n      in_structure = 1 + lparen_level; /* so we can tell where S fmt ends */\n      struct_addr = (char *) va_arg (ap, void *);\n      break;\n    case '$':  /* nested structure */\n      if (!in_structure)\n        goto fail;\n      expect_lparen = 1;\n      in_nested_structure++;\n      break;\n    case ')':\n      lparen_level--;\n      if (lparen_level < 0)\n        goto fail;\n      if (*(c - 1) == '(')\n        goto fail;\n      if (in_nested_structure)\n        in_nested_structure--;\n      else if (in_structure && (in_structure - 1 == lparen_level)) {\n        /* calculate delta between contiguous structures in array */\n        struct_next = calc_field_addr (parent, struct_widest_node->type, struct_addr, ordinal++);\n        inter_elt_len = struct_next - struct_addr;\n        in_structure = 0;\n      } else\n        parent = parent->parent; /* rparen ends A() type, not S() type */\n      break;\n    case '(':\n      if (!expect_lparen)\n        goto fail;\n      expect_lparen = 0;\n      lparen_level++;\n      break;\n    default:\n      tpl_hook.oops (\"unsupported option %c\\n\", *c);\n      goto fail;\n    }\n    c++;\n  }\n  if (lparen_level != 0)\n    goto fail;\n\n  /* copy the format string, save for convenience */\n  ((tpl_root_data *) (root->data))->fmt = tpl_hook.malloc (strlen (fmt) + 1);\n  if (((tpl_root_data *) (root->data))->fmt == NULL)\n    fatal_oom ();\n  memcpy (((tpl_root_data *) (root->data))->fmt, fmt, strlen (fmt) + 1);\n\n  return root;\n\nfail:\n  tpl_hook.oops (\"failed to parse %s\\n\", fmt);\n  tpl_free (root);\n  return NULL;\n}\n\nstatic int\ntpl_unmap_file (tpl_mmap_rec *mr) {\n\n  if (munmap (mr->text, mr->text_sz) == -1) {\n    tpl_hook.oops (\"Failed to munmap: %s\\n\", strerror (errno));\n  }\n  close (mr->fd);\n  mr->text = NULL;\n  mr->text_sz = 0;\n  return 0;\n}\n\nstatic void\ntpl_free_keep_map (tpl_node *r) {\n  int mmap_bits = (TPL_RDONLY | TPL_FILE);\n  int ufree_bits = (TPL_MEM | TPL_UFREE);\n  tpl_node *nxtc, *c;\n  int find_next_node = 0, looking, i;\n  size_t sz;\n\n  /* For mmap'd files, or for 'ufree' memory images , do appropriate release */\n  if ((((tpl_root_data *) (r->data))->flags & mmap_bits) == mmap_bits) {\n    tpl_unmap_file (&((tpl_root_data *) (r->data))->mmap);\n  } else if ((((tpl_root_data *) (r->data))->flags & ufree_bits) == ufree_bits) {\n    tpl_hook.free (((tpl_root_data *) (r->data))->mmap.text);\n  }\n\n  c = r->children;\n  if (c) {\n    while (c->type != TPL_TYPE_ROOT) { /* loop until we come back to root node */\n      switch (c->type) {\n      case TPL_TYPE_BIN:\n        /* free any binary buffer hanging from tpl_bin */\n        if (*((tpl_bin **) (c->data))) {\n          if ((*((tpl_bin **) (c->data)))->addr) {\n            tpl_hook.free ((*((tpl_bin **) (c->data)))->addr);\n          }\n          *((tpl_bin **) c->data) = NULL; /* reset tpl_bin */\n        }\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_STR:\n        /* free any packed (copied) string */\n        for (i = 0; i < c->num; i++) {\n          char *str = ((char **) c->data)[i];\n          if (str) {\n            tpl_hook.free (str);\n            ((char **) c->data)[i] = NULL;\n          }\n        }\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_INT32:\n      case TPL_TYPE_UINT32:\n      case TPL_TYPE_INT64:\n      case TPL_TYPE_UINT64:\n      case TPL_TYPE_BYTE:\n      case TPL_TYPE_DOUBLE:\n      case TPL_TYPE_INT16:\n      case TPL_TYPE_UINT16:\n      case TPL_TYPE_POUND:\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_ARY:\n        c->ser_osz = 0; /* zero out the serialization output size */\n\n        sz = ((tpl_atyp *) (c->data))->sz; /* save sz to use below */\n        tpl_free_atyp (c, c->data);\n\n        /* make new atyp */\n        c->data = (tpl_atyp *) tpl_hook.malloc (sizeof (tpl_atyp));\n        if (!c->data)\n          fatal_oom ();\n        ((tpl_atyp *) (c->data))->num = 0;\n        ((tpl_atyp *) (c->data))->sz = sz; /* restore bb datum sz */\n        ((tpl_atyp *) (c->data))->bb = NULL;\n        ((tpl_atyp *) (c->data))->bbtail = NULL;\n        ((tpl_atyp *) (c->data))->cur = NULL;\n\n        c = c->children;\n        break;\n      default:\n        tpl_hook.fatal (\"unsupported format character\\n\");\n        break;\n      }\n\n      if (find_next_node) {\n        find_next_node = 0;\n        looking = 1;\n        while (looking) {\n          if (c->next) {\n            nxtc = c->next;\n            c = nxtc;\n            looking = 0;\n          } else {\n            if (c->type == TPL_TYPE_ROOT)\n              break; /* root node */\n            else {\n              nxtc = c->parent;\n              c = nxtc;\n            }\n          }\n        }\n      }\n    }\n  }\n\n  ((tpl_root_data *) (r->data))->flags = 0; /* reset flags */\n}\n\nTPL_API void\ntpl_free (tpl_node *r) {\n  int mmap_bits = (TPL_RDONLY | TPL_FILE);\n  int ufree_bits = (TPL_MEM | TPL_UFREE);\n  tpl_node *nxtc, *c;\n  int find_next_node = 0, looking, num, i;\n  tpl_pidx *pidx, *pidx_nxt;\n\n  /* For mmap'd files, or for 'ufree' memory images , do appropriate release */\n  if ((((tpl_root_data *) (r->data))->flags & mmap_bits) == mmap_bits) {\n    tpl_unmap_file (&((tpl_root_data *) (r->data))->mmap);\n  } else if ((((tpl_root_data *) (r->data))->flags & ufree_bits) == ufree_bits) {\n    tpl_hook.free (((tpl_root_data *) (r->data))->mmap.text);\n  }\n\n  c = r->children;\n  if (c) {\n    while (c->type != TPL_TYPE_ROOT) { /* loop until we come back to root node */\n      switch (c->type) {\n      case TPL_TYPE_BIN:\n        /* free any binary buffer hanging from tpl_bin */\n        if (*((tpl_bin **) (c->data))) {\n          if ((*((tpl_bin **) (c->data)))->sz != 0) {\n            tpl_hook.free ((*((tpl_bin **) (c->data)))->addr);\n          }\n          tpl_hook.free (*((tpl_bin **) c->data)); /* free tpl_bin */\n        }\n        tpl_hook.free (c->data); /* free tpl_bin* */\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_STR:\n        /* free any packed (copied) string */\n        num = 1;\n        nxtc = c->next;\n        while (nxtc) {\n          if (nxtc->type == TPL_TYPE_POUND) {\n            num = nxtc->num;\n          }\n          nxtc = nxtc->next;\n        }\n        for (i = 0; i < c->num * num; i++) {\n          char *str = ((char **) c->data)[i];\n          if (str) {\n            tpl_hook.free (str);\n            ((char **) c->data)[i] = NULL;\n          }\n        }\n        tpl_hook.free (c->data);\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_INT32:\n      case TPL_TYPE_UINT32:\n      case TPL_TYPE_INT64:\n      case TPL_TYPE_UINT64:\n      case TPL_TYPE_BYTE:\n      case TPL_TYPE_DOUBLE:\n      case TPL_TYPE_INT16:\n      case TPL_TYPE_UINT16:\n      case TPL_TYPE_POUND:\n        tpl_hook.free (c->data);\n        find_next_node = 1;\n        break;\n      case TPL_TYPE_ARY:\n        tpl_free_atyp (c, c->data);\n        if (c->children)\n          c = c->children; /* normal case */\n        else\n          find_next_node = 1; /* edge case, handle bad format A() */\n        break;\n      default:\n        tpl_hook.fatal (\"unsupported format character\\n\");\n        break;\n      }\n\n      if (find_next_node) {\n        find_next_node = 0;\n        looking = 1;\n        while (looking) {\n          if (c->next) {\n            nxtc = c->next;\n            tpl_hook.free (c);\n            c = nxtc;\n            looking = 0;\n          } else {\n            if (c->type == TPL_TYPE_ROOT)\n              break; /* root node */\n            else {\n              nxtc = c->parent;\n              tpl_hook.free (c);\n              c = nxtc;\n            }\n          }\n        }\n      }\n    }\n  }\n\n  /* free root */\n  for (pidx = ((tpl_root_data *) (r->data))->pidx; pidx; pidx = pidx_nxt) {\n    pidx_nxt = pidx->next;\n    tpl_hook.free (pidx);\n  }\n  tpl_hook.free (((tpl_root_data *) (r->data))->fmt);\n  if (((tpl_root_data *) (r->data))->num_fxlens > 0) {\n    tpl_hook.free (((tpl_root_data *) (r->data))->fxlens);\n  }\n  tpl_hook.free (r->data); /* tpl_root_data */\n  tpl_hook.free (r);\n}\n\n\n/* Find the i'th packable ('A' node) */\nstatic tpl_node *\ntpl_find_i (tpl_node *n, int i) {\n  int j = 0;\n  tpl_pidx *pidx;\n  if (n->type != TPL_TYPE_ROOT)\n    return NULL;\n  if (i == 0)\n    return n;   /* packable 0 is root */\n  for (pidx = ((tpl_root_data *) (n->data))->pidx; pidx; pidx = pidx->next) {\n    if (++j == i)\n      return pidx->node;\n  }\n  return NULL;\n}\n\nstatic void *\ntpl_cpv (void *datav, const void *data, size_t sz) {\n  if (sz > 0)\n    memcpy (datav, data, sz);\n  return (void *) ((uintptr_t) datav + sz);\n}\n\nstatic void *\ntpl_extend_backbone (tpl_node *n) {\n  tpl_backbone *bb;\n  bb = (tpl_backbone *) tpl_hook.malloc (sizeof (tpl_backbone) + ((tpl_atyp *) (n->data))->sz); /* datum hangs on coattails of bb */\n  if (!bb)\n    fatal_oom ();\n#if __STDC_VERSION__ < 199901\n  bb->data = (char *) ((uintptr_t) bb + sizeof (tpl_backbone));\n#endif\n  memset (bb->data, 0, ((tpl_atyp *) (n->data))->sz);\n  bb->next = NULL;\n  /* Add the new backbone to the tail, also setting head if necessary  */\n  if (((tpl_atyp *) (n->data))->bb == NULL) {\n    ((tpl_atyp *) (n->data))->bb = bb;\n    ((tpl_atyp *) (n->data))->bbtail = bb;\n  } else {\n    ((tpl_atyp *) (n->data))->bbtail->next = bb;\n    ((tpl_atyp *) (n->data))->bbtail = bb;\n  }\n\n  ((tpl_atyp *) (n->data))->num++;\n  return bb->data;\n}\n\n/* Get the format string corresponding to a given tpl (root node) */\nstatic char *\ntpl_fmt (tpl_node *r) {\n  return ((tpl_root_data *) (r->data))->fmt;\n}\n\n/* Get the fmt # lengths as a contiguous buffer of ints (length num_fxlens) */\nstatic int *\ntpl_fxlens (tpl_node *r, int *num_fxlens) {\n  *num_fxlens = ((tpl_root_data *) (r->data))->num_fxlens;\n  return ((tpl_root_data *) (r->data))->fxlens;\n}\n\n/* called when serializing an 'A' type node into a buffer which has\n * already been set up with the proper space. The backbone is walked\n * which was obtained from the tpl_atyp header passed in.\n */\nstatic void *\ntpl_dump_atyp (tpl_node *n, tpl_atyp *at, void *dv) {\n  tpl_backbone *bb;\n  tpl_node *c;\n  void *datav;\n  uint32_t slen;\n  tpl_bin *binp;\n  char *strp;\n  tpl_atyp *atypp;\n  tpl_pound_data *pd;\n  int i;\n  size_t itermax;\n\n  /* handle 'A' nodes */\n  dv = tpl_cpv (dv, &at->num, sizeof (uint32_t)); /* array len */\n  for (bb = at->bb; bb; bb = bb->next) {\n    datav = bb->data;\n    c = n->children;\n    while (c) {\n      switch (c->type) {\n      case TPL_TYPE_BYTE:\n      case TPL_TYPE_DOUBLE:\n      case TPL_TYPE_INT32:\n      case TPL_TYPE_UINT32:\n      case TPL_TYPE_INT64:\n      case TPL_TYPE_UINT64:\n      case TPL_TYPE_INT16:\n      case TPL_TYPE_UINT16:\n        dv = tpl_cpv (dv, datav, tpl_types[c->type].sz * c->num);\n        datav = (void *) ((uintptr_t) datav + tpl_types[c->type].sz * c->num);\n        break;\n      case TPL_TYPE_BIN:\n        /* dump the buffer length followed by the buffer */\n        memcpy (&binp, datav, sizeof (tpl_bin *)); /* cp to aligned */\n        slen = binp->sz;\n        dv = tpl_cpv (dv, &slen, sizeof (uint32_t));\n        dv = tpl_cpv (dv, binp->addr, slen);\n        datav = (void *) ((uintptr_t) datav + sizeof (tpl_bin *));\n        break;\n      case TPL_TYPE_STR:\n        /* dump the string length followed by the string */\n        for (i = 0; i < c->num; i++) {\n          memcpy (&strp, datav, sizeof (char *)); /* cp to aligned */\n          slen = strp ? (strlen (strp) + 1) : 0;\n          dv = tpl_cpv (dv, &slen, sizeof (uint32_t));\n          if (slen > 1)\n            dv = tpl_cpv (dv, strp, slen - 1);\n          datav = (void *) ((uintptr_t) datav + sizeof (char *));\n        }\n        break;\n      case TPL_TYPE_ARY:\n        memcpy (&atypp, datav, sizeof (tpl_atyp *)); /* cp to aligned */\n        dv = tpl_dump_atyp (c, atypp, dv);\n        datav = (void *) ((uintptr_t) datav + sizeof (void *));\n        break;\n      case TPL_TYPE_POUND:\n        /* iterate over the preceding nodes */\n        pd = (tpl_pound_data *) c->data;\n        itermax = c->num;\n        if (++(pd->iternum) < itermax) {\n          c = pd->iter_start_node;\n          continue;\n        } else { /* loop complete. */\n          pd->iternum = 0;\n        }\n        break;\n      default:\n        tpl_hook.fatal (\"unsupported format character\\n\");\n        break;\n      }\n      c = c->next;\n    }\n  }\n  return dv;\n}\n\n/* figure the serialization output size needed for tpl whose root is n*/\nstatic size_t\ntpl_ser_osz (tpl_node *n) {\n  tpl_node *c, *np;\n  size_t sz, itermax;\n  tpl_bin *binp;\n  char *strp;\n  tpl_pound_data *pd;\n  int i;\n\n  /* handle the root node ONLY (subtree's ser_osz have been bubbled-up) */\n  if (n->type != TPL_TYPE_ROOT) {\n    tpl_hook.fatal (\"internal error: tpl_ser_osz on non-root node\\n\");\n  }\n\n  sz = n->ser_osz; /* start with fixed overhead, already stored */\n  c = n->children;\n  while (c) {\n    switch (c->type) {\n    case TPL_TYPE_BYTE:\n    case TPL_TYPE_DOUBLE:\n    case TPL_TYPE_INT32:\n    case TPL_TYPE_UINT32:\n    case TPL_TYPE_INT64:\n    case TPL_TYPE_UINT64:\n    case TPL_TYPE_INT16:\n    case TPL_TYPE_UINT16:\n      sz += tpl_types[c->type].sz * c->num;\n      break;\n    case TPL_TYPE_BIN:\n      sz += sizeof (uint32_t); /* binary buf len */\n      memcpy (&binp, c->data, sizeof (tpl_bin *)); /* cp to aligned */\n      sz += binp->sz;\n      break;\n    case TPL_TYPE_STR:\n      for (i = 0; i < c->num; i++) {\n        sz += sizeof (uint32_t); /* string len */\n        memcpy (&strp, &((char **) c->data)[i], sizeof (char *)); /* cp to aligned */\n        sz += strp ? strlen (strp) : 0;\n      }\n      break;\n    case TPL_TYPE_ARY:\n      sz += sizeof (uint32_t); /* array len */\n      sz += c->ser_osz; /* bubbled-up child array ser_osz */\n      break;\n    case TPL_TYPE_POUND:\n      /* iterate over the preceding nodes */\n      itermax = c->num;\n      pd = (tpl_pound_data *) c->data;\n      if (++(pd->iternum) < itermax) {\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->data = (char *) (np->data) + (tpl_types[np->type].sz * np->num);\n        }\n        c = pd->iter_start_node;\n        continue;\n      } else {  /* loop complete. */\n        pd->iternum = 0;\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->data = (char *) (np->data) - ((itermax - 1) * tpl_types[np->type].sz * np->num);\n        }\n      }\n      break;\n    default:\n      tpl_hook.fatal (\"unsupported format character\\n\");\n      break;\n    }\n    c = c->next;\n  }\n  return sz;\n}\n\n\nTPL_API int\ntpl_dump (tpl_node *r, int mode, ...) {\n  va_list ap;\n  char *filename, *bufv;\n  void **addr_out, *buf, *pa_addr;\n  int fd, rc = 0;\n  size_t sz, *sz_out, pa_sz;\n  struct stat sbuf;\n\n  if (((tpl_root_data *) (r->data))->flags & TPL_RDONLY) { /* unusual */\n    tpl_hook.oops (\"error: tpl_dump called for a loaded tpl\\n\");\n    return -1;\n  }\n\n  sz = tpl_ser_osz (r); /* compute the size needed to serialize  */\n\n  va_start (ap, mode);\n  if (mode & TPL_FILE) {\n    filename = va_arg (ap, char *);\n    fd = tpl_mmap_output_file (filename, sz, &buf);\n    if (fd == -1)\n      rc = -1;\n    else {\n      rc = tpl_dump_to_mem (r, buf, sz);\n      if (msync (buf, sz, MS_SYNC) == -1) {\n        tpl_hook.oops (\"msync failed on fd %d: %s\\n\", fd, strerror (errno));\n      }\n      if (munmap (buf, sz) == -1) {\n        tpl_hook.oops (\"munmap failed on fd %d: %s\\n\", fd, strerror (errno));\n      }\n      close (fd);\n    }\n  } else if (mode & TPL_FD) {\n    fd = va_arg (ap, int);\n    if ((buf = tpl_hook.malloc (sz)) == NULL)\n      fatal_oom ();\n    tpl_dump_to_mem (r, buf, sz);\n    bufv = buf;\n    do {\n      rc = write (fd, bufv, sz);\n      if (rc > 0) {\n        sz -= rc;\n        bufv += rc;\n      } else if (rc == -1) {\n        if (errno == EINTR || errno == EAGAIN)\n          continue;\n        tpl_hook.oops (\"error writing to fd %d: %s\\n\", fd, strerror (errno));\n        /* attempt to rewind partial write to a regular file */\n        if (fstat (fd, &sbuf) == 0 && S_ISREG (sbuf.st_mode)) {\n          if (ftruncate (fd, sbuf.st_size - (bufv - (char *) buf)) == -1) {\n            tpl_hook.oops (\"can't rewind: %s\\n\", strerror (errno));\n          }\n        }\n        free (buf);\n        va_end (ap);\n        return -1;\n      }\n    } while (sz > 0);\n    free (buf);\n    rc = 0;\n  } else if (mode & TPL_MEM) {\n    if (mode & TPL_PREALLOCD) { /* caller allocated */\n      pa_addr = (void *) va_arg (ap, void *);\n      pa_sz = va_arg (ap, size_t);\n      if (pa_sz < sz) {\n        tpl_hook.oops (\"tpl_dump: buffer too small, need %zu bytes\\n\", sz);\n        va_end (ap);\n        return -1;\n      }\n      rc = tpl_dump_to_mem (r, pa_addr, sz);\n    } else {    /* we allocate */\n      addr_out = (void **) va_arg (ap, void *);\n      sz_out = va_arg (ap, size_t *);\n      if ((buf = tpl_hook.malloc (sz)) == NULL)\n        fatal_oom ();\n      *sz_out = sz;\n      *addr_out = buf;\n      rc = tpl_dump_to_mem (r, buf, sz);\n    }\n  } else if (mode & TPL_GETSIZE) {\n    sz_out = va_arg (ap, size_t *);\n    *sz_out = sz;\n  } else {\n    tpl_hook.oops (\"unsupported tpl_dump mode %d\\n\", mode);\n    rc = -1;\n  }\n  va_end (ap);\n  return rc;\n}\n\n/* This function expects the caller to have set up a memory buffer of\n * adequate size to hold the serialized tpl. The sz parameter must be\n * the result of tpl_ser_osz(r).\n */\nstatic int\ntpl_dump_to_mem (tpl_node *r, void *addr, size_t sz) {\n  uint32_t slen, sz32;\n  int *fxlens, num_fxlens, i;\n  void *dv;\n  char *fmt, flags;\n  tpl_node *c, *np;\n  tpl_pound_data *pd;\n  size_t itermax;\n\n  fmt = tpl_fmt (r);\n  flags = 0;\n  if (tpl_cpu_bigendian ())\n    flags |= TPL_FL_BIGENDIAN;\n  if (strchr (fmt, 's'))\n    flags |= TPL_FL_NULLSTRINGS;\n  sz32 = sz;\n\n  dv = addr;\n  dv = tpl_cpv (dv, TPL_MAGIC, 3); /* copy tpl magic prefix */\n  dv = tpl_cpv (dv, &flags, 1); /* copy flags byte */\n  dv = tpl_cpv (dv, &sz32, sizeof (uint32_t)); /* overall length (inclusive) */\n  dv = tpl_cpv (dv, fmt, strlen (fmt) + 1); /* copy format with NUL-term */\n  fxlens = tpl_fxlens (r, &num_fxlens);\n  dv = tpl_cpv (dv, fxlens, num_fxlens * sizeof (uint32_t)); /* fmt # lengths */\n\n  /* serialize the tpl content, iterating over direct children of root */\n  c = r->children;\n  while (c) {\n    switch (c->type) {\n    case TPL_TYPE_BYTE:\n    case TPL_TYPE_DOUBLE:\n    case TPL_TYPE_INT32:\n    case TPL_TYPE_UINT32:\n    case TPL_TYPE_INT64:\n    case TPL_TYPE_UINT64:\n    case TPL_TYPE_INT16:\n    case TPL_TYPE_UINT16:\n      dv = tpl_cpv (dv, c->data, tpl_types[c->type].sz * c->num);\n      break;\n    case TPL_TYPE_BIN:\n      slen = (*(tpl_bin **) (c->data))->sz;\n      dv = tpl_cpv (dv, &slen, sizeof (uint32_t)); /* buffer len */\n      dv = tpl_cpv (dv, (*(tpl_bin **) (c->data))->addr, slen); /* buf */\n      break;\n    case TPL_TYPE_STR:\n      for (i = 0; i < c->num; i++) {\n        char *str = ((char **) c->data)[i];\n        slen = str ? strlen (str) + 1 : 0;\n        dv = tpl_cpv (dv, &slen, sizeof (uint32_t)); /* string len */\n        if (slen > 1)\n          dv = tpl_cpv (dv, str, slen - 1); /*string */\n      }\n      break;\n    case TPL_TYPE_ARY:\n      dv = tpl_dump_atyp (c, (tpl_atyp *) c->data, dv);\n      break;\n    case TPL_TYPE_POUND:\n      pd = (tpl_pound_data *) c->data;\n      itermax = c->num;\n      if (++(pd->iternum) < itermax) {\n\n        /* in start or midst of loop. advance data pointers. */\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->data = (char *) (np->data) + (tpl_types[np->type].sz * np->num);\n        }\n        /* do next iteration */\n        c = pd->iter_start_node;\n        continue;\n\n      } else {  /* loop complete. */\n\n        /* reset iteration index and addr/data pointers. */\n        pd->iternum = 0;\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->data = (char *) (np->data) - ((itermax - 1) * tpl_types[np->type].sz * np->num);\n        }\n\n      }\n      break;\n    default:\n      tpl_hook.fatal (\"unsupported format character\\n\");\n      break;\n    }\n    c = c->next;\n  }\n\n  return 0;\n}\n\nstatic int\ntpl_cpu_bigendian (void) {\n  unsigned i = 1;\n  char *c;\n  c = (char *) &i;\n  return (c[0] == 1 ? 0 : 1);\n}\n\n\n/*\n * algorithm for sanity-checking a tpl image:\n * scan the tpl whilst not exceeding the buffer size (bufsz) ,\n * formulating a calculated (expected) size of the tpl based\n * on walking its data. When calcsize has been calculated it\n * should exactly match the buffer size (bufsz) and the internal\n * recorded size (intlsz)\n */\nstatic int\ntpl_sanity (tpl_node *r, int excess_ok) {\n  uint32_t intlsz;\n  int found_nul = 0, rc, octothorpes = 0, num_fxlens, *fxlens, flen;\n  void *d, *dv;\n  char intlflags, *fmt, c, *mapfmt;\n  size_t bufsz, serlen;\n\n  d = ((tpl_root_data *) (r->data))->mmap.text;\n  bufsz = ((tpl_root_data *) (r->data))->mmap.text_sz;\n\n  dv = d;\n  if (bufsz < (4 + sizeof (uint32_t) + 1))\n    return ERR_NOT_MINSIZE; /* min sz: magic+flags+len+nul */\n  if (memcmp (dv, TPL_MAGIC, 3) != 0)\n    return ERR_MAGIC_MISMATCH; /* missing tpl magic prefix */\n  if (tpl_needs_endian_swap (dv))\n    ((tpl_root_data *) (r->data))->flags |= TPL_XENDIAN;\n  dv = (void *) ((uintptr_t) dv + 3);\n  memcpy (&intlflags, dv, sizeof (char)); /* extract flags */\n  if (intlflags & ~TPL_SUPPORTED_BITFLAGS)\n    return ERR_UNSUPPORTED_FLAGS;\n  /* TPL1.3 stores strings with a \"length+1\" prefix to discern NULL strings from\n     empty strings from non-empty strings; TPL1.2 only handled the latter two.\n     So we need to be mindful of which string format we're reading from. */\n  if (!(intlflags & TPL_FL_NULLSTRINGS)) {\n    ((tpl_root_data *) (r->data))->flags |= TPL_OLD_STRING_FMT;\n  }\n  dv = (void *) ((uintptr_t) dv + 1);\n  memcpy (&intlsz, dv, sizeof (uint32_t)); /* extract internal size */\n  if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n    tpl_byteswap (&intlsz, sizeof (uint32_t));\n  if (!excess_ok && (intlsz != bufsz))\n    return ERR_INCONSISTENT_SZ; /* inconsistent buffer/internal size */\n  dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n\n  /* dv points to the start of the format string. Look for nul w/in buf sz */\n  fmt = (char *) dv;\n  while ((uintptr_t) dv - (uintptr_t) d < bufsz && !found_nul) {\n    if ((c = *(char *) dv) != '\\0') {\n      if (strchr (tpl_fmt_chars, c) == NULL)\n        return ERR_FMT_INVALID; /* invalid char in format string */\n      if ((c = *(char *) dv) == '#')\n        octothorpes++;\n      dv = (void *) ((uintptr_t) dv + 1);\n    } else\n      found_nul = 1;\n  }\n  if (!found_nul)\n    return ERR_FMT_MISSING_NUL; /* runaway format string */\n  dv = (void *) ((uintptr_t) dv + 1); /* advance to octothorpe lengths buffer */\n\n  /* compare the map format to the format of this tpl image */\n  mapfmt = tpl_fmt (r);\n  rc = strcmp (mapfmt, fmt);\n  if (rc != 0)\n    return ERR_FMT_MISMATCH;\n\n  /* compare octothorpe lengths in image to the mapped values */\n  if ((((uintptr_t) dv + (octothorpes * 4)) - (uintptr_t) d) > bufsz)\n    return ERR_INCONSISTENT_SZ4;\n  fxlens = tpl_fxlens (r, &num_fxlens); /* mapped fxlens */\n  while (num_fxlens--) {\n    memcpy (&flen, dv, sizeof (uint32_t)); /* stored flen */\n    if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n      tpl_byteswap (&flen, sizeof (uint32_t));\n    if (flen != *fxlens)\n      return ERR_FLEN_MISMATCH;\n    dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n    fxlens++;\n  }\n\n  /* dv now points to beginning of data */\n  rc = tpl_serlen (r, r, dv, &serlen); /* get computed serlen of data part */\n  if (rc == -1)\n    return ERR_INCONSISTENT_SZ2; /* internal inconsistency in tpl image */\n  serlen += ((uintptr_t) dv - (uintptr_t) d); /* add back serlen of preamble part */\n  if (excess_ok && (bufsz < serlen))\n    return ERR_INCONSISTENT_SZ3;\n  if (!excess_ok && (serlen != bufsz))\n    return ERR_INCONSISTENT_SZ3; /* buffer/internal sz exceeds serlen */\n  return 0;\n}\n\nstatic void *\ntpl_find_data_start (void *d) {\n  int octothorpes = 0;\n  d = (void *) ((uintptr_t) d + 4); /* skip TPL_MAGIC and flags byte */\n  d = (void *) ((uintptr_t) d + 4); /* skip int32 overall len */\n  while (*(char *) d != '\\0') {\n    if (*(char *) d == '#')\n      octothorpes++;\n    d = (void *) ((uintptr_t) d + 1);\n  }\n  d = (void *) ((uintptr_t) d + 1); /* skip NUL */\n  d = (void *) ((uintptr_t) d + (octothorpes * sizeof (uint32_t))); /* skip # array lens */\n  return d;\n}\n\nstatic int\ntpl_needs_endian_swap (void *d) {\n  char *c;\n  int cpu_is_bigendian;\n  c = (char *) d;\n  cpu_is_bigendian = tpl_cpu_bigendian ();\n  return ((c[3] & TPL_FL_BIGENDIAN) == cpu_is_bigendian) ? 0 : 1;\n}\n\nstatic size_t\ntpl_size_for (char c) {\n  uint32_t i;\n  for (i = 0; i < sizeof (tpl_types) / sizeof (tpl_types[0]); i++) {\n    if (tpl_types[i].c == c)\n      return tpl_types[i].sz;\n  }\n  return 0;\n}\n\nTPL_API char *\ntpl_peek (int mode, ...) {\n  va_list ap;\n  int xendian = 0, found_nul = 0, old_string_format = 0;\n  char *filename = NULL, *datapeek_f = NULL, *datapeek_c, *datapeek_s;\n  void *addr = NULL, *dv, *datapeek_p = NULL;\n  size_t sz = 0, fmt_len, first_atom, num_fxlens = 0;\n  uint32_t datapeek_ssz, datapeek_csz, datapeek_flen;\n  tpl_mmap_rec mr = { 0, NULL, 0 };\n  char *fmt, *fmt_cpy = NULL, c;\n  uint32_t intlsz, **fxlens = NULL, *num_fxlens_out = NULL, *fxlensv;\n\n  va_start (ap, mode);\n  if ((mode & TPL_FXLENS) && (mode & TPL_DATAPEEK)) {\n    tpl_hook.oops (\"TPL_FXLENS and TPL_DATAPEEK mutually exclusive\\n\");\n    goto fail;\n  }\n  if (mode & TPL_FILE)\n    filename = va_arg (ap, char *);\n  else if (mode & TPL_MEM) {\n    addr = va_arg (ap, void *);\n    sz = va_arg (ap, size_t);\n  } else {\n    tpl_hook.oops (\"unsupported tpl_peek mode %d\\n\", mode);\n    goto fail;\n  }\n  if (mode & TPL_DATAPEEK) {\n    datapeek_f = va_arg (ap, char *);\n  }\n  if (mode & TPL_FXLENS) {\n    num_fxlens_out = va_arg (ap, uint32_t *);\n    fxlens = va_arg (ap, uint32_t **);\n    *num_fxlens_out = 0;\n    *fxlens = NULL;\n  }\n\n  if (mode & TPL_FILE) {\n    if (tpl_mmap_file (filename, &mr) != 0) {\n      tpl_hook.oops (\"tpl_peek failed for file %s\\n\", filename);\n      goto fail;\n    }\n    addr = mr.text;\n    sz = mr.text_sz;\n  }\n\n  dv = addr;\n  if (sz < (4 + sizeof (uint32_t) + 1))\n    goto fail;  /* min sz */\n  if (memcmp (dv, TPL_MAGIC, 3) != 0)\n    goto fail;  /* missing tpl magic prefix */\n  if (tpl_needs_endian_swap (dv))\n    xendian = 1;\n  if ((((char *) dv)[3] & TPL_FL_NULLSTRINGS) == 0)\n    old_string_format = 1;\n  dv = (void *) ((uintptr_t) dv + 4);\n  memcpy (&intlsz, dv, sizeof (uint32_t)); /* extract internal size */\n  if (xendian)\n    tpl_byteswap (&intlsz, sizeof (uint32_t));\n  if (intlsz != sz)\n    goto fail;  /* inconsistent buffer/internal size */\n  dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n\n  /* dv points to the start of the format string. Look for nul w/in buf sz */\n  fmt = (char *) dv;\n  while ((uintptr_t) dv - (uintptr_t) addr < sz && !found_nul) {\n    if ((c = *(char *) dv) == '\\0') {\n      found_nul = 1;\n    } else if (c == '#') {\n      num_fxlens++;\n    }\n    dv = (void *) ((uintptr_t) dv + 1);\n  }\n  if (!found_nul)\n    goto fail;  /* runaway format string */\n  fmt_len = (char *) dv - fmt; /* include space for \\0 */\n  fmt_cpy = tpl_hook.malloc (fmt_len);\n  if (fmt_cpy == NULL) {\n    fatal_oom ();\n  }\n  memcpy (fmt_cpy, fmt, fmt_len);\n\n  /* retrieve the octothorpic lengths if requested */\n  if (num_fxlens > 0) {\n    if (sz < ((uintptr_t) dv + (num_fxlens * sizeof (uint32_t)) - (uintptr_t) addr)) {\n      goto fail;\n    }\n  }\n  if ((mode & TPL_FXLENS) && (num_fxlens > 0)) {\n    *fxlens = tpl_hook.malloc (num_fxlens * sizeof (uint32_t));\n    if (*fxlens == NULL)\n      tpl_hook.fatal (\"out of memory\");\n    *num_fxlens_out = num_fxlens;\n    fxlensv = *fxlens;\n    while (num_fxlens--) {\n      memcpy (fxlensv, dv, sizeof (uint32_t));\n      if (xendian)\n        tpl_byteswap (fxlensv, sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n      fxlensv++;\n    }\n  }\n  /* if caller requested, peek into the specified data elements */\n  if (mode & TPL_DATAPEEK) {\n\n    first_atom = strspn (fmt, \"S()\"); /* skip any leading S() */\n\n    datapeek_flen = strlen (datapeek_f);\n    if (strspn (datapeek_f, tpl_datapeek_ok_chars) < datapeek_flen) {\n      tpl_hook.oops (\"invalid TPL_DATAPEEK format: %s\\n\", datapeek_f);\n      tpl_hook.free (fmt_cpy);\n      fmt_cpy = NULL; /* fail */\n      goto fail;\n    }\n\n    if (strncmp (&fmt[first_atom], datapeek_f, datapeek_flen) != 0) {\n      tpl_hook.oops (\"TPL_DATAPEEK format mismatches tpl image\\n\");\n      tpl_hook.free (fmt_cpy);\n      fmt_cpy = NULL; /* fail */\n      goto fail;\n    }\n\n    /* advance to data start, then copy out requested elements */\n    dv = (void *) ((uintptr_t) dv + (num_fxlens * sizeof (uint32_t)));\n    for (datapeek_c = datapeek_f; *datapeek_c != '\\0'; datapeek_c++) {\n      datapeek_p = va_arg (ap, void *);\n      if (*datapeek_c == 's') { /* special handling for strings */\n        if ((uintptr_t) dv - (uintptr_t) addr + sizeof (uint32_t) > sz) {\n          tpl_hook.oops (\"tpl_peek: tpl has insufficient length\\n\");\n          tpl_hook.free (fmt_cpy);\n          fmt_cpy = NULL; /* fail */\n          goto fail;\n        }\n        memcpy (&datapeek_ssz, dv, sizeof (uint32_t)); /* get slen */\n        if (xendian)\n          tpl_byteswap (&datapeek_ssz, sizeof (uint32_t));\n        if (old_string_format)\n          datapeek_ssz++;\n        dv = (void *) ((uintptr_t) dv + sizeof (uint32_t)); /* adv. to str */\n        if (datapeek_ssz == 0)\n          datapeek_s = NULL;\n        else {\n          if ((uintptr_t) dv - (uintptr_t) addr + datapeek_ssz - 1 > sz) {\n            tpl_hook.oops (\"tpl_peek: tpl has insufficient length\\n\");\n            tpl_hook.free (fmt_cpy);\n            fmt_cpy = NULL; /* fail */\n            goto fail;\n          }\n          datapeek_s = tpl_hook.malloc (datapeek_ssz);\n          if (datapeek_s == NULL)\n            fatal_oom ();\n          memcpy (datapeek_s, dv, datapeek_ssz - 1);\n          datapeek_s[datapeek_ssz - 1] = '\\0';\n          dv = (void *) ((uintptr_t) dv + datapeek_ssz - 1);\n        }\n        *(char **) datapeek_p = datapeek_s;\n      } else {\n        datapeek_csz = tpl_size_for (*datapeek_c);\n        if ((uintptr_t) dv - (uintptr_t) addr + datapeek_csz > sz) {\n          tpl_hook.oops (\"tpl_peek: tpl has insufficient length\\n\");\n          tpl_hook.free (fmt_cpy);\n          fmt_cpy = NULL; /* fail */\n          goto fail;\n        }\n        memcpy (datapeek_p, dv, datapeek_csz);\n        if (xendian)\n          tpl_byteswap (datapeek_p, datapeek_csz);\n        dv = (void *) ((uintptr_t) dv + datapeek_csz);\n      }\n    }\n  }\n\nfail:\n  va_end (ap);\n  if ((mode & TPL_FILE) && mr.text != NULL)\n    tpl_unmap_file (&mr);\n  return fmt_cpy;\n}\n\n/* tpl_jot(TPL_FILE, \"file.tpl\", \"si\", &s, &i); */\n/* tpl_jot(TPL_MEM, &buf, &sz, \"si\", &s, &i); */\n/* tpl_jot(TPL_FD, fd, \"si\", &s, &i); */\nTPL_API int\ntpl_jot (int mode, ...) {\n  va_list ap;\n  char *filename, *fmt;\n  size_t *sz;\n  int fd, rc = 0;\n  void **buf;\n  tpl_node *tn;\n\n  va_start (ap, mode);\n  if (mode & TPL_FILE) {\n    filename = va_arg (ap, char *);\n    fmt = va_arg (ap, char *);\n    tn = tpl_map_va (fmt, ap);\n    if (tn == NULL) {\n      rc = -1;\n      goto fail;\n    }\n    tpl_pack (tn, 0);\n    rc = tpl_dump (tn, TPL_FILE, filename);\n    tpl_free (tn);\n  } else if (mode & TPL_MEM) {\n    buf = va_arg (ap, void *);\n    sz = va_arg (ap, size_t *);\n    fmt = va_arg (ap, char *);\n    tn = tpl_map_va (fmt, ap);\n    if (tn == NULL) {\n      rc = -1;\n      goto fail;\n    }\n    tpl_pack (tn, 0);\n    rc = tpl_dump (tn, TPL_MEM, buf, sz);\n    tpl_free (tn);\n  } else if (mode & TPL_FD) {\n    fd = va_arg (ap, int);\n    fmt = va_arg (ap, char *);\n    tn = tpl_map_va (fmt, ap);\n    if (tn == NULL) {\n      rc = -1;\n      goto fail;\n    }\n    tpl_pack (tn, 0);\n    rc = tpl_dump (tn, TPL_FD, fd);\n    tpl_free (tn);\n  } else {\n    tpl_hook.fatal (\"invalid tpl_jot mode\\n\");\n  }\n\nfail:\n  va_end (ap);\n  return rc;\n}\n\nTPL_API int\ntpl_load (tpl_node *r, int mode, ...) {\n  va_list ap;\n  int rc = 0, fd = 0;\n  char *filename = NULL;\n  void *addr;\n  size_t sz;\n\n  va_start (ap, mode);\n  if (mode & TPL_FILE)\n    filename = va_arg (ap, char *);\n  else if (mode & TPL_MEM) {\n    addr = va_arg (ap, void *);\n    sz = va_arg (ap, size_t);\n  } else if (mode & TPL_FD) {\n    fd = va_arg (ap, int);\n  } else {\n    tpl_hook.oops (\"unsupported tpl_load mode %d\\n\", mode);\n    va_end (ap);\n    return -1;\n  }\n  va_end (ap);\n\n  if (r->type != TPL_TYPE_ROOT) {\n    tpl_hook.oops (\"error: tpl_load to non-root node\\n\");\n    return -1;\n  }\n  if (((tpl_root_data *) (r->data))->flags & (TPL_WRONLY | TPL_RDONLY)) {\n    /* already packed or loaded, so reset it as if newly mapped */\n    tpl_free_keep_map (r);\n  }\n  if (mode & TPL_FILE) {\n    if (tpl_mmap_file (filename, &((tpl_root_data *) (r->data))->mmap) != 0) {\n      tpl_hook.oops (\"tpl_load failed for file %s\\n\", filename);\n      return -1;\n    }\n    if ((rc = tpl_sanity (r, (mode & TPL_EXCESS_OK))) != 0) {\n      if (rc == ERR_FMT_MISMATCH) {\n        tpl_hook.oops (\"%s: format signature mismatch\\n\", filename);\n      } else if (rc == ERR_FLEN_MISMATCH) {\n        tpl_hook.oops (\"%s: array lengths mismatch\\n\", filename);\n      } else {\n        tpl_hook.oops (\"%s: not a valid tpl file\\n\", filename);\n      }\n      tpl_unmap_file (&((tpl_root_data *) (r->data))->mmap);\n      return -1;\n    }\n    ((tpl_root_data *) (r->data))->flags = (TPL_FILE | TPL_RDONLY);\n  } else if (mode & TPL_MEM) {\n    ((tpl_root_data *) (r->data))->mmap.text = addr;\n    ((tpl_root_data *) (r->data))->mmap.text_sz = sz;\n    if ((rc = tpl_sanity (r, (mode & TPL_EXCESS_OK))) != 0) {\n      if (rc == ERR_FMT_MISMATCH) {\n        tpl_hook.oops (\"format signature mismatch\\n\");\n      } else {\n        tpl_hook.oops (\"not a valid tpl file\\n\");\n      }\n      return -1;\n    }\n    ((tpl_root_data *) (r->data))->flags = (TPL_MEM | TPL_RDONLY);\n    if (mode & TPL_UFREE)\n      ((tpl_root_data *) (r->data))->flags |= TPL_UFREE;\n  } else if (mode & TPL_FD) {\n    /* if fd read succeeds, resulting mem img is used for load */\n    if (tpl_gather (TPL_GATHER_BLOCKING, fd, &addr, &sz) > 0) {\n      return tpl_load (r, TPL_MEM | TPL_UFREE, addr, sz);\n    } else\n      return -1;\n  } else {\n    tpl_hook.oops (\"invalid tpl_load mode %d\\n\", mode);\n    return -1;\n  }\n  /* this applies to TPL_MEM or TPL_FILE */\n  if (tpl_needs_endian_swap (((tpl_root_data *) (r->data))->mmap.text))\n    ((tpl_root_data *) (r->data))->flags |= TPL_XENDIAN;\n  tpl_unpackA0 (r); /* prepare root A nodes for use */\n  return 0;\n}\n\nTPL_API int\ntpl_Alen (tpl_node *r, int i) {\n  tpl_node *n;\n\n  n = tpl_find_i (r, i);\n  if (n == NULL) {\n    tpl_hook.oops (\"invalid index %d to tpl_unpack\\n\", i);\n    return -1;\n  }\n  if (n->type != TPL_TYPE_ARY)\n    return -1;\n  return ((tpl_atyp *) (n->data))->num;\n}\n\nstatic void\ntpl_free_atyp (tpl_node *n, tpl_atyp *atyp) {\n  tpl_backbone *bb, *bbnxt;\n  tpl_node *c;\n  void *dv;\n  tpl_bin *binp;\n  tpl_atyp *atypp;\n  char *strp;\n  size_t itermax;\n  tpl_pound_data *pd;\n  int i;\n\n  bb = atyp->bb;\n  while (bb) {\n    bbnxt = bb->next;\n    dv = bb->data;\n    c = n->children;\n    while (c) {\n      switch (c->type) {\n      case TPL_TYPE_BYTE:\n      case TPL_TYPE_DOUBLE:\n      case TPL_TYPE_INT32:\n      case TPL_TYPE_UINT32:\n      case TPL_TYPE_INT64:\n      case TPL_TYPE_UINT64:\n      case TPL_TYPE_INT16:\n      case TPL_TYPE_UINT16:\n        dv = (void *) ((uintptr_t) dv + tpl_types[c->type].sz * c->num);\n        break;\n      case TPL_TYPE_BIN:\n        memcpy (&binp, dv, sizeof (tpl_bin *)); /* cp to aligned */\n        if (binp->addr)\n          tpl_hook.free (binp->addr); /* free buf */\n        tpl_hook.free (binp); /* free tpl_bin */\n        dv = (void *) ((uintptr_t) dv + sizeof (tpl_bin *));\n        break;\n      case TPL_TYPE_STR:\n        for (i = 0; i < c->num; i++) {\n          memcpy (&strp, dv, sizeof (char *)); /* cp to aligned */\n          if (strp)\n            tpl_hook.free (strp); /* free string */\n          dv = (void *) ((uintptr_t) dv + sizeof (char *));\n        }\n        break;\n      case TPL_TYPE_POUND:\n        /* iterate over the preceding nodes */\n        itermax = c->num;\n        pd = (tpl_pound_data *) c->data;\n        if (++(pd->iternum) < itermax) {\n          c = pd->iter_start_node;\n          continue;\n        } else { /* loop complete. */\n          pd->iternum = 0;\n        }\n        break;\n      case TPL_TYPE_ARY:\n        memcpy (&atypp, dv, sizeof (tpl_atyp *)); /* cp to aligned */\n        tpl_free_atyp (c, atypp); /* free atyp */\n        dv = (void *) ((uintptr_t) dv + sizeof (void *));\n        break;\n      default:\n        tpl_hook.fatal (\"unsupported format character\\n\");\n        break;\n      }\n      c = c->next;\n    }\n    tpl_hook.free (bb);\n    bb = bbnxt;\n  }\n  tpl_hook.free (atyp);\n}\n\n/* determine (by walking) byte length of serialized r/A node at address dv\n * returns 0 on success, or -1 if the tpl isn't trustworthy (fails consistency)\n */\nstatic int\ntpl_serlen (tpl_node *r, tpl_node *n, void *dv, size_t *serlen) {\n  uint32_t slen;\n  int num = 0, fidx;\n  tpl_node *c;\n  size_t len = 0, alen, buf_past, itermax;\n  tpl_pound_data *pd;\n\n  buf_past = ((uintptr_t) ((tpl_root_data *) (r->data))->mmap.text +\n              ((tpl_root_data *) (r->data))->mmap.text_sz);\n\n  if (n->type == TPL_TYPE_ROOT)\n    num = 1;\n  else if (n->type == TPL_TYPE_ARY) {\n    if ((uintptr_t) dv + sizeof (uint32_t) > buf_past)\n      return -1;\n    memcpy (&num, dv, sizeof (uint32_t));\n    if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n      tpl_byteswap (&num, sizeof (uint32_t));\n    dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n    len += sizeof (uint32_t);\n  } else\n    tpl_hook.fatal (\"internal error in tpl_serlen\\n\");\n\n  while (num-- > 0) {\n    c = n->children;\n    while (c) {\n      switch (c->type) {\n      case TPL_TYPE_BYTE:\n      case TPL_TYPE_DOUBLE:\n      case TPL_TYPE_INT32:\n      case TPL_TYPE_UINT32:\n      case TPL_TYPE_INT64:\n      case TPL_TYPE_UINT64:\n      case TPL_TYPE_INT16:\n      case TPL_TYPE_UINT16:\n        for (fidx = 0; fidx < c->num; fidx++) { /* octothorpe support */\n          if ((uintptr_t) dv + tpl_types[c->type].sz > buf_past)\n            return -1;\n          dv = (void *) ((uintptr_t) dv + tpl_types[c->type].sz);\n          len += tpl_types[c->type].sz;\n        }\n        break;\n      case TPL_TYPE_BIN:\n        len += sizeof (uint32_t);\n        if ((uintptr_t) dv + sizeof (uint32_t) > buf_past)\n          return -1;\n        memcpy (&slen, dv, sizeof (uint32_t));\n        if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n          tpl_byteswap (&slen, sizeof (uint32_t));\n        len += slen;\n        dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n        if ((uintptr_t) dv + slen > buf_past)\n          return -1;\n        dv = (void *) ((uintptr_t) dv + slen);\n        break;\n      case TPL_TYPE_STR:\n        for (fidx = 0; fidx < c->num; fidx++) { /* octothorpe support */\n          len += sizeof (uint32_t);\n          if ((uintptr_t) dv + sizeof (uint32_t) > buf_past)\n            return -1;\n          memcpy (&slen, dv, sizeof (uint32_t));\n          if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n            tpl_byteswap (&slen, sizeof (uint32_t));\n          if (!(((tpl_root_data *) (r->data))->flags & TPL_OLD_STRING_FMT))\n            slen = (slen > 1) ? (slen - 1) : 0;\n          len += slen;\n          dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n          if ((uintptr_t) dv + slen > buf_past)\n            return -1;\n          dv = (void *) ((uintptr_t) dv + slen);\n        }\n        break;\n      case TPL_TYPE_ARY:\n        if (tpl_serlen (r, c, dv, &alen) == -1)\n          return -1;\n        dv = (void *) ((uintptr_t) dv + alen);\n        len += alen;\n        break;\n      case TPL_TYPE_POUND:\n        /* iterate over the preceding nodes */\n        itermax = c->num;\n        pd = (tpl_pound_data *) c->data;\n        if (++(pd->iternum) < itermax) {\n          c = pd->iter_start_node;\n          continue;\n        } else { /* loop complete. */\n          pd->iternum = 0;\n        }\n        break;\n      default:\n        tpl_hook.fatal (\"unsupported format character\\n\");\n        break;\n      }\n      c = c->next;\n    }\n  }\n  *serlen = len;\n  return 0;\n}\n\nstatic int\ntpl_mmap_output_file (char *filename, size_t sz, void **text_out) {\n  void *text;\n  int fd, perms;\n\n#ifndef _WIN32\n  perms = S_IRUSR | S_IWUSR | S_IWGRP | S_IRGRP | S_IROTH; /* ug+w o+r */\n  fd = open (filename, O_CREAT | O_TRUNC | O_RDWR, perms);\n#else\n  perms = _S_IWRITE;\n  fd = _open (filename, _O_CREAT | _O_TRUNC | _O_RDWR, perms);\n#endif\n\n  if (fd == -1) {\n    tpl_hook.oops (\"Couldn't open file %s: %s\\n\", filename, strerror (errno));\n    return -1;\n  }\n\n  text = mmap (0, sz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);\n  if (text == MAP_FAILED) {\n    tpl_hook.oops (\"Failed to mmap %s: %s\\n\", filename, strerror (errno));\n    close (fd);\n    return -1;\n  }\n  if (ftruncate (fd, sz) == -1) {\n    tpl_hook.oops (\"ftruncate failed: %s\\n\", strerror (errno));\n    munmap (text, sz);\n    close (fd);\n    return -1;\n  }\n  *text_out = text;\n  return fd;\n}\n\nstatic int\ntpl_mmap_file (char *filename, tpl_mmap_rec *mr) {\n  struct stat stat_buf;\n\n  if ((mr->fd = open (filename, O_RDONLY)) == -1) {\n    tpl_hook.oops (\"Couldn't open file %s: %s\\n\", filename, strerror (errno));\n    return -1;\n  }\n\n  if (fstat (mr->fd, &stat_buf) == -1) {\n    close (mr->fd);\n    tpl_hook.oops (\"Couldn't stat file %s: %s\\n\", filename, strerror (errno));\n    return -1;\n  }\n\n  mr->text_sz = (size_t) stat_buf.st_size;\n  mr->text = mmap (0, stat_buf.st_size, PROT_READ, MAP_PRIVATE, mr->fd, 0);\n  if (mr->text == MAP_FAILED) {\n    close (mr->fd);\n    tpl_hook.oops (\"Failed to mmap %s: %s\\n\", filename, strerror (errno));\n    return -1;\n  }\n\n  return 0;\n}\n\nTPL_API int\ntpl_pack (tpl_node *r, int i) {\n  tpl_node *n, *child, *np;\n  void *datav = NULL;\n  size_t sz, itermax;\n  uint32_t slen;\n  char *str;\n  tpl_bin *bin;\n  tpl_pound_data *pd;\n  int fidx;\n\n  n = tpl_find_i (r, i);\n  if (n == NULL) {\n    tpl_hook.oops (\"invalid index %d to tpl_pack\\n\", i);\n    return -1;\n  }\n\n  if (((tpl_root_data *) (r->data))->flags & TPL_RDONLY) {\n    /* convert to an writeable tpl, initially empty */\n    tpl_free_keep_map (r);\n  }\n\n  ((tpl_root_data *) (r->data))->flags |= TPL_WRONLY;\n\n  if (n->type == TPL_TYPE_ARY)\n    datav = tpl_extend_backbone (n);\n  child = n->children;\n  while (child) {\n    switch (child->type) {\n    case TPL_TYPE_BYTE:\n    case TPL_TYPE_DOUBLE:\n    case TPL_TYPE_INT32:\n    case TPL_TYPE_UINT32:\n    case TPL_TYPE_INT64:\n    case TPL_TYPE_UINT64:\n    case TPL_TYPE_INT16:\n    case TPL_TYPE_UINT16:\n      /* no need to use fidx iteration here; we can copy multiple values in one memcpy */\n      memcpy (child->data, child->addr, tpl_types[child->type].sz * child->num);\n      if (datav)\n        datav = tpl_cpv (datav, child->data, tpl_types[child->type].sz * child->num);\n      if (n->type == TPL_TYPE_ARY)\n        n->ser_osz += tpl_types[child->type].sz * child->num;\n      break;\n    case TPL_TYPE_BIN:\n      /* copy the buffer to be packed */\n      slen = ((tpl_bin *) child->addr)->sz;\n      if (slen > 0) {\n        str = tpl_hook.malloc (slen);\n        if (!str)\n          fatal_oom ();\n        memcpy (str, ((tpl_bin *) child->addr)->addr, slen);\n      } else\n        str = NULL;\n      /* and make a tpl_bin to point to it */\n      bin = tpl_hook.malloc (sizeof (tpl_bin));\n      if (!bin)\n        fatal_oom ();\n      bin->addr = str;\n      bin->sz = slen;\n      /* now pack its pointer, first deep freeing any pre-existing bin */\n      if (*(tpl_bin **) (child->data) != NULL) {\n        if ((*(tpl_bin **) (child->data))->sz != 0) {\n          tpl_hook.free ((*(tpl_bin **) (child->data))->addr);\n        }\n        tpl_hook.free (*(tpl_bin **) (child->data));\n      }\n      memcpy (child->data, &bin, sizeof (tpl_bin *));\n      if (datav) {\n        datav = tpl_cpv (datav, &bin, sizeof (tpl_bin *));\n        *(tpl_bin **) (child->data) = NULL;\n      }\n      if (n->type == TPL_TYPE_ARY) {\n        n->ser_osz += sizeof (uint32_t); /* binary buf len word */\n        n->ser_osz += bin->sz; /* binary buf */\n      }\n      break;\n    case TPL_TYPE_STR:\n      for (fidx = 0; fidx < child->num; fidx++) {\n        /* copy the string to be packed. slen includes \\0. this\n           block also works if the string pointer is NULL. */\n        char *caddr = ((char **) child->addr)[fidx];\n        char **cdata = &((char **) child->data)[fidx];\n        slen = caddr ? (strlen (caddr) + 1) : 0;\n        if (slen) {\n          str = tpl_hook.malloc (slen);\n          if (!str)\n            fatal_oom ();\n          memcpy (str, caddr, slen); /* include \\0 */\n        } else {\n          str = NULL;\n        }\n        /* now pack its pointer, first freeing any pre-existing string */\n        if (*cdata != NULL) {\n          tpl_hook.free (*cdata);\n        }\n        memcpy (cdata, &str, sizeof (char *));\n        if (datav) {\n          datav = tpl_cpv (datav, &str, sizeof (char *));\n          *cdata = NULL;\n        }\n        if (n->type == TPL_TYPE_ARY) {\n          n->ser_osz += sizeof (uint32_t); /* string len word */\n          if (slen > 1)\n            n->ser_osz += slen - 1; /* string (without nul) */\n        }\n      }\n      break;\n    case TPL_TYPE_ARY:\n      /* copy the child's tpl_atype* and reset it to empty */\n      if (datav) {\n        sz = ((tpl_atyp *) (child->data))->sz;\n        datav = tpl_cpv (datav, &child->data, sizeof (void *));\n        child->data = tpl_hook.malloc (sizeof (tpl_atyp));\n        if (!child->data)\n          fatal_oom ();\n        ((tpl_atyp *) (child->data))->num = 0;\n        ((tpl_atyp *) (child->data))->sz = sz;\n        ((tpl_atyp *) (child->data))->bb = NULL;\n        ((tpl_atyp *) (child->data))->bbtail = NULL;\n      }\n      /* parent is array? then bubble up child array's ser_osz */\n      if (n->type == TPL_TYPE_ARY) {\n        n->ser_osz += sizeof (uint32_t); /* array len word */\n        n->ser_osz += child->ser_osz; /* child array ser_osz */\n        child->ser_osz = 0; /* reset child array ser_osz */\n      }\n      break;\n\n    case TPL_TYPE_POUND:\n      /* we need to iterate n times over preceding nodes in S(...).\n       * we may be in the midst of an iteration each time or starting. */\n      pd = (tpl_pound_data *) child->data;\n      itermax = child->num;\n\n      /* itermax is total num of iterations needed  */\n      /* pd->iternum is current iteration index  */\n      /* pd->inter_elt_len is element-to-element len of contiguous structs */\n      /* pd->iter_start_node is where we jump to at each iteration. */\n\n      if (++(pd->iternum) < itermax) {\n\n        /* in start or midst of loop. advance addr/data pointers. */\n        for (np = pd->iter_start_node; np != child; np = np->next) {\n          np->data = (char *) (np->data) + (tpl_types[np->type].sz * np->num);\n          np->addr = (char *) (np->addr) + pd->inter_elt_len;\n        }\n        /* do next iteration */\n        child = pd->iter_start_node;\n        continue;\n\n      } else {  /* loop complete. */\n\n        /* reset iteration index and addr/data pointers. */\n        pd->iternum = 0;\n        for (np = pd->iter_start_node; np != child; np = np->next) {\n          np->data = (char *) (np->data) - ((itermax - 1) * tpl_types[np->type].sz * np->num);\n          np->addr = (char *) (np->addr) - ((itermax - 1) * pd->inter_elt_len);\n        }\n\n      }\n      break;\n    default:\n      tpl_hook.fatal (\"unsupported format character\\n\");\n      break;\n    }\n    child = child->next;\n  }\n  return 0;\n}\n\nTPL_API int\ntpl_unpack (tpl_node *r, int i) {\n  tpl_node *n, *c, *np;\n  uint32_t slen;\n  int rc = 1, fidx;\n  char *str;\n  void *dv = NULL, *caddr;\n  size_t A_bytes, itermax;\n  tpl_pound_data *pd;\n  void *img;\n  size_t sz;\n\n\n  /* handle unusual case of tpl_pack,tpl_unpack without an\n   * intervening tpl_dump. do a dump/load implicitly. */\n  if (((tpl_root_data *) (r->data))->flags & TPL_WRONLY) {\n    if (tpl_dump (r, TPL_MEM, &img, &sz) != 0)\n      return -1;\n    if (tpl_load (r, TPL_MEM | TPL_UFREE, img, sz) != 0) {\n      tpl_hook.free (img);\n      return -1;\n    };\n  }\n\n  n = tpl_find_i (r, i);\n  if (n == NULL) {\n    tpl_hook.oops (\"invalid index %d to tpl_unpack\\n\", i);\n    return -1;\n  }\n\n  /* either root node or an A node */\n  if (n->type == TPL_TYPE_ROOT) {\n    dv = tpl_find_data_start (((tpl_root_data *) (n->data))->mmap.text);\n  } else if (n->type == TPL_TYPE_ARY) {\n    if (((tpl_atyp *) (n->data))->num <= 0)\n      return 0; /* array consumed */\n    else\n      rc = ((tpl_atyp *) (n->data))->num--;\n    dv = ((tpl_atyp *) (n->data))->cur;\n    if (!dv)\n      tpl_hook.fatal (\"must unpack parent of node before node itself\\n\");\n  }\n\n  c = n->children;\n  while (c) {\n    switch (c->type) {\n    case TPL_TYPE_BYTE:\n    case TPL_TYPE_DOUBLE:\n    case TPL_TYPE_INT32:\n    case TPL_TYPE_UINT32:\n    case TPL_TYPE_INT64:\n    case TPL_TYPE_UINT64:\n    case TPL_TYPE_INT16:\n    case TPL_TYPE_UINT16:\n      /* unpack elements of cross-endian octothorpic array individually */\n      if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN) {\n        for (fidx = 0; fidx < c->num; fidx++) {\n          caddr = (void *) ((uintptr_t) c->addr + (fidx * tpl_types[c->type].sz));\n          memcpy (caddr, dv, tpl_types[c->type].sz);\n          tpl_byteswap (caddr, tpl_types[c->type].sz);\n          dv = (void *) ((uintptr_t) dv + tpl_types[c->type].sz);\n        }\n      } else {\n        /* bulk unpack ok if not cross-endian */\n        memcpy (c->addr, dv, tpl_types[c->type].sz * c->num);\n        dv = (void *) ((uintptr_t) dv + tpl_types[c->type].sz * c->num);\n      }\n      break;\n    case TPL_TYPE_BIN:\n      memcpy (&slen, dv, sizeof (uint32_t));\n      if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n        tpl_byteswap (&slen, sizeof (uint32_t));\n      if (slen > 0) {\n        str = (char *) tpl_hook.malloc (slen);\n        if (!str)\n          fatal_oom ();\n      } else\n        str = NULL;\n      dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n      if (slen > 0)\n        memcpy (str, dv, slen);\n      memcpy (&(((tpl_bin *) c->addr)->addr), &str, sizeof (void *));\n      memcpy (&(((tpl_bin *) c->addr)->sz), &slen, sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + slen);\n      break;\n    case TPL_TYPE_STR:\n      for (fidx = 0; fidx < c->num; fidx++) {\n        memcpy (&slen, dv, sizeof (uint32_t));\n        if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n          tpl_byteswap (&slen, sizeof (uint32_t));\n        if (((tpl_root_data *) (r->data))->flags & TPL_OLD_STRING_FMT)\n          slen += 1;\n        dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n        if (slen) { /* slen includes \\0 */\n          str = (char *) tpl_hook.malloc (slen);\n          if (!str)\n            fatal_oom ();\n          if (slen > 1)\n            memcpy (str, dv, slen - 1);\n          str[slen - 1] = '\\0'; /* nul terminate */\n          dv = (void *) ((uintptr_t) dv + slen - 1);\n        } else\n          str = NULL;\n        memcpy (&((char **) c->addr)[fidx], &str, sizeof (char *));\n      }\n      break;\n    case TPL_TYPE_POUND:\n      /* iterate over preceding nodes */\n      pd = (tpl_pound_data *) c->data;\n      itermax = c->num;\n      if (++(pd->iternum) < itermax) {\n        /* in start or midst of loop. advance addr/data pointers. */\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->addr = (char *) (np->addr) + pd->inter_elt_len;\n        }\n        /* do next iteration */\n        c = pd->iter_start_node;\n        continue;\n\n      } else {  /* loop complete. */\n\n        /* reset iteration index and addr/data pointers. */\n        pd->iternum = 0;\n        for (np = pd->iter_start_node; np != c; np = np->next) {\n          np->addr = (char *) (np->addr) - ((itermax - 1) * pd->inter_elt_len);\n        }\n\n      }\n      break;\n    case TPL_TYPE_ARY:\n      if (tpl_serlen (r, c, dv, &A_bytes) == -1)\n        tpl_hook.fatal (\"internal error in unpack\\n\");\n      memcpy (&((tpl_atyp *) (c->data))->num, dv, sizeof (uint32_t));\n      if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n        tpl_byteswap (&((tpl_atyp *) (c->data))->num, sizeof (uint32_t));\n      ((tpl_atyp *) (c->data))->cur = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + A_bytes);\n      break;\n    default:\n      tpl_hook.fatal (\"unsupported format character\\n\");\n      break;\n    }\n\n    c = c->next;\n  }\n  if (n->type == TPL_TYPE_ARY)\n    ((tpl_atyp *) (n->data))->cur = dv; /* next element */\n  return rc;\n}\n\n/* Specialized function that unpacks only the root's A nodes, after tpl_load  */\nstatic int\ntpl_unpackA0 (tpl_node *r) {\n  tpl_node *n, *c;\n  uint32_t slen;\n  int rc = 1, fidx, i;\n  void *dv;\n  size_t A_bytes, itermax;\n  tpl_pound_data *pd;\n\n  n = r;\n  dv = tpl_find_data_start (((tpl_root_data *) (r->data))->mmap.text);\n\n  c = n->children;\n  while (c) {\n    switch (c->type) {\n    case TPL_TYPE_BYTE:\n    case TPL_TYPE_DOUBLE:\n    case TPL_TYPE_INT32:\n    case TPL_TYPE_UINT32:\n    case TPL_TYPE_INT64:\n    case TPL_TYPE_UINT64:\n    case TPL_TYPE_INT16:\n    case TPL_TYPE_UINT16:\n      for (fidx = 0; fidx < c->num; fidx++) {\n        dv = (void *) ((uintptr_t) dv + tpl_types[c->type].sz);\n      }\n      break;\n    case TPL_TYPE_BIN:\n      memcpy (&slen, dv, sizeof (uint32_t));\n      if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n        tpl_byteswap (&slen, sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + slen);\n      break;\n    case TPL_TYPE_STR:\n      for (i = 0; i < c->num; i++) {\n        memcpy (&slen, dv, sizeof (uint32_t));\n        if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n          tpl_byteswap (&slen, sizeof (uint32_t));\n        if (((tpl_root_data *) (r->data))->flags & TPL_OLD_STRING_FMT)\n          slen += 1;\n        dv = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n        if (slen > 1)\n          dv = (void *) ((uintptr_t) dv + slen - 1);\n      }\n      break;\n    case TPL_TYPE_POUND:\n      /* iterate over the preceding nodes */\n      itermax = c->num;\n      pd = (tpl_pound_data *) c->data;\n      if (++(pd->iternum) < itermax) {\n        c = pd->iter_start_node;\n        continue;\n      } else {  /* loop complete. */\n        pd->iternum = 0;\n      }\n      break;\n    case TPL_TYPE_ARY:\n      if (tpl_serlen (r, c, dv, &A_bytes) == -1)\n        tpl_hook.fatal (\"internal error in unpackA0\\n\");\n      memcpy (&((tpl_atyp *) (c->data))->num, dv, sizeof (uint32_t));\n      if (((tpl_root_data *) (r->data))->flags & TPL_XENDIAN)\n        tpl_byteswap (&((tpl_atyp *) (c->data))->num, sizeof (uint32_t));\n      ((tpl_atyp *) (c->data))->cur = (void *) ((uintptr_t) dv + sizeof (uint32_t));\n      dv = (void *) ((uintptr_t) dv + A_bytes);\n      break;\n    default:\n      tpl_hook.fatal (\"unsupported format character\\n\");\n      break;\n    }\n    c = c->next;\n  }\n  return rc;\n}\n\n/* In-place byte order swapping of a word of length \"len\" bytes */\nstatic void\ntpl_byteswap (void *word, int len) {\n  int i;\n  char c, *w;\n  w = (char *) word;\n  for (i = 0; i < len / 2; i++) {\n    c = w[i];\n    w[i] = w[len - 1 - i];\n    w[len - 1 - i] = c;\n  }\n}\n\nstatic void\ntpl_fatal (const char *fmt, ...) {\n  va_list ap;\n  char exit_msg[100];\n\n  va_start (ap, fmt);\n  vsnprintf (exit_msg, 100, fmt, ap);\n  va_end (ap);\n\n  tpl_hook.oops (\"%s\", exit_msg);\n  exit (-1);\n}\n\nTPL_API int\ntpl_gather (int mode, ...) {\n  va_list ap;\n  int fd, rc = 0;\n  size_t *szp, sz;\n  void **img, *addr, *data;\n  tpl_gather_t **gs;\n  tpl_gather_cb *cb;\n\n  va_start (ap, mode);\n  switch (mode) {\n  case TPL_GATHER_BLOCKING:\n    fd = va_arg (ap, int);\n    img = va_arg (ap, void *);\n    szp = va_arg (ap, size_t *);\n    rc = tpl_gather_blocking (fd, img, szp);\n    break;\n  case TPL_GATHER_NONBLOCKING:\n    fd = va_arg (ap, int);\n    gs = (tpl_gather_t **) va_arg (ap, void *);\n    cb = (tpl_gather_cb *) va_arg (ap, tpl_gather_cb *);\n    data = va_arg (ap, void *);\n    rc = tpl_gather_nonblocking (fd, gs, cb, data);\n    break;\n  case TPL_GATHER_MEM:\n    addr = va_arg (ap, void *);\n    sz = va_arg (ap, size_t);\n    gs = (tpl_gather_t **) va_arg (ap, void *);\n    cb = (tpl_gather_cb *) va_arg (ap, tpl_gather_cb *);\n    data = va_arg (ap, void *);\n    rc = tpl_gather_mem (addr, sz, gs, cb, data);\n    break;\n  default:\n    tpl_hook.fatal (\"unsupported tpl_gather mode %d\\n\", mode);\n    break;\n  }\n  va_end (ap);\n  return rc;\n}\n\n/* dequeue a tpl by reading until one full tpl image is obtained.\n * We take care not to read past the end of the tpl.\n * This is intended as a blocking call i.e. for use with a blocking fd.\n * It can be given a non-blocking fd, but the read spins if we have to wait.\n */\nstatic int\ntpl_gather_blocking (int fd, void **img, size_t *sz) {\n  char preamble[8];\n  int rc;\n  uint32_t i = 0, tpllen;\n\n  do {\n    rc = read (fd, &preamble[i], 8 - i);\n    i += (rc > 0) ? rc : 0;\n  } while ((rc == -1 && (errno == EINTR || errno == EAGAIN)) || (rc > 0 && i < 8));\n\n  if (rc < 0) {\n    tpl_hook.oops (\"tpl_gather_fd_blocking failed: %s\\n\", strerror (errno));\n    return -1;\n  } else if (rc == 0) {\n    /* tpl_hook.oops(\"tpl_gather_fd_blocking: eof\\n\"); */\n    return 0;\n  } else if (i != 8) {\n    tpl_hook.oops (\"internal error\\n\");\n    return -1;\n  }\n\n  if (preamble[0] == 't' && preamble[1] == 'p' && preamble[2] == 'l') {\n    memcpy (&tpllen, &preamble[4], 4);\n    if (tpl_needs_endian_swap (preamble))\n      tpl_byteswap (&tpllen, 4);\n  } else {\n    tpl_hook.oops (\"tpl_gather_fd_blocking: non-tpl input\\n\");\n    return -1;\n  }\n\n  /* malloc space for remainder of tpl image (overall length tpllen)\n   * and read it in\n   */\n  if (tpl_hook.gather_max > 0 && tpllen > tpl_hook.gather_max) {\n    tpl_hook.oops (\"tpl exceeds max length %zu\\n\", tpl_hook.gather_max);\n    return -2;\n  }\n  *sz = tpllen;\n  if ((*img = tpl_hook.malloc (tpllen)) == NULL) {\n    fatal_oom ();\n  }\n\n  memcpy (*img, preamble, 8); /* copy preamble to output buffer */\n  i = 8;\n  do {\n    rc = read (fd, &((*(char **) img)[i]), tpllen - i);\n    i += (rc > 0) ? rc : 0;\n  } while ((rc == -1 && (errno == EINTR || errno == EAGAIN)) || (rc > 0 && i < tpllen));\n\n  if (rc < 0) {\n    tpl_hook.oops (\"tpl_gather_fd_blocking failed: %s\\n\", strerror (errno));\n    tpl_hook.free (*img);\n    return -1;\n  } else if (rc == 0) {\n    /* tpl_hook.oops(\"tpl_gather_fd_blocking: eof\\n\"); */\n    tpl_hook.free (*img);\n    return 0;\n  } else if (i != tpllen) {\n    tpl_hook.oops (\"internal error\\n\");\n    tpl_hook.free (*img);\n    return -1;\n  }\n\n  return 1;\n}\n\n/* Used by select()-driven apps which want to gather tpl images piecemeal */\n/* the file descriptor must be non-blocking for this function to work. */\nstatic int\ntpl_gather_nonblocking (int fd, tpl_gather_t **gs, tpl_gather_cb *cb, void *data) {\n  char buf[TPL_GATHER_BUFLEN], *img, *tpl;\n  int rc, keep_looping, cbrc = 0;\n  size_t catlen;\n  uint32_t tpllen;\n\n  while (1) {\n    rc = read (fd, buf, TPL_GATHER_BUFLEN);\n    if (rc == -1) {\n      if (errno == EINTR)\n        continue; /* got signal during read, ignore */\n      if (errno == EAGAIN)\n        return 1; /* nothing to read right now */\n      else {\n        tpl_hook.oops (\"tpl_gather failed: %s\\n\", strerror (errno));\n        if (*gs) {\n          tpl_hook.free ((*gs)->img);\n          tpl_hook.free (*gs);\n          *gs = NULL;\n        }\n        return -1; /* error, caller should close fd  */\n      }\n    } else if (rc == 0) {\n      if (*gs) {\n        tpl_hook.oops (\"tpl_gather: partial tpl image precedes EOF\\n\");\n        tpl_hook.free ((*gs)->img);\n        tpl_hook.free (*gs);\n        *gs = NULL;\n      }\n      return 0; /* EOF, caller should close fd */\n    } else {\n      /* concatenate any partial tpl from last read with new buffer */\n      if (*gs) {\n        catlen = (*gs)->len + rc;\n        if (tpl_hook.gather_max > 0 && catlen > tpl_hook.gather_max) {\n          tpl_hook.free ((*gs)->img);\n          tpl_hook.free ((*gs));\n          *gs = NULL;\n          tpl_hook.oops (\"tpl exceeds max length %zu\\n\", tpl_hook.gather_max);\n          return -2; /* error, caller should close fd */\n        }\n        if ((img = tpl_hook.realloc ((*gs)->img, catlen)) == NULL) {\n          fatal_oom ();\n        }\n        memcpy (img + (*gs)->len, buf, rc);\n        tpl_hook.free (*gs);\n        *gs = NULL;\n      } else {\n        img = buf;\n        catlen = rc;\n      }\n      /* isolate any full tpl(s) in img and invoke cb for each */\n      tpl = img;\n      keep_looping = (tpl + 8 < img + catlen) ? 1 : 0;\n      while (keep_looping) {\n        if (strncmp (\"tpl\", tpl, 3) != 0) {\n          tpl_hook.oops (\"tpl prefix invalid\\n\");\n          if (img != buf)\n            tpl_hook.free (img);\n          tpl_hook.free (*gs);\n          *gs = NULL;\n          return -3; /* error, caller should close fd */\n        }\n        memcpy (&tpllen, &tpl[4], 4);\n        if (tpl_needs_endian_swap (tpl))\n          tpl_byteswap (&tpllen, 4);\n        if (tpl + tpllen <= img + catlen) {\n          cbrc = (cb) (tpl, tpllen, data); /* invoke cb for tpl image */\n          tpl += tpllen; /* point to next tpl image */\n          if (cbrc < 0)\n            keep_looping = 0;\n          else\n            keep_looping = (tpl + 8 < img + catlen) ? 1 : 0;\n        } else\n          keep_looping = 0;\n      }\n      /* check if app callback requested closure of tpl source */\n      if (cbrc < 0) {\n        tpl_hook.oops (\"tpl_fd_gather aborted by app callback\\n\");\n        if (img != buf)\n          tpl_hook.free (img);\n        if (*gs)\n          tpl_hook.free (*gs);\n        *gs = NULL;\n        return -4;\n      }\n      /* store any leftover, partial tpl fragment for next read */\n      if (tpl == img && img != buf) {\n        /* consumed nothing from img!=buf */\n        if ((*gs = tpl_hook.malloc (sizeof (tpl_gather_t))) == NULL) {\n          fatal_oom ();\n        }\n        (*gs)->img = tpl;\n        (*gs)->len = catlen;\n      } else if (tpl < img + catlen) {\n        /* consumed 1+ tpl(s) from img!=buf or 0 from img==buf */\n        if ((*gs = tpl_hook.malloc (sizeof (tpl_gather_t))) == NULL) {\n          fatal_oom ();\n        }\n        if (((*gs)->img = tpl_hook.malloc (img + catlen - tpl)) == NULL) {\n          fatal_oom ();\n        }\n        (*gs)->len = img + catlen - tpl;\n        memcpy ((*gs)->img, tpl, img + catlen - tpl);\n        /* free partially consumed concat buffer if used */\n        if (img != buf)\n          tpl_hook.free (img);\n      } else {  /* tpl(s) fully consumed */\n        /* free consumed concat buffer if used */\n        if (img != buf)\n          tpl_hook.free (img);\n      }\n    }\n  }\n}\n\n/* gather tpl piecemeal from memory buffer (not fd) e.g., from a lower-level api */\nstatic int\ntpl_gather_mem (char *buf, size_t len, tpl_gather_t **gs, tpl_gather_cb *cb, void *data) {\n  char *img, *tpl;\n  int keep_looping, cbrc = 0;\n  size_t catlen;\n  uint32_t tpllen;\n\n  /* concatenate any partial tpl from last read with new buffer */\n  if (*gs) {\n    catlen = (*gs)->len + len;\n    if (tpl_hook.gather_max > 0 && catlen > tpl_hook.gather_max) {\n      tpl_hook.free ((*gs)->img);\n      tpl_hook.free ((*gs));\n      *gs = NULL;\n      tpl_hook.oops (\"tpl exceeds max length %zu\\n\", tpl_hook.gather_max);\n      return -2; /* error, caller should stop accepting input from source */\n    }\n    if ((img = tpl_hook.realloc ((*gs)->img, catlen)) == NULL) {\n      fatal_oom ();\n    }\n    memcpy (img + (*gs)->len, buf, len);\n    tpl_hook.free (*gs);\n    *gs = NULL;\n  } else {\n    img = buf;\n    catlen = len;\n  }\n  /* isolate any full tpl(s) in img and invoke cb for each */\n  tpl = img;\n  keep_looping = (tpl + 8 < img + catlen) ? 1 : 0;\n  while (keep_looping) {\n    if (strncmp (\"tpl\", tpl, 3) != 0) {\n      tpl_hook.oops (\"tpl prefix invalid\\n\");\n      if (img != buf)\n        tpl_hook.free (img);\n      tpl_hook.free (*gs);\n      *gs = NULL;\n      return -3; /* error, caller should stop accepting input from source */\n    }\n    memcpy (&tpllen, &tpl[4], 4);\n    if (tpl_needs_endian_swap (tpl))\n      tpl_byteswap (&tpllen, 4);\n    if (tpl + tpllen <= img + catlen) {\n      cbrc = (cb) (tpl, tpllen, data); /* invoke cb for tpl image */\n      tpl += tpllen; /* point to next tpl image */\n      if (cbrc < 0)\n        keep_looping = 0;\n      else\n        keep_looping = (tpl + 8 < img + catlen) ? 1 : 0;\n    } else\n      keep_looping = 0;\n  }\n  /* check if app callback requested closure of tpl source */\n  if (cbrc < 0) {\n    tpl_hook.oops (\"tpl_mem_gather aborted by app callback\\n\");\n    if (img != buf)\n      tpl_hook.free (img);\n    if (*gs)\n      tpl_hook.free (*gs);\n    *gs = NULL;\n    return -4;\n  }\n  /* store any leftover, partial tpl fragment for next read */\n  if (tpl == img && img != buf) {\n    /* consumed nothing from img!=buf */\n    if ((*gs = tpl_hook.malloc (sizeof (tpl_gather_t))) == NULL) {\n      fatal_oom ();\n    }\n    (*gs)->img = tpl;\n    (*gs)->len = catlen;\n  } else if (tpl < img + catlen) {\n    /* consumed 1+ tpl(s) from img!=buf or 0 from img==buf */\n    if ((*gs = tpl_hook.malloc (sizeof (tpl_gather_t))) == NULL) {\n      fatal_oom ();\n    }\n    if (((*gs)->img = tpl_hook.malloc (img + catlen - tpl)) == NULL) {\n      fatal_oom ();\n    }\n    (*gs)->len = img + catlen - tpl;\n    memcpy ((*gs)->img, tpl, img + catlen - tpl);\n    /* free partially consumed concat buffer if used */\n    if (img != buf)\n      tpl_hook.free (img);\n  } else {      /* tpl(s) fully consumed */\n    /* free consumed concat buffer if used */\n    if (img != buf)\n      tpl_hook.free (img);\n  }\n  return 1;\n}\n"
  },
  {
    "path": "src/tpl.h",
    "content": "/*\nCopyright (c) 2005-2013, Troy D. Hanson     http://troydhanson.github.com/tpl/\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n    * Redistributions of source code must retain the above copyright\n      notice, this list of conditions and the following disclaimer.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS\nIS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\nTO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A\nPARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER\nOR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n*/\n\n#ifndef TPL_H\n#define TPL_H\n\n#include <stddef.h> /* size_t */\n\n#include <stdarg.h> /* va_list */\n\n#ifdef __INTEL_COMPILER\n#include <tbb/tbbmalloc_proxy.h>\n#endif /* Intel Compiler efficient memcpy etc */\n\n#ifdef _MSC_VER\ntypedef unsigned int uint32_t;\n#else\n#include <inttypes.h> /* uint32_t */\n#endif\n\n#if defined __cplusplus\nextern \"C\" {\n#endif\n\n#ifdef _WIN32\n#ifdef TPL_EXPORTS\n#define TPL_API __declspec(dllexport)\n#else                           /*  */\n#ifdef TPL_NOLIB\n#define TPL_API\n#else\n#define TPL_API __declspec(dllimport)\n#endif                          /* TPL_NOLIB */\n#endif                          /* TPL_EXPORTS */\n#else\n#define TPL_API\n#endif\n\n/* bit flags (external) */\n#define TPL_FILE      (1 << 0)\n#define TPL_MEM       (1 << 1)\n#define TPL_PREALLOCD (1 << 2)\n#define TPL_EXCESS_OK (1 << 3)\n#define TPL_FD        (1 << 4)\n#define TPL_UFREE     (1 << 5)\n#define TPL_DATAPEEK  (1 << 6)\n#define TPL_FXLENS    (1 << 7)\n#define TPL_GETSIZE   (1 << 8)\n/* do not add flags here without renumbering the internal flags! */\n\n/* flags for tpl_gather mode */\n#define TPL_GATHER_BLOCKING    1\n#define TPL_GATHER_NONBLOCKING 2\n#define TPL_GATHER_MEM         3\n\n/* Hooks for error logging, memory allocation functions and fatal */\n  typedef int (tpl_print_fcn) (const char *fmt, ...);\n  typedef void *(tpl_malloc_fcn) (size_t sz);\n  typedef void *(tpl_realloc_fcn) (void *ptr, size_t sz);\n  typedef void (tpl_free_fcn) (void *ptr);\n  typedef void (tpl_fatal_fcn) (const char *fmt, ...);\n\n  typedef struct tpl_hook_t {\n    tpl_print_fcn *oops __attribute__((__format__ (printf, 1, 2)));\n    tpl_malloc_fcn *malloc;\n    tpl_realloc_fcn *realloc;\n    tpl_free_fcn *free;\n    tpl_fatal_fcn *fatal __attribute__((__format__ (printf, 1, 2)))\n      __attribute__((__noreturn__));\n    size_t gather_max;\n  } tpl_hook_t;\n\n  typedef struct tpl_node {\n    int type;\n    void *addr;\n    void *data;                 /* r:tpl_root_data*. A:tpl_atyp*. ow:szof type */\n    int num;                    /* length of type if it's a C array */\n    size_t ser_osz;             /* serialization output size for subtree */\n    struct tpl_node *children;  /* my children; linked-list */\n    struct tpl_node *next, *prev; /* my siblings (next child of my parent) */\n    struct tpl_node *parent;    /* my parent */\n  } tpl_node;\n\n/* used when un/packing 'B' type (binary buffers) */\n  typedef struct tpl_bin {\n    void *addr;\n    uint32_t sz;\n  } tpl_bin;\n\n/* for async/piecemeal reading of tpl images */\n  typedef struct tpl_gather_t {\n    char *img;\n    int len;\n  } tpl_gather_t;\n\n/* Callback used when tpl_gather has read a full tpl image */\n  typedef int (tpl_gather_cb) (void *img, size_t sz, void *data);\n\n/* Prototypes */\n  TPL_API tpl_node *tpl_map (char *fmt, ...); /* define tpl using format */\n  TPL_API void tpl_free (tpl_node * r); /* free a tpl map */\n  TPL_API int tpl_pack (tpl_node * r, int i); /* pack the n'th packable */\n  TPL_API int tpl_unpack (tpl_node * r, int i); /* unpack the n'th packable */\n  TPL_API int tpl_dump (tpl_node * r, int mode, ...); /* serialize to mem/file */\n  TPL_API int tpl_load (tpl_node * r, int mode, ...); /* set mem/file to unpack */\n  TPL_API int tpl_Alen (tpl_node * r, int i); /* array len of packable i */\n  TPL_API char *tpl_peek (int mode, ...); /* sneak peek at format string */\n  TPL_API int tpl_gather (int mode, ...); /* non-blocking image gather */\n  TPL_API int tpl_jot (int mode, ...); /* quick write a simple tpl */\n\n  TPL_API tpl_node *tpl_map_va (char *fmt, va_list ap);\n\n#if defined __cplusplus\n}\n#endif\n#endif                          /* TPL_H */\n"
  },
  {
    "path": "src/ui.c",
    "content": "/**\n * ui.c -- various curses interfaces\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n#define STDIN_FILENO  0\n\n#ifndef _BSD_SOURCE\n#define _BSD_SOURCE\n#endif\n\n#ifndef _DEFAULT_SOURCE\n#define _DEFAULT_SOURCE\n#endif\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include <pthread.h>\n#include <ctype.h>\n#include <errno.h>\n#include <inttypes.h>\n#include <locale.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/stat.h>\n#include <time.h>\n#include <unistd.h>\n\n#include \"ui.h\"\n#include \"color.h\"\n#include \"error.h\"\n#include \"gkhash.h\"\n#include \"gmenu.h\"\n#include \"goaccess.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* *INDENT-OFF* */\n/* Determine which metrics should be displayed per module/panel */\nstatic const GOutput outputting[] = {\n  {VISITORS        , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} ,\n  {REQUESTS        , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0} ,\n  {REQUESTS_STATIC , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0} ,\n  {NOT_FOUND       , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0} ,\n  {HOSTS           , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 0} ,\n  {OS              , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} ,\n  {BROWSERS        , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} ,\n  {VISIT_TIMES     , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 1 , 1} ,\n  {VIRTUAL_HOSTS   , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {REFERRERS       , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {REFERRING_SITES , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {KEYPHRASES      , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {STATUS_CODES    , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {REMOTE_USER     , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {CACHE_STATUS    , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n#ifdef HAVE_GEOLOCATION\n  {GEO_LOCATION    , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {ASN             , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n#endif\n  {MIME_TYPE       , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n  {TLS_TYPE        , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 1 , 0 , 0} ,\n};\n/* *INDENT-ON* */\n\n/* Structure to display overall statistics */\ntypedef struct Field_ {\n  const char *field;\n  /* char due to log, bw, log_file */\n  char *value;\n  GColors *(*colorlbl) (void);\n  GColors *(*colorval) (void);\n  short oneliner;\n} Field;\n\n/* Determine which metrics to output given a module\n *\n * On error, or if not found, NULL is returned.\n * On success, the panel value is returned. */\nconst GOutput *\noutput_lookup (GModule module) {\n  int i, num_panels = ARRAY_SIZE (outputting);\n  for (i = 0; i < num_panels; i++) {\n    if (outputting[i].module == module)\n      return &outputting[i];\n  }\n  return NULL;\n}\n\n/* Initialize curses colors */\nvoid\ninit_colors (int force) {\n  /* use default foreground/background colors */\n  use_default_colors ();\n  /* first set a default normal color */\n  set_normal_color ();\n  /* then parse custom colors and initialize them */\n  set_colors (force);\n}\n\n/* Ncurses' window handling */\nvoid\nset_input_opts (void) {\n  initscr ();\n  clear ();\n  noecho ();\n  halfdelay (10);\n  nonl ();\n  intrflush (stdscr, FALSE);\n  keypad (stdscr, TRUE);\n  if (curs_set (0) == ERR)\n    LOG_DEBUG ((\"Unable to change cursor: %s\\n\", strerror (errno)));\n  if (conf.mouse_support)\n    mousemask (BUTTON1_CLICKED, NULL);\n}\n\n/* Deletes the given window, freeing all memory associated with it. */\nvoid\nclose_win (WINDOW *w) {\n  if (w == NULL)\n    return;\n  wclear (w);\n  wrefresh (w);\n  delwin (w);\n}\n\n/* Get the current calendar time as a value of type time_t and convert\n * time_t to tm as local time */\nvoid\ngenerate_time (void) {\n  if (conf.tz_name)\n    set_tz ();\n  timestamp = time (NULL);\n  localtime_r (&timestamp, &now_tm);\n}\n\n/* Set the loading spinner as ended and manage the mutex locking. */\nvoid\nend_spinner (void) {\n  if (conf.no_parsing_spinner)\n    return;\n  pthread_mutex_lock (&parsing_spinner->mutex);\n  parsing_spinner->state = SPN_END;\n  pthread_mutex_unlock (&parsing_spinner->mutex);\n  if (!parsing_spinner->curses) {\n    /* wait for the ui_spinner thread to finish */\n    struct timespec ts = {.tv_sec = 0,.tv_nsec = SPIN_UPDATE_INTERVAL };\n    if (nanosleep (&ts, NULL) == -1 && errno != EINTR)\n      FATAL (\"nanosleep: %s\", strerror (errno));\n  }\n}\n\n/* Set background colors to all windows. */\nvoid\nset_wbkgd (WINDOW *main_win, WINDOW *header_win) {\n  GColors *color = get_color (COLOR_BG);\n  /* background colors */\n  wbkgd (main_win, COLOR_PAIR (color->pair->idx));\n  wbkgd (header_win, COLOR_PAIR (color->pair->idx));\n  wbkgd (stdscr, COLOR_PAIR (color->pair->idx));\n  wrefresh (main_win);\n}\n\n/* Creates and the new terminal windows and set basic properties to\n * each of them. e.g., background color, enable the reading of\n * function keys. */\nvoid\ninit_windows (WINDOW **header_win, WINDOW **main_win) {\n  int row = 0, col = 0;\n  /* init standard screen */\n  getmaxyx (stdscr, row, col);\n  if (row < MIN_HEIGHT || col < MIN_WIDTH)\n    FATAL (\"Minimum screen size - 0 columns by 7 lines\");\n\n  /* init header screen */\n  *header_win = newwin (6, col, 0, 0);\n  if (*header_win == NULL)\n    FATAL (\"Unable to allocate memory for header_win.\");\n  keypad (*header_win, TRUE);\n\n  /* init main screen */\n  *main_win = newwin (row - 8, col, 7, 0);\n  if (*main_win == NULL)\n    FATAL (\"Unable to allocate memory for main_win.\");\n  keypad (*main_win, TRUE);\n  set_wbkgd (*main_win, *header_win);\n}\n\n#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\n/* Draw a generic header with the ability to set a custom text to it. */\nvoid\ndraw_header (WINDOW *win, const char *s, const char *fmt, int y, int x, int w,\n             GColors *(*func) (void)) {\n  GColors *color = (*func) ();\n  char *buf;\n  buf = xmalloc (snprintf (NULL, 0, fmt, s) + 1);\n  sprintf (buf, fmt, s);\n  wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwhline (win, y, x, ' ', w);\n  mvwaddnstr (win, y, x, buf, w);\n  wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n  free (buf);\n}\n\n#pragma GCC diagnostic warning \"-Wformat-nonliteral\"\n\n/* Determine the actual size of the main window. */\nvoid\nterm_size (WINDOW *main_win, int *main_win_height) {\n  int term_h = 0, term_w = 0;\n  getmaxyx (stdscr, term_h, term_w);\n  *main_win_height = term_h - (MAX_HEIGHT_HEADER + MAX_HEIGHT_FOOTER);\n  wresize (main_win, *main_win_height, term_w);\n  wmove (main_win, *main_win_height, 0);\n}\n\n/* Get the module/panel label name for the given module enum value.\n *\n * On success, a string containing the label name is returned. */\nconst char *\nmodule_to_label (GModule module) {\n  static const char *const modules[] = {\n    VISITORS_LABEL,\n    REQUESTS_LABEL,\n    REQUESTS_STATIC_LABEL,\n    NOT_FOUND_LABEL,\n    HOSTS_LABEL,\n    OS_LABEL,\n    BROWSERS_LABEL,\n    VISIT_TIMES_LABEL,\n    VIRTUAL_HOSTS_LABEL,\n    REFERRERS_LABEL,\n    REFERRING_SITES_LABEL,\n    KEYPHRASES_LABEL,\n    STATUS_CODES_LABEL,\n    REMOTE_USER_LABEL,\n    CACHE_STATUS_LABEL,\n#ifdef HAVE_GEOLOCATION\n    GEO_LOCATION_LABEL,\n    ASN_LABEL,\n#endif\n    MIME_TYPE_LABEL,\n    TLS_TYPE_LABEL,\n  };\n  return _(modules[module]);\n}\n\n/* Get the module/panel label id for the given module enum value.\n *\n * On success, a string containing the label id is returned. */\nconst char *\nmodule_to_id (GModule module) {\n  static const char *const modules[] = {\n    VISITORS_ID,\n    REQUESTS_ID,\n    REQUESTS_STATIC_ID,\n    NOT_FOUND_ID,\n    HOSTS_ID,\n    OS_ID,\n    BROWSERS_ID,\n    VISIT_TIMES_ID,\n    VIRTUAL_HOSTS_ID,\n    REFERRERS_ID,\n    REFERRING_SITES_ID,\n    KEYPHRASES_ID,\n    STATUS_CODES_ID,\n    REMOTE_USER_ID,\n    CACHE_STATUS_ID,\n#ifdef HAVE_GEOLOCATION\n    GEO_LOCATION_ID,\n    ASN_ID,\n#endif\n    MIME_TYPE_ID,\n    TLS_TYPE_ID,\n  };\n  return _(modules[module]);\n}\n\n/* Get the module/panel label header for the given module enum value.\n *\n * On success, a string containing the label header is returned. */\nconst char *\nmodule_to_head (GModule module) {\n  static const char *modules[] = {\n    VISITORS_HEAD,\n    REQUESTS_HEAD,\n    REQUESTS_STATIC_HEAD,\n    NOT_FOUND_HEAD,\n    HOSTS_HEAD,\n    OS_HEAD,\n    BROWSERS_HEAD,\n    VISIT_TIMES_HEAD,\n    VIRTUAL_HOSTS_HEAD,\n    REFERRERS_HEAD,\n    REFERRING_SITES_HEAD,\n    KEYPHRASES_HEAD,\n    STATUS_CODES_HEAD,\n    REMOTE_USER_HEAD,\n    CACHE_STATUS_HEAD,\n#ifdef HAVE_GEOLOCATION\n    GEO_LOCATION_HEAD,\n    ASN_HEAD,\n#endif\n    MIME_TYPE_HEAD,\n    TLS_TYPE_HEAD,\n  };\n  if (!conf.ignore_crawlers)\n    modules[VISITORS] = VISITORS_HEAD_BOTS;\n  return _(modules[module]);\n}\n\n/* Get the module/panel label description for the given module enum\n * value.\n *\n * On success, a string containing the label description is returned. */\nconst char *\nmodule_to_desc (GModule module) {\n  static const char *const modules[] = {\n    VISITORS_DESC,\n    REQUESTS_DESC,\n    REQUESTS_STATIC_DESC,\n    NOT_FOUND_DESC,\n    HOSTS_DESC,\n    OS_DESC,\n    BROWSERS_DESC,\n    VISIT_TIMES_DESC,\n    VIRTUAL_HOSTS_DESC,\n    REFERRERS_DESC,\n    REFERRING_SITES_DESC,\n    KEYPHRASES_DESC,\n    STATUS_CODES_DESC,\n    REMOTE_USER_DESC,\n    CACHE_STATUS_DESC,\n#ifdef HAVE_GEOLOCATION\n    GEO_LOCATION_DESC,\n    ASN_DESC,\n#endif\n    MIME_TYPE_DESC,\n    TLS_TYPE_DESC,\n  };\n  return _(modules[module]);\n}\n\n/* Rerender the header window to reflect active module. */\nvoid\nupdate_active_module (WINDOW *header_win, GModule current) {\n  GColors *color = get_color (COLOR_ACTIVE_LABEL);\n  const char *module = module_to_label (current);\n  int col = getmaxx (stdscr);\n  char *lbl = xmalloc (snprintf (NULL, 0, T_ACTIVE_PANEL, module) + 1);\n  sprintf (lbl, T_ACTIVE_PANEL, module);\n  wmove (header_win, 0, 30);\n  wattron (header_win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwprintw (header_win, 0, col - strlen (lbl) - 1, \"%s\", lbl);\n  wattroff (header_win, color->attr | COLOR_PAIR (color->pair->idx));\n  wrefresh (header_win);\n  free (lbl);\n}\n\n/* Print out (terminal) an overall field label. e.g., 'Processed Time' */\nstatic void\nrender_overall_field (WINDOW *win, const char *s, int y, int x, GColors *color) {\n  wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwprintw (win, y, x, \"%s\", s);\n  wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n}\n\n/* Print out (terminal) an overall field value. e.g., '120 secs' */\nstatic void\nrender_overall_value (WINDOW *win, const char *s, int y, int x, GColors *color) {\n  wattron (win, color->attr | COLOR_PAIR (color->pair->idx));\n  mvwprintw (win, y, x, \"%s\", s);\n  wattroff (win, color->attr | COLOR_PAIR (color->pair->idx));\n}\n\n/* Convert the number of excluded ips to a string.\n *\n * On success, the number of excluded ips as a string is returned. */\nstatic char *\nget_str_excluded_ips (void) {\n  return u642str (ht_get_excluded_ips (), 0);\n}\n\n/* Convert the number of failed requests to a string.\n *\n * On success, the number of failed requests as a string is returned. */\nstatic char *\nget_str_failed_reqs (void) {\n  return u642str (ht_get_invalid (), 0);\n}\n\n/* Convert the number of processed requests to a string.\n *\n * On success, the number of processed requests as a string is returned. */\nstatic char *\nget_str_processed_reqs (void) {\n  return u642str (ht_get_processed (), 0);\n}\n\n/* Convert the number of valid requests to a string.\n *\n * On success, the number of valid requests as a string is returned. */\nstatic char *\nget_str_valid_reqs (void) {\n  return u642str (ht_sum_valid (), 0);\n}\n\n/* Convert the number of not found requests to a string.\n *\n * On success, the number of not found requests as a string is\n * returned. */\nstatic char *\nget_str_notfound_reqs (void) {\n  return u642str (ht_get_size_datamap (NOT_FOUND), 0);\n}\n\n/* Convert the number of referrers to a string.\n *\n * On success, the number of referrers as a string is returned. */\nstatic char *\nget_str_ref_reqs (void) {\n  return u642str (ht_get_size_datamap (REFERRERS), 0);\n}\n\n/* Convert the number of requests to a string.\n *\n * On success, the number of requests as a string is returned. */\nstatic char *\nget_str_reqs (void) {\n  return u642str (ht_get_size_datamap (REQUESTS), 0);\n}\n\n/* Convert the number of static requests to a string.\n *\n * On success, the number of static requests as a string is returned. */\nstatic char *\nget_str_static_reqs (void) {\n  return u642str (ht_get_size_datamap (REQUESTS_STATIC), 0);\n}\n\n/* Convert the number of unique visitors to a string.\n *\n * On success, the number of unique visitors as a string is returned. */\nstatic char *\nget_str_visitors (void) {\n  return u642str (ht_get_size_uniqmap (VISITORS), 0);\n}\n\n/* Convert the time taken to process the log to a string.\n *\n * On success, the time taken to process the log as a string is\n * returned. */\nstatic char *\nget_str_proctime (void) {\n  char *s = NULL;\n  uint32_t secs = ht_get_processing_time ();\n  s = xmalloc (snprintf (NULL, 0, \"%us\", secs) + 1);\n  sprintf (s, \"%us\", secs);\n  return s;\n}\n\n/* Get the log file size in a human-readable format.\n *\n * On success, the log file size as a string is returned. */\nstatic char *\nget_str_filesize (void) {\n  return filesize_str (get_log_sizes ());\n}\n\n/* Get the log file path.\n *\n * On success, the log file path as a string is returned. */\nstatic char *\nget_str_logfile (void) {\n  int col = getmaxx (stdscr), left_padding = 20;\n  return get_log_source_str (col - left_padding);\n}\n\n/* Get the bandwidth in a human-readable format.\n *\n * On success, the bandwidth as a string is returned. */\nstatic char *\nget_str_bandwidth (void) {\n  return filesize_str (ht_sum_bw ());\n}\n\n/* Get the overall statistics start and end dates.\n *\n * On failure, 1 is returned\n * On success, 0 is returned and an string containing the overall\n * header is returned. */\nint\nget_start_end_parsing_dates (char **start, char **end, const char *f) {\n  uint32_t *dates = NULL;\n  uint32_t len = 0;\n  const char *sndfmt = \"%Y%m%d\";\n  char s[DATE_LEN];\n  char e[DATE_LEN];\n\n  dates = get_sorted_dates (&len);\n  sprintf (s, \"%u\", dates[0]);\n  sprintf (e, \"%u\", dates[len - 1]);\n\n  /* just display the actual dates - no specificity */\n  *start = get_visitors_date (s, sndfmt, f);\n  *end = get_visitors_date (e, sndfmt, f);\n  free (dates);\n\n  return 0;\n}\n\n/* Get the overall statistics header (label).\n *\n * On success, an string containing the overall header is returned. */\nchar *\nget_overall_header (GHolder *h) {\n  const char *head = T_DASH_HEAD;\n  char *hd = NULL, *start = NULL, *end = NULL;\n\n  if (h->idx == 0 || get_start_end_parsing_dates (&start, &end, \"%d/%b/%Y\"))\n    return xstrdup (head);\n\n  hd = xmalloc (snprintf (NULL, 0, \"%s (%s - %s)\", head, start, end) + 1);\n  sprintf (hd, \"%s (%s - %s)\", head, start, end);\n  free (end);\n  free (start);\n\n  return hd;\n}\n\n/* Print out (terminal dashboard) the overall statistics header. */\nstatic void\nrender_overall_header (WINDOW *win, GHolder *h) {\n  char *hd = get_overall_header (h);\n  int col = getmaxx (stdscr);\n  draw_header (win, hd, \" %s\", 0, 0, col, color_panel_header);\n  free (hd);\n}\n\n/* Render the overall statistics. This will attempt to determine the\n * right X and Y position given the current values. */\nstatic void\nrender_overall_statistics (WINDOW *win, Field fields[], size_t n) {\n  GColors *color = NULL;\n  int x_field = 2, x_value;\n  size_t i, j, k, max_field = 0, max_value, mod_val, y;\n\n  for (i = 0, k = 0, y = 2; i < n; i++) {\n    /* new line every OVERALL_NUM_COLS */\n    mod_val = k % OVERALL_NUM_COLS;\n    /* reset position & length and increment row */\n    if (k > 0 && mod_val == 0) {\n      max_field = 0;\n      x_field = 2;\n      y++;\n    }\n    /* x pos = max length of field */\n    x_field += max_field;\n    color = (*fields[i].colorlbl) ();\n    render_overall_field (win, fields[i].field, y, x_field, color);\n\n    /* get max length of field in the same column */\n    max_field = 0;\n    for (j = 0; j < n; j++) {\n      size_t len = strlen (fields[j].field);\n      if (j % OVERALL_NUM_COLS == mod_val && len > max_field && !fields[j].oneliner)\n        max_field = len;\n    }\n    /* get max length of value in the same column */\n    max_value = 0;\n    for (j = 0; j < n; j++) {\n      size_t len = strlen (fields[j].value);\n      if (j % OVERALL_NUM_COLS == mod_val && len > max_value && !fields[j].oneliner)\n        max_value = len;\n    }\n    /* spacers */\n    x_value = max_field + x_field + 1;\n    max_field += max_value + 2;\n    color = (*fields[i].colorval) ();\n    render_overall_value (win, fields[i].value, y, x_value, color);\n    k += fields[i].oneliner ? OVERALL_NUM_COLS : 1;\n  }\n}\n\n/* The entry point to render the overall statistics and free its data. */\nvoid\ndisplay_general (WINDOW *win, GHolder *h) {\n  GColors *(*colorlbl) (void) = color_overall_lbls;\n  GColors *(*colorpth) (void) = color_overall_path;\n  GColors *(*colorval) (void) = color_overall_vals;\n  size_t n, i;\n\n  /* *INDENT-OFF* */\n  Field fields[] = {\n    {T_REQUESTS        , get_str_processed_reqs () , colorlbl , colorval , 0} ,\n    {T_UNIQUE_VISITORS , get_str_visitors ()       , colorlbl , colorval , 0} ,\n    {T_UNIQUE_FILES    , get_str_reqs ()           , colorlbl , colorval , 0} ,\n    {T_REFERRER        , get_str_ref_reqs ()       , colorlbl , colorval , 0} ,\n    {T_VALID           , get_str_valid_reqs ()     , colorlbl , colorval , 0} ,\n    {T_GEN_TIME        , get_str_proctime ()       , colorlbl , colorval , 0} ,\n    {T_STATIC_FILES    , get_str_static_reqs ()    , colorlbl , colorval , 0} ,\n    {T_LOG             , get_str_filesize ()       , colorlbl , colorval , 0} ,\n    {T_FAILED          , get_str_failed_reqs ()    , colorlbl , colorval , 0} ,\n    {T_EXCLUDE_IP      , get_str_excluded_ips ()   , colorlbl , colorval , 0} ,\n    {T_UNIQUE404       , get_str_notfound_reqs ()  , colorlbl , colorval , 0} ,\n    {T_BW              , get_str_bandwidth ()      , colorlbl , colorval , 0} ,\n    {T_LOG_PATH        , get_str_logfile ()        , colorlbl , colorpth , 1}\n  };\n  /* *INDENT-ON* */\n\n  werase (win);\n  render_overall_header (win, h);\n  n = ARRAY_SIZE (fields);\n  render_overall_statistics (win, fields, n);\n  for (i = 0; i < n; i++) {\n    free (fields[i].value);\n  }\n}\n\n/* Set default string in input field.\n *\n * On success, the newly allocated string is returned. */\nchar *\nset_default_string (WINDOW *win, int pos_y, int pos_x, size_t max_width, const char *str) {\n  char *s = xmalloc (max_width + 1), *tmp;\n  size_t len = 0;\n  size_t size_x = 0, size_y = 0;\n\n  getmaxyx (win, size_y, size_x);\n  (void) size_y;\n  size_x -= 4;\n\n  /* are we setting a default string */\n  if (!str) {\n    s[0] = '\\0';\n    return s;\n  }\n\n  len = MIN (max_width, strlen (str));\n  memcpy (s, str, len);\n  s[len] = '\\0';\n\n  /* is the default str length greater than input field? */\n  if (strlen (s) > size_x) {\n    tmp = xstrdup (&s[0]);\n    tmp[size_x] = '\\0';\n    mvwprintw (win, pos_y, pos_x, \"%s\", tmp);\n    free (tmp);\n  } else {\n    mvwprintw (win, pos_y, pos_x, \"%s\", s);\n  }\n\n  return s;\n}\n\n/* Implement a basic framework to build a field input.\n *\n * On success, the inputted string is returned. */\nchar *\ninput_string (WINDOW *win, int pos_y, int pos_x, size_t max_width, const char *str,\n              int enable_case, int *toggle_case) {\n  char *s = NULL, *tmp;\n  size_t i, c, pos = 0, x = 0, quit = 1, size_x = 0, size_y = 0;\n\n  getmaxyx (win, size_y, size_x);\n  size_x -= 4;\n\n  s = set_default_string (win, pos_y, pos_x, max_width, str);\n  if (str)\n    x = pos = 0;\n\n  if (enable_case)\n    mvwprintw (win, size_y - 2, 1, \" %s\", CSENSITIVE);\n\n  wmove (win, pos_y, pos_x + x);\n  wrefresh (win);\n  curs_set (1);\n\n  while (quit) {\n    c = wgetch (stdscr);\n    switch (c) {\n    case 1:    /* ^a   */\n    case 262:  /* HOME */\n      pos = x = 0;\n      break;\n    case 5:\n    case 360:  /* END of line */\n      if (strlen (s) > size_x) {\n        x = size_x;\n        pos = strlen (s) - size_x;\n      } else {\n        pos = 0;\n        x = strlen (s);\n      }\n      break;\n    case 7:    /* ^g  */\n    case 27:   /* ESC */\n      pos = x = 0;\n      if (str && *str == '\\0')\n        s[0] = '\\0';\n      quit = 0;\n      break;\n    case 9:    /* TAB   */\n      if (!enable_case)\n        break;\n      *toggle_case = *toggle_case == 0 ? 1 : 0;\n      if (*toggle_case)\n        mvwprintw (win, size_y - 2, 1, \" %s\", CISENSITIVE);\n      else if (!*toggle_case)\n        mvwprintw (win, size_y - 2, 1, \" %s\", CSENSITIVE);\n      break;\n    case 21:   /* ^u */\n      s[0] = '\\0';\n      pos = x = 0;\n      break;\n    case 8:    /* xterm-256color */\n    case 127:\n    case KEY_BACKSPACE:\n      if (pos + x > 0) {\n        memmove (&s[(pos + x) - 1], &s[pos + x], (max_width - (pos + x)) + 1);\n        if (pos <= 0)\n          x--;\n        else\n          pos--;\n      }\n      break;\n    case KEY_LEFT:\n      if (x > 0)\n        x--;\n      else if (pos > 0)\n        pos--;\n      break;\n    case KEY_RIGHT:\n      if ((x + pos) < strlen (s)) {\n        if (x < size_x)\n          x++;\n        else\n          pos++;\n      }\n      break;\n    case 0x0a:\n    case 0x0d:\n    case KEY_ENTER:\n      quit = 0;\n      break;\n    default:\n      if (strlen (s) == max_width)\n        break;\n      if (!isprint ((unsigned char) c))\n        break;\n      if (strlen (s) == pos) {\n        s[pos + x] = c;\n        s[pos + x + 1] = '\\0';\n        waddch (win, c);\n      } else {\n        memmove (&s[pos + x + 1], &s[pos + x], strlen (&s[pos + x]) + 1);\n        s[pos + x] = c;\n      }\n      if ((x + pos) < max_width) {\n        if (x < size_x)\n          x++;\n        else\n          pos++;\n      }\n    }\n    tmp = xstrdup (&s[pos > 0 ? pos : 0]);\n    tmp[MIN (strlen (tmp), size_x)] = '\\0';\n    for (i = strlen (tmp); i < size_x; i++)\n      mvwprintw (win, pos_y, pos_x + i, \"%s\", \" \");\n    mvwprintw (win, pos_y, pos_x, \"%s\", tmp);\n    free (tmp);\n    wmove (win, pos_y, pos_x + x);\n    wrefresh (win);\n  }\n  curs_set (0);\n\n  return s;\n}\n\nstatic const char spin_chars[] = \"/-\\\\|\";\n#define SPIN_FRAMES_COUNT  (sizeof(spin_chars) / sizeof(spin_chars[0]))\n\nstatic const char *const goaccess_mini_banner[] = {\n  \"   ______      ___\",\n  \"  / ____/___  /   | _____________  __________\",\n  \" / / __/ __ \\\\/ /| |/ ___/ ___/ _ \\\\/ ___/ ___/\",\n  \"/ /_/ / /_/ / ___ / /__/ /__/  __(__  |__  ) \",\n  \"\\\\____/\\\\____/_/  |_\\\\___/\\\\___/\\\\___/____/____/ \",\n  \"\",\n  \"The MIT License (MIT) - Copyright (c) 2009-2026 Gerardo Orellana <hello@goaccess.io>\",\n  NULL\n};\n\n/* Helper: format stats string safely */\nstatic void\nformat_stats (uint64_t processed, int64_t elapsed_sec, char *out, size_t outsz) {\n  int64_t rate = (elapsed_sec >= 1) ? (int64_t) (processed / (uint64_t) elapsed_sec) : 0;\n  snprintf (out, outsz, \"%'13\" PRIu64 \"   %\" PRIi64 \"/s\", processed, rate);\n}\n\nstatic SpinnerSnapshot\nsnapshot_state (GSpinner *sp) {\n  SpinnerSnapshot snap = { 0 };\n\n  lock_spinner ();\n\n  snap.state = sp->state;\n  snap.curses = sp->curses;\n\n  if (sp->processed && *(sp->processed)) {\n    snap.processed = **(sp->processed);\n  } else {\n    snap.processed = 0ULL;\n  }\n\n  snap.elapsed_sec = (time (NULL) - sp->start_time);\n  snap.filename = (sp->filename && *sp->filename) ? *sp->filename : \"processing\";\n\n  unlock_spinner ();\n\n  return snap;\n}\n\n/* Curses rendering – filename + stats via draw_header, bar in middle, spinner at spin_x */\nstatic void\nrender_curses (GSpinner *sp, SpinnerSnapshot *snap, const char *stats, int *bounce_pos,\n               int *bounce_dir, int bounce_width, int spin_idx) {\n  GColors *color = (*sp->color) ();\n  char left_buf[256] = { 0 };\n  const char *fname = NULL;\n\n  int maxx = getmaxx (sp->win), text_width = 0, bar_start = 0, bar_max = 0, i = 0, fill_start;\n  if (maxx < 60)\n    maxx = 80;\n\n  /* Prepare left text: filename (basename) + stats */\n  fname = basename_only (snap->filename);\n  snprintf (left_buf, sizeof (left_buf), \"%s  %s\", fname, stats);\n\n  /* Draw left text using original draw_header style */\n  draw_header (sp->win, left_buf, \" %s\", sp->y, sp->x, sp->w, sp->color);\n\n  /* Calculate where the bar starts (right after text ends) */\n  text_width = strlen (left_buf) + 2; /* + padding */\n  bar_start = sp->x + text_width;\n  bar_max = maxx - bar_start - 5; /* leave space for spinner */\n\n  if (bar_max < 20) {\n    bar_max = 20;\n    bar_start = maxx - bar_max - 5;\n  }\n\n  /* White bold bouncing blocks */\n  fill_start = bar_start + *bounce_pos;\n  wattron (sp->win, COLOR_PAIR (color->pair->idx) | A_BOLD);\n  for (i = 0; i < bounce_width && fill_start + i < bar_start + bar_max; i++) {\n    mvwaddch (sp->win, sp->y, fill_start + i, ACS_BLOCK);\n  }\n  wattroff (sp->win, COLOR_PAIR (color->pair->idx) | A_BOLD);\n\n  /* Animate bounce */\n  *bounce_pos += *bounce_dir * 2;\n  if (*bounce_pos >= bar_max - bounce_width)\n    *bounce_dir = -1;\n  if (*bounce_pos <= 0)\n    *bounce_dir = 1;\n\n  /* Spinner at original sp->spin_x position */\n  if (!conf.no_progress) {\n    wattron (sp->win, COLOR_PAIR (color->pair->idx));\n    mvwaddch (sp->win, sp->y, sp->spin_x, spin_chars[spin_idx & 3]);\n    wattroff (sp->win, COLOR_PAIR (color->pair->idx));\n  }\n\n  wrefresh (sp->win);\n}\n\n/* Terminal (colored) rendering – same order */\nstatic void\nrender_plain (FILE *out, SpinnerSnapshot *snap, const char *stats,\n              int *banner_shown, int *bounce_pos, int *bounce_dir, int bounce_width, int spin_idx) {\n\n  int i = 0, barlen = 0, pos = 0;\n  const char *fname = basename_only (snap->filename);\n  char bar[128] = \"\";\n  char spinner_char;\n\n  if (!*banner_shown) {\n    for (i = 0; goaccess_mini_banner[i]; i++) {\n      fprintf (out, \"\\033[1;36m%s\\033[0m\\n\", goaccess_mini_banner[i]);\n    }\n    fprintf (out, \"\\n\");\n    *banner_shown = true;\n  }\n\n  /* Build bouncing bar – smooth reverse direction */\n  barlen = 40;\n  pos = *bounce_pos; // current position\n\n  for (i = 0; i < barlen; i++) {\n    if (i >= pos && i < pos + bounce_width) {\n      bar[i] = '#';\n    } else {\n      bar[i] = '-';\n    }\n  }\n  bar[barlen] = '\\0';\n\n  spinner_char = spin_chars[spin_idx & 3];\n\n  fprintf (out, \"\\033[2K\\r\" \"\\033[1;37m%s\\033[0m \" /* filename white */\n           \"\\033[1;34m%s\\033[0m \" /* stats blue */\n           \"\\033[90m[\\033[1;32m%s\\033[90m]\\033[0m \" /* bar green fill */\n           \"\\033[36m%c\\033[0m\", /* spinner cyan */\n           fname, stats, bar, spinner_char);\n\n  fflush (out);\n\n  /* Animate bounce – same logic as curses */\n  *bounce_pos += *bounce_dir * 2; // step size 2 for smoother feel\n\n  if (*bounce_pos >= barlen - bounce_width) {\n    *bounce_dir = -1;\n  }\n  if (*bounce_pos <= 0) {\n    *bounce_dir = 1;\n  }\n}\n\n/* Fallback (minimal) – filename → stats → spinner */\nstatic void\nrender_fallback (FILE *out, SpinnerSnapshot *snap, const char *stats, int spin_idx) {\n  const char *fname = basename_only (snap->filename);\n  fprintf (out, \"\\r%s  %s  %c\", fname, stats, spin_chars[spin_idx & 3]);\n  fflush (out);\n}\n\n/* Main spinner loop */\nstatic void\nui_spinner (void *ptr_data) {\n  GSpinner *sp = (GSpinner *) ptr_data;\n\n  static int banner_shown = 0;\n  static int bounce_pos = 0;\n  static int bounce_dir = 1;\n  const int bounce_width = 8;\n  static int spin_idx = 0;\n  struct timespec ts = {.tv_sec = 0,.tv_nsec = SPIN_UPDATE_INTERVAL };\n\n  /* Hide cursor only in interactive terminal */\n  int is_interactive = !sp->curses && !conf.no_progress && isatty (fileno (stderr));\n  if (is_interactive) {\n    fputs (\"\\033[?25l\", stderr);\n  }\n\n  time (&sp->start_time);\n\n  while (true) {\n    char stats[96] = { 0 };\n    SpinnerSnapshot snap = snapshot_state (sp);\n    if (snap.state == SPN_END) {\n      if (is_interactive) {\n        fputs (\"\\033[?25h\\033[2K\\n\", stderr);\n      }\n      break;\n    }\n\n    /* If no progress is wanted, just sleep and loop */\n    if (conf.no_progress) {\n      nanosleep (&ts, NULL);\n      continue;\n    }\n\n    format_stats (snap.processed, snap.elapsed_sec, stats, sizeof (stats));\n\n    spin_idx = (spin_idx + 1) % 4;\n\n    if (snap.curses) {\n      render_curses (sp, &snap, stats, &bounce_pos, &bounce_dir, bounce_width, spin_idx);\n    } else if (isatty (fileno (stderr))) {\n      render_plain (stderr, &snap, stats, &banner_shown, &bounce_pos, &bounce_dir, bounce_width,\n                    spin_idx);\n    } else {\n      render_fallback (stderr, &snap, stats, spin_idx);\n    }\n\n    if (nanosleep (&ts, NULL) == -1 && errno != EINTR) {\n      FATAL (\"nanosleep: %s\", strerror (errno));\n    }\n  }\n}\n\n/* Create the processing spinner's thread */\nvoid\nui_spinner_create (GSpinner *spinner) {\n  if (conf.no_parsing_spinner)\n    return;\n  pthread_create (&(spinner->thread), NULL, (void *) &ui_spinner, spinner);\n  pthread_detach (spinner->thread);\n}\n\n/* Initialize processing spinner data. */\nvoid\nset_curses_spinner (GSpinner *spinner) {\n  int y, x;\n  if (spinner == NULL)\n    return;\n\n  getmaxyx (stdscr, y, x);\n  spinner->color = color_progress;\n  spinner->curses = 1;\n  spinner->win = stdscr;\n  spinner->x = 0;\n  spinner->w = x;\n  spinner->spin_x = x - 2;\n  spinner->y = y - 1;\n}\n\n/* Determine if we need to lock the mutex. */\nvoid\nlock_spinner (void) {\n  if (parsing_spinner != NULL && parsing_spinner->state == SPN_RUN)\n    pthread_mutex_lock (&parsing_spinner->mutex);\n}\n\n/* Determine if we need to unlock the mutex. */\nvoid\nunlock_spinner (void) {\n  if (parsing_spinner != NULL && parsing_spinner->state == SPN_RUN)\n    pthread_mutex_unlock (&parsing_spinner->mutex);\n}\n\n/* Initialize per-item expanded state for a module.\n * All items start expanded (showing children) by default. */\nvoid\ninit_item_expanded (GScrollModule *smod, int num_items) {\n  free_item_expanded (smod);\n  if (num_items <= 0)\n    return;\n  smod->item_expanded = xcalloc (num_items, sizeof (uint8_t));\n  smod->item_expanded_size = num_items;\n  memset (smod->item_expanded, 1, num_items);\n}\n\n/* Free per-item expanded state array. */\nvoid\nfree_item_expanded (GScrollModule *smod) {\n  if (smod->item_expanded) {\n    free (smod->item_expanded);\n    smod->item_expanded = NULL;\n  }\n  smod->item_expanded_size = 0;\n}\n\n/* Reset per-item expanded state (frees and nullifies). */\nvoid\nreset_item_expanded (GScrollModule *smod) {\n  free_item_expanded (smod);\n}\n\n/* Allocate memory for a spinner instance and initialize its data.\n *\n * On success, the newly allocated GSpinner is returned. */\nGSpinner *\nnew_gspinner (void) {\n  GSpinner *spinner;\n  spinner = xcalloc (1, sizeof (GSpinner));\n  spinner->label = \"Parsing...\";\n  spinner->state = SPN_RUN;\n  spinner->curses = 0;\n\n  if (pthread_mutex_init (&(spinner->mutex), NULL))\n    FATAL (\"Failed init thread mutex\");\n\n  return spinner;\n}\n"
  },
  {
    "path": "src/ui.h",
    "content": "/**\n * ui.h -- various curses interfaces\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n */\n\n#ifndef UI_H_INCLUDED\n#define UI_H_INCLUDED\n\n#ifdef HAVE_NCURSESW_NCURSES_H\n#include <ncursesw/ncurses.h>\n#elif HAVE_NCURSES_NCURSES_H\n#include <ncurses/ncurses.h>\n#elif HAVE_NCURSES_H\n#include <ncurses.h>\n#elif HAVE_CURSES_H\n#include <curses.h>\n#endif\n\n#ifdef HAVE_LIBPTHREAD\n#include <pthread.h>\n#endif\n\n#include \"labels.h\"\n#include \"commons.h\"\n\n/* Global UI defaults */\n#define MIN_HEIGHT        8\n#define MIN_WIDTH         0\n#define MAX_HEIGHT_FOOTER 1\n#define MAX_HEIGHT_HEADER 7\n#define OVERALL_NUM_COLS  4\n\n/* Spinner Label Format */\n#define SPIN_FMT \"%s\"\n#define SPIN_FMTM \"[%s %s] {%'\"PRIu64\"} @ {%'lld/s}\"\n#define SPIN_LBL 256\n#define SPIN_UPDATE_INTERVAL 100000000\n\n/* Module JSON keys */\n#define VISITORS_ID        \"visitors\"\n#define REQUESTS_ID        \"requests\"\n#define REQUESTS_STATIC_ID \"static_requests\"\n#define VISIT_TIMES_ID     \"visit_time\"\n#define VIRTUAL_HOSTS_ID   \"vhosts\"\n#define REMOTE_USER_ID     \"remote_user\"\n#define CACHE_STATUS_ID    \"cache_status\"\n#define NOT_FOUND_ID       \"not_found\"\n#define HOSTS_ID           \"hosts\"\n#define OS_ID              \"os\"\n#define BROWSERS_ID        \"browsers\"\n#define REFERRERS_ID       \"referrers\"\n#define REFERRING_SITES_ID \"referring_sites\"\n#define KEYPHRASES_ID      \"keyphrases\"\n#define GEO_LOCATION_ID    \"geolocation\"\n#define ASN_ID             \"asn\"\n#define STATUS_CODES_ID    \"status_codes\"\n#define GENER_ID           \"general\"\n#define MIME_TYPE_ID       \"mime_type\"\n#define TLS_TYPE_ID        \"tls_type\"\n\n/* Overall Statistics CSV/JSON Keys */\n#define OVERALL_STARTDATE \"start_date\"\n#define OVERALL_ENDDATE   \"end_date\"\n#define OVERALL_DATETIME  \"date_time\"\n#define OVERALL_REQ       \"total_requests\"\n#define OVERALL_VALID     \"valid_requests\"\n#define OVERALL_GENTIME   \"generation_time\"\n#define OVERALL_FAILED    \"failed_requests\"\n#define OVERALL_VISITORS  \"unique_visitors\"\n#define OVERALL_FILES     \"unique_files\"\n#define OVERALL_EXCL_HITS \"excluded_hits\"\n#define OVERALL_REF       \"unique_referrers\"\n#define OVERALL_NOTFOUND  \"unique_not_found\"\n#define OVERALL_STATIC    \"unique_static_files\"\n#define OVERALL_LOGSIZE   \"log_size\"\n#define OVERALL_BANDWIDTH \"bandwidth\"\n#define OVERALL_LOG       \"log_path\"\n\n/* CONFIG DIALOG */\n#define CONF_MENU_H       6\n#define CONF_MENU_W       67\n#define CONF_MENU_X       2\n#define CONF_MENU_Y       4\n#define CONF_WIN_H        20\n#define CONF_WIN_W        71\n#define CONF_MAX_LEN_DLG  512\n\n/* FIND DIALOG */\n#define FIND_DLG_HEIGHT   8\n#define FIND_DLG_WIDTH    50\n#define FIND_MAX_MATCHES  1\n\n/* COLOR SCHEME DIALOG */\n#define SCHEME_MENU_H     4\n#define SCHEME_MENU_W     38\n#define SCHEME_MENU_X     2\n#define SCHEME_MENU_Y     4\n#define SCHEME_WIN_H      10\n#define SCHEME_WIN_W      42\n\n/* SORT DIALOG */\n#define SORT_MENU_H       6\n#define SORT_MENU_W       38\n#define SORT_MENU_X       2\n#define SORT_MENU_Y       4\n#define SORT_WIN_H        13\n#define SORT_WIN_W        42\n\n/* AGENTS DIALOG */\n#define AGENTS_MENU_X     2\n#define AGENTS_MENU_Y     4\n\n/* HELP DIALOG */\n#define HELP_MENU_HEIGHT  12\n#define HELP_MENU_WIDTH   60\n#define HELP_MENU_X       2\n#define HELP_MENU_Y       4\n#define HELP_WIN_HEIGHT   17\n#define HELP_WIN_WIDTH    64\n\n/* CONF ERROR DIALOG */\n#define ERR_MENU_HEIGHT   10\n#define ERR_MENU_WIDTH    67\n#define ERR_MENU_X        2\n#define ERR_MENU_Y        4\n#define ERR_WIN_HEIGHT    15\n#define ERR_WIN_WIDTH     71\n\n/* ORDER PANELS */\n#define PANELS_MENU_X     2\n#define PANELS_MENU_Y     4\n#define PANELS_WIN_H      22\n#define PANELS_WIN_W      50\n\n#include \"color.h\"\n#include \"sort.h\"\n\ntypedef struct GFind_ {\n  GModule module;\n  char *pattern;\n  int next_idx;\n  int next_parent_idx;\n  int next_sub_idx;\n  int look_in_sub;\n  int done;\n  int icase;\n} GFind;\n\n/* Helper: snapshot current spinner state (avoids holding mutex too long) */\ntypedef struct {\n  int state;\n  bool curses;\n  uint64_t processed;\n  int64_t elapsed_sec;\n  const char *filename;\n} SpinnerSnapshot;\n\ntypedef struct GScrollModule_ {\n  int scroll;\n  int offset;\n  int current_metric;\n  int use_log_scale;\n  int reverse_bars;\n  /* Per-item expand/collapse state for hierarchical navigation.\n   * When NULL, all items are expanded (legacy behavior).\n   * Otherwise, item_expanded[i] == 1 means root item i's children are visible. */\n  uint8_t *item_expanded;\n  int item_expanded_size;\n} GScrollModule;\n\ntypedef struct GScroll_ {\n  GScrollModule module[TOTAL_MODULES];\n  GModule current;\n  int dash;\n  int expanded;\n} GScroll;\n\ntypedef struct GSpinner_ {\n  const char *label;\n  GColors *(*color) (void);\n  int curses;\n  int spin_x;\n  int w;\n  int x;\n  int y;\n  pthread_mutex_t mutex;\n  pthread_t thread;\n  uint64_t **processed;\n  char **filename;\n  time_t start_time;\n  WINDOW *win;\n  enum {\n    SPN_RUN,\n    SPN_END\n  } state;\n} GSpinner;\n\ntypedef struct GOutput_ {\n  GModule module;\n  int8_t visitors;\n  int8_t hits;\n  int8_t percent;\n  int8_t bw;\n  int8_t avgts;\n  int8_t cumts;\n  int8_t maxts;\n  int8_t protocol;\n  int8_t method;\n  int8_t data;\n  int8_t graph;\n  int8_t sub_graph;\n} GOutput;\n\n/* Core UI functions */\nconst GOutput *output_lookup (GModule module);\nGSpinner *new_gspinner (void);\nchar *get_overall_header (GHolder * h);\nchar *input_string (WINDOW * win, int pos_y, int pos_x, size_t max_width, const char *str,\n                    int enable_case, int *toggle_case);\nchar *set_default_string (WINDOW * win, int pos_y, int pos_x, size_t max_width, const char *str);\nconst char *module_to_desc (GModule module);\nconst char *module_to_head (GModule module);\nconst char *module_to_id (GModule module);\nconst char *module_to_label (GModule module);\nint get_start_end_parsing_dates (char **start, char **end, const char *f);\nvoid close_win (WINDOW * w);\nvoid display_general (WINDOW * win, GHolder * h);\nvoid draw_header (WINDOW * win, const char *s, const char *fmt, int y, int x, int w,\n                  GColors * (*func) (void));\nvoid end_spinner (void);\nvoid generate_time (void);\nvoid init_colors (int force);\nvoid init_windows (WINDOW ** header_win, WINDOW ** main_win);\nvoid lock_spinner (void);\nvoid set_curses_spinner (GSpinner * spinner);\nvoid set_input_opts (void);\nvoid set_wbkgd (WINDOW * main_win, WINDOW * header_win);\nvoid term_size (WINDOW * main_win, int *main_win_height);\nvoid ui_spinner_create (GSpinner * spinner);\nvoid unlock_spinner (void);\nvoid update_active_module (WINDOW * header_win, GModule current);\n\n/* Per-item expand/collapse state management */\nvoid init_item_expanded (GScrollModule * smod, int num_items);\nvoid free_item_expanded (GScrollModule * smod);\nvoid reset_item_expanded (GScrollModule * smod);\n\n#endif\n"
  },
  {
    "path": "src/util.c",
    "content": "/**\n * util.c -- a set of handy functions to help parsing\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#define _LARGEFILE_SOURCE\n#define _LARGEFILE64_SOURCE\n#define _FILE_OFFSET_BITS 64\n\n#define _GNU_SOURCE\n#define _DEFAULT_SOURCE\n\n#include <arpa/inet.h>\n#include <ctype.h>\n#include <errno.h>\n#include <stdio.h>\n#include <stddef.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/stat.h>\n#include <time.h>\n#include <inttypes.h>\n#include <regex.h>\n#include <pthread.h>\n#include <unistd.h>\n#include <libgen.h>\n#include <limits.h>\n\n#include <netinet/in.h>\n#include <sys/socket.h>\n\n#include \"util.h\"\n\n#include \"error.h\"\n#include \"labels.h\"\n#include \"xmalloc.h\"\n\npthread_mutex_t tz_mutex = PTHREAD_MUTEX_INITIALIZER;\n\n/* HTTP status codes categories */\nstatic const char *const code_type[] = {\n  STATUS_CODE_0XX,\n  STATUS_CODE_1XX,\n  STATUS_CODE_2XX,\n  STATUS_CODE_3XX,\n  STATUS_CODE_4XX,\n  STATUS_CODE_5XX,\n};\n\n/* HTTP status codes */\nstatic const char *const codes[600] = {\n  [0] = STATUS_CODE_0,\n  [100] = STATUS_CODE_100, STATUS_CODE_101,\n  [200] = STATUS_CODE_200, STATUS_CODE_201, STATUS_CODE_202, STATUS_CODE_203, STATUS_CODE_204,\n  [205] = STATUS_CODE_205, STATUS_CODE_206, STATUS_CODE_207, STATUS_CODE_208,\n  [218] = STATUS_CODE_218,\n  [300] = STATUS_CODE_300, STATUS_CODE_301, STATUS_CODE_302, STATUS_CODE_303, STATUS_CODE_304,\n  [305] = STATUS_CODE_305, NULL, STATUS_CODE_307, STATUS_CODE_308,\n  [400] = STATUS_CODE_400, STATUS_CODE_401, STATUS_CODE_402, STATUS_CODE_403, STATUS_CODE_404,\n  [405] = STATUS_CODE_405, STATUS_CODE_406, STATUS_CODE_407, STATUS_CODE_408, STATUS_CODE_409,\n  [410] = STATUS_CODE_410, STATUS_CODE_411, STATUS_CODE_412, STATUS_CODE_413, STATUS_CODE_414,\n  [415] = STATUS_CODE_415, STATUS_CODE_416, STATUS_CODE_417, STATUS_CODE_418, STATUS_CODE_419,\n  [420] = STATUS_CODE_420, STATUS_CODE_421, STATUS_CODE_422, STATUS_CODE_423, STATUS_CODE_424,\n  [425] = NULL, STATUS_CODE_426, NULL, STATUS_CODE_428, STATUS_CODE_429, STATUS_CODE_430,\n  [431] = STATUS_CODE_431,\n  [440] = STATUS_CODE_440,\n  [444] = STATUS_CODE_444,\n  [449] = STATUS_CODE_449,\n  [450] = STATUS_CODE_450,\n  [451] = STATUS_CODE_451,\n  [460] = STATUS_CODE_460, STATUS_CODE_463, STATUS_CODE_464,\n  [494] = STATUS_CODE_494,\n  [495] = STATUS_CODE_495, STATUS_CODE_496, STATUS_CODE_497, STATUS_CODE_498, STATUS_CODE_499,\n  [500] = STATUS_CODE_500, STATUS_CODE_501, STATUS_CODE_502, STATUS_CODE_503, STATUS_CODE_504,\n  [505] = STATUS_CODE_505,\n  [509] = STATUS_CODE_509,\n  [520] = STATUS_CODE_520, STATUS_CODE_521, STATUS_CODE_522, STATUS_CODE_523, STATUS_CODE_524,\n  STATUS_CODE_525, STATUS_CODE_526, STATUS_CODE_527, STATUS_CODE_529,\n  [530] = STATUS_CODE_530,\n  [540] = STATUS_CODE_540,\n  [561] = STATUS_CODE_561,\n  [598] = STATUS_CODE_598, STATUS_CODE_599,\n};\n\nconst char *\nbasename_only (const char *path) {\n  const char *base = strrchr (path, '/');\n  return base ? base + 1 : path;\n}\n\n/* Return part of a string\n *\n * On error NULL is returned.\n * On success the extracted part of string is returned */\nchar *\nsubstring (const char *str, int begin, int len) {\n  char *buffer;\n  if (str == NULL)\n    return NULL;\n  if (begin < 0)\n    begin = strlen (str) + begin;\n  if (begin < 0)\n    begin = 0;\n  if (len < 0)\n    len = 0;\n  if (((size_t) begin) > strlen (str))\n    begin = strlen (str);\n  if (((size_t) len) > strlen (&str[begin]))\n    len = strlen (&str[begin]);\n  if ((buffer = xmalloc (len + 1)) == NULL)\n    return NULL;\n  memcpy (buffer, &(str[begin]), len);\n  buffer[len] = '\\0';\n\n  return buffer;\n}\n\n/* A pointer to the allocated memory of the new string\n *\n * On success, a pointer to a new string is returned */\nchar *\nalloc_string (const char *str) {\n  char *new = xmalloc (strlen (str) + 1);\n  strcpy (new, str);\n  return new;\n}\n\n/* A wrapper function to copy the first num characters of source to\n * destination. */\nvoid\nxstrncpy (char *dest, const char *source, const size_t dest_size) {\n  strncpy (dest, source, dest_size);\n  if (dest_size > 0) {\n    dest[dest_size - 1] = '\\0';\n  } else {\n    dest[0] = '\\0';\n  }\n}\n\n/* A random string generator. */\nvoid\ngenstr (char *dest, size_t len) {\n  char set[] = \"0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\";\n\n  for (; len > 0; --len)\n    *dest++ = set[rand () % (sizeof (set) - 1)];\n  *dest = '\\0';\n}\n\n/* Count the number of matches on the string `s1` given a character `c`\n *\n * If the character is not found, 0 is returned\n * On success, the number of characters found */\nint\ncount_matches (const char *s1, char c) {\n  const char *ptr = s1;\n  int n = 0;\n  do {\n    if (*ptr == c)\n      n++;\n  } while (*(ptr++));\n  return n;\n}\n\n/* Simple but efficient uint32_t hashing. */\n#if defined(__clang__) && defined(__clang_major__) && (__clang_major__ >= 4)\n__attribute__((no_sanitize (\"unsigned-integer-overflow\")))\n#if (__clang_major__ >= 12)\n  __attribute__((no_sanitize (\"unsigned-shift-base\")))\n#endif\n#endif\n  uint32_t\ndjb2 (const unsigned char *str) {\n  uint32_t hash = 5381;\n  int c;\n\n  while ((c = *str++))\n    hash = ((hash << 5) + hash) + c; /* hash * 33 + c */\n\n  return hash;\n}\n\n/* String matching where one string contains wildcard characters.\n *\n * If no match found, 1 is returned.\n * If match found, 0 is returned. */\nstatic int\nwc_match (const char *wc, char *str) {\n  while (*wc && *str) {\n    if (*wc == '*') {\n      while (*wc && *wc == '*')\n        wc++;\n      if (!*wc)\n        return 1;\n\n      while (*str && *str != *wc)\n        str++;\n    } else if (*wc == '?' || *wc == *str) {\n      wc++;\n      str++;\n    } else {\n      break;\n    }\n  }\n  if (!*wc && !*str)\n    return 1;\n  return 0;\n}\n\n/**\n * Extracts the hostname part from a given URL.\n *\n * On error, NULL is returned.\n * On success, a dynamically allocated string containing the hostname is returned.\n */\nstatic char *\nextract_hostname (const char *url) {\n  const char *start, *end;\n  char *hostname = NULL;\n\n  start = strstr (url, \"://\");\n  if (start != NULL) {\n    start += 3;\n  } else {\n    start = url;\n  }\n\n  end = strchr (start, '/');\n  if (end == NULL) {\n    /* no path, use the entire string */\n    end = start + strlen (start);\n  }\n\n  hostname = xmalloc (end - start + 1);\n  strncpy (hostname, start, end - start);\n  hostname[end - start] = '\\0';\n\n  return hostname;\n}\n\n/* Generic routine to extract all groups from a string given a POSIX regex.\n *\n * If no match found or error, NULL is returned.\n * If match found, a string is returned. */\nchar *\nregex_extract_string (const char *str, const char *regex, int max_groups, char const **err) {\n  char *copy = NULL, *dest = NULL;\n  int i, ret = 0;\n  regex_t re;\n  regmatch_t groups[max_groups];\n\n  if (str == NULL || *str == '\\0') {\n    *err = \"Invalid string.\";\n    return NULL;\n  }\n\n  if (regcomp (&re, regex, REG_EXTENDED)) {\n    *err = \"Unable to compile regular expression upon extraction\";\n    return NULL;\n  }\n\n  ret = regexec (&re, str, max_groups, groups, 0);\n  if (ret == REG_NOMATCH) {\n    *err = \"Unable to match regular expression extraction.\";\n    goto out;\n  }\n\n  if (ret != 0) {\n    *err = \"Error while matching regular expression extraction.\";\n    goto out;\n  }\n\n  dest = xstrdup (\"\");\n  for (i = 0; i < max_groups; ++i) {\n    if (groups[i].rm_so == -1)\n      break;\n\n    copy = xstrdup (str);\n    copy[groups[i].rm_eo] = 0;\n\n    append_str (&dest, copy + groups[i].rm_so);\n    free (copy);\n  }\n\nout:\n  regfree (&re);\n\n  return ret == 0 ? dest : NULL;\n}\n\nstatic int\nhandle_referer (const char *host, const char **referers, int referer_idx) {\n  char *needle = NULL, *hostname = NULL;\n  int i, ignore = 0;\n\n  if (referer_idx == 0)\n    return 0;\n\n  if (host == NULL || *host == '\\0')\n    return 0;\n\n  needle = xstrdup (host);\n  for (i = 0; i < referer_idx; ++i) {\n    if (referers[i] == NULL || *referers[i] == '\\0')\n      continue;\n\n    if (strchr (referers[i], '*') != NULL || strchr (referers[i], '?') != NULL) {\n      if (wc_match (referers[i], needle)) {\n        ignore = 1;\n        goto out;\n      }\n    } else {\n      hostname = extract_hostname (host);\n      if (strcmp (referers[i], hostname) == 0) {\n        ignore = 1;\n        free (hostname);\n        goto out;\n      }\n      free (hostname);\n    }\n  }\n\nout:\n  free (needle);\n  return ignore;\n}\n\n/* Determine if the given host needs to be ignored given the list of\n * referrers to ignore.\n *\n * On error, or the referrer is not found, 0 is returned\n * On success, or if the host needs to be ignored, 1 is returned */\nint\nignore_referer (const char *host) {\n  return handle_referer (host, conf.ignore_referers, conf.ignore_referer_idx);\n}\n\n/* Determine if the given host needs to be hidden given the list of\n * referrers to hide.\n *\n * On error, or the referrer is not found, 0 is returned\n * On success, or if the host needs to be ignored, 1 is returned */\nint\nhide_referer (const char *host) {\n  return handle_referer (host, conf.hide_referers, conf.hide_referer_idx);\n}\n\n/* Determine if the given ip is within a range of IPs.\n *\n * On error, or not within the range, 0 is returned\n * On success, or if within the range, 1 is returned */\nstatic int\nwithin_range (const char *ip, const char *start, const char *end) {\n  struct in6_addr addr6, start6, end6;\n  struct in_addr addr4, start4, end4;\n\n  if (start == NULL || *start == '\\0')\n    return 0;\n  if (end == NULL || *end == '\\0')\n    return 0;\n  if (ip == NULL || *ip == '\\0')\n    return 0;\n\n  /* IPv4 */\n  if (1 == inet_pton (AF_INET, ip, &addr4)) {\n    if (1 != inet_pton (AF_INET, start, &start4))\n      return 0;\n    if (1 != inet_pton (AF_INET, end, &end4))\n      return 0;\n    if (memcmp (&addr4, &start4, sizeof (addr4)) >= 0 &&\n        memcmp (&addr4, &end4, sizeof (addr4)) <= 0)\n      return 1;\n  }\n  /* IPv6 */\n  else if (1 == inet_pton (AF_INET6, ip, &addr6)) {\n    if (1 != inet_pton (AF_INET6, start, &start6))\n      return 0;\n    if (1 != inet_pton (AF_INET6, end, &end6))\n      return 0;\n    if (memcmp (&addr6, &start6, sizeof (addr6)) >= 0 &&\n        memcmp (&addr6, &end6, sizeof (addr6)) <= 0)\n      return 1;\n  }\n\n  return 0;\n}\n\n/* Determine if the given IP needs to be ignored given the list of IPs\n * to ignore.\n *\n * On error, or not within the range, 0 is returned\n * On success, or if within the range, 1 is returned */\nint\nip_in_range (const char *ip) {\n  char *start, *end, *dash;\n  int i;\n\n  for (i = 0; i < conf.ignore_ip_idx; ++i) {\n    end = NULL;\n    if (conf.ignore_ips[i] == NULL || *conf.ignore_ips[i] == '\\0')\n      continue;\n\n    start = xstrdup (conf.ignore_ips[i]);\n    /* split range */\n    if ((dash = strchr (start, '-')) != NULL) {\n      *dash = '\\0';\n      end = dash + 1;\n    }\n\n    /* matches single IP */\n    if (end == NULL) {\n      if (strcmp (ip, start) == 0) {\n        free (start);\n        return 1;\n      }\n    }\n    /* within range */\n    else {\n      if (within_range (ip, start, end)) {\n        free (start);\n        return 1;\n      }\n    }\n    free (start);\n  }\n\n  return 0;\n}\n\n/* Searches the array of output formats for the given extension value.\n *\n * If not found, 1 is returned.\n * On success, the given filename is malloc'd and assigned and 0 is\n * returned. */\nint\nfind_output_type (char **filename, const char *ext, int alloc) {\n  int i;\n  const char *dot = NULL;\n\n  for (i = 0; i < conf.output_format_idx; ++i) {\n    /* for backwards compatibility. i.e., -o json  */\n    if (strcmp (conf.output_formats[i], ext) == 0)\n      return 0;\n\n    if ((dot = strrchr (conf.output_formats[i], '.')) != NULL && strcmp (dot + 1, ext) == 0) {\n      if (alloc)\n        *filename = xstrdup (conf.output_formats[i]);\n      return 0;\n    }\n  }\n\n  return 1;\n}\n\n/* Validates the '-o' filename extension for any of:\n * 1) .csv\n * 2) .json\n * 3) .html\n *\n * Return Value\n * 1: valid\n * 0: invalid\n * -1: non-existent extension\n */\nint\nvalid_output_type (const char *filename) {\n  const char *ext = NULL;\n  size_t sl;\n\n  if ((ext = strrchr (filename, '.')) == NULL)\n    return -1;\n\n  ext++;\n  /* Is extension 3<=len<=4? */\n  sl = strlen (ext);\n  if (sl < 3 || sl > 4)\n    return 0;\n\n  if (strcmp (\"html\", ext) == 0)\n    return 1;\n\n  if (strcmp (\"json\", ext) == 0)\n    return 1;\n\n  if (strcmp (\"csv\", ext) == 0)\n    return 1;\n\n  return 0;\n}\n\n/* Get the path to the user config file (ie. HOME/.goaccessrc).\n *\n * On error, it returns NULL.\n * On success, the path of the user config file is returned. */\nchar *\nget_user_config (void) {\n  char *user_home = NULL, *path = NULL;\n  size_t len;\n\n  user_home = getenv (\"HOME\");\n  if (user_home == NULL)\n    return NULL;\n\n  len = snprintf (NULL, 0, \"%s/.goaccessrc\", user_home) + 1;\n  path = xmalloc (len);\n  snprintf (path, len, \"%s/.goaccessrc\", user_home);\n\n  return path;\n}\n\n/* Get the path to the global config file.\n *\n * On success, the path of the global config file is returned. */\nchar *\nget_global_config (void) {\n  char *path = NULL;\n  size_t len;\n\n  len = snprintf (NULL, 0, \"%s/goaccess/goaccess.conf\", SYSCONFDIR) + 1;\n  path = xmalloc (len);\n  snprintf (path, len, \"%s/goaccess/goaccess.conf\", SYSCONFDIR);\n\n  return path;\n}\n\n/* A self-checking wrapper to convert_date().\n *\n * On error, a newly malloc'd '---' string is returned.\n * On success, a malloc'd 'Ymd' date is returned. */\nchar *\nget_visitors_date (const char *odate, const char *from, const char *to) {\n  char date[DATE_TIME] = \"\";    /* Ymd */\n\n  memset (date, 0, sizeof *date);\n  /* verify we have a valid date conversion */\n  if (convert_date (date, odate, from, to, DATE_TIME) == 0)\n    return xstrdup (date);\n\n  LOG_DEBUG ((\"invalid date: %s\", odate));\n  return xstrdup (\"---\");\n}\n\nstatic time_t\ntm2time (const struct tm *src) {\n  struct tm tmp;\n\n  tmp = *src;\n  return timegm (&tmp) - src->tm_gmtoff;\n}\n\nvoid\nset_tz (void) {\n  /* this will persist for the duration of the program but also assumes that all\n   * threads have the same conf.tz_name values */\n  static char tz[TZ_NAME_LEN] = { 0 };\n\n  if (!conf.tz_name)\n    return;\n\n  if (pthread_mutex_lock (&tz_mutex) != 0) {\n    LOG_DEBUG ((\"Failed to acquire tz_mutex\"));\n    return;\n  }\n\n  snprintf (tz, TZ_NAME_LEN, \"TZ=%s\", conf.tz_name);\n  if ((putenv (tz)) != 0) {\n    int old_errno = errno;\n    LOG_DEBUG ((\"Can't set TZ env variable %s: %s: %d\\n\", tz, strerror (old_errno), old_errno));\n    goto release;\n  }\n\n  tzset ();\n\nrelease:\n\n  if (pthread_mutex_unlock (&tz_mutex) != 0) {\n    LOG_DEBUG ((\"Failed to release tz_mutex\"));\n  }\n\n  return;\n}\n\n#if defined(__linux__) && !defined(__GLIBC__)\nstatic int\nparse_tz_specifier (const char *str, const char *fmt, struct tm *tm) {\n  char *fmt_notz = NULL, *p = NULL, *end = NULL, *ptr = NULL;\n  int tz_offset_hours = 0, tz_offset_minutes = 0, neg = 0;\n\n  /* new format string that excludes %z */\n  fmt_notz = xstrdup (fmt);\n\n  p = strstr (fmt_notz, \"%z\");\n  if (p != NULL)\n    *p = '\\0';\n\n  /* parse date/time without timezone offset */\n  end = strptime (str, fmt_notz, tm);\n  free (fmt_notz);\n  if (end == NULL)\n    return 1;\n\n  /* bail early if no timezone offset is expected */\n  if (*end == '\\0') {\n    tm->tm_gmtoff = 0;\n    return 0;\n  }\n\n  /* try to parse timezone offset else bail early, +/-0500 */\n  if ((*end != '+' && *end != '-') || strlen (end) < 4)\n    return 1;\n\n  /* divide by 100 to extract the hours part (e.g., 400 / 100 = 4) */\n  tz_offset_hours = labs (strtol (end, &ptr, 10)) / 100;\n  if (*ptr != '\\0')\n    return 1;\n\n  if (strlen (end) >= 5) {\n    /* minutes part of the offset is present */\n    tz_offset_minutes = strtol (end + 3, &ptr, 10);\n    if (*ptr != '\\0')\n      return 1;\n  }\n\n  neg = (*end == '-');\n  tm->tm_gmtoff = (tz_offset_hours * 3600 + tz_offset_minutes * 60) * (neg ? -1 : 1);\n\n  return 0;\n}\n#endif\n\n/* Format the given date/time according the given format.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\n#pragma GCC diagnostic ignored \"-Wformat-nonliteral\"\nint\nstr_to_time (const char *str, const char *fmt, struct tm *tm, int tz) {\n  time_t t;\n  char *end = NULL, *sEnd = NULL;\n  unsigned long long ts = 0;\n  int us, ms;\n#if !defined(__GLIBC__)\n  int se;\n#endif\n\n  time_t seconds = 0;\n\n  if (str == NULL || *str == '\\0' || fmt == NULL || *fmt == '\\0')\n    return 1;\n\n  us = strcmp (\"%f\", fmt) == 0;\n  ms = strcmp (\"%*\", fmt) == 0;\n#if !defined(__GLIBC__)\n  se = strcmp (\"%s\", fmt) == 0;\n#endif\n\n  /* check if char string needs to be converted from milli/micro seconds */\n  /* note that MUSL doesn't have %s under strptime(3) */\n#if !defined(__GLIBC__)\n  if (se || us || ms) {\n#else\n  if (us || ms) {\n#endif\n    errno = 0;\n\n    ts = strtoull (str, &sEnd, 10);\n    if (str == sEnd || *sEnd != '\\0' || errno == ERANGE)\n      return 1;\n\n    seconds = (us) ? ts / SECS : ((ms) ? ts / MILS : ts);\n\n    if (conf.tz_name && tz)\n      set_tz ();\n\n    /* if GMT needed, gmtime_r instead of localtime_r. */\n    localtime_r (&seconds, tm);\n\n    return 0;\n  }\n#if defined(__linux__) && !defined(__GLIBC__)\n  if (parse_tz_specifier (str, fmt, tm))\n    return -1;\n#else\n  end = strptime (str, fmt, tm);\n  if (end == NULL || *end != '\\0')\n    return 1;\n#endif\n\n  if (!tz || !conf.tz_name)\n    return 0;\n\n  if ((t = tm2time (tm)) == -1) {\n    LOG_DEBUG ((\"Can't set time via tm2time() %s: %s\\n\", str, strerror (errno)));\n    return 0;\n  }\n\n  set_tz ();\n  localtime_r (&t, tm);\n\n  return 0;\n}\n\n/* Convert a date from one format to another and store in the given buffer.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nconvert_date (char *res, const char *data, const char *from, const char *to, int size) {\n  struct tm tm;\n\n  memset (&tm, 0, sizeof (tm));\n  timestamp = time (NULL);\n  localtime_r (&timestamp, &now_tm);\n\n  /* This assumes that the given date is already in the correct timezone. */\n  if (str_to_time (data, from, &tm, 0) != 0)\n    return 1;\n\n  /* if not a timestamp, use current year if not passed */\n  if (!has_timestamp (from) && strpbrk (from, \"Yy\") == NULL)\n    tm.tm_year = now_tm.tm_year;\n\n  if (strftime (res, size, to, &tm) <= 0)\n    return 1;\n\n  return 0;\n}\n\n#pragma GCC diagnostic warning \"-Wformat-nonliteral\"\n\n/* Determine if the given IP is a valid IPv4/IPv6 address.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\ninvalid_ipaddr (const char *str, int *ipvx) {\n  union {\n    struct sockaddr addr;\n    struct sockaddr_in6 addr6;\n    struct sockaddr_in addr4;\n  } a;\n\n  (*ipvx) = TYPE_IPINV;\n  if (str == NULL || *str == '\\0')\n    return 1;\n\n  memset (&a, 0, sizeof (a));\n  if (1 == inet_pton (AF_INET, str, &a.addr4.sin_addr)) {\n    (*ipvx) = TYPE_IPV4;\n    return 0;\n  } else if (1 == inet_pton (AF_INET6, str, &a.addr6.sin6_addr)) {\n    (*ipvx) = TYPE_IPV6;\n    return 0;\n  }\n\n  return 1;\n}\n\n/* Encode a data key and a unique visitor's key to a new uint64_t key\n  *\n  * ###NOTE: THIS LIMITS THE MAX VALUE OF A DATA TABLE TO uint32_t\n  * WILL NEED TO CHANGE THIS IF WE GO OVER uint32_t\n  */\nuint64_t\nu64encode (uint32_t x, uint32_t y) {\n  return x > y ? (uint32_t) y | ((uint64_t) x << 32) : (uint32_t) x | ((uint64_t) y << 32);\n}\n\n/* Decode a uint64_t number into the original two uint32_t  */\nvoid\nu64decode (uint64_t n, uint32_t *x, uint32_t *y) {\n  *x = (uint64_t) n >> 32;\n  *y = (uint64_t) n & 0xFFFFFFFF;\n}\n\n/* Get information about the filename.\n *\n * On error, -1 is returned.\n * On success, the file size of the given filename. */\noff_t\nfile_size (const char *filename) {\n  struct stat st;\n\n  if (stat (filename, &st) == 0)\n    return st.st_size;\n\n  LOG_DEBUG ((\"Can't determine size of %s: %s\\n\", filename, strerror (errno)));\n\n  return -1;\n}\n\n/* Determine if the given status code is within the list of status\n * codes and find out the status type/category.\n *\n * If not found, \"Unknown\" is returned.\n * On success, the status code type/category is returned. */\nconst char *\nverify_status_code_type (int code) {\n  if (code < 0 || code > 599 || code_type[code / 100] == NULL)\n    return \"Unknown\";\n\n  return code_type[code / 100];\n}\n\n/* Determine if the given status code is within the list of status\n * codes.\n *\n * If not found, \"Unknown\" is returned.\n * On success, the status code is returned. */\nconst char *\nverify_status_code (int code) {\n  if (code < 0 || code > 599 || code_type[code / 100] == NULL || codes[code] == NULL)\n    return \"Unknown\";\n\n  return codes[code];\n}\n\nint\nis_valid_http_status (int code) {\n  return code >= 0 && code <= 599 && code_type[code / 100] != NULL && codes[code] != NULL;\n}\n\n/* Checks if the given string is within the given array.\n *\n * If not found, -1 is returned.\n * If found, the key for needle in the array is returned. */\nint\nstr_inarray (const char *s, const char *arr[], int size) {\n  int i;\n  for (i = 0; i < size; i++) {\n    if (strcmp (arr[i], s) == 0)\n      return i;\n  }\n  return -1;\n}\n\n/* Strip whitespace from the beginning of a string.\n *\n * On success, a string with whitespace stripped from the beginning of\n * the string is returned. */\nchar *\nltrim (char *s) {\n  char *begin = s;\n\n  while (isspace ((unsigned char) *begin))\n    ++begin;\n  memmove (s, begin, strlen (begin) + 1);\n\n  return s;\n}\n\n/* Strip whitespace from the end of a string.\n *\n * On success, a string with whitespace stripped from the end of the\n * string is returned. */\nchar *\nrtrim (char *s) {\n  char *end = s + strlen (s);\n\n  while ((end != s) && isspace ((unsigned char) *(end - 1)))\n    --end;\n  *end = '\\0';\n\n  return s;\n}\n\n/* Strip whitespace from the beginning and end of the string.\n *\n * On success, the trimmed string is returned. */\nchar *\ntrim_str (char *str) {\n  return rtrim (ltrim (str));\n}\n\n/* Convert the file size in bytes to a human-readable format.\n *\n * On error, the original size of the string in bytes is returned.\n * On success, the file size in a human-readable format is returned. */\nchar *\nfilesize_str (unsigned long long log_size) {\n  char *size = xmalloc (sizeof (char) * 12);\n  if (log_size >= (1ULL << 50))\n    snprintf (size, 12, \"%.2f PiB\", (double) (log_size) / PIB (1ULL));\n  else if (log_size >= (1ULL << 40))\n    snprintf (size, 12, \"%.2f TiB\", (double) (log_size) / TIB (1ULL));\n  else if (log_size >= (1ULL << 30))\n    snprintf (size, 12, \"%.2f GiB\", (double) (log_size) / GIB (1ULL));\n  else if (log_size >= (1ULL << 20))\n    snprintf (size, 12, \"%.2f MiB\", (double) (log_size) / MIB (1ULL));\n  else if (log_size >= (1ULL << 10))\n    snprintf (size, 12, \"%.2f KiB\", (double) (log_size) / KIB (1ULL));\n  else\n    snprintf (size, 12, \"%.1f   B\", (double) (log_size));\n\n  return size;\n}\n\n/* Convert microseconds to a human-readable format.\n *\n * On error, a malloc'd string in microseconds is returned.\n * On success, the time in a human-readable format is returned. */\nchar *\nusecs_to_str (unsigned long long usec) {\n  char *size = xmalloc (sizeof (char) * 11);\n  if (usec >= DAY)\n    snprintf (size, 11, \"%.2f  d\", (double) (usec) / DAY);\n  else if (usec >= HOUR)\n    snprintf (size, 11, \"%.2f hr\", (double) (usec) / HOUR);\n  else if (usec >= MINS)\n    snprintf (size, 11, \"%.2f mn\", (double) (usec) / MINS);\n  else if (usec >= SECS)\n    snprintf (size, 11, \"%.2f  s\", (double) (usec) / SECS);\n  else if (usec >= MILS)\n    snprintf (size, 11, \"%.2f ms\", (double) (usec) / MILS);\n  else\n    snprintf (size, 11, \"%.2f us\", (double) (usec));\n\n  return size;\n}\n\n/* Convert the given int to a string with the ability to add some\n * padding.\n *\n * On success, the given number as a string is returned. */\nchar *\nint2str (int d, int width) {\n  char *s = xmalloc (snprintf (NULL, 0, \"%*d\", width, d) + 1);\n  sprintf (s, \"%*d\", width, d);\n\n  return s;\n}\n\n/* Convert the given uint32_t to a string with the ability to add some\n * padding.\n *\n * On success, the given number as a string is returned. */\nchar *\nu322str (uint32_t d, int width) {\n  char *s = xmalloc (snprintf (NULL, 0, \"%*u\", width, d) + 1);\n  sprintf (s, \"%*u\", width, d);\n\n  return s;\n}\n\n/* Convert the given uint64_t to a string with the ability to add some\n * padding.\n *\n * On success, the given number as a string is returned. */\nchar *\nu642str (uint64_t d, int width) {\n  char *s = xmalloc (snprintf (NULL, 0, \"%*\" PRIu64, width, d) + 1);\n  sprintf (s, \"%*\" PRIu64, width, d);\n\n  return s;\n}\n\n/* Decodes the given URL-encoded string.\n *\n * On success, the decoded string is assigned to the output buffer. */\n#define B16TOD(x) (((x) >= '0' && (x) <= '9') ? ((x) - '0') : (toupper((unsigned char) (x)) - 'A' + 10))\nvoid\ndecode_hex (char *url, char *out, int decode_plus) {\n  char *ptr;\n  const char *c;\n  for (c = url, ptr = out; *c; c++) {\n    if (*c != '%' || !isxdigit ((unsigned char) c[1]) || !isxdigit ((unsigned char) c[2])) {\n      if (decode_plus && *c == '+') {\n        *ptr++ = ' ';\n      } else {\n        *ptr++ = *c;\n      }\n    } else {\n      *ptr++ = (char) ((B16TOD (c[1]) * 16) + (B16TOD (c[2])));\n      c += 2;\n    }\n  }\n  *ptr = 0;\n}\n\n/* Convert the given float to a string with the ability to add some\n * padding.\n *\n * On success, the given number as a string is returned. */\nchar *\nfloat2str (float d, int width) {\n  char *s = xmalloc (snprintf (NULL, 0, \"%*.2f\", width, d) + 1);\n  sprintf (s, \"%*.2f\", width, d);\n\n  return s;\n}\n\nint\nptr2int (char *ptr) {\n  char *sEnd = NULL;\n  int value = -1;\n\n  value = strtol (ptr, &sEnd, 10);\n  if (ptr == sEnd || *sEnd != '\\0' || errno == ERANGE) {\n    LOG_DEBUG ((\"Invalid parse of integer value from pointer. \\n\"));\n    return -1;\n  }\n\n  return value;\n}\n\nint\nstr2int (const char *date) {\n  char *sEnd = NULL;\n  int d = strtol (date, &sEnd, 10);\n  if (date == sEnd || *sEnd != '\\0' || errno == ERANGE)\n    return -1;\n  return d;\n}\n\n/* Determine the length of an integer (number of digits).\n *\n * On success, the length of the number is returned. */\nint\nintlen (uint64_t num) {\n  int l = 1;\n  while (num > 9) {\n    l++;\n    num /= 10;\n  }\n\n  return l;\n}\n\n/* Allocate a new string and fill it with the given character.\n *\n * On success, the newly allocated string is returned. */\nchar *\nchar_repeat (int n, char c) {\n  char *dest = xmalloc (n + 1);\n  memset (dest, c, n);\n  dest[n] = '\\0';\n\n  return dest;\n}\n\n/* Replace all occurrences of the given char with the replacement\n * char.\n *\n * On error the original string is returned.\n * On success, a string with the replaced values is returned. */\nchar *\nchar_replace (char *str, char o, char n) {\n  char *p = str;\n\n  if (str == NULL || *str == '\\0')\n    return str;\n\n  while ((p = strchr (p, o)) != NULL)\n    *p++ = n;\n\n  return str;\n}\n\n/* Remove all occurrences of a new line.\n *\n * On success, a string with the replaced new lines is returned. */\nvoid\nstrip_newlines (char *str) {\n  char *src, *dst;\n  for (src = dst = str; *src != '\\0'; src++) {\n    *dst = *src;\n    if (*dst != '\\r' && *dst != '\\n')\n      dst++;\n  }\n  *dst = '\\0';\n}\n\n/* Strip blanks from a string.\n *\n * On success, a string without whitespace is returned. */\nchar *\ndeblank (char *str) {\n  char *out = str, *put = str;\n\n  for (; *str != '\\0'; ++str) {\n    if (*str != ' ')\n      *put++ = *str;\n  }\n  *put = '\\0';\n\n  return out;\n}\n\n/* Make a string uppercase.\n *\n * On error the original string is returned.\n * On success, the uppercased string is returned. */\nchar *\nstrtoupper (char *str) {\n  char *p = str;\n  if (str == NULL || *str == '\\0')\n    return str;\n\n  while (*p != '\\0') {\n    *p = toupper ((unsigned char) *p);\n    p++;\n  }\n\n  return str;\n}\n\n/* Left-pad a string with n amount of spaces.\n *\n * On success, a left-padded string is returned. */\nchar *\nleft_pad_str (const char *s, int indent) {\n  char *buf = NULL;\n\n  indent = strlen (s) + indent;\n  buf = xmalloc (snprintf (NULL, 0, \"%*s\", indent, s) + 1);\n  sprintf (buf, \"%*s\", indent, s);\n\n  return buf;\n}\n\n/* Append the source string to destination and reallocates and\n * updating the destination buffer appropriately. */\nsize_t\nappend_str (char **dest, const char *src) {\n  size_t curlen = strlen (*dest);\n  size_t srclen = strlen (src);\n  size_t newlen = curlen + srclen;\n\n  char *str = xrealloc (*dest, newlen + 1);\n  memcpy (str + curlen, src, srclen + 1);\n  *dest = str;\n\n  return newlen;\n}\n\n/* Escapes the special characters, e.g., '\\n', '\\r', '\\t', '\\'\n * in the string source by inserting a '\\' before them.\n *\n * On error NULL is returned.\n * On success the escaped string is returned */\nchar *\nescape_str (const char *src) {\n  char *dest, *q;\n  const unsigned char *p;\n\n  if (src == NULL || *src == '\\0')\n    return NULL;\n\n  p = (const unsigned char *) src;\n  q = dest = xmalloc (strlen (src) * 4 + 1);\n\n  while (*p) {\n    switch (*p) {\n    case '\\\\':\n      *q++ = '\\\\';\n      *q++ = '\\\\';\n      break;\n    case '\\n':\n      *q++ = '\\\\';\n      *q++ = 'n';\n      break;\n    case '\\r':\n      *q++ = '\\\\';\n      *q++ = 'r';\n      break;\n    case '\\t':\n      *q++ = '\\\\';\n      *q++ = 't';\n      break;\n    default:\n      /* not ASCII */\n      if ((*p < ' ') || (*p >= 0177)) {\n        *q++ = '\\\\';\n        *q++ = '0' + (((*p) >> 6) & 07);\n        *q++ = '0' + (((*p) >> 3) & 07);\n        *q++ = '0' + ((*p) & 07);\n      } else\n        *q++ = *p;\n      break;\n    }\n    p++;\n  }\n  *q = 0;\n  return dest;\n}\n\n/* Get an unescaped malloc'd string\n *\n * On error NULL is returned.\n * On success the unescaped string is returned */\nchar *\nunescape_str (const char *src) {\n  char *dest, *q;\n  const char *p = src;\n\n  if (src == NULL || *src == '\\0')\n    return NULL;\n\n  dest = xmalloc (strlen (src) + 1);\n  q = dest;\n\n  while (*p) {\n    if (*p == '\\\\') {\n      p++;\n      switch (*p) {\n      case '\\0':\n        /* warning... */\n        goto out;\n      case 'n':\n        *q++ = '\\n';\n        break;\n      case 'r':\n        *q++ = '\\r';\n        break;\n      case 't':\n        *q++ = '\\t';\n        break;\n      default:\n        *q++ = *p;\n        break;\n      }\n    } else\n      *q++ = *p;\n    p++;\n  }\nout:\n  *q = 0;\n\n  return dest;\n}\n\nint\nis_writable_path (const char *path) {\n  char *copy = NULL, *dir_path = NULL;\n  char dir_path_copy[PATH_MAX] = { 0 };\n  int result = 0;\n\n  if (path == NULL) {\n    fprintf (stderr, \"Path is NULL\\n\");\n    return 0;\n  }\n\n  /* Make a copy of the path because dirname might modify it */\n  copy = strdup (path);\n  if (copy == NULL) {\n    fprintf (stderr, \"Memory allocation failed\\n\");\n    return 0;\n  }\n\n  /* Get the directory part of the path */\n  dir_path = dirname (copy);\n  snprintf (dir_path_copy, sizeof (dir_path_copy), \"%s\", dir_path);\n\n  /* Check if the directory is writable */\n  result = access (dir_path, W_OK);\n  free (copy);\n\n  if (result == 0) {\n    /* Directory exists and is writable */\n    return 1;\n  }\n\n  switch (errno) {\n  case ENOENT:\n    fprintf (stderr, \"Directory does not exist: %s\\n\", dir_path_copy);\n    break;\n  case EACCES:\n    fprintf (stderr, \"No write permission for directory: %s\\n\", dir_path_copy);\n    break;\n  case EROFS:\n    fprintf (stderr, \"Directory is on a read-only file system: %s\\n\", dir_path_copy);\n    break;\n  default:\n    fprintf (stderr, \"Unknown error (errno %d) for directory: %s\\n\", errno, dir_path_copy);\n    break;\n  }\n\n  return 0;\n}\n"
  },
  {
    "path": "src/util.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef UTIL_H_INCLUDED\n#define UTIL_H_INCLUDED\n\n#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))\n\n#define REGEX_ERROR 100\n\n#define KIB(n) (n << 10)\n#define MIB(n) (n << 20)\n#define GIB(n) (n << 30)\n#define TIB(n) (n << 40)\n#define PIB(n) (n << 50)\n\n#define MILS 1000ULL\n#define SECS 1000000ULL\n#define MINS 60000000ULL\n#define HOUR 3600000000ULL\n#define DAY  86400000000ULL\n#define TZ_NAME_LEN 48\n\n#define RAND_FN 7 + 1\n\n/* Convenient macros */\n#define MIN(a,b) \\\n   ({ __typeof__ (a) _a = (a); \\\n       __typeof__ (b) _b = (b); \\\n     _a < _b ? _a : _b; })\n\n#define MAX(a,b) (((a)>(b))?(a):(b))\n\n/* *INDENT-OFF* */\n#include <stdint.h>\n#include <sys/types.h>\n#include <time.h>\n\nchar *alloc_string (const char *str);\nchar *char_repeat (int n, char c);\nchar *char_replace (char *str, char o, char n);\nchar *deblank (char *str);\nchar *escape_str (const char *src);\nchar *filesize_str (unsigned long long log_size);\nchar *float2str (float d, int width);\nchar *get_global_config (void);\nchar *get_user_config (void);\nchar *get_visitors_date (const char *odate, const char *from, const char *to);\nchar *int2str (int d, int width);\nchar *left_pad_str (const char *s, int indent);\nchar *ltrim (char *s);\nchar *regex_extract_string (const char *str, const char *regex, int max_groups, char const **err);\nchar *rtrim (char *s);\nchar *strtoupper (char *str);\nchar *substring (const char *str, int begin, int len);\nchar *trim_str (char *str);\nchar *u322str (uint32_t d, int width);\nchar *u642str (uint64_t d, int width);\nchar *unescape_str (const char *src);\nchar *usecs_to_str (unsigned long long usec);\nconst char *verify_status_code (int code);\nconst char *verify_status_code_type (int code);\nconst char *basename_only (const char *path);\nint convert_date (char *res, const char *data, const char *from, const char *to, int size);\nint count_matches (const char *s1, char c);\nint find_output_type (char **filename, const char *ext, int alloc);\nint hide_referer (const char *host);\nint ignore_referer (const char *host);\nint intlen (uint64_t num);\nint invalid_ipaddr (const char *str, int *ipvx);\nint ip_in_range (const char *ip);\nint is_valid_http_status (int code);\nint is_writable_path (const char *path);\nint ptr2int (char *ptr);\nint str2int (const char *date);\nint str_inarray (const char *s, const char *arr[], int size);\nint str_to_time (const char *str, const char *fmt, struct tm *tm, int tz);\nint valid_output_type (const char *filename);\noff_t file_size (const char *filename);\nsize_t append_str (char **dest, const char *src);\nuint32_t djb2 (const unsigned char *str);\nuint64_t u64encode (uint32_t x, uint32_t y);\nvoid decode_hex(char *url, char *out, int decode_plus);\nvoid genstr (char *dest, size_t len);\nvoid set_tz (void);\nvoid strip_newlines (char *str);\nvoid u64decode (uint64_t n, uint32_t * x, uint32_t * y);\nvoid xstrncpy (char *dest, const char *source, const size_t dest_size);\n\n/* *INDENT-ON* */\n\n#endif\n"
  },
  {
    "path": "src/websocket.c",
    "content": "/**\n * websocket.c -- An rfc6455-complaint Web Socket Server\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <arpa/inet.h>\n#include <ctype.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <netdb.h>\n#include <netinet/in.h>\n#include <stdarg.h>\n#include <stddef.h>\n#include <sys/socket.h>\n#include <sys/un.h>\n#include <sys/stat.h>\n#include <sys/time.h>\n#include <sys/ioctl.h>\n#include <time.h>\n#include <unistd.h>\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#include \"websocket.h\"\n\n#include \"base64.h\"\n#include \"error.h\"\n#include \"gslist.h\"\n#include \"sha1.h\"\n#include \"util.h\"\n#include \"xmalloc.h\"\n\n/* *INDENT-OFF* */\n\n/* UTF-8 Decoder */\n/* Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>\n * See http://bjoern.hoehrmann.de/utf-8/decoder/dfa/ for details. */\n#define UTF8_VALID 0\n#define UTF8_INVAL 1\nstatic const uint8_t utf8d[] = {\n  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 00..1f */\n  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 20..3f */\n  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 40..5f */\n  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 60..7f */\n  1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, /* 80..9f */\n  7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, /* a0..bf */\n  8,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, /* c0..df */\n  0xa,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x3,0x4,0x3,0x3, /* e0..ef */\n  0xb,0x6,0x6,0x6,0x5,0x8,0x8,0x8,0x8,0x8,0x8,0x8,0x8,0x8,0x8,0x8, /* f0..ff */\n  0x0,0x1,0x2,0x3,0x5,0x8,0x7,0x1,0x1,0x1,0x4,0x6,0x1,0x1,0x1,0x1, /* s0..s0 */\n  1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,1,0,1,1,1,1,1,1, /* s1..s2 */\n  1,2,1,1,1,1,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1, /* s3..s4 */\n  1,2,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,3,1,3,1,1,1,1,1,1, /* s5..s6 */\n  1,3,1,1,1,1,1,3,1,3,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1, /* s7..s8 */\n};\n/* *INDENT-ON* */\n\nstatic struct pollfd *fdstate = NULL;\nstatic nfds_t nfdstate = 0;\nstatic WSConfig wsconfig = { 0 };\n\nstatic void handle_read_close (int *conn, WSClient * client, WSServer * server);\nstatic void handle_reads (int *conn, WSServer * server);\nstatic void handle_writes (int *conn, WSServer * server);\n#ifdef HAVE_LIBSSL\nstatic int shutdown_ssl (WSClient * client);\n#endif\n\n/* Determine if the given string is valid UTF-8.\n *\n * The state after the by has been processed is returned. */\nstatic uint32_t\nverify_utf8 (uint32_t *state, const char *str, int len) {\n  int i;\n  uint32_t type;\n\n  for (i = 0; i < len; ++i) {\n    type = utf8d[(uint8_t) str[i]];\n    *state = utf8d[256 + (*state) * 16 + type];\n\n    if (*state == UTF8_INVAL)\n      break;\n  }\n\n  return *state;\n}\n\n/* Decode a character maintaining state and a byte, and returns the\n * state achieved after processing the byte.\n *\n * The state after the by has been processed is returned. */\nstatic uint32_t\nutf8_decode (uint32_t *state, uint32_t *p, uint32_t b) {\n  uint32_t type = utf8d[(uint8_t) b];\n\n  *p = (*state != UTF8_VALID) ? (b & 0x3fu) | (*p << 6) : (0xff >> type) & (b);\n  *state = utf8d[256 + *state * 16 + type];\n\n  return *state;\n}\n\n/* Replace malformed sequences with a substitute character.\n *\n * On success, it replaces the whole sequence and return a malloc'd buffer. */\nstatic char *\nsanitize_utf8 (const char *str, int len) {\n  char *buf = NULL;\n  uint32_t state = UTF8_VALID, prev = UTF8_VALID, cp = 0;\n  int i = 0, j = 0, k = 0, l = 0;\n\n  buf = xcalloc (len + 1, sizeof (char));\n  for (; i < len; prev = state, ++i) {\n    switch (utf8_decode (&state, &cp, (unsigned char) str[i])) {\n    case UTF8_INVAL:\n      /* replace the whole sequence */\n      if (k) {\n        for (l = i - k; l < i; ++l)\n          buf[j++] = '?';\n      } else {\n        buf[j++] = '?';\n      }\n      state = UTF8_VALID;\n      if (prev != UTF8_VALID)\n        i--;\n      k = 0;\n      break;\n    case UTF8_VALID:\n      /* fill i - k valid continuation bytes */\n      if (k)\n        for (l = i - k; l < i; ++l)\n          buf[j++] = str[l];\n      buf[j++] = str[i];\n      k = 0;\n      break;\n    default:\n      /* UTF8_VALID + continuation bytes */\n      k++;\n      break;\n    }\n  }\n\n  return buf;\n}\n\n/* find a pollfd structure based on fd\n * this should only be called by set_pollfd and unset_pollfd\n * because the position in memory may change */\nstatic struct pollfd *\nget_pollfd (int fd) {\n  struct pollfd *pfd, *efd = fdstate + nfdstate;\n\n  for (pfd = fdstate; pfd < efd; pfd++) {\n    if (pfd->fd == fd)\n      return pfd;\n  }\n\n  return NULL;\n}\n\n/* set flags for an existing pollfd structure based on fd,\n * otherwise malloc a new one */\nstatic void\nset_pollfd (int fd, short flags) {\n  struct pollfd *pfd;\n\n  if (fd == -1)\n    FATAL (\"Cannot poll an invalid fd\");\n\n  pfd = get_pollfd (fd);\n  if (pfd == NULL) {\n    struct pollfd *newstate = xrealloc (fdstate, sizeof (*pfd) * (nfdstate + 1));\n\n    fdstate = newstate;\n    pfd = fdstate + nfdstate++;\n    pfd->fd = fd;\n  }\n  pfd->events = flags;\n  pfd->revents = 0;\n}\n\n/* free a pollfd structure based on fd */\nstatic void\nunset_pollfd (int fd) {\n  struct pollfd *pfd = get_pollfd (fd), *efd;\n  struct pollfd *newstate;\n\n  if (pfd == NULL)\n    return;\n\n  nfdstate--;\n\n  /* avoid undefined behaviour with realloc with a size of zero */\n  if (nfdstate == 0) {\n    free (fdstate);\n    fdstate = NULL;\n    return;\n  }\n\n  efd = fdstate + nfdstate;\n  if (pfd != efd)\n    memmove (pfd, pfd + 1, (char *) efd - (char *) pfd);\n\n  /* realloc could fail, but that's ok, we don't mind. */\n  newstate = realloc (fdstate, sizeof (*pfd) * nfdstate);\n  if (newstate != NULL)\n    fdstate = newstate;\n}\n\n/* Allocate memory for a websocket server */\nstatic WSServer *\nnew_wsserver (void) {\n  WSServer *server = xcalloc (1, sizeof (WSServer));\n\n  return server;\n}\n\n/* Allocate memory for a websocket client */\nstatic WSClient *\nnew_wsclient (void) {\n  WSClient *client = xcalloc (1, sizeof (WSClient));\n  client->status = WS_OK;\n\n  return client;\n}\n\n/* Allocate memory for a websocket header */\nstatic WSHeaders *\nnew_wsheader (void) {\n  WSHeaders *headers = xcalloc (1, sizeof (WSHeaders));\n  memset (headers->buf, 0, sizeof (headers->buf));\n  headers->reading = 1;\n\n  return headers;\n}\n\n/* Allocate memory for a websocket frame */\nstatic WSFrame *\nnew_wsframe (void) {\n  WSFrame *frame = xcalloc (1, sizeof (WSFrame));\n  memset (frame->buf, 0, sizeof (frame->buf));\n  frame->reading = 1;\n\n  return frame;\n}\n\n/* Allocate memory for a websocket message */\nstatic WSMessage *\nnew_wsmessage (void) {\n  WSMessage *msg = xcalloc (1, sizeof (WSMessage));\n\n  return msg;\n}\n\n/* Allocate memory for a websocket pipeout */\nstatic WSPipeOut *\nnew_wspipeout (void) {\n  WSPipeOut *pipeout = xcalloc (1, sizeof (WSPipeOut));\n  pipeout->fd = -1;\n\n  return pipeout;\n}\n\n/* Allocate memory for a websocket pipein */\nstatic WSPipeIn *\nnew_wspipein (void) {\n  WSPipeIn *pipein = xcalloc (1, sizeof (WSPipeIn));\n  pipein->fd = -1;\n\n  return pipein;\n}\n\n/* Escapes the special characters, e.g., '\\n', '\\r', '\\t', '\\'\n * in the string source by inserting a '\\' before them.\n *\n * On error NULL is returned.\n * On success the escaped string is returned */\nstatic char *\nescape_http_request (const char *src) {\n  char *dest, *q;\n  const unsigned char *p;\n\n  if (src == NULL || *src == '\\0')\n    return NULL;\n\n  p = (const unsigned char *) src;\n  q = dest = xmalloc (strlen (src) * 4 + 1);\n\n  while (*p) {\n    switch (*p) {\n    case '\\\\':\n      *q++ = '\\\\';\n      *q++ = '\\\\';\n      break;\n    case '\\n':\n      *q++ = '\\\\';\n      *q++ = 'n';\n      break;\n    case '\\r':\n      *q++ = '\\\\';\n      *q++ = 'r';\n      break;\n    case '\\t':\n      *q++ = '\\\\';\n      *q++ = 't';\n      break;\n    case '\"':\n      *q++ = '\\\\';\n      *q++ = '\"';\n      break;\n    default:\n      if ((*p < ' ') || (*p >= 0177)) {\n        /* not ASCII */\n      } else {\n        *q++ = *p;\n      }\n      break;\n    }\n    p++;\n  }\n  *q = 0;\n  return dest;\n}\n\n/* Chop n characters from the beginning of the supplied buffer.\n *\n * The new length of the string is returned. */\nstatic size_t\nchop_nchars (char *str, size_t n, size_t len) {\n  if (n == 0 || str == 0)\n    return 0;\n\n  if (n > len)\n    n = len;\n  memmove (str, str + n, len - n);\n\n  return (len - n);\n}\n\n/* Match a client given a socket id and an item from the list.\n *\n * On match, 1 is returned, else 0. */\nstatic int\nws_find_client_sock_in_list (void *data, void *needle) {\n  WSClient *client = data;\n\n  return client->listener == (*(int *) needle);\n}\n\n/* Find a client given a socket id.\n *\n * On success, an instance of a GSLList node is returned, else NULL. */\nstatic GSLList *\nws_get_list_node_from_list (int listener, GSLList **colist) {\n  GSLList *match = NULL;\n\n  /* Find the client data for the socket in use */\n  if (!(match = list_find (*colist, ws_find_client_sock_in_list, &listener)))\n    return NULL;\n  return match;\n}\n\n/* Find a client given a socket id.\n *\n * On success, an instance of a WSClient is returned, else NULL. */\nstatic WSClient *\nws_get_client_from_list (int listener, GSLList **colist) {\n  GSLList *match = NULL;\n\n  /* Find the client data for the socket in use */\n  if (!(match = list_find (*colist, ws_find_client_sock_in_list, &listener)))\n    return NULL;\n  return (WSClient *) match->data;\n}\n\n/* Free a frame structure and its data for the given client. */\nstatic void\nws_free_frame (WSClient *client) {\n  if (client->frame)\n    free (client->frame);\n  client->frame = NULL;\n}\n\n/* Free a message structure and its data for the given client. */\nstatic void\nws_free_message (WSClient *client) {\n  if (client->message && client->message->payload)\n    free (client->message->payload);\n  if (client->message)\n    free (client->message);\n  client->message = NULL;\n}\n\n/* Free all HTTP handshake headers data for the given client. */\nstatic void\nws_free_header_fields (WSHeaders *headers) {\n  if (headers->connection)\n    free (headers->connection);\n  if (headers->host)\n    free (headers->host);\n  if (headers->agent)\n    free (headers->agent);\n  if (headers->method)\n    free (headers->method);\n  if (headers->origin)\n    free (headers->origin);\n  if (headers->path)\n    free (headers->path);\n  if (headers->protocol)\n    free (headers->protocol);\n  if (headers->jwt)\n    free (headers->jwt);\n  if (headers->upgrade)\n    free (headers->upgrade);\n  if (headers->ws_accept)\n    free (headers->ws_accept);\n  if (headers->ws_key)\n    free (headers->ws_key);\n  if (headers->ws_protocol)\n    free (headers->ws_protocol);\n  if (headers->ws_resp)\n    free (headers->ws_resp);\n  if (headers->ws_sock_ver)\n    free (headers->ws_sock_ver);\n  if (headers->referer)\n    free (headers->referer);\n}\n\n/* A wrapper to close a socket. */\nstatic void\nws_close (int listener) {\n  unset_pollfd (listener);\n  close (listener);\n}\n\n/* Clear the client's sent queue and its data. */\nstatic void\nws_clear_queue (WSClient *client) {\n  WSQueue **queue = &client->sockqueue;\n  if (!(*queue))\n    return;\n\n  if ((*queue)->queued)\n    free ((*queue)->queued);\n  (*queue)->queued = NULL;\n  (*queue)->qlen = 0;\n\n  free ((*queue));\n  (*queue) = NULL;\n\n  /* done sending the whole queue, stop throttling */\n  client->status &= ~WS_THROTTLING;\n  /* done sending, close connection if set to close */\n  if ((client->status & WS_CLOSE) && (client->status & WS_SENDING))\n    client->status = WS_CLOSE;\n}\n\n/* Free all HTTP handshake headers and structure. */\nstatic void\nws_clear_handshake_headers (WSHeaders *headers) {\n  ws_free_header_fields (headers);\n  free (headers);\n}\n\n/* Remove the given client from the list. */\nstatic void\nws_remove_client_from_list (WSClient *client, WSServer *server) {\n  GSLList *node = NULL;\n\n  if (!(node = ws_get_list_node_from_list (client->listener, &server->colist)))\n    return;\n\n  if (client->headers)\n    ws_clear_handshake_headers (client->headers);\n  list_remove_node (&server->colist, node);\n}\n\n#if HAVE_LIBSSL\n/* Attempt to send the TLS/SSL \"close notify\" shutdown and and removes\n * the SSL structure pointed to by ssl and frees up the allocated\n * memory. */\nstatic void\nws_shutdown_dangling_clients (WSClient *client) {\n  shutdown_ssl (client);\n  SSL_free (client->ssl);\n  client->ssl = NULL;\n}\n\n/* Attempt to remove the SSL_CTX object pointed to by ctx and frees up\n * the allocated memory and cleans some more generally used TLS/SSL\n * memory.  */\nstatic void\nws_ssl_cleanup (WSServer *server) {\n  if (!wsconfig.use_ssl)\n    return;\n\n  if (server->ctx)\n    SSL_CTX_free (server->ctx);\n\n  CRYPTO_cleanup_all_ex_data ();\n  CRYPTO_set_id_callback (NULL);\n  CRYPTO_set_locking_callback (NULL);\n  ERR_free_strings ();\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n  ERR_remove_state (0);\n#endif\n  EVP_cleanup ();\n}\n#endif\n\n/* Remove all clients that are still hanging out. */\nstatic int\nws_remove_dangling_clients (void *value, void *user_data) {\n  WSClient *client = value;\n  (void) (user_data);\n\n  if (client == NULL)\n    return 1;\n\n  if (client->headers)\n    ws_clear_handshake_headers (client->headers);\n  if (client->sockqueue)\n    ws_clear_queue (client);\n#ifdef HAVE_LIBSSL\n  if (client->ssl)\n    ws_shutdown_dangling_clients (client);\n#endif\n\n  return 0;\n}\n\n/* Do some housekeeping on the named pipe data packet. */\nstatic void\nws_clear_fifo_packet (WSPacket *packet) {\n  if (!packet)\n    return;\n\n  if (packet->data)\n    free (packet->data);\n  free (packet);\n}\n\n/* Do some housekeeping on the named pipe. */\nstatic void\nws_clear_pipein (WSPipeIn *pipein) {\n  WSPacket **packet = &pipein->packet;\n  if (!pipein)\n    return;\n\n  if (pipein->fd != -1)\n    ws_close (pipein->fd);\n\n  ws_clear_fifo_packet (*packet);\n  free (pipein);\n\n  if (wsconfig.pipein && access (wsconfig.pipein, F_OK) != -1)\n    unlink (wsconfig.pipein);\n}\n\n/* Do some housekeeping on the named pipe. */\nstatic void\nws_clear_pipeout (WSPipeOut *pipeout) {\n  if (!pipeout)\n    return;\n\n  if (pipeout->fd != -1)\n    ws_close (pipeout->fd);\n\n  free (pipeout);\n\n  if (wsconfig.pipeout && access (wsconfig.pipeout, F_OK) != -1)\n    unlink (wsconfig.pipeout);\n}\n\n/* Stop the server and do some cleaning. */\nvoid\nws_stop (WSServer *server) {\n  WSPipeIn **pipein = &server->pipein;\n  WSPipeOut **pipeout = &server->pipeout;\n\n  ws_clear_pipein (*pipein);\n  ws_clear_pipeout (*pipeout);\n\n  /* close access log (if any) */\n  if (wsconfig.accesslog)\n    access_log_close ();\n\n  /* remove dangling clients */\n  if (list_count (server->colist) > 0)\n    list_foreach (server->colist, ws_remove_dangling_clients, NULL);\n\n  if (server->colist)\n    list_remove_nodes (server->colist);\n\n#ifdef HAVE_LIBSSL\n  ws_ssl_cleanup (server);\n#endif\n\n  free (server);\n  free (fdstate);\n  fdstate = NULL;\n}\n\n/* Set the connection status for the given client and return the given\n * bytes.\n *\n * The given number of bytes are returned. */\nstatic int\nws_set_status (WSClient *client, WSStatus status, int bytes) {\n  client->status = status;\n  return bytes;\n}\n\n/* Append the source string to destination and reallocates and\n * updating the destination buffer appropriately. */\nstatic void\nws_append_str (char **dest, const char *src) {\n  size_t curlen = strlen (*dest);\n  size_t srclen = strlen (src);\n  size_t newlen = curlen + srclen;\n\n  char *str = xrealloc (*dest, newlen + 1);\n  memcpy (str + curlen, src, srclen + 1);\n  *dest = str;\n}\n\n#if HAVE_LIBSSL\n/* Create a new SSL_CTX object as framework to establish TLS/SSL\n * enabled connections.\n *\n * On error 1 is returned.\n * On success, SSL_CTX object is malloc'd and 0 is returned.\n */\nstatic int\ninitialize_ssl_ctx (WSServer *server) {\n  int ret = 1;\n  SSL_CTX *ctx = NULL;\n\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n  SSL_library_init ();\n  SSL_load_error_strings ();\n#endif\n\n  /* Ciphers and message digests */\n  OpenSSL_add_ssl_algorithms ();\n\n  /* ssl context */\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n  if (!(ctx = SSL_CTX_new (SSLv23_server_method ())))\n#else\n  if (!(ctx = SSL_CTX_new (TLS_server_method ())))\n#endif\n    goto out;\n  /* set certificate */\n  if (!SSL_CTX_use_certificate_file (ctx, wsconfig.sslcert, SSL_FILETYPE_PEM))\n    goto out;\n  /* ssl private key */\n  if (!SSL_CTX_use_PrivateKey_file (ctx, wsconfig.sslkey, SSL_FILETYPE_PEM))\n    goto out;\n  if (!SSL_CTX_check_private_key (ctx))\n    goto out;\n\n  /* since we queued up the send data, a retry won't be the same buffer,\n   * thus we need the following flags */\n  SSL_CTX_set_mode (ctx, SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER | SSL_MODE_ENABLE_PARTIAL_WRITE);\n\n  server->ctx = ctx;\n  ret = 0;\nout:\n  if (ret) {\n    SSL_CTX_free (ctx);\n    LOG ((\"Error: %s\\n\", ERR_error_string (ERR_get_error (), NULL)));\n  }\n\n  return ret;\n}\n\n/* Log result code for TLS/SSL I/O operation */\nstatic void\nlog_return_message (int ret, int err, const char *fn) {\n  unsigned long e;\n\n  switch (err) {\n  case SSL_ERROR_NONE:\n    LOG ((\"SSL: %s -> SSL_ERROR_NONE\\n\", fn));\n    LOG ((\"SSL: TLS/SSL I/O operation completed\\n\"));\n    break;\n  case SSL_ERROR_WANT_READ:\n    LOG ((\"SSL: %s -> SSL_ERROR_WANT_READ\\n\", fn));\n    LOG ((\"SSL: incomplete, data available for reading\\n\"));\n    break;\n  case SSL_ERROR_WANT_WRITE:\n    LOG ((\"SSL: %s -> SSL_ERROR_WANT_WRITE\\n\", fn));\n    LOG ((\"SSL: incomplete, data available for writing\\n\"));\n    break;\n  case SSL_ERROR_ZERO_RETURN:\n    LOG ((\"SSL: %s -> SSL_ERROR_ZERO_RETURN\\n\", fn));\n    LOG ((\"SSL: TLS/SSL connection has been closed\\n\"));\n    break;\n  case SSL_ERROR_WANT_X509_LOOKUP:\n    LOG ((\"SSL: %s -> SSL_ERROR_WANT_X509_LOOKUP\\n\", fn));\n    break;\n  case SSL_ERROR_SYSCALL:\n    LOG ((\"SSL: %s -> SSL_ERROR_SYSCALL\\n\", fn));\n\n    e = ERR_get_error ();\n    if (e > 0)\n      LOG ((\"SSL: %s -> %s\\n\", fn, ERR_error_string (e, NULL)));\n\n    /* call was not successful because a fatal error occurred either at the\n     * protocol level or a connection failure occurred. */\n    if (ret != 0) {\n      LOG ((\"SSL bogus handshake interrupt: %s\\n\", strerror (errno)));\n      break;\n    }\n    /* call not yet finished. */\n    LOG ((\"SSL: handshake interrupted, got EOF\\n\"));\n    if (errno == EINTR || errno == EWOULDBLOCK || errno == EAGAIN)\n      LOG ((\"SSL: %s -> not yet finished %s\\n\", fn, strerror (errno)));\n    break;\n  default:\n    LOG ((\"SSL: %s -> failed fatal error code: %d\\n\", fn, err));\n    LOG ((\"SSL: %s\\n\", ERR_error_string (ERR_get_error (), NULL)));\n    break;\n  }\n}\n\n/* Shut down the client's TLS/SSL connection\n *\n * On fatal error, 1 is returned.\n * If data still needs to be read/written, -1 is returned.\n * On success, the TLS/SSL connection is closed and 0 is returned */\nstatic int\nshutdown_ssl (WSClient *client) {\n  int ret = -1, err = 0;\n\n  /* all good */\n  if ((ret = SSL_shutdown (client->ssl)) > 0)\n    return ws_set_status (client, WS_CLOSE, 0);\n\n  err = SSL_get_error (client->ssl, ret);\n  log_return_message (ret, err, \"SSL_shutdown\");\n\n  switch (err) {\n  case SSL_ERROR_WANT_READ:\n  case SSL_ERROR_WANT_WRITE:\n    client->sslstatus = WS_TLS_SHUTTING;\n    break;\n  case SSL_ERROR_SYSCALL:\n    if (ret == 0) {\n      LOG ((\"SSL: SSL_shutdown, connection unexpectedly closed by peer.\\n\"));\n      /* The shutdown is not yet finished. */\n      if (errno == EINTR || errno == EWOULDBLOCK || errno == EAGAIN)\n        client->sslstatus = WS_TLS_SHUTTING;\n      break;\n    }\n    LOG ((\"SSL: SSL_shutdown, probably unrecoverable, forcing close.\\n\"));\n    /* FALLTHRU */\n  case SSL_ERROR_ZERO_RETURN:\n  case SSL_ERROR_WANT_X509_LOOKUP:\n  default:\n    return ws_set_status (client, WS_ERR | WS_CLOSE, 1);\n  }\n\n  return ret;\n}\n\n/* Wait for a TLS/SSL client to initiate a TLS/SSL handshake\n *\n * On fatal error, the connection is shut down.\n * If data still needs to be read/written, -1 is returned.\n * On success, the TLS/SSL connection is completed and 0 is returned */\nstatic int\naccept_ssl (WSClient *client) {\n  int ret = -1, err = 0;\n\n  /* all good on TLS handshake */\n  if ((ret = SSL_accept (client->ssl)) > 0) {\n    client->sslstatus &= ~WS_TLS_ACCEPTING;\n    return 0;\n  }\n\n  err = SSL_get_error (client->ssl, ret);\n  log_return_message (ret, err, \"SSL_accept\");\n\n  switch (err) {\n  case SSL_ERROR_WANT_READ:\n  case SSL_ERROR_WANT_WRITE:\n    client->sslstatus = WS_TLS_ACCEPTING;\n    break;\n  case SSL_ERROR_SYSCALL:\n    /* Wait for more activity else bail out, for instance if the socket is closed\n     * during the handshake. */\n    if (ret < 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)) {\n      client->sslstatus = WS_TLS_ACCEPTING;\n      break;\n    }\n    /* The peer notified that it is shutting down through a SSL \"close_notify\" so\n     * we shutdown too */\n    /* FALLTHRU */\n  case SSL_ERROR_ZERO_RETURN:\n  case SSL_ERROR_WANT_X509_LOOKUP:\n  default:\n    client->sslstatus &= ~WS_TLS_ACCEPTING;\n    return ws_set_status (client, WS_ERR | WS_CLOSE, 1);\n  }\n\n  return ret;\n}\n\n/* Create a new SSL structure for a connection and perform handshake */\nstatic void\nhandle_accept_ssl (WSClient *client, WSServer *server) {\n  /* attempt to create SSL connection if we don't have one yet */\n  if (!client->ssl) {\n    if (!(client->ssl = SSL_new (server->ctx))) {\n      LOG ((\"SSL: SSL_new, new SSL structure failed.\\n\"));\n      return;\n    }\n    if (!SSL_set_fd (client->ssl, client->listener)) {\n      LOG ((\"SSL: unable to set file descriptor\\n\"));\n      return;\n    }\n  }\n\n  /* attempt to initiate the TLS/SSL handshake */\n  if (accept_ssl (client) == 0) {\n    LOG ((\"SSL Accepted: %d %s\\n\", client->listener, client->remote_ip));\n  }\n}\n\n/* Given the current status of the SSL buffer, perform that action.\n *\n * On error or if no SSL pending status, 1 is returned.\n * On success, the TLS/SSL pending action is called and 0 is returned */\nstatic int\nhandle_ssl_pending_rw (int *conn, WSServer *server, WSClient *client) {\n  if (!wsconfig.use_ssl)\n    return 1;\n\n  /* trying to write but still waiting for a successful SSL_accept */\n  if (client->sslstatus & WS_TLS_ACCEPTING) {\n    handle_accept_ssl (client, server);\n    return 0;\n  }\n  /* trying to read but still waiting for a successful SSL_read */\n  if (client->sslstatus & WS_TLS_READING) {\n    handle_reads (conn, server);\n    return 0;\n  }\n  /* trying to write but still waiting for a successful SSL_write */\n  if (client->sslstatus & WS_TLS_WRITING) {\n    handle_writes (conn, server);\n    return 0;\n  }\n  /* trying to write but still waiting for a successful SSL_shutdown */\n  if (client->sslstatus & WS_TLS_SHUTTING) {\n    if (shutdown_ssl (client) == 0)\n      handle_read_close (conn, client, server);\n    return 0;\n  }\n\n  return 1;\n}\n\n/* Write bytes to a TLS/SSL connection for a given client.\n *\n * On error or if no write is performed <=0 is returned.\n * On success, the number of bytes actually written to the TLS/SSL\n * connection are returned */\nstatic int\nsend_ssl_buffer (WSClient *client, const char *buffer, int len) {\n  int bytes = 0, err = 0;\n\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n  ERR_clear_error ();\n#endif\n  if ((bytes = SSL_write (client->ssl, buffer, len)) > 0)\n    return bytes;\n\n  err = SSL_get_error (client->ssl, bytes);\n  log_return_message (bytes, err, \"SSL_write\");\n\n  switch (err) {\n  case SSL_ERROR_WANT_WRITE:\n    break;\n  case SSL_ERROR_WANT_READ:\n    client->sslstatus = WS_TLS_WRITING;\n    break;\n  case SSL_ERROR_SYSCALL:\n    if ((bytes < 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)))\n      break;\n    /* The connection was shut down cleanly */\n    /* FALLTHRU */\n  case SSL_ERROR_ZERO_RETURN:\n  case SSL_ERROR_WANT_X509_LOOKUP:\n  default:\n    return ws_set_status (client, WS_ERR | WS_CLOSE, -1);\n  }\n\n  return bytes;\n}\n\n/* Read data from the given client's socket and set a connection\n * status given the output of recv().\n *\n * On error, -1 is returned and the connection status is set.\n * On success, the number of bytes read is returned. */\nstatic int\nread_ssl_socket (WSClient *client, char *buffer, int size) {\n  int bytes = 0, done = 0, err = 0;\n  do {\n#if OPENSSL_VERSION_NUMBER < 0x10100000L\n    ERR_clear_error ();\n#endif\n\n    done = 0;\n    if ((bytes = SSL_read (client->ssl, buffer, size)) > 0)\n      break;\n\n    err = SSL_get_error (client->ssl, bytes);\n    log_return_message (bytes, err, \"SSL_read\");\n\n    switch (err) {\n    case SSL_ERROR_WANT_WRITE:\n      client->sslstatus = WS_TLS_READING;\n      done = 1;\n      break;\n    case SSL_ERROR_WANT_READ:\n      done = 1;\n      break;\n    case SSL_ERROR_SYSCALL:\n      if ((bytes < 0 && (errno == EAGAIN || errno == EWOULDBLOCK || errno == EINTR)))\n        break;\n      /* FALLTHRU */\n    case SSL_ERROR_ZERO_RETURN:\n    case SSL_ERROR_WANT_X509_LOOKUP:\n    default:\n      return ws_set_status (client, WS_ERR | WS_CLOSE, -1);\n    }\n  } while (SSL_pending (client->ssl) && !done);\n\n  return bytes;\n}\n#endif\n\n/* Get sockaddr, either IPv4 or IPv6 */\nstatic void *\nws_get_raddr (struct sockaddr *sa) {\n  if (sa->sa_family == AF_INET)\n    return &(((struct sockaddr_in *) (void *) sa)->sin_addr);\n\n  return &(((struct sockaddr_in6 *) (void *) sa)->sin6_addr);\n}\n\n/* Set the given file descriptor as NON BLOCKING. */\nvoid\nset_nonblocking (int sock) {\n  if (fcntl (sock, F_SETFL, fcntl (sock, F_GETFL, 0) | O_NONBLOCK) == -1)\n    FATAL (\"Unable to set socket as non-blocking: %s.\", strerror (errno));\n}\n\n/* Accept a new connection on a socket and add it to the list of\n * current connected clients.\n *\n * The newly assigned socket is returned. */\nstatic int\naccept_client (int listener, GSLList **colist) {\n  WSClient *client;\n  struct sockaddr_storage raddr;\n  int newfd;\n  const void *src = NULL;\n  socklen_t alen;\n\n  alen = sizeof (raddr);\n  if ((newfd = accept (listener, (struct sockaddr *) &raddr, &alen)) == -1)\n    FATAL (\"Unable to set accept: %s.\", strerror (errno));\n\n  if (newfd == -1) {\n    LOG ((\"Unable to accept: %s.\", strerror (errno)));\n    return newfd;\n  }\n  src = ws_get_raddr ((struct sockaddr *) &raddr);\n\n  /* malloc a new client */\n  client = new_wsclient ();\n  client->listener = newfd;\n  inet_ntop (raddr.ss_family, src, client->remote_ip, INET6_ADDRSTRLEN);\n\n  /* add up our new client to keep track of */\n  if (*colist == NULL)\n    *colist = list_create (client);\n  else\n    *colist = list_insert_prepend (*colist, client);\n\n  /* make the socket non-blocking */\n  set_nonblocking (client->listener);\n\n  /* poll for the socket */\n  set_pollfd (client->listener, POLLIN);\n\n  return newfd;\n}\n\n/* Extract the HTTP method.\n *\n * On error, or if not found, NULL is returned.\n * On success, the HTTP method is returned. */\nstatic const char *\nws_get_method (const char *token) {\n  const char *lookfor = NULL;\n\n  if ((lookfor = \"GET\", !memcmp (token, \"GET \", 4)) ||\n      (lookfor = \"get\", !memcmp (token, \"get \", 4)))\n    return lookfor;\n  return NULL;\n}\n\n/* Parse a request containing the method and protocol.\n *\n * On error, or unable to parse, NULL is returned.\n * On success, the HTTP request is returned and the method and\n * protocol are assigned to the corresponding buffers. */\nstatic char *\nws_parse_request (char *line, char **method, char **protocol) {\n  const char *meth;\n  char *req = NULL, *request = NULL, *proto = NULL;\n  ptrdiff_t rlen;\n\n  if ((meth = ws_get_method (line)) == NULL) {\n    return NULL;\n  } else {\n    req = line + strlen (meth);\n    if ((proto = strstr (line, \" HTTP/1.0\")) == NULL &&\n        (proto = strstr (line, \" HTTP/1.1\")) == NULL)\n      return NULL;\n\n    req++;\n    if ((rlen = proto - req) <= 0)\n      return NULL;\n\n    request = xmalloc (rlen + 1);\n    strncpy (request, req, rlen);\n    request[rlen] = 0;\n\n    (*method) = strtoupper (xstrdup (meth));\n    (*protocol) = strtoupper (xstrdup (++proto));\n  }\n\n  return request;\n}\n\n/* Given a pair of key/values, assign it to our HTTP headers\n * structure. */\nstatic void\nws_set_header_key_value (WSHeaders *headers, char *key, char *value) {\n  if (strcasecmp (\"Host\", key) == 0)\n    headers->host = xstrdup (value);\n  else if (strcasecmp (\"Origin\", key) == 0)\n    headers->origin = xstrdup (value);\n  else if (strcasecmp (\"Upgrade\", key) == 0)\n    headers->upgrade = xstrdup (value);\n  else if (strcasecmp (\"Connection\", key) == 0)\n    headers->connection = xstrdup (value);\n  else if (strcasecmp (\"Sec-WebSocket-Protocol\", key) == 0)\n    headers->ws_protocol = xstrdup (value);\n  else if (strcasecmp (\"Sec-WebSocket-Key\", key) == 0)\n    headers->ws_key = xstrdup (value);\n  else if (strcasecmp (\"Sec-WebSocket-Version\", key) == 0)\n    headers->ws_sock_ver = xstrdup (value);\n  else if (strcasecmp (\"User-Agent\", key) == 0)\n    headers->agent = xstrdup (value);\n  else if (strcasecmp (\"Referer\", key) == 0)\n    headers->referer = xstrdup (value);\n}\n\n/* Verify that the given HTTP headers were passed upon doing the\n * websocket handshake.\n *\n * On error, or header missing, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nws_verify_req_headers (WSHeaders *headers) {\n  if (!headers->host)\n    return 1;\n  if (!headers->method)\n    return 1;\n  if (!headers->protocol)\n    return 1;\n  if (!headers->path)\n    return 1;\n  if (wsconfig.origin && !headers->origin)\n    return 1;\n  if (wsconfig.origin && strcasecmp (wsconfig.origin, headers->origin) != 0)\n    return 1;\n  if (!headers->connection)\n    return 1;\n  if (!headers->ws_key)\n    return 1;\n  if (!headers->ws_sock_ver)\n    return 1;\n  return 0;\n}\n\n/* Extract JWT token from query string */\nstatic char *\nws_extract_jwt_token (char *path) {\n  char decoded_token[8192] = { 0 }; // Adjust size as needed\n  char *query = NULL, *tokenParam = NULL, *end = NULL;\n  if (!path)\n    return NULL;\n\n  // Look for a query string in the path\n  query = strchr (path, '?');\n  if (!query)\n    return NULL;\n\n  query++;      // Skip the '?'\n\n  // Look for the token parameter\n  tokenParam = strstr (query, \"token=\");\n  if (!tokenParam)\n    return NULL;\n\n  tokenParam += strlen (\"token=\"); // Move pointer past \"token=\"\n\n  // Decode the token\n  decode_hex (tokenParam, decoded_token, 1);\n\n  // Find the end of the token (next '&' or end of string)\n  end = strpbrk (decoded_token, \"& \");\n  if (end)\n    *end = '\\0';\n\n  // Return a dynamically allocated copy of the decoded token\n  return strdup (decoded_token);\n}\n\n/* From RFC2616, each header field consists of a name followed by a\n * colon (\":\") and the field value. Field names are case-insensitive.\n * The field value MAY be preceded by any amount of LWS, though a\n * single SP is preferred */\nstatic int\nws_set_header_fields (char *line, WSHeaders *headers) {\n  char *path = NULL, *method = NULL, *proto = NULL;\n  char *p = NULL, *value = NULL;\n\n  if (line[0] == '\\n' || line[0] == '\\r')\n    return 1;\n\n  if ((strstr (line, \"GET \")) || (strstr (line, \"get \"))) {\n    if ((path = ws_parse_request (line, &method, &proto)) == NULL)\n      return 1;\n\n    headers->path = path;\n    headers->method = method;\n    headers->protocol = proto;\n\n    /* Extract JWT token from path */\n    headers->jwt = ws_extract_jwt_token (path);\n\n    return 0;\n  }\n\n  if ((p = strchr (line, ':')) == NULL)\n    return 1;\n\n  value = p + 1;\n  while (p != line && isspace ((unsigned char) *(p - 1)))\n    p--;\n\n  if (p == line)\n    return 1;\n\n  *p = '\\0';\n\n  if (strpbrk (line, \" \\t\") != NULL) {\n    *p = ' ';\n    return 1;\n  }\n\n  while (isspace ((unsigned char) *value))\n    value++;\n\n  ws_set_header_key_value (headers, line, value);\n  return 0;\n}\n\n/* Parse the given HTTP headers and set the expected websocket\n * handshake.\n *\n * On error, or 1 is returned.\n * On success, 0 is returned. */\nstatic int\nparse_headers (WSHeaders *headers) {\n  char *tmp = NULL;\n  const char *buffer = headers->buf;\n  const char *line = buffer, *next = NULL;\n  int len = 0;\n\n  while (line) {\n    if ((next = strstr (line, \"\\r\\n\")) != NULL)\n      len = (next - line);\n    else\n      len = strlen (line);\n\n    if (len <= 0)\n      return 1;\n\n    tmp = xmalloc (len + 1);\n    memcpy (tmp, line, len);\n    tmp[len] = '\\0';\n\n    if (ws_set_header_fields (tmp, headers) == 1) {\n      free (tmp);\n      return 1;\n    }\n\n    free (tmp);\n    line = next ? (next + 2) : NULL;\n\n    if (next && strcmp (next, \"\\r\\n\\r\\n\") == 0)\n      break;\n  }\n\n  return 0;\n}\n\n/* Set into a queue the data that couldn't be sent. */\nstatic void\nws_queue_sockbuf (WSClient *client, const char *buffer, int len, int bytes) {\n  WSQueue *queue = xcalloc (1, sizeof (WSQueue));\n\n  if (bytes < 1)\n    bytes = 0;\n\n  queue->queued = xcalloc (len - bytes, sizeof (char));\n  memcpy (queue->queued, buffer + bytes, len - bytes);\n  queue->qlen = len - bytes;\n  client->sockqueue = queue;\n\n  client->status |= WS_SENDING;\n  set_pollfd (client->listener, POLLIN | POLLOUT);\n}\n\n/* Read data from the given client's socket and set a connection\n * status given the output of recv().\n *\n * On error, -1 is returned and the connection status is set.\n * On success, the number of bytes read is returned. */\nstatic int\nread_plain_socket (WSClient *client, char *buffer, int size) {\n  int bytes = 0;\n\n  bytes = recv (client->listener, buffer, size, 0);\n\n  if (bytes == -1 && (errno == EAGAIN || errno == EWOULDBLOCK))\n    return ws_set_status (client, WS_READING, bytes);\n  else if (bytes == -1 || bytes == 0)\n    return ws_set_status (client, WS_ERR | WS_CLOSE, bytes);\n\n  return bytes;\n}\n\n/* Read data from the given client's socket and set a connection\n * status given the output of recv().\n *\n * On error, -1 is returned and the connection status is set.\n * On success, the number of bytes read is returned. */\nstatic int\nread_socket (WSClient *client, char *buffer, int size) {\n#ifdef HAVE_LIBSSL\n  if (wsconfig.use_ssl)\n    return read_ssl_socket (client, buffer, size);\n  else\n    return read_plain_socket (client, buffer, size);\n#else\n  return read_plain_socket (client, buffer, size);\n#endif\n}\n\nstatic int\nsend_plain_buffer (WSClient *client, const char *buffer, int len) {\n  return send (client->listener, buffer, len, 0);\n}\n\nstatic int\nsend_buffer (WSClient *client, const char *buffer, int len) {\n#ifdef HAVE_LIBSSL\n  if (wsconfig.use_ssl)\n    return send_ssl_buffer (client, buffer, len);\n  else\n    return send_plain_buffer (client, buffer, len);\n#else\n  return send_plain_buffer (client, buffer, len);\n#endif\n}\n\n/* Attempt to send the given buffer to the given socket.\n *\n * On error, -1 is returned and the connection status is set.\n * On success, the number of bytes sent is returned. */\nstatic int\nws_respond_data (WSClient *client, const char *buffer, int len) {\n  int bytes = 0;\n\n  bytes = send_buffer (client, buffer, len);\n  if (bytes == -1 && errno == EPIPE)\n    return ws_set_status (client, WS_ERR | WS_CLOSE, bytes);\n\n  /* did not send all of it... buffer it for a later attempt */\n  if (bytes < len || (bytes == -1 && (errno == EAGAIN || errno == EWOULDBLOCK)))\n    ws_queue_sockbuf (client, buffer, len, bytes);\n\n  return bytes;\n}\n\n/* Attempt to send the queued up client's data to the given socket.\n *\n * On error, -1 is returned and the connection status is set.\n * On success, the number of bytes sent is returned. */\nstatic int\nws_respond_cache (WSClient *client) {\n  WSQueue *queue = client->sockqueue;\n  int bytes = 0;\n\n  bytes = send_buffer (client, queue->queued, queue->qlen);\n  if (bytes == -1 && errno == EPIPE)\n    return ws_set_status (client, WS_ERR | WS_CLOSE, bytes);\n\n  if (bytes == -1 && (errno == EAGAIN || errno == EWOULDBLOCK))\n    return bytes;\n\n  if (chop_nchars (queue->queued, bytes, queue->qlen) == 0)\n    ws_clear_queue (client);\n  else\n    queue->qlen -= bytes;\n\n  return bytes;\n}\n\n/* Attempt to realloc the current sent queue.\n *\n * On error, 1 is returned and the connection status is set.\n * On success, 0 is returned. */\nstatic int\nws_realloc_send_buf (WSClient *client, const char *buf, int len) {\n  WSQueue *queue = client->sockqueue;\n  char *tmp = NULL;\n  int newlen = 0;\n\n  newlen = queue->qlen + len;\n  tmp = realloc (queue->queued, newlen);\n  if (tmp == NULL && newlen > 0) {\n    ws_clear_queue (client);\n    return ws_set_status (client, WS_ERR | WS_CLOSE, 1);\n  }\n  queue->queued = tmp;\n  memcpy (queue->queued + queue->qlen, buf, len);\n  queue->qlen += len;\n\n  /* client probably  too slow, so stop queueing until everything is\n   * sent */\n  if (queue->qlen >= WS_THROTTLE_THLD)\n    client->status |= WS_THROTTLING;\n\n  return 0;\n}\n\n/* An entry point to attempt to send the client's data.\n *\n * On error, 1 is returned and the connection status is set.\n * On success, the number of bytes sent is returned. */\nstatic int\nws_respond (WSClient *client, const char *buffer, int len) {\n  int bytes = 0;\n\n  /* attempt to send the whole buffer */\n  if (client->sockqueue == NULL)\n    bytes = ws_respond_data (client, buffer, len);\n  /* buffer not empty, just append new data iff we're not throttling the\n   * client */\n  else if (client->sockqueue != NULL && buffer != NULL && !(client->status & WS_THROTTLING)) {\n    if (ws_realloc_send_buf (client, buffer, len) == 1)\n      return bytes;\n  }\n  /* send from cache buffer */\n  else {\n    bytes = ws_respond_cache (client);\n  }\n\n  return bytes;\n}\n\n/* Encode a websocket frame (header/message) and attempt to send it\n * through the client's socket.\n *\n * On success, 0 is returned. */\nstatic int\nws_send_frame (WSClient *client, WSOpcode opcode, const char *p, int sz) {\n  unsigned char buf[32] = { 0 };\n  char *frm = NULL;\n  uint64_t payloadlen = 0, u64;\n  int hsize = 2;\n\n  if (sz < 126) {\n    payloadlen = sz;\n  } else if (sz < (1 << 16)) {\n    payloadlen = WS_PAYLOAD_EXT16;\n    hsize += 2;\n  } else {\n    payloadlen = WS_PAYLOAD_EXT64;\n    hsize += 8;\n  }\n\n  buf[0] = 0x80 | ((uint8_t) opcode);\n  switch (payloadlen) {\n  case WS_PAYLOAD_EXT16:\n    buf[1] = WS_PAYLOAD_EXT16;\n    buf[2] = (sz & 0xff00) >> 8;\n    buf[3] = (sz & 0x00ff) >> 0;\n    break;\n  case WS_PAYLOAD_EXT64:\n    buf[1] = WS_PAYLOAD_EXT64;\n    u64 = htobe64 (sz);\n    memcpy (buf + 2, &u64, sizeof (uint64_t));\n    break;\n  default:\n    buf[1] = (sz & 0xff);\n  }\n  frm = xcalloc (hsize + sz, sizeof (unsigned char));\n  memcpy (frm, buf, hsize);\n  if (p != NULL && sz > 0)\n    memcpy (frm + hsize, p, sz);\n\n  ws_respond (client, frm, hsize + sz);\n  free (frm);\n\n  return 0;\n}\n\n/* Send an error message to the given client.\n *\n * On success, the number of sent bytes is returned. */\nstatic int\nws_error (WSClient *client, unsigned short code, const char *err) {\n  unsigned int len;\n  unsigned short code_be;\n  char buf[128] = { 0 };\n\n  len = 2;\n  code_be = htobe16 (code);\n  memcpy (buf, &code_be, 2);\n  if (err)\n    len += snprintf (buf + 2, sizeof buf - 4, \"%s\", err);\n\n  return ws_send_frame (client, WS_OPCODE_CLOSE, buf, len);\n}\n\n/* Log hit to the access log.\n *\n * On success, the hit/entry is logged. */\nstatic void\naccess_log (WSClient *client, int status_code) {\n  WSHeaders *hdrs = client->headers;\n  char buf[64] = { 0 };\n  uint32_t elapsed = 0;\n  struct timeval tv;\n  struct tm time;\n  char *req = NULL, *ref = NULL, *ua = NULL;\n\n  gettimeofday (&tv, NULL);\n  strftime (buf, sizeof (buf) - 1, \"[%d/%b/%Y:%H:%M:%S %z]\", localtime_r (&tv.tv_sec, &time));\n\n  elapsed = (client->end_proc.tv_sec - client->start_proc.tv_sec) * 1000.0;\n  elapsed += (client->end_proc.tv_usec - client->start_proc.tv_usec) / 1000.0;\n\n  req = escape_http_request (hdrs->path);\n  ref = escape_http_request (hdrs->referer);\n  ua = escape_http_request (hdrs->agent);\n\n  ACCESS_LOG ((\"%s \", client->remote_ip));\n  ACCESS_LOG ((\"- - \"));\n  ACCESS_LOG ((\"%s \", buf));\n  ACCESS_LOG ((\"\\\"%s \", hdrs->method));\n  ACCESS_LOG ((\"%s \", req ? req : \"-\"));\n  ACCESS_LOG ((\"%s\\\" \", hdrs->protocol));\n  ACCESS_LOG ((\"%d \", status_code));\n  ACCESS_LOG ((\"%d \", hdrs->buflen));\n  ACCESS_LOG ((\"\\\"%s\\\" \", ref ? ref : \"-\"));\n  ACCESS_LOG ((\"\\\"%s\\\" \", ua ? ua : \"-\"));\n  ACCESS_LOG ((\"%u\\n\", elapsed));\n\n  if (req)\n    free (req);\n  if (ref)\n    free (ref);\n  if (ua)\n    free (ua);\n}\n\n/* Send an HTTP error status to the given client.\n *\n * On success, the number of sent bytes is returned. */\nstatic int\nhttp_error (WSClient *client, const char *buffer) {\n  /* do access logging */\n  gettimeofday (&client->end_proc, NULL);\n  if (wsconfig.accesslog)\n    access_log (client, 400);\n\n  return ws_respond (client, buffer, strlen (buffer));\n}\n\n/* Compute the SHA1 for the handshake. */\nstatic void\nws_sha1_digest (char *s, int len, unsigned char *digest) {\n  SHA1_CTX sha;\n\n  SHA1Init (&sha);\n  SHA1Update (&sha, (uint8_t *) s, len);\n  SHA1Final (digest, &sha);\n}\n\n/* Set the parsed websocket handshake headers. */\nstatic void\nws_set_handshake_headers (WSHeaders *headers) {\n  size_t klen = strlen (headers->ws_key);\n  size_t mlen = strlen (WS_MAGIC_STR);\n  size_t len = klen + mlen;\n  char *s = xmalloc (klen + mlen + 1);\n  uint8_t digest[SHA_DIGEST_LENGTH];\n\n  memset (digest, 0, sizeof *digest);\n\n  memcpy (s, headers->ws_key, klen);\n  memcpy (s + klen, WS_MAGIC_STR, mlen + 1);\n\n  ws_sha1_digest (s, len, digest);\n\n  /* set response headers */\n  headers->ws_accept = base64_encode ((unsigned char *) digest, sizeof (digest));\n  headers->ws_resp = xstrdup (WS_SWITCH_PROTO_STR);\n\n  if (!headers->upgrade)\n    headers->upgrade = xstrdup (\"websocket\");\n  if (!headers->connection)\n    headers->connection = xstrdup (\"Upgrade\");\n\n  free (s);\n}\n\n/* Send the websocket handshake headers to the given client.\n *\n * On success, the number of sent bytes is returned. */\nstatic int\nws_send_handshake_headers (WSClient *client, WSHeaders *headers) {\n  int bytes = 0;\n  char *str = xstrdup (\"\");\n\n  ws_append_str (&str, headers->ws_resp);\n  ws_append_str (&str, CRLF);\n\n  ws_append_str (&str, \"Upgrade: \");\n  ws_append_str (&str, headers->upgrade);\n  ws_append_str (&str, CRLF);\n\n  ws_append_str (&str, \"Connection: \");\n  ws_append_str (&str, headers->connection);\n  ws_append_str (&str, CRLF);\n\n  ws_append_str (&str, \"Sec-WebSocket-Accept: \");\n  ws_append_str (&str, headers->ws_accept);\n  ws_append_str (&str, CRLF CRLF);\n\n  bytes = ws_respond (client, str, strlen (str));\n  free (str);\n\n  return bytes;\n}\n\n/* Given the HTTP connection headers, attempt to parse the web socket\n * handshake headers.\n *\n * On success, the number of sent bytes is returned. */\nstatic int\nws_get_handshake (WSClient *client, WSServer *server) {\n  int bytes = 0, readh = 0;\n  char *buf = NULL;\n\n  if (client->headers == NULL)\n    client->headers = new_wsheader ();\n\n  buf = client->headers->buf;\n  readh = client->headers->buflen;\n  /* Probably the connection was closed before finishing handshake */\n  if ((bytes = read_socket (client, buf + readh, WS_MAX_HEAD_SZ - readh)) < 1) {\n    if (client->status & WS_CLOSE) {\n      LOG ((\"Connection aborted %d [%s]...\\n\", client->listener, client->remote_ip));\n      http_error (client, WS_BAD_REQUEST_STR);\n    }\n    LOG ((\"Can't establish handshake %d [%s]...\\n\", client->listener, client->remote_ip));\n    return ws_set_status (client, WS_CLOSE, bytes);\n  }\n  client->headers->buflen += bytes;\n\n  buf[client->headers->buflen] = '\\0'; /* null-terminate */\n\n  /* Must have a \\r\\n\\r\\n */\n  if (strstr (buf, \"\\r\\n\\r\\n\") == NULL) {\n    if (strlen (buf) < WS_MAX_HEAD_SZ) {\n      LOG ((\"Headers too long %d [%s]...\\n\", client->listener, client->remote_ip));\n      return ws_set_status (client, WS_READING, bytes);\n    }\n\n    LOG ((\"Invalid newlines for handshake %d [%s]...\\n\", client->listener, client->remote_ip));\n    http_error (client, WS_BAD_REQUEST_STR);\n    return ws_set_status (client, WS_CLOSE, bytes);\n  }\n\n  /* Ensure we have valid HTTP headers for the handshake */\n  if (parse_headers (client->headers) != 0) {\n    LOG ((\"Invalid headers for handshake %d [%s]...\\n\", client->listener, client->remote_ip));\n    http_error (client, WS_BAD_REQUEST_STR);\n    return ws_set_status (client, WS_CLOSE, bytes);\n  }\n\n  /* Ensure we have the required headers */\n  if (ws_verify_req_headers (client->headers) != 0) {\n    LOG ((\"Missing headers for handshake %d [%s]...\\n\", client->listener, client->remote_ip));\n    http_error (client, WS_BAD_REQUEST_STR);\n    return ws_set_status (client, WS_CLOSE, bytes);\n  }\n\n  /* Ensure we can authenticate the connection */\n  if (wsconfig.auth_secret && wsconfig.auth (client->headers->jwt, wsconfig.auth_secret) != 1) {\n    LOG ((\"Unable to authenticate connection %d [%s]...\\n\", client->listener, client->remote_ip));\n    http_error (client, WS_UNAUTHORIZED_STR);\n    return ws_set_status (client, WS_CLOSE, bytes);\n  }\n\n  ws_set_handshake_headers (client->headers);\n\n  /* handshake response */\n  ws_send_handshake_headers (client, client->headers);\n\n  /* upon success, call onopen() callback */\n  if (server->onopen && wsconfig.strict && !wsconfig.echomode)\n    server->onopen (server->pipeout, client);\n  client->headers->reading = 0;\n\n  /* do access logging */\n  gettimeofday (&client->end_proc, NULL);\n  if (wsconfig.accesslog)\n    access_log (client, 101);\n  LOG ((\"Active: %d\\n\", list_count (server->colist)));\n\n  return ws_set_status (client, WS_OK, bytes);\n}\n\n/* Send a data message to the given client.\n *\n * On success, 0 is returned. */\nint\nws_send_data (WSClient *client, WSOpcode opcode, const char *p, int sz) {\n  char *buf = NULL;\n\n  buf = sanitize_utf8 (p, sz);\n  ws_send_frame (client, opcode, buf, sz);\n  free (buf);\n\n  return 0;\n}\n\n/* Read a websocket frame's header.\n *\n * On success, the number of bytes read is returned. */\nstatic int\nws_read_header (WSClient *client, WSFrame *frm, int pos, int need) {\n  char *buf = frm->buf;\n  int bytes = 0;\n\n  /* read the first 2 bytes for basic frame info */\n  if ((bytes = read_socket (client, buf + pos, need)) < 1) {\n    if (client->status & WS_CLOSE)\n      ws_error (client, WS_CLOSE_UNEXPECTED, \"Unable to read header\");\n    return bytes;\n  }\n  frm->buflen += bytes;\n  frm->buf[frm->buflen] = '\\0'; /* null-terminate */\n\n  return bytes;\n}\n\n/* Read a websocket frame's payload.\n *\n * On success, the number of bytes read is returned. */\nstatic int\nws_read_payload (WSClient *client, WSMessage *msg, int pos, int need) {\n  char *buf = msg->payload;\n  int bytes = 0;\n\n  /* read the first 2 bytes for basic frame info */\n  if ((bytes = read_socket (client, buf + pos, need)) < 1) {\n    if (client->status & WS_CLOSE)\n      ws_error (client, WS_CLOSE_UNEXPECTED, \"Unable to read payload\");\n    return bytes;\n  }\n  msg->buflen += bytes;\n  msg->payloadsz += bytes;\n\n  return bytes;\n}\n\n/* Set the basic frame headers on a frame structure.\n *\n * On success, 0 is returned. */\nstatic int\nws_set_front_header_fields (WSClient *client) {\n  WSFrame **frm = &client->frame;\n  char *buf = (*frm)->buf;\n\n  (*frm)->fin = WS_FRM_FIN (*(buf));\n  (*frm)->masking = WS_FRM_MASK (*(buf + 1));\n  (*frm)->opcode = WS_FRM_OPCODE (*(buf));\n  (*frm)->res = WS_FRM_R1 (*(buf)) || WS_FRM_R2 (*(buf)) || WS_FRM_R3 (*(buf));\n\n  /* should be masked and can't be using RESVd  bits */\n  if (!(*frm)->masking || (*frm)->res)\n    return ws_set_status (client, WS_ERR | WS_CLOSE, 1);\n\n  return 0;\n}\n\n/* Unmask the payload given the current frame's masking key. */\nstatic void\nws_unmask_payload (char *buf, int len, int offset, unsigned char mask[]) {\n  int i, j = 0;\n\n  /* unmask data */\n  for (i = offset; i < len; ++i, ++j) {\n    buf[i] ^= mask[j % 4];\n  }\n}\n\n/* Close a websocket connection. */\nstatic int\nws_handle_close (WSClient *client) {\n  client->status = WS_ERR | WS_CLOSE;\n  return ws_send_frame (client, WS_OPCODE_CLOSE, NULL, 0);\n}\n\n/* Handle a websocket error.\n *\n * On success, the number of bytes sent is returned. */\nstatic int\nws_handle_err (WSClient *client, unsigned short code, WSStatus status, const char *m) {\n  client->status = status;\n  return ws_error (client, code, m);\n}\n\n/* Handle a websocket pong. */\nstatic void\nws_handle_pong (WSClient *client) {\n  WSFrame **frm = &client->frame;\n\n  if (!(*frm)->fin) {\n    ws_handle_err (client, WS_CLOSE_PROTO_ERR, WS_ERR | WS_CLOSE, NULL);\n    return;\n  }\n  ws_free_message (client);\n}\n\n/* Handle a websocket ping from the client and it attempts to send\n * back a pong as soon as possible. */\nstatic void\nws_handle_ping (WSClient *client) {\n  WSFrame **frm = &client->frame;\n  WSMessage **msg = &client->message;\n  char *buf = NULL, *tmp = NULL;\n  int pos = 0, len = (*frm)->payloadlen, newlen = 0;\n\n  /* RFC states that Control frames themselves MUST NOT be\n   * fragmented. */\n  if (!(*frm)->fin) {\n    ws_handle_err (client, WS_CLOSE_PROTO_ERR, WS_ERR | WS_CLOSE, NULL);\n    return;\n  }\n\n  /* Control frames are only allowed to have payload up to and\n   * including 125 octets */\n  if ((*frm)->payloadlen > 125) {\n    ws_handle_err (client, WS_CLOSE_PROTO_ERR, WS_ERR | WS_CLOSE, NULL);\n    return;\n  }\n\n  /* No payload from ping */\n  if (len == 0) {\n    ws_send_frame (client, WS_OPCODE_PONG, NULL, 0);\n    return;\n  }\n\n  /* Copy the ping payload */\n  pos = (*msg)->payloadsz - len;\n  buf = xcalloc (len, sizeof (char));\n  memcpy (buf, (*msg)->payload + pos, len);\n\n  /* Unmask it */\n  ws_unmask_payload (buf, len, 0, (*frm)->mask);\n\n  /* Resize the current payload (keep an eye on this realloc) */\n  newlen = (*msg)->payloadsz - len;\n  tmp = realloc ((*msg)->payload, newlen);\n  if (tmp == NULL && newlen > 0) {\n    free ((*msg)->payload);\n    free (buf);\n\n    (*msg)->payload = NULL;\n    client->status = WS_ERR | WS_CLOSE;\n    return;\n  }\n\n  (*msg)->payload = tmp;\n  (*msg)->payloadsz -= len;\n\n  ws_send_frame (client, WS_OPCODE_PONG, buf, len);\n\n  (*msg)->buflen = 0; /* done with the current frame's payload */\n  /* Control frame injected in the middle of a fragmented message. */\n  if (!(*msg)->fragmented) {\n    ws_free_message (client);\n  }\n  free (buf);\n}\n\n/* Ensure we have valid UTF-8 text payload.\n *\n * On error, or if the message is invalid, 1 is returned.\n * On success, or if the message is valid, 0 is returned. */\nint\nws_validate_string (const char *str, int len) {\n  uint32_t state = UTF8_VALID;\n\n  if (verify_utf8 (&state, str, len) == UTF8_INVAL) {\n    LOG ((\"Invalid UTF8 data!\\n\"));\n    return 1;\n  }\n  if (state != UTF8_VALID) {\n    LOG ((\"Invalid UTF8 data!\\n\"));\n    return 1;\n  }\n\n  return 0;\n}\n\n/* It handles a text or binary message frame from the client. */\nstatic void\nws_handle_text_bin (WSClient *client, WSServer *server) {\n  WSFrame **frm = &client->frame;\n  WSMessage **msg = &client->message;\n  int offset = (*msg)->mask_offset;\n\n  /* All data frames after the initial data frame must have opcode 0 */\n  if ((*msg)->fragmented && (*frm)->opcode != WS_OPCODE_CONTINUATION) {\n    client->status = WS_ERR | WS_CLOSE;\n    return;\n  }\n\n  /* RFC states that there is a new masking key per frame, therefore,\n   * time to unmask... */\n  ws_unmask_payload ((*msg)->payload, (*msg)->payloadsz, offset, (*frm)->mask);\n  /* Done with the current frame's payload */\n  (*msg)->buflen = 0;\n  /* Reading a fragmented frame */\n  (*msg)->fragmented = 1;\n\n  if (!(*frm)->fin)\n    return;\n\n  /* validate text data encoded as UTF-8 */\n  if ((*msg)->opcode == WS_OPCODE_TEXT) {\n    if (ws_validate_string ((*msg)->payload, (*msg)->payloadsz) != 0) {\n      ws_handle_err (client, WS_CLOSE_INVALID_UTF8, WS_ERR | WS_CLOSE, NULL);\n      return;\n    }\n  }\n\n  if ((*msg)->opcode != WS_OPCODE_CONTINUATION && server->onmessage) {\n    /* just echo the message to the client */\n    if (wsconfig.echomode)\n      ws_send_data (client, (*msg)->opcode, (*msg)->payload, (*msg)->payloadsz);\n    /* just pipe out the message */\n    else if (!wsconfig.strict)\n      ws_write_fifo (server->pipeout, (*msg)->payload, (*msg)->payloadsz);\n    else\n      server->onmessage (server->pipeout, client);\n  }\n  ws_free_message (client);\n}\n\n/* Depending on the frame opcode, then we take certain decisions. */\nstatic void\nws_manage_payload_opcode (WSClient *client, WSServer *server) {\n  WSFrame **frm = &client->frame;\n  WSMessage **msg = &client->message;\n\n  switch ((*frm)->opcode) {\n  case WS_OPCODE_CONTINUATION:\n    LOG ((\"CONTINUATION\\n\"));\n    /* first frame can't be a continuation frame */\n    if (!(*msg)->fragmented) {\n      client->status = WS_ERR | WS_CLOSE;\n      break;\n    }\n    ws_handle_text_bin (client, server);\n    break;\n  case WS_OPCODE_TEXT:\n  case WS_OPCODE_BIN:\n    LOG ((\"TEXT\\n\"));\n    client->message->opcode = (*frm)->opcode;\n    ws_handle_text_bin (client, server);\n    break;\n  case WS_OPCODE_PONG:\n    LOG ((\"PONG\\n\"));\n    ws_handle_pong (client);\n    break;\n  case WS_OPCODE_PING:\n    LOG ((\"PING\\n\"));\n    ws_handle_ping (client);\n    break;\n  default:\n    LOG ((\"CLOSE\\n\"));\n    ws_handle_close (client);\n  }\n}\n\n/* Set the extended payload length into the given pointer. */\nstatic void\nws_set_extended_header_size (const char *buf, int *extended) {\n  uint64_t payloadlen = 0;\n  /* determine the payload length, else read more data */\n  payloadlen = WS_FRM_PAYLOAD (*(buf + 1));\n  switch (payloadlen) {\n  case WS_PAYLOAD_EXT16:\n    *extended = 2;\n    break;\n  case WS_PAYLOAD_EXT64:\n    *extended = 8;\n    break;\n  }\n}\n\n/* Set the extended payload length into our frame structure. */\nstatic void\nws_set_payloadlen (WSFrame *frm, const char *buf) {\n  uint64_t payloadlen = 0, len64;\n  uint16_t len16;\n\n  /* determine the payload length, else read more data */\n  payloadlen = WS_FRM_PAYLOAD (*(buf + 1));\n  switch (payloadlen) {\n  case WS_PAYLOAD_EXT16:\n    memcpy (&len16, (buf + 2), sizeof (uint16_t));\n    frm->payloadlen = ntohs (len16);\n    break;\n  case WS_PAYLOAD_EXT64:\n    memcpy (&len64, (buf + 2), sizeof (uint64_t));\n    frm->payloadlen = be64toh (len64);\n    break;\n  default:\n    frm->payloadlen = payloadlen;\n  }\n}\n\n/* Set the masking key into our frame structure. */\nstatic void\nws_set_masking_key (WSFrame *frm, const char *buf) {\n  uint64_t payloadlen = 0;\n\n  /* determine the payload length, else read more data */\n  payloadlen = WS_FRM_PAYLOAD (*(buf + 1));\n  switch (payloadlen) {\n  case WS_PAYLOAD_EXT16:\n    memcpy (&frm->mask, buf + 4, sizeof (frm->mask));\n    break;\n  case WS_PAYLOAD_EXT64:\n    memcpy (&frm->mask, buf + 10, sizeof (frm->mask));\n    break;\n  default:\n    memcpy (&frm->mask, buf + 2, sizeof (frm->mask));\n  }\n}\n\n/* Attempt to read the frame's header and set the relevant data into\n * our frame structure.\n *\n * On error, or if no data available to read, the number of bytes is\n * returned and the appropriate connection status is set.\n * On success, the number of bytes is returned. */\nstatic int\nws_get_frm_header (WSClient *client) {\n  WSFrame **frm = NULL;\n  int bytes = 0, readh = 0, need = 0, offset = 0, extended = 0;\n\n  if (client->frame == NULL)\n    client->frame = new_wsframe ();\n\n  frm = &client->frame;\n\n  /* Read the first 2 bytes for basic frame info */\n  readh = (*frm)->buflen; /* read from header so far */\n  need = 2 - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_header (client, (*frm), readh, need)) < 1)\n      return bytes;\n    if (bytes != need)\n      return ws_set_status (client, WS_READING, bytes);\n  }\n  offset += 2;\n\n  if (ws_set_front_header_fields (client) != 0)\n    return bytes;\n\n  ws_set_extended_header_size ((*frm)->buf, &extended);\n  /* read the extended header */\n  readh = (*frm)->buflen; /* read from header so far */\n  need = (extended + offset) - readh; /* read from header field so far */\n  if (need > 0) {\n    if ((bytes = ws_read_header (client, (*frm), readh, need)) < 1)\n      return bytes;\n    if (bytes != need)\n      return ws_set_status (client, WS_READING, bytes);\n  }\n  offset += extended;\n\n  /* read the masking key */\n  readh = (*frm)->buflen; /* read from header so far */\n  need = (4 + offset) - readh;\n  if (need > 0) {\n    if ((bytes = ws_read_header (client, (*frm), readh, need)) < 1)\n      return bytes;\n    if (bytes != need)\n      return ws_set_status (client, WS_READING, bytes);\n  }\n  offset += 4;\n\n  ws_set_payloadlen ((*frm), (*frm)->buf);\n  ws_set_masking_key ((*frm), (*frm)->buf);\n\n  if ((*frm)->payloadlen > wsconfig.max_frm_size) {\n    ws_error (client, WS_CLOSE_TOO_LARGE, \"Frame is too big\");\n    return ws_set_status (client, WS_ERR | WS_CLOSE, bytes);\n  }\n\n  (*frm)->buflen = 0;\n  (*frm)->reading = 0;\n  (*frm)->payload_offset = offset;\n\n  return ws_set_status (client, WS_OK, bytes);\n}\n\n/* Attempt to realloc the message payload.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nws_realloc_frm_payload (WSFrame *frm, WSMessage *msg) {\n  char *tmp = NULL;\n  uint64_t newlen = 0;\n\n  newlen = msg->payloadsz + frm->payloadlen;\n  tmp = realloc (msg->payload, newlen);\n  if (tmp == NULL && newlen > 0) {\n    free (msg->payload);\n    msg->payload = NULL;\n    return 1;\n  }\n  msg->payload = tmp;\n\n  return 0;\n}\n\n/* Attempt to read the frame's payload and set the relevant data into\n * our message structure.\n *\n * On error, or if no data available to read, the number of bytes is\n * returned and the appropriate connection status is set.\n * On success, the number of bytes is returned. */\nstatic int\nws_get_frm_payload (WSClient *client, WSServer *server) {\n  WSFrame **frm = NULL;\n  WSMessage **msg = NULL;\n  int bytes = 0, readh = 0, need = 0;\n\n  if (client->message == NULL)\n    client->message = new_wsmessage ();\n\n  frm = &client->frame;\n  msg = &client->message;\n\n  /* message within the same frame */\n  if ((*msg)->payload == NULL && (*frm)->payloadlen)\n    (*msg)->payload = xcalloc ((*frm)->payloadlen, sizeof (char));\n  /* handle a new frame */\n  else if ((*msg)->buflen == 0 && (*frm)->payloadlen) {\n    if (ws_realloc_frm_payload ((*frm), (*msg)) == 1)\n      return ws_set_status (client, WS_ERR | WS_CLOSE, 0);\n  }\n\n  readh = (*msg)->buflen; /* read from so far */\n  need = (*frm)->payloadlen - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_payload (client, (*msg), (*msg)->payloadsz, need)) < 0)\n      return bytes;\n    if (bytes != need)\n      return ws_set_status (client, WS_READING, bytes);\n  }\n\n  (*msg)->mask_offset = (*msg)->payloadsz - (*msg)->buflen;\n\n  ws_manage_payload_opcode (client, server);\n  ws_free_frame (client);\n\n  return bytes;\n}\n\n/* Determine if we need to read a frame's header or its payload.\n *\n * On success, the number of bytes is returned. */\nstatic int\nws_get_message (WSClient *client, WSServer *server) {\n  int bytes = 0;\n  if ((client->frame == NULL) || (client->frame->reading))\n    if ((bytes = ws_get_frm_header (client)) < 1 || client->frame->reading)\n      return bytes;\n  return ws_get_frm_payload (client, server);\n}\n\n/* Determine if we need to read an HTTP request or a websocket frame.\n *\n * On success, the number of bytes is returned. */\nstatic int\nread_client_data (WSClient *client, WSServer *server) {\n  int bytes = 0;\n\n  /* Handshake */\n  if ((!(client->headers) || (client->headers->reading)))\n    bytes = ws_get_handshake (client, server);\n  /* Message */\n  else\n    bytes = ws_get_message (client, server);\n\n  return bytes;\n}\n\n/* Handle a tcp close connection. */\nstatic void\nhandle_tcp_close (int conn, WSClient *client, WSServer *server) {\n  LOG ((\"Closing TCP %d [%s]\\n\", client->listener, client->remote_ip));\n\n#ifdef HAVE_LIBSSL\n  if (client->ssl)\n    shutdown_ssl (client);\n#endif\n\n  shutdown (conn, SHUT_RDWR);\n  /* upon close, call onclose() callback */\n  if (server->onclose && wsconfig.strict && !wsconfig.echomode)\n    (*server->onclose) (server->pipeout, client);\n\n  /* do access logging */\n  gettimeofday (&client->end_proc, NULL);\n  if (wsconfig.accesslog)\n    access_log (client, 200);\n\n  /* errored out while parsing a frame or a message */\n  if (client->status & WS_ERR) {\n    ws_clear_queue (client);\n    ws_free_frame (client);\n    ws_free_message (client);\n  }\n\n  server->closing = 0;\n  ws_close (conn);\n\n#ifdef HAVE_LIBSSL\n  if (client->ssl)\n    SSL_free (client->ssl);\n  client->ssl = NULL;\n#endif\n\n  /* remove client from our list */\n  ws_remove_client_from_list (client, server);\n  LOG ((\"Connection Closed.\\nActive: %d\\n\", list_count (server->colist)));\n}\n\n/* Handle a tcp read close connection. */\nstatic void\nhandle_read_close (int *conn, WSClient *client, WSServer *server) {\n  /* We can still try to send a message to the client if not forcing close, (nice\n   * goodbye), else proceed to close it */\n  if (!(client->status & WS_CLOSE) && client->status & WS_SENDING) {\n    server->closing = 1;\n    set_pollfd (client->listener, POLLOUT);\n    return;\n  }\n  handle_tcp_close (*conn, client, server);\n}\n\n/* Handle a new socket connection. */\nstatic void\nhandle_accept (int listener, WSServer *server) {\n  WSClient *client = NULL;\n  int newfd;\n\n  newfd = accept_client (listener, &server->colist);\n  if (newfd == -1)\n    return;\n\n  if (!(client = ws_get_client_from_list (newfd, &server->colist)))\n    return;\n\n#ifdef HAVE_LIBSSL\n  /* set flag to do TLS handshake */\n  if (wsconfig.use_ssl)\n    client->sslstatus |= WS_TLS_ACCEPTING;\n#endif\n\n  LOG ((\"Accepted: %d [%s]\\n\", newfd, client->remote_ip));\n}\n\n/* Handle a tcp read. */\nstatic void\nhandle_reads (int *conn, WSServer *server) {\n  WSClient *client = NULL;\n\n  if (!(client = ws_get_client_from_list (*conn, &server->colist)))\n    return;\n\n  LOG ((\"Handling read %d [%s]...\\n\", client->listener, client->remote_ip));\n\n#ifdef HAVE_LIBSSL\n  if (handle_ssl_pending_rw (conn, server, client) == 0)\n    return;\n#endif\n\n  /* *INDENT-OFF* */\n  client->start_proc = client->end_proc = (struct timeval) {0};\n  /* *INDENT-ON* */\n  gettimeofday (&client->start_proc, NULL);\n  read_client_data (client, server);\n  /* An error occurred while reading data or connection closed */\n  if ((client->status & WS_CLOSE)) {\n    handle_read_close (conn, client, server);\n    *conn = -1;\n  }\n}\n\n/* Handle a tcp write close connection. */\nstatic void\nhandle_write_close (int conn, WSClient *client, WSServer *server) {\n  handle_tcp_close (conn, client, server);\n}\n\n/* Handle a tcp write. */\nstatic void\nhandle_writes (int *conn, WSServer *server) {\n  WSClient *client = NULL;\n\n  if (!(client = ws_get_client_from_list (*conn, &server->colist)))\n    return;\n\n#ifdef HAVE_LIBSSL\n  if (handle_ssl_pending_rw (conn, server, client) == 0)\n    return;\n#endif\n\n  ws_respond (client, NULL, 0); /* buffered data */\n  /* done sending data */\n  if (client->sockqueue == NULL) {\n    client->status &= ~WS_SENDING;\n    set_pollfd (client->listener, server->closing ? 0 : POLLIN);\n  }\n\n  /* An error occurred while sending data or while reading data but still\n   * waiting from the last send() from the server to the client.  e.g.,\n   * sending status code */\n  if ((client->status & WS_CLOSE) && !(client->status & WS_SENDING))\n    handle_write_close (*conn, client, server);\n}\n\n/* Create named pipe (FIFO) with the given pipe name.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nint\nws_setfifo (const char *pipename) {\n  struct stat fistat;\n  const char *f = pipename;\n\n  if (access (f, F_OK) == 0)\n    return 0;\n\n  if (mkfifo (f, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH) < 0)\n    FATAL (\"Unable to set fifo: %s.\", strerror (errno));\n  if (stat (f, &fistat) < 0)\n    FATAL (\"Unable to stat fifo: %s.\", strerror (errno));\n  if (!S_ISFIFO (fistat.st_mode))\n    FATAL (\"pipe is not a fifo: %s.\", strerror (errno));\n\n  return 0;\n}\n\n/* Open a named pipe (FIFO) for input to the server (reader). */\nstatic void\nws_openfifo_in (WSPipeIn *pipein) {\n  ws_setfifo (wsconfig.pipein);\n  /* we should be able to open it at as reader */\n  if ((pipein->fd = open (wsconfig.pipein, O_RDWR | O_NONBLOCK)) < 0)\n    FATAL (\"Unable to open fifo in: %s.\", strerror (errno));\n}\n\n\n/* Open a named pipe (FIFO) for output from the server (writer). */\nstatic int\nws_openfifo_out (WSPipeOut *pipeout) {\n  int status = 0;\n\n  ws_setfifo (wsconfig.pipeout);\n  status = open (wsconfig.pipeout, O_WRONLY | O_NONBLOCK);\n  /* will attempt on the next write */\n  if (status == -1 && errno == ENXIO)\n    LOG ((\"Unable to open fifo out: %s.\\n\", strerror (errno)));\n  else if (status < 0)\n    FATAL (\"Unable to open fifo out: %s.\", strerror (errno));\n  pipeout->fd = status;\n\n  return status;\n}\n\n/* Set a new named pipe for incoming messages and one for outgoing\n * messages from the client. */\nstatic void\nws_fifo (WSServer *server) {\n  ws_openfifo_in (server->pipein);\n  set_pollfd (server->pipein->fd, POLLIN);\n  ws_openfifo_out (server->pipeout);\n  set_pollfd (server->pipeout->fd, POLLOUT);\n}\n\n/* Clear the queue for an outgoing named pipe. */\nstatic void\nclear_fifo_queue (WSPipeOut *pipeout) {\n  WSQueue **queue = &pipeout->fifoqueue;\n  if (!(*queue))\n    return;\n\n  if ((*queue)->queued)\n    free ((*queue)->queued);\n  (*queue)->queued = NULL;\n  (*queue)->qlen = 0;\n\n  free ((*queue));\n  (*queue) = NULL;\n}\n\n/* Attempt to realloc the current sent queue for an outgoing named pip\n * (FIFO).\n *\n * On error, 1 is returned and the connection status is closed and\n * reopened.\n * On success, 0 is returned. */\nstatic int\nws_realloc_fifobuf (WSPipeOut *pipeout, const char *buf, int len) {\n  WSQueue *queue = pipeout->fifoqueue;\n  char *tmp = NULL;\n  int newlen = 0;\n\n  newlen = queue->qlen + len;\n  tmp = realloc (queue->queued, newlen);\n  if (tmp == NULL && newlen > 0) {\n    ws_close (pipeout->fd);\n    clear_fifo_queue (pipeout);\n    ws_openfifo_out (pipeout);\n    return 1;\n  }\n\n  queue->queued = tmp;\n  memcpy (queue->queued + queue->qlen, buf, len);\n  queue->qlen += len;\n\n  return 0;\n}\n\n/* Set into a queue the data that couldn't be sent in the outgoing\n * FIFO. */\nstatic void\nws_queue_fifobuf (WSPipeOut *pipeout, const char *buffer, int len, int bytes) {\n  WSQueue **queue = &pipeout->fifoqueue;\n\n  if (bytes < 1)\n    bytes = 0;\n\n  (*queue) = xcalloc (1, sizeof (WSQueue));\n  (*queue)->queued = xcalloc (len - bytes, sizeof (char));\n  memcpy ((*queue)->queued, buffer + bytes, len - bytes);\n  (*queue)->qlen = len - bytes;\n\n  pipeout->status |= WS_SENDING;\n  set_pollfd (pipeout->fd, POLLOUT);\n}\n\n/* Attempt to send the given buffer to the given outgoing FIFO.\n *\n * On error, the data is queued up.\n * On success, the number of bytes sent is returned. */\nstatic int\nws_write_fifo_data (WSPipeOut *pipeout, char *buffer, int len) {\n  int bytes = 0;\n\n  bytes = write (pipeout->fd, buffer, len);\n\n  /* At this point, the reader probably closed the pipe, so a cheap *hack* for\n   * this is to close the pipe on our end and attempt to reopen it. If unable to\n   * do so, then let it be -1 and try on the next attempt to write. */\n  if (bytes == -1 && errno == EPIPE) {\n    ws_close (pipeout->fd);\n    ws_openfifo_out (pipeout);\n    return bytes;\n  }\n  if (bytes < len || (bytes == -1 && (errno == EAGAIN || errno == EWOULDBLOCK)))\n    ws_queue_fifobuf (pipeout, buffer, len, bytes);\n\n  return bytes;\n}\n\n/* Attempt to send the queued up client's data through the outgoing\n * named pipe (FIFO) .\n *\n * On error, 1 is returned and the connection status is set.\n * On success, the number of bytes sent is returned. */\nstatic int\nws_write_fifo_cache (WSPipeOut *pipeout) {\n  WSQueue *queue = pipeout->fifoqueue;\n  int bytes = 0;\n\n  bytes = write (pipeout->fd, queue->queued, queue->qlen);\n\n  /* At this point, the reader probably closed the pipe, so a cheap *hack* for\n   * this is to close the pipe on our end and attempt to reopen it. If unable to\n   * do so, then let it be -1 and try on the next attempt to write. */\n  if (bytes == -1 && errno == EPIPE) {\n    ws_close (pipeout->fd);\n    ws_openfifo_out (pipeout);\n    return bytes;\n  }\n\n  if (chop_nchars (queue->queued, bytes, queue->qlen) == 0)\n    clear_fifo_queue (pipeout);\n  else\n    queue->qlen -= bytes;\n\n  return bytes;\n}\n\n/* An entry point to attempt to send the client's data into an\n * outgoing named pipe (FIFO).\n *\n * On success, the number of bytes sent is returned. */\nint\nws_write_fifo (WSPipeOut *pipeout, char *buffer, int len) {\n  int bytes = 0;\n\n  if (pipeout->fd == -1 && ws_openfifo_out (pipeout) == -1)\n    return bytes;\n\n  /* attempt to send the whole buffer */\n  if (pipeout->fifoqueue == NULL)\n    bytes = ws_write_fifo_data (pipeout, buffer, len);\n  /* buffer not empty, just append new data */\n  else if (pipeout->fifoqueue != NULL && buffer != NULL) {\n    if (ws_realloc_fifobuf (pipeout, buffer, len) == 1)\n      return bytes;\n  }\n  /* send from cache buffer */\n  else {\n    bytes = ws_write_fifo_cache (pipeout);\n  }\n\n  if (pipeout->fifoqueue == NULL) {\n    pipeout->status &= ~WS_SENDING;\n    set_pollfd (pipeout->fd, 0);\n  }\n\n  return bytes;\n}\n\n/* Clear an incoming FIFO packet and header data. */\nstatic void\nclear_fifo_packet (WSPipeIn *pipein) {\n  memset (pipein->hdr, 0, sizeof (pipein->hdr));\n  pipein->hlen = 0;\n\n  if (pipein->packet == NULL)\n    return;\n\n  if (pipein->packet->data)\n    free (pipein->packet->data);\n  free (pipein->packet);\n  pipein->packet = NULL;\n}\n\n/* Broadcast to all connected clients the given message. */\nstatic int\nws_broadcast_fifo (WSClient *client, WSServer *server) {\n  WSPacket *packet = server->pipein->packet;\n\n  LOG ((\"Broadcasting to %d [%s] \", client->listener, client->remote_ip));\n  if (client == NULL)\n    return 1;\n\n  if (client->headers == NULL || client->headers->ws_accept == NULL) {\n    /* no handshake for this client */\n    LOG ((\"No headers. Closing %d [%s]\\n\", client->listener, client->remote_ip));\n    return -1;\n  }\n\n  LOG ((\" - Sending...\\n\"));\n  ws_send_data (client, packet->type, packet->data, packet->size);\n\n  return 0;\n}\n\nstatic void\nws_broadcast_fifo_to_clients (WSServer *server) {\n  WSClient *client = NULL;\n  void *data = NULL;\n  uint32_t *close_list = NULL;\n  int n = 0, idx = 0, i = 0, listener = 0;\n\n  if ((n = list_count (server->colist)) == 0)\n    return;\n\n  close_list = xcalloc (n, sizeof (uint32_t));\n  /* *INDENT-OFF* */\n  GSLIST_FOREACH (server->colist, data, {\n    client = data;\n    if (ws_broadcast_fifo(client, server) == -1)\n      close_list[idx++] = client->listener;\n  });\n  /* *INDENT-ON* */\n\n  client = NULL;\n  for (i = 0; i < idx; ++i) {\n    listener = close_list[i];\n    if ((client = ws_get_client_from_list (listener, &server->colist)))\n      handle_tcp_close (listener, client, server);\n  }\n\n  free (close_list);\n}\n\n/* Send a message from the incoming named pipe to specific client\n * given the socket id. */\nstatic void\nws_send_strict_fifo_to_client (WSServer *server, int listener, WSPacket *pa) {\n  WSClient *client = NULL;\n\n  if (!(client = ws_get_client_from_list (listener, &server->colist)))\n    return;\n  /* no handshake for this client */\n  if (client->headers == NULL || client->headers->ws_accept == NULL) {\n    LOG ((\"No headers. Closing %d [%s]\\n\", client->listener, client->remote_ip));\n\n    handle_tcp_close (client->listener, client, server);\n    return;\n  }\n  ws_send_data (client, pa->type, pa->data, pa->len);\n}\n\n/* Attempt to read message from a named pipe (FIFO).\n *\n * On error, -1 is returned.\n * On success, the number of bytes read is returned. */\nint\nws_read_fifo (int fd, char *buf, int *buflen, int pos, int need) {\n  int bytes = 0;\n\n  bytes = read (fd, buf + pos, need);\n  if (bytes == -1 && (errno == EAGAIN || errno == EWOULDBLOCK))\n    return bytes;\n  else if (bytes == -1)\n    return bytes;\n  *buflen += bytes;\n\n  return bytes;\n}\n\n/* Pack the given value into a network byte order.\n *\n * On success, the number size of uint32_t is returned. */\nsize_t\npack_uint32 (void *buf, uint32_t val) {\n  uint32_t v32 = htonl (val);\n  memcpy (buf, &v32, sizeof (uint32_t));\n\n  return sizeof (uint32_t);\n}\n\n/* Unpack the given value into a host byte order.\n *\n * On success, the number size of uint32_t is returned. */\nsize_t\nunpack_uint32 (const void *buf, uint32_t *val) {\n  uint32_t v32 = 0;\n  memcpy (&v32, buf, sizeof (uint32_t));\n  *val = ntohl (v32);\n\n  return sizeof (uint32_t);\n}\n\n/* Ensure the fields coming from the named pipe are valid.\n *\n * On error, 1 is returned.\n * On success, 0 is returned. */\nstatic int\nvalidate_fifo_packet (uint32_t type, int size) {\n  if (type != WS_OPCODE_TEXT && type != WS_OPCODE_BIN) {\n    LOG ((\"Invalid fifo packet type\\n\"));\n    return 1;\n  }\n\n  if (size > wsconfig.max_frm_size) {\n    LOG ((\"Invalid fifo packet size\\n\"));\n    return 1;\n  }\n\n  return 0;\n}\n\n/* Handle reading and sending the incoming data from the named pipe on\n * strict mode. */\nstatic void\nhandle_strict_fifo (WSServer *server) {\n  WSPipeIn *pi = server->pipein;\n  WSPacket **pa = &pi->packet;\n  int bytes = 0, readh = 0, need = 0;\n\n  char *ptr = NULL;\n  uint32_t listener = 0, type = 0, size = 0;\n\n  readh = pi->hlen; /* read from header so far */\n  need = HDR_SIZE - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_fifo (pi->fd, pi->hdr, &pi->hlen, readh, need)) < 0)\n      return;\n    if (bytes != need)\n      return;\n  }\n\n  /* unpack size, and type */\n  ptr = pi->hdr;\n  ptr += unpack_uint32 (ptr, &listener);\n  ptr += unpack_uint32 (ptr, &type);\n  ptr += unpack_uint32 (ptr, &size);\n\n  if (validate_fifo_packet (type, size) == 1) {\n    ws_close (pi->fd);\n    clear_fifo_packet (pi);\n    ws_openfifo_in (pi);\n    return;\n  }\n\n  if ((*pa) == NULL) {\n    (*pa) = xcalloc (1, sizeof (WSPacket));\n    (*pa)->type = type;\n    (*pa)->size = size;\n    (*pa)->data = xcalloc (size, sizeof (char));\n  }\n\n  readh = (*pa)->len; /* read from payload so far */\n  need = (*pa)->size - readh; /* need to read */\n  if (need > 0) {\n    if ((bytes = ws_read_fifo (pi->fd, (*pa)->data, &(*pa)->len, readh, need)) < 0)\n      return;\n    if (bytes != need)\n      return;\n  }\n\n  /* no clients to send data to */\n  if (list_count (server->colist) == 0) {\n    clear_fifo_packet (pi);\n    return;\n  }\n\n  /* Either send it to a specific client or broadcast message to all\n   * clients */\n  if (listener != 0)\n    ws_send_strict_fifo_to_client (server, listener, *pa);\n  else\n    ws_broadcast_fifo_to_clients (server);\n  clear_fifo_packet (pi);\n}\n\n/* Handle reading and sending the incoming data from the named pipe on\n * a fixed buffer mode. */\nstatic void\nhandle_fixed_fifo (WSServer *server) {\n  WSPipeIn *pi = server->pipein;\n  WSPacket **pa = &pi->packet;\n\n  int bytes = 0;\n  char buf[PIPE_BUF] = { 0 };\n\n  if ((bytes = read (pi->fd, buf, PIPE_BUF - 1)) < 0)\n    return;\n\n  buf[bytes] = '\\0'; /* null-terminate */\n  if (ws_validate_string (buf, bytes) != 0)\n    return;\n\n  (*pa) = xcalloc (1, sizeof (WSPacket));\n  (*pa)->type = WS_OPCODE_TEXT;\n  (*pa)->size = bytes;\n  (*pa)->data = xstrdup (buf);\n\n  /* no clients to send data to */\n  if (list_count (server->colist) == 0) {\n    clear_fifo_packet (pi);\n    return;\n  }\n\n  /* broadcast message to all clients */\n  ws_broadcast_fifo_to_clients (server);\n  clear_fifo_packet (pi);\n}\n\n/* Determine which mode should use the incoming message from the FIFO. */\nstatic void\nhandle_fifo (WSServer *server) {\n  if (wsconfig.strict)\n    handle_strict_fifo (server);\n  else\n    handle_fixed_fifo (server);\n}\n\n/* Creates an endpoint for communication and start listening for\n * connections on a socket */\nstatic void\nws_socket (int *listener) {\n  if (wsconfig.unix_socket) {\n    struct sockaddr_un servaddr;\n\n    /* Create a TCP socket.  */\n    if ((*listener = socket (AF_UNIX, SOCK_STREAM, 0)) == -1)\n      FATAL (\"Unable to open socket: %s.\", strerror (errno));\n\n    memset (&servaddr, 0, sizeof (servaddr));\n    servaddr.sun_family = AF_UNIX;\n    strncpy (servaddr.sun_path, wsconfig.unix_socket, sizeof (servaddr.sun_path) - 1);\n\n    /* Bind the socket to the address. */\n    if (bind (*listener, (struct sockaddr *) &servaddr, sizeof (servaddr)) != 0)\n      FATAL (\"Unable to set bind: %s.\", strerror (errno));\n  } else {\n    int ov = 1, bind_result = 0;\n    struct addrinfo hints, *ai, *p;\n\n    memset (&hints, 0, sizeof (hints));\n    hints.ai_family = AF_UNSPEC;\n    hints.ai_socktype = SOCK_STREAM;\n\n    if (getaddrinfo (wsconfig.host, wsconfig.port, &hints, &ai) != 0)\n      FATAL (\"Unable to set server: %s.\", gai_strerror (errno));\n\n    for (p = ai; p != NULL; p = p->ai_next) {\n      *listener = socket (p->ai_family, p->ai_socktype, p->ai_protocol);\n      if (*listener == -1)\n        continue;\n\n      if (setsockopt (*listener, SOL_SOCKET, SO_REUSEADDR, &ov, sizeof (ov)) == -1) {\n        close (*listener);\n        continue;\n      }\n\n      if (bind (*listener, p->ai_addr, p->ai_addrlen) == 0) {\n        bind_result = 1;\n        break;\n      }\n\n      close (*listener);\n    }\n\n    freeaddrinfo (ai);\n\n    if (bind_result == 0)\n      FATAL (\"Unable to set bind: %s.\", strerror (errno));\n  }\n\n  if (listen (*listener, SOMAXCONN) == -1)\n    FATAL (\"Unable to listen: %s.\", strerror (errno));\n}\n\n/* Start the websocket server and start to monitor multiple file\n * descriptors until we have something to read or write. */\nvoid\nws_start (WSServer *server) {\n  int listener = -1, ret = 0;\n  struct pollfd *cfdstate = NULL, *pfd, *efd;\n  nfds_t ncfdstate = 0;\n  bool run = true;\n\n  if (server->self_pipe[0] != -1)\n    set_pollfd (server->self_pipe[0], POLLIN);\n\n#ifdef HAVE_LIBSSL\n  if (wsconfig.sslcert && wsconfig.sslkey) {\n    LOG ((\"==Using TLS/SSL==\\n\"));\n    wsconfig.use_ssl = 1;\n    if (initialize_ssl_ctx (server)) {\n      LOG ((\"Unable to initialize_ssl_ctx\\n\"));\n      return;\n    }\n  }\n#endif\n\n  ws_socket (&listener);\n  set_pollfd (listener, POLLIN);\n\n  while (run) {\n    /* take a copy of the fdstate and give that to poll to allow\n     * any dispatch to modify the real fdstate for the next pass */\n    if (nfdstate > 0) {\n      if (ncfdstate != nfdstate) {\n        free (cfdstate);\n        cfdstate = xmalloc (nfdstate * sizeof (*cfdstate));\n        memset (cfdstate, 0, sizeof (*cfdstate) * nfdstate);\n        ncfdstate = nfdstate;\n      }\n      memcpy (cfdstate, fdstate, ncfdstate * sizeof (*cfdstate));\n    }\n\n    /* yep, wait patiently */\n    if ((ret = poll (cfdstate, nfdstate, -1)) == -1) {\n      switch (errno) {\n      case EINTR:\n        LOG ((\"A signal was caught on poll(2)\\n\"));\n        break;\n      default:\n        FATAL (\"Unable to poll: %s.\", strerror (errno));\n      }\n    }\n\n    /* iterate over existing connections */\n    efd = cfdstate + nfdstate;\n    for (pfd = cfdstate; pfd < efd; pfd++) {\n      if (pfd->revents & POLLHUP)\n        LOG ((\"Got POLLHUP %d\\n\", pfd->fd));\n      if (pfd->revents & POLLNVAL)\n        LOG ((\"Got POLLNVAL %d\\n\", pfd->fd));\n      if (pfd->revents & POLLERR)\n        LOG ((\"Got POLLERR %d\\n\", pfd->fd));\n\n      /* handle self-pipe trick */\n      if (pfd->fd == server->self_pipe[0]) {\n        if (pfd->revents & POLLIN) {\n          LOG ((\"Handled self-pipe to close event loop.\\n\"));\n          run = false;\n          break;\n        }\n      } else if (pfd->fd == server->pipein->fd) {\n        /* handle pipein */\n        if (pfd->revents & POLLIN)\n          handle_fifo (server);\n      } else if (pfd->fd == server->pipeout->fd) {\n        /* handle pipeout */\n        if (pfd->revents & POLLOUT)\n          ws_write_fifo (server->pipeout, NULL, 0);\n      } else if (pfd->fd == listener) {\n        /* handle new connections */\n        if (pfd->revents & POLLIN)\n          handle_accept (listener, server);\n      } else {\n        /* handle data from a client */\n        if (pfd->revents & POLLIN) {\n          if (server->closing) {\n            struct pollfd *ffd = get_pollfd (pfd->fd);\n            if (ffd != NULL)\n              ffd->events &= ~POLLIN;\n          } else\n            handle_reads (&pfd->fd, server);\n        }\n        /* handle sending data to a client */\n        if (pfd->revents & POLLOUT)\n          handle_writes (&pfd->fd, server);\n      }\n    }\n  }\n\n  free (cfdstate);\n  ws_close (listener);\n  if (server->self_pipe[0] != -1)\n    unset_pollfd (server->self_pipe[0]);\n\n  if (wsconfig.unix_socket) {\n    unlink (wsconfig.unix_socket);\n  }\n}\n\n/* Set the origin so the server can force connections to have the\n * given HTTP origin. */\nvoid\nws_set_config_origin (const char *origin) {\n  wsconfig.origin = origin;\n}\n\n/* Set the maximum websocket frame size. */\nvoid\nws_set_config_frame_size (int max_frm_size) {\n  wsconfig.max_frm_size = max_frm_size;\n}\n\n/* Set specific name for the reader named pipe. */\nvoid\nws_set_config_pipein (const char *pipein) {\n  wsconfig.pipein = pipein;\n}\n\n/* Set specific name for the writer named pipe. */\nvoid\nws_set_config_pipeout (const char *pipeout) {\n  wsconfig.pipeout = pipeout;\n}\n\n/* Set a path and a file for the access log. */\nvoid\nws_set_config_accesslog (const char *accesslog) {\n  wsconfig.accesslog = accesslog;\n\n  if (access_log_open (wsconfig.accesslog) == 1)\n    FATAL (\"Unable to open access log: %s.\", strerror (errno));\n}\n\n/* Set if the server should handle strict named pipe handling. */\nvoid\nws_set_config_strict (int strict) {\n  wsconfig.strict = strict;\n}\n\n/* Set the server into echo mode. */\nvoid\nws_set_config_echomode (int echomode) {\n  wsconfig.echomode = echomode;\n}\n\n/* Set the server host bind address. */\nvoid\nws_set_config_host (const char *host) {\n  wsconfig.host = host;\n}\n\n/* Set the server unix socket bind address. */\nvoid\nws_set_config_unix_socket (const char *unix_socket) {\n  wsconfig.unix_socket = unix_socket;\n}\n\n/* Set the server port bind address. */\nvoid\nws_set_config_port (const char *port) {\n  wsconfig.port = port;\n}\n\n/* Set specific name for the SSL certificate. */\nvoid\nws_set_config_sslcert (const char *sslcert) {\n  wsconfig.sslcert = sslcert;\n}\n\n/* Set specific name for the SSL key. */\nvoid\nws_set_config_sslkey (const char *sslkey) {\n  wsconfig.sslkey = sslkey;\n}\n\n/* Set auth secret for auth. */\nvoid\nws_set_config_auth_secret (const char *auth_secret) {\n  wsconfig.auth_secret = auth_secret;\n}\n\nvoid\nws_set_config_auth_cb (int (*auth_cb) (const char *jwt, const char *secret)) {\n  wsconfig.auth = auth_cb;\n}\n\n/* Create a new websocket server context. */\nWSServer *\nws_init (const char *host, const char *port, void (*initopts) (void)) {\n  WSServer *server = new_wsserver ();\n  server->pipein = new_wspipein ();\n  server->pipeout = new_wspipeout ();\n  server->self_pipe[0] = server->self_pipe[1] = -1;\n\n  wsconfig.accesslog = NULL;\n  wsconfig.host = host;\n  wsconfig.unix_socket = NULL;\n  wsconfig.max_frm_size = WS_MAX_FRM_SZ;\n  wsconfig.origin = NULL;\n  wsconfig.pipein = NULL;\n  wsconfig.pipeout = NULL;\n  wsconfig.sslcert = NULL;\n  wsconfig.sslkey = NULL;\n  wsconfig.port = port;\n  wsconfig.strict = 0;\n  wsconfig.use_ssl = 0;\n\n  initopts ();\n  ws_fifo (server);\n\n  return server;\n}\n"
  },
  {
    "path": "src/websocket.h",
    "content": "/**\n *    _______       _______            __        __\n *   / ____/ |     / / ___/____  _____/ /_____  / /_\n *  / / __ | | /| / /\\__ \\/ __ \\/ ___/ //_/ _ \\/ __/\n * / /_/ / | |/ |/ /___/ / /_/ / /__/ ,< /  __/ /_\n * \\____/  |__/|__//____/\\____/\\___/_/|_|\\___/\\__/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#if HAVE_CONFIG_H\n#include <config.h>\n#endif\n\n#ifndef WEBSOCKET_H_INCLUDED\n#define WEBSOCKET_H_INCLUDED\n\n#include <sys/time.h>\n#include <netinet/in.h>\n#include <limits.h>\n#include <poll.h>\n\n#if HAVE_LIBSSL\n#include <openssl/crypto.h>\n#include <openssl/err.h>\n#include <openssl/ssl.h>\n#endif\n\n#if defined(__linux__) || defined(__CYGWIN__)\n#  include <endian.h>\n#if ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 9))\n#if defined(__BYTE_ORDER) && (__BYTE_ORDER == __LITTLE_ENDIAN)\n#  include <arpa/inet.h>\n#  define htobe16(x) htons(x)\n#  define htobe64(x) (((uint64_t)htonl(((uint32_t)(((uint64_t)(x)) >> 32)))) | \\\n   (((uint64_t)htonl(((uint32_t)(x)))) << 32))\n#  define be16toh(x) ntohs(x)\n#  define be32toh(x) ntohl(x)\n#  define be64toh(x) (((uint64_t)ntohl(((uint32_t)(((uint64_t)(x)) >> 32)))) | \\\n   (((uint64_t)ntohl(((uint32_t)(x)))) << 32))\n#else\n#  error Byte Order not supported!\n#endif\n#endif\n#elif defined(__sun__)\n#  include <sys/byteorder.h>\n#  define htobe16(x) BE_16(x)\n#  define htobe64(x) BE_64(x)\n#  define be16toh(x) BE_IN16(x)\n#  define be32toh(x) BE_IN32(x)\n#  define be64toh(x) BE_IN64(x)\n#elif defined(__FreeBSD__) || defined(__NetBSD__)\n#  include <sys/endian.h>\n#elif defined(__OpenBSD__)\n#  include <sys/types.h>\n#  if !defined(be16toh)\n#    define be16toh(x) betoh16(x)\n#  endif\n#  if !defined(be32toh)\n#    define be32toh(x) betoh32(x)\n#  endif\n#  if !defined(be64toh)\n#    define be64toh(x) betoh64(x)\n#  endif\n#elif defined(__APPLE__)\n#  include <libkern/OSByteOrder.h>\n#  define htobe16(x) OSSwapHostToBigInt16(x)\n#  define htobe64(x) OSSwapHostToBigInt64(x)\n#  define be16toh(x) OSSwapBigToHostInt16(x)\n#  define be32toh(x) OSSwapBigToHostInt32(x)\n#  define be64toh(x) OSSwapBigToHostInt64(x)\n#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__\n#  define htobe16(x) (x)\n#  define htobe64(x) (x)\n#  define be16toh(x) (x)\n#  define be32toh(x) (x)\n#  define be64toh(x) (x)\n#else\n#  error Platform not supported!\n#endif\n\n#define MAX(a,b) (((a)>(b))?(a):(b))\n#include \"gslist.h\"\n\n#define WS_BAD_REQUEST_STR \"HTTP/1.1 400 Invalid Request\\r\\n\\r\\n\"\n#define WS_UNAUTHORIZED_STR \"HTTP/1.1 401 Unauthorized\\r\\n\\r\\n\"\n#define WS_SWITCH_PROTO_STR \"HTTP/1.1 101 Switching Protocols\"\n#define WS_TOO_BUSY_STR \"HTTP/1.1 503 Service Unavailable\\r\\n\\r\\n\"\n\n#define CRLF \"\\r\\n\"\n#define SHA_DIGEST_LENGTH     20\n\n/* packet header is 3 unit32_t : type, size, listener */\n#define HDR_SIZE              3 * 4\n#define WS_MAX_FRM_SZ         1048576 /* 1 MiB max frame size */\n#define WS_THROTTLE_THLD      2097152 /* 2 MiB throttle threshold */\n#define WS_MAX_HEAD_SZ        8192 /* a reasonable size for request headers */\n\n#define WS_MAGIC_STR \"258EAFA5-E914-47DA-95CA-C5AB0DC85B11\"\n#define WS_PAYLOAD_EXT16      126\n#define WS_PAYLOAD_EXT64      127\n#define WS_PAYLOAD_FULL       125\n#define WS_FRM_HEAD_SZ         16 /* frame header size */\n\n#define WS_FRM_FIN(x)         (((x) >> 7) & 0x01)\n#define WS_FRM_MASK(x)        (((x) >> 7) & 0x01)\n#define WS_FRM_R1(x)          (((x) >> 6) & 0x01)\n#define WS_FRM_R2(x)          (((x) >> 5) & 0x01)\n#define WS_FRM_R3(x)          (((x) >> 4) & 0x01)\n#define WS_FRM_OPCODE(x)      ((x) & 0x0F)\n#define WS_FRM_PAYLOAD(x)     ((x) & 0x7F)\n\n#define WS_CLOSE_NORMAL       1000\n#define WS_CLOSE_GOING_AWAY   1001\n#define WS_CLOSE_PROTO_ERR    1002\n#define WS_CLOSE_INVALID_UTF8 1007\n#define WS_CLOSE_TOO_LARGE    1009\n#define WS_CLOSE_UNEXPECTED   1011\n\ntypedef enum WSSTATUS {\n  WS_OK = 0,\n  WS_ERR = (1 << 0),\n  WS_CLOSE = (1 << 1),\n  WS_READING = (1 << 2),\n  WS_SENDING = (1 << 3),\n  WS_THROTTLING = (1 << 4),\n  WS_TLS_ACCEPTING = (1 << 5),\n  WS_TLS_READING = (1 << 6),\n  WS_TLS_WRITING = (1 << 7),\n  WS_TLS_SHUTTING = (1 << 8),\n} WSStatus;\n\ntypedef enum WSOPCODE {\n  WS_OPCODE_CONTINUATION = 0x00,\n  WS_OPCODE_TEXT = 0x01,\n  WS_OPCODE_BIN = 0x02,\n  WS_OPCODE_END = 0x03,\n  WS_OPCODE_CLOSE = 0x08,\n  WS_OPCODE_PING = 0x09,\n  WS_OPCODE_PONG = 0x0A,\n} WSOpcode;\n\ntypedef struct WSQueue_ {\n  char *queued;                 /* queue data */\n  int qlen;                     /* queue length */\n} WSQueue;\n\ntypedef struct WSPacket_ {\n  uint32_t type;                /* packet type (fixed-size) */\n  uint32_t size;                /* payload size in bytes (fixed-size) */\n  char *data;                   /* payload */\n  int len;                      /* payload buffer len */\n} WSPacket;\n\n/* WS HTTP Headers */\ntypedef struct WSHeaders_ {\n  int reading;\n  int buflen;\n  char buf[WS_MAX_HEAD_SZ + 1];\n\n  char *agent;\n  char *path;\n  char *jwt;\n  char *method;\n  char *protocol;\n  char *host;\n  char *origin;\n  char *upgrade;\n  char *referer;\n  char *connection;\n  char *ws_protocol;\n  char *ws_key;\n  char *ws_sock_ver;\n\n  char *ws_accept;\n  char *ws_resp;\n} WSHeaders;\n\n/* A WebSocket Message */\ntypedef struct WSFrame_ {\n  /* frame format */\n  WSOpcode opcode;              /* frame opcode */\n  unsigned char fin;            /* frame fin flag */\n  unsigned char mask[4];        /* mask key */\n  uint8_t res;                  /* extensions */\n  int payload_offset;           /* end of header/start of payload */\n  int payloadlen;               /* payload length (for each frame) */\n\n  /* status flags */\n  int reading;                  /* still reading frame's header part? */\n  int masking;                  /* are we masking the frame? */\n\n  char buf[WS_FRM_HEAD_SZ + 1]; /* frame's header */\n  int buflen;                   /* recv'd buf length so far (for each frame) */\n} WSFrame;\n\n/* A WebSocket Message */\ntypedef struct WSMessage_ {\n  WSOpcode opcode;              /* frame opcode */\n  int fragmented;               /* reading a fragmented frame */\n  int mask_offset;              /* for fragmented frames */\n\n  char *payload;                /* payload message */\n  int payloadsz;                /* total payload size (whole message) */\n  int buflen;                   /* recv'd buf length so far (for each frame) */\n} WSMessage;\n\n/* A WebSocket Client */\ntypedef struct WSClient_ {\n  /* socket data */\n  int listener;                 /* socket */\n  char remote_ip[INET6_ADDRSTRLEN]; /* client IP */\n\n  WSQueue *sockqueue;           /* sending buffer */\n  WSHeaders *headers;           /* HTTP headers */\n  WSFrame *frame;               /* frame headers */\n  WSMessage *message;           /* message */\n  WSStatus status;              /* connection status */\n\n  struct timeval start_proc;\n  struct timeval end_proc;\n\n#ifdef HAVE_LIBSSL\n  SSL *ssl;\n  WSStatus sslstatus;           /* ssl connection status */\n#endif\n} WSClient;\n\n/* Config OOptions */\ntypedef struct WSPipeIn_ {\n  int fd;                       /* named pipe FD */\n\n  WSPacket *packet;             /* FIFO data's buffer */\n\n  char hdr[HDR_SIZE];           /* FIFO header's buffer */\n  int hlen;\n} WSPipeIn;\n\n/* Pipe Out */\ntypedef struct WSPipeOut_ {\n  int fd;                       /* named pipe FD */\n  WSQueue *fifoqueue;           /* FIFO out queue */\n  WSStatus status;              /* connection status */\n} WSPipeOut;\n\n/* Config OOptions */\ntypedef struct WSConfig_ {\n  /* Config Options */\n  const char *accesslog;\n  const char *host;\n  const char *origin;\n  const char *pipein;\n  const char *pipeout;\n  const char *port;\n  const char *sslcert;\n  const char *sslkey;\n  const char *unix_socket;\n  const char *auth_secret;\n\n  /* Function pointer for JWT verification */\n  int (*auth) (const char *jwt, const char *secret);\n\n  int echomode;\n  int strict;\n  int max_frm_size;\n  int use_ssl;\n} WSConfig;\n\n/* A WebSocket Instance */\ntypedef struct WSServer_ {\n  /* Server Status */\n  int closing;\n\n  /* Callbacks */\n  int (*onclose) (WSPipeOut * pipeout, WSClient * client);\n  int (*onmessage) (WSPipeOut * pipeout, WSClient * client);\n  int (*onopen) (WSPipeOut * pipeout, WSClient * client);\n\n  /* self-pipe */\n  int self_pipe[2];\n  /* FIFO reader */\n  WSPipeIn *pipein;\n  /* FIFO writer */\n  WSPipeOut *pipeout;\n  /* Connected Clients */\n  GSLList *colist;\n\n#ifdef HAVE_LIBSSL\n  SSL_CTX *ctx;\n#endif\n} WSServer;\n\nint ws_read_fifo (int fd, char *buf, int *buflen, int pos, int need);\nint ws_send_data (WSClient * client, WSOpcode opcode, const char *p, int sz);\nint ws_setfifo (const char *pipename);\nint ws_validate_string (const char *str, int len);\nint ws_write_fifo (WSPipeOut * pipeout, char *buffer, int len);\nsize_t pack_uint32 (void *buf, uint32_t val);\nsize_t unpack_uint32 (const void *buf, uint32_t * val);\nvoid set_nonblocking (int listener);\nvoid ws_set_config_accesslog (const char *accesslog);\nvoid ws_set_config_echomode (int echomode);\nvoid ws_set_config_frame_size (int max_frm_size);\nvoid ws_set_config_host (const char *host);\nvoid ws_set_config_unix_socket (const char *unix_socket);\nvoid ws_set_config_origin (const char *origin);\nvoid ws_set_config_pipein (const char *pipein);\nvoid ws_set_config_pipeout (const char *pipeout);\nvoid ws_set_config_port (const char *port);\nvoid ws_set_config_sslcert (const char *sslcert);\nvoid ws_set_config_sslkey (const char *sslkey);\nvoid ws_set_config_strict (int strict);\nvoid ws_set_config_auth_secret (const char *auth_secret);\nvoid ws_set_config_auth_cb (int (*auth_cb) (const char *jwt, const char *secret));\nvoid ws_start (WSServer * server);\nvoid ws_stop (WSServer * server);\nWSServer *ws_init (const char *host, const char *port, void (*initopts) (void));\n\n#endif // for #ifndef WEBSOCKET_H\n"
  },
  {
    "path": "src/win/mman.h",
    "content": "#ifndef _MMAN_H_\n#define _MMAN_H_\n\n/* Protections */\n#define PROT_NONE       0x00    /* no permissions */\n#define PROT_READ       0x01    /* pages can be read */\n#define PROT_WRITE      0x02    /* pages can be written */\n#define PROT_EXEC       0x04    /* pages can be executed */\n\n/* Sharing type and options */\n#define MAP_SHARED      0x0001  /* share changes */\n#define MAP_PRIVATE     0x0002  /* changes are private */\n#define MAP_COPY        MAP_PRIVATE     /* Obsolete */\n#define MAP_FIXED        0x0010 /* map addr must be exactly as requested */\n#define MAP_RENAME       0x0020 /* Sun: rename private pages to file */\n#define MAP_NORESERVE    0x0040 /* Sun: don't reserve needed swap area */\n#define MAP_INHERIT      0x0080 /* region is retained after exec */\n#define MAP_NOEXTEND     0x0100 /* for MAP_FILE, don't change file size */\n#define MAP_HASSEMAPHORE 0x0200 /* region may contain semaphores */\n#define MAP_STACK        0x0400 /* region grows down, like a stack */\n\n/* Error returned from mmap() */\n#define MAP_FAILED      ((void *)-1)\n\n/* Flags to msync */\n#define MS_ASYNC        0x01    /* perform asynchronous writes */\n#define MS_SYNC         0x02    /* perform synchronous writes */\n#define MS_INVALIDATE   0x04    /* invalidate cached data */\n\n/* File modes for 'open' not defined in MinGW32  (not used by mmap) */\n#ifndef S_IWGRP\n#define S_IWGRP 0\n#define S_IRGRP 0\n#define S_IROTH 0\n#endif\n\n/**\n * Map a file to a memory region\n */\nvoid *mmap (void *addr, unsigned int len, int prot, int flags, int fd, unsigned int offset);\n\n/**\n * Unmap a memory region\n */\nint munmap (void *addr, int len);\n\n/**\n * Synchronize a mapped region\n */\nint msync (char *addr, int len, int flags);\n\n#endif /* _MMAN_H_ */\n"
  },
  {
    "path": "src/win/mmap.c",
    "content": "#include <stdlib.h>\n#include <windows.h>\n#ifdef _WIN32\n#include <io.h>\n#endif\n#include <errno.h>\n#include \"mman.h\"\n\nstatic const char id[] = \"$Id: tpl.c 107 2007-04-20 17:11:29Z thanson $\";\n\n/**\n * @brief Map a file to a memory region\n *\n * This function emulates the POSIX mmap() using CreateFileMapping() and\n * MapViewOfFile()\n *\n * @param addr the suggested start address (if != 0)\n * @param len length of the region\n * @param prot region accessibility, bitwise OR of PROT_READ, PROT_WRITE, PROT_EXEC\n * @param flags mapping type and options (ignored)\n * @param fd object to be mapped into memory\n * @param offset offset into mapped object\n * @return pointer to the memory region, or NULL in case of error\n */\nvoid *\nmmap (void *addr, unsigned int len, int prot, int flags, int fd, unsigned int offset) {\n  DWORD wprot;\n  DWORD waccess;\n  HANDLE h;\n  void *region;\n\n  /* Translate read/write/exec flags into WIN32 constants */\n  switch (prot) {\n  case PROT_READ:\n    wprot = PAGE_READONLY;\n    break;\n  case PROT_EXEC:\n    wprot = PAGE_EXECUTE_READ;\n    break;\n  case PROT_READ | PROT_EXEC:\n    wprot = PAGE_EXECUTE_READ;\n    break;\n  case PROT_WRITE:\n    wprot = PAGE_READWRITE;\n    break;\n  case PROT_READ | PROT_WRITE:\n    wprot = PAGE_READWRITE;\n    break;\n  case PROT_READ | PROT_WRITE | PROT_EXEC:\n    wprot = PAGE_EXECUTE_READWRITE;\n    break;\n  case PROT_WRITE | PROT_EXEC:\n    wprot = PAGE_EXECUTE_READWRITE;\n    break;\n  }\n\n  /* Obtaing handle to map region */\n  h = CreateFileMapping ((HANDLE) _get_osfhandle (fd), 0, wprot, 0, len, 0);\n  if (h == NULL) {\n    DWORD error = GetLastError ();\n\n    /* Try and translate some error codes */\n    switch (error) {\n    case ERROR_ACCESS_DENIED:\n    case ERROR_INVALID_ACCESS:\n      errno = EACCES;\n      break;\n    case ERROR_OUTOFMEMORY:\n    case ERROR_NOT_ENOUGH_MEMORY:\n      errno = ENOMEM;\n      break;\n    default:\n      errno = EINVAL;\n      break;\n    }\n    return MAP_FAILED;\n  }\n\n\n  /* Translate sharing options into WIN32 constants */\n  switch (wprot) {\n  case PAGE_READONLY:\n    waccess = FILE_MAP_READ;\n    break;\n  case PAGE_READWRITE:\n    waccess = FILE_MAP_WRITE;\n    break;\n  }\n\n  /* Map file and return pointer */\n  region = MapViewOfFile (h, waccess, 0, 0, 0);\n  if (region == NULL) {\n    DWORD error = GetLastError ();\n\n    /* Try and translate some error codes */\n    switch (error) {\n    case ERROR_ACCESS_DENIED:\n    case ERROR_INVALID_ACCESS:\n      errno = EACCES;\n      break;\n    case ERROR_INVALID_HANDLE:\n      errno = EBADF;\n      break;\n    default:\n      errno = EINVAL;\n      break;\n    }\n    CloseHandle (h);\n    return MAP_FAILED;\n  }\n  CloseHandle (h);      /* ok to call UnmapViewOfFile after this */\n\n  /* All fine */\n  return region;\n}\n\n\n/**\n * @brief Unmap a memory region\n *\n * This is a wrapper around UnmapViewOfFile in the win32 API\n *\n * @param addr start address\n * @param len length of the region\n * @return 0 for success, -1 for error\n */\nint\nmunmap (void *addr, int len) {\n  if (UnmapViewOfFile (addr)) {\n    return 0;\n  } else {\n    errno = EINVAL;\n    return -1;\n  }\n}\n\n\n/**\n * Synchronize a mapped region\n *\n * This is a wrapper around FlushViewOfFile\n *\n * @param addr start address\n * @param len number of bytes to flush\n * @param flags sync options -- currently ignored\n * @return 0 for success, -1 for error\n */\nint\nmsync (char *addr, int len, int flags) {\n  if (FlushViewOfFile (addr, len) == 0) {\n    DWORD error = GetLastError ();\n\n    /* Try and translate some error codes */\n    switch (error) {\n    case ERROR_INVALID_PARAMETER:\n      errno = EINVAL;\n      break;\n    case ERROR_WRITE_FAULT:\n      errno = EIO;\n      break;\n    default:\n      errno = EINVAL;\n      break;\n    }\n    return -1;\n  }\n\n  /* Success */\n  return 0;\n}\n"
  },
  {
    "path": "src/wsauth.c",
    "content": "/**\n * wsauth.c - web socket authentication\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <errno.h>\n#include <ctype.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <inttypes.h>\n#include <unistd.h>\n#include <limits.h>\n\n#include <openssl/hmac.h>\n#include <openssl/rand.h>\n#include <openssl/evp.h>\n\n#include \"wsauth.h\"\n\n#include \"base64.h\"\n#include \"util.h\"\n#include \"pdjson.h\"\n#include \"settings.h\"\n#include \"xmalloc.h\"\n\nchar *\nread_secret_from_file (const char *path) {\n  FILE *file = fopen (path, \"r\");\n  char *secret = xcalloc (1, MAX_SECRET_SIZE);\n\n  if (!file) {\n    perror (\"Error opening secret file\");\n    return NULL;\n  }\n\n  if (!secret) {\n    perror (\"Error allocating memory\");\n    fclose (file);\n    return NULL;\n  }\n\n  if (!fgets (secret, MAX_SECRET_SIZE, file)) {\n    perror (\"Error reading secret file\");\n    free (secret);\n    fclose (file);\n    return NULL;\n  }\n  fclose (file);\n\n  // Remove trailing newline, if present.\n  secret[strcspn (secret, \"\\n\")] = '\\0';\n\n  return secret;\n}\n\n/* Generate a new secret (HS256-compatible) and return it as a hex string. */\nchar *\ngenerate_ws_auth_secret (void) {\n  char *secret_hex = NULL;\n  int secret_len = 32;          // 256 bits\n  unsigned char secret_bytes[32];\n\n  if (RAND_bytes (secret_bytes, secret_len) != 1) {\n    fprintf (stderr, \"Error generating random bytes\\n\");\n    return NULL;\n  }\n  secret_hex = xmalloc (secret_len * 2 + 1);\n  if (!secret_hex)\n    return NULL;\n  for (int i = 0; i < secret_len; i++) {\n    sprintf (&secret_hex[i * 2], \"%02x\", secret_bytes[i]);\n  }\n  secret_hex[secret_len * 2] = '\\0';\n  return secret_hex;\n}\n\nstatic char *\ncreate_jwt_payload (const char *sub, long iat, long exp) {\n  const char *aud = \"goaccess_ws\";\n  const char *scope = \"report_access\";\n  char *payload = NULL;\n  char hostname[HOST_NAME_MAX];\n\n  if (gethostname (hostname, sizeof (hostname)) != 0) {\n    perror (\"gethostname\");\n    // Fallback to a default issuer value if hostname retrieval fails.\n    strcpy (hostname, \"goaccess\");\n  }\n  // Allocate a buffer for the payload JSON.\n  // Adjust the size if you plan on including more data.\n  payload = xcalloc (1, MAX_JWT_PAYLOAD);\n  if (!payload)\n    return NULL;\n\n  // Build the JSON payload.\n  snprintf (payload, MAX_JWT_PAYLOAD,\n            \"{\\\"iss\\\":\\\"%s\\\",\\\"sub\\\":\\\"%s\\\",\\\"iat\\\":%ld,\\\"exp\\\":%ld,\\\"aud\\\":\\\"%s\\\",\\\"scope\\\":\\\"%s\\\"}\",\n            hostname, sub, iat, exp, aud, scope);\n\n  return payload;\n}\n\nchar *\ncreate_jwt_token (void) {\n  char *jwt = NULL, *payload = NULL, report_id[50];\n  time_t now = time (NULL);\n  struct tm *jwt_now_tm = localtime (&now);\n  // Configure token lifetime in seconds\n  long token_lifetime = conf.ws_auth_expire > 0 ? conf.ws_auth_expire : DEFAULT_EXPIRE_TIME;\n  long iat = now;\n  long exp = now + token_lifetime;\n\n  // Format the date as \"YYYYMMDD\" for the report ID\n  snprintf (report_id, sizeof (report_id), \"goaccess_report_%04d%02d%02d\",\n            jwt_now_tm->tm_year + 1900, jwt_now_tm->tm_mon + 1, jwt_now_tm->tm_mday);\n\n  payload = create_jwt_payload (report_id, iat, exp);\n  if (!payload) {\n    fprintf (stderr, \"Failed to create JWT payload\\n\");\n    return NULL;\n  }\n  jwt = generate_jwt (conf.ws_auth_secret, payload);\n  free (payload);\n  return jwt;\n}\n\nstatic int\nverify_jwt_signature (const char *jwt, const char *secret) {\n  char *token_dup = NULL, *header_part = NULL, *payload_part = NULL, *signature_part = NULL,\n    *signing_input = NULL, *computed_signature = NULL, *computed_signature_url = NULL;\n  unsigned char *hmac_result = NULL;\n  unsigned int hmac_len = 0;\n  int valid = 0;\n  size_t signing_input_len = 0;\n\n  if (!jwt || !secret) {\n    return 0;\n  }\n\n  token_dup = strdup (jwt);\n  if (!token_dup) {\n    return 0;\n  }\n\n  header_part = strtok (token_dup, \".\");\n  payload_part = strtok (NULL, \".\");\n  signature_part = strtok (NULL, \".\");\n  if (!header_part || !payload_part || !signature_part) {\n    free (token_dup);\n    return 0;\n  }\n\n  signing_input_len = strlen (header_part) + 1 + strlen (payload_part) + 1;\n  signing_input = malloc (signing_input_len);\n  if (!signing_input) {\n    free (token_dup);\n    return 0;\n  }\n  snprintf (signing_input, signing_input_len, \"%s.%s\", header_part, payload_part);\n\n  hmac_result =\n    HMAC (EVP_sha256 (), secret, strlen (secret), (unsigned char *) signing_input,\n          strlen (signing_input), NULL, &hmac_len);\n  free (signing_input);\n  if (!hmac_result) {\n    free (token_dup);\n    return 0;\n  }\n\n  computed_signature = base64_encode (hmac_result, hmac_len);\n  if (!computed_signature) {\n    free (token_dup);\n    return 0;\n  }\n  // Convert computed_signature to Base64Url format\n  computed_signature_url = base64UrlEncode (computed_signature);\n  free (computed_signature);\n\n  if (!computed_signature_url) {\n    free (token_dup);\n    return 0;\n  }\n\n  valid = (strcmp (computed_signature_url, signature_part) == 0);\n\n  free (computed_signature_url);\n  free (token_dup);\n\n  return valid;\n}\n\nstatic int\nvalidate_jwt_claims (const char *payload_json) {\n  json_stream json;\n  enum json_type t = JSON_ERROR;\n  size_t len = 0, level = 0;\n  enum json_type ctx = JSON_ERROR;\n  char hostname[HOST_NAME_MAX] = { 0 };\n  char *curr_key = NULL;\n\n  /* Validation flags/values. */\n  int valid_iss = 0, valid_sub = 0, valid_aud = 0, valid_scope = 0;\n  long iat = 0, exp = 0;\n  time_t now = time (NULL);\n\n  /* Get hostname for the issuer check. */\n  if (gethostname (hostname, sizeof (hostname)) != 0) {\n    perror (\"gethostname\");\n    strcpy (hostname, \"goaccess\");\n  }\n\n  /* Open JSON payload as a stream and disable streaming mode. */\n  json_open_string (&json, payload_json);\n  json_set_streaming (&json, false);\n\n  /* The payload should be a JSON object. */\n  t = json_next (&json);\n  if (t != JSON_OBJECT) {\n    json_close (&json);\n    return 0;\n  }\n\n  /* Iterate over each token (key or value) in the JSON object. */\n  while ((t = json_next (&json)) != JSON_DONE && t != JSON_ERROR) {\n    ctx = json_get_context (&json, &level);\n    /* keys typically appear when (level % 2) != 0 and not inside an array.\n     * otherwise, the token is a value. */\n    if ((level % 2) != 0 && ctx != JSON_ARRAY) {\n      /* This token is a key. Duplicate it to use for matching. */\n      if (curr_key)\n        free (curr_key);\n      curr_key = xstrdup (json_get_string (&json, &len));\n    } else {\n      /* Assume this token is the value for the last encountered key. */\n      if (curr_key) {\n        char *val = xstrdup (json_get_string (&json, &len));\n        if (strcmp (curr_key, \"iss\") == 0) {\n          /* \"iss\" must equal the hostname. */\n          valid_iss = (strcmp (val, hostname) == 0);\n        } else if (strcmp (curr_key, \"sub\") == 0) {\n          /* \"sub\" must be non-empty. */\n          valid_sub = (val[0] != '\\0');\n        } else if (strcmp (curr_key, \"aud\") == 0) {\n          valid_aud = (strcmp (val, \"goaccess_ws\") == 0);\n        } else if (strcmp (curr_key, \"scope\") == 0) {\n          valid_scope = (strcmp (val, \"report_access\") == 0);\n        } else if (strcmp (curr_key, \"iat\") == 0) {\n          iat = strtol (val, NULL, 10);\n        } else if (strcmp (curr_key, \"exp\") == 0) {\n          exp = strtol (val, NULL, 10);\n        }\n        free (val);\n        free (curr_key);\n        curr_key = NULL;\n      }\n    }\n  }\n  if (curr_key)\n    free (curr_key);\n  json_close (&json);\n\n  /* Final validation */\n  if (conf.ws_auth_verify_only) {\n    if (iat > 0 && exp > iat && now >= iat && now <= exp)\n      return 1;\n    else\n      return 0;\n  } else {\n    if (valid_iss && valid_sub && valid_aud && valid_scope &&\n        iat > 0 && exp > iat && now >= iat && now <= exp)\n      return 1; // Valid JWT claims.\n    else\n      return 0; // One or more claim validations failed.\n  }\n}\n\n/* verifies the JWT signature.\n * Returns 1 if valid, 0 if not.\n */\nint\nverify_jwt_token (const char *jwt, const char *secret) {\n  char *payload_part = NULL, *payload_json = NULL, *token_dup = NULL, *std_payload = NULL;\n  size_t payload_len = 0;\n  int valid_signature = 0, valid_claims = 0;\n\n  /* Step 1: Verify the signature */\n  valid_signature = verify_jwt_signature (jwt, secret);\n  if (!valid_signature) {\n    return 0;\n  }\n\n  /* Step 2: Extract the payload part from the JWT */\n  token_dup = strdup (jwt);\n  if (!token_dup) {\n    return 0;\n  }\n  strtok (token_dup, \".\"); // Skip header\n  payload_part = strtok (NULL, \".\"); // Get payload\n  if (!payload_part) {\n    free (token_dup);\n    return 0;\n  }\n\n  /* Convert Base64Url to standard Base64 before decoding */\n  std_payload = base64UrlDecode (payload_part);\n  if (!std_payload) {\n    free (token_dup);\n    return 0;\n  }\n\n  /* Step 3: Decode the base64url-encoded payload */\n  payload_json = base64_decode (std_payload, &payload_len);\n  free (std_payload);\n  free (token_dup);\n  if (!payload_json) {\n    return 0;\n  }\n\n  /* Null-terminate the payload JSON string for parsing */\n  payload_json = realloc (payload_json, payload_len + 1);\n  if (!payload_json) {\n    return 0;\n  }\n  payload_json[payload_len] = '\\0';\n\n  /* Step 4: Validate the claims */\n  valid_claims = validate_jwt_claims (payload_json);\n\n  /* Clean up */\n  free (payload_json);\n\n  return valid_claims;\n\n}\n\n/* Generate a JWT signed with HMAC-SHA256.\n * - secret: the secret key as a string (from conf.ws_auth_secret)\n * - payload: a JSON string to be used as the JWT payload.\n *\n * The JWT header is fixed to {\"alg\":\"HS256\",\"typ\":\"JWT\"}.\n *\n * The returned JWT is dynamically allocated and must be freed by the caller.\n */\nchar *\ngenerate_jwt (const char *secret, const char *payload) {\n  char *encoded_payload = NULL, *encoded_header = NULL, *encoded_signature = NULL;\n  char *signing_input = NULL;\n  const char *header = \"{\\\"alg\\\":\\\"HS256\\\",\\\"typ\\\":\\\"JWT\\\"}\";\n  unsigned char *hmac_result = NULL;\n  unsigned int hmac_len = 0;\n  size_t jwt_len = 0, signing_input_len = 0;\n  char *jwt = NULL, *tmp = NULL;\n\n  /* Encode header and convert to base64url */\n  tmp = base64_encode ((const unsigned char *) header, strlen (header));\n  if (!tmp)\n    return NULL;\n  encoded_header = base64UrlEncode (tmp);\n  free (tmp);\n  if (!encoded_header)\n    return NULL;\n\n  /* Encode payload and convert to base64url */\n  tmp = base64_encode ((const unsigned char *) payload, strlen (payload));\n  if (!tmp) {\n    free (encoded_header);\n    return NULL;\n  }\n  encoded_payload = base64UrlEncode (tmp);\n  free (tmp);\n  if (!encoded_payload) {\n    free (encoded_header);\n    return NULL;\n  }\n\n  /* Create the signing input: \"<encoded_header>.<encoded_payload>\" */\n  signing_input_len = strlen (encoded_header) + 1 + strlen (encoded_payload) + 1;\n  signing_input = malloc (signing_input_len);\n  if (!signing_input) {\n    free (encoded_header);\n    free (encoded_payload);\n    return NULL;\n  }\n  snprintf (signing_input, signing_input_len, \"%s.%s\", encoded_header, encoded_payload);\n\n  /* Compute HMAC-SHA256 signature */\n  hmac_result =\n    HMAC (EVP_sha256 (), secret, strlen (secret), (unsigned char *) signing_input,\n          strlen (signing_input), NULL, &hmac_len);\n  if (!hmac_result) {\n    free (encoded_header);\n    free (encoded_payload);\n    free (signing_input);\n    return NULL;\n  }\n\n  /* Base64url-encode the signature */\n  tmp = base64_encode (hmac_result, hmac_len);\n  if (!tmp) {\n    free (encoded_header);\n    free (encoded_payload);\n    free (signing_input);\n    return NULL;\n  }\n  encoded_signature = base64UrlEncode (tmp);\n  free (tmp);\n  if (!encoded_signature) {\n    free (encoded_header);\n    free (encoded_payload);\n    free (signing_input);\n    return NULL;\n  }\n\n  /* Build the final JWT: \"<encoded_header>.<encoded_payload>.<encoded_signature>\" */\n  jwt_len =\n    strlen (encoded_header) + 1 + strlen (encoded_payload) + 1 + strlen (encoded_signature) + 1;\n  jwt = malloc (jwt_len);\n  if (!jwt) {\n    free (encoded_header);\n    free (encoded_payload);\n    free (signing_input);\n    free (encoded_signature);\n    return NULL;\n  }\n  snprintf (jwt, jwt_len, \"%s.%s.%s\", encoded_header, encoded_payload, encoded_signature);\n\n  free (encoded_header);\n  free (encoded_payload);\n  free (signing_input);\n  free (encoded_signature);\n\n  return jwt;\n}\n"
  },
  {
    "path": "src/wsauth.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef WSAUTH_H_INCLUDED\n#define WSAUTH_H_INCLUDED\n\n#define MAX_SECRET_SIZE 256\n#define MAX_JWT_PAYLOAD 512\n#define DEFAULT_EXPIRE_TIME 28800 // seconds\n\nchar *create_jwt_token (void);\nchar *generate_jwt (const char *secret, const char *payload);\nchar *generate_ws_auth_secret (void);\nchar *read_secret_from_file (const char *path);\nint verify_jwt_token (const char *jwt, const char *secret);\n\n#endif // for #ifndef WSAUTH_H\n"
  },
  {
    "path": "src/xmalloc.c",
    "content": "/**\n * xmalloc.c -- *alloc functions with error handling\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#include <stdio.h>\n#if !defined __SUNPRO_C\n#include <stdint.h>\n#endif\n#include <stdlib.h>\n#include <string.h>\n\n#include \"error.h\"\n#include \"xmalloc.h\"\n\n/* Self-checking wrapper to malloc() */\nvoid *\nxmalloc (size_t size) {\n  void *ptr;\n\n  if ((ptr = malloc (size)) == NULL)\n    FATAL (\"Unable to allocate memory - failed.\");\n\n  return (ptr);\n}\n\nchar *\nxstrdup (const char *s) {\n  char *ptr;\n  size_t len;\n\n  len = strlen (s) + 1;\n  ptr = xmalloc (len);\n\n  strncpy (ptr, s, len);\n  return (ptr);\n}\n\n/* Self-checking wrapper to calloc() */\nvoid *\nxcalloc (size_t nmemb, size_t size) {\n  void *ptr;\n\n  if ((ptr = calloc (nmemb, size)) == NULL)\n    FATAL (\"Unable to calloc memory - failed.\");\n\n  return (ptr);\n}\n\n/* Self-checking wrapper to realloc() */\nvoid *\nxrealloc (void *oldptr, size_t size) {\n  void *newptr;\n\n  if ((newptr = realloc (oldptr, size)) == NULL)\n    FATAL (\"Unable to reallocate memory - failed\");\n\n  return (newptr);\n}\n"
  },
  {
    "path": "src/xmalloc.h",
    "content": "/**\n *    ______      ___\n *   / ____/___  /   | _____________  __________\n *  / / __/ __ \\/ /| |/ ___/ ___/ _ \\/ ___/ ___/\n * / /_/ / /_/ / ___ / /__/ /__/  __(__  |__  )\n * \\____/\\____/_/  |_\\___/\\___/\\___/____/____/\n *\n * The MIT License (MIT)\n * Copyright (c) 2009-2026 Gerardo Orellana <hello @ goaccess.io>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n * copies of the Software, and to permit persons to whom the Software is\n * furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all\n * copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n * SOFTWARE.\n */\n\n#ifndef XMALLOC_H_INCLUDED\n#define XMALLOC_H_INCLUDED\n\nchar *xstrdup (const char *s);\nvoid *xcalloc (size_t nmemb, size_t size);\nvoid *xmalloc (size_t size);\nvoid *xrealloc (void *oldptr, size_t size);\n\n#endif\n"
  }
]