2

I am using SQL Server server database contains lat/lon values and using this information I have created the shapefiles and published on server...

When I get the update say 100 records then I need to recreate the shapefile and merge it to (previous one) like this I am doing daily for last few days...

It is difficult to do daily for all records...

So is there any workaround?? I am using ArcGIS Desktop 10.1 and ArcGIS Server 10.1+ MS sql database 2008 r2

Any help will be great!

nmtoken
13.6k5 gold badges39 silver badges91 bronze badges
asked Nov 6, 2012 at 10:44
5
  • Why create a shapefile? - why not pull the data directly from MS SQL 2008? Do you have ArcSDE? Commented Nov 6, 2012 at 14:19
  • @Mapperz Thanks for your reply.. I dont have ArcSDE..I am using 10.1 version for Desktop & Server Commented Nov 6, 2012 at 14:57
  • are your lat/lon values in SQL server in a geography or geometry column? Commented Nov 6, 2012 at 18:00
  • @Krik Kuykendall.. We are using Geography column. Commented Nov 6, 2012 at 19:20
  • @Krik thanks...so Today I got 500 records and I have updated the database similarly its showing in ArcMap 10.1 but not in REST Service.. (After that I overwrite previous map service and then its displaying the records) So do I need to overwrite service every time ?? why its not updating the records automatically in ArcGIS Server ??..Currently I am going through 10.1 web help.. Commented Nov 8, 2012 at 8:06

1 Answer 1

2

If you do not have ArcSDE then you can try the ODBC (Open Database Connectivity)

enter image description here

Important part:

Goto Start -> and in the search bar type ODBC. right and click on "Use as Administrator".

http://www.code2learn.com/2011/07/microsoft-sql-server-2008-connection.html

answered Nov 6, 2012 at 16:05
2
  • thanks for your reply..I will try it and let you know.. thanks once again.. Commented Nov 7, 2012 at 6:52
  • thanks for your idea.. I have tried and it worked successfully.. thanks : ) Commented Nov 10, 2012 at 6:23

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.