Doh! After some severe digging in the online help I found that I was approaching the problem all backwards. Or is it perhaps MapX that's built backwards ? ;-)
One has to use Datasets.Add with an ODBCQueryInfo object to specify the source. And use a BindLayer object to specify the XY binding of columns to geometric feature. Apparently that'll (automagically) generate the points layer for me. :-) I'm having some problem in setting it up though. Does anyone have an example I can learn from ? The help has example of both methods, but not in combination. Best regards/Med venlig hilsen Lars V. Nielsen GisPro, Denmark http://www.gispro.dk/ http://hjem.get2net.dk/lars-online/ WGS84: 10.26'40"E 55.20'20"N ----- Original Message ----- From: "Lars V. Nielsen" <[EMAIL PROTECTED]> To: "MAPINFO-L Mailinglist" <[EMAIL PROTECTED]> Sent: Sunday, March 30, 2003 12:06 PM Subject: MapX and server based XY Layers ? > Hi list, > > Has anyone tried to utilize a server based "XY Layer" from MapX (4.51) ? I.e. an > alphanumeric table with two coordinate columns, the > basic form of a mappable ODBC table that's been around for a loooong time. I.e. > _not_ SpatialWare in any form ! > > It's working perfectly in MIPro, but I can't seem to figure out whether or not MapX > supports this. It seems to consistently require > the SpW "sp_spatial_query" procedure. > > Any insights on this issue will be greatly appriciated. > > Best regards/Med venlig hilsen > Lars V. Nielsen > GisPro, Denmark > http://www.gispro.dk/ > http://hjem.get2net.dk/lars-online/ > WGS84: 10.26'40"E 55.20'20"N > --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 6160
