Hi,I have a line table which is named streets, I want to use it for routing, I know that I must fill node_feom and node_to for this layer. But I have no idea using which tool it is easier to make fill these fields. using postgis we have some functions to build network and generate edge and node tables but for spatilite which options do we have?I think this is added in version 5 but as I am using android port it is not yet supported.
thanks
Markthanks
select CreateRouting( 'roads_vw_data', 'roads_vw_bycar', 'roads_vw', 'node_from', 'node_to', 'geom', NULL);
05-15 09:08:18.201 26536-26536/spatilaitetest A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 26536 (.spatilaitetest)
When I run this query on sample/test DB (https://www.gaia-gis.it/gaia-sins/routing-sample-5.0.0.7z ) it returns this error. It seems it is sth internal. How can I debug it?select CreateRouting( 'roads_vw_data', 'roads_vw_bycar', 'roads_vw', 'node_from', 'node_to', 'geom', NULL);05-15 09:08:18.201 26536-26536/spatilaitetest A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 26536 (.spatilaitetest)
Hi,
Sorry for my lake of details, well I am working on android and the problem is appeared on android with the so files which was compiled last week.
05-15 09:08:18.201 26536-26536/spatilaitetest A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 26536 (.spatilaitetest)
try {
dbJava.exec(query, new Callback() {
@Override
public void columns(String[] coldata) {
}
@Override
public void types(String[] types) {
}
@Override
public boolean newrow(String[] rowdata) {
return false;
}
});
return true;
} catch (java.lang.Exception ex) {
GPLog.error(this, ex.getMessage(), ex);
return false;
}
The only report is05-15 09:08:18.201 26536-26536/spatilaitetest A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1 in tid 26536 (.spatilaitetest)