Coder Social home page Coder Social logo

geoserver_bridge's People

Contributors

ingenieroariel avatar vdeparday avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

zenistzw

geoserver_bridge's Issues

Basic UI to download layers

Create basic table UI to list the layers available on the GeoServer instance, allow the user to select the layers he wants and then to download the selected one. Optionally, add the layer to the current QGIS workspace.

Metadata export from qgis

Have at least title, description and keywords out of qgis and into an ISO xml (like the one provided by geonode), verify this information is correctly uploaded to geonode.

Basic UI to upload layers

List the layers from the current QGIS workspace. Allow the user to select some layers and to upload them to GeoServer.

Getting the layer list from remote server is too slow

For each QGSLayer object created in https://github.com/GFDRR/geoserver_bridge/blob/master/storage/qgscatalog.py#L24

Each of these lines using gsconfig.py library:
https://github.com/GFDRR/geoserver_bridge/blob/master/storage/qgslayer.py#L29-L34
is making between 5 and 15 calls to the server.

For instance:

self.workspace = self.resource.workspace.name does the following calls:

/geoserver/rest/layers/ds_divisions_admin_level_4.xml
/geoserver/rest/workspaces.xml
/geoserver/rest/workspaces/geonode/datastores.xml
/geoserver/rest/workspaces/geonode/datastores.xml
/geoserver/rest/workspaces/geonode/coveragestores.xml
/geoserver/rest/workspaces/geonode/coveragestores.xml
/geoserver/rest/workspaces/geonode/datastores/postgres_imports/featuretypes.xml
/geoserver/rest/workspaces/geonode/datastores/postgres_imports/featuretypes.xml

Need to cut down the number of calls and do some local caching.
Also, need to use some UI tricks, displaying initially only the workspace name and display the layers only when unfolding a workspace name

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.