PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > ReviewPost Pro Support Forums > ReviewPost Bug Reports

ReviewPost Bug Reports Let us know about any post installation problems you are having with ReviewPost.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old August 11th, 2006, 08:45 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Zip Code Tables

It seems like all of the latitudes in the databases (at least the ones I checked) are actually longitudes, and vice versa. I noticed this when it gave me a distance of 61 miles from NJ to Virginia. When I changed the 2 zip codes lat/long data to their correct values, the distance was correctly shown as 162. What's the best way to fix this?
tj2653 is offline   Reply With Quote
Old August 11th, 2006, 09:18 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Do you have example zipcodes as a test? I get proper distance in my testing. We use a free zipcode database.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 12th, 2006, 12:01 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
Do you have example zipcodes as a test? I get proper distance in my testing. We use a free zipcode database.
For example:
23336
lon: 37.91312 (these are backwards in the database)
lat: 75.35419

08837
lon: 40.50570 (backwards again)
lat: 74.35418

http://www.buyzips.com/zip/Edison/NJ/08837/Edison.htm <-- link showing these numbers are flip-flopped
tj2653 is offline   Reply With Quote
Old August 12th, 2006, 08:32 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
Our fields are not backwards. on a default install this is the zipcode table

Code:
Content visible to verified customers only.
here is the insert for edison

Code:
Content visible to verified customers only.
Latitude is the last column on an install and look at the insert above 74.35418 therefore our zipcode database is correct
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 13th, 2006, 01:35 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
Our fields are not backwards. on a default install this is the zipcode table

Code:
Content visible to verified customers only.
here is the insert for edison

Code:
Content visible to verified customers only.
Latitude is the last column on an install and look at the insert above 74.35418 therefore our zipcode database is correct
Right, but as shown on http://www.buyzips.com/zip/Edison/NJ/08837/Edison.htm, the 74.35418 is supposed to be the longitude.
tj2653 is offline   Reply With Quote
Old August 13th, 2006, 11:46 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You may alter things as you like this is a free zipcode database posted on the internet so this is not something we support. We support our code not the authenticity of third party stuff. However I would tell you in my testing it works fine cause edison new jersey is 125 miles from me and when I place a product with that zip and enter my zipcode to compare I get 125 miles

If you think all of the things are backwards try issuing these queries in your database

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old August 13th, 2006, 08:30 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jul 2006
Posts: 53
Quote:
Originally Posted by Chuck S View Post
You may alter things as you like this is a free zipcode database posted on the internet so this is not something we support. We support our code not the authenticity of third party stuff. However I would tell you in my testing it works fine cause edison new jersey is 125 miles from me and when I place a product with that zip and enter my zipcode to compare I get 125 miles

If you think all of the things are backwards try issuing these queries in your database
That fixed everything. 95% of the distances are now pretty spot-on, whereas before about 50% were close to correct, and the other 50% were way off. Thanks.
tj2653 is offline   Reply With Quote
Old November 20th, 2006, 12:12 AM   #8 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Florida
Posts: 318
13126 to 34240 brings up 451 miles. Ny to FL is more like 1200 miles.

Has any procedure been written to incorporate a better zipcode database. paid or otherwise?
oldengine is offline   Reply With Quote
Old November 20th, 2006, 10:10 AM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,794
You can try using the queries above and see what comes up for you. The next version will have this correction
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old November 20th, 2006, 09:29 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Oct 2004
Location: Florida
Posts: 318
I ran the queries and now the distance is 1,161 miles. Much closer to target. Thanks!

Last edited by oldengine; November 20th, 2006 at 10:45 PM.
oldengine is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Require Zip Code rcsmith Classifieds Suggestions 16 July 3rd, 2010 03:42 PM
Zip Code tj2653 ReviewPost Bug Reports 3 July 24th, 2006 12:14 PM
Zip Code more then 5 characters? tinpalace ReviewPost How do I...? 1 March 10th, 2006 06:03 AM
Zip Code Does Not Work joe4 Before You Buy 2 December 22nd, 2004 04:23 PM
Zip Code Error HobbyTalk Classifieds Bug Reports 0 December 3rd, 2004 02:27 PM


All times are GMT -5. The time now is 10:04 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0