GeoCoder Object:FAQ: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
__FORCETOC__
[[GeoCoder Object|← GeoCoder Object]]
{{CustomTOC}}
==How is Logging Data Handled?==
Geocoder Object will use port 443 to send traffic to our servers. We encrypt and decrypt the traffic ourselves.
 
The object will make a call out to this domain:
<pre>https://mdusagelogger.melissadata.net/</pre>
 
Currently, the logging data is sent to 216.231.3.177. However, we reserve the right to change the IP Address in the future. Please reference our IP ranges and allow them to future-proof your firewall access.
*[[IP Address Information]]
 
 
==What is GeoPoints?==
==What is GeoPoints?==
;Answer:
GeoPoints is a GeoCoder add-on that enables rooftop GeoCoding, as opposed to the standard Zip+4 level of accuracy.  
:GeoPoints is a GeoCoder add-on that enables rooftop GeoCoding, as opposed to the standard Zip+4 level of accuracy.  


:To activate GeoPoints, simply set the path to the GeoPoints Data Files:
To activate GeoPoints, simply set the path to the GeoPoints Data Files:
<blockquote>
<pre>geoObj.PathToGeoPointDataFiles = dFILELOC;
<pre>geoObj.PathToGeoPointDataFiles = dFILELOC;
geoObj.GeoPoint("Zip", "Plus4", "DPC");</pre>
geoObj.GeoPoint("Zip", "Plus4", "DPC");</pre>
</blockquote>
The data for GeoPoints is provided by Tele Atlas.  
:The data for GeoPoints is provided by Tele Atlas.  


:Also, in order to make use GeoPoints, you will need to use a different license string from GeoCoder. Contact your Sales Representative for a GeoPoints Linese:
Also, in order to make use GeoPoints, you will need to use a different License Key from GeoCoder. Contact your Sales Representative for a GeoPoints License Key:
:1-800-MELISSA ext. 3  
1-800-MELISSA ext. 3  




==What are the differences between the COM and standard version of GeoCoder?==
==What are the differences between the COM and standard version of GeoCoder?==
;Answer:
There are essentially no differences in the underlying code for the COM version and the Standard version of GeoCoder Object. The COM version has a COM interface layer used to communicate between your code and GeoCoder Object and is supported by many different languages. The Standard version of GeoCoder Object, and it is an unmanaged dll that must be included into your program which eliminates the extra latency created by the COM layer.
:There are essentially no differences in the underlying code for the COM version and the Standard version of GeoCoder Object. The COM version has a COM interface layer used to communicate between your code and GeoCoder Object and is supported by many different languages. The Standard version of GeoCoder Object, and it is an unmanaged dll that must be included into your program which eliminates the extra latency created by the COM layer.




==What is GeoCoding?==
==What is GeoCoding?==
;Answer:
GeoCoding is the process that assigns a latitude-longitude coordinate to a valid ZIP+4. Once a latitude-longitude coordinate is assigned, the data can be used for distance mapping or in a spatial search.  
:GeoCoding is the process that assigns a latitude-longitude coordinate to a valid ZIP+4. Once a latitude-longitude coordinate is assigned, the data can be used for distance mapping or in a spatial search.  


:Melissa Data’s GeoCoder Object will attempt to return the coordinates of an address based on the ZIP+4® code for that address. This (Plus4) centroid is usually compact and averages 9 households. In addition to Latitude and Longitude, the object returns Census Data such as Census Blocks, Tracts, County Names and FIPS numbers.  
Melissa Data’s GeoCoder Object will attempt to return the coordinates of an address based on the ZIP+4® code for that address. This (Plus4) centroid is usually compact and averages 9 households. In addition to Latitude and Longitude, the object returns Census Data such as Census Blocks, Tracts, County Names and FIPS numbers.  


:The Latitude returned by GeoCoder will always be a positive latitude as all US ZIP CodesTM are situated north of the equator. The Longitude will always be a negative longitude as all US ZIP Codes are all situated west of the Greenwich meridian.
The Latitude returned by GeoCoder will always be a positive latitude as all US ZIP CodesTM are situated north of the equator. The Longitude will always be a negative longitude as all US ZIP Codes are all situated west of the Greenwich meridian.


:There are also methods like Compute Distance and Bearing which can be used to Calculate the distance between two Plus4s and their general direction.  
There are also methods like Compute Distance and Bearing which can be used to Calculate the distance between two Plus4s and their general direction.  




