Adding the features to existing layer

1557
15
09-12-2013 02:00 AM
ChiranjeeviGK
New Contributor III
Hi all

I am new to GIS, i have created a online account with ersi and created a map

Need to make a application which i need to add the features on that map

Please help me or guide me how to do this
0 Kudos
15 Replies
Pankajroy
New Contributor
Hi,
You want to perform client side Editing on a layer in a webmap.Correct?

Using arcgis 10 +  you can use the inbuilt Edit toolbar. Please follow the link below

https://developers.arcgis.com/en/javascript/jssamples/toolbar_edit.html

The basic requiremnts are as follows.
1. The source of layer should be ARCSDE and
2. Layer should have been published as a feature service.

If this method is not suitable for you then you can write your own web service and pass the attribute and geometry of the feature to the corresponding web method for storing the feature in the data source of layer. As soon as the feature is stored in the data source of layer (shapefile, pgdb, fgdsb or SDE) it will be visible on map by refreshing map (map can be refreshed by changing extent).

Pankaj Roy
0 Kudos
ChiranjeeviGK
New Contributor III
Thank you for your reply

as you said its for client side editing.
i have added the tool bar, and i can draw on the map also.

but i am not getting how to save that graphics or features on the in server, so when i open next time those features should be present.

And i am not getting that 1st point
"1. The source of layer should be ARCSDE and"

Thanks
Chiru
0 Kudos
JohnGravois
Frequent Contributor
hi Chiru, it might be helpful to check out this online tutorial:

Performing web editing using data from an enterprise geodatabase
http://resources.arcgis.com/en/help/main/10.2/#/Tutorial_Performing_web_editing_using_data_from_an_e...
0 Kudos
ChiranjeeviGK
New Contributor III
jgravois,

according to you link, i should have the ArcGIS server installed in my sytem to do this?

i can not do the same from ArcGIS online?

if i want to install the server i need to down load ArcGIS for Desktop Free Trial?

-Chiru
0 Kudos
JohnGravois
Frequent Contributor
thanks for the clarification.  i didn't understand at first that you were referring to creating a subscription account to ArcGIS Online.

the steps i linked to previously are specific to users running ArcGIS Server onsite.  if you have an ArcGIS Online subscription account (but no ArcGIS Desktop software installed) you can still follow the steps below to publish a 'hosted' feature service with the same capablities.

Publishing a hosted feature service using a shapefile or CSV file
http://resources.arcgis.com/en/help/arcgisonline/index.html#//010q0000006m000000

afterward, you can either write your own custom javascript application referencing the service or use the online templates to author a webmap and use ArcGIS Online to host your app as well.

About authoring webmaps
http://resources.arcgis.com/en/help/arcgisonline/index.html#/About_authoring_web_maps/010q0000009p00...

Sharing web applications
http://resources.arcgis.com/en/help/arcgisonline/index.html#/Sharing_web_applications/010q0000002m00...
0 Kudos
ChiranjeeviGK
New Contributor III
Sorry i think i am giving enough details or exact my problem..

i have the web map which i have created through online account
http://chiru.maps.arcgis.com/home/webmap/viewer.html?webmap=527b5d7ebc9f432aba9ba254e21d3739

where i have added feature layer by uploading CSV file.

But my problem is
i need to develop a web application which is exact like ArcGIS web viewer where i need to search the places and place the marker
and need to save that data back in webmap which i have given above like.

i think this explain my problem

-Chiru
0 Kudos
JohnGravois
Frequent Contributor
i can't see your webmap because it doesnt appear to shared publicly.

i understand your requirement, but i guess i still understand your exact question.  are you asking whether you can do this?  the answer is definitely yes, but if you want to incorporate 'search' and editing into the same app you are going to have to write some code because i'm not aware of a template that already does all the exact things you are looking for.
0 Kudos
ChiranjeeviGK
New Contributor III
Yes i want to write..

while writing that..  i am facing a issue
that is, i can mark a point using the Editor tool.

But my problem is i need to save that marker in the web map
http://chiru.maps.arcgis.com/home/webmap/viewer.html?webmap=527b5d7ebc9f432aba9ba254e21d3739

i have shared this map publicly,

i have attached the screenshot of my content[ATTACH=CONFIG]27440[/ATTACH]
0 Kudos
JohnGravois
Frequent Contributor
it definitely looks like its shared, but when i attempt to open the page i am redirected to sign in. 

i wasn't able to reproduce this behavior with my own publicly shared webmap.
0 Kudos