[OSM-dev] Mapnik: Data format in world_boundaries.tar.bz2 ?

Martijn van Oosterhout kleptog at gmail.com
Thu Nov 29 13:35:09 GMT 2007


On Nov 29, 2007 2:06 PM, Hakan Tandogan <hakan at gurkensalat.com> wrote:
> I fetched the Mapnik world_boundaries because it seems to contain a few
> national boundaries which are not contained in the WDB archives.
>
> I can open the shape files just fine, but I don't know what units the
> points are in, the coordinates are quite large, and I don't want to
> guess...

Hrm, did it not come with a .prj with some text in it, that how the
projection information is usually conveyed.

> The first few points in the first shape are:
> mapnikborders2osm> perl mapnikborders2osm.pl
> 31168 shapes in data/world_bnd_m
> Shape # 1 is Geo::ShapeFile::Shape=HASH(0x1a63efc), 14 points
>     Point Point(X=-19940523.3427004,Y=11570442.5297143)
>     Point Point(X=-19948430.3286263,Y=11572187.9256366)

Some Mercator variant obviously...

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list