The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Using Aggregate and Infowindow in CartoDB

I'd like to use CartoDb to map historic addresses of a city (link to demo). Individual addresses are mapped as points on the map. Detailed information for each address point should be displayed in ...
0
votes
0answers
12 views

Using CSS clip property with CARTO layers in CARTO js (v4)?

Trying to build a very similar application to this one here, this example was built using CARTO js (v3, the old version). With the new CARTO js it will not let me apply the clip property to the style ...
0
votes
0answers
10 views

Formatting widget value to avoid scientific notation

I have visualized a geodataframe using CARTOframes (v1.0b3). The map contains a formula widget that shows the count of the features displayed on the viewport. This is my code: Map(Layer(disagree_lgdf,...
0
votes
1answer
29 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
1
vote
0answers
17 views

ogr2ogr: cannot append data to Carto table. Error returned by server : missing data for column “cartodb_id”

I am trying to import data into CARTO using ogr2ogr. I can create new tables, but once I try to append new data to this table, I get an error ogr2ogr \ --config CARTO_API_KEY xxx \ -t_srs "EPSG:...
0
votes
1answer
15 views

Adding different animated widget at same map in cartobuilder

I have 4 layers in Carto and I want to make animated maps for each of them but it seems I can only make one. Is there any way that I can make more than one?
0
votes
1answer
30 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 ...
3
votes
1answer
1k views

Using layer selector tool in Carto

I want to set up a layer selector with CartoDB like what is found in Usage Examples here. I viewed the source code and changed it for the table I want to use. When I open the html file and click on a ...
0
votes
1answer
24 views

Changing property on Carto VL feature?

I have a map that relates to a table. When the user selects a table row, I would like to highlight the corresponding map feature. This is the only way I found to do it: const siteGeoJSON = ...
4
votes
1answer
93 views

Setting up and displaying many-to-many relationships with CartoDB

I have to display many-to-many relationships between offices and sub-offices for a client. Each office manages many sub-offices, each sub-office can be managed by many offices. The client is ...
0
votes
1answer
14 views

Carto Torque animation map for polyline

I have a polyline shapefile with time series data. I want to create an animation map using Carto and show the line width based on the value. I used to create an animation map for point data and it ...
0
votes
1answer
28 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
48 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.
0
votes
1answer
66 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: :...
1
vote
1answer
43 views

Creating and Analysing sales potential Territories in Carto [closed]

Is there any way to analyse territories and edit territories in Carto? I do not need an algorithm to do it. I would need to aggregate polygons manually in order to create territories, see the results ...
0
votes
1answer
218 views

Appending 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, ...
0
votes
0answers
19 views

Using CARTOframes to push to CARTO account

I am using CARTOframes to create and style a map that includes widgets. I'm able to push a Dataset to my Carto account and to publish and update a map, however I can't seem to get that published map ...
0
votes
1answer
49 views

How to Handle Proxies within Carto's Python Import API framework

I am attempting to programmatically upload new data sets (tables) to Carto with the Carto Import API Python SDK. Unfortunately, I am doing this behind a proxy which is blocking me from successfully ...
1
vote
1answer
30 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
74 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 ...
2
votes
1answer
625 views

Leaflet.js and CartoDB.js giving event conflict

I have a layer from a CartoDB viz that I’m listening to the featureclick event. When a feature is clicked I highlight it by applying cartoCss. However, I want to unhighlight it when I click on an area ...
2
votes
2answers
4k views

Add minutes contained in a column to a date

In CartoDB I want to add minutes contained in a column of data type number to a date. e.g. SELECT my_initial_date + 'xx minute'::INTERVAL as my_date FROM table What is working is: SELECT ...
0
votes
1answer
168 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 ...
0
votes
1answer
86 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
1answer
80 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
3answers
67 views

Getting data manually from CARTO.js four dataview?

I have a series of CARTO.js four dataviews, but I want to manually get the data instead of listening to the 'dataChanged' event (when multiple datasets are created, this end in multiple errors). I ...
2
votes
1answer
76 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. ...
1
vote
1answer
85 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
661 views

How do you set the extent of a CartoDB 'embed' map?

Using the basic CartoDB 'embed' option, how is the extent stored / saved / set for a map? For example: A CartoDB map (formerly 'visualization') has three potential pages on my blog / website (...
1
vote
1answer
212 views

Filling polygons with patterns in Carto using polygon-pattern-file?

I'm trying to create a layer in Carto with three categories of transparent hatching of different colors. I understand how to use the polygon-pattern-file Carto CSS style but am wondering where I can ...
0
votes
1answer
24 views

Minimum sync time for the CARTO API

I would like to have (almost) real-time synchronization between CARTO and a data source that is connected through an API (excuse any wrong terminology, I am very new to these things). In CARTO ...
0
votes
1answer
17 views

Using features of CARTO Builder to dynamically calculate the average of selected columns

I am trying to find a simple way to calculate the average of selected columns (avg per row) dynamically in CARTO, using only the pre implemented features of CARTO Builder so that it is as user-...
0
votes
1answer
130 views

Using CartoDB Infowindow on fullscreen of iPad?

We're just about ready to go with our first ever CartoDB visualisation, namely a map of the museums in Britain. Unfortunately I'm having a rather large issue with infowindow positioning in either ...
1
vote
1answer
404 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$ ...
1
vote
2answers
711 views

Including data from multiple rows in CartoDB infowindow?

I have a visualization in CartoDB of a set of data points in table pointlayer. I am using cartodb.js and have a nice map for browser consumption. When a user clicks on a point, I'd like to run a sql ...
1
vote
1answer
261 views

Getting info from multiple rows in single popup of CartoDB?

If you have a table like this: Name | Item | State ---------|--------|----------- Alice | Apple | Alabama Ben | Banana | Alabama Caitlin | Cherry | California Assuming you have ...
1
vote
1answer
29 views

Interactive progress bar in CartoVL

I am creating an animated time series map using Carto VL and have included a progress bar that updates as the animation progresses. The bar updates, but is not interactive — for instance, a viewer ...
1
vote
0answers
18 views

How to sync Airship legend component data with CARTO VL legend data

I am trying to sync Airship category legend data as a VueJS component but it looks like the data property is not digesting the values properly: <legend orientation="vertical" data="[object Object],...
4
votes
1answer
424 views

Merging lines to make polygon

I've searched around but haven't find anything about this topic. I have several lines that represent the border between adjacent areas, so each area is delimited by several lines. How can I merge the ...
0
votes
1answer
43 views

WebGL error when switching visualization

I am getting similar WebGL error messages when switching CARTO VL visualizations: [.WebGL-0x59c22054800]RENDER WARNING: there is no texture bound to the unit 0 [.WebGL-0x59c222e5500]RENDER WARNING: ...
0
votes
1answer
116 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?
0
votes
1answer
38 views

Enabling ability to change basemap in Carto?

I have a carto web map that I would like to be able to toggle between the Carto basemap and satellite imagery. Similar to how this is easily done in ArcGIS Online with "Basemap Gallery" widget.
1
vote
1answer
209 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
19k views

Waiting on AJAX result in main JS function

So .... my main init()Javascript function has these 3 lines: sarea = GetArea(Uname,UIDfield,Table, document.getElementById("Source").value); darea = GetArea(Uname,UIDfield,Table, document....
0
votes
2answers
210 views

Odbc_fdw.control is missing

I am using cartoDB and Postgres 9.3 including PostGIS. When I try to create development user in cartoDB I get this error: 'CREATE EXTENSION IF NOT EXISTS odbc_fdw SCHEMA public;' ERROR: could not ...
1
vote
1answer
33 views

Animation does not work GeoJSON date fields in CARTO VL

In CARTO VL linear function expects a date or numeric field as its first argument. But when the data source is a GeoJSON, date fields are stored as categorical/strings and it returns an error like ...
0
votes
1answer
72 views

Can legends be exported as image in CARTO BUILDER?

How to add a legend when exporting a BUILDER map as jpg/png image?
0
votes
1answer
113 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
57 views

Animation with time + category interactive filter not working in CARTO VL

I am new to this CARTO VL tool and I am currently facing an issue that I can't fix by reading your Git repos or online help. I have prepared two separate visualizations (one of them has a filter by ...
0
votes
0answers
12 views

Creating subLayers using CARTO JS v4.1.8

I created a simple map with multiple layers using the below code. this.cartoSource = new carto.source.SQL(sql); this.layerStyle = new carto.style.CartoCSS(layerStyle); this.layer = new carto.layer....