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
202 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. ...
0
votes
0answers
19 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: ...
1
vote
1answer
18k 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
206 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
25 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
67 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
111 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
1answer
202 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
12 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
18 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 ...
1
vote
0answers
36 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
10 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....
6
votes
1answer
3k views

How to add a new permanent column that contains result from ST_AREA select queries

I have a bunch of polygons in my CartoDB map, and I want to create a new column called AREA in the table MY_TABLE that contains values from my area calculation query: select ST_Area(the_geom::...
0
votes
1answer
44 views

Does CARTO Airship provide a feature for widget attribute editing?

CARTO Builder allows users to edit feature attributes directly from the map building and editing interface. Does Airship offer the same function?
1
vote
1answer
58 views

What is difference between carto.js and cartoDB?

I am exploring how to use carto.js map in a web application. I had seen couple of samples where carto.JS is used and some of them used cartoDB by including a supporting js file in the document. What ...
0
votes
1answer
31 views

Linking Widgets

I'm new to Carto and would like to display multiple layers of data on the map for the year the user selects from a widget. How would I link the layers so that one click on a year widget will filter ...
2
votes
1answer
49 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?
0
votes
1answer
36 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
50 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 ...
0
votes
1answer
20 views

How to assign the points that a client of origin passes to a destination with sql of carto?

At the point of destination, can I choose how many kilometers of radius to calculate the points a customer goes through? I know I have to use the function cdb_route_point_to_point. For example, I ...
1
vote
1answer
203 views

CartoDB - Deleting datasets via API

We're running our own CartoDB stack and all is working well, but in writing an API testing script, that creates and subsequently deletes a dataset, we've discovered we're not sure how to ...
1
vote
1answer
39 views

Using CartodB in Qgis2web?

Is it possible to add Cartodb map in the Qgis2web plugin in Qgis? I tried but I couldn't choose CartodB maps like a basemap
1
vote
1answer
58 views

Mimic in-line GeoJSON using fetch()

For simplicty, referencing this example: https://carto.com/developers/carto-vl/examples/#example-load-external-geojson-layer I would like to have this bit of code behave the same as through it were ...
0
votes
1answer
23 views

What is the DBSCH command being passed to CartoDB's invalidation service?

CartoDB's PostgreSQL extension (cartodb-postgresql) has a function defined here: https://github.com/CartoDB/cartodb-postgresql/blob/2e665a56b4a7dbc3bd8e3d91ac18b52bb932663c/scripts-available/...
0
votes
2answers
75 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 ...
1
vote
1answer
104 views

Adjusting Style based on Column in CARTO?

An older version of CARTO allowed for adjustment of the styles based on a Column. For example, I could show elevation points over a certain elevation as green and points under a certain elevation as ...
1
vote
1answer
2k views

Adding Torque layer using createLayer instead of createVis in CartoDB.js?

I have two tables in CartoDB, one is a fixed layer with locations of restaurants in a city. The other layer has data about the locations where police had to go because of fights for example (say 112 ...
1
vote
1answer
36 views

Fixing Histogram selectionChanged from Carto Airship 1.04 to 2.00?

I have spent quite a bit of time playing around with this generous example provided by Jorge Sanz of Carto: https://gist.github.com/jsanz/8025628d669f1d9d0647f658f5511774 One thing I've gotten stuck ...
1
vote
1answer
90 views

Summing values that are geographically close to each other using Carto? [closed]

I have a dataset of Boko Harams rampage in Nigeria uploaded to CartoDB. I have columns like coordinates, dates, number of victims. Would it be possible to write a query that would sum the victims ...
0
votes
1answer
37 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 ...
0
votes
1answer
27 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
1answer
62 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
2answers
39 views

How to visualize choropleth with temporal component in browser

I have a vector dataset with monthly water risk data per river basin. The data is available for each month (January - December) and I would like to visualize this in a browser. The geometries are ...
0
votes
1answer
44 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
27 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 ...
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
63 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
235 views

CartoDB displaying layers and infowindow? [closed]

I just started testing and using CartoDB, and I am dealing with this problem on a map that has been published already: http://deix.is/ueberwachungsstatistik/ I have made minor corrections to the ...
0
votes
1answer
70 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
152 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
1k views

Hiding sublayer with toggle button using LayerActions?

I have a toggle map (like this example) with sublayers. I want all the sublayers to be visible when you open the map, but I would like to hide some sublayers when the toggle buttons are clicked. I've ...
1
vote
1answer
120 views

Any ZXY satellite basemaps covering New Zealand at zoom 19?

I need a good satellite base map to use with CartoDB. It has to cover all of New Zealand at zoom 19, [edit:] and be as recent as possible so we can show recently-built properties. It doesn't have to ...
0
votes
1answer
44 views

Is it possible to block a data set programmatically through the API in Carto?

We are automating the creation of data sets with Carto. Now we would like to be able to lock to avoid unwanted changes in the data. We know that this can be done through the dashboard, but is it ...
1
vote
1answer
77 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 &...
1
vote
1answer
967 views

Using PostGis BBox and ST_intersects Queries? [closed]

CartoDb Recommend here that the following query is faster than an St_intersects Query SELECT * FROM {table_name} WHERE the_geom && ST_SetSRID(ST_MakeBox2D(ST_Point(-73.9980, 40.726), ST_Point(...
-1
votes
1answer
20 views

Random IO Error when importing CSV/XLS files into locally installed Carto

The current situation: Carto is installed on a on a cloud VM. Everything is working fine except that the programmatical import using the Import API gives inconsistent results. (I am using the NodeJS ...
0
votes
1answer
75 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 ...
0
votes
1answer
23 views

How to get sum of a subset as opposed to the last value? CARTO

When choosing a date subset the displayed value of my application is the lastest value as opposed to the sum on that subset. In the example, 943.974 is the dosage for June 12th. The sum of dosage ...
1
vote
1answer
346 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
71 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. ...