Stack Exchange Network

Stack Exchange network consists of 174 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.

1
vote
1answer
147 views

Adding SQL layer with dropdown selector in Carto?

I am trying to make a map that has a layer showing District boundaries of South Africa, with a selector allowing the user to view which climate change indicators are a priority to each District. Using ...
0
votes
0answers
42 views

Carto.com: Date format in popup window

I want to display a date field without the timestamp on my Carto map. I wrote some javascript to cull the value of popup window elements with the class of "opendate" and tried putting it at the bottom ...
1
vote
1answer
203 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
1answer
46 views

How to avoid multiple “Other” Columns with similar Styling in Carto

I have a shapefile for all US ZCTAs. Each ZCTA has been clustered by proximity and given a value in a new column called Zip_Rollup. I am trying to add a style by value using the Zip_Rollup values. ...
0
votes
1answer
55 views

How can I get the timeslider using Cartojs and Torquejs

I want to build the timesilder on my webpage.The timeslider on Carto Builder is nice for me.Now I can get the first img' timeslider, But I want the second one and don't know how to achieve it.What ...
-1
votes
1answer
33 views

How can I get the radiation effect Carto map

I want to achieve the radition effect with Carto like this url https://carto.com/blog/telefonica/ Can I develop it with Torque.js?
0
votes
1answer
103 views

Invalid or nonexistent map configuration token

I get the return message NON-VALID PICTURE URL in the POPUP in the CARTO map. when editing in CARTO I get the "Invalid or nonexistent map configuration token". Please forgive my ignorance as I am a ...
0
votes
1answer
38 views

Creating a data layer on CARTO from an ical feed?

Has anyone ever made a map on CARTO from an ical feed? Given that it uses a standard format which includes a location information, I envision that I can scrape the data into a CSV then geocode the ...
1
vote
1answer
151 views

Create a BalloonPopup with two buttons

I'm trying to create a BalloonPopup that has 2 different buttons or interactive elements, but I don't seem to manage a way to do this. The guide I'm following is here https://carto.com/developers/...
0
votes
1answer
82 views

How do I deal with multiple kml files for one map?

I'm looking for general guidance on how to approach a simple map. I have a spreadsheet of seven schools, with fields such as "number of students" and "school budget". The catchment area for each ...
0
votes
1answer
38 views

Format date in CartoCSS infowindow

I have a date feild in my data and when I add it to an info window, it shows in zulu time (2017-11-06T00:00:00.000). Is there a way to format the cartoCSS and HTML so that only the date, and not the ...
0
votes
1answer
47 views

error“:[”function obs_getdemographicsnapshot(geometry) does not exist"]

I keep receiving this error whenever I try to use this API call: https://{username}.carto.com/api/v2/sql?q=SELECT+*+FROM+OBS_GetDemographicSnapshot(CDB_LatLng(40.760410,-73.964242)) I do use my ...
0
votes
1answer
74 views

change the field type [closed]

I want to change the field type of a varchar to a date, but being synchronized does not leave me. The text format is 2018-01-01T14: 00: 00Z When I try to change it in sql it gives me a bug: ALTER ...
0
votes
0answers
25 views

Uploading point shapefiles to Carto?

I'm having troubles uploading point shapefiles to Carto. I packed the layers into a .zip and uploaded them. I noticed that only my polygon shapefiles uploaded and none of my point files. After ...
0
votes
1answer
32 views

Customization of Line drawings in Carto Mobile

I've been following up the "Add a line" section in the tutorial of Getting started for the Carto Mobile SDK https://carto.com/docs/carto-engine/mobile-sdk/getting-started/#basic-map-features and so ...
0
votes
2answers
112 views

Can you hide/show the sublayers of a layer using CARTO.js createVis method?

Can you hide/show the sublayers of a layer using Carto's createVis method? I know I can easily hide/show the layers using createVis, but what about the sublayers in a vis layer? I've been trying out ...
0
votes
1answer
26 views

Join in CARTO - Relate tables 1:M

I'm trying to make a join between two tables in SQL with 1: M relation. A table ejecutado_unificado_2018 is a dataset without geographic information and the dataset sectores_limpieza_2018 comes from a ...
0
votes
1answer
43 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
274 views

Importing full ready map with carto.js v4?

How do I import a whole map that is on my carto to edit it with carto.js v4? It's pretty sad having to SQL to build the map from scratch.
1
vote
1answer
60 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
134 views

Data from dataview doesn't update after changing the operation

I'm trying to update some dataviews' operation by a select item. The operation has been changed but the data didn't (so it doesn't trigger a 'dataChanged'). I've tried without boundingBoxFiltering but ...
0
votes
2answers
57 views

One data point with multiple names [closed]

I am a beginner at mapping and I am wondering how best to structure a dataset I am working on. Ideally, I would like one data point for each city on my map, but I would also like to include ...
-1
votes
1answer
44 views

Importing and synching polygons from a Google Spreadsheet into Carto - can it be done?

I have used Google Spreadsheets as a way to provide our large organisation a way to update carto maps with new locations without needing to consistently contact the web/GIS teams but only with ...
1
vote
1answer
22 views

Selecting date for torque animation load using Torque?

I have an animation working using Torque, and the animation is set to pause on load. this automatically loads on the first date of the data series. Is there a way to draw the animation so that it ...
0
votes
1answer
61 views

Carto, CartoCSS : style point by hex value stored in table

I have a table of points. Each row has a string hex field that stores a color code in hex format: #000000. I want to style my map so that each point displays with the color assigned to it. But ...
0
votes
1answer
47 views

Carto isochrones funtion returns syntax error

Using this snippet of code: INSERT INTO my_new_table (the_geom) SELECT (cdb_isodistance(the_geom, 'walk', string_to_array(distance, ',')::integer[])).the_geom FROM my_original_pts_table I ...
0
votes
1answer
63 views

CartoCSS Bubble map Jitter/Non-overlapping points

I am new to CartoCSS and web mapping in general. I am working on a project with different sized points that represent populations in different locations around cities. What I want to do is have it ...
1
vote
2answers
43 views

How to segmentize lines into dots in CARTO

I have this code generating a curve in Carto. I want to convert it into a curve of points and then animate the points with torque. WITH lines as ( SELECT a.cartodb_id, a....
0
votes
1answer
36 views

How to align Carto logo

I'm using Carto Mobile in an Android app and I wonder how could I align the Carto logo on a corner that I choose, instead of having it randomly displayed and interfere with map controls I'm displaying ...
0
votes
1answer
196 views

How to use the the Category Widget in the CartoJS v4?

I'm looking into using the Category Widget in a custom Map, using Carto JS v4. I've managed to get the data to show up on my map, and Now I want to have a category Widget, like the one you have Carto ...
1
vote
1answer
72 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 ...
0
votes
1answer
153 views

Fitting bounds with Carto.js?

I am new to Carto.js and I don't understand how to work with it SQL. How do I get bounds for this query? const places = new carto.source.SQL(`SELECT * FROM someTable`); I saw an example with ...
0
votes
1answer
33 views

Changing Carto basemap according to timestamp?

I'm making an animated "time-map" of the avaibility of renting bikes during a day (on Carto). Can I change the basemap so when it's day time the basemap is light and when it's night time the basemap ...
1
vote
0answers
30 views

Connect multiple WMS layers in CARTO querying to GetFeatureInfo [closed]

Connect multiple WMS layers in CARTO querying to GetFeatureInfo. How do I get GetFeatureInfo information from the attached WMS layer?
3
votes
1answer
60 views

Why is shapefile non recognised in the dataset?

Do CartoDB datasets accept .shp files for the geometry? I should use them to build a map but I can't do it. Can you help me?
-1
votes
1answer
301 views

Using Carto.js with free account? [closed]

I have a website running with an old CartoDB account and I would like to make some improvements. With the arrival of CARTO BUILDER, I lost the opportunity to share layers and thus be able to use ...
0
votes
1answer
59 views

carto /cartocss : is there a function for “contains”?

I know how to set a specific color for a specific value (here specific_string) of a specific field (here field1) #mydataset[field1="specific_string"] { marker-fill: #000000; But what if I want to ...
0
votes
1answer
66 views

replacement for cartodb.SQL({user: 'user'}).execute(sqlquery) in new cartojs

this used to be my code in older carto.js cartodb.SQL({user: 'user'}).execute(sqlquery).done(function (data){ console.log(data); } how to readapt it in newer cartojs 4.0 beta
1
vote
1answer
38 views

Carto Builder Azure Marketplace - default Postgres configuration causing poor performance

We recently learned some valuable lessons which I wanted to share with the community. We recently moved our map application from being hosted by CartoDB onto an Azure Marketplace Carto Builder VM. ...
0
votes
1answer
66 views

Exporting CartoDB dataset for create report?

How could I export the Carto's dataset to then generate a report of that data? With the idea of giving that report to some architects. Please excuse my limited English.
0
votes
2answers
241 views

Multi layer interactivity not working with carto.js

I've two sublayers with interaction set as true and the proper columns added in the interactivity method. The featureClick listener is attached to the layer. On the one hand, popups are working on ...
2
votes
2answers
122 views

Carto SQL fails due to CORS error in local CartoDB?

I have successfully installed CartoDB in Ubuntu 14.04 LTS and uploaded a point geometry dataset. I have created a HTML/JS application to access the layers from the local cartodb and visualize in the ...
0
votes
1answer
86 views

Cartodb popup opening at wrong location

i am using carto js to load a map and inbuilt leaflet to load additional points following (see image below) is the error i am getting. i am using this js <script src="http://libs.cartocdn.com/...
1
vote
1answer
97 views

Why isn't CartoCSS picking my conditional values a carto animated layer?

I am making an animated layer and the values I want to map range are from 0-1, as a percentage (e.g. 0.33333). I'm trying to change the color and eventually size based on the value. I tried adding ...
0
votes
0answers
41 views

Shape Normalization Error while importing shapefiles in cartoDB

I had succesfully installed CartoDB in Ubuntu 14.04 LTS VM and could import CSV and GeoJSON without any error. When I try to load shapefiles, the following error pops out. Error Code : 3009 Error : ...
9
votes
1answer
2k views

CartoDB opensource vs paid one?

What's the difference between open source CartoDB version vs the paid one? this one the open source: https://github.com/CartoDB/cartodb and this one the "paid" version: https://carto.com/ i don't ...
0
votes
1answer
67 views

Using Date Column in Synced Table?

There is one map and one dataset in my account. The dataset is synced to a Google Sheet to which my students add data. All the layers of the map are derived from the one synced dataset. One of the ...
1
vote
1answer
72 views

Upload Dataset failed with CartoDB in Ubuntu 12.04 VM

I have tried installing CartoDB in Ubuntu 14.04 LTS first on which I could not import datasets. I have raised the question on this viz., Import Files failed with cartoDB installed in Ubuntu 14.04 LTS. ...
1
vote
0answers
24 views

Carto PackageManager return null on Xamarin.iOS

I have such problem: On Xamarin.IOS Package Manager returns null after invoking GetLocalPackage(packageId) in several places of the application; What do I know about the issue: 1) This happens ...
2
votes
1answer
81 views

Avoid alpha summation in Line that overlap itself in Carto Mobile SDK

I need to draw a big line that can overlap itself. I am using this doc: https://carto.com/docs/carto-engine/mobile-sdk/getting-started/#add-a-line And I need the line to have a opacity of 0.3. So ...