Skip to content

Instantly share code, notes, and snippets.

View harllos's full-sized avatar

Harllos Arthur harllos

  • @labFGV
  • Rio de Janeiro
View GitHub Profile
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8' />
<title>Distriuição Eleitores</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.47.0/mapbox-gl.js'></script>
<script src="https://npmcdn.com/@turf/turf/turf.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/supercluster.min.js"></script>
@harllos
harllos / rj_geojson
Created July 22, 2018 23:44
Arquivo Geojson para plotar mapa do Rio de Janeiro (RJ) com as divisões dos municípios (choropleth map). Útil para Mapbox, Leaflet e similares.
{"type":"FeatureCollection","crs":{"type":"name","properties":{"name":"urn:ogc:def:crs:OGC:1.3:CRS84"}},"features":[{"type":"Feature","properties":{"GEOCODIGO":"3303807","NOME":"Parati","UF":"RJ"},"geometry":{"type":"Polygon","coordinates":[[[-44.88096,-23.21548],[-44.88305,-23.21051],[-44.88328,-23.20431],[-44.88274,-23.20272],[-44.8773,-23.19912],[-44.87593,-23.19741],[-44.87599,-23.19459],[-44.87501,-23.19193],[-44.87396,-23.18908],[-44.87432,-23.18421],[-44.87148,-23.18242],[-44.86413,-23.18085],[-44.8603,-23.181],[-44.85601,-23.17633],[-44.85291,-23.17626],[-44.85421,-23.174],[-44.85377,-23.1723],[-44.85298,-23.17204],[-44.85219,-23.17178],[-44.84865,-23.17329],[-44.84582,-23.17255],[-44.84494,-23.17171],[-44.84485,-23.16848],[-44.84273,-23.16662],[-44.83984,-23.16651],[-44.83371,-23.16638],[-44.82833,-23.16184],[-44.82535,-23.16261],[-44.82396,-23.16126],[-44.82266,-23.1579],[-44.82288,-23.14931],[-44.82501,-23.14323],[-44.8239,-23.14178],[-44.82105,-23.14027],[-44.81644,-23.14028],[-44.8158,-23.1386],[
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.