https://github.com/osmlab/inegi
Procesar datos de INEGI para su utilización en OSM / Processing INEGI data for use in OSM
https://github.com/osmlab/inegi
Last synced: 5 months ago
JSON representation
Procesar datos de INEGI para su utilización en OSM / Processing INEGI data for use in OSM
- Host: GitHub
- URL: https://github.com/osmlab/inegi
- Owner: osmlab
- Created: 2015-02-14T13:42:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-10-24T20:18:49.000Z (over 10 years ago)
- Last Synced: 2025-06-30T11:49:46.328Z (about 1 year ago)
- Language: CartoCSS
- Size: 1.21 MB
- Stars: 2
- Watchers: 29
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Compare INEGI(CGU,RNC) and OpenStreetMap data
#### Build MBTiles
Create MBTiles from CGU,RNC data. [here](https://github.com/osmlab/inegi/tree/master/data)
#### Create Styles for diff map
Get the data id for each MBTile, from your mapbox account


- RNC: `ruben.c27b3a24`
- CGU: `ruben.mxlocalidades`
Create a new style [project](https://www.mapbox.com/guides/source-quickstart/#styling-custom-data)
To get the diff sort the ids in this way:`ruben.c27b3a24,ruben.mxlocalidades,mapbox.mapbox-streets-v5`

to create the diff style,[here](https://github.com/osmlab/inegi/blob/master/styles/Mexico-diferencial-2015.tm2/mx.mss)
The style project: https://github.com/osmlab/inegi/tree/master/styles/Mexico-diferencial-2015.tm2
#### Map
- For JSON and iD
`https://{switch:a,b,c}.tiles.mapbox.com/v4/ruben.f0f2a255/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoicnViZW4iLCJhIjoiYlBrdkpRWSJ9.JgDDxJkvDn3us36aGzR6vg`
- [Browseable version](https://a.tiles.mapbox.com/v4/ruben.npoa0pi8/page.html?access_token=pk.eyJ1IjoicnViZW4iLCJhIjoiYlBrdkpRWSJ9.JgDDxJkvDn3us36aGzR6vg#6/18.302/-99.108)