Web Features Service (WFS)

The WFS is a standard by the OGC which will be used for the WCNS

Application structure

There are several different ways how to implement this. In the beginning I was preffering application structure v2 but after considering all the use cases I think the approach in v1 would be easier to handle all the different data and the implementation. Here we should make a decision before starting to do the coding.

v1 - Single data provider, data is cached

v1.jpg

  • Pro:
    • Performance optimized
    • All data in one location
    • Single data provider for apps
    • Central management von IDs possible
  • Con:
    • Data is stored double
    • Additional platform required

v2 - Multiple data providers, data live

v2.jpg

  • Pro:
    • No additional platform required
    • Each platform is independent
  • Con:
    • Load directly on DBs
    • Apps must ask multiple data providers

v3 - One data provider, data live

v3.jpg

  • Pro:
    • Single data provider for apps
  • Con:
    • Extra platform required
    • Load directly on DBs

Component Description

Conversation

  • In the grafics above I used the box manipulation and conversation. The basic idea for conversation is the following, we have two tables, one with the source data from the existing DB and one with the CDS. We have for example the data "200m Einstiegshoehe" coming from the DB and in CDS we want to store only 200, so we need a kind of "strip_first_nr" script. Another script could be 1:1, another convert_time etc.

Manipulation

  • Manipulation could be used for state or country names when they are not in a standard form. We could have a mapping table and apply this mapping to get only standard data afterwards. This could be applied on more data fields if necessary.

Admin UI

As a backend to the webservice should be a UI to do at least the following tasks

  • add new db source (host/user/pass, sql view for data mapping)
  • add new data for data manipulation
  • Handle ID problems (for example same id but different canyon etc)
  • Create data mapping between sql-view of source db and CDS and select which conversion scripts apply
  • ...?

Comments

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg v1.jpg r1 manage 209.0 K 2016-03-11 - 09:37 UnknownUser  
JPEGjpg v2.jpg r1 manage 103.9 K 2016-03-11 - 09:36 UnknownUser  
JPEGjpg v3.jpg r1 manage 87.3 K 2016-03-11 - 09:35 UnknownUser  
Topic revision: r4 - 2016-03-16 - MaxHehenwarter