Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [carto]

CARTO empowers any organization and individual to discover and predict key insights through location data. With CARTO’s intuitive location intelligence platform anyone can build self-service location based apps that help optimize operational performance, strategic investments, and everyday decisions.

0
votes
0answers
13 views

Carto featureClicked in Google Map

I have creating a carto layer in a googlemap using carto.js 4. My layer creation works very well and if I click on a point in my map layer the featureClicked event is executed. But if I create a ...
2
votes
1answer
794 views

Connecting CartoDB to existing MySQL database?

I'm trying to create a simple heat map based on longitudinal and latitudinal map coordinates that can be transferred from a database on MySQL that I've created. I read that CartoDB can be connected to ...
0
votes
1answer
23 views

Trying to Count Number of Points within Specified Distance from Lines using Carto?

There were multiple points stacked on the same coordinates that I did not notice. I am trying to count the number of points within 10km of lines (routes) so the routes can be styled according to the ...
0
votes
1answer
49 views

data dots shift when using cartodb.js

As you can see this is a tutorial example map. It works strangely on my own website. The Florida location is now shifting down a little bit. In fact, all of the dots shift down a little bit. How do ...
1
vote
1answer
191 views

Interactivity in CartoDb with createLayer method?

I have a problem with my interactivity and I can't solve alone. When mouse hover are on any point I would like show by console.log any column of my dataset. With my code, only show me cartodb_id. ...
1
vote
1answer
19 views

CARTO Airship category widget returning NaN values

I am using Airship and carto-vl while working through this tutorial and the values in the widget are coming back as NaN. Here is my code: <!DOCTYPE html> <html> <head> <!-- ...
0
votes
1answer
13 views

Limiting number of selected items in CARTO category widget?

I created a map with several widgets with CARTO but I'd like to limit the number of selected items in a category widget to one. By default you can select all of the items and in my use case that is ...
1
vote
1answer
272 views

Creating custom input text in CartoDB?

What is the best way to modify the searchbox listener searchbox in the CartoDB map? I would like to disable the default event listener for the CartoDB searchbox and first to execute my own listener ...
0
votes
3answers
37 views

Carto.js and Carto-vl.js not working together

I have worked on a couple of examples in carto's tutorials, and I am trying to put them together now. One example was from the carto.js tutorial and the other from a carto-vl.js tutorial. There is ...
1
vote
0answers
27 views

Using carto mobile iOS sdk download offline map having satellite map style instead of normal map style

Is there any way to use satellite map style for maps downloaded for offline usage using Carto Mobile SDK?
0
votes
1answer
13 views

Transferring NUTITEQ account to CARTO [closed]

I am using a NUTITEQ API key and now I want to use CARTO mobile in my App. It says the app bundle is already used, but this is via my NUTITEQ account which I think is probably now inactive. Can I ...
0
votes
1answer
90 views

Creating Polygons from Points in Carto

Using Carto, I am trying to create shapefiles of regions using points(Link to Dataset in Carto ) with a shared column value to group by. I've included 3 photographs. 1st photograph of the points ...
1
vote
0answers
34 views

Importing CSV to Carto from R?

I would like to import a csv file to my Carto account using R. I know the csv has been generated, and I'm able to save it in other locations. Running the code to upload this file to Carto appears to ...
0
votes
1answer
20 views

Can I use external map data with cartojs library? [closed]

I am receiving data from another source apart from cartodb and I would like to use the data for carto maps.
0
votes
1answer
27 views

Zoom to selected feature extent using Carto and Leaflet

I am trying to use the getBounds and setBounds functions to zoom to the extent of a selected polyline feature in Carto. The feature has been selected using an SQL query. I want to zoom to the extent ...
1
vote
1answer
806 views

Adding multiple cartodb layers in viz.json to Leaflet layer control?

I have create a visualisation in cartodb with 4 layers. The resulting viz.json is added to a leaflet map as follows: cartodb.createLayer(cartomap, [url], {https:true}) .addTo(cartomap)...
0
votes
1answer
43 views

SQL layer wont ORDER BY in CARTO VL

I have a dataset that shows the borehole yield for fractured aquifers in South Africa. Using the "yield_ls" column, my CARTO VL legend looks like this (notice how the 4th item should be the first). ...
0
votes
2answers
48 views

