Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Can I use Geodata service in ArcGIS JavaScript API 3.1 ???

Background : I have simple map service and the all attribute data is stored in Sql Server database. I want to perform query operation on map service in JSAPI (and data should come from database.)

I have only database access and I cannot create the Geo-database. I cant attach the data to shape file (its too large)

I searched on Google and asks few people so they told me that publish the data as "geodata service" but according to API documentation JSAPI (3.1) do not support Geodata service

Also in JSAPI examples its not mentioned clearly.

So what should I do ?

Any help/suggestion will be highly appreciate..

Software's : ArcGIS Server 10.1 ,ArcGIS Java script API 3.1 ,ArcSDE (Not available)

share|improve this question
    
I am also reviewing similar post gis.stackexchange.com/questions/21092/… –  Sunil Oct 26 '12 at 5:33
add comment

1 Answer 1

up vote 2 down vote accepted

You can Convert the data into Json Format and use in your application.You can write handler that can convert Data from sql into JSON.Sql Data to Json.Usin Json you can Create feature set and feature collection and display feature layer.

share|improve this answer
    
Hello Gunner, Thanks for your reply . I will check it and get back to you..I am new to JSON format..so I will get back to you in 2/3 days..Thanks a lot : ) –  Sunil Oct 26 '12 at 11:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.