Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Etienne Chové
Frederik Ramm a écrit :
> Hi,
> 
> Etienne Chové wrote:
>> I think today france extract still have the same problem :
> 
> It should now be fixed, finally... I hope ;-)

Yes, all right.

Thanks for that.

Etienne

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Thomas Wood
2009/4/27 Etienne Chové :
> Frederik Ramm a écrit :
>> Hi,
>>
>> Gary68 wrote:
>>> just wanted to use a planet slice from geofabrik and noticed that in
>>> bremen.osm.bz2 at least 4 referenced nodes are missing:
>>
>> Osmosis now exports incomplete objects by default, rather than clipping
>> them. One has to explicitly request clipping which is what I've done for
>> tonight's job, so expect old-style clipped files tomorrow.
>
> I think today france extract still have the same problem :
>
> % grep "\"12631399\"" france.osm
>     
>
> This node is used in a way but not declared

The node in question is located in Poole Bay, UK, as part of a ferry
route from Poole to Guernsey -
http://www.openstreetmap.org/browse/way/2784646
http://www.openstreetmap.org/browse/node/12631399

-- 
Regards,
Thomas Wood
(Edgemaster)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Gary68
too many nodes? not really efficient, possibly...

and besides. of course i could do it. but the programs are written for
the format as it was.

gerhard

On Mon, 2009-04-27 at 13:22 +0200, marcus.wolsc...@googlemail.com wrote:
> On Mon, 27 Apr 2009 13:01:34 +0200, Gary68  wrote:
> > it seems the geofabrik job today got stuck. still some countries
> > missing, german bundesländer not calculated.
> > 
> > i just checked croatia and denmark. denmark misses 17 of 1400 nodes that
> > i would have needed for a certain check.
> 
> 
> Mmmhhh... you have the ability to download the extract.
> What about simply asking the API for any node that is missing?
> Your have the ID of the node from the waynode-entry.
> 
> Marcus


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Frederik Ramm
Hi,

Etienne Chové wrote:
> I think today france extract still have the same problem :

It should now be fixed, finally... I hope ;-)

Bye
Frederik



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Frederik Ramm
Hi,

Etienne Chové wrote:
> I think the best would be keeping unclipped way and adding missing nodes 
> in the osm file. Is that possible with osmosis ?

Possible, but painfully slow.

Bye
Frederik


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread marcus.wolschon
On Mon, 27 Apr 2009 09:26:46 +0200, Gary68  wrote:
> there are situations where this is needed. for instance when i want to
> have a rectangle exactly, if i want to clip sharp (maps/pictures).

I guess you are referring to painting ways that leave the visible
area?

> on the other hand if i have a file with referenced nodes where the
> coordinates are missing i will have a problem when i want to use the
> coordinates.

Handle the node as if it did not exist. Skip it (if apropriate with
a log-message).
Works fine for me in rendering, routing and any of the graph-algorithms.
A simple matter of making a program robust instead of just stable.
If input is slightly wrong a program should be able to continue it's task
nonetheless (as long as it's no verifier or the consequences of a slight
error would be dramatic.).

Marcus

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread marcus.wolschon
On Mon, 27 Apr 2009 13:01:34 +0200, Gary68  wrote:
> it seems the geofabrik job today got stuck. still some countries
> missing, german bundesländer not calculated.
> 
> i just checked croatia and denmark. denmark misses 17 of 1400 nodes that
> i would have needed for a certain check.


Mmmhhh... you have the ability to download the extract.
What about simply asking the API for any node that is missing?
Your have the ID of the node from the waynode-entry.

Marcus

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Gary68
it seems the geofabrik job today got stuck. still some countries
missing, german bundesländer not calculated.

i just checked croatia and denmark. denmark misses 17 of 1400 nodes that
i would have needed for a certain check.


On Mon, 2009-04-27 at 11:52 +0200, Etienne Chové wrote:
> Frederik Ramm a écrit :
> > Hi,
> > 
> > Gary68 wrote:
> >> just wanted to use a planet slice from geofabrik and noticed that in
> >> bremen.osm.bz2 at least 4 referenced nodes are missing:
> > 
> > Osmosis now exports incomplete objects by default, rather than clipping 
> > them. One has to explicitly request clipping which is what I've done for 
> > tonight's job, so expect old-style clipped files tomorrow.
> 
> I think today france extract still have the same problem :
> 
> % grep "\"12631399\"" france.osm
>  
> 
> This node is used in a way but not declared.
> 


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Etienne Chové
Frederik Ramm a écrit :
> Hi,
> 
> Gary68 wrote:
>> just wanted to use a planet slice from geofabrik and noticed that in
>> bremen.osm.bz2 at least 4 referenced nodes are missing:
> 
> Osmosis now exports incomplete objects by default, rather than clipping 
> them. One has to explicitly request clipping which is what I've done for 
> tonight's job, so expect old-style clipped files tomorrow.

I think today france extract still have the same problem :

% grep "\"12631399\"" france.osm
 

This node is used in a way but not declared.

-- 
Etienne

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Etienne Chové
Gary68 a écrit :
> there are situations where this is needed. for instance when i want to
> have a rectangle exactly, if i want to clip sharp (maps/pictures).
> 
> on the other hand if i have a file with referenced nodes where the
> coordinates are missing i will have a problem when i want to use the
> coordinates.

I think the best would be keeping unclipped way and adding missing nodes 
in the osm file. Is that possible with osmosis ?

-- 
Etienne

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread Gary68
there are situations where this is needed. for instance when i want to
have a rectangle exactly, if i want to clip sharp (maps/pictures).

on the other hand if i have a file with referenced nodes where the
coordinates are missing i will have a problem when i want to use the
coordinates.

On Mon, 2009-04-27 at 09:07 +0200, marcus.wolsc...@googlemail.com wrote:
> On Fri, 24 Apr 2009 19:15:21 +0200, Gary68  wrote:
> > hi,
> > 
> > just wanted to use a planet slice from geofabrik and noticed that in
> > bremen.osm.bz2 at least 4 referenced nodes are missing:
> > 
> > node 31088130 not found
> > node 257415561 not found
> > node 285091039 not found
> > node 303607968 not found
> > 
> > those are referenced by ways in that file. 
> > 
> > any ideas?
> 
> How is that supposed to be a problem?
> Unless you are working with all of the planet
> that is to be expected.
> 
> What are you doing with the planet-slice that has an issue
> with this situation?
> 
> 
> Marcus


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-27 Thread marcus.wolschon
On Fri, 24 Apr 2009 19:15:21 +0200, Gary68  wrote:
> hi,
> 
> just wanted to use a planet slice from geofabrik and noticed that in
> bremen.osm.bz2 at least 4 referenced nodes are missing:
> 
> node 31088130 not found
> node 257415561 not found
> node 285091039 not found
> node 303607968 not found
> 
> those are referenced by ways in that file. 
> 
> any ideas?

How is that supposed to be a problem?
Unless you are working with all of the planet
that is to be expected.

What are you doing with the planet-slice that has an issue
with this situation?


Marcus

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-24 Thread Frederik Ramm
Hi,

Gary68 wrote:
> just wanted to use a planet slice from geofabrik and noticed that in
> bremen.osm.bz2 at least 4 referenced nodes are missing:

Osmosis now exports incomplete objects by default, rather than clipping 
them. One has to explicitly request clipping which is what I've done for 
tonight's job, so expect old-style clipped files tomorrow.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] planet? geofabrik download...

2009-04-24 Thread Etienne Chové
Gary68 a écrit :
> hi,
> 
> just wanted to use a planet slice from geofabrik and noticed that in
> bremen.osm.bz2 at least 4 referenced nodes are missing:
> 
> node 31088130 not found
> node 257415561 not found
> node 285091039 not found
> node 303607968 not found
> 
> those are referenced by ways in that file. 

I have exactly the same problem. It appears when a way contains some 
nodes inside the bounding polygon and some outside.

In the osm file you have :
   - nodes inside bounding polygon
   - ways containing at leat one node inside

Last week we got inside nodes and truncated ways, but theses ways where 
not real beacause in fact they contains more nodes, now nodes are cited 
but not includes.

Better or worse ? I have no idea but it makes my own scripts crashed... 
I'm patching them.

-- 
Etienne

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] planet? geofabrik download...

2009-04-24 Thread Gary68
hi,

just wanted to use a planet slice from geofabrik and noticed that in
bremen.osm.bz2 at least 4 referenced nodes are missing:

node 31088130 not found
node 257415561 not found
node 285091039 not found
node 303607968 not found

those are referenced by ways in that file. 

any ideas?

tnx

gerhard


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk