Answered by:
using sql Geography data type

Question
-
User-28820329 posted
Hi, I am setting up a database witch should contain geographic data (lat, long) information to plot locations in bing maps or Google maps.
I thougt to use the sql geography data type for this. The administration for the database I like to do with ASP dynamic data.
The problem is that there are no Fieldtemplates for this geographic data type. Is there sombody who knows how to solve this?
Saturday, November 5, 2011 12:13 PM
Answers
-
User1992938117 posted
The problem is that there are no Fieldtemplates for this geographic data type. Is there sombody who knows how to solve this?Are you looking for:
http://www.simple-talk.com/sql/learn-sql-server/sql-server-2008-the-new-data-types/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, November 5, 2011 12:25 PM -
User-330204900 posted
That is what I have done, I just check EF 4 does not support geography or geometry yet.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, November 5, 2011 1:17 PM
All replies
-
User1992938117 posted
The problem is that there are no Fieldtemplates for this geographic data type. Is there sombody who knows how to solve this?Are you looking for:
http://www.simple-talk.com/sql/learn-sql-server/sql-server-2008-the-new-data-types/
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, November 5, 2011 12:25 PM -
User-330204900 posted
Hi Rob, what do you want the field templates to be able to do? P.S. I'm not sure the EF support the geography types as yet
Saturday, November 5, 2011 1:10 PM -
User-28820329 posted
mmm..
I see, this is not as simple as I tought. Maybe I should simply use two float values for lat and long.
as I only need to plot locations on a map this should be enough.
thanks for your answer
Saturday, November 5, 2011 1:14 PM -
User-330204900 posted
That is what I have done, I just check EF 4 does not support geography or geometry yet.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Saturday, November 5, 2011 1:17 PM