[OSM-dev] generate_xml.py is not running

yvecai yvecai at gmail.com
Sun Jan 30 07:17:46 GMT 2011


On 30. 01. 11 07:38, Parveen Arora wrote:
> To render the map I have tried to run genrate_xml.py with following command
> $./generate_xml.py --dbname gis --user parveen --accept-none
>
> but the error is:
> Usage: generate_xml.py [template xml] [output xml]<parameters>
>
> Full help:
>   $ generate_xml.py -h (or --help for possible options)
>
> Read 'osm.xml' and print resulting xml to stdout:
>   $ generate_xml.py osm.xml
>
> Read template, save output xml, and pass variables as options
>   $ generate_xml.py osm.xml my_osm.xml --dbname spain --user postgres --host ''
>
> generate_xml.py: error: The 'inc' path you gave is bogus!
>
> I think their is some problem in the command i am running
>
> How to use it correctly?
Try:

$./generate_xml.py osm.xml --dbname gis --user parveen --accept-none

Yves



More information about the dev mailing list