Skip to content

Releases: systragroup/quetzal-network-editor

v4.11.0

08 Nov 21:34
Compare
Choose a tag to compare

What's Changed

Changes:

  1. New microservice to import GTFS
  2. New Microservice to create users
  3. Results Map
  4. Authentification
  5. Terraform (backend)
  6. and more!

Description

1) GTFS Importer

Import GTFS directly into the App. there is a new API that will process them into geojson for quenedi.
You can either :

image

image

2) Cognito API

New microservice (using fastApi) to manage users. The Api has 2 usages :

  • Creating and deleting users in a user group (your own group or every group if admin)
  • List all the available Models in the scenario explorer (buckets).
    This eliminated the need of the file "cognito_group_access.json" and the bucket "quetzal-config bucket". All user now have access to any buckets list as "accessible" in their IAM policies Except the q"uetzal-api-bucket" used for the different microservices.

image

3) Result Map

  • Show OD clickable element as big and green when nothing (or NAN) is selected.
    image

  • Display Width is now in absolute value (10 and -10 are the same width). with 0 as the minWidth if scale is [-10, 10]

  • colorScale well centered

image

  • 3D map for polygons.
    Others geometry would required to transform them into polygon first.

image

  • Color padding
    Can now change the range of the colorMap

image

  • Multiple layer (from preset) on the Result map.

image

4) Auth

  • No more redirect. Signin and signout directly into the app
  • 30day refresh connection instead of 1 day.

image

5) Terraform new and existing APIs:

6) More changes

  • 6.1 Seach and sort tools in scenario explorer.
    image

  • 6.2 Add attributesChoices.json values to the default links and rlinks attributes

  • 6.3 Side pannel resizable
    image

  • 6.4 Change Cycleway to work with any category (but still need "no" for no cycleway)

  • 6.5 Checksum metadata on S3. (only save changed inputs)

  • 6.6 output.zip take the scenario name. ex: montreal.zip if you load the montreal scenario in the quetzal-X model

  • 6.7 duplicating (and reversing) a trip_id will now duplicate the nodes too.

and bug fixes

Full Changelog: v4.10.1...4.11.0

v4.10.3

08 Nov 20:57
Compare
Choose a tag to compare

bug fix.

od default name => ' name' t0 'name' (no space)
copy scenario. add '/' to prefix so its always the right one

Full Changelog: v4.10.1...v4.10.3

v4.10.1

17 Oct 15:11
Compare
Choose a tag to compare

What's Changed

  • copy params. styles and attributesChoices when creating a new project on a model @sboivinsystra in #432

Full Changelog: v4.10...v4.10.1

v4.10

16 Oct 21:37
8cbb436
Compare
Choose a tag to compare

What's Changed

Description

1) CSV page

New csv page. all csv in inputs and outputs are displayed here.
Sorting values available.

image

2) Raster layer

The preset saved in the Result page are now available to display on the main map.
You can then show the population Density while editing (for example)

image

3) Result Maps

You can now color layers based on a category (string field)
Also, if a properties contain Hex colors (#2a57a1 for example), it will be used.
Color scale were fixed (bug in log and sqrt). some were added. and the width is now also using the selected scale.

4) Field Choice

in the root dir of a project. you can add "attributesChoices.json" This gives choices for PT attributes and/or road.
ex:

{
    "pt":{
       
    },
    "road":{
       "oneway":[
          "0",
          "1"
       ],
       "cycleway":[
          "yes",
          "no",
          "shared"
       ],
       "cycleway_reverse":[
          "yes",
          "no",
          "shared"
       ],
       "highway":[
          "motorway",
         "residential"
       ]
    }
 }

image

4) Step function Choice (backend)

In the step function definition, you can now add a Choice.

"Choice": {
      "Type": "Choice",
      "Choices": [
        {
          "Variable": "$.choice",
          "StringEquals": "comparision",
          "Next": "STEP 2"
        }
      ],
      "Default": "STEP 1"
    },

You can have more than 2 choices. The quendi front-end will automaticaly fetch all the choices and gives a choice un the Run page Stepper.

You can customize the parameters for each Choices with the "model" key. it is set to "default" if none is provided.