Adding labels to a Carto VL visualization?

It was possible to add labels to polygon visualizations in Carto.js 3.x via the CartoCSS; is there a way to add them in Carto VL visualizations? From what I can tell, Carto VL doesn't have the ...
0
votes
1answer
35 views

How to access a table row in CARTO.js histogram dataview

How do I access a certain row in a CARTO source? For instance, I have Chart.js reading the ticketcount column using this: var source = new carto.source.SQL('select * from ticketspercounty_copy'); ...
1
vote
2answers
29 views

Updating legend (when active layer is changed) in CARTO VL?

I have made a CARTO VL map that allows the user to update the active layer depending on which groundwater aquifer option is selected. The layers have different Sources, but use the same Viz. For ...
2
votes
1answer
29 views

Using CARTO in a different language (multilanguage)?

Is it possible to configure CARTO, CARTO Builder, etc to be available in different languages e.g. Spanish, French, Portuguese?
2
votes
1answer
894 views

Running CartoDB Server Stack?

We're attempting to download and run the CartoDB stack on an Ubuntu Amazon EC2 instance dedicated just for it. So we've begun from a bare bones OS install. We've gone through the install/configure ...
1
vote
1answer
40 views

How to reverse quantile color palette with CARTO VL

Using CARTO VL (which is awesome by the way), I have made the following groundwater harvest potential map that is styled using 10 quantiles. Although the "temps" palette works well, is it possible ...
-2
votes
2answers
713 views

Preparing excel file for cartodb?

I have tried to upload an excel spreadsheet but I get a column with "invalid_the_geometry" and of course "the_geometry" column unpopulated. The result of the spreadsheet I am working with comes from a ...
0
votes
1answer
53 views

CARTO Airship widget default text

I am testing CARTO Airship. I have a query regarding airship widget default text. There are some default text values in all widgets like "There is no data to display" or "NO DATA AVAILABLE". I also ...
1
vote
1answer
545 views

Using panel info instead of infowindow with CartoDB?

I am using CartoDB API to develop a map viewer and I would like to get the information from featureClick into a content panel instead of the typical infowindow. Is there any method to do it directly? ...
0
votes
1answer
257 views

Using videos (as headers) in CartoDB Infowindows? [closed]

I need to know how to embed a video (YouTube or Vimeo) into an infowindow in CartoDB in the same way that an image appears as an image header. Potentially more complicated, when there is no video link ...
1
vote
1answer
122 views

Accessing CartoDB/SQL Console?

Lacking much programming experience, I've spent a lot of time familiarizing myself with HTML, CSS, and SQL over the past couple of days so that I could make a layer selector for a CartoDB ...
0
votes
1answer
50 views

Torque.js error creating layertorque: Missing closing ] of filter

I've been trying to create a cartodb map with a torque layer as indicated in the Torque.js documentation, but I keep getting the same error: cartodb.js:14 MAP: error creating layertorque Error: :...
0
votes
1answer
26 views

Carto (editor): how to disable hoverwindow -temporarily- on different layer

See example https://designink.carto.com/viz/e6b1b7c5-ebc9-4a1f-8b8d-d63f127983ca/public_map I have an active infowindow on a specific layer (Spain) -with active url as text inside-, but this ...
0
votes
1answer
26 views

JS errors on cartoDB map editor - tracker.js

When editing my map in the CartoDB interface the page breaks with errors - see screenshot. Any ideas how to resolve this? tracker.js:14cartodb/table/views/tooltip/custom_templates/infowindow_light ...
0
votes
0answers
27 views

Cartodbfying and using ghost tables in CartoDB Enterprise?

I'm using Carto Enterprise, and I need help on making custom DB tables show up in Carto builder page when you log in. So far I've turned ON the ghost_tables feature like this. /opt/carto/builder-...
1
vote
1answer
29 views

In CartoDB, can columns (e.g. ARPU2011) have descriptions (e.g. Average Revenue Per User 2011)

I have an in-house database with spatial data (Postgres + PostGIS) for which I'm generating an extract (GeoJSON/KML etc) in order to load it into CartoDB. My column names are technical (e.g. ARPU2011,...
0
votes
1answer
44 views

Seeking tutorial on Time Slider in Carto?

I want to add a time slider to a map. It looks as if I have to do that via CartoCSS but I really don't know where to start. Unfortunately, I don't understand what all the other posts regarding this ...
0
votes
1answer
42 views

How to let the right toolbar of CartoDB show out?

How to let the right toolbar of CartoDB show out? My page window is different from that in the guiding video.
2
votes
2answers
6k views

Loop over features of a GeoJSON object from CartoDB

I have just little knowledge about HTML and JavaScript. Nevertheless I was playing, copying and pasting around with Leaflet and CartoDB. I want to display the features GeoJson in a table. This is ...
0
votes
1answer
25 views

CARTO polygon styles

How do I assign polygon colors in CARTO based on whether it is a positive or negative number? For example, I want the range of negatives to be one color, and the range of positives another, with a ...
0
votes
1answer
55 views

Editing the description in the dashboard view of a Carto map once the map has been published?

It appears that once you write a description in the dashboard view of a Carto map (where it says "Add description...") the text is un-editable. Is there a way to edit the text? The map on the left ...
0
votes
0answers
35 views

Using both Google Maps and Carto in Android App?

Can I use Google Maps as a background to an Android App and carto for the source of my data? I know is strange that I ask. But I think to use both solutions is better. Google Maps is a very good and ...
0
votes
0answers
22 views

Xamarin Online Routing with Carto Mobile SDK does not work

I’m currently trying to calculate a route with the RoutingService in Xamarin (Mobile SDK). I initialized the CartoOnlineRoutingService like this: _routingService = new CartoOnlineRoutingService("...
0
votes
1answer
115 views

React / CARTO Enabling interactions

I have a React JS component that adds a Layer to the Basemap: componentDidMount() { const { client } = this.props; // Craete source, styles and layer with the given props const ...
1
vote
1answer
64 views

Torque.js is not working: L.TorqueLayer is not a constructor

I've been trying to create a carto map with a torque layer as indicated in the Torque.js documentation, but I keep getting the same error: Uncaught TypeError: L.TorqueLayer is not a constructor &...
0
votes
1answer
70 views

CartoDB - Non-animated heatmap, but won't let me layer under

I have a simple heatmap layer that is not animated. I want to move a choropleth layer above that heatmap layer, but Carto will not let me, as it thinks my Heatmap layer is animated. Is there any way ...
1
vote
1answer
237 views

carto giving error: TypeError: Cannot read property 'hasOwnProperty' of undefined

I have a new ubuntu 17.10 server that Im building an Open Streetmap Server on. I installed carto and am now getting this error: osm@atlantageek-System-Product-Name:~/openstreetmap-carto-2.41.0$ ...
2
votes
1answer
67 views

Can a Carto web map auto-pan to follow point animation?

Setting up an animated map in Carto Builder that follows a point across the Pacific. In order to see local route details the map must be scaled in, but then not all of the route is visible at once. ...
0
votes
1answer
136 views

How do I append three columns from a table to my active table?

I am trying to append three columns from srs2016 to srs2013_1 using this sql. INSERT INTO srs2013_1 (the_geom, agency_responsible, description) SELECT the_geom, agency_responsible, ...
2
votes
1answer
205 views

Adding Facebook and Twitter sharing to CartoDB infowindows?

Trying to add share buttons to output something like: {{region}} text {{region_variable}} text www.google.com The below works very intermittently for Twitter, but when I share the URL, the map won't ...
1
vote
0answers
520 views

Using z-index with infowindow and CartoDB CSS? [closed]

I currently have a map where my map div covers 60% of the page and 40% is a fixed Infowindow. My problem happens with cartodb css and its z-index of div.cartodb-infowindow. Currently my information ...
0
votes
1answer
110 views

CartoDB API to make a table public after an import?

I am currently using the import API to import my layer data into CartoDB from another application. My question is whether there is a way to make this table PUBLIC using an API instead of the UI?
1
vote
1answer
78 views

Custom basemap not showing surroundings in CartoDB

I have entered the following png into the XYZ URL for the Carto custom map but it is not working (for either my link below or their example link). I keep getting my custom map, which I rectified on ...