Giter Club home page Giter Club logo

geojson.io's Introduction

FOSSA Status

geojson.io

A fast, simple editor for map data. Read more on Mapbox, macwright.org.

Goes Great With!

Tools

API

You can interact with geojson.io programmatically via URL parameters. Here is an example of geojson encoded into the URL:

http://geojson.io/#data=data:application/json,%7B%22type%22%3A%22LineString%22%2C%22coordinates%22%3A%5B%5B0%2C0%5D%2C%5B10%2C10%5D%5D%7D

Full API documentation can be found in API.md.

Development

  1. Clone this repository
  2. Install dependencies
  3. Run npm start

npm start uses concurrently to run live-server which will serve the project directory in your browser and listen for changes, rollup which will build the js and css bundles, and npx tailwindcss which builds css/tailwind_dist.css (including only the tailwind rules needed in the project)

rollup can take several seconds to build before changes appear in the browser.

If you get an error resolving dependencies related to rollup on newer versions of node, then try npm install --force and be sure to not commit changes to package-lock.json.

Production Build & Deployment

npm run build will create minified bundles in /dist. You can try out the production build with npm run serve which will run live-server.

To deploy to github pages, use npm run deploy. This will run the deploy script in deploy.sh, which creates a new orphan branch from the current branch, runs a production build, and force pushes to the gh-pages branch.

License

FOSSA Status

geojson.io's People

Contributors

andrewharvey avatar bhousel avatar blockjon avatar bmcbride avatar brunosan avatar camilleanne avatar chriswhong avatar diogok avatar djfriar avatar eackley29 avatar frankrowe avatar glennon avatar jieter avatar jwass avatar jyutzler avatar kaitok avatar landonreed avatar lyzidiamond avatar marenab avatar mikelmaron avatar mikemorris avatar otbutz avatar razdravan avatar samanpwbb avatar sgillies avatar tcql avatar tmcw avatar tyrasd avatar ubergesundheit avatar yhahn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geojson.io's Issues

Feature Request: Undo Feature

This is damn killer Tom.

How feasible would it be to have an undo button ? If you selected the wrong point while you're making a polygon for example.

option for custom mapbox base layer

@tmcw - @brunosan and I had a use case for a custom base layer in geojson.io today. I added the map layer with var customTiles = L.mapbox.tileLayer(account.mapId).addTo(map);, and it worked fine. It might be a cool option to open up in the UI. What do you think?

meta-spreadsheet

condense all geojson properties into a spreadsheet-like form with null fields

Tests

There are some testable bits here.

Only return geometry, maybe

1st, this is great!

I was wondering if a user only had a single feature on the map, if they'd like to only get the geometry back (not wrapped in a FeatureCollection). Think this is useful? Maybe make optional?

If so, I can work something up for it.

Feature Request: Geocoding

Would be awesome to have some basic geocoding functionality. A few use cases:

  • Enter a city, center and zoom
  • Enter an address, center, zoom, drop a pin
  • Enter a lat/lon, center, zoom, drop pin.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.