Have you added the appropriate record in the MapInfo_CATALOG table specifying the projections and x and y columns?

r


On Tue, 1 Feb 2005 15:03:28 +0100, <[EMAIL PROTECTED]> wrote:

Dear List,

I have an question according to an update on SQL-Server.

-I spatialised  a DB.
-I created a table  -- added to columns. SW_GEOMETRY and SW_MEMBER.
-I spatialised  Columns
        exec sp_sw_spatialize_column 'dbo','TEST','SW_GEOMETRY','SW_MEMBER'
- I generated an R-Tree Index
        exec sp_sw_create_rtree 'dbo','TEST','SW_GEOMETRY','SW_MEMBER'

- I inserted data from a another table
        INSERT INTO TEST
           (ID, Name, XDEZ, YDEZ)
        SELECT    ID, Name, X_KOORD, Y_KOORD
        FROM         TABLE_Temp

And now I would like to store the PointInformation in SW_GEOMETRY!!
and tried to to update the field: SW_GEOMETRY.

UPDATE TEST set SW_GEOMETRY = 'ST_SPATIAL(ST_Point(XDEZ,YDEZ))'

(the fields XDEZ and YDEZ are filled with floats.)

But that failed!!

Any help would be appreciated.
Thanks in Advance.



Mit freundlichen Gr��en

microm
Micromarketing-Systeme und Consult GmbH


Hendrik Po�berg Manager Geodaten

Hellersbergstr. 14
41460 Neuss
Phone: 02131-10 97 51
Fax:   02131-10 97 77
mailto:[EMAIL PROTECTED]


***
Aktuelles:
Abonnieren Sie kostenlos das aktuelle microMagazin. In jedem Quartal aktuelle Informationen �ber die neuesten Entwicklungen bei microm, unseren Partnern und Kunden. Einfach online bestellen unter www.microm-online.de!
***
___________________________________________


Diese Nachricht wurde elektronisch versandt und ist daher auch ohne Unterschrift rechtsgueltig. Der Inhalt dieser E-Mail enth�lt vertrauliche Informationen. Das
Kopieren und die Weitergabe an Dritte ist nicht gestattet. Sollten Sie diese E-Mail irrtuemlich von uns erhalten haben, bitten wir Sie, diese zu vernichten und uns darueber zu informieren.
Im Voraus vielen Dank.
____________________________________________





--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 15077





-- ________________________________________________

Robert Crossley

Agtrix P/L
9 Short St
PO Box 63
New Brighton 2483
Far Southern Queensland
AUSTRALIA

153.549004 E 28.517344 S

P: 02 6680 1309
F: 02 6680 5214
M: 0419 718 642
E: [EMAIL PROTECTED]
W: www.agtrix.com
W: www.wotzhere.com
skype: robertcrossley

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15091



Reply via email to