adding map parser

much of it copied from shapefile parser