The geolocation.xsd schema supports importing store geolocations based on ZIP code.
When configuring the geolocation object, keep the following in mind:
Object Information | Details |
---|---|
Schema file | geolocation.xsd |
Business Manager import location | |
Pipelets | N/A |
The following is a sample XML file containing two geolocation records for the USA:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<geolocations country-code="US" xmlns="http://www.demandware.com/xml/impex/geolocation/2007-05-01">
<geolocation postal-code="00501">
<city xml:lang="x-default">HOLTSVILLE</city>
<state xml:lang="x-default">NY</state>
<longitude>-72.637078</longitude>
<latitude>40.922326</latitude>
</geolocation>
<geolocation postal-code="00544">
<city xml:lang="x-default">HOLTSVILLE</city>
<state xml:lang="x-default">NY</state>
<longitude>-72.637078</longitude>
<latitude>40.922326</latitude>
</geolocation>...</geolocations>