joshdeng / osmbonuspack

Automatically exported from code.google.com/p/osmbonuspack
1 stars 0 forks source link

Help with offline geocoding/navigation with geojson #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

This is not an issue.
I need a help/hints for working with offline maps.

The application is using offline map from mbtiles created using MOBAC for a 
small area.I have the geojson files with POIs and waypoints. which is rendered 
nicely using osmbonuspack in the app.
Now i need some kind of ability provide navigation within the area.

any help is much appreciated.

Thanks,
Safeer

Original issue reported on code.google.com by safeer....@gmail.com on 24 Oct 2014 at 4:24

GoogleCodeExporter commented 9 years ago
Could you explain a little bit more what you want?

Original comment by mathieu....@gmail.com on 24 Oct 2014 at 7:07

GoogleCodeExporter commented 9 years ago
basically I'm working with an offline map application.
I'm looking for a solution to do offline navigation from a geojson data.

Original comment by safeer....@gmail.com on 27 Oct 2014 at 1:56

GoogleCodeExporter commented 9 years ago
Could you explain clearly what you mean with: 
"Now i need some kind of ability provide navigation within the area."

Original comment by mathieu....@gmail.com on 27 Oct 2014 at 2:52

GoogleCodeExporter commented 9 years ago
Hi,

Sorry for that.
Let me try explain,

Im working on an android application with offline maps for a small area like 
private resort/golf course. The details of the area is not available in OSM(not 
public).
So i have created the data using JOSM(but didn't upload to OSM) and saved it as 
geojson format.

For the tiles i have captured using MOBAC as mbtiles.

The map is rendering well using the mbtiles and geojson details.

I need to implement features search for POI, navigate to POI in this 
application.
But osmbonuspack is using external online apis for those things.

I need a api to search the geojson data for POIs and Navigation.

Hope you understand what i meant.

Thanks

Original comment by safeer....@gmail.com on 28 Oct 2014 at 8:21

GoogleCodeExporter commented 9 years ago
OK, I understand. 

For POI search: I imagine that you have a very small amount of POI (if small 
area): is POI search really relevant? Anyway, implementing POI search yourself 
should be quite simple. 

For navigation: tricky. Maybe using GraphHopper? Not the online service, but 
the Android offline version. Look at GraphHopper site. 

Original comment by mathieu....@gmail.com on 28 Oct 2014 at 12:58

GoogleCodeExporter commented 9 years ago
For the POI search, which of the following is good?
1. parse and search the geojson
2. convert the data(osm/geojson) into SQLite database and query.

or do you have any other suggestions?

Original comment by safeer....@gmail.com on 29 Oct 2014 at 2:05

GoogleCodeExporter commented 9 years ago
Both will work. 

For 1) => geojson parsing to KML structure is already available with 
OSMBonusPack. You just have to search in a "KmlFolder" object. 

Both approaches are basic Java programming: if you feel this is complex, I'm 
afraid that the next step (navigation) may be unreacheable to you. 

Original comment by mathieu....@gmail.com on 30 Oct 2014 at 3:37

GoogleCodeExporter commented 9 years ago

Original comment by mathieu....@gmail.com on 20 Nov 2014 at 10:04