[
   {
      "info": "Default model",
      "model": "default"
   },
   {
      "info": "comparision model",
      "model": "comparision"
   },
   {
      "category": "general",
      "model": "default",
      "params": [
         {
            "text": "param 1",
            "value": 500,
            "type": "Number",
            "units": "unit",
            "hint": "hint 1",
            "rules": [
               "required"
            ],
            "name": "param 1"
         }
      ]
   },
   {
      "category": "general",
      "model": "comparision",
      "params": [
         {
            "text": "param comparision",
            "value": 500,
            "type": "Number",
            "units": "unit",
            "hint": "hint for this param",
            "rules": [
               "required"
            ],
            "name": "param comparision"
         }
      ]
   }
]

Finally, for a parameters needing a list of scenario (comparing scenarios for example). The special key "items": "$scenarios", can be used to fetch the list of scenario in the front-end and display them as chocies.

{
      "category": "general",
      "model": "comparision",
      "params": [
         {
            "text": "scenarios",
            "value": [],
            "type": "String",
            "items": "$scenarios",
            "hint": "Scenarios à comparer",
            "rules": [
               "required"
            ],
            "name": "scenarios"
         }
      ]
   }

For example. here we have Default or Result
image

5) .lock to lock a scenario

simply add a .lock empty file at the root dir of a scenario to lock it in the front end.

Full Changelog: v4.9.1...v4.10

v4.9.1

24 Aug 21:14
Compare
Choose a tag to compare

What's Changed

  • 4.9.1 by @sboivinsystra in #412
    Fix scenario copy with french character that was not working. (ex: démo)
    add cursor pointer (was a grab) on zones map result as we can click to display an OD

Full Changelog: v4.9.0...v4.9.1

v4.9.0

22 Aug 19:02
Compare
Choose a tag to compare

What's Changed

Description

Origin-destination layer

OD layer now available as Linestrings. This layer is optional.
Layer saved under inputs/od/od.geojson.
This layer is editable and new od can be created in alongside the PT and road links.

Vizualisation Presets

Preset can now be used and created in the map results. They are saved at the root directory as styles.json.
Vizualisation and selected links are saved. (ex: only show subway volume with plasma color map)

Polygon OSM importer

can now draw a multipoint polygon to request a precise road network.
also added living_street and pedestrian highway tag for import.

Full Changelog: v4.8.1...v4.9.0

v4.8.1

01 Aug 13:14
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.8.0...v4.8.1

v4.8.0

28 Jul 15:34
534af33
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.7.1...v4.8.0

Description

Import

New import Page. you can add files individually as inputs and outputs.
They are save on the DB with their respective path so they can be use by the model.
ex: you can add a demand.csv used by the model even though it is not editable or viewable in quenedi.

Zip files mirrored DB file system.
PT network must be in the path inputs/pt/
Road netweork must be in the path inpits/road/

cycleway

OSM api now import cycleway.
cycleway have attribute cycleway and cycleway_reverse.
you can show the direction on the map of the cycleway (and not the road)

v4.7.0

28 Jun 14:45
ebd49b2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.6.0...v4.7.0

Description

MatrixRoadCaster

new microservice using HERE api to recreate speed on road network.

New MicroServices Page

move OSM and MatrixRoadCaster microservices to a new page.

v4.6.0

08 Jun 14:20
Compare
Choose a tag to compare

What's Changed

  • Static geojson layers #352
  • Available models list and fetch on S3 for each group #326
  • Delete attributes (links and road links ) #307

Full Changelog: v4.5.3...v4.6.0

Description

static layers

in quenedi.config.json add "raster_path" : ["inputs/layers/"]

Polygon, Point and Linestring supported.

in the geojson layer:

  • display_width for the width. (except polygon)
  • display_color for the color. (ex: #00FFFF)
  • display_opacity (between 0 and 1) for the opacity

opacity is set to 0.5 for polygon and 0.8 for LineStrings and Points if not provided

Delete attributes

The default properties are non deletable as they would be added back into the links with other actions.
They could also break the app if deleted.

Cognito Group access

The available buckets for a given role were unknown to the front.
they are now listed in cognito_group_access.json in s3://quetzal-config.