Select to view content in your preferred language

Geocoding

1539
9
01-03-2013 10:32 AM
VijayashreeN
Emerging Contributor
Hello,

I am ignorant about geocoding. I have knowledge on how it works. My question is I have a shape file that lat/long locations along with address in the file including zip. I am trying to build a viewer application with functionalities like geocoding and geoprocessing. When using geocoding funcitonality in viewer will the shape file that I have will work or do I need to geocode again using arcmap. I am confused. Please help

Thanks
Tags (2)
0 Kudos
9 Replies
GISDev1
Deactivated User
You say you have the Lat/Long AND the address.

Are you wanting to show the Lat/Long location of the geocoded address location on the web map?
0 Kudos
AnthonyGiles
Honored Contributor
vijayashree,

You will have to create an address locator through ArcCatalog using your shapefile as the source,then publish this a geocode service to your arcgis server. You then can consume this service in your web application. Flex has a widget that can be configured to work with our own geocode services, see the links below for more info:

http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000035t000000

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Locate_widget/01m300000037000000/

Regards

Anthony
0 Kudos
VijayashreeN
Emerging Contributor
You say you have the Lat/Long AND the address.

Are you wanting to show the Lat/Long location of the geocoded address location on the web map?


No I am not showing Lat/Long location. Just somebody types in the address it should go to the place where the location is.
0 Kudos
VijayashreeN
Emerging Contributor
vijayashree,

You will have to create an address locator through ArcCatalog using your shapefile as the source,then publish this a geocode service to your arcgis server. You then can consume this service in your web application. Flex has a widget that can be configured to work with our own geocode services, see the links below for more info:

http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000035t000000

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Locate_widget/01m300000037000000/

Regards

Anthony


Thank you Anthony. I shall try this option.
0 Kudos
VijayashreeN
Emerging Contributor
vijayashree,

You will have to create an address locator through ArcCatalog using your shapefile as the source,then publish this a geocode service to your arcgis server. You then can consume this service in your web application. Flex has a widget that can be configured to work with our own geocode services, see the links below for more info:

http://resources.arcgis.com/en/help/main/10.1/index.html#//01540000035t000000

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Locate_widget/01m300000037000000/

Regards

Anthony


Anthony,

I tried this option one but I could generate an address locator with a zip code format. This is not I want. I wanted with an option US Address�??City State style or US single house style. I will upload my shape file with this. Can you please let me know what is going wrong with the data as it would not select the style that I mentioned above.
0 Kudos
AnthonyGiles
Honored Contributor
vijayashree,

When you create your address locator in arc catalog you have a number of templates that you can use, see here:

http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Commonly_used_address_locator_styles

There is one that works for US Cities and States but looking at your data you will need to create an extra column with the City name in it, extracting this from the column FACILTY_M should be simple enough using an expression in the field calculator.

Also is this just a sample of your data as you only have one state which is abbreviated to 'NC', so searching on city and state would be a bit of a waste of time, you could just use a single address locator against your city name.

Regards,

Anthony

Amendment - Sorry but I do not have access to ArcMap at the moment so I have extracted the City names for you in Excel attached is the .xls file, you can link this to your original shapefile in ArcMap and use the calculate field to copy over the values in City in to a new field in your shapefile.
0 Kudos
VijayashreeN
Emerging Contributor
vijayashree,

When you create your address locator in arc catalog you have a number of templates that you can use, see here:

http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?TopicName=Commonly_used_address_locator_styles

There is one that works for US Cities and States but looking at your data you will need to create an extra column with the City name in it, extracting this from the column FACILTY_M should be simple enough using an expression in the field calculator.

Also is this just a sample of your data as you only have one state which is abbreviated to 'NC', so searching on city and state would be a bit of a waste of time, you could just use a single address locator against your city name.

Regards,

Anthony

Amendment - Sorry but I do not have access to ArcMap at the moment so I have extracted the City names for you in Excel attached is the .xls file, you can link this to your original shapefile in ArcMap and use the calculate field to copy over the values in City in to a new field in your shapefile.


Thank you Anthony. Yes this is a sample project and I am trying to develop only for NC. I am trying to work with gecoding and geoprocessing widgets of arcviewer to demonstrate the capabilities of ArcViewer flex. I read the viewer documentation and when trying to include the operational layers I got confused and thought that I should include the file I sent you earlier for locating the address and then do some geoprocessing based on buffer or near analysis. This is my overall idea of the project. Each step is a hurdle and I am trying to figuring it out. I will work on what you have sent and see what best I can achieve.

Thanks once again
0 Kudos
VijayashreeN
Emerging Contributor
Anthony,

I tried the option that you mentioned earlier to me. I created a field in the my original shape file and I geocoded the address using US single house address. Again this does not allow me to do so. I felt that in my database under the Facility_M some of the addresses has street numbers and some don't. Is this the reason that it is not allowing me to do so. Did I understand you correctly or did I use something different. Please help.

Thanks
vijayashree
0 Kudos
AnthonyGiles
Honored Contributor
Vijayashree,

I am not 100% sure of how the US single house address locator works as I do not use US data. I was suggesting that you put your city name into a new column then you could use the single address locator against that field. This would return all addresses in that city. I thought that is what you were after when you said you wanted a City State style locator. As you only have one state I thought searching against just the city name would be sufficient.

Regards

Anthony
0 Kudos