Title: Geo Data Store
Author: Scott Cariss
Published: <strong>2011년 5월 13일</strong>
Last modified: 2013년 1월 11일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/geo-data-store.svg)

# Geo Data Store

 작성자: [Scott Cariss](https://profiles.wordpress.org/l3rady/)

[다운로드](https://downloads.wordpress.org/plugin/geo-data-store.2.0.3.zip)

 * [세부사항](https://ko.wordpress.org/plugins/geo-data-store/#description)
 * [평가](https://ko.wordpress.org/plugins/geo-data-store/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/geo-data-store/#installation)
 * [개발](https://ko.wordpress.org/plugins/geo-data-store/#developers)

 [지원](https://wordpress.org/support/plugin/geo-data-store/)

## 설명

This plugin is meant to be used by other developers and to be used together with
themes and other plugins. Many themes and plugins use WordPress meta data table 
to store longitude and latitude co-ordinates for posts. While this works fine the
meta data table cannot be indexed very well. Let’s take for example you have made
a custom post type called ‘properties’. You create 100,000 posts all attached with
latitude and longitude co-ordinates. You want your users to search for those properties
in a 50 mile radius for example. Because of the method of which WordPress stores
the meta data the query is slow especially when dealing with large amounts of data.

This plugin has been made to retro fit your current WordPress install. You as the
developer select, using filters, what meta data you want to start capturing and 
this plugin will put the data in a table better optimized for storing latitude and
longitude co-ordinates. Upon plugin activate existing data will be index and any
data from then on.

Usage:
 Before activating set what meta keys you want this plugin to capture by 
using the filter ‘sc_geodatastore_meta_keys’. Your latitude and longitude values
have to be stored in a single meta field like: `51.507334,-0.127682`

Example usage of the filter:

    ```
    add_filter( 'sc_geodatastore_meta_keys', 'homes_for_sale_geodata' );
    function homes_for_sale_geodata( $keys )
    {
        $keys[] = "properties_address_coords";
        return $keys;
    }
    ```

Notice:
 This plugin is currently limited to only allowing one pair of co-ordinates
per post. Maybe in a later version I will allow multiple pairs per post, but since
this plugin was made to serve my purpose and it serves it well I see no reason to
build upon it yet.

## 설치

 * Upload to plugins dir
 * Activate plugin
 * Add `sc_geodatastore_meta_keys` filter to your functions of plugin file to set
   what meta data keys to capture.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Geo Data Store”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ Scott Cariss ](https://profiles.wordpress.org/l3rady/)

[자국어로 “Geo Data Store”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/geo-data-store)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/geo-data-store/)는, [SVN 저장소](https://plugins.svn.wordpress.org/geo-data-store/)
를 확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/geo-data-store/)
을 [RSS](https://plugins.trac.wordpress.org/log/geo-data-store/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 2.0.3

 * Fixed typo in SQL query preventing data store being updated from meta updates.

#### 2.0.2

 * Fixed typo in SQL query preventing data store being updated from meta updates.

#### 2.0.1

 * Mostly rewritten.
 * Now only supports co-ordinates to be stored in a single meta field (Storing in
   separate meta fields wasn’t really workable without causing problems with removing
   rows from the store on post delete)
 * Entries in data store are now removed when meta data is deleted or post with 
   meta data is deleted.

#### 1.3

 * — Never Publicly Released —
 * Fixed query in getPostIDsByRange() to use correct table name, not `t`.
 * Fixed PHP notice on activation. Thanks @Kaiser http://chat.stackexchange.com/
   transcript/message/2758673#2758673
 * Now hooking into `update_postmeta` and `delete_postmeta`. Credits to @sebastien.
   b for this http://wordpress.stackexchange.com/a/26438/4610
 * Table now stores meta_id as needed to achieve above.

#### 1.2

 * Added link on plugin screen that allows you to force a re-index.
 * Added function getPostIDsByRange() that includes ready made SQL for returning
   all post ID’s in order by distance of a given point

#### 1.1

 * Changed DB key not to be UNIQUE but to be INDEX
 * Added function getPostIDsOfInRange() that includes ready made SQL for searching
   for posts by that are within a given radius from a given point

#### 1.0

 * Initial release

## 기초

 *  버전 **2.0.3**
 *  최근 업데이트: **14년 전**
 *  활성화된 설치 **20+**
 *  워드프레스 버전 ** 3.2 또는 그 이상 **
 *  다음까지 시험됨: **3.4.2**
 *  언어
 * [English (US)](https://wordpress.org/plugins/geo-data-store/)
 * 태그:
 * [geo](https://ko.wordpress.org/plugins/tags/geo/)[latitude](https://ko.wordpress.org/plugins/tags/latitude/)
   [location](https://ko.wordpress.org/plugins/tags/location/)[longitude](https://ko.wordpress.org/plugins/tags/longitude/)
 *  [고급 보기](https://ko.wordpress.org/plugins/geo-data-store/advanced/)

## 평점

 별 5점 만점에 4.5점.

 *  [  1/5-별점 후기     ](https://wordpress.org/support/plugin/geo-data-store/reviews/?filter=5)
 *  [  1/4-별점 후기     ](https://wordpress.org/support/plugin/geo-data-store/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/geo-data-store/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/geo-data-store/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/geo-data-store/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/geo-data-store/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/geo-data-store/reviews/)

## 기여자

 *   [ Scott Cariss ](https://profiles.wordpress.org/l3rady/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/geo-data-store/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://l3rady.com/donate)