profile
viewpoint

sansumbrella/Choreograph 256

A simple, modern C++ animation and timing library.

mapbox/mapboxgl-powerbi 88

Mapbox Visual for Power BI - High performance, custom map visuals for Power BI dashboards

sansumbrella/Cinder 17

Cinder is a community-developed, free and open source library for professional-quality creative coding in C++.

ryanbartley/gltf 16

glTF Spec for Cinder

sansumbrella/Cinder-OpenGL-Tutorial 11

Cinder project following along with http://www.opengl-tutorial.org

mapbox/consumer-workflow-solution 9

Make friendly workflows for creating maps

sansumbrella/Conditional-Landscape 9

Processing sketches for landscape architecture workshop.

sansumbrella/ala-survey-vis 2

A silly art project. Requires rp5 and pyExcelerator

sansumbrella/dma-KinectFun 2

An afternoon of playing with Kinect at UCLA D|MA.

sansumbrella/Arduino-Accelerometer 1

Simple library to consolidate reading of x/y/z axes and powering an accelerometer

issue closedmapbox/mapbox-navigation-android

It is not possible to navigation along a route generated by a separate process

<!-- Hello and thanks for contributing! To help us diagnose your problem quickly, please:

  • Include a minimal demonstration of the bug, including code, logs, and screenshots.
  • Ensure you can reproduce the bug using the latest release.
  • Only post to report a bug or request a feature; direct all other questions to: https://stackoverflow.com/questions/tagged/mapbox -->

Android API: 19 Mapbox Navigation SDK version: com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.42.6

Steps to trigger behavior

  1. Generate a route using mapbox-java's MapboxDirections service (alternatively: use curl and the Directions API)
  2. Save the route as JSON (I printed it to the console and copy-pasted)
  3. Create launcher options using the saved JSON as the directionsRoute (i.e. DirectionsResponse.fromJson(json))
  4. Use NavigationLauncher.startNavigation to begin a navigation session

Expected behavior

The application provides turn-by-turn directions

Actual behavior

Application crashes with a null pointer exception. (alternatively: if using curl to generate the JSON, it crashes with a complaint that there is a missing 'options' object)

Example application direct link to main.kt

closed time in 20 hours

sansumbrella

issue commentmapbox/mapbox-navigation-android

It is not possible to navigation along a route generated by a separate process

Thanks @Guardiola31337 for the help tracking down the issue. While I was using the correct version of the Java services to generate the route, I was missing a critical option in the settings in my custom implementation that the Navigation SDK sets by default (the steps = true, which is obvious now that I see it).

Here's a snippet for generating a route that worked for us today:

val origin = Point.fromLngLat(-77.0365, 38.9392)
val destination = Point.fromLngLat(-76.9714, 38.9125)
val client: MapboxDirections = MapboxDirections.builder()
    .waypoints(listOf(origin, destination))
    .overview(DirectionsCriteria.OVERVIEW_FULL)
    .profile(DirectionsCriteria.PROFILE_DRIVING)
    .steps(true)
    .annotations(listOf(DirectionsCriteria.ANNOTATION_CONGESTION, DirectionsCriteria.ANNOTATION_DISTANCE))
    .language(Locale.forLanguageTag("en"))
    .continueStraight(false)
    .roundaboutExits(false)
    .voiceInstructions(true)
    .bannerInstructions(true)
    .voiceUnits(DirectionsCriteria.METRIC)
    .geometries(DirectionsCriteria.GEOMETRY_POLYLINE6)
    .accessToken(getString(R.string.MAPBOX_ACCESS_TOKEN))
    .build()
sansumbrella

comment created time in 20 hours

issue commentmapbox/mapbox-navigation-android

It is not possible to navigation along a route generated by a separate process

cc @abhishek1508, since you wrote the example app that has working JSON route loading. Did it require using the Navigation SDK on Android to generate, or were you able to use Mapbox Java services? I'm not sure what step I'm missing since the Java services version seems to match across my implementation and the nav beta. Thanks!

sansumbrella

comment created time in a day

issue commentmapbox/mapbox-navigation-android

It is not possible to navigation along a route generated by a separate process

I'm now working with the 1.1.0-beta.7 release of the Navigation UI SDK and the 5.3.0 version of the Mapbox Services to match the SDKs dependency. Unfortunately, I still can't get the application to run with JSON generated by the Mapbox Java services.

image

How was the JSON used in the repo example app generated? I am able to use that JSON to navigate. Using the following code to generate JSON that looks substantially similar to me somehow produces output that cannot be used to navigate.

<details> <summary>Logging the MapboxDirections response as JSON</summary> <pre> private fun logDirectionsJSON() { val origin = Point.fromLngLat(-77.0365, 38.9392) val destination = Point.fromLngLat(-76.9714, 38.9125) val client: MapboxDirections = MapboxDirections.builder() .waypoints(listOf(origin, destination)) .overview(DirectionsCriteria.OVERVIEW_FULL) .profile(DirectionsCriteria.PROFILE_DRIVING) .language(Locale.forLanguageTag("en")) .continueStraight(false) .roundaboutExits(false) .voiceInstructions(true) .bannerInstructions(true) .voiceUnits(DirectionsCriteria.METRIC) .geometries(DirectionsCriteria.GEOMETRY_POLYLINE6) .accessToken(getString(R.string.MAPBOX_ACCESS_TOKEN)) .build()

    client.enqueueCall(object: retrofit2.Callback<DirectionsResponse> {
        override fun onResponse(call: retrofit2.Call<DirectionsResponse>, response: retrofit2.Response<DirectionsResponse>) {
            if (response.body() == null) {
                Log.e(TAG, "No routes found; set user and access token")
                return
            } else if (response.body()!!.routes().size < 1) {
                Log.e(TAG, "No routes found")
                return
            }

            response.body()?.let {
                // We then copy the JSON route from the console and paste it into the `useExistingRouteJSON` method
                val route = it.routes()[0]
                Log.d(TAG, route.toJson())
            }
        }

        override fun onFailure(call: retrofit2.Call<DirectionsResponse>, t: Throwable) {
            Log.e(TAG,"Error loading stuff ${t.message}")
        }
    })
}

</pre> </details> <details> <summary>Example JSON response from the logging</summary> <pre> {"routeIndex":"0","distance":9077.043,"duration":1316.064,"geometry":"ictgiAxz||qCvD}@d_@?pa@?xL?vN?vD?hB?nC?t@?vN?zP?lP?vH?dPNdbA?jA?fE?pV?C?hC?xL?fY?bU?pCLjF?n]?xC?tE?vH?tO?rU?xB?lE?v^?dOM|J?CLz@NzAOhB?|@N|D?tO?C?xC?bj@OpWNtD?lE?fwANfSLxMMtD?fN?pC?fSOrdANbG?fH?lA?lYL|E?|c@?nC?rB?|Y?z@?|E?vC?dP?ha@?rA?xM?GNlJ?lE?C?C?n]?zA?bB?rj@?tD?nO?bF?rF?vI?pB?jK?~C?hXNdJ?xL?vS?bL?C?lE??_TFiMG_S?wc@?yW?eEFwM?}T?gD?sQ?iMDgD?aH?_|@E_J?mI?gY?oS?coA?qG?sG?mTDoS?oI?ya@Em^?{@?{@?m^Gse@FsFDib@FaH?iB?}@Fm^l@_J|DoSI}^|DwMfD}JCqHjKs[xQyj@hM{@vDkLrKa\zZyArL}^BsFdFuOtJeZ|Jc[bAyCvC}ICqHMk@zAsElEyMd@iB|Ocf@\ucAvSco@n]gAzKq\~DyMrj@qdBxBaHnNgc@jAuDbGqRbAgDtEwNhGaRpRwm@pHkUGqRt@gDbBML_@xMgc@pBiBnCm@fD?pMMjB?fXL]s[mEcQsF{UyBmJm@iCku@k{CuZqpAgSsy@aM_h@}I}^uEaR_YmiAwCiM_EuOaRiu@kPsp@w^sxA{d@wkBe@iBwIk@gDkKyGwXmJ}@gScz@YyjAey@ygDs[}qAiRgx@u^ewAqB}JcBqHkAcFcAqGsA}JeAiMUiCe@aROuYUmUOiMGsEGiC?qHMeO|D{A~CuDbBeFbVkVhHiL|S}TfOePb@ed@|}@yAbFsFzAsFvg@l@|TrPtJ`HjFvCzFxCzAeFl@_]?gOFemA?yjA?aq@?cf@LsFFm@F{@FkBF{@jALhB^??","weight":1316.064,"weight_name":"routability","legs":[{"distance":9077.043,"duration":1316.064,"summary":"U Street Northwest, US 50","steps":[]}],"routeOptions":{"baseUrl":"https://api.mapbox.com","user":"mapbox","profile":"driving","coordinates":[[-77.0365,38.9392],[-76.9714,38.9125]],"language":"en","continue_straight":false,"roundabout_exits":false,"geometries":"polyline6","overview":"full","voice_instructions":true,"banner_instructions":true,"voice_units":"metric","access_token":"pk.eyJ1IjoiZGF2aWQtd2lja3MiLCJhIjoiY2tkNG5yZXZkMXoxcDMzcXljb3hlMmc1MCJ9.P3desUxQTk7Syv_LX6UkpA","uuid":"FhkR0pg3yNbmIqzNbY_99ZNXFe90VITVHgNGBEPYXexTebORYqEp6Q\u003d\u003d"}} </pre> </details>