==What Data Files are used by GeoPoints?==
==What Data Files are used by GeoPoints?==
;Answer:
The following are the required data files used by GeoPoints:
:The following are the required data files used by GeoPoints:
*All GeoCoder Data Files
:*All GeoCoder Data Files
*mdGeoCode.db3
:*mdGeoPoint.dat
:*mdGeoPoint.idx




==What should I do when installing GeoCoder?==
==What should I do when installing GeoCoder?==
;Answer:
When installing GeoCoder, always read the changes.txt file on the root of the CD. It will contain any changes that were made since the last release of GeoCoder. Some changes may require rewriting or recompiling your application, so it is important to always check the changes file.
:When installing GeoCoder, always read the changes.txt file on the root of the CD. It will contain any changes that were made since the last release of GeoCoder. Some changes may require rewriting or recompiling your application, so it is important to always check the changes file.




==What information does GeoCoder provide?==
==What information does GeoCoder provide?==
;Answer:
GeoCoder will provide the following information for a valid ZIP and Plus4 combination:  
:GeoCoder will provide the following information for a valid ZIP and Plus4 combination:  
*Latitude  
:*Latitude  
*Longitude  
:*Longitude  
*County FIPS  
:*County FIPS  
*County Name  
:*County Name  
*Census Block  
:*Census Block  
*Census Tract  
:*Census Tract  
*Place Code  
:*Place Code  
*Place Name  
:*Place Name  
*CBSA Information
:*CBSA Information
*CBSA Division Information
:*CBSA Division Information
*Time Zone
:*Time Zone


:GeoCoder can also compute the distance and bearing between two latitude/longitudinal sets.
GeoCoder can also compute the distance and bearing between two latitude/longitudinal sets.




==What inputs are necessary for Geocoding?==
==What inputs are necessary for Geocoding?==
;Answer:
The minimum input is a ZIP Code. If you enter a ZIP Code, GeoCoder will give you the latitude and longitude of that ZIP Code based on population density. (Closest to the most dense area of the ZIP Code) To get plus4 accuracy, you must enter both a ZIP Code and a plus4.  
:The minimum input is a ZIP Code. If you enter a ZIP Code, GeoCoder will give you the latitude and longitude of that ZIP Code based on population density. (Closest to the most dense area of the ZIP Code) To get plus4 accuracy, you must enter both a ZIP Code and a plus4.  




==What type of Geodetic system does GeoCoder use?==
==What type of Geodetic system does GeoCoder use?==
;Answer:
WGS-84 is the geodetic system used in the object’s data to determine bearing and distance. WGS-84 is an earth fixed global reference frame, including an earth model.  
:WGS-84 is the geodetic system used in the object’s data to determine bearing and distance. WGS-84 is an earth fixed global reference frame, including an earth model.  


:This standard is used by the European Air Traffic Control and is a standard mapping reference used by many countries.
This standard is used by the European Air Traffic Control and is a standard mapping reference used by many countries.




==How do I use GeoCoder as a Distance Calculator?==
==How do I use GeoCoder as a Distance Calculator?==
;Answer:
GeoCoder can be used to determine the distance between two points. For this functionality, you only need the ZIP and Plus4 from the two points. That can be obtained using Address Object. Once you have that, run GeoCoder on those two locations and extract the latitude and longitude. Then, simply pass those two sets of latitude/longitudes into the ComputeDistance() method, and a distance of miles will be returned to you.
:GeoCoder can be used to determine the distance between two points. For this functionality, you only need the ZIP and Plus4 from the two points. That can be obtained using Address Object. Once you have that, run GeoCoder on those two locations and extract the latitude and longitude. Then, simply pass those two sets of latitude/longitudes into the ComputeDistance() method, and a distance of miles will be returned to you.
 
<blockquote>
<pre>geoObj.GeoCoder(Location1ZIP, Location1Plus4)
<pre>geoObj.GeoCoder(Location1ZIP, Location1Plus4)
Lat1 = geoObj.latitude
Lat1 = geoObj.latitude
Line 86: Line 85:
Long2 = geoObj.longitude
Long2 = geoObj.longitude


Miles = geoObj.ComputeDistance(Lat1,Long1,Lat2,Long2)</pre>
Miles = geoObj.ComputeDistance(Lat1,Long1,Lat2,Long2)
</blockquote>
</pre>


:This can be used for applications like a Dealer Locator where you have a point of origin and several dealer locations. You would compute the distance from the origin to each dealer location and pick the one with the smallest distance.
This can be used for applications like a Dealer Locator where you have a point of origin and several dealer locations. You would compute the distance from the origin to each dealer location and pick the one with the smallest distance.




==How often is GeoCoder updated?==
==How often is GeoCoder updated?==
;Answer:
GeoCoder is released as quarterly updates (Spring, Summer, Winter, Fall) and is valid for 9 months after its release.
:GeoCoder is released as quarterly updates (Spring, Summer, Winter, Fall) and is valid for 9 months after its release.




==How do I determine the bearing of a location?==
==How do I determine the bearing of a location?==
;Answer:
GeoCoder can also compute the bearing of a location from an origin location. Bearing is the clockwise angle of the destination in reference to the origin with 0° being North, 90° East, 180° South, 270° west. Similar to ComputeDistance, the ComputeBearing method takes in two sets of latitude/longitudes. The bearing is returned as a degree ranging from 0 to 360.
:GeoCoder can also compute the bearing of a location from an origin location. Bearing is the clockwise angle of the destination in reference to the origin with 0° being North, 90° East, 180° South, 270° west. Similar to ComputeDistance, the ComputeBearing method takes in two sets of latitude/longitudes. The bearing is returned as a degree ranging from 0 to 360.
 
<blockquote>
<pre>geoObj.GeoCoder(Location1ZIP, Location1Plus4)
<pre>geoObj.GeoCoder(Location1ZIP, Location1Plus4)
Lat1 = geoObj.latitude
Lat1 = geoObj.latitude
Line 109: Line 106:
Long2 = geoObj.longitude
Long2 = geoObj.longitude


Direction = geoObj.ComputeBearing(Lat1,Long1,Lat2,Long2)</pre>
Direction = geoObj.ComputeBearing(Lat1,Long1,Lat2,Long2)
</blockquote>
</pre>




==How accurate is GeoCoder?==
==How accurate is GeoCoder?==
;Answer:
The latitude and longitude data that GeoCoder uses is based on the Plus4. So, GeoCoder Object by itself is accurate to the Zip+4. The GeoPoints add-on data for the object appends more precise lat/long coordinates to the ZIP+4 + Delivery Point – the 11-digit level of an address or parcel. If neither the 9-digit or 11-digit lat/long coordinates are available, GeoCoder Object will return coordinates based on (1) the ZIP+2 or (2) the 5-digit ZIP.  
:The latitude and longitude data that GeoCoder uses is based on the Plus4. So, GeoCoder Object by itself is accurate to the Zip+4. The GeoPoints add-on data for the object appends more precise lat/long coordinates to the ZIP+4 + Delivery Point – the 11-digit level of an address or parcel. If neither the 9-digit or 11-digit lat/long coordinates are available, GeoCoder Object will return coordinates based on (1) the ZIP+2 or (2) the 5-digit ZIP.  




==What Data Files are used by GeoCoder?==
==What Data Files are used by GeoCoder?==
;Answer:
The following is the required data file used by GeoCoder:
:The following are the required data files used by GeoCoder:
*<code>mdGeoCode.db3</code>
:*mdCbsa.dat
:*mdCbsa.idx
:*mdGeo.cty
:*mdGeo.dat
:*mdGeo.idx
:*mdGeo.lic
:*mdGeo.plc




[[Category:FAQ]]
[[Category:FAQ]]
[[Category:GeoCoder Object]]
[[Category:GeoCoder Object]]

Latest revision as of 23:31, 13 September 2021

← GeoCoder Object


How is Logging Data Handled?

Geocoder Object will use port 443 to send traffic to our servers. We encrypt and decrypt the traffic ourselves.

The object will make a call out to this domain:

https://mdusagelogger.melissadata.net/

Currently, the logging data is sent to 216.231.3.177. However, we reserve the right to change the IP Address in the future. Please reference our IP ranges and allow them to future-proof your firewall access.


What is GeoPoints?

GeoPoints is a GeoCoder add-on that enables rooftop GeoCoding, as opposed to the standard Zip+4 level of accuracy.

To activate GeoPoints, simply set the path to the GeoPoints Data Files:

geoObj.PathToGeoPointDataFiles = dFILELOC;
geoObj.GeoPoint("Zip", "Plus4", "DPC");

The data for GeoPoints is provided by Tele Atlas.

Also, in order to make use GeoPoints, you will need to use a different License Key from GeoCoder. Contact your Sales Representative for a GeoPoints License Key: 1-800-MELISSA ext. 3


What are the differences between the COM and standard version of GeoCoder?

There are essentially no differences in the underlying code for the COM version and the Standard version of GeoCoder Object. The COM version has a COM interface layer used to communicate between your code and GeoCoder Object and is supported by many different languages. The Standard version of GeoCoder Object, and it is an unmanaged dll that must be included into your program which eliminates the extra latency created by the COM layer.


What is GeoCoding?

