Home > By category > Scripts >Modules > Geo Data Store



Geo Data Store

  • Downloads: 
  • Views: 
  • Rating:

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'. If you store your co-ordinates in one meta data field like '51.513123,-0.089006' then you need to add the key of that field to $keys['latlng'], but if you store your latitude and longitude values in a separate meta data fields then you need to add the keys of those fields to $keys['lat'] and $keys['lng'].

Example:

<!--code1--><!--ecode1-->add_filter('sc_geodatastore_meta_keys', 'homes_for_sale_geodata');
function homes_for_sale_geodata($keys) {dlT dlT dlT dlT
dlT dlT dlT dlT $keys['lat'][] = "chb_homes_for_sale_address_latitude";
dlT dlT dlT dlT $keys['lng'][] = "chb_homes_for_sale_address_longitude";
dlT dlT dlT dlT return $keys;
}
<!--code2--><!--ecode2-->
Credits: Big thanks to Jan Fabry for helping me with the mammoth re-index query. I thought it couldn't be done in one query and he proved me wrong :P

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.

Install :

* 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.

Free download from Shareware Connection - This plugin is meant to be used by other developers and to be used together with themes and other plugins.

Publisher: l3rady | License: Freeware | Price: 0.00
Version: 1.2 | Size: 10 KB | Platform: PHP, Scripts
Released Date: 10-04-2013 | Rating: 0 | Title: Geo Data Store

Author Url: http://downloads.wordpress.org/plugin/geo-data-store.1.2.zip
Program Info Url: http://downloads.wordpress.org/plugin/geo-data-store.1.2.zip
Download Url: http://downloads.wordpress.org/plugin/geo-data-store.1.2.zip

Geo Data Store keywords:
Geo Data Store related downloads:

Geo data German Streets (English) - For the area of the Federal Republic of Germany more than 2,7 million street coordinates with a coverage of 100% are available. The geo data offered here are in high-precision quality and are present in different coordinate and reference systems.

Geo Data International Streets - For many countries street coordinates are present with coverage degrees upto 100 percent. The geo data offered here are in high-precision quality and are present in different coordinate and reference systems.

Geo Data German Admin (English) - Geodata of the Federal Republic Germany with municipalities, postal codes, telephone preselections. Georeferences as Gauss Krueger- UTM- and geographic coordinates. Suitable for branch searches, periphery searches and distance computations.

Geo Data International Admin (English) - Geodata of the European and International countries offers you municipalities and postal codes.

Geo Data German Admin (formerly Geodaten German Houses) - Geo Data German Admin contains geodata of the Federal Republic of Germany with geo referenced towns, municipalities, town quarters and other administrative units, postal codes, telephone preselections, nature areas, landscapes, climatic zones and off

Shareware Connection periodically updates pricing and software information of 'Geo Data Store' from company source 'l3rady' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'Geo Data Store' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Geo Data Store.

New Reviews

Trend Micro HouseCall - With time, PC users find it increasingly difficult to keep their systems free of malware and rogue apps, despite using latest and feature packed security software. This is mostly owing to the evolving nature of malware and newer types of ...

SyncMate - Just like windows users, Macintosh users also need to sync their data with myriads of other devices and other Macs. It is possible to use Apple’s much touted iCloud to sync a Mac with other iOS based devices but that may not fit ...

Baidu PC Faster - To keep your laptop or desktop computer running at peak speed and extract optimal performance out of it, using third party apps may be necessary. While some users still rely on Windows inbuilt PC cleanup and maintenance tools, some third party ...

Plants vs. Zombies 2 - These days there are lot of tower defense games on offer. Coming from the stable of Electronics Arts, which is one of the leading companies in the gaming arena, Plant vs. Zombies is a decent game particularly if you are interested in garden ...

Cyotek WebCopy - It will be hard to find a computer user nowadays who does not need to access the web. Using web has become near mandatory for various personal and professional reasons. However, not everyone who owns a computer and accesses the web is blessed ...

Portable SMPlayer - Using media player software is something PC users are not alien to, as it is. Even the most workaholic users indulge in listening to music tracks at times. While the WMP, which comes with Windows, may serve needs for some users, it is not ...

LazPaint Portable - When it comes to choosing a suitable image editor, PC users are bombarded with options! There are a huge number of apps and some of them cost a lot. If you are looking for a freeware image editor that offers decent image editing features and ...

Groovy Media Player - There is hardly any PC user who does not listen to music while working on PC or at leisure time. For media playback on Windows PC, there are so many apps. You can opt for default WMP that comes with the OS. However, there are several other third ...

Hanso Player - Using a media player application to play back music files is something nearly every PC user needs to do. There are so many applications that the abundance can leave average users somewhat puzzled. If the bundled WMP does not suit your taste but ...

Norton Power Eraser - Getting rid of malware and other types of rogue applicationlications with a regular antivirus can prove to be a tough task nowadays. The way malicious users are becoming smarter with time; it makes sense to use an additional layer of protection ...




New Downloads

Member Login

PHPJabbers offers you a light
and user-friendly web tool
enabling you to create
password-protected areas on
your site. ...

Facebook Page Publish

"Facebook Page Publish"
publishes your blog posts to
the wall of your Facebook
profile, page or application

Iterative Closest Point
Method

ICP fit points in data to the
points in model

uContext - Clickbank
In-Text Affiliate Links

uContext is a free service
that locates keywords in your
content and turns them into
affiliate links that take your
...

getOdC

Based on Physica A 375 (2007)
365 373.

ASPTemplate

ASPTemplate is an ASP/ASPX
HTML template engine.

BNS Twitter Follow Button

This widget also creates a
shortcode that can be used in
posts and pages.

BillyBen Ring

BB Rings can display your
links, with or without their
own category, your categories,
your page and your posts tags.

ffndgrid Fast 'n' Furious
N-D data gridding

FFNDGRID grids unevenly spaced
data.

Modeless Window

Modeless Window presents a
window that stays
active/visible on the user's
screen until explicitly
dismissed.

rbgooey

Rbgooey is an alternative GUI
library for Rubygame users.

Date Formatting And Format
Validation Script

This javascript library
contains functions that handle
date and time operations