File: input.feature

package info (click to toggle)
osm2pgsql 2.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,772 kB
  • sloc: cpp: 60,940; python: 1,115; ansic: 763; sh: 25; makefile: 14
file content (15 lines) | stat: -rw-r--r-- 442 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Feature: Tests for bad input data

    Scenario: Overly large relations are ignored
        Given the python-formatted OSM data
            """
            n1 x45 y34
            r1 Ttype=multipolygon M{','.join('n' + str(i) + '@' for i in range(33000))}
            """

        When running osm2pgsql pgsql with parameters
            | --slim |

        Then table planet_osm_nodes has 1 row
        Then table planet_osm_rels has 0 rows