Select to view content in your preferred language

is anyone supporting this piece?

3184
2
04-03-2011 08:29 PM
igoralbornett
Deactivated User
Hi,
I have noticed, with surprise, how little support this piece of software is receiving from ESRI, I mean given it's potential. Is it just a pet project that will die soon? or will it survide the apathy of the big Esri. ANyway, I will keep on asking questions here to see if someday I get answers.

There seems to be a bit of a strange behaviour in the locator tasks used when editing sharepoint lists with the arcgis location field.
When I use the "select" button, and pick one address candidate (any of the list) the stored information on the Arcgis location field is stored as:
----

{"AddressCandidates":[{"address":"3 B HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":{"wkid":27200},"x":2599945.437,"y":6235761.767},"score":100},{"address":"3 A HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599909.6,"y":6235753.923},"score":86},{"address":"3 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599899.629,"y":6235720.928},"score":86},{"address":"5 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599937.367,"y":6235728.772},"score":68},{"address":"6 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599953.02,"y":6235690.929},"score":68},{"address":"7 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599959.915,"y":6235721.656},"score":68},{"address":"8 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599975.101,"y":6235683.67},"score":68},{"address":"9 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599980.565,"y":6235715.011},"score":68},{"address":"10 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599995.755,"y":6235677.029},"score":68},{"address":"11 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600003.589,"y":6235709.552},"score":68},{"address":"12 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600015.458,"y":6235676.56},"score":68},{"address":"14 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600034.918,"y":6235684.157},"score":68},{"address":"15 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600025.178,"y":6235716.907},"score":68},{"address":"16 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600051.532,"y":6235697.208},"score":68},{"address":"17 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600037.527,"y":6235734.708},"score":68},{"address":"19 A HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600084.556,"y":6235763.185},"score":68},{"address":"19 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600057.943,"y":6235744.204},"score":68},{"address":"18 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600065.3,"y":6235710.023},"score":68},{"address":"20 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600072.662,"y":6235728.765},"score":68}],"AssociatedTaskListItemId":-1,"HasSelectionBeenMade":false,"LastGeocodedAddress":"3b Horizon Heights,Whalers gate,New Plymouth,4310,New Plymouth,4310","SelectedCandidate":{"address":"3 B HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[{"Key":"Address","Value":"3 B HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310"},{"Key":"Score","Value":100}],"location":{"spatialReference":{"wkid":4326},"x":174.03869774435,"y":-39.0801907501477},"score":100}}

Notice the Projection system info is WGS (WKID 4326), even if the locator service is returning another WKID (27200).



Now if you use the "Update" button, the result stored in the ArcGIS location field is this:

-----

{"AddressCandidates":[{"address":"3 B HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":{"wkid":27200},"x":2599945.437,"y":6235761.767},"score":100},{"address":"3 A HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599909.6,"y":6235753.923},"score":86},{"address":"3 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599899.629,"y":6235720.928},"score":86},{"address":"5 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599937.367,"y":6235728.772},"score":68},{"address":"6 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599953.02,"y":6235690.929},"score":68},{"address":"7 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599959.915,"y":6235721.656},"score":68},{"address":"8 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599975.101,"y":6235683.67},"score":68},{"address":"9 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599980.565,"y":6235715.011},"score":68},{"address":"10 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2599995.755,"y":6235677.029},"score":68},{"address":"11 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600003.589,"y":6235709.552},"score":68},{"address":"12 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600015.458,"y":6235676.56},"score":68},{"address":"14 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600034.918,"y":6235684.157},"score":68},{"address":"15 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600025.178,"y":6235716.907},"score":68},{"address":"16 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600051.532,"y":6235697.208},"score":68},{"address":"17 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600037.527,"y":6235734.708},"score":68},{"address":"19 A HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600084.556,"y":6235763.185},"score":68},{"address":"19 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600057.943,"y":6235744.204},"score":68},{"address":"18 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600065.3,"y":6235710.023},"score":68},{"address":"20 HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":null,"x":2600072.662,"y":6235728.765},"score":68}],"AssociatedTaskListItemId":-1,"HasSelectionBeenMade":false,"LastGeocodedAddress":"3b Horizon Heights,Whalers gate,New Plymouth,4310,New Plymouth,4310","SelectedCandidate":{"address":"3 B HORIZON HTS, WHALERS GATE, NEW PLYMOUTH, 4310","attributes":[],"location":{"spatialReference":{"wkid":27200},"x":2599945.437,"y":6235761.767},"score":100}}


Notice the projection system ID stroed in the result is correct (27200) BUT , here is the catch:

the one that shows up in the map webpart is the one that has the WGS84 coordinates stored, the other fails to draw every time, in every map ( WGS or the local PS WID 27200).

wicked.


Igor.
0 Kudos
2 Replies
NickHetrick
Frequent Contributor
It is because the way the geometry service works it is hard coded as using lat/long coordinates. You would have to use a locator that supports latlongs. Thats how I got around the issue. I thought it was kind of dumb as well considering most local and state gov's among other agencies use state plane coordinate systems.
0 Kudos
igoralbornett
Deactivated User
It is because the way the geometry service works it is hard coded as using lat/long coordinates. You would have to use a locator that supports latlongs. Thats how I got around the issue. I thought it was kind of dumb as well considering most local and state gov's among other agencies use state plane coordinate systems.



Thanks Mate. I guess I will try to do something about the locator then. Cheers.
0 Kudos