Hi all,

I am trying to write a script to dump out Postgis polygons (in lat/long) into Mondrian map format. (Once I get the script working, I would happily upload all my mapfiles. I can also share the script, if anyone wants.)

When I try to import counties.map I get the error in the title, but I can't figure out why. I already deleted trailing newlines from the data. The counties file works fine on its own. Does anybody have a clue how to fix?

Here is the first US county in counties.map (after some dramatic simplification of the underlying geometries). The file goes on, obviously for all the counties.

01001 /PFIPS 17
-86.9 32.7
-86.8 32.7
-86.7 32.7
-86.4 32.7
-86.4 32.4
-86.5 32.4
-86.5 32.3
-86.5 32.4
-86.6 32.4
-86.7 32.4
-86.8 32.4
-86.8 32.3
-86.8 32.4
-86.9 32.4
-86.9 32.5
-86.9 32.6
-86.9 32.7

Here are the first two lines from counties.txt:

FIPS NUMPOINTS NAME STATEFIPS COUNT
01001 17 Autauga 01 0.962197356391698