Giter Site home page Giter Site logo

sabman / mvt_painter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cartodb/mvt_painter

0.0 1.0 0.0 11.19 MB

Utility to show how the MVT tiles are painted. Some kind of MVT graphical debugger

License: BSD 3-Clause "New" or "Revised" License

HTML 32.54% JavaScript 67.46%

mvt_painter's Introduction

MVT Painter

This is a tool to paint MVT data from URLS in order to show how are the MVT data drawed.

The main idea to create this tool was to use it as a debugger for MVT. You could say "why don't you use something like Carto-VL?", well sometimes you need to check for a tile or decompose it in their geometries and that's where this tool brights :)

Why is this needed?

I can think a couple of reasons:

  • You need to see how the geometries are being painted
  • You need to see in what direction are being painted. This is key for some libraries
  • You want to debug some MVT server code you're wrinting and want to watch your geometries

If you know more, let me know :)

Build

Is very easy. Go to the project root directory, execute yarn install, then yarn build and the JS is in the dist folder.

If you want to play after build the library, you can use the example/index.html ready to play app. You can see it in action below

in action

mvt_painter's People

Watchers

James Cloos avatar

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.