3dstreet icon indicating copy to clipboard operation
3dstreet copied to clipboard

import geo from streetmix

Open kfarr opened this issue 9 months ago β€’ 1 comments

work in progress (closed by) #1320

currently when importing from streetmix we do not persist the location latlng values; instead we should load it from streetmix when the user is importing using the following methods:

  1. importing from using the hash such as https://3dstreet.app/#https://streetmix.net/kfarr/166/telephone-67-nice

  2. importing from a url using the add layer panel either the new managed street tool or the legacy streetmix import tool (which will probably be addressed by 1)

  3. i think that's it?

https://streetmix.net/api/v1/streets/dc81d749-8597-44e8-b55b-b41c0f73a3a8

remaining issues:

  • [ ] - as a user i am confused when the scene loads and the map obscures the street i designed. some examples solutions could be automatically flattening underneath the street (and maybe also buildings) that were imported; and/or setting the default blending of the 3dtiles to be 50%, etc.
  • [ ] - as a user i'm confused when the street i imported from streetmix with geo location set doesn't align correctly with my street; some examples solutions could be: proactively instructing the user to select street, move and rotate to adjust; or, use osm to show paths of streets around teh area; eventually to be abl suggest which one based on the name of the streetmix file and the names of the streets around th elat/lon provided)
  • [ ] potential solutions for both issues: do not display 3dtiles immediately, instead make the location display in the lower-right hand corner brightly displayed to encourage the user to click to the set the location and the default location is provided by the imported value (ie the geolocation is set but it's set to none)

kfarr avatar Jul 24 '25 00:07 kfarr

v1 - import lat/lon and set map to none (no visual difference to user, but data is saved)

  • unsure error state / how the interface will be handled if ellipsoidal is missing

Answer:

  • the default of showing nothing works if a user changes the options:
  • the 3d tiles renders too high (incorrect height)
  • the info is saved
  • 2d and 2.5d work ok

DONE

v2 - for all users - when the location available only lat / lon, show a "Add Map Layer" CTA with that location

  • viewport - in lower-right hand corner instead of the locationstring, there is a gardient highlight to call attention to the upsell trigger which says something like "Add Map Layer for [location]"

  • geospatial side panel - in this state the map type and location set (the 2 rows of content before show advanced) should not be visible, instead there's a large cta that is "Add Map Layer for [location]"

At first just use the literal string of [location] later we'll make this a front-end call to get the reverse geocode.

v3 i should see that the location is provided but that i'll need to use a geotoken to update the location on the modal to enable

  • issues - there will be the inability to show 3dtiles because ellipsoidal height not available;
  • handle case in sidebar where the lat/lon is set but ellipsidal / etc not calcluated / therefore 3d tiles cannot be displayed;

kfarr avatar Aug 27 '25 05:08 kfarr