Skip to content

Importing entries

An import fills a map with many entries at once and shows you beforehand which rows it will create, update or skip. All ways start under Mapfolk, Import. The import from Excel and CSV comes with Mapfolk Pro. The free plugin takes over places from GEO my WP and exports every map as CSV.

Import from Excel or CSV (Pro)

  1. Open Import. In the section Import entries, step 1 File, choose the Map the entries belong to.
  2. Prepare the file. Download template (.xlsx) gives you all columns of this map with a sample row. A CSV file needs a header row; the separator (semicolon, comma or tab) and the decimal separator (point or comma) are detected. Save it as UTF-8. The file may be at most 2 MB.
  3. Under Choose file, pick the .xlsx or .csv file. Leave Locate addresses on if rows have an address but no coordinates.
  4. Click Create preview. Step 2 Preview counts what will be created, updated, which terms are new and how many rows have errors.
  5. Open Assign columns if a column was not recognised. For each column in the file, choose a field or Do not take over, then click Apply assignment and check again. Mapfolk remembers the assignment for this map’s next import.
  6. Click Run import. The preview is valid for 15 minutes. Rows the import skipped, and addresses the service did not find, appear in the Error list, which you can save with Download error list (.csv).

Which columns the import recognises

The template uses these column names: id, name, strasse, plz, ort, land, breite, laenge, link, kurztext, logo, telefon, email, oeffnungszeiten, beschreibung, textfeld and one column tax:<taxonomy> per filter group. The import also recognises English names such as street, zip, postcode, city, country, latitude, longitude, phone, e-mail, website and url. Any other column can be assigned by hand, including Address (one line).

A few rules the preview checks:

  • Name is required; a row without one is skipped.
  • Country takes the two-letter ISO code (CH, DE, US). A few country names, such as Switzerland, Germany, Austria, France, Italy and Liechtenstein, are recognised too. Any other name skips the row.
  • Latitude and Longitude accept a point or a comma. A row with coordinates outside the valid range is skipped.
  • Several terms in one cell are separated with |. New terms are created in the filter group, and you can merge duplicates afterwards under Settings, tab Filters, Merge terms.
  • Logo takes the ID or the address of an image that is already in the media library.
  • Short text is cut to 140 characters.

Uploading the same file again does not create duplicates. The import recognises existing entries by the column id or by name and address and updates them; the preview shows for each row which fields change. An empty cell changes nothing, the stored value stays. If the same id appears in several rows with different values, the import skips these rows with their numbers and the entry stays as it is. If a step fails while a row is saved, an existing entry gets its old values back and a new one is removed again. Locating runs one entry after the other, about two minutes for 100 entries. The article Turning addresses into map coordinates explains where coordinates come from.

Take over places from GEO my WP (free)

  1. Set up the map with Existing post type and choose the post type that GEO my WP locates.
  2. Open Import. Under Further ways, the box Take over from GEO my WP shows how many places it found for this post type.
  3. Click Take over places. Coordinates and addresses are taken over without locating again. Entries without valid coordinates stay “not located” and are listed with the reason. GEO my WP stays active until you switch it off yourself. The page on moving from GEO my WP lists what comes over and what stays behind, and entries that share one point are fanned out on the map, as described in showing multiple locations on one map.

Export a map as CSV (free)

  1. Open Import. If the site has more than one map, choose it in the selection at the top.
  2. Under Further ways, click Export entries (.csv). The file holds all entries of the map with coordinates and terms, separated by semicolons.

The export uses the same columns as the import, so with Mapfolk Pro you can edit the file and import it again.

Back to the documentation