[Openstreetmap-dev] Strange data allowed?

SteveC steve at asklater.com
Mon Oct 3 13:18:28 BST 2005


* @ 02/10/05 08:04:06 AM immanuel.scholz at gmx.de wrote:
> Hi,
> 
> When importing GPX, what do the server do with such GPX data:
> 
> - A segment without track points

nothing gets imported but the gpx file is listed as imported.

> - A segment with only one point

that one point gets imported

> - A track without any segments

same as the first one

> - A route without any points (are routes imported?)

same as the first.

> Regardless of the structure, should it be possible to import:
> 
> - tracks without any line segments

no, it shouldn't

> - tracks which contain the same line segment more than once
> - line segments that are not part of tracks (not possible in GPX)
> - line segments with the same point as start- and end-point

no to all.

I'm glad you're bringing things like this up. could you also create bugs
in bugzilla so I can keep track of things and fix them?

> About areas (not implemented yet). Should it be possible to have:
> 
> - areas with fewer than 3 points
> - areas which points are in a straight line
> - areas with the same point more than once
> - self-overlapping areas

no to all, and very much no to the last one

have fun,

SteveC steve at asklater.com http://www.asklater.com/steve/




More information about the dev mailing list