WordPress.org

Ready to get started?Download WordPress

Forums

Basic Google Maps Placemarks
Mass Import - CSV sample file (6 posts)

  1. desmillicious
    Member
    Posted 2 years ago #

    Hi everyone, if you are like me and needed to import lots of placemarks into this great plugin then you can using a .csv file formatted correctly and the CSV Importer plugin (which works with custom taxonomies).

    Here we go:
    1) Download the CSV Importer plugin, install it into your wordpress
    2) Create a dummy category (eg: Placemarks) - this is not used but necessary for the importer to work
    3) Download the following .csv sample from here file and open using xcel or open office and add your placemark information in the appropriate column: **IMPORTANT** column four (post_type) must have bgmp for every adress, this ensures it is inserted into the Placemarks custom post type, and the plugin will see it.
    4) save the file as a .csv using the "save as" command
    5) upload the file into the CSV Importer tool in wordpress, selecting your dummy category that you made in step 2.

    DONE!

    Notes:
    Unfortunately the addresses do not geo-code when you do this, but all you need to do to geo code them is edit each Placemark once they are uploaded and press "update". It will then geo-code your placemarks.
    Also, if you are using Placemark categories, you will have to add these manually as there is no direct relationship between the Placemark and its category. This is due to the wordpress wp_terms_relationships data structure and there is no work-around that I am aware of.

    http://wordpress.org/extend/plugins/basic-google-maps-placemarks/

  2. Ian Dunn
    Member
    Plugin Author

    Posted 2 years ago #

    That's awesome desmillicious, thanks for sharing :)

  3. coopersquare
    Member
    Posted 1 year ago #

    I am uploading almost 800 data points. Is there anyway to "Update" all Placemarks at once, or whatever is necessary to geo-code all of them at once? Thanks! ~Daniel

  4. Matt317
    Member
    Posted 1 year ago #

    Hello,
    I don't understand how to fill the csv file. In the CSV sample, there is only one column and two lines like this :

    csv_post_title,bgmp_address,csv_post_post,csv_post_type
    Your Placemark Name,Your Placemark Address,Your Placemark Content (for the editor),bgmp

    Can you give more precisions please.

    Thank you !

  5. ABCDiamond
    Member
    Posted 1 year ago #

    Matt,
    The comma in the example, is the column break so you have these FOUR column headers.

    csv_post_title,
    bgmp_address,
    csv_post_post,
    csv_post_type

    The second line is an example of what goes in each column.
    Col 1: Your Placemark Name,
    Col 2: Your Placemark Address,
    Col 3: Your Placemark Content (for the editor),
    Col 4: bgmp

  6. Matt317
    Member
    Posted 1 year ago #

    It's works now ! Thank you !
    I think it's not possible to add an icon image for all placemarks at the same time...is it right ?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic