Identify location along .shp routelayer for Android app - android

I wish to make a simple Android app which displays current location along .shp route layer. I am a total beginner concerning Android app developement. I have this tool in Arcgis, it enables to indentify kilometer value at specific point, from the beginning of the road. The app should use GPS location and from that convert it to road distance and road number. Its a very good tool for reporting accidents or other road events (dead animal, fallen tree).
Where should i start? Maybe there are some tutorials? Is this app reasonable and doable?
Thank you in advance

Related

Find a location that far from my by X distance in Google maps Android Studio

I'm currently working on an app in Android Studio and I'm using Google Maps. What I am trying to do is have the user enter a certain distance and I will show him a location that is far from him according to the distance he has chosen. At first I thought about moving on a path or road and seeing if I had reached the desired distance, I could not find how to do it and in general I could not find any solution to what I was looking for. Is there any way to do that?

How to share GPS data as part of an AR app

I would like to build an app that uses GPS coordinates and then Augments the phone's camera with a straight line to a friends' GPS location and modifies the line graphics accordingly in real-time based on the users' movements.
I'm confused about what to use in order to create it- I've googled for buzz words like Unity, ARkit and python for Android....but I can't really understand what to use and how?
If I do need a server- what service should I use? this one?https://console.firebase.google.com/u/0/?pli=1
and on which platform should I write the app? Unity?
I've seen answers like: Real time sharing of GPS location but all these answers were received quite a long time ago.
Thanks in advance
Unity is the easiest to get started with. You likely won't even need to make use of any AR engines outside of just accessing the camera. You'll just need to know which direction the phone is facing.
You'll need a database to store a user ID and GPS location at minimum.
GPS can be accessed in Unity using Input.location.
Keep in mind that GPS is currently accurate to ~5-10 metres, so at close range your line may be a little off the other device.

Geolocation based augmented reality

My task is to develop application for Android that should be used by tourist. Basic use case: I am going through old part of some town and then i start my app, point with camera to some place and some old building that is already gone will be present in its place as it was before.
My first direction that i was exploring was location based recognizing, I tried some frameworks like Wikitude, MetaIO and DroidAR. None of these was 100% fulfilling my need, because (in my opinion), noone was using (for its robustness) the newest tools that should make easier this task, like new Google Play Services Location API. I dont know if I could do better but I would prefer not to write my own solution.
I am now thinking about exploring marker based recognition but it would require additional work to place some markers to desired places and I dont believe that user would be in right angle and distance to that marker. I have seen some video that used some sort of edge detection but none of frameworks I used had this feature.
Do you know about some direction, technology or idea that I could explore and may lead to successful solution?
Augmented Reality will transfer real coordinates system to camera coordinates system. In AR Location-based, the real coordinate is Geographic coordinate system. We will convert the GPS coordinate (Latitude, Longitude, Altitude) to Navigation coordinate (East, North, Up), then transfer Navigation coordinate to Camera coordinate and display it on camera view.
I just create demo for you, not using any SDK
https://github.com/dat-ng/ar-location-based-android
I personally recommend you to use "Wikitude". Because I have created AR app for android using Wikitude SDk.
Also here I'm providing you app link which has been developed by Wikitude itself.
See below link :
https://play.google.com/store/apps/details?id=com.wikitude&hl=en
This app will give you brief idea about exploring place details using Wikitude Sdk. These sdk have free as well as paid library. It is well documented & very easy to implement. Also they have given very good sample practices for beginners.
Refer this link :
http://www.wikitude.com/products/wikitude-augmented-reality-sdk-mobile/wikitude-sdk-android/
I hope this will take you on track.
you already had some great ideas about your app. I guess these links will make you to learn more.
See links below:
http://net.educause.edu/ir/library/pdf/ERB1101.pdf
http://www.adristorical-lands.eu/index.php/sq/augmented-reality-app
Hope this will help you to go further in your project. Thank you.

Point misplaced at street. Android application with maps.

I am developing an application that marks the path taken in real time (on android). Sometimes the gps fails and a point located in a building. Is there any way to fix this? Could I ask google if the marked point corresponds to a building, not the street, sending the location?
Thank you.
You can only partially avoid that, by using the accuracy fields from location. you cannot rotally remove that effect, which is typical for GPS.
It is possible to snap the position to the next road, when you have the vector data of the street (or map). But this is often not a good idea, when you travel by train then the losition will be false corrected to a near road. further if the street you are travelling dors nor exist on the map.

Nutiteq GPS tracking

iam a newbie for this kind of development. im trying to create an android application which involves GPS tracking. i am using Nutiteq because i have to use openstreetmap as the default map. please help me.
What do you mean by GPS tracking? If it is showing GPS location on map, then Nutiteq sample project (https://github.com/nutiteq/hellomap3d/) has several samples:
a) Simpler HelloMap3D demo has line-based animated GPS display, this is easier to use
b) AnimatedLocationActivity in AdvancedMap3D shows OpenGL-based animation for more advanced requirements
If you want to save locations and show tracks as lines or points, then you need a bit extra work. I would save data to Spatialite database. Same hellomap3d project has Spatialite layer for viewing, but there is also SpatialLiteDbHelper.java which has method insertSpatiaLiteGeom() which enables to save data persistently to the database, this is something you need to implement in your app. For viewing lines and points there is existing sample code: see VectorFileMapActivity.java.
GPS tracks tend to become long and slow to render. For this there is special method to simplify data: use something like in VectorFileMapActivity:
dataSource.setAutoSimplify(2, metrics.widthPixels);
This tells that line data (it does not apply to points) will be simplified based on map zoom, while after zoom in you will see full data (for smaller map area). This will enable to show GPS trakcs if you have many of them visible with thousands of points.
The Open GPS Tracker project uses open street map. Have a glance on their sources.

Categories

Resources