Coder Social home page Coder Social logo

cartodb / cartodb Goto Github PK

View Code? Open in Web Editor NEW
2.7K 204.0 652.0 422.64 MB

Location Intelligence & Data Visualization tool

Home Page: http://carto.com

License: BSD 3-Clause "New" or "Revised" License

Ruby 25.89% CSS 0.03% HTML 25.67% JavaScript 36.22% Python 0.04% Shell 0.05% Makefile 0.05% PLpgSQL 0.01% Smarty 2.42% Vue 2.80% Jupyter Notebook 0.18% SCSS 5.38% Mustache 0.11% EJS 1.15% Procfile 0.01%
geolocation geospatial location-services postgis carto

cartodb's Introduction

[DEPRECATED]

Hey! This content applies only to previous CARTO products.

Please check if it's relevant to your use case. On October 2021 we released the current version of our platform. You can learn more and read the latest documentation at docs.carto.com

What is CARTO?

Code Climate Build Status

CARTO is an open, powerful, and intuitive platform for discovering and predicting the key insights underlying the location data in our world.

Empower organizations to optimize operational performance, strategic investments, and everyday decisions with CARTO Engine—our embeddable platform for web and mobile apps—and the new CARTO Builder, a drag and drop analysis tool.

It was built to make it easier for people to tell their stories by providing them with flexible and intuitive ways to create maps and design geospatial applications. CARTO can be installed on your own server and we also offer a hosted service at carto.com.

If you would like to see some live demos, check out our videos on Vimeo. We hope you like it!

Map view Data View

What can I do with CARTO?

With CARTO, you can upload your geospatial data (Shapefiles, GeoJSON, etc) using a web form and then make it public or private.

After it is uploaded, you can visualize it in a dataset or on a map, search it using SQL, and apply map styles using CartoCSS. You can even access it using the CARTO APIs, or export it to a file.

In other words, with CARTO you can make awesome maps and build powerful geospatial applications! Definitely check out the CARTO Platform for interactive examples and code.

Installing

Read the installation guide in CARTO developers documentation

How do I upgrade CARTO?

See UPGRADE for instructions about upgrading CARTO.

For upgrade of Windshaft-CartoDB and CartoDB-SQL-API see the relative documentation.

Developing & Contributing to CARTO

See our contributing doc for how you can improve CARTO, but you will need to sign a Contributor License Agreement (CLA) before making a submission, learn more here.

Testing

Check the testing doc section.

Requirements

CARTO works in any modern browser, but if you want more info:

Chrome Firefox IE Opera Safari
31+ ✔ 38+ ✔ 11+ ✔ 31+ ✔ 8+ ✔

cartodb's People

Contributors

alonsogarciapablo avatar amiedes avatar andrewxhill avatar demimismo avatar elenatorro avatar fdansv avatar gfiorav avatar gonzaloriestra avatar ivanmalagon avatar javierarce avatar javisantana avatar javitonino avatar jesus89 avatar jesusbotella avatar jgoizueta avatar johnhackworth avatar juanignaciosl avatar kartones avatar lorenzoplanas avatar luisbosque avatar mariacheca avatar matallo avatar nobuti avatar oleurud avatar piensaenpixel avatar rafacas avatar victorvelarde avatar viddo avatar xavijam avatar zenitram avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cartodb's Issues

create_dev_user script fails, and never creates user

The databases and tables are created, but the entry for the user is not, which means I am never able to log in. I get the following error:

[sequel] Created database 'carto_db_development'
[sequel] Created database 'carto_db_test'

