[Talk-it] Mappe per OsmAnd su Gfoss Geodata non aggiornate

Cascafico Giovanni cascafico a gmail.com
Ven 1 Lug 2016 21:42:11 UTC


Uau!

Giusto cercavamo qualche macchina per sperimentare opentripplanner, un
router multimodale che però, oltre alle relazioni dei bus, abbbisogna di
qualche monaco certosino che trascriva gli orari delle varie aziende
trasporti "pubbic,he" che non mollano i dati.

--
cascafico.altervista.org
twitter.com/cascafico
Il 01/lug/2016 11:45 "Simone Cortesi" <simone at cortesi.com> ha scritto:

> Ricordo a tutti che,
> se avete necessità di risorse hardware legati a progetti OSM,
> abbiamo macchine a disposizione finalizzate proprio a questo e rese
> disponibili da wikimedia foundation.
>
> 2016-07-01 13:39 GMT+02:00 Luca Delucchi <lucadeluge at gmail.com>:
> > 2016-07-01 12:36 GMT+02:00 Stefano Droghetti <
> stefano.droghetti at gmail.com>:
> >> Mi sono accorto che su Gfoss Geodata [1] le mappe per OsmAnd (le .obf,
> >> disponibili solo per l'intera Italia e non regione per regione) benché
> >> apparentemente aggiornate (le date effettivamente si aggiornano ogni
> due o
> >> tre giorni) in realtà rimangono ferme a una versione di un paio di mesi
> fa.
> >> Probabilmente lo script crea ogni giorno la nuova mappa, ma per qualche
> >> motivo usa sempre gli stessi dati, non aggiornati da mesi.
> >>
> >
> > scusa non ho capito se ti riferisci al file obf o agli altri?
> >
> > per il file obf ho un problema e non riesco ad aggiornarla perciò è
> > vecchia anche se segna che è stata aggiornata. sto facendo dei test ma
> > non so dove sbattere la testa, magari è un baco introdotto nel
> > software per la creazione del file obf
> >
> > Ottengo un errore sembra di memoria, ma gli ho assegnato 12GB :-o
> >
> > Jun 27, 2016 12:52:02 PM net.osmand.data.preparation.IndexCreator
> > extractOsmToNodesDB
> > INFO: File indexed : 3338135
> > Jun 27, 2016 12:52:02 PM net.osmand.data.index.IndexBatchCreator
> generateIndex
> > SEVERE: OutOfMemory
> > java.lang.OutOfMemoryError: Java heap space
> >         at org.sqlite.core.DB.executeBatch(DB.java:743)
> >         at
> org.sqlite.core.CorePreparedStatement.executeBatch(CorePreparedStatement.java:77)
> >         at
> net.osmand.data.preparation.OsmDbCreator.acceptEntityToLoad(OsmDbCreator.java:393)
> >         at
> net.osmand.osm.io.OsmBaseStorage.acceptEntityToLoad(OsmBaseStorage.java:294)
> >         at
> net.osmand.osm.io.OsmBaseStoragePbf$1.registerEntity(OsmBaseStoragePbf.java:43)
> >         at
> net.osmand.osm.io.OsmBaseStoragePbf$1.parseDense(OsmBaseStoragePbf.java:100)
> >         at crosby.binary.BinaryParser.parse(BinaryParser.java:107)
> >         at crosby.binary.BinaryParser.handleBlock(BinaryParser.java:51)
> >         at crosby.binary.file.FileBlock.process(FileBlock.java:120)
> >         at
> crosby.binary.file.BlockInputStream.process(BlockInputStream.java:15)
> >         at
> net.osmand.osm.io.OsmBaseStoragePbf.parseOSMPbf(OsmBaseStoragePbf.java:214)
> >         at
> net.osmand.data.preparation.IndexCreator.extractOsmToNodesDB(IndexCreator.java:345)
> >         at
> net.osmand.data.preparation.IndexCreator.initDbAccessor(IndexCreator.java:432)
> >         at
> net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:650)
> >         at
> net.osmand.data.preparation.IndexCreator.generateIndexes(IndexCreator.java:578)
> >         at
> net.osmand.data.index.IndexBatchCreator.generateIndex(IndexBatchCreator.java:552)
> >         at
> net.osmand.data.index.IndexBatchCreator.generatedIndexes(IndexBatchCreator.java:464)
> >         at
> net.osmand.data.index.IndexBatchCreator.runBatch(IndexBatchCreator.java:307)
> >         at
> net.osmand.data.index.IndexBatchCreator.main(IndexBatchCreator.java:165)
> >
> > e lancio osmandcrator così
> >
> > java -Djava.util.logging.config.file=logging.properties -Xms128M
> > -Xmx12000M -cp "./OsmAndMapCreator.jar:lib/OsmAnd-core.jar:./lib/*.jar"
> > net.osmand.data.index.IndexBatchCreator batch_geodati.xml
> >
> >> Ho scritto a Luca Delucchi, ma se c'è qualcun altro in ascolto che può
> fare
> >> qualcosa, ben venga.
> >>
> >
> > eh direi che solo io posso fare qualcosa.
> >
> >>
> >> Stefano
> >>
> >
> > --
> > ciao
> > Luca
> >
> > www.lucadelu.org
> >
> > _______________________________________________
> > Talk-it mailing list
> > Talk-it at openstreetmap.org
> > https://lists.openstreetmap.org/listinfo/talk-it
>
>
>
> --
> -S
>
> _______________________________________________
> Talk-it mailing list
> Talk-it at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-it
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-it/attachments/20160701/80dad489/attachment.html>


Maggiori informazioni sulla lista Talk-it