WordPress.org

Support

Support » Plugins and Hacks » Basic Google Maps Placemarks » [Plugin: Basic Google Maps Placemarks] Mass Import – CSV sample file

[Plugin: Basic Google Maps Placemarks] Mass Import – CSV sample file

  • 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/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ian Dunn

    @iandunn

    That’s awesome desmillicious, thanks for sharing 🙂

    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

    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 !

    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

    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 ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Basic Google Maps Placemarks] Mass Import – CSV sample file’ is closed to new replies.
Skip to toolbar