CartoDB is a cloud based mapping, analysis and visualization engine for mobile and web

learn more… | top users | synonyms

0
votes
0answers
6 views

Open Popup on CartoDB Layer

I have a cartodb viz layer (polygons) and geojson layer in a leaflet map (parcels), where the geojson layer overlaps the cartodb layer. How do I disable the interaction to the geojson polygon layer so ...
0
votes
0answers
5 views

How do I get a non-circle marker in a category map on CartoDB?

I have a CartoDB map which has two layers. I want both to display, and I want both to be category maps — there are 3 categories in each which display as three different colors. But I want to ...
1
vote
0answers
9 views

Overlaying a (say) 1Km x 1Km to a CartoDB or Here map

Is there a simple way to add a (say) 1Km x 1Km grid layer (or overlay) to a cartoDB map or Here map so that as when zooms in or out the grid lines remain accurate. (NB. An absolute ...
1
vote
0answers
3 views

How to manually geocode records or see a reference list of countries CartoDB recognizes?

I'm making a quick choropleth map that classifies countries by income level. The in-built geocoder works mostly fine on the country names (there are also 3 letter codes in the dataset) but there are ...
0
votes
0answers
5 views

Combining Hover Highlight of Polygon, Layer Selector, Custom Infowindow with Cartodb.js

I am trying to combine the hover highlight polygon feature with custom infowindows and a layer selector but the highlight polygon functionality seems to break everything else. I have the code working ...
0
votes
1answer
32 views

Redirect if Clicked on a Marker in CartoDB

How can the user be redirected if he clicks on a marker in CartoDB? I have a dataset with the markers — the geometry and inside of the description-field the URL to redirect the user. I know I can ...
0
votes
0answers
14 views

How do I make a simple time-based (year-by-year) map in CartoDB Torque?

I'm trying to make a very simple time-based map using CartoDB. My time data is in its own column of type DATE. The lowest date in the range is 2007-01-01 and the greatest is 2014-01-01, so I set the ...
0
votes
1answer
17 views

Does Cartodb have a function to change center location based on user location?

I would like to have the map open up a the users current location. I only see documentation for setting the center on init, I would like it to be dynamic..
0
votes
1answer
13 views

cartodb: how to display data from a related table in the info window?

I have a table of buildings. I have a table of all the things in each building. It is a one to many relationship. How can i make info windows which display a list of the things in the building?
0
votes
1answer
11 views

Importing data to CartoDB using ogr2ogr

First attempt, I want to create a table at CartoDB from another Postgis database: snow:Docker-Postgis alasarr$ ogr2ogr --config CARTODB_API_KEY daf3960b41733ef71e03ea77019642761d547f5b -f CartoDB ...
0
votes
0answers
10 views

Hide Marker if InfoWindow is open in CartoDB

How can I hide the Marker of a Point as soon as the onClick/onHover Infowindow is open — and show it again if the user closes the InfoWindow? Alternative: How can I manipulate the opening of the ...
1
vote
1answer
14 views

CartoDB not showing data layer over every tile

https://interwebjill.cartodb.com/viz/191381e0-1a43-11e5-a909-0e43f3deba5a/map I have columns for the latitude and longitude values of each point in my table but not all of them are being shown in the ...
0
votes
0answers
23 views

Dynamic Content and Infowindow-Size & -Position

I have to display Dynamic Content (aka embeds … tweets, youtube-videos, facebook-posts etc.) inside a Infowindow … now how can I make sure to resize and position the infowindow properly so the ...
1
vote
1answer
34 views

Embeds with iFrames and Scripts in CartoDB InfoWindows

How is it possible to embed content — like YouTube-Videos, Twitter-Tweets, Facebook-Posts, Instagram-Photos or andy other kind of embeds — into a InfoWindow in CartoDB? In my Dataset there is a row ...
1
vote
0answers
16 views

CartoDB: Calculating distance between points in two tables and including the name of the second point in infowindow

I am plotting community gardens in CartoDB and want to show the nearest subway entrance in the infowindow. I have two tables with the location of the gardens and the subway stations. I am able to get ...
1
vote
1answer
28 views

CartoDB infowindows - only show title if data exists?

I have a data set in which not all tuples have info for all columns. I want to show those columns in the infowindow, but if the data value is inconsequential (doesn't exist, is zero in a field where ...
0
votes
1answer
36 views

Display NYC buildings where the tallest building on the block is above a certain height

There's probably a simple answer to this, but... I'm trying to figure out how to use the WHERE function to display only polygons (NYC properties, I'm using the PLUTO land use database) where the ...
0
votes
1answer
60 views

GPS data -tracking analyst

i have GPS data from 15 trucks for one month. The data include (location x-y, speed, altitude and vehicle_id). I have used tracking analyst to visualize the data but i need to group them by day to ...
1
vote
1answer
20 views

How do I show an aliased field in a CartoDB.js Infobox?

I used CartoDB.js to do a SQL query of a layer which also performs some calculations on the layer's fields. This part works fine, but I just can't figure out how to get the calculated field into my ...
1
vote
1answer
28 views

Georeference disabled in CartoDB synced dataset

If I upload a dataset with synced option enable then I haven't the option to do the geocoding. Is that normal? How I can geocode the addresses? If manually I can't do the geocoding how I can do ...
1
vote
1answer
42 views

How can I activate interactivity on cartoDB.js with createLayer?

I've made a map with cartoDB.js with the createLayer method. I've defined the sublayers,inside a variables called layerSource, giving them an interactivity field like this: sublayers:[ {sql: "SELECT ...
1
vote
1answer
63 views

External font in CartoCSS

I want to use a non CartoDB-installed typeface (one from typography.com) for the place labels (closer than 14z) on the map at http://outgoingnyc.com. So far if I try to do it in the css, it fails ...
1
vote
1answer
26 views

Build legend in CartoDB using createLayer

I'm not using createVis, but rather createLayer to generate my maps on the fly, but can't seem to figure out how to add a legend using something simple like legends: true, which is available when ...
1
vote
2answers
27 views

CartoDB not showing title or description (or other options)

I'm using CartoDB and I can only get one option every to work cartodb_logo. The rest seem to be ignored. Here's the relevant part of my code. What is wrong with this to cause title and description to ...
1
vote
1answer
61 views

Changing slider format using CartoDB?

I'm new working with cartoDB and I'm trying to show the hour and the date in a torque slider but doesn't work properly and show mm/dd/yyyy instead of mm-dd hh:mm. Using: ...
0
votes
1answer
88 views

How do I explode a MultiLineString using ST_Dump() in PostGIS?

I want to do what this blog post does: explode a MultiLineString into individual LineStrings. I'm using CartoDB but don't get individual LineStrings as the result of my query. I still get a ...
0
votes
1answer
30 views

Set CartoCSS ranges dynamically for choropleth

I know that I can generate a choropleth using CartoCSS like this: #volume [ number_of_cases <= 434] { marker-fill: #BD0026; } #volume [ number_of_cases <= 183] { marker-fill: #F03B20; } ...
0
votes
1answer
22 views

Reprojection not generating properly the tiles

I am executing this query with cartodb.js. I am moving the markers radomnly to generate a new layer. cartodb.createLayer(map, { user_name: 'mickemr', type: 'cartodb', sublayers: ...
0
votes
1answer
28 views

CartoDB Geocoding Fails for Connecticut Cities

I uploaded a dataset that includes a bunch of cities in the state of Connecticut. One example is Farmington. I set the state column to the column with the state abbreviations (it uses "CT") and used ...
0
votes
2answers
44 views

featureClick won't work in cartoDB

EDIT: Link to repo containing the files. Open the index.html file in the imports and exports folders. I can get everything except featurecClick to work. My JS: window.onload = function(){ var ...
1
vote
1answer
31 views

Deactivating InfoWindow on certain Elements using CartoDB?

In CartoDB: How can I disable/deactivate the InfoWindow on certain Elements? For example if I have a layer with multiple lines, but only want a on-click-Infowindow or on-hover-InfoWindow on line 1 and ...
1
vote
2answers
28 views

Adjust Color Theme of CartoDB Basemap “Dark Matter”?

I wanted to know - but haven't found the solution elsewhere - whether it is possible to adjust the color theme of the CartoDB basemap "Dark Matter". I'd only like to change the colors of the water ...
0
votes
1answer
39 views

Can you have layer control in Odyssey.js?

I've been playing around with odyssey.js and made a few map stories with it: http://www.burdgis.com/blog/archive/map-stories/ What I can't work out is how to toggle layers. I imagine you would need ...
0
votes
1answer
21 views

Can you force cartoDB to read a file as a synced table

I'm writing a script that downloads from a data source every hour. I then do some processing on it and convert it to a kml saved in my google drive. As the data is updating every hour I want to be ...
0
votes
1answer
54 views

What is the best way to get simplified UK boundary data?

I have some recent data that is at the Lower Super Output Area (LSOA) level for Greater Manchester. I wrongly assumed that the data was for the latest LSOA boundaries, i.e. for the 2011 boundaries. ...
0
votes
1answer
22 views

PUT command for cartoDB API

I am trying to update json file from local machine to cartodb.I used below command but it is not working. curl -v -F file=@C:/Users/k/Desktop/In/da.json --request "PUT" ...
1
vote
1answer
45 views

Incorrect geocode of state for sync tables

My sync table looks like this: http://i.imgur.com/ZfDp1L7.png What should be Lebanon, Kanasas is being geocoded to the lat/lon of Lebanon, Kentucky. This has happened with other cities that have ...
1
vote
0answers
22 views

Remove Legend from CartoDB Layer

I am trying to remove the legend associated with the current CartoDB generated map and replace it with a legend from a map generated when the user selects a radio button. My code is as follows: ...
1
vote
1answer
77 views

CartoDB choropleth + bubble visualization legend

I have been trying to display two values simultaneously i.e. one absolute value displayed by bubble size (as with layer wizard: bubble) and one relative value displayed by color (as with layer wizard: ...
0
votes
1answer
38 views

CartoDB polygon data for postal codes in Spain

I have been testing CartoDB for a little while and I can't get maps by postal codes in Spain. The system says "no polygon data available for your selection". But then I see some maps for Spain ...
0
votes
1answer
34 views

how to insert area of polygon into a column named area in a polygon map in cartodb?

SELECT ST_Area(the_geom) FROM cartodb_query gives the area but trying to insert it into an area column using: UPDATE cartodb_query SET area = ST_Area(the_geom) doesn't work.
0
votes
1answer
27 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: 1 CartoDB map (formerly 'visualization') has three potential pages on my blog / website ...
1
vote
0answers
49 views

Torque heatmap on CartoDB with time control

I am interested in create a Torque Heatmap in which you can see the events occured every year in one step, for twelve years in total. Every event has a aggregation or ponderation value (they are the ...
0
votes
1answer
21 views

Synced Table, updating the

I importing live data to CartoDB using Synced table feature which is updated hourly. I also applied simple SQL to the live synced table. However, the selection coming from SQL query would not be ...
0
votes
0answers
72 views

Adding a layer switcher using cartodb.js

I am trying to add the layer control (L.control.layers) to an application using cartodb.js (v. 3.14). The last line in the following code L.control.layers(basemaps).addTo(map); breaks the entire ...
0
votes
1answer
34 views

Error loading heatmap layer using cartodb.js

I'm trying to load a heatmap layer using cartodb.js, but it is failing whether I use createVis or the manual way. Using createVis: cartodb.createVis('mapDIV', 'https://PATH/viz.json'); Building a ...
0
votes
1answer
24 views

Update field the_geom name city in CartoDB?

With "update table set the_geom = cdb_latlng (lat , lon ) " I update the_geom field through latitude and longitude, but I also interested to know if there is any chance that instead of passing a ...
0
votes
0answers
42 views

Toggling layers with legends in CartoDB.js?

I created a map on the CartoDB website with multiple layers, each with its own legend. I now wish to use CartoDB.js to be able to toggle between the layers, so the legend will toggle on with the ...
2
votes
0answers
26 views

Network Diffusion Map

I am working on an interactive map which I vision to have a similar structure to diffusion networks. I have data to pin point an event and I would like to show those involved with said event, and ...
0
votes
1answer
44 views

Cartodb Toggle Layer help

I am working on a map that i'd like to toggle 1 layer off/on. I followed this http://academy.cartodb.com/courses/03-cartodbjs-ground-up/lesson-2.html tutorial and it worked fine(w/ their data) and i ...