Coder Social home page Coder Social logo

Comments (20)

sevar83 avatar sevar83 commented on June 14, 2024 1

Hi @dsaved @emman-ok @phprad, I'm currently updating the build configuration to update to Spatialite-5.0.0-beta0. Is this the exact version you need? Also are there some specific requirements for newer GEOS, Proj (and other dependencies) versions? Because I'll first try if it works with the currently set versions (GEOS 3.4.2 and Proj 4.8.0) and if I have time I'll be updating those too.

from android-spatialite.

retsef avatar retsef commented on June 14, 2024

The repository contains an android binary of spatialite 4.3.0a. The module VirtualRouting is available in spatialite 5.0.0 and not in 4.3.0a. On your side works because you have tested on a Spatialite_GUI with built-in 5.0.0 version.

from android-spatialite.

phprad avatar phprad commented on June 14, 2024

Please anyway to upgrade the spatialite binary in the android repository to use the spatialite 5.0.0.

The repository contains an android binary of spatialite 4.3.0a. The module VirtualRouting is available in spatialite 5.0.0 and not in 4.3.0a. On your side works because you have tested on a Spatialite_GUI with built-in 5.0.0 version.

from android-spatialite.

retsef avatar retsef commented on June 14, 2024

At this time the 5.0.0 is currently in beta. If you want you can do it your self and make a pull request.

from android-spatialite.

phprad avatar phprad commented on June 14, 2024

At this time the 5.0.0 is currently in beta. If you want you can do it your self and make a pull request.

I wish I know how to do this. I searched the internet to the best of my knowledge on how I can use the spatialite 5.0.0 along with your library but couldn't find anything.

Please kindly help me in any way.
Regards.

from android-spatialite.

emman-ok avatar emman-ok commented on June 14, 2024

Any luck with this I have been trying to do the same but couldn't figure it out.
Any help appreciated. Thanks

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

from android-spatialite.

phprad avatar phprad commented on June 14, 2024

Please any luck with the new update.

Thanks

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

from android-spatialite.

emman-ok avatar emman-ok commented on June 14, 2024

I'll take a look today.

Hi Svetlozar, How's it going...
Any update yet.

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

from android-spatialite.

dsaved avatar dsaved commented on June 14, 2024

hello @sevar83 any update on the library, i also need to make use of the VirtualRouting module.

by the way grate library
thanks for that.

from android-spatialite.

dsaved avatar dsaved commented on June 14, 2024

Yes Spatialite-5.0.0-beta. I believe the other module works well with the Spatialite-5.0.0-beta version

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

Ok, on the spatialite5 branch we have:

  • Updated GEOS 3.4.2 to 3.7.2
  • Updated Proj 4.8.0 to 4.9.3
  • Updated Spatialite 4.3.0a to 5.0.0-beta0
  • Added librttopo 1.1.0
  • Not added JSON-C library yet. Don't see problem without it. What it is used for? I could see if I can add it maybe next week if I find time.

The spatialite5 branch may be merged with master when Spatialite 5 final gets released. Before that use:

implementation 'com.github.sevar83:android-spatialite:spatialite5-SNAPSHOT'

(hopefully JitPack will manage to build it as their server seems down at the moment)

If you have any issues or requests please let me know. Cheers guys, tomorrow I'm going in a tent in the wild for the weekend. :)

from android-spatialite.

phprad avatar phprad commented on June 14, 2024

Am so happy about this. Thanks very much for your time. Will test and give you feedback.

Thanks for your great support.
Have a wonderful weekend.

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

IMPORTANT LICENSING CHANGES:

Unfortunately the spatialite5 branch licensing policy must be reduced to the more restrictive GPL than the license for the master branch (which is Apache License 2.0). This is necessary because the VirtualRouting functionality is based on the code from RtTopo library and GCP. Those 2 things are released under GPL and GPL dictates that any redistributable software that is built against GPL libraries should be also licensed under GPL.

TL;DR:

  • spatialite5 branch will include VirtualRouting + GCP but will become GPL 2.0
  • master branch will remain Apache License 2.0. When Spatialite 5.0 becomes stable it will be merged without the GPL-based parts (VirtualRouting and GCP support).

from android-spatialite.

phprad avatar phprad commented on June 14, 2024

Hello Sevar,

I have tried to include the plugin, But getting this error

ERROR: Failed to resolve: com.github.sevar83:android-spatialite:spatialite5-SNAPSHOT
Show in Project Structure dialog
Affected Modules: app

I don't know if the Jit Server is still down. Kindly advice.

Thanks.

from android-spatialite.

sevar83 avatar sevar83 commented on June 14, 2024

from android-spatialite.

jamesingham avatar jamesingham commented on June 14, 2024

Hi, jitpack.io returns a white page at the moment. As a workaround you may clone the repo, checkout the spatialite5 branch, build it yourself and then use maven install command to install it in your local maven repository.

I can confirm that this works to build it locally, however when doing this I came across an issue which is the same reason that the jitpack build is failing:

ndk-modules/librttopo/librttopo-1.1.0/headers/librttopo.h:30:10: fatal error: 'librttopo_geom.h' file not found
#include "librttopo_geom.h"
         ^~~~~~~~~~~~~~~~~~
1 error generated.

(See: https://jitpack.io/com/github/sevar83/android-spatialite/spatialite5-dac0cc1652-1/build.log)

To fix this you need to run the autoconf script which will generate the missing header files for librttopo:

cd projectdir/android-spatialite/lib/src/main/jni/ndk-modules/librttopo/librttopo-1.1.0
./autogen.sh
./configure

However I have no idea how to configure jitpack to do this.

from android-spatialite.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.