Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filters down to 0 #2

Open
WoutDa opened this issue May 15, 2017 · 1 comment
Open

Filters down to 0 #2

WoutDa opened this issue May 15, 2017 · 1 comment

Comments

@WoutDa
Copy link

WoutDa commented May 15, 2017

De Lijn GTFS data could not be successfully cropped.
I want to filter it down to the data in the area around Bruges (coordinates 51.2568,3.1455 --> 51.1509, 3.3100)
Output:

MacBook-Pro-van-Wout:gtfs-filter-0.1
woutdavid$ java -cp gtfs-filter-0.1.jar be.ugent.intec.gtfsfilter.Main -l 51.2568:3.1455:51.1509:3.3100 -o OUTPUT /Users/woutdavid/Downloads/google_transit 
Reading the input GTFS-feed
13:45:52.937 GtfsReader - reading entities: org.onebusaway.gtfs.model.Agency
13:45:53.064 GtfsReader - reading entities: org.onebusaway.gtfs.model.ShapePoint
13:45:53.086 GtfsReader - reading entities: org.onebusaway.gtfs.model.Route
13:45:53.193 GtfsReader - reading entities: org.onebusaway.gtfs.model.Stop
13:45:53.655 GtfsReader - reading entities: org.onebusaway.gtfs.model.Trip
13:45:54.941 GtfsReader - reading entities: org.onebusaway.gtfs.model.StopTime
13:46:49.279 GtfsReader - reading entities: org.onebusaway.gtfs.model.ServiceCalendar
13:46:49.810 GtfsReader - reading entities: org.onebusaway.gtfs.model.ServiceCalendarDate
13:46:49.887 GtfsReader - reading entities: org.onebusaway.gtfs.model.FareAttribute
13:46:49.911 GtfsReader - reading entities: org.onebusaway.gtfs.model.FareRule
13:46:49.912 GtfsReader - reading entities: org.onebusaway.gtfs.model.Frequency
13:46:49.912 GtfsReader - reading entities: org.onebusaway.gtfs.model.Pathway
13:46:49.913 GtfsReader - reading entities: org.onebusaway.gtfs.model.Transfer
Applying location filter
13:46:49.913 Main - Applying location filter with restrictions: 51.2568,3.1455 --> 51.1509, 3.3100
13:46:50.115 LocationDaoFilter - Filtered down from 36314 to 0 stops
13:46:50.298 LocationDaoFilter - Filtered down from 5933908 to 0 stoptimes
13:46:50.427 LocationDaoFilter - Filtered down from 181646 to 0 trips
13:46:50.428 LocationDaoFilter - Filtered down from 1188 to 0 routes
13:46:50.428 LocationDaoFilter - Filtered down to 0 serviceIds
13:46:50.429 LocationDaoFilter - Filtered down to 0 shapeIds
13:46:50.444 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Agency
13:46:50.552 GtfsWriter - writing entities: org.onebusaway.gtfs.model.ShapePoint
13:46:50.561 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Route
13:46:50.562 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Stop
13:46:50.562 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Trip
13:46:50.562 GtfsWriter - writing entities: org.onebusaway.gtfs.model.StopTime
13:46:50.687 GtfsWriter - writing entities: org.onebusaway.gtfs.model.ServiceCalendar
13:46:50.690 GtfsWriter - writing entities: org.onebusaway.gtfs.model.ServiceCalendarDate
13:46:50.692 GtfsWriter - writing entities: org.onebusaway.gtfs.model.FareAttribute
13:46:50.692 GtfsWriter - writing entities: org.onebusaway.gtfs.model.FareRule
13:46:50.692 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Frequency
13:46:50.692 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Pathway
13:46:50.692 GtfsWriter - writing entities: org.onebusaway.gtfs.model.Transfer`
```
@hbruch
Copy link

hbruch commented Oct 21, 2018

Your specified lat1 is greater than lat2 (51.2568 > 51.1509), so the outcome is what I‘d expect.
Please try 51.1509,3.1455 --> 51.2568,3.3100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants