[OSM-dev-fr] OSMOSIS --derive-change à partir d'une db pgsnapshot et d'un fichier pbf

Marc Ducobu marc.ducobu at champs-libres.coop
Mer 16 Avr 08:59:24 UTC 2014


Bonjour,

Est-ce possible de créer un fichier osc à partir d'une db " pgsnapshot" 
et d'un fichier "pbf" ?

Selon 
http://blog.gmane.org/gmane.comp.gis.openstreetmap.region.fr.devel/month=20130301, 
ça semble possible.

J'ai tenté la commande :
osmosis --read-pgsql host=localhost  database=X user=X password=X 
--read-pbf file=X.pbf --derive-change --write-xml-change file=X.osc

Qui déclanche l'erreur suivante : 
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Task 
3-derive-change does not support data provided by default pipe stored at 
level 1 in the default pipe stack.

Est-ce possible à faire ? Si oui comment faut-il adapter la commande ?

Bonne journée.

Marc
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.openstreetmap.org/pipermail/dev-fr/attachments/20140416/e36218db/attachment.html>


Plus d'informations sur la liste de diffusion dev-fr