WordPress.org

Ready to get started?Download WordPress

Forums

Geo Mashup
[resolved] Duplicate keys in wp_geo_mashup_locations (2 posts)

  1. chalavi
    Member
    Posted 2 years ago #

    Hi,

    I've import the table wp_geo_mashup_locations directly and I have duplicate keys (the latlng key is unique)
    Is it possible to change this or not ?

    I have 40.000 items in my database and I use direct SQL injection.

    I have a lot of elements with the same lat and long -example: a lot of old houses in the same square-
    or
    in a little village, all the items have the same lat/long when I have not specific lat/long

    Regards,

    Vic

    http://wordpress.org/extend/plugins/geo-mashup/

  2. Dylan Kuhn
    Member
    Plugin Author

    Posted 2 years ago #

    Geo Mashup stores each location only once. If multiple items share a location, they reference it from the geo_mashup_relationships table. The plugin will manage this if you use the API, but you'll have to do it if you want to load data via directly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.