GeometryInfo


Click here for a complete list of operations.

GeocodePro

Get the x, y coordinates, city, city fips, state, state fips, zipcode, county, county fips, county subdivision, school district, census tract, census block group, area code, traffic zone, voting district, core based statistical area, combined statistical area and metropolitan division based on input adddress. It returns the result as a object instance of AddressInfo.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
key:
street:
city:
state:
zip:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx HTTP/1.1
Host: www.dyngeometry.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.DynGeometry.com/WebService/GeocodePro"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GeocodePro xmlns="http://www.DynGeometry.com/WebService/">
      <key>string</key>
      <street>string</street>
      <city>string</city>
      <state>string</state>
      <zip>string</zip>
    </GeocodePro>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GeocodeProResponse xmlns="http://www.DynGeometry.com/WebService/">
      <GeocodeProResult>
        <longitude>double</longitude>
        <latitude>double</latitude>
        <geoStreet>string</geoStreet>
        <geoCity>string</geoCity>
        <geoState>string</geoState>
        <geoZipcode>string</geoZipcode>
        <censusCity>
          <cityFIPS>string</cityFIPS>
          <cityName>string</cityName>
          <state>string</state>
        </censusCity>
        <state>
          <stateFIPS>string</stateFIPS>
          <stateName>string</stateName>
          <stateAbbr>string</stateAbbr>
        </state>
        <zipCode>
          <zipCode>string</zipCode>
          <zipCity>string</zipCity>
          <state>string</state>
        </zipCode>
        <county>
          <countyFIPS>string</countyFIPS>
          <countyName>string</countyName>
          <state>string</state>
        </county>
        <countySubdivision>
          <countySubdivisionName>string</countySubdivisionName>
          <countySubdivisionFIPS>string</countySubdivisionFIPS>
        </countySubdivision>
        <censusTractFIPS>string</censusTractFIPS>
        <blockGroupFIPS>string</blockGroupFIPS>
        <coreBasedStatisticalArea>
          <CBSAName>string</CBSAName>
          <CBSAID>string</CBSAID>
        </coreBasedStatisticalArea>
        <combinedStatisticalArea>
          <CSAName>string</CSAName>
          <CSAID>string</CSAID>
        </combinedStatisticalArea>
        <metropolitanDivision>
          <METDIVName>string</METDIVName>
          <METDIVID>string</METDIVID>
        </metropolitanDivision>
        <schoolDistrict>
          <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
          <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
          <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
          <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
          <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
          <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
        </schoolDistrict>
        <trafficZone>
          <trafficZoneName>string</trafficZoneName>
          <trafficZoneID>string</trafficZoneID>
        </trafficZone>
        <votingDistrict>
          <votingDistrictName>string</votingDistrictName>
          <votingDistrictID>string</votingDistrictID>
        </votingDistrict>
        <areaCode>
          <areaCode>
            <string>string</string>
            <string>string</string>
          </areaCode>
          <state>string</state>
        </areaCode>
        <geocodeLevel>int</geocodeLevel>
        <error_no>int</error_no>
        <error_desc>string</error_desc>
      </GeocodeProResult>
    </GeocodeProResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx HTTP/1.1
Host: www.dyngeometry.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GeocodePro xmlns="http://www.DynGeometry.com/WebService/">
      <key>string</key>
      <street>string</street>
      <city>string</city>
      <state>string</state>
      <zip>string</zip>
    </GeocodePro>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GeocodeProResponse xmlns="http://www.DynGeometry.com/WebService/">
      <GeocodeProResult>
        <longitude>double</longitude>
        <latitude>double</latitude>
        <geoStreet>string</geoStreet>
        <geoCity>string</geoCity>
        <geoState>string</geoState>
        <geoZipcode>string</geoZipcode>
        <censusCity>
          <cityFIPS>string</cityFIPS>
          <cityName>string</cityName>
          <state>string</state>
        </censusCity>
        <state>
          <stateFIPS>string</stateFIPS>
          <stateName>string</stateName>
          <stateAbbr>string</stateAbbr>
        </state>
        <zipCode>
          <zipCode>string</zipCode>
          <zipCity>string</zipCity>
          <state>string</state>
        </zipCode>
        <county>
          <countyFIPS>string</countyFIPS>
          <countyName>string</countyName>
          <state>string</state>
        </county>
        <countySubdivision>
          <countySubdivisionName>string</countySubdivisionName>
          <countySubdivisionFIPS>string</countySubdivisionFIPS>
        </countySubdivision>
        <censusTractFIPS>string</censusTractFIPS>
        <blockGroupFIPS>string</blockGroupFIPS>
        <coreBasedStatisticalArea>
          <CBSAName>string</CBSAName>
          <CBSAID>string</CBSAID>
        </coreBasedStatisticalArea>
        <combinedStatisticalArea>
          <CSAName>string</CSAName>
          <CSAID>string</CSAID>
        </combinedStatisticalArea>
        <metropolitanDivision>
          <METDIVName>string</METDIVName>
          <METDIVID>string</METDIVID>
        </metropolitanDivision>
        <schoolDistrict>
          <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
          <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
          <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
          <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
          <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
          <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
        </schoolDistrict>
        <trafficZone>
          <trafficZoneName>string</trafficZoneName>
          <trafficZoneID>string</trafficZoneID>
        </trafficZone>
        <votingDistrict>
          <votingDistrictName>string</votingDistrictName>
          <votingDistrictID>string</votingDistrictID>
        </votingDistrict>
        <areaCode>
          <areaCode>
            <string>string</string>
            <string>string</string>
          </areaCode>
          <state>string</state>
        </areaCode>
        <geocodeLevel>int</geocodeLevel>
        <error_no>int</error_no>
        <error_desc>string</error_desc>
      </GeocodeProResult>
    </GeocodeProResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WebServiceV2/GeometryInfo.asmx/GeocodePro?key=string&street=string&city=string&state=string&zip=string HTTP/1.1
