The following example will retrieve person-trip data (Tokyo Metropolitan Area person-trip data set) for 1 km2 centered on the University of Tokyo\u2019s Hongo Campus (139.76246595, 35.7078869; Bunkyo Ward, Tokyo) at 8 AM.<\/p>\n
> java pflow.sample.PFlowSample_GetDistributionData userid passwd
\nCreateSession : 1
\nGetDistributionData : 1
\n432095,2,3,1998\/01\/01 08:00:00,139.7590019094,35.7073894255,1,11,3136202,10,1,24,,12,
\n594858,2,2,1998\/01\/01 08:00:00,139.7591925721,35.7074163885,1,12,0410114,5,1,43,,3,
\n733548,2,3,1998\/01\/01 08:00:00,139.7592242906,35.7073446132,1,8,0772201,8,1,45,,12,
\n226611,3,5,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,1,13,2313610,10,97,36,,97,
\n565709,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,2,14,0221008,15,97,64,,97,
\n565710,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,1,9,0221008,8,97,52,,97,
\n565716,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,2,9,0221008,9,97,74,,97,
\n565718,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,2,11,0221008,8,97,42,,97,
\n565719,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,1,6,0221008,9,97,58,,97,
\n565719,2,2,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,1,6,0221008,9,1,58,,1,
\n565722,1,1,1998\/01\/01 08:00:00,139.7594045713,35.7057653666,2,9,0221008,4,97,46,,97,
\n—– Omitted —–
\n1,2010\/07\/16 21:35:27,2010\/07\/16 21:35:27,15,
\n2,2010\/07\/16 21:35:27,2010\/07\/16 21:35:33,6235,
\n3,2010\/07\/16 21:35:33,2010\/07\/16 21:35:33,0,
\n4,2010\/07\/16 21:35:27,2010\/07\/16 21:35:33,6250,
\nDestroySession : 1<\/p><\/blockquote>\n
GetDistributionImage example (coming soon)<\/h6>\n
The following example will retrieve a distribution map of person-trip data (Tokyo Metropolitan Area person-trip data set) for 1 km2 centered on the University of Tokyo’s Hongo Campus (139.76246595, 35.7078869; Bunkyo Ward, Tokyo) at 8 AM.<\/p>\n
> java pflow.sample.PFlowSample_GetDistributionImage userid passwd<\/p>\n
* After the command has successfully run, a status code of ‘1’ and the image will be returned. If an error occurs, only the status code will be returned and no image will be displayed.<\/p>\n
GetMixedRoute example<\/h6>\n
The following example will retrieve a mixed road and rail path from the University of Tokyo\u2019s Kashiwa Campus (139.93689537, 35.90084483: Kashiwa City, Chiba Prefecture) to the University of Tokyo\u2019s Hongo Campus (139.76246595, 35.7078869; Bunkyo Ward, Tokyo).<\/p>\n
> java pflow.sample.PFlowSample_GetMixedRoute userid passwd
\nCreateSession : 1
\nGetMixedRoute : 1
\n1,3,0,0,224,0,0,
\n1,\u67cf\u306e\u8449\u30ad\u30e3\u30f3\u30d1\u30b9,\u3064\u304f\u3070\u30a8\u30af\u30b9\u30d7\u30ec\u30b9,
\n1,\u65b0\u5fa1\u5f92\u753a,\u90fd\u55b6\u5927\u6c5f\u6238\u7dda,
\n1,\u672c\u90f7\u4e09\u4e01\u76ee,\u90fd\u55b6\u5927\u6c5f\u6238\u7dda,
\n1,0.0,0.0,1,
\n1,139.93674385,35.90112752,1,
\n1,139.93753133,35.89994437,1,
\n1,139.93905615,35.9006277,1,
\n1,139.94033112,35.898878,1,
\n1,139.94179364,35.89602847,1,
\n\uff5e\uff5e\uff5e\u9053\u8def\u7d4c\u8def\u4e2d\u7565\uff5e\uff5e\uff5e
\n1,139.95235278,35.89295833,2,
\n1,139.95243166,35.89293528,2,
\n1,139.95237222,35.89272778,2,
\n1,139.95187222,35.89119444,2,
\n1,139.95157222,35.89050278,2,
\n1,139.95104722,35.88959444,2,
\n\uff5e\uff5e\uff5e\u9244\u9053\u7d4c\u8def\u4e2d\u7565\uff5e\uff5e\uff5e
\n> 1,139.76260316,35.70755107,1,
\n1,0.0,0.0,1,
\n,
\nDestroySession : 1<\/p><\/blockquote>\n
Response times for data returned from the WebAPI GetFlow function<\/h4>\n
The table below lists the estimated response times and the amount of data retrieved when using the GetFlowData API.<\/p>\n
\n\n\nMetropolitan Area<\/th>\n | Avg. search response time<\/th>\n | Amount of data retrieved<\/th>\n<\/tr>\n |
\n1998 Tokyo Metropolitan Area<\/td>\n | 45s – 50s<\/td>\n | 59.5MB<\/td>\n<\/tr>\n |
\n2006 Do-oh Metropolitan Area<\/td>\n | 6s – 8s<\/td>\n | 7.9MB<\/td>\n<\/tr>\n |
\n2005 Northern Kyushu Metropolitan Area<\/td>\n | 13s – 15s<\/td>\n | 15.8MB<\/td>\n<\/tr>\n |
\n2001 Nagoya Metropolitan Area<\/td>\n | 17s – 19s<\/td>\n | 20.0MB<\/td>\n<\/tr>\n |
\n2000 Kyoto\/Osaka\/Kobe Metropolitan Area<\/td>\n | Not yet measured<\/td>\n | Not yet measured<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":" WebAPI Usage Examples Some programming will be required to use the People Flow WebAPI. The link below will all […]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":922,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"page-eng.php","meta":[],"_links":{"self":[{"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/pages\/926"}],"collection":[{"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/comments?post=926"}],"version-history":[{"count":6,"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/pages\/926\/revisions"}],"predecessor-version":[{"id":1084,"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/pages\/926\/revisions\/1084"}],"up":[{"embeddable":true,"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/pages\/922"}],"wp:attachment":[{"href":"https:\/\/pflow.csis.u-tokyo.ac.jp\/wp-json\/wp\/v2\/media?parent=926"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}} |