[osmosis-dev] Can't load osm file to PostGRESql
Ibrahim Bouchrika
ibrahim_bouchrika at hotmail.com
Mon May 10 15:47:15 BST 2010
Great! It worked!
Thanks for the help!
Date: Mon, 10 May 2010 21:47:28 +1000
Subject: Re: [osmosis-dev] Can't load osm file to PostGRESql
From: brett at bretth.com
To: ibrahim_bouchrika at hotmail.com
CC: osmosis-dev at openstreetmap.org
Can you try downloading this file?
http://www.bretth.com/empty.osm
And then follow Frederik's instructions as below.
osmosis --rx faulty.osm --rx empty.osm --dc --sort-change-0.6 --simc
--wxc good.osc
osmosis --rxc good.osc --rx empty.osm --ac --wx good.osm
On Mon, May 10, 2010 at 8:38 PM, Ibrahim Bouchrika <ibrahim_bouchrika at hotmail.com> wrote:
I tried finding another source of osm-data, but I haven't found anythig yet. openstreetmap itself only alows dumps of less then 50k nodes, and downloading the whole planet file is a bit of overkill (+ it wouldn't fit on my hard drive anymore).
So I guess i'm stuck trying with the cloudmade file, in which case brett's proposal still is the best idea yet...if it would work properly. I still haven't figured out how to get that idea working, and I hope someone could help me further out on this!
From: ibrahim_bouchrika at hotmail.com
To: osmosis-dev at openstreetmap.org
Date: Tue, 4 May 2010 14:29:51 +0000
Subject: Re: [osmosis-dev] Can't load osm file to PostGRESql
I deleted the first line of the file, which started with <xml. The first line is now <osm version="0.6" generator="Osmosis 0.31.1">, but the same error persists.
> Date: Tue, 4 May 2010 16:09:50 +0200
> From: frederik at remote.org
> To: ibrahim_bouchrika at hotmail.com
> CC: osmosis-dev at openstreetmap.org
> Subject: Re: [osmosis-dev] Can't load osm file to PostGRESql
>
> Hi,
>
> Ibrahim Bouchrika wrote:
> > Your idea seams nifty, although it's giving an error on the --rx
> command. I don't know Osmosis well enough to figure out where the error
> comes from. Is it just an error in the syntax or is it because of the
> osm-file?
>
> > Caused by: org.xml.sax.SAXParseException: Content is not allowed in
> prolog.
>
> Can you make sure your empty.osm and your amsterdam.osm begin with the
> characters
>
> <osm
>
> and nothing else?
>
> Bye
> Frederik
>
>
>
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail. Get busy.
Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.
_______________________________________________
osmosis-dev mailing list
osmosis-dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100510/2ab57d22/attachment.html>
More information about the osmosis-dev
mailing list