sansumbrella

comment created time in 4 days

issue closedmapbox/real-time-maps

Recipe in Data Project Fails to Validate

When using the CLI validator the recipe.json file fails to validate.

tilesets validate-recipe recipe.json

{"valid": false, "errors": ["layers.county.features.id has an invalid expression.", "Bare objects invalid. Use ["literal", {...}] instead."]}

It appears the recipe spec may have changed since this project was published.

closed time in 5 days

michael-tidd

issue commentmapbox/real-time-maps

Recipe in Data Project Fails to Validate

Fixed in #5 Thanks!

michael-tidd

comment created time in 5 days

pull request commentmapbox/real-time-maps

fix recipe validation

Fixed in #5 Thanks for opening the issue and sharing a fix!

michael-tidd

comment created time in 5 days

PR closed mapbox/real-time-maps

fix recipe validation

id now uses expression so it passes cli validation

+1 -3

0 comment

1 changed file

michael-tidd

pr closed time in 5 days

delete branch mapbox/real-time-maps

delete branch : master

delete time in 5 days

create barnchmapbox/real-time-maps

branch : main

created branch time in 5 days

delete branch mapbox/real-time-maps

delete branch : maintenance

delete time in 5 days

push eventmapbox/real-time-maps

David Wicks

commit sha 7612cdcac6a56bc54e9be6be52a0b0ac71495a17

Maintenance (#5) * upgrade react-scripts and run audit fix * update recipe to new specification * update artifacts spec

view details

push time in 5 days

PR merged mapbox/real-time-maps

Maintenance

Fix security vulnerabilities found by npm audit. Update ID selection in recipe to use expression syntax.

+4828 -5395

0 comment

9 changed files

sansumbrella

pr closed time in 5 days

push eventmapbox/real-time-maps

David Wicks

commit sha 806798355f131f26bef12f5c47d001602c2e098e

update artifacts spec

view details

push time in 5 days

PR opened mapbox/real-time-maps

Maintenance

Fix security vulnerabilities found by npm audit. Update ID selection in recipe to use expression syntax.

+4827 -5394

0 comment

8 changed files

pr created time in 5 days

push eventmapbox/real-time-maps

David Wicks

commit sha de5ea3fa25a88590fbd12ade1e4aa4b009b53893

update recipe to new specification

view details

push time in 5 days

create barnchmapbox/real-time-maps

branch : maintenance

created branch time in 5 days

startedtesting-library/react-hooks-testing-library

started time in 23 days

issue openedmapbox/mapbox-navigation-android

It is not possible to navigation along a route generated by a separate process

<!-- Hello and thanks for contributing! To help us diagnose your problem quickly, please:

  • Include a minimal demonstration of the bug, including code, logs, and screenshots.
  • Ensure you can reproduce the bug using the latest release.
  • Only post to report a bug or request a feature; direct all other questions to: https://stackoverflow.com/questions/tagged/mapbox -->

Android API: 19 Mapbox Navigation SDK version: com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.42.6

Steps to trigger behavior

  1. Generate a route using mapbox-java's MapboxDirections service (alternatively: use curl and the Directions API)
  2. Save the route as JSON (I printed it to the console and copy-pasted)
  3. Create launcher options using the saved JSON as the directionsRoute (i.e. DirectionsResponse.fromJson(json))
  4. Use NavigationLauncher.startNavigation to begin a navigation session

Expected behavior

The application provides turn-by-turn directions

Actual behavior

Application crashes with a null pointer exception. (alternatively: if using curl, it crashes with a complaint that there is a missing 'options' object)

Example application direct link to main.kt

created time in a month

issue commentsansumbrella/mapbox-tilesets-js

"Internal Server" error when creating source by API

Thanks @CarlosMecha

If you submit a PR implementing the fix, I'd be happy to merge it.

CarlosMecha

comment created time in 2 months

push eventsansumbrella/path-tracer-rs

David Wicks

commit sha 9de8797bfa957b82393d1757b84c24357ddc0f02

Add dyn keyword to trait usage

view details

push time in 2 months

delete branch sansumbrella/path-tracer-rs

delete branch : master

delete time in 2 months

create barnchsansumbrella/path-tracer-rs

branch : stable

created branch time in 2 months

PR closed sansumbrella/Choreograph

Create premake5.lua
+36 -0

0 comment

1 changed file

Faymoon

pr closed time in 2 months

delete branch sansumbrella/Choreograph

delete branch : master

delete time in 2 months

create barnchsansumbrella/Choreograph

branch : stable

created branch time in 2 months

startedconvergencelabs/convergence-project

started time in 3 months

more