Giter Club home page Giter Club logo

mf-chsdi3's People

Contributors

afoletti avatar alcapat avatar ariadnigaki avatar b4l avatar boecklic avatar brunim28 avatar cedricmoullet avatar daguer avatar davidoesch avatar faselm avatar gjn avatar hansmannj avatar jenselme avatar kandre avatar loicgasser avatar ltboj avatar ltclm avatar ltkum avatar ltshb avatar mariavkou avatar mariokeusen avatar marionb avatar nadine-piveteau avatar pakb avatar pfanguin avatar procrastinatio avatar rebert avatar sgachet avatar simon1193 avatar streist 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

Watchers

 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

mf-chsdi3's Issues

displayFieldName empty

qu'est-ce qu'il faut mettre dans displayFielName quand il n'y a pas d'attribut dans preview()?
displayFielName doit être renseigné. Pour les couches suivantes, voici l'attribut choisi:
ch.swisstopo.vec25-strassennetz: "objectval"
ch.swisstopo.vec25-uebrigerverkehr: "objectval"

Create a loader.js

Which supports language
Which supports http & https
Which supports version

Several class for one layer do not work

Layer:
ch.swisstopo.vec200-transportation-oeffentliche-verkehr
Chaque classe prise séparément (2 autres en commentaire) fonctionne.
Les 3 ensemble, la recherche de l'ID se fait uniquement dans la 1ère table (celle de la 1ère classe...)

Put sublayers in Array

Right now, in our layers service, the sublayers are in a comma separated string. Put it into an array (as in RE2...)

Catalog does return differently depending on language

In the application, we rely on the fact that the catalog tree returned by the catalogServer service returns the same catalog for every language. Right now, this is not the case.

See [1] and [2] in category category_240

Because this is important, it would make sense to test this with unit tests for every catalog and every language. (Or if we can, test this directly in the database)

[1] http://mf-chsdi30t.bgdi.admin.ch/rest/services/ech/CatalogServer?lang=fr
[2] http://mf-chsdi30t.bgdi.admin.ch/rest/services/ech/CatalogServer?lang=de

Mapproxy

Hi!
Just a question, should we consider migrating Mapproxy as well?

Catalog nodes are open

Most (if not all) catalog categories have selectedOpen as true, resulting in the tree being open in mf-geoadmin3 per default. In RE2, the catalog started all closed.

Why is it defined like this in our service?
Can we adapt it to reflect RE2?

See discusion here: geoadmin/mf-geoadmin3#289

__bodId__ vide dans le modèle stopo.py

Certaines class dans stopo.py ont 2 registers...
Il y a donc 2 bodId possibles pour la même classe.
L'attribut bodId est laissé vide dans le modèle.
A vérifier si ça ne pose pas de problème.

Class concernées:

  • class spannungsarmeGebiete
  • class GridstandPk25
  • class GridstandPk50
  • class GridstandPk100
  • class GridstandPk200
  • class GridstandPk500

National map(s) with old timestamps

Our layerconfig service returns old timestamps for certain layers. The layer I verified is ch.swisstopo.pixelkarte-farbe-pk25.noscale, where the most recent timestamp is 20111231, but in chsdi2 layers.js file, we have 20130903.

This means we have newer tiles in old application. This is probably a missing configuration in our db.

I suspect other layers to have the same problems (verified pk50).

This also leads to a bug in geoadmin3, which I will describe soon.

Enable a search through all the topics

At the moment all the services are topic dependent.
For some layers (such as treasurehunt) there are no assiociated topics.

Therefore, it would be useful to have a topic name that englobe all the topics. (no filter applied)

this "fake" topic could be "all".

/rest/services/all/MapServer/ch.swisstopo.treasurehunt/463/htmlpopup

Migrate models and tooltip makos

There are at the moment 12 models and about 190 makos to migrate.
Here is the list of the models with the corresponding number of classes (in general 1 class = 1 mako, but it's not always true) and who is going to migrate them

foa
--> vbs.py : 2 classes
--> kogis.py : 6 classes
--> ivs2b.py : 0 classes
--> dritte.py : 2 classes
--> bak.py : 2 classes
--> bafu.py : 53 classes
--> are.py : 11 active classes (+ 5 which are commented out)

alp
--> uvek.py : 34 classes
--> evd.py : 1 class
--> edi.py : 4 classes

gud
--> stopo.py : 81 classes
--> zeitrehien.py : 8 classes

MAIN CHANGES:

Models:
--> autoload: False
--> full list of needed columns
--> other: look at the already present examples (uvek.py)
Makos:
--> located in /chsdi/templates/htmlpopup
--> look at the already present examples (bln.mako). In general: values in dictionaries

WORKFLOW:

--> make a branch for each model (dev_migrate_[modelname]_models) and push it
--> make a separated commit for each migrated file
--> once a model is OK, push the branch and open a pull request

DEADLINE:

Just a suggestion, but it would be nice to have it done by Loïc's return (16.09)

displayFieldName multiple

Quel attribut mettre dans "displayFieldName" quand il y a plusieurs attributs dans le preview de la mako?
Exemple: treasurehunt.mako
<%def name="preview()">
% if lang =='fr':
${c['attributes']['title_fr'] or '-'}
% elif lang == 'it'
${c['attributes']['title_it'] or '-'}
% else:
${c['attributes']['tile_de'] or '-'}
% endif
</%def>

bbox

c.bbox not supported in CadastralWebMap

BOD tester

Here some SQL scripts that allow us to check the content of the BOD RE3:

-- Check that all catalog topics exist in topics tables
SELECT distinct topic
FROM re3.catalog
where topic not in (select topic from re3.topics);

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.