Questions tagged [cartodb]

Cloud-native location intelligence & GIS software for analysts, data scientists & developers solving geospatial problems with modern analytics stacks.

CARTO (formerly CartoDB) is a computing platform which provides and solutions for displaying custom data in a . CARTO is an project by CartoDB Inc..

Useful Links:

170 questions
7
votes
3 answers

Generate static map image with two markers and an arc inbetween, serverside

My question is similar to "Curved line between two near points in google maps" but I want to generate the map as a static image serverside (PHP or NodeJS), so that it can be used in an offline environment. In short, I have two sets of Latitudes and…
Sleavely
  • 1,654
  • 2
  • 11
  • 18
4
votes
1 answer

What version of npm works with nodejs 0.10?

I'm trying to install CartoDD as per instructions http://cartodb.readthedocs.org/en/latest/install.html It requires nodejs 0.10 to work. This is what is specified in the instructions: sudo add-apt-repository ppa:cartodb/nodejs-010 && sudo apt-get…
zapatilla
  • 1,711
  • 3
  • 22
  • 38
4
votes
0 answers

Write to file in UTF-8 encoding in FSDataOutputStream (Hadoop)?

I am trying to write csv into a file in the reducer function of MapReduce. Here is my code: public class DataSet311Reducer extends Reducer { @Override public void reduce(Text key, Iterable values, Context context) …
Viraj
  • 777
  • 1
  • 13
  • 32
3
votes
1 answer

How to integrate CARTO map to react.js code

I'm trying to integrate CARTO map (created using CARTO builder) with react.js. I'm stuck at using carto.js via cartoclient: this.cartoClient = new carto.Client({ apiKey: 'key', username: 'user' }); Official CARTO documentation mentions that it's…
Juri K
  • 75
  • 3
3
votes
1 answer

Shiny app that fetches data via URL works locally but not on shinyapps.io

I wrote a simple shiny app to illustrate a problem I am having fetching data from a website. Here is the UI code: library(shiny) shinyUI(fluidPage( # Application title titlePanel("Test App"), # Sidebar with slider inputs sidebarLayout( …
3
votes
1 answer

Connecting Firebase and Carto

I'm working on mobile SDK of Carto (Carto Maps) and I'm using Firebase Database. I'm taking location data from the Firebase and showing that data on map with markers. But I've heard instead of doing this all, you can just connect Firebase and Carto…
3
votes
1 answer

Fit map to objects in Carto mobile SDK

I have an array of NTVectorElements, how do I set the map bounds so that it fits every element to the screen? I see the moveToFitBounds function but I’m not sure how to implement it. Do you have an example?
JaakL
  • 4,107
  • 5
  • 24
  • 37
3
votes
1 answer

Adding CartoDb layer to Leaflet Layer Control

I'm trying to toggle the display of a CartoDb layer on a Leaflet map. I've been able to load the layer using this code: var layerUrl = 'http://ronh-aagis.cartodb.com/api/v1/viz/rotaryclubs_geo2/viz.json'; var clubPts =…
Ron House
  • 31
  • 2
2
votes
1 answer

Deck.GL with CARTO and React

I'm trying to use a CARTO basemap (@deck.gl/carto) with Deck.GL (@deck.gl/react) in a React application. To render a map layer, the docs utilize Mapbox's component from react-map-gl. However, when I pass CARTO's free basemap…
Zack Carlson
  • 89
  • 1
  • 6
2
votes
1 answer

How to edit/modify layer source in existing Leaflet map in React?

I have created Leaflet map using Carto and React, as it is described here https://github.com/IagoLast/cartojs-react-example, using: const cartoSource = new carto.source.SQL(source); const cartoStyle = new carto.style.CartoCSS(style); this.layer =…
Juri K
  • 75
  • 3
2
votes
1 answer

Creating map by CARTO from table with zero the_geom parameter

I have added new dataset to carto Builder using .csv file. But there is null the_geom column. So when i create map using reactjs and carto.js via: this.cartoClient = new carto.Client({ apiKey: 'key', username: 'user' });
Juri K
  • 75
  • 3
2
votes
2 answers

How to use Leaflet.js plugin with Stamen maps?

I am trying to add the following Leaflet.js slider to my map: https://github.com/Eclipse1979/leaflet-slider I originally just installed leaflet when installing Carto
James
  • 307
  • 8
  • 22
2
votes
1 answer

Map localization in Carto Mobile SDK

Does anybody know whether it is available to localize captions of the map objects using Carto Mobile SDK? And if it is possible, how can I obtain it? For example, I would like to see "Kazakhstan" instead of "Казахстан", however caption above the…
2
votes
1 answer

Integration orion-cygnus-cartodb - No data stored on cartodb

I'm integrating orion(1.5.0)-cygnus(1.5.0)-cartodb (using carto.com endpoint). The performed steps are: Create an entity on orion Create a v2/subscriptions on orion in order to notify cygnus when an attribute changes using the Orion NGSIv2…
2
votes
1 answer

leaflet.js: set max zoom level per layer?

I am using CartoDB.js (3.15.9, based on Leaflet.js) with two map base layers, a street layer from CartoDB and a satellite layer from MapQuest: var options = { center: [53.2, -2.0], zoom: 6 }; var map = new L.Map('map', options); var…
Richard
  • 62,943
  • 126
  • 334
  • 542
1
2 3
11 12