New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geopackage support #180
Comments
found an android friendly provider that provides tiles via google maps tile provider |
quick update, i was able to get this to work, however the performance was terrible when using it synchronously. when loading the tiles asynchronously, tiles just don't show up and i'm not entirely sure why. |
I wrote a tool which enables you to preconvert geopack files into osmdroid sqlite databases. This more or less meets the objective. It can be found here: https://github.com/spyhunter99/geopkg4osmdroid |
It would be cool to support geopackage directly in osmdroid: it is a standard and is supported by gdal, which permits conversion from a lot of formats. Maybe the performance of geopackage-android has improved during the last year? |
Looking back, I think the issue was related to database indexing. There is
a project which converts raster tiles in geopackage into osmdroid format
(see the wiki/related projects). Including the NGA package with an example
in osmdroid is feasible, however vector data probably wont' be supportable
(at least easily)
…On Wed, Jan 4, 2017 at 1:56 PM, legrostdg ***@***.***> wrote:
It would be cool to support geopackage directly in osmdroid: it is a
standard and is supported by gdal, which permits conversion from a lot of
formats. Maybe the performance of geopackage-android has improved during
the last year?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#180 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AB4kGY8fbjJk8HqQf_l8dFvkJxX7LAgjks5rO-t7gaJpZM4GWhey>
.
|
@legrostdg you sir, are in luck. I still have the on device code. I'll see if it can be updated and the performance issues fixed. Unless you want to give it a whirl? I'm a bit busy at the moment on other tasks |
i think the reason why it wasn't originally merged has the version at the time had a lot of dependencies on google libraries, which i don't like and it sort makes understanding the licensing, complicated. i also wanted to just included it with the samples osmdroid app, however the minsdk is 8 for osmdroid. the NGA stuff enforces a minsdk of 14. Enforcing that for the sample app would significantly reduce our test coverage unfortunately but it may be worth it. Maybe we can split up the sample app somehow to have a version for travis with a low minsdk but publish to the play store a version with everything in it. |
@spyhunter99 unfortunately I reported this as the user, not as a coder, as I don't speak java... I would be happy to assist if it could be coded in haskell or python! I think this worth increasing the minsdk but you are the one who decides :-). Thanks a lot for taking time on this issue! |
…age and mapsforge. #527 found a simplier solution
…forge sample, memory leaks, unclosed database connections for sqlcache. Memory dump is related to harmony
add support for geopackage storage formats
http://www.geopackage.org/spec/
The text was updated successfully, but these errors were encountered: