MobilityData / gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
https://gtfs-validator.mobilitydata.org/
Apache License 2.0
288 stars 101 forks source link

Flex: Add locations.geojson schema #1750

Closed emmambd closed 1 month ago

emmambd commented 6 months ago

Describe the problem

We want to be able to support Flex as a part of https://github.com/MobilityData/gtfs-validator/issues/1721, we need to add a schema for the new file locations.geojson.

Proposed solution

Alternatives you've considered

No response

Additional context

No response

qcdyx commented 4 months ago

Continues #1758 How to setup gradle dependencies of GeoTools?

  1. add the following dependencies into gtfs-validator/core/build.gradle implementation 'org.geotools:gt-main:31.2' implementation 'org.geotools:gt-shapefile:31.2' implementation 'org.geotools:gt-geojson:31.2' implementation 'org.geotools:gt-api:31.2' implementation 'org.locationtech.jts:jts-core:1.19.0'
  2. add OGeo repository into the repositories block of gtfs-validator/build.gradle maven { url 'https://repo.osgeo.org/repository/release/' }
  3. run ./gradlew build
jcpitre commented 2 months ago

Tasks: