Skip to content

Instantly share code, notes, and snippets.

From: Carlos Ruiz (SITEL)
To: Dave Johnson (MapBox)
Date:

Que bien que ya puedas hacer uso de estos datos.

Dentro del portal en la sección de descargas, se encuentra información por municipio, en la cual encontrarás manzanas y nombres de calle, entre otras capas, todo lo puedes descargar.

En el caso de los datos, me gustaría que se indicara que la fuente es el Instituto de Información Territorial del Estado de Jalisco y que en el Wiki, el texto del enlace sea el nombre completo del proyecto: Sistema de Información Territorial Estatal en Línea.

{
"bounds": [
-5.8887,
35.03,
20.4785,
52.1065
],
"center": [
8.3496,
43.2612,
diff --git a/app.js b/app.js
index ea3e819..f7a2194 100644
--- a/app.js
+++ b/app.js
@@ -52,6 +52,9 @@ io.set('authorization', function (data, accept) {
} else {
// save the session data and accept the connection
data.session = session;
+ // Pass on session store to allow socket.io connections
+ // store to session. See data/socket.js.
@lxbarth
lxbarth / gist:3314418
Created August 10, 2012 14:02
Going mapbox.js
diff --git a/site.js b/site.js
index b31ce96..fcc0add 100644
--- a/site.js
+++ b/site.js
@@ -1,7 +1,4 @@
window.onload = function() {
- // TileJSON URL pointing to MapBox Hosting.
- var url = 'http://a.tiles.mapbox.com/v3/' +
- document.location.search.substr(1) +'.jsonp';

Where is that post again that announced that Andy Allan was hired by the OpenStreetMap Foundation to do (awesome) redaction bot work?

Tips for Balloon Mapping in Mexico City

Eric Gundersen, Alex Barth

We're just coming back from a rather unsuccessful Sunday afternoon of balloon mapping in Mexico City's beautiful Chapultepec park. In the spirit of learning from other people's mistakes, we'd like to share how we could have gotten the balloon in the air where we wanted:

1. Get enough helium

The pink one-way bottles of helium that you see in the first picture are commonly sold in Mexico City, but one of them won't be enough for filling your kit balloon. You'll see the balloon fly in the last picture, but that's without a camera. Get a larger bottle, or at least two of those for a fill, which might be easier.

$(document).ready(function() {
// See http://mapbox.com/mapbox.js/api/v0.6.6/#mapbox.auto
mapbox.auto('map', 'villeda.map-up0fpg1g', function(map, tiledata) {
var querystring = location.search.replace( '?', '' ).split( '&' ), params = {};
for (var i = 0; i < querystring.length; i++ ) {
var name = querystring[i].split('=')[0],
value = querystring[i].split('=')[1];
params[name] = value;
}
if (params.lon && params.lat) {
@lxbarth
lxbarth / geojson-tiles.js
Created November 2, 2012 23:33 — forked from glenrobertson/TileLayer.GeoJSON.js
GeoJSON Leaflet Tile Layer
// Load tiled GeoJSON and merge into single geojson hash.
// Requires jQuery for jsonp.
L.TileLayer.GeoJSON = L.TileLayer.extend({
data: null,
_addTile: function(tilePoint, container) {
this._loadTile(null, tilePoint);
},
_loadTile: function (tile, tilePoint) {
var layer = this;
$.ajax({
@lxbarth
lxbarth / geojson-tiles.js
Created November 5, 2012 19:10 — forked from glenrobertson/TileLayer.GeoJSON.js
GeoJSON Leaflet Tile Layer
// Load tiled GeoJSON and merge into single geojson hash.
// Requires jQuery for jsonp.
L.TileLayer.GeoJSON = L.TileLayer.extend({
_geojson: {"type":"FeatureCollection","features":[]},
_requests: [],
geojson: function() {
if (this._geojson.features.length) return this._geojson;
for (k in this._tiles) {
var t = this._tiles[k];
if (t.geojson && t.geojson.features) {

Talleres de Mapeo Para Desarrollando América Latina

El Sábado, Nov 24 Daremos Webcasts de Introducción a OpenStreetMap, TileMill y Mapbox.js

Image: http://instagram.com/p/Rzw24YDjHK/

MapBox apoya en la preparación para el hackathon Desarrollando América Latina este año con talleres webcast de mapeo. Sábado, Noviembre 24 puedes conectarte de cualquier sitio del mundo con conección de internet para aprender de herramientas fundamentales para trabajar con datos geográficos abiertos.

Si estás pensando en integrar un mapa en tu aplicación, crear tu propria mapa utilizando datos geográficos como shapefiles, o utilizar datos abiertos del excelente OpenStreetMap, estes talleres te darán una buena introducción al mundo de mapeo abierto.