Creating a custom navigation application for campus setup

Is this what you are looking for?

Latest version of the navigation app for a campus include


Earlier versions showed navigation and location methods using these tools (in addition to some of the tools mentioned above:

yes thank you

A post was split to a new topic: Is it possible to import an html file into MIT

Good Day
The navigation application is based on the open street map, how do l integrate walking paths that are not visible on the open street map and activate them to be visible and link them to walking block if user wants to use foot to move around the campus

Several ways to add foot paths to your OSM map.

A FeatureCollection

  • Create a FeatureCollection of the paths using the LineString tool on geojson.io . (sorry, this might not be possible for the Zimbabwe U campus; you may have to use a different tool)
  • Draw the foot paths where you need them on geojson.io tool

createPathswithLineString
and save the result.

  • Load the paths FeatureCollection into your Map component.

These tutorials show how to use the tool at geojson.io and how to load the FeatureCollection file.
1 How to make a Map Overlay-Part I
2 How to make a Custom Map Overlay Part II .. Show the user on the Map and a Custom Map Overlay

LineStrings

  • Create a set of LineStrings using the LineString component. You might use a List of coordinates of the foot path for each LineString.
  • Use code similar to this

latlon
to create the List of coordinates for a single foot path;

  • save the List;
  • later add it to a LineString showing the path.
  • Use a new LineString for each path you want to add to your Project.

You can, if you have the patience, manipulate the shape of the LineString on the Designer. Difficult but possible

Get the foot paths you need added to OpenStreetMap.

  • Join the team of OSM volunteers who are allowed to add features to the official OSM tiles. The OSM web page explains how to add features to their map tiles.

Sorry, you can't do that unless you join the OSM mapping volunteers.

I already have the paths as a shapefile so l will convert them to geojson and add the through feature collection
I tried joining the OSM mapping volunteer am still waiting for their response

Good Day
The featurecollection component falls under maps so is it possible for me too use it in this aia
(https://community.appinventor.mit.edu/uploads/short-url/wT8vsKWE2ozaPeCeEiaqB84kZHW.aia) so that l can integrate the digitized walking paths

No, it is impossible to integrate the digitized walking paths . The link you provided uses a link to Google Navigate to provide directions and a map. Developers can not modify Google Maps using a Map Feature Collection and use it this way to 'update' the features of the map.

Import a FeatureCollection using one of the examples for a campus map that uses the MIT Map component and if the FeatureCollection is well formed should possibly allow you to integrate the digitized walking paths on the MIT OpenStreetMap map.

Thank you

Good Day
am facing challenges with using the feature collection , the application is saying the is a bug after l upload the geojson file.
Capture


Please post the map.geojson file you load here. You have to change the geojson suffix to txt to be able to post it in the community.

This geojson has two paths (each a LineString created in the FeatureCollection) and loads fine.

zlinestring.txt (1.4 KB)

was created like this using the geojson io web tool.

Your problem could be a too complex FeatureCollection or the FC has features App Inventor does not recognize etc.

Try this aia :wink:
add_featurecollection_to_Map.aia (2.4 KB)

The add feature aia is working
As l was trying to convert the geojson file to txt it's reporting message that the file is corrupt so l will try again to draw the paths

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.