Polyline simplification

Using the polylines utility, simplify a polyline at a given tolerance to reduce the number of coordinates in that polyline.

This example requires matched_route.geojson, which should be placed in the app's assets directory. The activity_simplify_polyline.xml layout file is also required.
    import android.graphics.Color;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.text.TextUtils;
import android.util.Log;

import com.mapbox.mapboxandroiddemo.R;
import com.mapbox.mapboxsdk.Mapbox;
import com.mapbox.mapboxsdk.annotations.PolylineOptions;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.mapbox.mapboxsdk.maps.MapView;
import com.mapbox.mapboxsdk.maps.MapboxMap;
import com.mapbox.mapboxsdk.maps.OnMapReadyCallback;
import com.mapbox.services.commons.models.Position;
import com.mapbox.services.commons.utils.PolylineUtils;

import org.json.JSONArray;
import org.json.JSONObject;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;

public class SimplifyPolylineActivity extends AppCompatActivity {

  private static final String TAG = "SimplifyLineActivity";

  private MapView mapView;
  private MapboxMap map;

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Mapbox access token is configured here. This needs to be called either in your application
    // object or in the same activity which contains the mapview.
    Mapbox.getInstance(this, getString(R.string.access_token));

    // This contains the MapView in XML and needs to be called after the account manager
    setContentView(R.layout.activity_simplify_polyline);

    mapView = (MapView) findViewById(R.id.mapview);
    mapView.onCreate(savedInstanceState);
    mapView.getMapAsync(new OnMapReadyCallback() {
      @Override
      public void onMapReady(MapboxMap mapboxMap) {
        map = mapboxMap;

        new DrawGeoJson().execute();

      }
    });
  }

  @Override
  protected void onStart() {
    super.onStart();
    mapView.onStart();
  }
  
  @Override
  public void onResume() {
    super.onResume();
    mapView.onResume();
  }

  @Override
  public void onPause() {
    super.onPause();
    mapView.onPause();
  }
  
  @Override
  protected void onStop() {
    super.onStop();
    mapView.onStop();
  }

  @Override
  public void onLowMemory() {
    super.onLowMemory();
    mapView.onLowMemory();
  }

  @Override
  protected void onDestroy() {
    super.onDestroy();
    mapView.onDestroy();
  }
  
  @Override
  protected void onSaveInstanceState(Bundle outState) {
    super.onSaveInstanceState(outState);
    mapView.onSaveInstanceState(outState);
  }

  private class DrawGeoJson extends AsyncTask<Void, Void, List<Position>> {
    @Override
    protected List<Position> doInBackground(Void... voids) {

      List<Position> points = new ArrayList<>();

      try {
        // Load GeoJSON file
        InputStream inputStream = getAssets().open("matched_route.geojson");
        BufferedReader rd = new BufferedReader(new InputStreamReader(inputStream, Charset.forName("UTF-8")));
        StringBuilder sb = new StringBuilder();
        int cp;
        while ((cp = rd.read()) != -1) {
          sb.append((char) cp);
        }

        inputStream.close();

        // Parse JSON
        JSONObject json = new JSONObject(sb.toString());
        JSONArray features = json.getJSONArray("features");
        JSONObject feature = features.getJSONObject(0);
        JSONObject geometry = feature.getJSONObject("geometry");
        if (geometry != null) {
          String type = geometry.getString("type");

          // Our GeoJSON only has one feature: a line string
          if (!TextUtils.isEmpty(type) && type.equalsIgnoreCase("LineString")) {

            // Get the Coordinates
            JSONArray coords = geometry.getJSONArray("coordinates");
            for (int lc = 0; lc < coords.length(); lc++) {
              JSONArray coord = coords.getJSONArray(lc);
              Position position = Position.fromCoordinates(coord.getDouble(0), coord.getDouble(1));
              points.add(position);
            }
          }
        }
      } catch (Exception exception) {
        Log.e(TAG, "Exception Loading GeoJSON: " + exception.toString());
      }

      return points;
    }

    @Override
    protected void onPostExecute(List<Position> points) {
      super.onPostExecute(points);

      drawBeforeSimplify(points);
      drawSimplify(points);

    }
  }

  private void drawBeforeSimplify(List<Position> points) {

    LatLng[] pointsArray = new LatLng[points.size()];
    for (int i = 0; i < points.size(); i++) {
      pointsArray[i] = new LatLng(points.get(i).getLatitude(), points.get(i).getLongitude());
    }

    map.addPolyline(new PolylineOptions()
      .add(pointsArray)
      .color(Color.parseColor("#8a8acb"))
      .width(4));
  }

  private void drawSimplify(List<Position> points) {

    Position[] before = new Position[points.size()];
    for (int i = 0; i < points.size(); i++) {
      before[i] = points.get(i);
    }

    Position[] after = PolylineUtils.simplify(before, 0.001);

    LatLng[] result = new LatLng[after.length];
    for (int i = 0; i < after.length; i++) {
      result[i] = new LatLng(after[i].getLatitude(), after[i].getLongitude());
    }

    map.addPolyline(new PolylineOptions()
      .add(result)
      .color(Color.parseColor("#3bb2d0"))
      .width(4));

  }
}

  
      
<LinearLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:mapbox="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    tools:context=".examples.mas.SimplifyPolylineActivity">>

    <com.mapbox.mapboxsdk.maps.MapView
        android:id="@+id/mapview"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        mapbox:mapbox_cameraTargetLat="37.692465"
        mapbox:mapbox_cameraTargetLng="-122.410413"
        mapbox:mapbox_styleUrl="mapbox://styles/mapbox/light-v9"
        mapbox:mapbox_cameraTilt="45"
        mapbox:mapbox_cameraZoom="10.5"/>

</LinearLayout>


    
    
{
	"type": "FeatureCollection",
	"features": [
		{
			"type": "Feature",
			"properties": {},
			"geometry": {
				"coordinates": [
					[
						-122.385376,
						37.61501
					],
					[
						-122.38524,
						37.615063
					],
					[
						-122.38509,
						37.61515
					],
					[
						-122.384964,
						37.615246
					],
					[
						-122.38483,
						37.615376
					],
					[
						-122.38463,
						37.61564
					],
					[
						-122.38453,
						37.615776
					],
					[
						-122.38441,
						37.61598
					],
					[
						-122.38423,
						37.616314
					],
					[
						-122.38422,
						37.616417
					],
					[
						-122.384224,
						37.616516
					],
					[
						-122.38442,
						37.617035
					],
					[
						-122.384476,
						37.617123
					],
					[
						-122.384544,
						37.61719
					],
					[
						-122.38463,
						37.61726
					],
					[
						-122.38475,
						37.61733
					],
					[
						-122.38537,
						37.617588
					],
					[
						-122.38572,
						37.61772
					],
					[
						-122.38587,
						37.617775
					],
					[
						-122.38606,
						37.6178
					],
					[
						-122.386284,
						37.617817
					],
					[
						-122.38654,
						37.61779
					],
					[
						-122.386765,
						37.61775
					],
					[
						-122.38697,
						37.61767
					],
					[
						-122.387184,
						37.617546
					],
					[
						-122.3873,
						37.617443
					],
					[
						-122.387596,
						37.61715
					],
					[
						-122.388084,
						37.61666
					],
					[
						-122.388374,
						37.616383
					],
					[
						-122.38844,
						37.616318
					],
					[
						-122.38853,
						37.616257
					],
					[
						-122.3886,
						37.61621
					],
					[
						-122.388664,
						37.616177
					],
					[
						-122.38874,
						37.61614
					],
					[
						-122.38885,
						37.616104
					],
					[
						-122.38901,
						37.616066
					],
					[
						-122.39054,
						37.615753
					],
					[
						-122.39074,
						37.615707
					],
					[
						-122.3908,
						37.615685
					],
					[
						-122.39101,
						37.615578
					],
					[
						-122.3911,
						37.615536
					],
					[
						-122.3912,
						37.6155
					],
					[
						-122.39137,
						37.615456
					],
					[
						-122.3916,
						37.61541
					],
					[
						-122.39175,
						37.615376
					],
					[
						-122.39223,
						37.615253
					],
					[
						-122.39249,
						37.615196
					],
					[
						-122.39275,
						37.615143
					],
					[
						-122.39303,
						37.615086
					],
					[
						-122.393326,
						37.615036
					],
					[
						-122.39365,
						37.614983
					],
					[
						-122.39383,
						37.61495
					],
					[
						-122.39402,
						37.614906
					],
					[
						-122.3942,
						37.61486
					],
					[
						-122.39551,
						37.614536
					],
					[
						-122.39565,
						37.614502
					],
					[
						-122.3958,
						37.614483
					],
					[
						-122.39594,
						37.61448
					],
					[
						-122.39607,
						37.614487
					],
					[
						-122.39621,
						37.614506
					],
					[
						-122.39633,
						37.614536
					],
					[
						-122.39646,
						37.61458
					],
					[
						-122.39656,
						37.61462
					],
					[
						-122.39676,
						37.61473
					],
					[
						-122.3969,
						37.61485
					],
					[
						-122.397026,
						37.61499
					],
					[
						-122.39739,
						37.615456
					],
					[
						-122.3976,
						37.61575
					],
					[
						-122.39772,
						37.615948
					],
					[
						-122.397835,
						37.61616
					],
					[
						-122.397934,
						37.616364
					],
					[
						-122.39805,
						37.616615
					],
					[
						-122.39814,
						37.616848
					],
					[
						-122.39822,
						37.617092
					],
					[
						-122.3985,
						37.617985
					],
					[
						-122.399086,
						37.619705
					],
					[
						-122.40143,
						37.626556
					],
					[
						-122.40153,
						37.626858
					],
					[
						-122.40156,
						37.627014
					],
					[
						-122.40159,
						37.627132
					],
					[
						-122.40157,
						37.62723
					],
					[
						-122.40174,
						37.627922
					],
					[
						-122.40179,
						37.628162
					],
					[
						-122.40194,
						37.629536
					],
					[
						-122.40196,
						37.629852
					],
					[
						-122.40199,
						37.63047
					],
					[
						-122.40208,
						37.63137
					],
					[
						-122.402176,
						37.632233
					],
					[
						-122.40225,
						37.632515
					],
					[
						-122.40254,
						37.633877
					],
					[
						-122.4026,
						37.634132
					],
					[
						-122.40271,
						37.634613
					],
					[
						-122.40278,
						37.63487
					],
					[
						-122.40285,
						37.635113
					],
					[
						-122.40293,
						37.635357
					],
					[
						-122.40304,
						37.635593
					],
					[
						-122.40316,
						37.635845
					],
					[
						-122.40328,
						37.636078
					],
					[
						-122.40341,
						37.6363
					],
					[
						-122.403564,
						37.636524
					],
					[
						-122.403854,
						37.636948
					],
					[
						-122.40403,
						37.637207
					],
					[
						-122.40419,
						37.637463
					],
					[
						-122.40477,
						37.638313
					],
					[
						-122.40493,
						37.638634
					],
					[
						-122.40508,
						37.63898
					],
					[
						-122.40524,
						37.63937
					],
					[
						-122.40542,
						37.639824
					],
					[
						-122.40556,
						37.640263
					],
					[
						-122.405685,
						37.640697
					],
					[
						-122.40579,
						37.641148
					],
					[
						-122.40576,
						37.641342
					],
					[
						-122.40607,
						37.64376
					],
					[
						-122.40643,
						37.64783
					],
					[
						-122.40651,
						37.64864
					],
					[
						-122.40653,
						37.648975
					],
					[
						-122.40661,
						37.649822
					],
					[
						-122.40664,
						37.65014
					],
					[
						-122.40667,
						37.6505
					],
					[
						-122.406746,
						37.651443
					],
					[
						-122.406784,
						37.65185
					],
					[
						-122.4069,
						37.65317
					],
					[
						-122.40691,
						37.653435
					],
					[
						-122.40691,
						37.653713
					],
					[
						-122.406906,
						37.653976
					],
					[
						-122.40689,
						37.65422
					],
					[
						-122.40687,
						37.654465
					],
					[
						-122.40683,
						37.654705
					],
					[
						-122.40678,
						37.654976
					],
					[
						-122.40673,
						37.65521
					],
					[
						-122.40667,
						37.65548
					],
					[
						-122.4066,
						37.655735
					],
					[
						-122.40652,
						37.656002
					],
					[
						-122.406425,
						37.656258
					],
					[
						-122.40632,
						37.6565
					],
					[
						-122.40619,
						37.656757
					],
					[
						-122.405556,
						37.657997
					],
					[
						-122.40532,
						37.658463
					],
					[
						-122.40519,
						37.658703
					],
					[
						-122.40506,
						37.658943
					],
					[
						-122.404915,
						37.659176
					],
					[
						-122.40477,
						37.65939
					],
					[
						-122.4046,
						37.659615
					],
					[
						-122.40443,
						37.659832
					],
					[
						-122.404205,
						37.66008
					],
					[
						-122.40399,
						37.660305
					],
					[
						-122.40377,
						37.660515
					],
					[
						-122.40351,
						37.660744
					],
					[
						-122.40327,
						37.660934
					],
					[
						-122.40302,
						37.661118
					],
					[
						-122.40276,
						37.6613
					],
					[
						-122.40251,
						37.661465
					],
					[
						-122.39969,
						37.663273
					],
					[
						-122.39942,
						37.663445
					],
					[
						-122.39917,
						37.66361
					],
					[
						-122.39891,
						37.663784
					],
					[
						-122.39866,
						37.663956
					],
					[
						-122.39841,
						37.66413
					],
					[
						-122.39817,
						37.66431
					],
					[
						-122.39794,
						37.664482
					],
					[
						-122.3977,
						37.664677
					],
					[
						-122.39747,
						37.664867
					],
					[
						-122.397255,
						37.665054
					],
					[
						-122.39702,
						37.665276
					],
					[
						-122.3968,
						37.665478
					],
					[
						-122.39659,
						37.665672
					],
					[
						-122.39639,
						37.665874
					],
					[
						-122.396194,
						37.66608
					],
					[
						-122.39568,
						37.66661
					],
					[
						-122.39489,
						37.66744
					],
					[
						-122.39273,
						37.66969
					],
					[
						-122.392494,
						37.669937
					],
					[
						-122.392296,
						37.67015
					],
					[
						-122.392105,
						37.67037
					],
					[
						-122.39192,
						37.67058
					],
					[
						-122.39174,
						37.670807
					],
					[
						-122.39156,
						37.671024
					],
					[
						-122.39138,
						37.671246
					],
					[
						-122.39122,
						37.671463
					],
					[
						-122.391045,
						37.671696
					],
					[
						-122.39088,
						37.67192
					],
					[
						-122.390724,
						37.672146
					],
					[
						-122.390564,
						37.67238
					],
					[
						-122.39041,
						37.67261
					],
					[
						-122.39027,
						37.672848
					],
					[
						-122.390114,
						37.673107
					],
					[
						-122.389984,
						37.673325
					],
					[
						-122.38982,
						37.673622
					],
					[
						-122.38967,
						37.673885
					],
					[
						-122.38954,
						37.674145
					],
					[
						-122.38937,
						37.67445
					],
					[
						-122.38923,
						37.67476
					],
					[
						-122.389084,
						37.675056
					],
					[
						-122.38895,
						37.67536
					],
					[
						-122.38881,
						37.67567
					],
					[
						-122.38868,
						37.676003
					],
					[
						-122.38856,
						37.67634
					],
					[
						-122.38847,
						37.676643
					],
					[
						-122.3884,
						37.67697
					],
					[
						-122.38833,
						37.677284
					],
					[
						-122.38828,
						37.677628
					],
					[
						-122.38827,
						37.677963
					],
					[
						-122.38826,
						37.678272
					],
					[
						-122.38827,
						37.678593
					],
					[
						-122.38829,
						37.678913
					],
					[
						-122.38834,
						37.679295
					],
					[
						-122.388405,
						37.67964
					],
					[
						-122.38849,
						37.680042
					],
					[
						-122.38858,
						37.680504
					],
					[
						-122.388756,
						37.681377
					],
					[
						-122.38889,
						37.682056
					],
					[
						-122.39297,
						37.699955
					],
					[
						-122.39466,
						37.707397
					],
					[
						-122.39487,
						37.70833
					],
					[
						-122.3949,
						37.708477
					],
					[
						-122.39501,
						37.708992
					],
					[
						-122.395134,
						37.709545
					],
					[
						-122.39541,
						37.71077
					],
					[
						-122.39549,
						37.71114
					],
					[
						-122.39556,
						37.711376
					],
					[
						-122.39564,
						37.711617
					],
					[
						-122.39572,
						37.711864
					],
					[
						-122.39583,
						37.712116
					],
					[
						-122.39593,
						37.712364
					],
					[
						-122.39599,
						37.71248
					],
					[
						-122.39605,
						37.71261
					],
					[
						-122.39619,
						37.71285
					],
					[
						-122.396454,
						37.713238
					],
					[
						-122.39664,
						37.7135
					],
					[
						-122.39682,
						37.71375
					],
					[
						-122.397316,
						37.71434
					],
					[
						-122.39778,
						37.714897
					],
					[
						-122.397964,
						37.715137
					],
					[
						-122.39814,
						37.715385
					],
					[
						-122.39829,
						37.715614
					],
					[
						-122.398445,
						37.715878
					],
					[
						-122.39861,
						37.716213
					],
					[
						-122.39872,
						37.716454
					],
					[
						-122.39882,
						37.716698
					],
					[
						-122.3989,
						37.71695
					],
					[
						-122.39897,
						37.717197
					],
					[
						-122.39941,
						37.718906
					],
					[
						-122.39945,
						37.719032
					],
					[
						-122.39966,
						37.71972
					],
					[
						-122.39989,
						37.72042
					],
					[
						-122.39999,
						37.72073
					],
					[
						-122.400055,
						37.721
					],
					[
						-122.40027,
						37.721638
					],
					[
						-122.40048,
						37.722137
					],
					[
						-122.40105,
						37.723503
					],
					[
						-122.40121,
						37.723915
					],
					[
						-122.401566,
						37.724968
					],
					[
						-122.401794,
						37.72553
					],
					[
						-122.40183,
						37.72563
					],
					[
						-122.40264,
						37.727806
					],
					[
						-122.40269,
						37.727905
					],
					[
						-122.40332,
						37.729336
					],
					[
						-122.403496,
						37.729626
					],
					[
						-122.404526,
						37.73151
					],
					[
						-122.40471,
						37.731873
					],
					[
						-122.40488,
						37.732197
					],
					[
						-122.40505,
						37.732506
					],
					[
						-122.40532,
						37.732967
					],
					[
						-122.40548,
						37.733265
					],
					[
						-122.40563,
						37.73353
					],
					[
						-122.40597,
						37.73408
					],
					[
						-122.40612,
						37.73434
					],
					[
						-122.40678,
						37.7354
					],
					[
						-122.407005,
						37.73578
					],
					[
						-122.40714,
						37.73601
					],
					[
						-122.40726,
						37.736225
					],
					[
						-122.40738,
						37.73647
					],
					[
						-122.40749,
						37.736706
					],
					[
						-122.407585,
						37.736923
					],
					[
						-122.40768,
						37.73717
					],
					[
						-122.40775,
						37.73743
					],
					[
						-122.40783,
						37.737698
					],
					[
						-122.40789,
						37.737965
					],
					[
						-122.407936,
						37.738197
					],
					[
						-122.40797,
						37.73845
					],
					[
						-122.408,
						37.73872
					],
					[
						-122.408005,
						37.738922
					],
					[
						-122.408005,
						37.739178
					],
					[
						-122.408,
						37.73946
					],
					[
						-122.40796,
						37.739822
					],
					[
						-122.407906,
						37.74011
					],
					[
						-122.40785,
						37.740368
					],
					[
						-122.40778,
						37.740627
					],
					[
						-122.407684,
						37.740902
					],
					[
						-122.4076,
						37.74114
					],
					[
						-122.40749,
						37.74139
					],
					[
						-122.407364,
						37.74165
					],
					[
						-122.407234,
						37.741875
					],
					[
						-122.40706,
						37.742138
					],
					[
						-122.40689,
						37.74237
					],
					[
						-122.4067,
						37.742596
					],
					[
						-122.40582,
						37.743637
					],
					[
						-122.40564,
						37.743874
					],
					[
						-122.40549,
						37.74409
					],
					[
						-122.40533,
						37.744343
					],
					[
						-122.4052,
						37.744576
					],
					[
						-122.405075,
						37.74483
					],
					[
						-122.40497,
						37.745102
					],
					[
						-122.40488,
						37.74536
					],
					[
						-122.404015,
						37.74808
					],
					[
						-122.403465,
						37.749813
					],
					[
						-122.40307,
						37.751057
					],
					[
						-122.40301,
						37.751278
					],
					[
						-122.40295,
						37.751503
					],
					[
						-122.40289,
						37.751778
					],
					[
						-122.402855,
						37.752033
					],
					[
						-122.402824,
						37.7523
					],
					[
						-122.40281,
						37.75255
					],
					[
						-122.40282,
						37.752808
					],
					[
						-122.40283,
						37.75308
					],
					[
						-122.40285,
						37.753338
					],
					[
						-122.40305,
						37.755444
					],
					[
						-122.40307,
						37.75563
					],
					[
						-122.40309,
						37.75583
					],
					[
						-122.40312,
						37.75603
					],
					[
						-122.40316,
						37.756218
					],
					[
						-122.40321,
						37.7564
					],
					[
						-122.403275,
						37.756577
					],
					[
						-122.40336,
						37.756752
					],
					[
						-122.40345,
						37.75693
					],
					[
						-122.40355,
						37.757084
					],
					[
						-122.40366,
						37.757233
					],
					[
						-122.40378,
						37.757366
					],
					[
						-122.40391,
						37.7575
					],
					[
						-122.404045,
						37.757633
					],
					[
						-122.4042,
						37.757755
					],
					[
						-122.404366,
						37.75789
					],
					[
						-122.404526,
						37.758007
					],
					[
						-122.40488,
						37.75826
					],
					[
						-122.40506,
						37.75839
					],
					[
						-122.405235,
						37.758522
					],
					[
						-122.4054,
						37.758663
					],
					[
						-122.405556,
						37.758804
					],
					[
						-122.4057,
						37.758957
					],
					[
						-122.40582,
						37.759113
					],
					[
						-122.40593,
						37.759266
					],
					[
						-122.40603,
						37.75943
					],
					[
						-122.406105,
						37.759583
					],
					[
						-122.40617,
						37.759754
					],
					[
						-122.40622,
						37.759922
					],
					[
						-122.40626,
						37.760094
					],
					[
						-122.40628,
						37.760254
					],
					[
						-122.406296,
						37.76041
					],
					[
						-122.406296,
						37.76057
					],
					[
						-122.40628,
						37.760723
					],
					[
						-122.40626,
						37.760876
					],
					[
						-122.40622,
						37.76103
					],
					[
						-122.40617,
						37.761185
					],
					[
						-122.40612,
						37.761337
					],
					[
						-122.40605,
						37.761482
					],
					[
						-122.40597,
						37.761642
					],
					[
						-122.40588,
						37.761787
					],
					[
						-122.40558,
						37.762264
					],
					[
						-122.40547,
						37.76244
					],
					[
						-122.40537,
						37.762615
					],
					[
						-122.40527,
						37.7628
					],
					[
						-122.40519,
						37.76299
					],
					[
						-122.40511,
						37.763172
					],
					[
						-122.40505,
						37.763374
					],
					[
						-122.405,
						37.76357
					],
					[
						-122.40496,
						37.763763
					],
					[
						-122.40493,
						37.763958
					],
					[
						-122.40491,
						37.764156
					],
					[
						-122.404884,
						37.764385
					],
					[
						-122.404915,
						37.76525
					],
					[
						-122.40514,
						37.767124
					],
					[
						-122.405174,
						37.76731
					],
					[
						-122.405205,
						37.767418
					],
					[
						-122.40524,
						37.767525
					],
					[
						-122.4053,
						37.76764
					],
					[
						-122.40537,
						37.76777
					],
					[
						-122.40547,
						37.767887
					],
					[
						-122.40556,
						37.767982
					],
					[
						-122.40566,
						37.768066
					],
					[
						-122.40576,
						37.768143
					],
					[
						-122.40691,
						37.76903
					],
					[
						-122.40837,
						37.77014
					],
					[
						-122.408455,
						37.770218
					],
					[
						-122.40853,
						37.770294
					],
					[
						-122.408585,
						37.77038
					],
					[
						-122.40863,
						37.77046
					],
					[
						-122.40866,
						37.770554
					],
					[
						-122.408676,
						37.770638
					],
					[
						-122.40868,
						37.770725
					],
					[
						-122.408676,
						37.770798
					],
					[
						-122.40866,
						37.770866
					],
					[
						-122.40863,
						37.770943
					],
					[
						-122.40856,
						37.771114
					],
					[
						-122.40854,
						37.771202
					],
					[
						-122.40854,
						37.7713
					],
					[
						-122.40908,
						37.771736
					],
					[
						-122.41008,
						37.772537
					],
					[
						-122.4107,
						37.773018
					],
					[
						-122.41108,
						37.773323
					],
					[
						-122.41163,
						37.773773
					],
					[
						-122.41216,
						37.774204
					],
					[
						-122.41262,
						37.774567
					],
					[
						-122.413155,
						37.774998
					],
					[
						-122.413445,
						37.775227
					],
					[
						-122.41371,
						37.77544
					],
					[
						-122.41346,
						37.77564
					]
				],
				"type": "LineString"
			}
		}
	]
}