Host: www.dyngeometry.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<AddressInfo xmlns="http://www.DynGeometry.com/WebService/">
  <longitude>double</longitude>
  <latitude>double</latitude>
  <geoStreet>string</geoStreet>
  <geoCity>string</geoCity>
  <geoState>string</geoState>
  <geoZipcode>string</geoZipcode>
  <censusCity>
    <cityFIPS>string</cityFIPS>
    <cityName>string</cityName>
    <state>string</state>
  </censusCity>
  <state>
    <stateFIPS>string</stateFIPS>
    <stateName>string</stateName>
    <stateAbbr>string</stateAbbr>
  </state>
  <zipCode>
    <zipCode>string</zipCode>
    <zipCity>string</zipCity>
    <state>string</state>
  </zipCode>
  <county>
    <countyFIPS>string</countyFIPS>
    <countyName>string</countyName>
    <state>string</state>
  </county>
  <countySubdivision>
    <countySubdivisionName>string</countySubdivisionName>
    <countySubdivisionFIPS>string</countySubdivisionFIPS>
  </countySubdivision>
  <censusTractFIPS>string</censusTractFIPS>
  <blockGroupFIPS>string</blockGroupFIPS>
  <coreBasedStatisticalArea>
    <CBSAName>string</CBSAName>
    <CBSAID>string</CBSAID>
  </coreBasedStatisticalArea>
  <combinedStatisticalArea>
    <CSAName>string</CSAName>
    <CSAID>string</CSAID>
  </combinedStatisticalArea>
  <metropolitanDivision>
    <METDIVName>string</METDIVName>
    <METDIVID>string</METDIVID>
  </metropolitanDivision>
  <schoolDistrict>
    <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
    <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
    <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
    <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
    <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
    <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
  </schoolDistrict>
  <trafficZone>
    <trafficZoneName>string</trafficZoneName>
    <trafficZoneID>string</trafficZoneID>
  </trafficZone>
  <votingDistrict>
    <votingDistrictName>string</votingDistrictName>
    <votingDistrictID>string</votingDistrictID>
  </votingDistrict>
  <areaCode>
    <areaCode>
      <string>string</string>
      <string>string</string>
    </areaCode>
    <state>string</state>
  </areaCode>
  <geocodeLevel>int</geocodeLevel>
  <error_no>int</error_no>
  <error_desc>string</error_desc>
</AddressInfo>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WebServiceV2/GeometryInfo.asmx/GeocodePro HTTP/1.1
Host: www.dyngeometry.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

key=string&street=string&city=string&state=string&zip=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<AddressInfo xmlns="http://www.DynGeometry.com/WebService/">
  <longitude>double</longitude>
  <latitude>double</latitude>
  <geoStreet>string</geoStreet>
  <geoCity>string</geoCity>
  <geoState>string</geoState>
  <geoZipcode>string</geoZipcode>
  <censusCity>
    <cityFIPS>string</cityFIPS>
    <cityName>string</cityName>
    <state>string</state>
  </censusCity>
  <state>
    <stateFIPS>string</stateFIPS>
    <stateName>string</stateName>
    <stateAbbr>string</stateAbbr>
  </state>
  <zipCode>
    <zipCode>string</zipCode>
    <zipCity>string</zipCity>
    <state>string</state>
  </zipCode>
  <county>
    <countyFIPS>string</countyFIPS>
    <countyName>string</countyName>
    <state>string</state>
  </county>
  <countySubdivision>
    <countySubdivisionName>string</countySubdivisionName>
    <countySubdivisionFIPS>string</countySubdivisionFIPS>
  </countySubdivision>
  <censusTractFIPS>string</censusTractFIPS>
  <blockGroupFIPS>string</blockGroupFIPS>
  <coreBasedStatisticalArea>
    <CBSAName>string</CBSAName>
    <CBSAID>string</CBSAID>
  </coreBasedStatisticalArea>
  <combinedStatisticalArea>
    <CSAName>string</CSAName>
    <CSAID>string</CSAID>
  </combinedStatisticalArea>
  <metropolitanDivision>
    <METDIVName>string</METDIVName>
    <METDIVID>string</METDIVID>
  </metropolitanDivision>
  <schoolDistrict>
    <schoolDistrictUnifiedName>string</schoolDistrictUnifiedName>
    <schoolDistrictUnifiedID>string</schoolDistrictUnifiedID>
    <schoolDistrictSecondaryName>string</schoolDistrictSecondaryName>
    <schoolDistrictSecondaryID>string</schoolDistrictSecondaryID>
    <schoolDistrictElementaryName>string</schoolDistrictElementaryName>
    <schoolDistrictElementaryID>string</schoolDistrictElementaryID>
  </schoolDistrict>
  <trafficZone>
    <trafficZoneName>string</trafficZoneName>
    <trafficZoneID>string</trafficZoneID>
  </trafficZone>
  <votingDistrict>
    <votingDistrictName>string</votingDistrictName>
    <votingDistrictID>string</votingDistrictID>
  </votingDistrict>
  <areaCode>
    <areaCode>
      <string>string</string>
      <string>string</string>
    </areaCode>
    <state>string</state>
  </areaCode>
  <geocodeLevel>int</geocodeLevel>
  <error_no>int</error_no>
  <error_desc>string</error_desc>
</AddressInfo>