=================================
Done!
- Tables processed:      0
- Tables migrated:       0
- Tables skipped:        0
- Bubble maps hacks:     0
- Tables with errors:
rake aborted!
undefined method `y' for #<Migrator20:0x0000000763f478>

Tasks: TOP => cartodb:db:setup => db:migrate
(See full trace by running task with --trace)

400 error when adding new row

Sorry for blowing up your issue tracker guys. But I think resolving all these issue will go a long way towards making it easier (possible?) for others to contribute to the project.

I get 400 errors when I try to add a row to my table:

POST http://nbt.gis.io:3000/api/v1/tables/nbt_offices/records/ 400 (Bad Request)

The response from that request is actually this:

{
    id: 2,
    name: "nbt_offices",
    total_rows: 0,
    rows: [ ]
}

This from the logfile:

PL/Python function "update_timestamp": INSERT INTO "nbt_offices" DEFAULT VALUES RETURNING "cartodb_id"
[pool] Found a connection for cartodb_dev_user_2_db:development_cartodb_user_2 (2)
========== exception on records#create ==========
#<NoMethodError: undefined method `to_sym' for nil:NilClass>
=================================================
Completed 400 Bad Request in 114ms (Views: 0.5ms | Models: 0.0ms)

Strangley, though, adding a new column works just fine. Any idea how to fix this or what it means?

Stop asking me to georeference

I have a table with no values in the_geom, but am using a query to get locations. Common relational method. but the map wont stop asking me if i want to georeference it. it should really only ask once.

Error when uploading SHP file on local dev instance

First of all, thank you guys so much for helping me finally get this thing running. Here's another one for ya:

I'm trying to upload a .zip file that contains a SHP file and all of the usual accessories. It uploads great through my account at cartodb.com. But when I try to upload it on my new dev instance, I get this error:

19:39:03 resque.1  | ERROR 6: No translation for Mercator to PROJ.4 format is known.
19:39:03 resque.1  | ERROR 6: No translation an empty SRS to PROJ.4 format is known.

Any help is appreciated, thanks.

Can't set CartoCSS on any SQL

The style button keeps disappearing if I run this query,

SELECT 
    cartodb_id,
    the_geom_webmercator,
    the_geom,
    phone,
    class_size,
    (SELECT count(*) FROM daily_class_count WHERE phone = pr.phone) as check_ins
FROM phone_registration pr

It seems crazy. Is this a bug?

georeferencing often doesn't work at cartodb.com

Sometimes georeferencing will say it's completed, but will not populate the_geom and will not flip the cartodb_georef_status flag. Sometimes it works fine. Very flaky. No client-side errors that I can see.

Rewrite file import API endpoint

We need a single endpoint on the API to handle the whole importation process, it should be able to work sync and async.

  1. Move the file upload functionality to ImportsController
  2. Update ImportsController to handle sync and async imports via an http param (default should be async, except for the ruby client)
  3. Update the frontend to work with this.
  4. Map the actual /upload route to ImportsController#create
  5. Remove Api::Json::UploadsController

KML importer ignores ExtendedData

Exportation works ok, but when trying to import a KML file with
ExtendedData sections it just ignores that data.

We're using ogr2ogr command tool to
transform KML files to SHP before importation, I still don't know a
lot about this tool, but it isn't processing the ExtendedData entries.

Seems like a know issue:

http://www.mail-archive.com/[email protected]/msg11774.html

We'll need google's libkml as mentioned here:

http://www.mail-archive.com/[email protected]/msg11778.html

Google Earth is using that version of libkml and it correctly reads de
ExtendedData entries (example file attached).

/cc @lbosque

Uploading of files, non synchronized fails

When uploading files, the importer that uses resque fails and ends up in some sort of infinite loop trying to upload the file and fails to create an enty in the data_imports table

Preset styles might be too restrictive

I would recommend in the style selector a little change.

Right now, if I'm on a Points table, the three presets I can see are

simple, bubbles, density

I would love it it if I could actually choose, Simple Polygon and Simple Line as well! The same when I am in a Polygon table, I'd love Simple Points

This is because often the SQL we run has a transform so it isn't in the same type anymore. It would make life easier, I have explained to so many users now how to change the style from markers to polygons to see their results.

IE 10

Jeremy Barth says that this map "doesn't display ... in IE10."

Creating maps on empty tables wont work

I often use an empty table to run a new query and then store styles for that particular case. I know we are shifting to a new methodology, so maybe this wont matter. But right now that wont work. If I start a new blank table, and then run SQL to get points from an existing table, the points render. But... I'm not allowed to edit Carto, there is no button.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.