Giter Club home page Giter Club logo

localdata-tasks's People

Contributors

hampelm avatar prashtx avatar

Watchers

 avatar  avatar  avatar

Forkers

14mmm isabella232

localdata-tasks's Issues

Log a warning if a survey doesn't exist

If we ask for an export for a survey that doesn't exist, we should log an error or warning, since that's likely a sign of trouble/misconfiguration. Right now, we just happily process 0 responses.

We can do this on the side, while we stream in the responses (maybe a promises library is in order).

Add entry ID to exports

We only include the object id right now, which makes manipulating the data on a per-entry basis difficult.

Error exporting walkscope data

We get the following error exporting walkscope data. Walkscope has a mix of point + linestring data, which may be part of the problem?

Apr 17 13:45:23 localdata-tasks app/taskman.1:  { [OperationalError: SQLITE_RANGE: bind or column index out of range] 
Apr 17 13:45:23 localdata-tasks app/taskman.1:    name: 'OperationalError', 
Apr 17 13:45:23 localdata-tasks app/taskman.1:    cause: { [Error: SQLITE_RANGE: bind or column index out of range] errno: 25, code: 'SQLITE_RANGE' }, 
Apr 17 13:45:23 localdata-tasks app/taskman.1:    stack: 'Error: SQLITE_RANGE: bind or column index out of range' } 

Names should be escaped

From an emailed bug report:

Also, I recently came across an issue in the survey results I just downloaded: when I open up the survey results, all of the entries for “Matthew, S, Hampel” have been sliced into three separate columns, which moves all of the data in his results to the right one column. I’m guessing this is because he entered his name with commas, which is typically used in a CSV to separate columns, but I’m not certain why this just recently started happening

Ensure question order is consistent

From a client:

I noticed that when we export the questions they don't always come out in the same order. For example, on 10/6 the question about the condition of the house appeared in column N. Now it is appearing in column W. This has made it a little tricky to merge files that we exported on different days.

Do you think this was a one-time change based on something adjusted in the survey or is this something that will be happening regularly?

ogr2ogr uses too much memory during Shapefile creation

When creating a Shapefile for a survey that has 60k+ entries, we can user over 1 GB of memory. This seems attributable to the ogr2ogr GeoJSON->Shapefile conversion command. The performance degradation causes the export to take several minutes, at which point we've long since reported an error to the user.

If the Shapefile format allows it, then let's see if we can get close to streaming data out. At the very least, we should avoid reading the entire dataset into memory.

Support SVG export

Some customers would find a vector graphics export useful for visual design workflows. SVG is probably reasonably straightforward/well-supported option.

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.