Methods

Method detail for: getGeoPolyByName

This request requires you to submit an object name and other uniquely identifying features. The API will return the geometry for that object.

Valid Datasets

DatasetDataset DetailsMethod Parameters
CountiesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics College Campus BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Destination & Venue BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Metro BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • name*
  • (Note: Items marked with * are required)

Maponics City PointsClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries EuropeClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • city*
  • name*
  • (Note: Items marked with * are required)

Maponics Neighborhood Boundaries North AmericaClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Centroids North AmericaClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics Neighborhood Boundaries Rest Of WorldClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • city*
  • name*
  • (Note: Items marked with * are required)

Maponics Neighborhood Boundaries WorldwideClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • city*
  • name*
  • (Note: Items marked with * are required)

Maponics +Residential BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

US StatesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • name*
  • (Note: Items marked with * are required)

Maponics School Attendance Zone BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

Maponics School District BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • name*
  • (Note: Items marked with * are required)

Maponics Subdivision BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • name*
  • (Note: Items marked with * are required)

Maponics Shopping BoundariesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

ZIP CodesClick To ViewClick To View

When calling this dataset using this method, use these parameters:

  • name*
  • (Note: Items marked with * are required)

Sample Request and Return Data

<?xml version="1.0" encoding="UTF-8" ?> <data> <auth> <loginname>your_username</loginname> <key>your_api_key</key> </auth> <request> <dataset>Z</dataset> <method>getGeoPolyByName</method> <returnType>xml</returnType> <parameters> <name>12417</name> <city></city> <state></state> </parameters> </request> </data>
No Sample Provided
<?xml version="1.0" encoding="UTF-8" ?> <data> <resultcode>0</resultcode> <message>Return OK</message> <requestid>03-14498</requestid> <request> <item> <geom>SRID=4326;MULTIPOLYGON(((-73.991565 41.911685,-73.991537 41.911682,-73.990917 41.911388,...,-73.991372 41.911114,-73.991502 41.911283,-73.991565 41.911685)))</geom> </item> </request> </data>
[ { "resultcode":0, "message":"Return OK", "requestid":"01-11330567", "request":[ { "geom":{ "type":"MultiPolygon", "coordinates":[ [ [ [ -73.935212, 42.262103 ], [ -73.935742, 42.262405 ], [ -73.935452, 42.262763 ], ..., [ -73.933335, 42.261144 ], [ -73.934648, 42.261782 ], [ -73.935212, 42.262103 ] ] ] ] } } ] } ]