Giter Club home page Giter Club logo

smle's Introduction

smle/ˈsmaɪli/ — The Friendly SensorML Editor

Description

Editing SensorML documents>

smle is a SensorML editor which enables browser-based editing of SensorML descriptions.

The editor provides a user-friendly way to edit complex SensorML descriptions in a web application which runs in the browser. It is based on different input types and UI components.

Features:

  • access to configured SOS instances
  • to insert new SensorML documents
  • edit or update registered SensorML documents
  • remove SensorML documents
  • SensorML documents can be uploaded for editing
  • edited SensorML documents can be downloaded

The following main frameworks are used to provide this application:

Demo

The latest demo version of smle is available here via GitHub pages.

Quick Start

  1. git clone this repository
  2. run npm install to get all dependencies
  3. run npm start to start application in the development mode. The application will be bundled via Webpack and the web server will start on localhost:4200

Usage

Development server

Run ng serve or npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Documentation

A tutorial based documentation of the SensorML Editor can be accessed on the documentation page

Credits

The development of the 52°North smle implementation was supported by several organizations and projects. Among other we would like to thank the following organisations and project

Project/Logo Description
NeXOS - Next generation, Cost-effective, Compact, Multifunctional Web Enabled Ocean Sensor Systems Empowering Marine, Maritime and Fisheries Management The development of this version of 52°North smle was supported by the European FP7 research project NeXOS (co-funded by the European Commission under the grant agreement n°614102)
FixO3 - Fixed-Point Open Ocean Observatories The development of this version of 52°North smle was supported by the European FP7 research project FixO3 (co-funded by the European Commission under the grant agreement n°312463)

smle's People

Contributors

autermann avatar ehj-52n avatar janagit avatar jansch04 avatar janschulte avatar sheff146 avatar simonjirka avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

smle's Issues

Hide Edit button in "Edit/View" menue when not logged in

Within the menue "Edit/View":
If a user is not logged in, then he/she should not have the possibility to edit the description.

Hence, the button "Edit sensor description could/should be hidden completely.". Currently when not logged in, I can click on that button and alter the sensor description using the edit-view. Although the changes cannot be made persistent, this step should not be allowed at all.

Issue with @helgoland/core

Hi, Im trying to run smle from master branch, I get this error. I've tried many different things but I'm not sure what is causing this issue. Can you please help ?
Errors ___
ERROR in node_modules/@helgoland/core/node_modules/@angular/core/core.d.ts(12351,86): error TS1110: Type expected.
node_modules/@helgoland/core/node_modules/@angular/core/core.d.ts(12351,92): error TS1005: '=' expected.
node_modules/@helgoland/core/node_modules/@angular/core/core.d.ts(12351,94): error TS1005: ')' expected.
node_modules/@helgoland/core/node_modules/@angular/core/core.d.ts(12351,95): error TS1128: Declaration or statement expected.
node_modules/@helgoland/core/node_modules/@angular/core/core.d.ts(12351,96): error TS1128: Declaration or statement expected.

Provide a "Generate Identifier" button within the edit view of SensorML document

This is just a small improvement.

When creating a new SensorML document, by template, you have the chance to automatically generate a new unique identifier instead of entering a manual value.

If you do NOT do that and leave the field empty, the subsequent edit view of the document allows to enter an identifer manually. It would be nice, if the user gets the chance to let the system generate a new unique identifier within this view also.

The same improvement applies to creating a completely new description (without template). Within the edit view users can create a new identifer, but have to enter a manual value. Again, it would be nice if the system provides a "Generate" button here.

missing module @helgoland/core

When running the smle I get this error:
in node_modules/@helgoland/caching/src/cache-interceptor.d.ts(4,81): error TS2307: Cannot find module '@helgoland/core'.

single click on dropdown already selects element in "edit/view" menue

In the "Edit/View" menue, when I single click on the arrow of the dropdown, the browser already selects the first element and shows the edit view.
However, when I hold the left mouse button down and hover into the list of available sensor descriptions and then release it, I can select the item I arbitrarily.

By single-clicking, just the dropdown list should appear instead.

I am using Chrome btw.

Menue "Create from Template" broken

When changing to menue "Create from Template" the application crashes with error "Error: Uncaught (in promise): Error: Error in ./Templates class Templates - inline template:6:26 caused by: Cannot read property 'identifier' of undefined".

I am unable to select, filter or browse any template.

Close-Button doing nothing

On the landing page, when I click any of the displayed descriptions an edit view opens, where I can enter stuff.

On the top right of that edit view the "Close" button does nothin when clicking it.

I guess it should hide that edit window and return to the overview of all descriptions, right?

Different Behaviour when clicking repeatetly on "New" and "Create from Template" menu

I experience different behaviour when clicking multiple times on the menu buttons.

E.g. when editing a new SensorML document using "Create from template menu" (click on menu, choose template, start editing properties not matter the hierarchy level) and then re-hit the "Create from Template" button the system discards the editing document and goes back to the inital view of the menu, where I can choose the template.

When I do the same using the "New" menu (hit "New", start editing a new SensorML instance), and then re-hit "New", nothing happens. I just remain in the edit view of the created SensorML document.

This behaviour is inconsistent. At least both menu buttons should have the same behaviour. I suggest to change the behaviour of the "New" button. From my POV it should discard all current edits and provide the user with the option to create a whole new document.

An optional improvement of both button behaviour would be to first ask uses whether they are really sure to discard the current document while editing. Otherwise an accidental hit on any of these buttons (actually, here all buttons could be imrpoved inclduing "View/Edit" and "Delete") will cause a loss of all performed steps creating/editing a SensorML document.

strange collapse behaviour in tree view

When I inspect elements of a SensorML document within the tree structure, I experience a strange collapse behaviour.

E.g. reconstruct the following state of collapsed elements of the sensor description with id "0eea5ed4-792c-69de-0e57-f555f3db6ff9"

smle_tmp

Now when I only intend to collapse the element "uuid", nearly everything else collapses as well as shown in the second screenshot:

smle_tmp2

Is that on purpose? E.g., when clicking on "uniqueID", this only collapses section "uniqueID", which is the expected behaviour.

Is "Online Ressource" property required when creating a contact

When adding contact information to a SensorML document, the system fails when publishing the document as it requires the definition of an "Online Ressource" (attribute "Linkage").

Path is "Contact List --> Resonsible Party --> Contact (Contact Info) --> Online Ressource"

Is it really required?

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.