Code Monkey home page Code Monkey logo

postgis-editor's People

Contributors

lukasmartinelli 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

postgis-editor's Issues

Support SSL

Hi,

thanks for this awesome project !!

My connection to Postgis need SSL support (can't connect over unencrypted channel), the driver doesn't seems to detect if the connection need ssl or not.

SQL Autocompletion

Provide SQL autocompletion in code mirror.

  • Suggest tables (important)
  • Column names (less important)

Performance with large datasets

It seems the performance limit is actually limited by the size of the GeoJSON.
At around 110MB the Electron app might crash. I tried writing to a GeoJSON file directly and then load it but it turns out performance is not that much better than my in memory objects.

The problem is more that we parse the PostgreSQL result (only once we received all rows) into real GeoJSON which might also take 2seconds. But just making the 110MB query from the database takes 5s to 10s so it might be still ok.

Also there might be a clustering optimization for points.

You can show 350k points and it works. But according to Mapbox we should be able to display millions of points.

cursor_and_sql_query_editor

db hint

on your code here:

this.db = pgp(connectionOptions);

    connect(connectionOptions) {
        this.db = pgp(connectionOptions);
    }

You should know that that code does nothing really. It doesn't connect to the database, merely creates a new database object, as this library uses lazy connection. This is why in all the examples db is created once, globally.

See also related: http://stackoverflow.com/questions/36120435/verify-database-connection-with-pg-promise-when-starting-an-app

And since event extend is triggered for each such object, it would only reduce the performance, trying to extend every new instance created, while quite pointlessly.

Large query freezes map frame

I did a select * from a big dataset of all Australian collector districts. This is, admittedly, a big, complex dataset. But it didn't work, so I thought I'd let you know.

Here's the data: http://www.abs.gov.au/ausstats/[email protected]/DetailsPage/1259.0.30.0022006?OpenDocument you need to get all the states.

When it finishes selecting, you can click on a row and the map shows the popup, but no graphics are rendered. On the image below it shows the previous area I was looking at.

image

unrecognized geometry columns

Geometry columns which are not EPSG:4326 are not recognised. The solution is straightforward, just do
ST_Transform([geometrycolumn], 4326)
for any [geometrycolumn]. If it's already in EPSG:4326, it will not harm anything.

Split window

Allow moving the different panes to make them as big as you want.

cursor_and_sql_query_editor_and_new_issue_ _lukasmartinelli_postgis-editor_and_whatschrome

PostGIS Raster

PostGIS Raster geometry types (raster, geomval) will be great extension, as it's somewhat hard to use it in QGIS for example - need to create table with query results, no way to use query as new layer.

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.