GtfsEngine 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package GtfsEngine --version 1.0.0                
NuGet\Install-Package GtfsEngine -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GtfsEngine" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GtfsEngine --version 1.0.0                
#r "nuget: GtfsEngine, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GtfsEngine as a Cake Addin
#addin nuget:?package=GtfsEngine&version=1.0.0

// Install GtfsEngine as a Cake Tool
#tool nuget:?package=GtfsEngine&version=1.0.0                

GTFS Engine

Français

La General Transit Feed Specification (GTFS) est une spécification de données qui permet aux agences de transport en commun de publier leurs données de transport dans un format pouvant être utilisé par une grande variété d'applications logicielles. Aujourd'hui, le format de données GTFS est utilisé par des milliers de fournisseurs de transports publics.

Utilisation

Avec un fichier zip qui contient tous les fichiers txt, la librairie permet de charger tout en mémoire avec les relations comme indiquées :
<p align="center"><kbd><img src="https://i.ibb.co/cL0BC4X/GTFSdb.png" height="450"></kbd></p>

Chargement

Fichier zip :

DataEngine engineData = new DataEngine();
engineData.LoadDatasByZip(File.OpenRead(pathZip));

Charger un fichier txt "seul" :

string path = "c:\chemin\chemin\shapes.txt";
DataEngine dataEngine = new DataEngine();
dataEngine.LoadData<Shapes>(File.OpenRead(path));

Exploitation

Il est possible de naviguer entre les propriétés, commme par exemple :

Trips trip = engineData.Gtfs.GetTrip("idTrip");
// Route lié à ce trip.
Routes routeLieAuTrip = trip.RoutesFk;
// Tous les stopTimes pour ce trip.
IEnumerable<StopTimes> stopTimes = trip.StopTimesCollection;

English

The General Transit Feed Specification (GTFS) is a data specification that allows public transit agencies to publish their transit data in a format that can be consumed by a wide variety of software applications.Today, the GTFS data format is used by thousands of public transport providers.

Usage

With a zip file that contains all the 'txt' files, the library allows you to load everything in memory with the relationships as indicated : <p align="center"><kbd><img src="https://i.ibb.co/cL0BC4X/GTFSdb.png" height="450"></kbd></p>

Loading

Zip file :

DataEngine engineData = new DataEngine();
engineData.LoadDatasByZip(File.OpenRead(pathZip));

Load a txt file "alone" :

string path = "c:\path\path\shapes.txt";
DataEngine dataEngine = new DataEngine();
dataEngine.LoadData<Shapes>(File.OpenRead(path));
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 1,636 12/5/2021
1.0.3 296 11/30/2021
1.0.2 370 7/15/2021
1.0.1 345 7/7/2021
1.0.0 340 7/7/2021