Skip to content

Commit

Permalink
adding tile extract
Browse files Browse the repository at this point in the history
  • Loading branch information
kpwebb committed May 9, 2019
1 parent 2eb9959 commit eb2f25d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion oclif.manifest.json
@@ -1 +1 @@
{"version":"0.12.0","commands":{"extract":{"id":"extract","description":"extracts SharedStreets streets using polygon boundary and returns GeoJSON output of all intersecting features","pluginName":"sharedstreets","pluginType":"core","aliases":[],"examples":["$ shst extract polygon.geojson --out=output.geojson\n 🌏 Loading polygon...\n πŸ—„οΈ Loading SharedStreets tiles...\n πŸ” Searching data...\n "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"out":{"name":"out","type":"option","char":"o","description":"output file"},"tile-source":{"name":"tile-source","type":"option","description":"SharedStreets tile source","default":"osm/planet-181224"},"tile-hierarchy":{"name":"tile-hierarchy","type":"option","description":"SharedStreets tile hierarchy","default":6},"metadata":{"name":"metadata","type":"boolean","description":"Include SharedStreets OpenStreetMap metadata in output","allowNo":false}},"args":[{"name":"file"}]},"match":{"id":"match","description":"matches point and line features to sharedstreets refs","pluginName":"sharedstreets","pluginType":"core","aliases":[],"examples":["$ shst match points.geojson --out=matched_points.geojson --port-properties\n 🌏 Loading points...\n ✨ Matching 3 points...\n πŸŽ‰ Matched 2 points... (1 unmached)\n "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"out":{"name":"out","type":"option","char":"o","description":"file output name creates files [file-output-name].matched.geojson and [file-output-name].unmatched.geojson"},"tile-source":{"name":"tile-source","type":"option","description":"SharedStreets tile source","default":"osm/planet-181224"},"tile-hierarchy":{"name":"tile-hierarchy","type":"option","description":"SharedStreets tile hierarchy","default":6},"skip-port-properties":{"name":"skip-port-properties","type":"boolean","char":"p","description":"skip porting existing feature properties preceeded by \"pp_\"","allowNo":false},"follow-line-direction":{"name":"follow-line-direction","type":"boolean","description":"only match using line direction","allowNo":false},"best-direction":{"name":"best-direction","type":"boolean","description":"only match one direction based on best score","allowNo":false},"direction-field":{"name":"direction-field","type":"option","description":"name of optional line properity describing segment directionality, use the related \"one-way-*-value\" and \"two-way-value\" properties"},"one-way-with-direction-value":{"name":"one-way-with-direction-value","type":"option","description":"name of optional value of \"direction-field\" indicating a one-way street with line direction"},"one-way-against-direction-value":{"name":"one-way-against-direction-value","type":"option","description":"name of optional value of \"direction-field\" indicating a one-way street against line direction"},"two-way-value":{"name":"two-way-value","type":"option","description":"name of optional value of \"direction-field\" indicating a two-way street"},"bearing-field":{"name":"bearing-field","type":"option","description":"name of optional point property containing bearing in decimal degrees","default":"bearing"},"search-radius":{"name":"search-radius","type":"option","description":"search radius for for snapping points, lines and traces (in meters)","default":10},"snap-intersections":{"name":"snap-intersections","type":"boolean","description":"snap line end-points to nearest intersection if closer than distance defined by search-radius ","allowNo":false},"snap-side-of-street":{"name":"snap-side-of-street","type":"boolean","description":"snap line to side of street","allowNo":false},"left-side-driving":{"name":"left-side-driving","type":"boolean","description":"snap line to side of street using left-side driving rules","allowNo":false},"match-car":{"name":"match-car","type":"boolean","description":"match using car routing rules","allowNo":false},"match-bike":{"name":"match-bike","type":"boolean","description":"match using bike routing rules","allowNo":false},"match-pedestrian":{"name":"match-pedestrian","type":"boolean","description":"match using pedestrian routing rules","allowNo":false},"match-motorway-only":{"name":"match-motorway-only","type":"boolean","description":"only match against motorway segments","allowNo":false},"match-surface-streets-only":{"name":"match-surface-streets-only","type":"boolean","description":"only match against surface street segments","allowNo":false},"offset-line":{"name":"offset-line","type":"option","description":"offset geometry based on direction of matched line (in meters)"},"cluster-points":{"name":"cluster-points","type":"option","description":"aproximate sub-segment length for clustering points (in meters)"}},"args":[{"name":"file"}]}}}
{"version":"0.12.0","commands":{"extract":{"id":"extract","description":"extracts SharedStreets streets using polygon boundary and returns GeoJSON output of all intersecting features","pluginName":"sharedstreets","pluginType":"core","aliases":[],"examples":["$ shst extract polygon.geojson --out=output.geojson\n 🌏 Loading polygon...\n πŸ—„οΈ Loading SharedStreets tiles...\n πŸ” Searching data...\n "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"out":{"name":"out","type":"option","char":"o","description":"output file"},"tile-source":{"name":"tile-source","type":"option","description":"SharedStreets tile source","default":"osm/planet-181224"},"tile-hierarchy":{"name":"tile-hierarchy","type":"option","description":"SharedStreets tile hierarchy","default":6},"metadata":{"name":"metadata","type":"boolean","description":"Include SharedStreets OpenStreetMap metadata in output","allowNo":false},"tiles":{"name":"tiles","type":"boolean","description":"Export list of tiles intersecting with bounding box","allowNo":false}},"args":[{"name":"file"}]},"match":{"id":"match","description":"matches point and line features to sharedstreets refs","pluginName":"sharedstreets","pluginType":"core","aliases":[],"examples":["$ shst match points.geojson --out=matched_points.geojson --port-properties\n 🌏 Loading points...\n ✨ Matching 3 points...\n πŸŽ‰ Matched 2 points... (1 unmached)\n "],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"out":{"name":"out","type":"option","char":"o","description":"file output name creates files [file-output-name].matched.geojson and [file-output-name].unmatched.geojson"},"tile-source":{"name":"tile-source","type":"option","description":"SharedStreets tile source","default":"osm/planet-181224"},"tile-hierarchy":{"name":"tile-hierarchy","type":"option","description":"SharedStreets tile hierarchy","default":6},"skip-port-properties":{"name":"skip-port-properties","type":"boolean","char":"p","description":"skip porting existing feature properties preceeded by \"pp_\"","allowNo":false},"follow-line-direction":{"name":"follow-line-direction","type":"boolean","description":"only match using line direction","allowNo":false},"best-direction":{"name":"best-direction","type":"boolean","description":"only match one direction based on best score","allowNo":false},"direction-field":{"name":"direction-field","type":"option","description":"name of optional line properity describing segment directionality, use the related \"one-way-*-value\" and \"two-way-value\" properties"},"one-way-with-direction-value":{"name":"one-way-with-direction-value","type":"option","description":"name of optional value of \"direction-field\" indicating a one-way street with line direction"},"one-way-against-direction-value":{"name":"one-way-against-direction-value","type":"option","description":"name of optional value of \"direction-field\" indicating a one-way street against line direction"},"two-way-value":{"name":"two-way-value","type":"option","description":"name of optional value of \"direction-field\" indicating a two-way street"},"bearing-field":{"name":"bearing-field","type":"option","description":"name of optional point property containing bearing in decimal degrees","default":"bearing"},"search-radius":{"name":"search-radius","type":"option","description":"search radius for for snapping points, lines and traces (in meters)","default":10},"snap-intersections":{"name":"snap-intersections","type":"boolean","description":"snap line end-points to nearest intersection if closer than distance defined by search-radius ","allowNo":false},"snap-side-of-street":{"name":"snap-side-of-street","type":"boolean","description":"snap line to side of street","allowNo":false},"left-side-driving":{"name":"left-side-driving","type":"boolean","description":"snap line to side of street using left-side driving rules","allowNo":false},"match-car":{"name":"match-car","type":"boolean","description":"match using car routing rules","allowNo":false},"match-bike":{"name":"match-bike","type":"boolean","description":"match using bike routing rules","allowNo":false},"match-pedestrian":{"name":"match-pedestrian","type":"boolean","description":"match using pedestrian routing rules","allowNo":false},"match-motorway-only":{"name":"match-motorway-only","type":"boolean","description":"only match against motorway segments","allowNo":false},"match-surface-streets-only":{"name":"match-surface-streets-only","type":"boolean","description":"only match against surface street segments","allowNo":false},"offset-line":{"name":"offset-line","type":"option","description":"offset geometry based on direction of matched line (in meters)"},"cluster-points":{"name":"cluster-points","type":"option","description":"aproximate sub-segment length for clustering points (in meters)"}},"args":[{"name":"file"}]}}}
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -3,7 +3,6 @@
"version": "0.12.0",
"description": "SharedStreets, a 'digital commons' for the street",
"main": "build/src/index.js",
"types": "build/index.d.ts",
"bin": {
"shst": "./bin/run"
},
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
/* Basic Options */
"outDir": "build/",
"declaration" : true,
"target": "es6", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */

Expand Down

0 comments on commit eb2f25d

Please sign in to comment.