Select to view content in your preferred language

Can i find Lat-Long , i have a particular street light id to be passed or any clue

2431
3
04-16-2014 06:20 AM
ashagiri
Emerging Contributor
Hi all,

I have us streetlight data in dbf and shp file format, i have consume it as new feature layer and now the the requirement is that they need lat-long of the street id available in db when the user clicks on the spot lights shown on map in popup..Please Can anyone let me know that online do we have any service available or in the feature layer url can we pass any param to retrieve the lat-long on the user click...

RG,

Asha
Tags (2)
0 Kudos
3 Replies
RobertBorchert
Honored Contributor
Open your shapfile in an ArcGIS session.

Add two new fields to designate X and Y for their type make the Double

Right click on the X attribute and Select Calculate Geometry.  Select the option to calculate the X and do it again on the Y for the Y

Hi all,

I have us streetlight data in dbf and shp file format, i have consume it as new feature layer and now the the requirement is that they need lat-long of the street id available in db when the user clicks on the spot lights shown on map in popup..Please Can anyone let me know that online do we have any service available or in the feature layer url can we pass any param to retrieve the lat-long on the user click...

RG,

Asha
0 Kudos
ashagiri
Emerging Contributor
Thnks for reply

Does ArcGis Session means ArcGis online developer login ??
I am looking to retreive xy coordinates not i will be passing to map
0 Kudos
RobertBorchert
Honored Contributor
No, you will probalby have to do it in ArcGIS desktop.  I have not tried it online.

Thnks for reply

Does ArcGis Session means ArcGis online developer login ??
I am looking to retreive xy coordinates not i will be passing to map
0 Kudos