Releases: systragroup/quetzal-network-editor
v4.11.0
What's Changed
Changes:
- New microservice to import GTFS
- New Microservice to create users
- Results Map
- Authentification
- Terraform (backend)
- 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 :
- Import GTFS from your computer (.zip files)
- Fetch them directly from the internet in a BBOX. (Data from https://database.mobilitydata.org/)
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.
3) Result Map
-
Show OD clickable element as big and green when nothing (or NAN) is selected.
-
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
- 3D map for polygons.
Others geometry would required to transform them into polygon first.
- Color padding
Can now change the range of the colorMap
- Multiple layer (from preset) on the Result map.
4) Auth
- No more redirect. Signin and signout directly into the app
- 30day refresh connection instead of 1 day.
5) Terraform new and existing APIs:
- quetzal-matrixroadcaster-api
- quetzal-osm-api
- quetzal-gtfs-api
- quetzal-cognito-api
Are now all on terraform( https://github.com/systragroup/quetzal-network-editor-backend) .
6) More changes
-
6.2 Add attributesChoices.json values to the default links and rlinks attributes
-
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
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
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
What's Changed
- csv page #250 by @sboivinsystra
- cropped trip id name show on hover in side panel #414 by @sboivinsystra
- Step function choice #343 by @sboivinsystra
- PT and road field choice as a config json #413 by @sboivinsystra
- read locally imported png #415 by @sboivinsystra
- upload Style.json in front end #418 by @sboivinsystra
- "raster layers" now build with preset #420 by @sboivinsystra
- Hex color field usable in result layer #424 by @sboivinsystra
- .lock file will lock scenario #426 by @sboivinsystra
- fix color sclale and width #419 #425 by @sboivinsystra
- OD_names is now a default attribute for ODs #422 by @sboivinsystra
- bug fixes and optimization
Description
1) CSV page
New csv page. all csv in inputs and outputs are displayed here.
Sorting values available.
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)
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"
]
}
}
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
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
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
What's Changed
- Auth in Step function by @sboivinsystra in #269
- Delete outputs when simulation is launch @sboivinsystra in #341
- Polygon BBOX for OSM import by @sboivinsystra in #403
- matrix road caster fix by @sboivinsystra in #401
- Add preset in result page by @sboivinsystra in #400
- min and max width inverse in result map UI by @sboivinsystra in #399
- Enable Click on NaN OD in result map. by @sboivinsystra in #395
- remove scenario in model api payload (unused) by @sboivinsystra in #393
- Origin destination layer and editor by @sboivinsystra in #390
- reduce latency on list project by @sboivinsystra in #359
- bug fix: road links not visible when they should be by @sboivinsystra in #398
- bug fixes and optimization.
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
What's Changed
- Bump semver from 5.7.1 to 5.7.2 by @dependabot in #392
- Fix Auth bug when there is no cognito group for a user. @sboivinsystra
Full Changelog: v4.8.0...v4.8.1
v4.8.0
What's Changed
- rebase by @sboivinsystra in #376
- 4.8.b by @sboivinsystra in #380
- Zip schematic by @sboivinsystra in #381
- import simplify by @sboivinsystra in #383
- 4.8.0 by @sboivinsystra in #391
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
What's Changed
- Here api by @sboivinsystra in #362
- Here api by @sboivinsystra in #363
- Popup error handler by @sboivinsystra in #364
- OSM importer to microservices by @sboivinsystra in #366
- bug time on links by @sboivinsystra in #367
- V4.7 by @sboivinsystra in #374
- bug fixes
- security patches
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
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.