GeoCoding is the process that assigns a latitude-longitude coordinate to a valid ZIP+4. Once a latitude-longitude coordinate is assigned, the data can be used for distance mapping or in a spatial search.

Melissa Data’s GeoCoder Object will attempt to return the coordinates of an address based on the ZIP+4® code for that address. This (Plus4) centroid is usually compact and averages 9 households. In addition to Latitude and Longitude, the object returns Census Data such as Census Blocks, Tracts, County Names and FIPS numbers.

The Latitude returned by GeoCoder will always be a positive latitude as all US ZIP CodesTM are situated north of the equator. The Longitude will always be a negative longitude as all US ZIP Codes are all situated west of the Greenwich meridian.

There are also methods like Compute Distance and Bearing which can be used to Calculate the distance between two Plus4s and their general direction.


What Data Files are used by GeoPoints?

The following are the required data files used by GeoPoints:

  • All GeoCoder Data Files
  • mdGeoCode.db3


What should I do when installing GeoCoder?

When installing GeoCoder, always read the changes.txt file on the root of the CD. It will contain any changes that were made since the last release of GeoCoder. Some changes may require rewriting or recompiling your application, so it is important to always check the changes file.


What information does GeoCoder provide?

GeoCoder will provide the following information for a valid ZIP and Plus4 combination:

  • Latitude
  • Longitude
  • County FIPS
  • County Name
  • Census Block
  • Census Tract
  • Place Code
  • Place Name
  • CBSA Information
  • CBSA Division Information
  • Time Zone

GeoCoder can also compute the distance and bearing between two latitude/longitudinal sets.


What inputs are necessary for Geocoding?

The minimum input is a ZIP Code. If you enter a ZIP Code, GeoCoder will give you the latitude and longitude of that ZIP Code based on population density. (Closest to the most dense area of the ZIP Code) To get plus4 accuracy, you must enter both a ZIP Code and a plus4.


What type of Geodetic system does GeoCoder use?

WGS-84 is the geodetic system used in the object’s data to determine bearing and distance. WGS-84 is an earth fixed global reference frame, including an earth model.

This standard is used by the European Air Traffic Control and is a standard mapping reference used by many countries.


How do I use GeoCoder as a Distance Calculator?

GeoCoder can be used to determine the distance between two points. For this functionality, you only need the ZIP and Plus4 from the two points. That can be obtained using Address Object. Once you have that, run GeoCoder on those two locations and extract the latitude and longitude. Then, simply pass those two sets of latitude/longitudes into the ComputeDistance() method, and a distance of miles will be returned to you.

geoObj.GeoCoder(Location1ZIP, Location1Plus4)
Lat1 = geoObj.latitude
Long1 = geoObj.longitude

geoObj. GeoCoder(Location2ZIP, Location2Plus4)
Lat2 = geoObj.latitude
Long2 = geoObj.longitude

Miles = geoObj.ComputeDistance(Lat1,Long1,Lat2,Long2)

This can be used for applications like a Dealer Locator where you have a point of origin and several dealer locations. You would compute the distance from the origin to each dealer location and pick the one with the smallest distance.


How often is GeoCoder updated?

GeoCoder is released as quarterly updates (Spring, Summer, Winter, Fall) and is valid for 9 months after its release.


How do I determine the bearing of a location?

GeoCoder can also compute the bearing of a location from an origin location. Bearing is the clockwise angle of the destination in reference to the origin with 0° being North, 90° East, 180° South, 270° west. Similar to ComputeDistance, the ComputeBearing method takes in two sets of latitude/longitudes. The bearing is returned as a degree ranging from 0 to 360.

geoObj.GeoCoder(Location1ZIP, Location1Plus4)
Lat1 = geoObj.latitude
Long1 = geoObj.longitude

geoObj. GeoCoder(Location2ZIP, Location2Plus4)
Lat2 = geoObj.latitude
Long2 = geoObj.longitude

Direction = geoObj.ComputeBearing(Lat1,Long1,Lat2,Long2)


How accurate is GeoCoder?

The latitude and longitude data that GeoCoder uses is based on the Plus4. So, GeoCoder Object by itself is accurate to the Zip+4. The GeoPoints add-on data for the object appends more precise lat/long coordinates to the ZIP+4 + Delivery Point – the 11-digit level of an address or parcel. If neither the 9-digit or 11-digit lat/long coordinates are available, GeoCoder Object will return coordinates based on (1) the ZIP+2 or (2) the 5-digit ZIP.


What Data Files are used by GeoCoder?

The following is the required data file used by GeoCoder:

  • mdGeoCode.db3