Tag Info

New answers tagged


I found a simple solution utilizing the "request-json" package: var request = require('request-json'); var client = request.createClient('https://cartodb.brighterdevelopment.com/user/demo-admin/api/v1/map/named?api_key=api_key_here'); client.post('', named_map, function(err,body) { //do something });


Your topomap is a SpatialLinesDataframe. geom_map is used for polygons. I suggest you use geom_path as below. It connects observations in original order. (geom_line would order by x value, which you also don't want). topo <- readOGR("public.geojson.json", layer ="OGRGeoJSON") topo <- spTransform(topo, CRS("+init=epsg:31983")) class(topo) #[1] ...


If you are looking for this on a global scale (e.g. 1:10,000,000), you could try the free and nicely formatted data available from the seasoned cartographers at Natural Earth: http://www.naturalearthdata.com/ Look under "physical region features" for the names of major mountain chains, which can be paired with the "shaded relief map" in raster format. ...


You can find global elevation data here. You can find elevation data by country here. You can turn these data into maps by using free software like DIVA-GIS or QGIS.

Top 50 recent answers are included