Giter Site home page Giter Site logo

geo-front3's People

Contributors

afoletti avatar alcapat avatar ariadnigaki avatar bbinet avatar cedricmoullet avatar daguer avatar davidoesch avatar elemoine avatar fbonzon avatar fredj avatar gberaudo avatar gjn avatar jenselme avatar kandre avatar loicgasser avatar ltclm avatar mariavkou avatar martinmulder avatar mbernasocchi avatar oterral avatar otruffer avatar pfanguin avatar ponceta avatar procrastinatio avatar rfrancel avatar sbrunner avatar tigerfoot avatar tonio avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

geo-front3's Issues

Improve the deployment process

Currently, we must load the conf with . rc_jenselme and then launch make. A single command would be more usefull. Proposal:

  • Create a rc_deploy config file not tracked by git
  • Create a script that loads this file and then passes all its argument to make

Deployment to production

All the required files are in the prd folder. I initially suggested using rsync to deploy but this poses the problem of how to revert to a previous version if needed. The solution I see are:

  • build the prod version on the prod server: this implies to have all the dependencies (git, node, npm, python3 + mako) and the deployment will require some time. We can use something similar to the api3 with git tags to revert/deploy new version.
  • Use a basic rsync but we cannot easily revert.
  • Put the content of prd we want to deploy in a folder named after the timestamp. Then rsync the content of the prd folder on the production server with the content of this folder. Once again, we can use something similar to want we are doing in the deployment of the API except that we are using rsync instead of git. It seems similar to want swisstopo does with its snapshot deployment.
  • Track the prd folder with git (a subrepo of the parent project would be the way to go). It has the advantages of being flexible and simple. Moreover, we can use something similar to the api deployment. It should not take much disk space since all data are compressed by git and it doesn't contain that much images.

I prefer the last solution: simple, flexible, close to what I proposed for the API.

How to handle efficiently external stats tools

Actually without any changes we wrongly use key of swisstopo

 <!-- verification for google webmaster tools -->
    <meta name="google-site-verification" content="ZAmW5d4_2X8xb5Yy_nYQbnTSe1EIeSqyhox9aXXwrws"/>
    <!-- verification for bing webmaster tools -->
    <meta name="msvalidate.01" content="58E0E0B7DD4AB3D30EE315C695950E68"/>
    <!-- verification for yandex webmaster tools -->
    <meta name='yandex-verification' content='4795f82c05657028'/>

Seems the best way to solve this would be to have variables.
We would have to talk about it with swisstopo

Improve the translation script

It should fetch the new translations from swisstopo spreadsheet and then accept any number of CSV and replace the key accordingly (and in order).

Features : grid sorting and highlight

Here the copy and paste about JBR remark
Procédures

  • zoom parcelles
  • sélection plusieurs parcelles
  • cool le bandeau en-bas avec les attributs
  • on passe la souris sur les lignes, ça illumine les objets sur la carte, cool, ça marche
  • on trie les données selon le numéro de parcelle
  • on passe la souris sur les lignes, ça illumine les objets sur la carte, pas cool,
    c'est pas la bonne parcelle....

Je te joins un endroit où il y a quelques parcelles évidentes à trouver.

http://geojb/?topic=03_cds&lang=fr&X=227523.13&Y=579176.00&zoom=8&bgLayer=voidLayer&catalogNodes=&layers=COUVERTUREDUSOL,CDS_SYMBOLE,COUVERTUREDUSOL_TEXTE,ODEL,ODELPROJET,BATIMENTS,PARCELLE,COUVERTUREDUSOL_LIGNE,PARCELLE_NUMERO,ODEL_TEXTE

C'est confirmer chez moi aussi.

Print measures doesn't work

"Error: cyclic object value
toJson@http://dev.geojb/lib/angular.js:1213:10
$HttpProvider/this.defaults.transformRequest<@http://dev.geojb/lib/angular.js:9397:74
transformData/<@http://dev.geojb/lib/angular.js:9339:12
forEach@http://dev.geojb/lib/angular.js:336:11
transformData@http://dev.geojb/lib/angular.js:9338:3
$http/serverRequest@http://dev.geojb/lib/angular.js:10029:23
processQueue@http://dev.geojb/lib/angular.js:14567:28
scheduleProcessQueue/<@http://dev.geojb/lib/angular.js:14583:27
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://dev.geojb/lib/angular.js:15846:16
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://dev.geojb/lib/angular.js:15657:15
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://dev.geojb/lib/angular.js:15951:13
done@http://dev.geojb/lib/angular.js:10364:36
completeRequest@http://dev.geojb/lib/angular.js:10536:7
requestLoaded@http://dev.geojb/lib/angular.js:10477:1

Print city name

Check with vhe if we can't have a special layers off to get only the label of the city on the map
drawed at a specific location (like bottom left)

Use gulp to generate template

After a study, gulp meets our needs. It must:

  • Create CSS files from less source with lessc
  • Minify CSS and HTML
  • Install JS libs with NPM
  • Call closure linter (python): must be installed and then we can use a plugin.
  • Call closure compiler
  • Clean the project (files to remove)
  • Generate files for prod, pserve and dev if the source changed

How to handle translations for various portal?

Currently, our translations are generated from a CSV file which contains all the keys. Only the JSON are tracked by git. But a specific portal may want to override some keys. How to do that?

Proposal: propose 2 CSV, one with all the keys and the other one with the values to override. Both should be tracked by git (instead of the JSON) and depending on the name of the portail, we select the "override" CSV and generate its JSON.

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.