Skip to content

Instantly share code, notes, and snippets.

Datos SITEL de Jalisco para OpenStreetMap

Datos de Carretera Preparados para Contribución con JOSM

Estamos animados de liberar un conjunto de datos de todas las carreteras en el estado Mexicano de Jalisco, listo para contribuirlos con el editor popular JOSM. Mira el repositorio osm-jalisco para bajar los datos y aprender como empezar.

roads tilemill

Una prestación estilizada en TileMIll

We're excited to announce that official Transport for London and National Rail icons will now be featured on Mapbox Streets at rail stations throughout Great Britain.

Bank

New icons make neighborhoods more immediately familiar on the already data rich maps, but simplifying the rich OpenStreetMap data required a concerted effort from both our data team and cartographers. In many cases stations are represented as buildings, and other times as a single point. In yet other instances, one station will have multiple points, with each representing a platform or entrance. If two rail networks service the same station, that station might have on point for each rail service.

kc-osm

Many nodes for just two stations - King's Cross and St. Pancras

@ian29
ian29 / slope_area3.sql
Created May 17, 2012 17:18 — forked from anonymous/slope_area3
slope and area constraints on multiple contiguous polygons
Drop view slope_area3;
create or replace view slope_area3 as
select gid::integer, new_geom, area_hectare from
(select generate_series(1, ST_NumGeometries(mymulti)) as gid,
ST_GeometryN(mymulti, generate_series(1, ST_NumGeometries(mymulti))) as new_geom,
st_area(ST_GeometryN(mymulti, generate_series(1, ST_NumGeometries(mymulti))))
/10000 AS area_hectare
from (select max(gid) as gid, st_memunion(the_geom) as mymulti
from
(select * from parcel_stats
#countries {
line-color: #6e7a6e;
line-width: .9;
line-join: round;
}
#admin1landline[ADM0 = 'Brazil']{
line-width:.75;
line-color:#6e7a6e;
line-dasharray:5,10;
select
id,
sum(st_area((gval).geom)
/ 10000) as total_area_ha,
round( min((gval).val)) as min_slope,
round( sum((gval).val * st_area((gval).geom))
/ st_area(st_collect((gval).geom))
) as avg_slope_sqm,
round( max((gval).val)) as max_slope
from (
PROJCS["NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-74.0],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.3048006096012192]]
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import psycopg2
con = psycopg2.connect("dbname=nyc3 user=postgres") # CONnect to a database
cur = con.cursor()
cur.execute('''select ctidfp00 from tracts;''')
results = cur.fetchall()

Mapbox streets QA

problem where z level(s) sktich
label cut off, bufferSize/metatile germnay 5 n
orphan/ambiguous dots errywhere 4 dots

Mapbox streets QA

problem where z level(s) sktich comments status
orphan/ambiguous dots errywhere 4 [dots][dots] better, not fully fixed. There is no way to really solve this right now - the best we can do is make sure the scalerank densities work well at each zoom level so we're not tring to label much more than can fit on the map
island abbreviations at zoom 4 seychelles, sao tome, cabo verde 4 [sc][1] // [cv][2] // [comparison][3] - slightly more consistent now, not a big deal
triple names belgium 4-5 [belgium][4] reflects local languages wontfix
act ibt overlapping australia 4 [australia][5] - done!
low scalerank labels too black? - - - looks too much like google, departs from mb streets aesthetic done!
city labeling iceland > 8 [iceland zoom 7][8] // [comparison zoom 6][9] iceland has no cities except capital until zoom 8 << i think this is ok, just not a lot of big cities in iceland, altho it wo
count uid
Rub21 37338
ngt 11291
rw_ 9511
BFX 7619
Pecisk 6485
ij_ 5893
friedl 5659
SimonPoole 4983