University of Southern California
Site Index Contact Login Sign up RSS
USC College of Letters, Arts & Sciences  
USC GIS Research Laboratory
Free Online Point-In-Polygon Census Intersection Web Service

The USC point-in-polygon Census Intersection engine can be used from desktop and/or web applications via the Web Service interfaces listed below. The only required information is the API key, which is available in your account profile page. You may want to read the technical details.

API Version - 2.92

    - Previous versions - 2.8

Available Web Services


API #1 - .Net Point-In-Polygon Census Intersction Web Service




API #2 - HTTP Point-In-Polygon Census Intersction Web Service


  • API that can be used from scripts and http
  • API URL

    https://webgis.usc.edu/Services/CensusIntersection/WebService/CensusIntersectionWebServiceHttp.aspx?

    API Input Fields

    Parameter Required Description Example Possible Values
    apiKey true click here for your API key api-key-value text string
    version true the version of the parser to use 2.92 2.92
    lat true the latitude of the input coordinate 34.0726207994348 double
    lon true the longitude of the input coordinate -118.397965182076 double
    s false the abbreviation of the state of the input CA text string
    format false output format csv csv, tsv, xml
    notStore false indicates if the transaction details should not be historically stored in your account true true, false

    API Output Fields and Index (for non-XML output)

    Position Field Required Description
    0 TransactionId true query id
    1 QueryStatusCodeValue true result code Quality
    2 QueryStatusCodeName true result code name Quality
    3 Census2000Block true Census 2000 block for the input point
    4 Census2000BlockGroup true Census 2000 block group for the input point
    5 Census2000Tract true Census 2000 tract for the input point
    6 Census2000CountyFips true Census 2000 county fips for the input point
    7 Census2000StateFips true Census 2000 state fips for the input point
  • API Examples

    Example 1 - 34.0726207994348, -118.397965182076, CA (CSV)

    Example 2 - 34.0726207994348, -118.397965182076, CA (XML)

    Example 3 - 34.0726207994348, -118.397965182076 (CSV)

    Example 4 - 34.0726207994348, -118.397965182076 (XML)

Quick Links: Home | Services | Databases | Support | About | Site Map | Contact