legendaryfox/bamft — Issue #4: Maps spatial reference
Author: susanafong
Created: 2012-01-31 20:15:44+00:00
State: open

Since I stayed home from work today, I spent a loooong time reading about maps and spatial reference systems. (Still confused.) Basically, each spatial reference system has its own standard WKID (well-known id), and I believe Google Maps uses the WGS84 spatial reference, which has a WKID of 4326. Josie, can you modify your arcgis api calls to include the parameter "outSR=4326" at the end of your queries and then store the x and y attributes under "geometry" (see example below) into the xcoord and ycoord columns?

http://hubmaps2.cityofboston.gov/ArcGIS/rest/services/Dev_services/food_trucks/MapServer/1/query?text=%25&outFields=GPS%2CLocation%2CXCoord%2CYCoord%2CDayOfWeek%2CTimeOfDay%2CTestFld%2CShape&f=pjson&outSR=4326