npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@geolonia/opendata-editor

v1.1.1

Published

位置情報座標を含む CSV をドラッグ・アンド・ドロップするか、URL で指定すると、地図とスプレッドシート形式で位置情報データを編集し、新しいCSVデータをダウンロードすることができます。

Downloads

23

Readme

オープンデータ編集マップ

位置情報座標を含む CSV をドラッグ・アンド・ドロップするか、URL で指定すると、地図とスプレッドシート形式で位置情報データを編集し、新しいCSVデータをダウンロードすることができます。

Web アプリケーション版の機能、使い方 (一般ユーザー向け)

  • https://geolonia.github.io/opendata-editor/ を開きます。
  • 位置情報座標を含むCSVファイルまたはExcelファイルを画面にドラッグ・アンド・ドロップすると、地図上にアイコンが表示され、画面下にはスプレッドシート形式で各データが表示されます。
    • アイコンをクリックするとスプレッドシート上の対応するデータがハイライトされます。
    • 反対にスプレッドシート上のデータをクリックすると、地図上で対応するポイントがハイライトされます。
  • 編集マップのURLのクエリパラメータにCSVファイルのURLを指定し、編集マップのリンクを作ることができます
    • 例: 高松市のオープンデータ(AED一覧)を編集マップで開くためのリンク: https://geolonia.github.io/opendata-editor/?data=https://opendata.takamatsu-fact.com/aed_location/data.csv
  • スプレッドシートの左端の「編集」または「削除」ボタンで、各データの編集ができます。
  • 地図右下の「データを追加」ボタンで、新規データを追加することができます。
  • 右上の「エクスポート」ボタンを押せば、編集済みの CSVファイルをダウンロードすることができます。

仕様

出力されるCSV

出力されるCSVのサンプルをダウンロードしてください。

CSV の位置情報座標列のカラムタイトル

以下の文字列があるデータをサポートしています。

  • latitude, longitude

コンポーネントとして使う (開発者向け)

インストール

npm install @geolonia/opendata-editor

使い方

import { OpenDataEditor } from '@geolonia/opendata-editor';

export const Page = (): JSX.Element => {
  return (
    <>
      <OpenDataEditor />
    </>
  );
};

ライセンス、利用規約、フィードバック

  • ソースコードのライセンスは MIT ライセンスです。
  • 機能改善のための提案、アイディアを歓迎しています。

開発者向け情報

ローカル環境構築

以下のコマンドで環境を用意してください。

$ git clone [email protected]:geolonia/opendata-editor.git
$ cd opendata-editor
$ npm install

以下のコマンドで起動します。

$ npm run dev

http://localhost:3000/opendata-editor またはポート番号3000が使えないときは、コンソール上に表示されるURLにアクセスして下さい。

リリース

Web 版は main ブランチに変更がマージされたタイミングでリリースされます。

ライブラリー版は Release が作成されたタイミングで npmjs.com に publish されます。事前に package.json の version を上げることを忘れないで下さい。